:root {
    /* Brand Colors - Extracted from Logo */
    --color-primary-green: #00D2B4;
    /* Vibrant Teal */
    --color-primary-green-dark: #00A68E;
    --color-primary-blue: #1A1A1A;
    /* Dark Charcoal/Black */
    --color-primary-blue-dark: #000000;

    /* Premium Accents */
    --color-accent-silver: #E5E7EB;
    --color-accent-gold: #C5A059;
    /* Muted luxury gold */
    --color-glass-bg: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.2);

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-light-grey: #F8FAFC;
    --color-text-dark: #1F2937;
    --color-text-light: #64748B;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', 'Roboto', sans-serif;
    /* Updating to Outfit for modern feel if available, fallback to Roboto */
    --font-ui: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    /* Softened corners */
    --box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-light-grey);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-blue);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphic/Light Navbar (Megafina Style) */
#main-header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    /* Standard padding */
    transition: all 0.3s ease;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    /* Restore spacing */
    align-items: center;
    height: 100%;
}

/* Overhanging Logo Container */


.logo-img {
    height: 90px;
    /* Doubled Size */
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.02);
}

/* Nav Links - Pushed to right */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    /* Dark Text */
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-green);
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--color-primary-green);
}

.cta-btn-nav {
    background: var(--color-primary-green);
    color: var(--color-white) !important;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    /* Less rounded for more corporate feel like reference */
    font-weight: 600;
    box-shadow: none;
    transition: all 0.3s;
}

.cta-btn-nav:hover {
    background: var(--color-primary-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
#hero {
    position: relative;
    height: 90vh;
    /* slightly taller */
    background: radial-gradient(circle at top right, #2C3E50, #1A1A1A);
    /* Deep premium dark base */
    display: flex;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
}

/* Abstract Premium Shapes */
#hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 180, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    /* Subtle Teal Glow */
    border-radius: 50%;
    filter: blur(60px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    /* Gold hint */
    border-radius: 50%;
    filter: blur(50px);
}

.hero-overlay {
    /* Removed thick overlay for cleaner look, added subtle grain if needed later */
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, #FFFFFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-sub {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--color-primary-green);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(11, 102, 35, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 102, 35, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary-blue);
}

/* Stats Bar */
#stats-bar {
    background-color: var(--color-white);
    padding: 2rem 0;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    font-family: var(--font-heading);
}

.stat-item p {
    color: var(--color-text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--color-accent-silver);
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    #hero h1 {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    #hero {
        height: auto;
        min-height: 90vh;
        padding-top: 80px;
        /* Space for nav */
        text-align: center;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 1rem;
    }

    #stats-bar {
        margin: 2rem 1.5rem 0;
        /* Add margin on mobile */
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    /* Nav Mobile Fixes */
    .nav-links {
        display: none;
        /* For now, simple hide or hamburger could be better, but user didn't ask for full menu logic, keeping it safe */
        /* If we had JS for menu: 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: white; 
        flex-direction: column; 
        padding: 2rem;
        */
    }

    /* Ensure cards look good */
    .service-grid,
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Service Section */
.service-tabs-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.service-tabs {
    background: var(--color-white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--color-primary-green);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(11, 102, 35, 0.3);
}

.service-content {
    min-height: 400px;
}

.service-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

.service-grid.active {
    display: grid;
}

/* Glassmorphism Cards */
.service-card,
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    /* More transparent for glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    background: #FFFFFF;
    border-color: var(--color-primary-green);
}

.service-card h3 {
    font-size: 1.35rem;
    /* Larger title */
    color: var(--color-primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-green), var(--color-primary-blue));
    opacity: 0;
    /* Hidden by default */
    transition: opacity var(--transition-speed);
}

