/* Tab container */
#tabs {
    width: 100%;
    margin: 20px 0;
}

/* Tab links container */
.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #ddd;
}

/* Individual tab items */
.tabs li {
    margin: 0;
}

.tabs li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tabs li.active a,
.tabs li a:hover {
    background: #fff;
    color: #7b68ee;
    border-color: #ddd;
    margin-bottom: -1px;
    padding-bottom: 13px;
}

/* Tab content container */
.tab-container {
    border: 1px solid #ddd;
    border-top: none;
    padding: 20px;
    background: #fff;
    margin-top: -1px;
}

/* Tab content sections */
.tab-content {
    display: none;
}

.tab-content:first-of-type {
    display: block;
}

/* Content styling */
.tab-content h4 {
    color: #7b68ee;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tab-content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    text-align: justify;
}

/* Image styling */
.image_left1 {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 300px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

/* Divider line */
.divider_line5 {
    height: 1px;
    background: #eee;
    margin: 20px 0;
    clear: both;
}

/* Responsive design */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    
    .tabs li {
        margin-bottom: 5px;
    }
    
    .tabs li a {
        border-radius: 5px;
        border-bottom: 1px solid #ddd;
    }
    
    .tabs li.active a,
    .tabs li a:hover {
        margin-bottom: 0;
        padding-bottom: 12px;
    }
    
    .image_left1 {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 24px;
    }
    
    .tabs li a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .tab-container {
        padding: 15px;
    }
    
    .tab-content h4 {
        font-size: 18px;
    }
}