/* --- Styles Specific to the Features Page --- */

/* Section 1: Page Title (Consistent with other pages) */
.page-title-section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #444;
}

.page-title-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Section 2: Features Section */
.features-section {
    padding: 60px 0;
}

.features-section .section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.features-section .section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- Tab System Styles --- */
.tabs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    list-style: none;
    border-bottom: 2px solid #444;
    margin-bottom: 30px;
}

.tabs-nav li {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #a0a0a0;
    position: relative;
    transition: color 0.3s ease;
}

.tabs-nav li:hover {
    color: var(--text-color);
}

.tabs-nav li.active {
    color: var(--primary-color);
}

.tabs-nav li.active::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Sits on top of the container's border */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none; /* Hide all panes by default */
}

.tab-pane.active {
    display: block; /* Show only the active one */
}

.tab-pane-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.tab-image {
    flex: 0 0 40%; /* Image takes 40% of the width */
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #444;
}

.tab-text {
    flex: 1; /* Text takes the remaining space */
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tab-text p {
    margin-bottom: 20px;
}

.tab-text h4 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.tab-text ul {
    list-style: none;
    padding-left: 0;
}

.tab-text ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

/* Custom bullet points for the lists */
.tab-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Responsive Design for Tabs --- */
@media (max-width: 992px) {
    .tab-pane-content {
        flex-direction: column;
    }
    .tab-image {
        flex-basis: auto; /* Reset flex basis */
        width: 100%;
        max-width: 450px;
        margin: 0 auto 30px auto;
    }
    .tabs-nav {
        flex-wrap: wrap; /* Allow tabs to wrap on small screens */
    }
}

@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 2.2rem;
    }
    .features-section .section-intro h2 {
        font-size: 2rem;
    }
    .tab-text h3 {
        font-size: 1.6rem;
    }
}

/* --- Final CTA Section --- */
.final-cta-section {
    background-color: #1a1818;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #444;
}

.final-cta-section .container {
    max-width: 800px; /* Constrain width for better focus */
}

.final-cta-section .cta-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
    opacity: 0.8;
}

.final-cta-section .supervision-text {
    color: #b0b0b0; /* Slightly muted text color for contrast */
    font-style: italic;
    margin-bottom: 30px;
}

.final-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--text-color); /* Overriding default h2 color for white */
}

.final-cta-section .btn {
    font-size: 1.1rem;
    padding: 15px 35px;
}


/* --- Adding to the Responsive Section --- */
@media (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 1.8rem;
    }
}