
    /* CSS Variables for easy theme management */
    :root {
        --primary-green: #1E392A;
        --yellow: #fff300;
        --dark-text: #1a202c;
        --light-text: #f7fafc;
        --secondary-text: #4a5568;
        --background-light: #f9f9f9;
        --white: #ffffff;
        --border-color: #e2e8f0;
    }
    
    /* --- Global Responsive Fixes --- */
* {
    /* This is the most important rule. 
       It includes padding and borders in the element's width,
       preventing most overflow issues. */
    box-sizing: border-box;
}

html, body {
    width: 100%;
    /* This creates a hard boundary and clips all 
       overflowing content. */
    overflow-x: hidden;
}

img, video, iframe {
    /* This stops images/media from ever being wider 
       than their container. */
    max-width: 100%;
    height: auto;
}
/* --- End of Fixes --- */
    
    

    /* Basic Reset and Body Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        color: var(--dark-text);
        line-height: 1.6;
    }

    /* Utility Classes */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .btn {
        display: inline-block;
        padding: 12px 28px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .btn-primary {
        background-color: var(--yellow);
        color: var(--primary-green); /* UPDATED for contrast */
        border-color: var(--yellow);
    }
    
    .btn-primary:hover {
        background-color: #e6d900; /* Darker yellow */
        border-color: #e6d900;
    }

    .btn-secondary {
        background-color: transparent;
        color: var(--white);
        border-color: var(--white);
    }

    .btn-secondary:hover {
        background-color: var(--white);
        color: var(--primary-green);
    }
    
    /* Find this rule and update it */
.main-header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* Make sure this is a high number */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
    }
    
    .logo span {
        color: var(--yellow); /* UPDATED */
    }

    .main-nav {
        display: none; /* Hidden on mobile */
    }

    .main-nav ul {
        list-style: none;
        display: flex;
        gap: 30px;
    }

    .main-nav a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .main-nav a:hover {
        color: var(--yellow); /* UPDATED */
    }
    
    .header-actions {
        display: none; /* Hidden on mobile */
    }

    .header-actions a { margin-left: 15px; }

    .menu-toggle {
        display: block; /* Shown on mobile */
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white);
        margin: 5px 0;
        transition: 0.4s;
    }

    /* Hero Section */
    .hero {
    background: linear-gradient(rgba(30, 57, 42, 0.85), rgba(30, 57, 42, 0.85)), url('../images/datan-head-min.jpg') no-repeat center center/cover;
    height: 90vh; /* Increased from 80vh */
    min-height: 700px; /* Increased from 600px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
}



    /* --- Hero Section Content --- */

.hero-content {
    /* This adds 20px of padding on the left and right
       so the text doesn't hit the screen edges on mobile */
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.2rem; /* This is the new, smaller base size for mobile */
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Media Query for Desktops --- */
/* On screens 768px and wider, we increase the font size */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem; /* This is the larger size for desktops */
    }
}

    .hero-buttons .btn {
        margin: 0 10px;
    }

    /* Sections General Styling */
    section {
        padding: 80px 0;
    }

    section h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: var(--primary-green);
    }

    section .section-subtitle {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 50px;
        color: var(--secondary-text);
    }
    
    /* Verification Section */
    .verify-section {
        background-color: var(--background-light);
    }

   .verify-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;  /* This stacks them vertically on mobile */
    gap: 15px;
    background-color: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
        
.verify-form input {
    flex-grow: 1; /* Allows it to fill space on desktop */
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    min-width: 0; /* Fixes a flexbox overflow issue */
}

.verify-form button {
    padding: 15px 40px; /* Makes button a larger tap target on mobile */
    font-size: 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Stops button from shrinking */
}

