:root {
    /* Brand Colors */
    --color-sage: #8A9A5B;
    --color-sage-light: #A4B475;
    --color-terracotta: #C76E55;
    --color-cream: #FFFFFF;
    /* Changed to white */
    --color-emerald: #2E8B57;
    --color-lime: #828a35;
    --color-dark: #1A1C18;
    --color-white: #FFFFFF;
    --color-glow-soft: rgba(138, 154, 91, 0.08);
    /* New soft glow variable */

    /* Text */
    --text-primary: #1A1C18;
    --text-secondary: #5C6155;

    /* Utils */
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 100px;

    --shadow-glass:
        0 4px 30px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 0 1px rgba(255, 255, 255, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.6);
    /* Refined Glass Variables */
    --glass-blur: 30px;
    /* Stronger blur */
    --glass-opacity: 0.3;
    /* More transparent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* strictly hide horizontal overflow */
    -webkit-text-size-adjust: 100%;
}

html {
    /* For stability on iOS Safari */
    height: -webkit-fill-available;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    -webkit-overflow-scrolling: touch;
    /* Restore smooth momentum scrolling */
    font-family: 'Manrope', sans-serif;
    background-color: var(--color-cream);
    color: var(--text-primary);
}

h1,
h2,
h3,
h4 {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

/* Section Heading — for in-page section titles (not hero) */
.section-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

/* Animated Film Grain - Tactile Texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 9999;
    /* On top of everything for true film feel */
    mix-blend-mode: overlay;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}



.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #FFFFFF;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Softer blur for background */
    opacity: 0.25;
    /* Increased subtlety for white theme */
    animation: float 20s infinite ease-in-out;
    mix-blend-mode: multiply;
    /* Better blending */
}

.globe-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--color-sage-light), rgba(164, 180, 117, 0));
    top: -150px;
    left: -150px;
}

.globe-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-terracotta), rgba(199, 110, 85, 0));
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
    opacity: 0.4;
}

.globe-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-lime), rgba(212, 225, 87, 0));
    top: 30%;
    left: 60%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation-duration: 25s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(50px, 50px);
    }

    50% {
        transform: translate(0, 100px);
    }

    75% {
        transform: translate(-50px, 50px);
    }
}

.page-wrapper {
    max-width: 1440px;
    /* Wider for rubber feel checking */
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

/* Advanced Glassmorphism Util - Weightless */
.glass-panel {
    /* Base - White with high transparency for lightness */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);

    /* Removed heavy borders for weightless feel */

    /* Soft, ultra-large diffusion shadow */
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.04),
        0 20px 50px -10px rgba(0, 0, 0, 0.02);

    position: relative;
    overflow: visible;
    /* Allow glows to spill out for unified structure */
}

/* Gradient Blur Glow behind elements */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    /* Much wider for softer spill */
    height: 140%;
    background: radial-gradient(circle, var(--color-glow-soft), transparent 75%);
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
    transition: all 0.8s ease;
}

.glass-panel:hover::before {
    width: 80%;
    height: 80%;
    opacity: 0.6;
}

/* Specific Glows for Cards */
.stat-card:nth-child(1)::before {
    background: radial-gradient(circle, #ADD8E6, transparent 70%);
}

/* Clients - Blue tint */
.stat-card:nth-child(2)::before {
    background: radial-gradient(circle, var(--color-lime), transparent 70%);
}

/* Efficiency - Lime */
.stat-card:nth-child(3)::before {
    background: radial-gradient(circle, #FFB7B2, transparent 70%);
}

/* Courses - Red tint */
.stat-card:nth-child(4)::before {
    background: radial-gradient(circle, #C7CEEA, transparent 70%);
}

/* Consultations - Purple */

/* Texture Layer REMOVED for cleanness */



/* Texture Layer (Frosted Grain) */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.25;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}



/* Ensure content is above distortion layers */
.glass-panel>* {
    position: relative;
    z-index: 2;
}

/* Frameless Override for Hero Section */
.glass-panel.frameless {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.glass-panel.frameless::before,
.glass-panel.frameless::after {
    display: none;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 100;
    overflow: visible !important;
    /* Allow dropdowns to break out of the glass-panel capsule */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-sage), var(--color-emerald));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.tagline {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

/* Navbar Reform */
.nav {
    display: flex;
    gap: 8px;
    background: transparent;
    padding: 4px;
    border: none;
    border-radius: var(--radius-pill);
    overflow: visible;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.3s;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dropdown Logic */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    min-width: 180px;
    width: max-content;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    /* Small visual gap, but we'll bridge it */
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: rgba(46, 139, 87, 0.1);
    color: var(--color-emerald);
}

.nav-link .iconify {
    font-size: 16px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link .iconify {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-sage) 100%);
    color: white !important;
    box-shadow: 0 4px 14px rgba(46, 139, 87, 0.28);
}

/* Mobile Menu Toggle — hidden on desktop (>1024px) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Standardized Buttons */
.btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: var(--radius-pill);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-sage) 100%);
    color: white !important;
    padding: 14px 32px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(46, 139, 87, 0.35);
    background: linear-gradient(135deg, #256e45 0%, #7a8a4e 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 32px;
    color: var(--color-dark) !important;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 14px 32px;
    color: var(--color-dark) !important;
    font-size: 15px;
}