.service-card:hover::after {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .service-tabs {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Why Choose Us */
.bg-light {
    background-color: var(--color-light-grey);
}


.mb-5 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Icon Box Updated (Moved to card section above, verifying cleanliness) */
/* If separate styling needed: */
.icon-box {
    /* Style handled in shared block or override here if specific */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #F0FDF4, #E0F2FE);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-primary-green);
}

/* Calculators Section */
.calc-container {
    background: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.calc-tabs {
    display: flex;
    background: #eee;
}

.calc-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    color: var(--color-text-light);
    transition: background 0.3s;
}

.calc-tab.active {
    background: var(--color-white);
    color: var(--color-primary-green);
    border-top: 3px solid var(--color-primary-green);
}

.calc-body {
    padding: 2rem;
}

.calc-content {
    display: none;
    animation: fadeIn 0.5s;
}

.calc-content.active {
    display: block;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary-blue);
}

.input-group input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
    accent-color: var(--color-primary-green);
    cursor: pointer;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.calc-result {
    margin-top: 2rem;
    background: var(--color-light-grey);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.calc-result p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.calc-result h4 {
    font-size: 1.5rem;
    color: var(--color-primary-green);
    margin-top: 1rem;
}

.highlight-text {
    font-weight: 700;
    color: var(--color-primary-green);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Footer */
.footer {
    background-color: var(--color-primary-blue-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--color-primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a:hover {
    color: var(--color-primary-green);
    padding-left: 5px;
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.map-container iframe {
    border-radius: var(--border-radius);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.disclaimer-text {
    font-size: 0.7rem;
    margin-top: 10px;
    font-style: italic;
}



/* --- Google Rating Badge --- */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.google-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.g-icon img {
    height: 24px;
}

.g-stars {
    color: #F4B400;
    /* Google Yellow */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.g-score {
    font-weight: 600;
    color: var(--color-text-dark);
}

.g-link {
    font-size: 0.85rem;
    color: var(--color-primary-blue);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary-blue);
}

/* --- Testimonials Slider --- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 1300px;
    /* Wider to accommodate buttons */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 10px;
    /* Safety padding */
}

.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    padding: 1rem 0.5rem;
    /* Space for shadow */
    align-items: stretch;
    /* Explicitly force equal height */
}

.testimonial-card {
    background: var(--color-white);
    padding: 3rem 2rem 2.5rem;
    /* More top padding for quote */
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-primary-green);

    /* Layout for flexible content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    /* Let flex stretch handle it, but allow growth */
    min-height: 480px;
    /* Enforce a premium tall box size */
    text-align: left;
    /* Ensure left alignment for paragraph feel */

    /* Carousel Item Sizing */
    min-width: 100%;
    /* Mobile default: 1 per view */
    flex-shrink: 0;
}

/* Tablet: 2 per view */
@media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - 1rem);
    }
}

/* Desktop: 3 per view */
@media (min-width: 1024px) {
    .testimonial-card {
        min-width: calc(33.333% - 1.33rem);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.t-quote {
    font-size: 6rem;
    /* Slightly larger but more subtle */
    color: rgba(0, 210, 180, 0.05);
    /* Brand Green, very faint */
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'Playfair Display', serif;
    line-height: 0.5;
    pointer-events: none;
    z-index: 0;
}

.t-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-text-dark);
    /* Darker for better readability */
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.8;
    /* Increased for premium readability */
    white-space: normal;
    /* Force wrapping */
    word-wrap: break-word;
    /* Prevent overflow */
    font-size: 1.05rem;

    /* FIX: Constrain width for readability (approx 60-70 chars) */
    max-width: 60ch;
    /* Ensure it doesn't look weird if card is huge */
    width: 100%;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Align with text */
    margin-top: auto;
    border-top: 1px solid var(--color-accent-silver);
    /* Subtle separator */
    padding-top: 1.5rem;
    width: 100%;
    max-width: 60ch;
    /* Match text width constraint */
}

.t-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary-green);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.t-author h4 {
    font-size: 1rem;
    margin-bottom: 0px;
    color: var(--color-text-dark);
}

.t-author span {
    font-size: 0.85rem;
    color: #777;
}

/* Slider Controls */
.slider-btn {
    background: var(--color-white);
    border: 1px solid #ddd;
    color: var(--color-primary-navy);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--color-primary-navy);
    color: var(--color-white);
    transform: scale(1.1);
    border-color: var(--color-primary-navy);
}

/* --- UI/UX Premium Enhancements --- */



/* Card Lift & Polish */
.service-card,
.feature-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(11, 102, 35, 0.2);
    /* Green tint on hover */
}

/* Section Headings Polish */
h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary-green), var(--color-primary-navy));
    border-radius: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--color-white);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-text-dark);
    text-decoration: none;
}

#modal-title {
    color: var(--color-primary-green);
    margin-bottom: 0.5rem;
}

#modal-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h4 {
    font-size: 1rem;
    color: var(--color-primary-blue);
    margin-bottom: 0.5rem;
}

#modal-features {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--color-text-dark);
}

#modal-features li {
    margin-bottom: 0.3rem;
}

#modal-cta {
    display: block;
    text-align: center;
    margin-top: 2rem;
    text-decoration: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Transition for Hover + Scroll Reveal + Active Border */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);

    /* Scroll Reveal Initial State */
    opacity: 0;
    transform: translateY(30px);
    border-left: 5px solid transparent;
    /* Accent placeholder */
}

/* Scroll Reveal Visible State */
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Active State (Open) */
.faq-item[open] {
    border-left-color: var(--color-primary-green);
    /* Green Accent */
    background-color: rgba(11, 102, 35, 0.03);
    /* Subtle Tint */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary-blue);
    position: relative;
    list-style: none;
    /* Hide default triangle */
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-item[open] summary {
    color: var(--color-primary-green-dark);
}

/* Custom Marker - Hiding native webkit marker */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Animated Icon */
.faq-item summary::after {
    content: '+';
    font-weight: 300;
    font-size: 2rem;
    color: var(--color-primary-green);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy transition */
    line-height: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(45deg) scale(1.2);
    /* Rotate and slight pulse */
    color: var(--color-primary-navy);
}

.faq-item p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
    /* Content Slide In */
    animation: contentFade 0.5s ease-out forwards;
}

/* Animation for the answer text */
@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}