/* --- Media Query for Desktop --- */
/* On screens 768px and wider, put them side-by-side */
@media (min-width: 768px) {
    .verify-form {
        flex-direction: row;
    }

    .verify-form button {
        padding: 0 40px; /* Restores original desktop padding */
    }
}

    /* Benefits Section */
    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 50px;
    }
    
    .benefit-card {
        background-color: var(--white);
        text-align: center;
        padding: 40px 30px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .benefit-card .icon {
        margin-bottom: 20px;
        color: var(--primary-green);
    }
    
    .benefit-card h3 {
        margin-bottom: 10px;
        color: var(--primary-green);
    }
    
    .benefit-card p {
        color: var(--secondary-text);
    }
    
    /* Mission & News Section */
    .mission-news-section {
        background-color: var(--background-light);
    }
    
    .mission-news-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
        align-items: center;
    }
    
    .mission-content h3 {
        font-size: 1.8rem;
        color: var(--primary-green);
        margin-bottom: 20px;
    }
    
    .mission-content p {
        margin-bottom: 30px;
    }
    
    .news-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .news-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }

    .news-card img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
    }

    .news-card-content h4 {
        font-size: 1.1rem;
        color: var(--primary-green);
    }
    
    .news-card-content p {
        font-size: 0.9rem;
        color: var(--secondary-text);
    }
    
    /* Member ID Demo Section */
    .member-id-demo {
        background-color: var(--white);
        padding: 80px 0;
    }

    .id-demo-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
        align-items: center;
    }

    .id-visual {
        perspective: 1500px;
    }

    .id-card {
        max-width: 400px;
        margin: 0 auto;
        aspect-ratio: 1.586 / 1;
        background: linear-gradient(135deg, #2A4A3A, #1E392A);
        color: var(--white);
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: rotateY(-8deg) rotateX(3deg);
        transition: transform 0.5s ease;
    }
    
    .id-card:hover {
        transform: rotateY(0) rotateX(0) scale(1.05);
    }

    .id-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        opacity: 0.8;
    }

    .id-logo {
        font-weight: 700;
        font-size: 1.5rem;
    }

    .id-logo span {
        color: var(--yellow); /* UPDATED */
    }

    .id-card-body {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .member-photo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #ccc;
        background-image: url('../images/member.jpg');
        background-size: cover;
        border: 3px solid var(--white);
    }
    
    .member-details h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .member-details p {
        margin: 0;
        opacity: 0.8;
    }

    .member-details .member-id {
        display: block;
        margin-top: 5px;
        font-size: 0.9rem;
        font-family: monospace;
        background-color: rgba(255,255,255,0.1);
        padding: 3px 6px;
        border-radius: 4px;
    }

    .id-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .qr-code img {
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 8px;
        padding: 4px;
    }

    .status-verified {
        background-color: var(--yellow); /* UPDATED */
        color: var(--primary-green); /* UPDATED */
        padding: 8px 15px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .id-content h2 {
        text-align: left;
    }
    
    .id-content p {
        margin-bottom: 30px;
        color: var(--secondary-text);
        max-width: 500px;
    }

    .features-list {
        list-style: none;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .features-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        font-weight: 500;
        font-size: 1.1rem;
    }

    .features-list svg {
        color: var(--yellow); /* UPDATED */
    }


    /* Final CTA Section */
    .final-cta {
        background-color: var(--yellow); /* UPDATED */
        color: var(--primary-green); /* UPDATED */
        text-align: center;
    }

    .final-cta h2 {
        color: var(--primary-green); /* UPDATED */
    }
    
    .final-cta .section-subtitle {
         color: var(--primary-green); /* UPDATED */
         opacity: 0.9;
    }

    .final-cta .btn {
        background-color: var(--primary-green);
        color: var(--white);
        font-size: 1.1rem;
    }
    
    .final-cta .btn:hover {
        background-color: #14251C;
        color: var(--white);
    }

    /* Footer */
    .main-footer {
        background-color: var(--primary-green);
        color: var(--light-text);
        padding: 60px 0 20px;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-col h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: var(--white);
    }
    
    .footer-col p {
         margin-bottom: 20px;
         color: rgba(255, 255, 255, 0.8);
    }

    .footer-col ul {
        list-style: none;
    }
    
    .footer-col li {
        margin-bottom: 10px;
    }

    .footer-col a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-col a:hover {
        color: var(--yellow); /* UPDATED */
    }
    
    .social-links a {
        display: inline-block;
        margin-right: 15px;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }


    /* Responsive Design */
    @media (min-width: 768px) {
        .main-nav { display: block; }
        .header-actions { display: block; }
        .menu-toggle { display: none; }
        
        .hero-content h1 { font-size: 3.5rem; }
        .benefits-grid { grid-template-columns: repeat(2, 1fr); }
        .news-grid { grid-template-columns: repeat(2, 1fr); }
        .footer-grid { grid-template-columns: repeat(4, 1fr); }
    }
    
    @media (min-width: 992px) {
        .id-demo-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (min-width: 1024px) {
        .benefits-grid { grid-template-columns: repeat(4, 1fr); }
        .mission-news-grid { grid-template-columns: 1fr 1fr; }
        .news-grid { grid-template-columns: 1fr; }
    }

    /* Mobile Nav styles */
    .mobile-nav {
        position: fixed;
        top: 72px; /* Header height */
        left: 0;
        width: 100%;
        background: var(--primary-green);
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav ul {
        list-style: none;
        text-align: center;
    }
    
    .mobile-nav ul li {
        margin-bottom: 20px;
    }

    .mobile-nav a {
        color: var(--white);
        text-decoration: none;
        font-size: 1.2rem;
    }
    
    .mobile-nav .header-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    
    .mobile-nav .header-actions .btn {
        width: 80%;
        text-align: center;
    }
    
    .mobile-nav .header-actions .btn-secondary {
        background: var(--white);
        color: var(--primary-green);
    }


    /* Add this CSS to your existing <style> block */

    .onboarding-process {
        background-color: var(--background-light);
    }

    .process-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 50px;
        position: relative;
    }

    .process-step {
        background-color: var(--white);
        padding: 40px 30px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        text-align: center;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .process-step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .step-number {
        position: absolute;
        top: -10px;
        right: 15px;
        font-size: 5rem;
        font-weight: 700;
        color: var(--primary-green);
        opacity: 0.05;
        z-index: -1;
    }

    .step-icon {
        height: 80px;
        width: 80px;
        margin: 0 auto 20px;
        border-radius: 50%;
        background-color: var(--yellow);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-icon svg {
        color: var(--primary-green);
    }

    .process-step h3 {
        font-size: 1.5rem;
        color: var(--primary-green);
        margin-bottom: 10px;
    }

    .process-step p {
        color: var(--secondary-text);
        line-height: 1.7;
    }

    @media (min-width: 992px) {
        .process-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 60px; /* Wider gap for the line */
        }
        
        /* The stylish connecting line for desktop */
        .process-grid::before {
            content: '';
            position: absolute;
            top: 110px; /* Aligns with the middle of the icon */
            left: 15%;
            width: 70%;
            height: 2px;
            background-image: linear-gradient(to right, var(--border-color) 66%, transparent 33%);
            background-size: 15px 2px;
            background-repeat: repeat-x;
            z-index: 0;
            transform: translateY(-50%);
        }
    }


    /* Add this CSS to your existing <style> block */

    .about-section {
        background-color: var(--white);
        padding: 80px 0;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
        align-items: center;
    }

    .about-content h2 {
        text-align: left;
        margin-bottom: 10px;
    }
    
    .about-content .section-subtitle-left { /* New class for left-aligned subtitle */
        text-align: left;
        max-width: none; /* Override center alignment */
        margin-bottom: 30px;
        font-size: 1.2rem;
        color: var(--primary-green);
        font-weight: 500;
    }

    .about-content p {
        margin-bottom: 20px;
        color: var(--secondary-text);
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .about-content p:last-of-type {
        margin-bottom: 0;
    }

    .about-image {
        position: relative;
        height: 350px; /* Adjust height as needed */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .about-image::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        right: 20px;
        bottom: 20px;
        background-color: var(--primary-green);
        border-radius: 12px;
        z-index: 0;
    }
    
    .about-image img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        z-index: 1;
        transform: translate(20px, 20px); /* Offset image slightly */
        transition: transform 0.3s ease;
    }
    
    .about-image img:hover {
        transform: translate(10px, 10px);
    }
    
    .mt-30 {
        margin-top: 30px;
    }


    @media (min-width: 992px) {
        .about-grid {
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }

        .about-image {
            order: 2; /* Image on the right on desktop */
        }
        
        .about-content {
            order: 1; /* Content on the left on desktop */
        }
    }


/* Add this CSS to your existing <style> block */

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.crypto-ticker-widget {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 0;
    width: 100%;
    overflow: hidden;
    border-top: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    margin: 0 25px;
    flex-shrink: 0;
}

.ticker-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.ticker-item strong {
    font-size: 1rem;
    margin-right: 10px;
}

.ticker-item .price {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 10px;
}

.ticker-item .change {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticker-item .change.positive {
    color: #4caf50; /* Green */
}

.ticker-item .change.negative {
    color: #f44336; /* Red */
}

/* Alternative: Resizes to 88px tall and keeps its original shape */
.logo img {
    height: 65px;
    width: auto; 
    vertical-align: middle;
}

/* Add this CSS to your existing <style> block */

.events-section {
    background-color: var(--background-light);
}

.events-grid {
    display: grid;
    /* This creates a responsive grid that fits as many 320px cards as it can */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.event-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows the button to stick to the bottom */
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date {
    color: var(--secondary-text);
}

.event-category {
    background-color: var(--yellow);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 20px;
}

.event-title {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    margin-bottom: 25px;
}

.event-content .btn {
    width: 100%;
    text-align: center;
    margin-top: auto; /* Pushes the button to the bottom of the card */
}

/* --- Hero Button Mobile Fix (No 'gap' property) --- */

.hero-buttons {
    display: flex;
    flex-direction: column;  /* Stack them vertically */
    align-items: center;
    width: 100%;
    padding: 0 20px; 
}

.hero-buttons .btn {
    width: 100%; 
    max-width: 350px; 
    margin: 0; 
    text-align: center;
}

/* This adds 15px of space *below* the first button on mobile */
.hero-buttons .btn-primary {
    margin-bottom: 15px; 
}

/* --- Media Query for Desktops --- */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        padding: 0;
    }

    .hero-buttons .btn {
        width: auto; 
    }
    
    /* This removes the mobile margin... */
    .hero-buttons .btn-primary {
        margin-bottom: 0; 
        margin-right: 20px; /* ...and adds horizontal space for desktop */
    }
    
 /* --- FAQ Section --- */
.faq-section {
    background-color: var(--white);
    padding: 80px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem; /* Base size for mobile */
    font-weight: 600;
    color: var(--primary-green);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 15px; /* Adds space on mobile to prevent text collision */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: var(--background-light);
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-text);
}

/* This class will be added by JavaScript */
.faq-item.active .faq-question {
    background-color: var(--background-light);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed for long answers */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Media Query for larger text on desktop --- */
@media (min-width: 768px) {
    .faq-question {
        font-size: 1.2rem; /* Make text slightly larger on desktop */
    }
}


/* --- ID Card Logo Fix --- */
.id-logo {
    width: auto; /* Adjust this width as needed */
}

.id-logo img {
    height: 50px;
    width: auto; 
    display: block; /* Prevents extra space under the image */
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--white);
    padding: 80px 20px; /* Added horizontal padding for mobile */
}

.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem; /* Better base size for mobile */
    font-weight: 600;
    color: var(--primary-green);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 15px; /* Prevents icon from touching text on wrap */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: var(--background-light);
    /* This transition is the secret to the collapse */
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-text);
}

/* This class is added by JavaScript to open the item */
.faq-item.active .faq-question {
    background-color: var(--background-light);
}

.faq-item.active .faq-answer {
    /* This is what opens the accordion */
    max-height: 300px; 
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Media Query for larger text on desktop */
@media (min-width: 768px) {
    .faq-question {
        font-size: 1.2rem;
    }
    
    /* Layout */
    .faq-section {
      padding: 48px 20px;
      background: linear-gradient(180deg, rgba(22,163,74,0.05), rgba(251,191,36,0.03));
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    }
    .faq-section .container {
      max-width: 920px;
      margin: 0 auto;
    }
    .faq-section h2 {
      font-size: 2rem;
      margin: 0 0 6px 0;
      color: #0f5132; /* dark green */
    }
    .faq-section .section-subtitle {
      margin: 0 0 20px 0;
      color: #2f6f47;
    }

    /* Accordion */
    .faq-accordion {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(9, 30, 12, 0.06);
      background: white;
      border: 1px solid rgba(22, 163, 74, 0.08);
    }

    .faq-item + .faq-item {
      border-top: 1px solid #f0f0f0;
    }

    .faq-question {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 18px 20px;
      background: linear-gradient(90deg, rgba(22,163,74,0.04), rgba(251,191,36,0.02));
      border: none;
      cursor: pointer;
      text-align: left;
      font-size: 1rem;
      color: #07361f;
      transition: background 0.15s ease, transform 0.08s;
    }

    .faq-question:hover {
      background: linear-gradient(90deg, rgba(22,163,74,0.07), rgba(251,191,36,0.03));
    }

    .faq-question:focus {
      outline: 3px solid rgba(22,163,74,0.18);
      outline-offset: 2px;
    }

    .faq-question span:first-child {
      display: inline-block;
      flex: 1;
    }

    .faq-icon {
      display: inline-flex;
      width: 36px;
      height: 36px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: linear-gradient(180deg,#fef3c7, #fff7cc); /* soft yellow */
      color: #5b3e02;
      font-weight: 700;
      transition: transform 0.25s ease, background 0.2s;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06) inset;
    }

    /* When expanded */
    .faq-question[aria-expanded="true"] .faq-icon {
      transform: rotate(45deg);
      background: linear-gradient(180deg, #b8f0c8, #9fe8b7);
      color: #044b1a;
    }

    .faq-answer {
      overflow: hidden;
      max-height: 0;
      transition: max-height 300ms ease, padding 200ms ease;
      padding: 0 20px;
      background: #ffffff;
    }

    .faq-answer > p {
      margin: 14px 0 20px 0;
      color: #234f35;
      line-height: 1.6;
    }

    /* When open add padding */
    .faq-answer.open {
      padding: 12px 20px 20px;
    }

    /* Small screens */
    @media (max-width: 600px) {
      .faq-question {
        padding: 14px 16px;
      }
      .faq-icon { width: 32px; height: 32px; font-size: 0.95rem; }
    }
  
/* --- Detailed Value Proposition Section --- */
.value-prop-section {
    background: 
        linear-gradient(rgba(30, 57, 42, 0.8), rgba(30, 57, 42, 0.8)), /* Dark overlay */
        url('../images/datan-member.png') no-repeat center center/cover; /* Replace with your image */
    padding: 80px 20px;
    color: var(--white); /* Set text color to white for contrast */
}

/* Also update the text colors within this section for contrast */
.value-prop-section h2,
.value-prop-section .section-subtitle,
.value-prop-section .value-item h3 {
    color: var(--white); /* Ensure headings are white */
}

.value-prop-section .value-item p {
    color: rgba(255, 255, 255, 0.8); /* Slightly lighter white for body text */
}

.value-prop-section .value-icon {
    background-color: var(--yellow); /* Keep yellow background for icon */
}

.value-prop-section .value-icon svg {
    color: var(--primary-green); /* Keep green icon color */
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.value-item {
    text-align: center;
}

.value-icon {
    display: inline-flex; /* Helps center the icon */
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--yellow);
    margin-bottom: 20px;
}

.value-icon svg {
    color: var(--primary-green);
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--secondary-text);
    line-height: 1.7;
    max-width: 400px; /* Limits paragraph width for readability */
    margin: 0 auto; /* Centers the paragraph */
}

/* --- Media Query for Desktop Layout --- */
@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 50px;
    }
     .value-item {
        text-align: left; /* Align text left on desktop */
        display: grid; /* Use grid for icon alignment */
        grid-template-columns: 70px 1fr; /* Column for icon, column for text */
        gap: 20px;
        align-items: flex-start; /* Align items to the top */
    }
     .value-icon {
        grid-row: 1 / 3; /* Make icon span heading and paragraph rows */
        margin-bottom: 0; /* Remove bottom margin */
        align-self: flex-start; /* Align icon to the top */
    }
     .value-item h3 {
        margin-bottom: 5px;
    }
     .value-item p {
        margin: 0; /* Remove auto margin */
        max-width: none; /* Allow full width */
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr); /* Still 2 columns on large desktop, adjust if needed */
        gap: 60px;
    }
    
    /* --- Dark Theme Styling for Content Sections --- */
.content-section.dark-theme {
    background-color: var(--primary-green);
    color: var(--light-text); /* Default text color for the section */
}

/* Update heading colors within dark sections */
.content-section.dark-theme h2 {
    color: var(--white);
}

/* Update subtitle colors within dark sections */
.content-section.dark-theme p.centered-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Update paragraph and list item colors within dark sections */
.content-section.dark-theme p, 
.content-section.dark-theme li {
    color: rgba(255, 255, 255, 0.85);
}

/* Update list item icon color within dark sections */
.content-section.dark-theme ul li::before {
    /* Need to re-do the SVG with white fill */
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFFFFF' class='bi bi-check-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
}

/* Update link colors within dark sections */
.content-section.dark-theme a {
    color: var(--yellow); /* Use yellow for links on dark bg */
    text-decoration: underline;
    font-weight: 500;
}
.content-section.dark-theme a:hover {
     color: var(--white); /* White on hover */
}

/* Update highlight box within dark sections */
.content-section.dark-theme .highlight-box {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle light bg */
    border-left: 4px solid var(--yellow);
}
 .content-section.dark-theme .highlight-box p {
     color: var(--white); /* White text in highlight box */
 }

 /* Ensure inner content div uses correct padding */
 .content-section.dark-theme .content-inner {
      max-width: 900px;
      margin: 0 auto;
 }
 
 /* --- Styles for Auth Pages (Login/Register) --- */

/* Body background for auth pages */
body.auth-page {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: linear-gradient(rgba(30, 57, 42, 0.9), rgba(30, 57, 42, 0.9)), url('../images/poster.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Login/Register Container */
.login-container,
.register-container { /* Apply styles to both */
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px; /* Max width for login */
    text-align: center;
}
.register-container {
     max-width: 500px; /* Slightly wider for register */
}


/* Logo specific for Auth pages (using color logo) */
.auth-logo img {
     height: 50px; /* Adjust size as needed */
     width: auto;
     margin-bottom: 30px;
}


.login-container h2,
.register-container h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 600;
}

/* Form Group Styling */
.login-form .form-group,
.register-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Label Styling */
.login-form label,
.register-form label:not(.radio-option):not(.remember-me):not(.terms-group label) { /* Exclude specific labels */
    display: block;
    font-size: 0.9rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 500;
}

/* Input/Select Styling */
.login-form input[type="email"],
.login-form input[type="password"],
.register-form input:not([type="radio"]):not([type="checkbox"]),
.register-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif; /* Ensure font consistency */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus Styling */
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus,
.register-form input:not([type="radio"]):not([type="checkbox"]):focus,
.register-form select:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 243, 0, 0.3); /* Yellow glow */
}