.btn-glass-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.btn-pill {
    padding: 16px 40px;
    border-radius: 100px;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    /* Hero row, stats row */
    gap: 24px;
    padding-bottom: 60px;
}

.bento-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    overflow: visible;
    /* For JS tilt and glows */
}

/* Global Object-to-Background Soft Glow */
.glass-panel::before,
.bento-card::before,
.service-card::before,
.promo-card::before,
.contact-card::before,
.faq-card::before,
.extra-service-card::before,
.mission-card::before,
.founder-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, var(--color-glow-soft), transparent 80%);
    filter: blur(100px);
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
    transition: all 0.8s ease;
}

@media (max-width: 768px) {

    .glass-panel::before,
    .bento-card::before,
    .service-card::before,
    .promo-card::before,
    .contact-card::before,
    .faq-card::before,
    .extra-service-card::before,
    .mission-card::before,
    .founder-card::before {
        /* Completely disable heavy blurs on mobile for stability and speed */
        display: none !important;
    }

    .glass-panel,
    .bento-card,
    .promo-card {
        /* Remove backdrop filter entirely on mobile to fix iOS scroll lag */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95);
        transform: none !important;
        /* Force reset all transforms to avoid layer explosion */
    }

    .service-card {
        /* Service cards keep their specific backgrounds (images or colored classes) */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        color: white !important;
    }

    .service-card h3 {
        color: white !important;
    }

    .services-section .service-card h3 {
        font-size: 24px;
    }

    .service-card p {
        font-size: 14px;
        color: white !important;
    }

    /* Use simple shadows instead of glows on mobile */
    .glass-panel,
    .bento-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    }

    /* FIX FOR LINKS NOT CLICKABLE ON MOBILE */
    /* 1. Disable film grain overlay (iOS mix-blend-mode touch bug) */
    body::after {
        display: none !important;
        pointer-events: none !important;
    }

    /* 2. Disable all potential overlapping pseudo-elements and force pointer-events nullification */
    .glass-panel::after,
    .bento-card::after,
    .service-card::after,
    .promo-card::after {
        display: none !important;
        pointer-events: none !important;
    }

    /* 3. Ensure header stays on top */
    .header {
        z-index: 9999 !important;
    }

    /* 4. Force pointer-events on links */
    a,
    .btn,
    .social-btn,
    .contact-card {
        pointer-events: auto !important;
    }
}

/* Specific glows for different card types */
.service-card::before {
    background: radial-gradient(circle, rgba(138, 154, 91, 0.15), transparent 80%);
}

.price-card::before {
    background: radial-gradient(circle, rgba(46, 139, 87, 0.1), transparent 85%);
}

.highlight-card::before {
    background: radial-gradient(circle, rgba(212, 225, 87, 0.15), transparent 80%);
    opacity: 0.8;
}

.promo-card::before {
    background: radial-gradient(circle, rgba(156, 173, 141, 0.25), transparent 80%);
}

/* Hero Text Card - Transparent & Weightless */
.hero-text-card {
    grid-column: span 2;
    justify-content: center;
    background: transparent !important;
    /* Force transparent */
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
}

.hero-text-card::before {
    display: none;
}

/* No glow behind text, keep it clean */

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    /* Lighter badge */
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-emerald);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: fit-content;
}

h1 {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, var(--color-dark), #3a4036);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--color-dark);
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-dark);
}



.highlight-text {
    background: linear-gradient(to right, var(--color-emerald), var(--color-sage)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-desc {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual Card */
.hero-visual-card {
    grid-column: span 2;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    /* Allow glow */
}

.hero-visual-card::before {
    /* Glow behind the main image */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.12), transparent 70%);
    filter: blur(100px);
    opacity: 0.5;
    z-index: -1;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 40px;
    /* Super rounded */
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    /* Soft deep shadow */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    font-weight: 700;
    color: var(--color-emerald);
}

.floating-badge .iconify {
    font-size: 18px;
}

/* Stat Cards */
.stat-card {
    grid-column: span 1;
    padding: 24px;
    justify-content: space-between;
    min-height: 180px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(138, 154, 91, 0.15);
    /* Sage light opacity */
    color: var(--color-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.text-link {
    color: var(--color-emerald);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.text-link:hover {
    color: var(--color-sage);
    gap: 8px;
}

/* Accent Marker (Inline Chevron) */
.accent-marker {
    color: var(--color-emerald);
    font-weight: 700;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tactile Markers - Global Card Interactivity */
.bento-card,
.service-card,
.promo-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.4s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
}

/* Hover State */
.bento-card:hover,
.service-card:hover,
.promo-card:hover {
    transform: scale(1.02) translateY(-4px) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12) !important;
    z-index: 10;
}

.bento-card:hover .accent-marker,
.service-card:hover .accent-marker,
.promo-card:hover .accent-marker {
    transform: translateX(4px);
}

/* Active State (Tactile Feedback) */
.bento-card:active,
.service-card:active,
.promo-card:active {
    transform: scale(0.97) translateY(0) !important;
    transition: transform 0.1s ease !important;
}

.promo-hint {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 12px;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--color-emerald);
    width: fit-content;
}

/* Highlight Card Stylings - Now cleaner */

/* Specific overrides for consistent text colors if needed, 
   but for now let's keep the user's 'efficiency' card clean white 
   with the green glow we added in ::before */

.highlight-card .stat-label,
.highlight-card .stat-value {
    color: var(--text-primary) !important;
}

/* Removed local hero-content h1 override so all page headers identically match main 'h1' */

.white-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #8A9A5B;
}

.white-trend {
    background: rgba(255, 255, 255, 0.2);
    color: #8A9A5B;
}

/* Avatars course card extra */
.progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    width: 100%;
    margin-top: auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-sage);
    border-radius: 10px;
}

.avatars-stack {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }

    h1 {
        font-size: 32px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.015em !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    h3 {
        font-size: 17px !important;
    }

    .header {
        padding: 8px 16px;
        margin-bottom: 20px;
        top: 10px;
        gap: 8px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .brand {
        font-size: 15px !important;
    }

    .tagline {
        font-size: 10px !important;
    }

    .stat-value {
        font-size: 26px !important;
    }

    .nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 28px;
        padding: 12px;
        gap: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px) scale(0.98);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 0;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .header.menu-open .nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        max-height: 600px;
        overflow-y: visible;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item:nth-child(odd):last-child {
        grid-column: span 2;
    }

    .nav-link {
        font-size: 14px;
        font-weight: 700;
        padding: 24px 12px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(46, 139, 87, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.03);
        border-radius: 20px;
        color: var(--color-dark) !important;
        flex-direction: column;
        gap: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-link.active {
        background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-sage) 100%) !important;
        color: white !important;
        box-shadow: 0 4px 14px rgba(46, 139, 87, 0.28) !important;
    }

    .brand-col {
        display: flex !important;
        grid-column: span 2;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .brand-col .logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
        width: fit-content !important;
    }

    .brand-col .logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px 24px !important;
        padding: 24px 16px !important;
        text-align: left;
        align-items: start !important;
    }

    .site-footer {
        padding-top: 0 !important;
    }

    .promo-section {
        padding-bottom: 32px !important;
    }

    .footer-desc {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-secondary);
        text-align: left;
        max-width: 100%;
    }
}

/* These footer-col rules apply inside a mobile media query context */
@media (max-width: 1024px) {
    .footer-col {
        margin-bottom: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
    }

    .footer-col h4 {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 8px;
        height: 32px;
        display: flex;
        align-items: center;
    }

    .footer-col h4 a {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        padding: 0;
        margin: 0;
    }

    .footer-col nav {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        text-align: left !important;
    }

    .footer-col a {
        display: block;
        margin-bottom: 12px !important;
        font-size: 14px;
        color: var(--text-secondary);
        text-decoration: none;
        text-align: left !important;
    }
}

.nav-link.active {
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-sage) 100%);
    color: white !important;
    box-shadow: 0 4px 14px rgba(46, 139, 87, 0.28);
}