/* Login Specific Actions */
.login-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.login-form .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    cursor: pointer; /* Make the label clickable */
}

.login-form .remember-me input[type="checkbox"] {
    accent-color: var(--yellow);
    cursor: pointer;
}

.login-form .forgot-password {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-form .forgot-password:hover {
    color: var(--yellow);
}

/* Button Styling */
.btn-login,
.btn-register {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--yellow);
    color: var(--primary-green);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-login:hover,
.btn-register:hover {
    background-color: #e6d900; /* Darker yellow */
    transform: translateY(-2px);
}

/* Link Styling */
.signup-link,
.login-link {
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--secondary-text);
}

.signup-link a,
.login-link a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover,
.login-link a:hover {
    color: var(--yellow);
}

/* (Include Register page specific styles like .membership-type-group, .radio-option etc. here too if they are in style.css) */
}

/* --- Dashboard Specific Styles --- */

body.dashboard-page { /* Optional: Use if you need specific body styles */
    background-color: var(--background-light);
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.dashboard-sidebar {
    width: 260px;
    background-color: var(--primary-green);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    padding: 20px 15px; /* Adjusted padding */
    position: fixed; /* Keep fixed for desktop */
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1001; /* Ensure it's above other content */
    overflow-y: auto; /* Allow scrolling if content is long */
}

.sidebar-logo {
    display: block; /* Ensure it takes full width for centering */
    padding: 10px 0;
    text-align: center;
    margin-bottom: 30px;
}
.sidebar-logo img {
     height: 45px; /* Adjust as needed */
     width: auto;
}


.sidebar-nav ul {
    list-style: none;
    padding: 0; /* Remove default padding */
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 14px 15px; /* Adjusted padding */
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-nav li a.active {
    color: var(--yellow); /* Highlight active link with yellow */
}

.sidebar-nav li a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Prevent icon shrinking */
}

.sidebar-footer {
    margin-top: auto; /* Pushes footer links to the bottom */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator */
}

/* --- Main Content Area --- */
.dashboard-main {
    flex-grow: 1;
    padding: 30px;
    margin-left: 260px; /* Space for the fixed sidebar */
    width: calc(100% - 260px); /* Ensure it takes remaining width */
}

.dashboard-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color); /* Add a separator */
    padding-bottom: 20px;
}