@media (max-width: 1024px) {

    /* Mobile Dropdown Layout */
    .dropdown {
        position: static;
        width: 100%;
        margin-top: 0;
        display: none;
        /* Definitive fix for artifacts */
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        padding: 0;
        border: none;
        transition: all 0.3s ease;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0 0 18px 18px;
    }

    .nav-item.mobile-dropdown-open .dropdown {
        display: flex;
        /* Activate when open */
        flex-direction: column;
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 8px;
        margin-top: -8px;
        /* Stitch to the Tile above */
        background: rgba(46, 139, 87, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-item.mobile-dropdown-open .nav-link .iconify {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 12px 16px;
        border-radius: 8px;
        white-space: normal;
    }

    .btn-primary,
    .btn-glass {
        padding: 14px 24px;
        font-size: 15px;
    }

    .header>.btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header.menu-open {
        overflow: visible;
    }

    .page-wrapper {
        padding: 10px;
        width: 100%;
        overflow-x: hidden;
        overflow-wrap: break-word;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        height: 54px;
        padding: 0;
        font-size: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-desc {
        font-size: 17px !important;
        max-width: 100%;
    }

    /* Hero paragraph text — unified across all pages */
    .reviews-hero p,
    .legal-hero p,
    .faq-hero p,
    .partners-hero p,
    .contacts-hero p,
    .pricing-hero p,
    .about-hero .description,
    .vacancies-hero p {
        font-size: 17px !important;
    }

    /* In-page section headings */
    .section-heading,
    .category-header h2,
    .section-header h2,
    .services-header h2,
    .values-header h2,
    .timeline-title-main {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    /* Prevent text overflow for the badge */
    .eyebrow-badge {
        white-space: normal;
        text-align: center;
        width: 100%;
        justify-content: center;
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual-card {
        height: 400px;
        /* Ensure image is visible on mobile */
        margin-top: 20px;
    }
}

/* End of leaked mobile query */

/* Services Section - Block 2 */
.services-section {
    padding: 40px 0 60px;
}

.services-header {
    margin-bottom: 40px;
}

.services-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.services-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 20px;
}

.service-card {
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    overflow: visible;
    /* Allow glow to spill out */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    text-decoration: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(138, 154, 91, 0.1), transparent 70%);
    filter: blur(60px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Updated Animation: Slight scale & Color Depth Increase */
/* Redundant hover removed - handled by global tactile marker class above */

.service-card.bg-emerald:hover,
.service-card.bg-lime:hover,
.service-card.bg-terracotta:hover,
.service-card.bg-olive:hover {
    filter: saturate(1.2) brightness(1.05);
    /* "Color depth" */
}

.large-image-card {
    grid-column: span 4;
    grid-row: span 2;
    padding: 0;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    /* Safari stability */
}

.service-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
    will-change: transform;
    /* Safari flicker fix */
    transform: translateZ(0);
    /* Hardware acceleration */
}

/* Subtle zoom for image on hover too */
.large-image-card:hover .service-bg-img {
    transform: scale(1.05);
}

.large-image-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
    pointer-events: none;
    transform: translateZ(1px);
    /* Layering fix */
}

.large-image-card .service-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
}

.service-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white !important;
}

.service-card p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.95;
    font-weight: 500;
    color: white !important;
}

.service-icon {
    font-size: 40px;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.bg-emerald {
    grid-column: span 2;
    background-color: #8D9985;
}

.bg-lime {
    grid-column: span 2;
    background-color: #c4b47f;
}

.bg-terracotta {
    grid-column: span 3;
    background-color: #D39585;
}

.bg-olive {
    grid-column: span 3;
    background-color: #616a76;
}

@media (max-width: 1024px) {
    .services-grid {
        display: flex;
        flex-direction: column;
    }

    .service-card {
        min-height: 260px;
    }

    .large-image-card {
        height: 400px;
    }
}

/* Shared Section Styles */
.faq-section,
.cta-section,
.promo-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {

    .faq-section,
    .cta-section,
    .promo-section {
        padding: 50px 0;
    }
}

/* CTA Subscription Section */
.cta-panel {
    border-radius: 40px;
    padding: 48px 40px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-panel h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
}

.cta-panel p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
}

.cta-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    max-width: 500px;
}

.cta-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.cta-input:focus {
    background: white;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}

/* Promo Banner Section handled by Shared Section Styles */