.dashboard-header h1 {
    font-size: 1.8rem; /* Slightly smaller */
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 5px; /* Reduced margin */
}

.dashboard-header p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    /* Responsive grid: min 200px wide, max 1fr */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--white);
    padding: 20px; /* Slightly reduced padding */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Softer shadow */
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; /* Reduced margin */
}

.stat-card-header h3 {
    font-size: 0.9rem; /* Slightly smaller */
    color: var(--secondary-text);
    font-weight: 500;
}

.stat-card-value {
    font-size: 1.4rem; /* Adjusted size */
    font-weight: 600;
    color: var(--primary-green);
    /* Allow text wrapping if needed */
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Ensure badge styling works within stat-card-value span */
.stat-card-value.status-badge {
     display: inline-block; /* Needed for padding */
     font-size: 0.9rem; /* Match other badges */
}


.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: inline-block; /* Needed for padding */
}
.status-badge.active { background-color: var(--green-light); }
.status-badge.pending { background-color: var(--orange-pending); }
/* Add more statuses: .suspended { background-color: #f44336; } etc. */


/* --- Action Panel --- */
.action-panel {
    background-color: var(--yellow);
    color: var(--primary-green);
    padding: 25px 30px; /* Adjusted padding */
    border-radius: 12px;
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 15px; /* Space between text and button on mobile */
    align-items: flex-start; /* Align text left */
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.action-panel div { /* Text container */
     flex-grow: 1;
}

.action-panel h2 {
    font-size: 1.4rem; /* Adjusted size */
    margin: 0 0 5px 0; /* Add bottom margin */
    font-weight: 600;
}
.action-panel p {
     font-size: 0.95rem;
     margin: 0;
     opacity: 0.9;
}

.action-panel .btn-action {
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px; /* Adjusted padding */
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent button shrinking */
    align-self: flex-start; /* Align button left on mobile */
}

.action-panel .btn-action:hover {
    background-color: #14251C; /* Darker green */
    transform: translateY(-2px);
}

/* Media query for Action Panel on desktop */
@media (min-width: 768px) {
    .action-panel {
        flex-direction: row; /* Side-by-side on desktop */
        align-items: center; /* Center items vertically */
        gap: 25px;
    }
     .action-panel .btn-action {
        align-self: center; /* Reset alignment */
    }
}


/* --- Announcements Card --- */
.announcements-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.announcements-card h2 {
    font-size: 1.4rem; /* Adjusted size */
    color: var(--primary-green);
    margin-bottom: 15px; /* Reduced margin */
    padding-bottom: 10px; /* Add space below heading */
    border-bottom: 1px solid var(--border-color); /* Separator */
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.announcement-item:first-of-type {
     padding-top: 0; /* Remove top padding for first item */
}
.announcement-item:last-child {
    border-bottom: none;
    padding-bottom: 0; /* Remove bottom padding for last item */
}

.announcement-item h4 {
    font-size: 1rem; /* Adjusted size */
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text); /* Ensure dark text */
}

.announcement-item p {
    color: var(--secondary-text);
    font-size: 0.9rem;
    line-height: 1.6; /* Better readability */
    margin: 0; /* Remove default margin */
}


/* --- Dashboard Responsive Adjustments --- */
@media (max-width: 992px) { /* Tablet and Mobile */
    .dashboard-sidebar {
        position: static; /* No longer fixed */
        width: 100%;
        height: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Add shadow when static */
    }
    .dashboard-wrapper {
        flex-direction: column; /* Stack sidebar and main content */
    }
    .dashboard-main {
        margin-left: 0; /* Remove margin */
        width: 100%; /* Take full width */
    }
     /* Optional: Hide sidebar logo/footer on mobile or make nav horizontal */
     /* .dashboard-sidebar .sidebar-logo, .dashboard-sidebar .sidebar-footer { display: none; } */
     /* .sidebar-nav ul { display: flex; flex-wrap: wrap; justify-content: center; } */
}

@media (max-width: 576px) { /* Small Mobile */
     .dashboard-main { padding: 20px; }
     .stats-grid { grid-template-columns: 1fr; } /* Force 1 column */
     .action-panel { padding: 20px; }
     .action-panel h2 { font-size: 1.2rem; }
     .action-panel .btn-action { width: 100%; text-align: center; } /* Full width button */
}