.promo-card {
    background: linear-gradient(135deg, #b9d99e 0%, #8A9A5B 100%);
    /* Emerald to Lime Gradient */
    border-radius: 40px;
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(46, 139, 87, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(156, 173, 141, 0.2), transparent 70%);
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.promo-card:hover {
    transform: scale(1.02);
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.promo-card h2,
.cta-banner h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.cta-panel h2,
.form-card h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 0;
    letter-spacing: -0.01em !important;
    color: var(--color-dark) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.promo-card p,
.cta-banner p {
    color: white !important;
}

.promo-card p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 12px;
}

.btn-white {
    background: white;
    color: var(--color-emerald);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0;
    background: transparent;
    font-size: 14px;
}

.footer-content {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.brand-col {
    padding-right: 40px;
}

.footer-desc {
    margin-top: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-emerald);
}

@media (max-width: 768px) {
    .promo-card {
        padding: 40px 20px;
    }

    .promo-card h2 {
        font-size: 28px;
    }
}

/* Site-Wide Legal Footer */
.site-footer-legal {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 0 40px;
    margin-top: 20px;
}

.legal-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Tightened gap */
}

.legal-block {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.legal-block strong {
    color: var(--color-dark);
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.legal-block p {
    margin-bottom: 2px;
    /* Tightened paragraph margin */
}

.legal-block blockquote {
    margin: 8px 0;
    /* Tightened blockquote margin */
}

.legal-block a {
    color: var(--color-emerald);
    text-decoration: none;
    font-weight: 600;
}

.legal-block a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-footer-legal {
        padding: 20px 10px 30px;
    }

    .legal-content {
        gap: 8px;
        /* Tightened for mobile */
    }

    .legal-block {
        text-align: left;
    }

    .legal-block blockquote {
        padding: 10px;
        margin: 10px 0;
        border-left: none;
        border-top: 2px solid var(--color-emerald);
        border-bottom: 2px solid var(--color-emerald);
    }
}

/* Footer Bottom Section: Copyright & Developer */
.footer-bottom {
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-copyright {
    opacity: 0.8;
}

.footer-made-by {
    display: flex;
    align-items: center;
    gap: 24px;
}

.made-with-love {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.heart-icon {
    color: #2E8B57;
    /* Emerald green heart as requested */
    font-size: 16px;
    filter: drop-shadow(0 0 5px rgba(46, 139, 87, 0.3));
    animation: heartPulse 2s infinite;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.developer-info {
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.developer-info:hover {
    color: var(--color-emerald);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 24px 10px;
    }

    .made-with-love {
        justify-content: center;
        width: 100%;
    }

    .footer-made-by {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}



/* --- FAQ Accordion Styles --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 40px;
    padding: 48px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.04);
}

.toggle-trigger-faq {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

.toggle-trigger-faq h3 {
    margin: 0;
    line-height: 1.3;
}

.toggle-icon {
    font-size: 24px;
    color: var(--color-emerald);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 20px;
    display: block;
}

/* Hide toggle icon in FAQ on desktop since cards are expanded */
.faq-item .toggle-icon {
    display: none;
}


.faq-content {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Mobile-only Accordion Behavior */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        cursor: pointer;
    }

    .faq-item:hover {
        transform: scale(1.02);
        background: rgba(255, 255, 255, 0.7);
    }

    .faq-item.active {
        background: rgba(255, 255, 255, 0.9);
    }

    .toggle-trigger-faq {
        cursor: pointer;
    }

    .toggle-icon {
        display: block;
        /* Show for mobile toggles */
    }

    /* Force show for FAQ items on mobile */
    .faq-item .toggle-icon {
        display: block;
    }

    .faq-item.active .toggle-icon {
        transform: rotate(180deg);
    }

    .faq-content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .faq-item.active .faq-content {
        max-height: 1000px;
        opacity: 1;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

.faq-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}



@media (max-width: 768px) {
    .faq-item {
        padding: 24px 30px;
        border-radius: 32px;
    }

    .toggle-trigger-faq h3 {
        margin: 0;
    }
}

/* Specific White Text Overrides for Dark Containers */
.promo-card,
.service-card,
.promo-card h2,
.promo-card p,
.service-card h3,
.service-card p {
    color: #ffffff !important;
}

.service-card .text-link {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Ensure Home Page Components maintain correct contrast */
.cta-panel h2 {
    color: var(--color-dark) !important;
}

.cta-panel p,
.stat-card .stat-desc {
    color: var(--text-secondary) !important;
}

.stat-card .stat-label,
.stat-card .stat-value {
    color: var(--color-dark) !important;
}