﻿:root {
    /* Vibrant Color Palette - Alive & Energetic */
    --primary-green: #22c55e;
    --green-light: #4ade80;
    --green-dark: #16a34a;
    --green-vibrant: #10b981;
    --header-green-start: #4ade80;
    --header-green-end: #34d399;
    --header-green-shadow: rgba(52, 211, 153, 0.28);
    --khaki-brown: #a78b5b;
    --khaki-light: #c9a96b;
    --khaki-dark: #8b6f47;
    --orange-vibrant: #fb923c;
    --orange-light: #fdba74;
    --orange-dark: #f97316;
    --accent-coral: #ff6b6b;
    --accent-blue: #3b82f6;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-bg: #f0fdf4;
    --text-dark: #1a1a1a;
    --text-light: #4b5563;
    --text-white: #ffffff;
    --border-color: #e5e7eb;

    /* Legacy support (mapped to vibrant colors) */
    --primary-yellow: var(--orange-vibrant);
    --dark-yellow: var(--orange-dark);
    --pale-orange: var(--orange-vibrant);
    --pale-orange-light: var(--orange-light);
    --pale-orange-dark: var(--orange-dark);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --spacing-huge: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /* Account for fixed header height */
}

/* ==============================================
   AGGRESSIVE PERFORMANCE OPTIMIZATIONS FOR MOBILE
   Targets low-end devices (1GB RAM phones)
   ============================================== */

/* Disable ALL expensive effects on mobile */
@media (max-width: 768px) {

    /* CRITICAL: Disable backdrop-filter completely - causes constant GPU repainting */
    *,
    *::before,
    *::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Disable ALL CSS animations on mobile for performance */
    .hero-background-overlay,
    .hero-title,
    .hero-card,
    .hero-brand-panel,
    .about-description,
    .mission-vision-description,
    .value-card,
    .faq-item,
    [class*="animate"] {
        animation: none !important;
        animation-delay: 0s !important;
        transition: opacity 0.2s ease, transform 0.2s ease !important;
    }

    /* Remove complex box shadows - use simple ones */
    .hero-card,
    .hero-brand-panel,
    .mission-vision-card,
    .contact-form-wrapper,
    .value-card,
    .about-text,
    .btn-primary {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* Disable parallax and transforms on mobile */
    .hero-slideshow,
    .hero-card,
    .btn-primary:hover {
        transform: none !important;
    }

    /* Hide overlay on mobile for clearer visuals */
    .hero-background-overlay {
        display: none !important;
    }

    /* Add slight blur to hero slide images on mobile */
    .hero-slide img,
    .hero-slide.active img {
        filter: blur(2px) !important;
        -webkit-filter: blur(2px) !important;
    }

    /* Disable hover effects on touch devices */
    .btn-primary:hover,
    .hero-card:hover,
    .value-card:hover,
    .mission-vision-card:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* SOLID WHITE BACKGROUND for hero card - clear readable text */
    .hero-card {
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
    }

    /* Make hero text fully opaque and clear */
    .hero-title,
    .hero-description,
    .hero-card * {
        opacity: 1 !important;
        filter: none !important;
        -webkit-filter: none !important;
        text-shadow: none !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }

    /* Ensure highlighted words stay green on mobile */
    .hero-card .text-highlight-orange,
    .hero-card .text-highlight-green {
        color: #005f2b !important;
    }

    .hero-card {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        border: 2px solid #22c55e !important;
    }

    /* Use simpler backgrounds */
    body {
        background:
            linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
            #f8fdf8 !important;
        background-size: 40px 40px, 40px 40px, auto !important;
        background-attachment: scroll !important;
    }

    body::before {
        display: none !important;
    }

    /* Optimize section backgrounds */
    .section:not(.section-light):not(.section-dark),
    .section-light {
        background: #ffffff !important;
        backdrop-filter: none !important;
    }

    /* Enable hardware acceleration for scrolling */
    .hero,
    .section,
    .container {
        will-change: auto;
        contain: layout style;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* JavaScript-detected low-end device - disable ALL heavy effects */
.low-end-device,
.low-end-device *,
.low-end-device *::before,
.low-end-device *::after {
    animation: none !important;
    animation-delay: 0s !important;
    transition-duration: 0.1s !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.low-end-device body {
    background: #f8fdf8 !important;
}

.low-end-device body::before {
    display: none !important;
}

.low-end-device .hero-slide img {
    filter: none !important;
}

.low-end-device .hero-card,
.low-end-device .mission-vision-card,
.low-end-device .value-card,
.low-end-device .contact-form-wrapper {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.3) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(254, 243, 199, 0.2) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    background-position: 0 0, 0 0, center, center, center;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background-color: var(--white);
    background-image: none;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    isolation: isolate;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-content > .theme-toggle-btn {
    flex-shrink: 0;
    margin-left: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 0;
    justify-content: flex-end;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-width: 94px;
    padding: 0.52rem 0.76rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.34);
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.98) 0%, rgba(220, 252, 231, 0.92) 100%);
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.14);
}

.theme-toggle-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(236, 253, 245, 1) 0%, rgba(187, 247, 208, 0.96) 100%);
    box-shadow: 0 12px 20px rgba(16, 185, 129, 0.22);
}

.theme-toggle-btn .theme-toggle-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.theme-toggle-btn .theme-toggle-icon svg {
    width: 14px;
    height: 14px;
}

.theme-toggle-btn .icon-sun {
    display: none;
}

.theme-toggle-btn .icon-moon {
    display: inline-flex;
}

html[data-theme="dark"] .theme-toggle-btn .icon-sun {
    display: inline-flex;
}

html[data-theme="dark"] .theme-toggle-btn .icon-moon {
    display: none;
}

.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    background: #22c55e;
    border: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: none;
}

.header-social:hover {
    color: #ffffff;
    transform: scale(1.06);
    background: #16a34a;
}

.header-social .social-text {
    display: none;
    /* Hide text on desktop */
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
    min-width: 0;
    flex: 1 1 auto;
}

.logo-icon {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

.logo-text-full {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text-short {
    display: none;
    font-weight: var(--font-weight-bold);
}

/* ==============================================
   Theme Modes
   ============================================== */
html[data-theme="dark"] {
    color-scheme: dark;
    --light-bg: #111827;
    --text-dark: #e5e7eb;
    --text-light: #94a3b8;
    --border-color: #334155;
}

html[data-theme="dark"] body {
    background: linear-gradient(135deg,
            rgba(2, 6, 23, 0.96) 0%,
            rgba(15, 23, 42, 0.96) 50%,
            rgba(17, 24, 39, 0.98) 100%);
    color: var(--text-dark);
}

html.low-end-device[data-theme="dark"] body {
    background: #0b1220 !important;
}

html[data-theme="dark"] body::before {
    background:
        linear-gradient(rgba(34, 197, 94, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.14) 1px, transparent 1px),
        radial-gradient(circle at 18% 26%, rgba(16, 185, 129, 0.18) 0%, transparent 48%),
        radial-gradient(circle at 82% 74%, rgba(251, 146, 60, 0.15) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4) 0%, transparent 70%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    background-position: 0 0, 0 0, center, center, center;
}

html[data-theme="dark"] .header {
    background: #07131f;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
}

html[data-theme="dark"] .logo-text {
    color: var(--text-dark);
}

html[data-theme="dark"] .header-social {
    color: #ffffff;
    background: #22c55e;
    border: none;
}

html[data-theme="dark"] .header-social:hover {
    color: #ffffff;
    background: #16a34a;
}

html[data-theme="dark"] .theme-toggle-btn {
    border-color: rgba(110, 231, 183, 0.24);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(18, 54, 45, 0.94) 100%);
    color: #ecfdf5;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .theme-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(21, 128, 61, 0.42) 100%);
}

html[data-theme="dark"] .theme-toggle-btn .theme-toggle-icon {
    color: #fbbf24;
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-careers,
html[data-theme="dark"] .card-cta,
html[data-theme="dark"] .service-submit-btn,
html[data-theme="dark"] .aoas-chat-lead-form button,
html[data-theme="dark"] .aoas-chat-input-form button,
html[data-theme="dark"] .aoas-chat-toggle {
    color: #f8fafc;
}

html[data-theme="dark"] .hero-background-overlay {
    background: linear-gradient(135deg,
            rgba(2, 6, 23, 0.72) 0%,
            rgba(15, 23, 42, 0.62) 44%,
            rgba(30, 41, 59, 0.7) 100%);
}

html[data-theme="dark"] .hero-slide img,
html[data-theme="dark"] .hero-slide.active img {
    filter: blur(2px) brightness(0.45) saturate(0.75);
    -webkit-filter: blur(2px) brightness(0.45) saturate(0.75);
}

html[data-theme="dark"] .hero-card {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.9) 0%,
            rgba(15, 23, 42, 0.86) 50%,
            rgba(2, 6, 23, 0.9) 100%);
    border-color: rgba(52, 211, 153, 0.42);
}

html[data-theme="dark"] .hero-card::before {
    background: linear-gradient(135deg,
            rgba(52, 211, 153, 0.08) 0%,
            rgba(59, 130, 246, 0.08) 100%);
}

html[data-theme="dark"] .hero-card:hover {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.94) 0%,
            rgba(2, 6, 23, 0.92) 100%);
    border-color: rgba(110, 231, 183, 0.72);
    box-shadow:
        0 28px 64px rgba(2, 6, 23, 0.6),
        0 8px 22px rgba(16, 185, 129, 0.2);
}

html[data-theme="dark"] .hero-brand-panel {
    background: linear-gradient(145deg,
            rgba(7, 17, 31, 0.9) 0%,
            rgba(10, 25, 43, 0.86) 48%,
            rgba(5, 12, 23, 0.96) 100%);
    border-color: rgba(110, 231, 183, 0.28);
    box-shadow:
        0 28px 66px rgba(2, 6, 23, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .hero-brand-panel::before {
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.22) 0%, transparent 46%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, transparent 56%);
}

html[data-theme="dark"] .hero-brand-logo-wrap {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 232, 240, 0.94) 100%);
}

html[data-theme="dark"] .hero-title {
    color: #f8fafc;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .hero-description {
    color: #d1d5db;
}

html[data-theme="dark"] .hero-card .text-green,
html[data-theme="dark"] .hero-card .text-orange,
html[data-theme="dark"] .hero-card .text-highlight-orange,
html[data-theme="dark"] .hero-card .text-highlight-green {
    color: #34d399;
}

html[data-theme="dark"] .hero-card .text-highlight-blue {
    color: #f8fafc;
}

html[data-theme="dark"] .section:not(.section-light):not(.section-dark),
html[data-theme="dark"] .section-light {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.78) 0%,
            rgba(15, 23, 42, 0.64) 52%,
            rgba(2, 6, 23, 0.78) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html[data-theme="dark"] .section:not(.section-light):not(.section-dark)::before,
html[data-theme="dark"] .section-light::before {
    background:
        linear-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 15% 25%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(251, 146, 60, 0.14) 0%, transparent 45%);
    background-size: 48px 48px, 48px 48px, auto, auto;
}

html[data-theme="dark"] .core-values-section {
    background: linear-gradient(135deg,
            rgba(6, 19, 25, 0.94) 0%,
            rgba(7, 19, 31, 0.96) 55%,
            rgba(9, 27, 38, 0.95) 100%) !important;
}

html[data-theme="dark"] .core-values-section::before {
    background:
        linear-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.08) 1px, transparent 1px) !important;
    background-size: 48px 48px, 48px 48px !important;
    background-position: 0 0, 0 0 !important;
}

html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .about-text,
html[data-theme="dark"] .mission-vision-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .contact-form-wrapper,
html[data-theme="dark"] .service-card-home,
html[data-theme="dark"] .services-page-card,
html[data-theme="dark"] .service-detail-card,
html[data-theme="dark"] .service-aside-card,
html[data-theme="dark"] .service-inquiry-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .insights-table-wrap,
html[data-theme="dark"] .policy-page article,
html[data-theme="dark"] .overview,
html[data-theme="dark"] .overview-item,
html[data-theme="dark"] .section-block,
html[data-theme="dark"] .form-container,
html[data-theme="dark"] .careers-form-wrapper {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.26);
    color: var(--text-dark);
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .about-text {
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 20px 52px rgba(2, 6, 23, 0.5);
}

html[data-theme="dark"] .about-description {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(30, 41, 59, 0.8) 100%);
    color: #e5e7eb;
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .about-description:nth-child(2) {
    border-color: rgba(251, 146, 60, 0.78);
}

html[data-theme="dark"] .about-description:hover {
    border-color: #fdba74;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .about-description strong {
    color: #34d399;
}

html[data-theme="dark"] .service-card-home p,
html[data-theme="dark"] .services-page-card p,
html[data-theme="dark"] .service-detail-card p,
html[data-theme="dark"] .service-aside-card p,
html[data-theme="dark"] .service-detail-card ul,
html[data-theme="dark"] .service-aside-card ul,
html[data-theme="dark"] .service-inquiry-card p,
html[data-theme="dark"] .section-description,
html[data-theme="dark"] .form-hint,
html[data-theme="dark"] .contact-form .privacy-note,
html[data-theme="dark"] .footer-text,
html[data-theme="dark"] .metric-card h3,
html[data-theme="dark"] #metricsStatus {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .service-card-home h3 {
    color: #6ee7b7 !important;
}

html[data-theme="dark"] .hero-subtitle,
html[data-theme="dark"] .about-description,
html[data-theme="dark"] .mission-vision-description,
html[data-theme="dark"] .mission-vision-list li,
html[data-theme="dark"] .faq-answer,
html[data-theme="dark"] .service-inquiry-form label,
html[data-theme="dark"] .form-group label,
html[data-theme="dark"] .contact-form .form-group label {
    color: #d1d5db;
}

html[data-theme="dark"] .services-page-card h3,
html[data-theme="dark"] .service-detail-card h2,
html[data-theme="dark"] .service-aside-card h3,
html[data-theme="dark"] .service-inquiry-card h3,
html[data-theme="dark"] .metric-card p,
html[data-theme="dark"] .policy-page h2,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-title-center {
    color: #6ee7b7;
}

html[data-theme="dark"] #why-us .section-title-left {
    color: #f8fafc;
}

html[data-theme="dark"] #why-us .why-list li {
    background: linear-gradient(135deg, rgba(13, 31, 26, 0.96) 0%, rgba(20, 52, 43, 0.9) 100%);
    border-color: rgba(52, 211, 153, 0.22);
    color: #ecfdf5;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] #why-us .why-list li:hover {
    color: #d1fae5;
    border-color: rgba(110, 231, 183, 0.42);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] #why-us .why-list li::before {
    color: #4ade80;
}

html[data-theme="dark"] #why-us .why-image-carousel-wrapper {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(17, 48, 39, 0.92) 100%);
    border-color: rgba(52, 211, 153, 0.24);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
}

html[data-theme="dark"] .pill-btn {
    border-color: #34d399;
    color: #6ee7b7;
    background: rgba(15, 23, 42, 0.94);
}

html[data-theme="dark"] .pill-btn.primary {
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    color: #f8fafc;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .careers-form input[type="text"],
html[data-theme="dark"] .careers-form input[type="email"],
html[data-theme="dark"] .careers-form input[type="tel"],
html[data-theme="dark"] .careers-form input[type="url"],
html[data-theme="dark"] .careers-form textarea,
html[data-theme="dark"] .service-inquiry-form input,
html[data-theme="dark"] .service-inquiry-form textarea,
html[data-theme="dark"] .service-inquiry-form select,
html[data-theme="dark"] .aoas-chat-lead-form input,
html[data-theme="dark"] .aoas-chat-lead-form textarea,
html[data-theme="dark"] .aoas-chat-lead-form select,
html[data-theme="dark"] .aoas-chat-input-form input {
    background: #0b1220;
    color: #e5e7eb;
    border-color: #334155;
}

html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder,
html[data-theme="dark"] .service-inquiry-form input::placeholder,
html[data-theme="dark"] .service-inquiry-form textarea::placeholder,
html[data-theme="dark"] .aoas-chat-input-form input::placeholder,
html[data-theme="dark"] .careers-form textarea::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus,
html[data-theme="dark"] .contact-form select:focus,
html[data-theme="dark"] .service-inquiry-form input:focus,
html[data-theme="dark"] .service-inquiry-form textarea:focus,
html[data-theme="dark"] .service-inquiry-form select:focus,
html[data-theme="dark"] .careers-form input:focus,
html[data-theme="dark"] .careers-form textarea:focus,
html[data-theme="dark"] .aoas-chat-lead-form input:focus,
html[data-theme="dark"] .aoas-chat-lead-form textarea:focus,
html[data-theme="dark"] .aoas-chat-lead-form select:focus,
html[data-theme="dark"] .aoas-chat-input-form input:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

html[data-theme="dark"] .aoas-chat-panel {
    background: #0f172a;
    border-color: #334155;
}

html[data-theme="dark"] .aoas-chat-body {
    background: #0b1220;
}

html[data-theme="dark"] .aoas-chat-message.bot {
    background: #123a2f;
    color: #d1fae5;
}

html[data-theme="dark"] .aoas-chat-message.user {
    background: #1e3a8a;
    color: #dbeafe;
}

html[data-theme="dark"] .aoas-chat-actions,
html[data-theme="dark"] .aoas-chat-input-form,
html[data-theme="dark"] .aoas-chat-lead-form {
    background: #0f172a;
    border-color: #334155;
}

html[data-theme="dark"] .aoas-chat-lead-form h4,
html[data-theme="dark"] .aoas-chat-lead-form label,
html[data-theme="dark"] .aoas-chat-consent {
    color: #d1d5db;
}

html[data-theme="dark"] .aoas-chat-mini-btn {
    border-color: #475569;
    background: #1e293b;
    color: #e2e8f0;
}

html[data-theme="dark"] .aoas-chat-mini-btn:hover {
    background: #334155;
}

html[data-theme="dark"] .aoas-chat-chip {
    border-color: #334155;
    background: #111827;
    color: #cbd5e1;
}

html[data-theme="dark"] .aoas-chat-chip:hover {
    background: #1f2937;
}

html[data-theme="dark"] .insights-table th,
html[data-theme="dark"] .insights-table td {
    border-bottom-color: #334155;
    color: #d1d5db;
}

html[data-theme="dark"] .insights-table thead th {
    background: rgba(15, 23, 42, 0.8);
}

@media (max-width: 768px) {
    html[data-theme="dark"] body,
    html.low-end-device[data-theme="dark"] body {
        background:
            linear-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(34, 197, 94, 0.08) 1px, transparent 1px),
            #0b1220 !important;
        background-size: 40px 40px, 40px 40px, auto !important;
        background-attachment: scroll !important;
    }

    html[data-theme="dark"] .section:not(.section-light):not(.section-dark),
    html[data-theme="dark"] .section-light {
        background: #0f172a !important;
    }

    html[data-theme="dark"] .hero-card {
        background: #0f172a !important;
        border-color: #334155 !important;
    }

    html[data-theme="dark"] .hero-title {
        color: #f8fafc !important;
    }

    html[data-theme="dark"] .hero-description {
        color: #d1d5db !important;
    }
}

@media (max-width: 768px) {
    .logo-text-full {
        display: none;
    }

    .logo-text-short {
        display: inline;
        font-size: 1.08rem;
        font-weight: var(--font-weight-extrabold);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: #22c55e;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 20px rgba(34, 197, 94, 0.26),
        0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    display: none;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 26px rgba(22, 163, 74, 0.28),
        0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

/* Hero Section - Revamped */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f5e9 50%, #f1f8e9 100%);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    z-index: 0;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.hero-slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: var(--light-bg);
    filter: blur(2px);
    -webkit-filter: blur(2px);
    transition: filter 0.5s ease;
}

.hero-slide.active img {
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(34, 197, 94, 0.1) 0%,
            rgba(255, 255, 255, 0.45) 40%,
            rgba(251, 146, 60, 0.08) 100%);
    z-index: 1;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background: linear-gradient(135deg,
                rgba(34, 197, 94, 0.1) 0%,
                rgba(255, 255, 255, 0.45) 40%,
                rgba(251, 146, 60, 0.08) 100%);
    }

    50% {
        background: linear-gradient(135deg,
                rgba(251, 146, 60, 0.08) 0%,
                rgba(255, 255, 255, 0.45) 40%,
                rgba(34, 197, 94, 0.1) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-md);
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(220px, 1fr);
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 5rem);
    transform: translateY(-18px);
}

.hero-brand-panel {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
    max-width: none;
    padding: 1rem;
    border-radius: 30px;
    background: linear-gradient(145deg,
            rgba(9, 17, 32, 0.84) 0%,
            rgba(11, 18, 32, 0.78) 52%,
            rgba(6, 13, 24, 0.92) 100%);
    border: 1px solid rgba(52, 211, 153, 0.22);
    box-shadow:
        0 24px 60px rgba(2, 6, 23, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    animation: heroBrandReveal 0.9s ease-out 0.5s both;
}

.hero-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.18) 0%, transparent 44%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, transparent 54%);
    pointer-events: none;
}

.hero-brand-panel>* {
    position: relative;
    z-index: 1;
}

.hero-brand-logo-wrap {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 0.85rem;
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 232, 240, 0.92) 100%);
    box-shadow:
        0 14px 34px rgba(2, 6, 23, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes heroBrandReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-brand-panel {
        animation: none;
    }
}

.hero-card {
    max-width: 650px;
    background: #ffffff;
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 2px solid #22c55e;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removed floating animation to prevent text flickering */
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(34, 197, 94, 0.04) 0%,
            rgba(255, 109, 31, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-card>* {
    position: relative;
    z-index: 1;
}

/* Removed cardFloat animation to prevent text flickering */

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 35px 100px rgba(34, 197, 94, 0.2),
        0 15px 40px rgba(255, 109, 31, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: #16a34a;
    background: #ffffff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: #1a1a1a;
    text-shadow: none;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1a1a1a;
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-medium);
    opacity: 1;
    min-height: 200px;
    /* Prevent layout shift during typing */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-green {
    color: #005f2b;
    font-weight: var(--font-weight-semibold);
}

.text-orange {
    color: #005f2b;
    font-weight: var(--font-weight-semibold);
}

.text-highlight-orange {
    color: #005f2b;
    font-weight: var(--font-weight-extrabold);
}

.text-highlight-blue {
    color: #080808;
    font-weight: var(--font-weight-extrabold);
}

.text-highlight-green {
    color: #005f2b;
    font-weight: var(--font-weight-extrabold);
}

/* Section Styles */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.section:not(.section-light):not(.section-dark) {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(240, 253, 244, 0.3) 50%,
            rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section:not(.section-light):not(.section-dark)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 15% 25%, rgba(34, 197, 94, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(251, 146, 60, 0.06) 0%, transparent 45%);
    background-size: 48px 48px, 48px 48px, auto, auto;
    pointer-events: none;
    z-index: 0;
}

.header-actions .btn-primary {
    background: #22c55e;
    box-shadow: none;
    border: none;
}

.header-actions .btn-primary:hover {
    background: #16a34a;
    box-shadow: none;
}

html[data-theme="dark"] .header-actions .btn-primary {
    background: #22c55e;
    box-shadow: none;
}

html[data-theme="dark"] .header-actions .btn-primary:hover {
    background: #16a34a;
}

.section:not(.section-light):not(.section-dark)>* {
    position: relative;
    z-index: 1;
}

/* About Us Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.08), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl);
    border-radius: 28px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 253, 244, 0.78) 45%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.about-text::before,
.about-text::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.about-text::before {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
    top: -40px;
    right: -40px;
}

.about-text::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.12), transparent 70%);
    bottom: -50px;
    left: -60px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: justify;
    opacity: 0;
    transform: translateY(30px);
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(240, 253, 244, 0.3) 100%);
    border-radius: 16px;
    border: 2px solid #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.08);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .about-text {
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .about-description {
        padding: var(--spacing-sm) var(--spacing-md);
        text-align: left;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: var(--spacing-md);
        border-radius: 20px;
    }

    .about-description {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
}

.about-description:hover {
    transform: translateX(5px) translateY(0);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.12);
    border-color: #fb923c;
}

.about-description:nth-child(2) {
    border-color: #fb923c;
}

.about-description:nth-child(3) {
    border-color: #22c55e;
}

.about-description strong {
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
    position: relative;
    display: inline-block;
}

.about-description.animate-in strong {
    animation: highlightPulse 0.6s ease-out 0.3s both;
}

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

    50% {
        transform: scale(1.05);
    }

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

/* About section header animations */
#about .section-label {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#about .section-label.animate-in {
    opacity: 1;
    transform: translateX(0);
}

#about .section-title {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

#about .section-title.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-light {
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.4) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(254, 243, 199, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(15, 118, 110, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(251, 146, 60, 0.08) 0%, transparent 40%);
    background-size: 48px 48px, 48px 48px, auto, auto;
    pointer-events: none;
    z-index: 0;
}

.section-light>* {
    position: relative;
    z-index: 1;
}

.section-dark {
    background: linear-gradient(135deg,

            var(--green-dark) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    position: relative;
    padding-left: var(--spacing-md);
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--orange-vibrant) 100%);
    border-radius: 2px;
}

.section-label-white {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.15rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 1.25rem 0.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.section-label-white::before {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--orange-vibrant) 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    color: var(--text-dark);
    max-width: 800px;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

/* Mission/Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    visibility: visible;
    opacity: 1;
}

.mission-vision-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 24px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
    border: 2px solid #d1d5db;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.mission-vision-card:nth-child(1) {
    border: 2px solid #22c55e;
}

.mission-vision-card:nth-child(2) {
    border: 2px solid #fb923c;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15), transparent 65%);
    top: -60px;
    right: -60px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.mission-vision-card:nth-child(2)::before {
    background: radial-gradient(circle, rgba(251, 146, 60, 0.2), transparent 65%);
}

.mission-vision-card:hover::before {
    left: 100%;
}

.mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.mission-vision-head {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.mission-vision-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
}

.mission-vision-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 18px;
    padding: var(--spacing-xs);
}

.mission-vision-card:nth-child(2) .mission-vision-icon {
    background: rgba(251, 146, 60, 0.1);
}

.mission-vision-card:hover .mission-vision-icon {
    transform: translateY(-4px);
}

.mission-vision-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
    font-weight: var(--font-weight-semibold);
}

.mission-vision-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-green);
}

.mission-vision-pill.vision {
    background: rgba(251, 146, 60, 0.2);
    color: var(--orange-dark);
}

.mission-vision-pill.vision::before {
    background: var(--orange-vibrant);
}

.mission-vision-title {
    font-size: 1.35rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.12;
    letter-spacing: 0.5px;
}

.mission-vision-description {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: left;
    min-height: 3.6em;
    /* Prevent layout shift during typing animation */
}

.mission-vision-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin-top: var(--spacing-md);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mission-vision-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-vision-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-green);
}

.mission-vision-card:nth-child(2) .mission-vision-list li::before {
    background: var(--orange-vibrant);
}

.card {
    background: linear-gradient(135deg, var(--white) 0%, #f9fafb 100%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(34, 197, 94, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-green);
    border-left: 2px solid rgba(34, 197, 94, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(34, 197, 94, 0.05),
            transparent);
    transition: left 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(34, 197, 94, 0.2),
        0 6px 15px rgba(251, 146, 60, 0.15);
    border-top-color: var(--orange-vibrant);
    border-left-color: rgba(251, 146, 60, 0.3);
}

.card-icon {
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.card-description strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    visibility: visible;
    opacity: 1;
}

.core-values-section {
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.4) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(254, 243, 199, 0.3) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    isolation: isolate;
}

.core-values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(15, 118, 110, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px;
    background-position: 0 0, 0 0;
    pointer-events: none;
    z-index: 0;
    transform-origin: center center;
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f7fdf9 100%);
    border: 2px solid #bfe7d2;
    border-left: 4px solid #22c55e;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.value-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--green-vibrant) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin: 0 auto var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.value-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: #8fd4b2;
    border-left-color: #16a34a;
}

.value-card:hover .value-badge {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--green-light) 100%);
}

.value-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    white-space: nowrap;
}

.value-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
}

/* Partners Section */
.partners-carousel-wrapper {
    overflow: hidden;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.partners-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.partners-carousel {
    display: flex;
    gap: 0.5rem;
    width: max-content;
    animation: partners-scroll var(--partners-loop-duration, 30s) linear infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 10px;
}

.partner-placeholder {
    font-weight: var(--font-weight-semibold);
    color: var(--text-light);
    text-align: center;
    font-size: 0.9rem;
}

.partner-logo img {
    max-width: 190px;
    max-height: 110px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--partners-loop-distance, 50%)));
    }
}

.partners-featured {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.partner-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background-color: #6039a0;
    border-radius: 12px;
    min-width: 200px;
    min-height: 100px;
}

.partner-placeholder-large {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    text-transform: lowercase;
}

.partner-logo-large img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Why Choose Us Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-md);
}

.why-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.why-list li {
    position: relative;
    padding: 14px 18px 14px 52px;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 244, 0.84) 100%);
    border: 1px solid rgba(167, 243, 208, 0.62);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 67, 46, 0.08);
}

.why-list li {
    transition: all 0.3s ease;
}

.why-list li:hover {
    transform: translateX(5px) translateY(-2px);
    color: #065f46;
    border-color: rgba(52, 211, 153, 0.75);
    box-shadow: 0 18px 32px rgba(16, 185, 129, 0.15);
}

.why-list li::before {
    content: '\2713';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
}

.why-list li:hover::before {
    color: #22c55e;
    transform: translateY(-50%) scale(1.05);
}

.why-image-carousel-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(15, 67, 46, 0.14);
    height: 500px;
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.85) 0%, rgba(236, 253, 245, 0.95) 100%);
    border: 1px solid rgba(167, 243, 208, 0.72);
}

.why-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.why-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.why-image-slide.active {
    opacity: 1;
}

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

/* FAQ Section */
.faq-header {
    margin-bottom: var(--spacing-xl);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 253, 244, 0.5) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid #22c55e;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
    border-color: #16a34a;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-question:hover::before {
    opacity: 1;
}

.faq-icon {
    font-size: 1rem;
    transition: transform 0.2s ease-out;
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
    border-color: #16a34a;
    background: rgba(255, 255, 255, 0.98);
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.25s ease-out, opacity 0.2s ease-out;
    opacity: 0;
}

.faq-answer>div,
.faq-answer>p {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* FAQ Mobile Optimization */
@media (max-width: 768px) {
    .faq-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .faq-list:first-child .faq-item:last-child {
        margin-bottom: 0;
    }

    .faq-list+.faq-list {
        margin-top: -2px;
    }

    .faq-item {
        border-radius: 10px;
        transition: none;
    }

    .faq-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .faq-question {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.85rem;
    }

    .faq-question::before {
        display: none;
    }

    .faq-icon {
        font-size: 0.85rem;
        min-width: 20px;
    }

    .faq-answer {
        transition: grid-template-rows 0.2s ease-out, opacity 0.15s ease-out;
    }

    .faq-answer p {
        padding: 0 var(--spacing-md) var(--spacing-sm);
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .faq-header {
        margin-bottom: var(--spacing-md);
    }

    .section-title-left {
        font-size: 1.75rem;
    }
}

/* Feedback Section */
.feedback-placeholder {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-light);
}

.feedback-slider {
    max-width: 920px;
    margin: 0 auto;
}

.feedback-card {
    flex: 0 0 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
    border: 1px solid #cfe8dd;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(10, 75, 53, 0.08);
    opacity: 0.45;
    transform: scale(0.97);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        box-shadow 0.45s ease;
    min-height: 220px;
}

.feedback-card.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 14px 30px rgba(10, 75, 53, 0.15);
}

.feedback-viewport {
    overflow: hidden;
    border-radius: 14px;
}

.feedback-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1);
    will-change: transform;
}

.feedback-head {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feedback-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e4f6ee;
    color: #0b5d44;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b8ddcd;
}

.feedback-avatar svg {
    width: 24px;
    height: 24px;
}

.feedback-meta {
    min-width: 0;
}

.feedback-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    line-height: 1.25;
}

.feedback-service {
    margin: 2px 0 0;
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    color: #0b5d44;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.feedback-stars {
    margin: 0;
    color: #ff8a00;
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.feedback-text {
    margin: 0;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.65;
}

.feedback-controls {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.feedback-control {
    border: 1px solid #b8ddcd;
    background: #ffffff;
    color: #0b5d44;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.feedback-control:hover {
    background: #0b5d44;
    border-color: #0b5d44;
    color: #ffffff;
}

.feedback-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.feedback-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: #bddfce;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.feedback-dot.active {
    width: 22px;
    background: #0b5d44;
}

@media (max-width: 768px) {
    .feedback-slider {
        max-width: 100%;
    }

    .feedback-card {
        padding: 14px;
        min-height: 240px;
    }

    .feedback-head {
        grid-template-columns: 38px 1fr;
    }

    .feedback-stars {
        grid-column: 1 / -1;
        margin-top: 2px;
    }

    .feedback-controls {
        gap: 9px;
    }

    .feedback-control {
        padding: 7px 12px;
        font-size: 0.75rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--spacing-lg);
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: var(--spacing-lg);
    gap: var(--spacing-sm);
}

.contact-title {
    font-size: 2.1rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin-bottom: 0.65rem;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.45),
        0 6px 24px rgba(0, 0, 0, 0.25);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-subtitle {
    font-size: 0.99rem;
    color: var(--white);
    opacity: 0.95;
    line-height: 1.52;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    font-weight: var(--font-weight-medium);
}

.contact-form-wrapper {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.92) 50%,
            rgba(255, 255, 255, 0.94) 100%);
    padding: 16px 18px;
    border-radius: 16px;
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1.5px solid #047537;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 10px 25px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin-left: auto;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(34, 197, 94, 0.08) 0%,
            rgba(251, 146, 60, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-wrapper>* {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.32rem;
    font-size: 0.84rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    text-shadow: none;
}

.required {
    font-weight: var(--font-weight-semibold);
    font-size: 0.85rem;
    color: var(--orange-vibrant);
    opacity: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.78rem 0.94rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1.5px solid #037062;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.2),
        0 8px 24px rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 88px;
}

/* Footer */
.footer {
    background: linear-gradient(150deg, #0f172a 0%, #1e293b 62%, #334155 100%);
    color: #e2e8f0;
    padding: 24px 0 18px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(34, 197, 94, 0.35);
}

.footer::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-green) 0%,
            #FF6D1F 50%,
            var(--primary-green) 100%);
    animation: footerLine 3s linear infinite;
}

@keyframes footerLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.footer-content {
    margin-bottom: 14px;
}

.footer-about {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.footer-description {
    font-size: 0.92rem;
    line-height: 1.62;
    max-width: 860px;
    color: rgba(226, 232, 240, 0.95);
    opacity: 1;
    transform: translateY(0);
}

.footer-description.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.footer-description strong {
    font-weight: var(--font-weight-bold);
    color: #ffffff;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
    align-items: stretch;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    opacity: 1;
    transform: translateY(0);
}

.footer-column.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-column:last-child {
    align-items: flex-start;
    text-align: left;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.7px;
    margin-bottom: 5px;
    color: #86efac;
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 0.88rem;
    line-height: 1.48;
    color: rgba(226, 232, 240, 0.96);
}

.footer-line,
.footer-indent-line {
    display: block;
    margin-left: 0;
    padding-left: 0;
}

.footer-address-text {
    white-space: normal;
}

@media (min-width: 1100px) {
    .footer-info-grid {
        grid-template-columns: minmax(240px, 1.18fr) repeat(3, minmax(0, 1fr));
    }
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    justify-content: flex-start;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    background: #0d8f68;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 143, 104, 0.32);
    border-color: #10b981;
}

.social-link svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.social-link:hover svg {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 12px;
    margin-top: 12px;
}

.footer-service-shortcuts {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-shortcuts-label {
    color: rgba(226, 232, 240, 0.94);
    font-size: 0.82rem;
    font-weight: var(--font-weight-semibold);
    margin-right: 2px;
}

.footer-service-shortcuts a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: var(--font-weight-semibold);
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 999px;
    padding: 5px 9px;
    transition: all 0.25s ease;
}

.footer-service-shortcuts a:hover {
    background: rgba(16, 185, 129, 0.16);
    color: #bbf7d0;
    border-color: #10b981;
}

.footer-au-coverage {
    margin-top: 12px;
    padding: 12px 14px 12px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-left: 4px solid #22c55e;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-au-label {
    margin: 0 0 6px;
    color: #86efac;
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 2.2px;
}

.footer-au-title {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 1.9rem;
    line-height: 1.18;
    font-weight: var(--font-weight-bold);
}

.footer-au-text {
    margin: 0;
    color: rgba(226, 232, 240, 0.96);
    font-size: 1.1rem;
    line-height: 1.55;
}

.footer-au-text a {
    color: #d8b4fe;
}

.footer-au-text a:hover {
    color: #e9d5ff;
}

.footer-nav {
    opacity: 1;
    transform: translateY(0);
}

.footer-nav.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out 0.8s, transform 0.6s ease-out 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    flex-wrap: wrap;
    opacity: 1;
    transform: translateY(0);
}

.footer-nav.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out 0.8s, transform 0.6s ease-out 0.8s;
}

.footer-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s ease;
    position: relative;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    background: transparent;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-nav a:hover {
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.45);
    transform: none;
}

.footer-nav a:hover::after {
    width: 0;
}

.footer-nav .separator {
    display: none;
}

@media (max-width: 768px) {
    .footer-service-shortcuts {
        padding: 10px;
        gap: 6px;
    }

    .footer-shortcuts-label {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .footer-service-shortcuts a {
        font-size: 0.76rem;
        padding: 5px 9px;
    }

    .footer-au-coverage {
        margin-top: 9px;
        padding: 10px 11px 10px 12px;
        border-radius: 10px;
    }

    .footer-au-label {
        font-size: 0.72rem;
        margin-bottom: 5px;
        letter-spacing: 1.8px;
    }

    .footer-au-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .footer-au-text {
        font-size: 0.92rem;
        line-height: 1.45;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title-center,
    .section-title-left {
        font-size: 2rem;
    }

    .why-grid {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-title {
        font-size: 2rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .logo {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
    }

    .logo-icon {
        height: 2rem;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 1.02rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: var(--font-weight-extrabold);
    }

    .logo-text-short {
        font-size: 1.14rem;
        font-weight: var(--font-weight-extrabold);
    }

    .header-actions {
        flex-direction: row;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .header-content > .theme-toggle-btn {
        order: 2;
        margin-left: auto;
        min-width: 38px;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 12px;
        gap: 0;
    }

    .header-content > .theme-toggle-btn .theme-toggle-text {
        display: none;
    }

    .header-content > .theme-toggle-btn .theme-toggle-icon {
        width: 20px;
        height: 20px;
    }

    .header-content > .theme-toggle-btn .theme-toggle-icon svg {
        width: 20px;
        height: 20px;
    }

    .header-actions .btn {
        padding: 0.5rem 0.72rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .header-social {
        width: 40px;
        height: 40px;
    }

    .header-social svg {
        width: 22px;
        height: 22px;
    }

    .hamburger-menu {
        order: 3;
    }

    .hero {
        min-height: 500px;
        padding-top: 0;
    }

    .hero-slideshow {
        height: 100%;
        min-height: 450px;
        top: 0;
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: var(--spacing-md);
        transform: none;
    }

    .hero-card {
        padding: var(--spacing-lg);
        max-width: 100%;
        border-radius: 16px;
    }

    .hero-brand-panel {
        justify-self: center;
        max-width: none;
        padding: 0.9rem;
        border-radius: 24px;
    }

    .hero-brand-logo-wrap {
        width: 96px;
        height: 96px;
        border-radius: 24px;
        padding: 0.72rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title-center,
    .section-title-left {
        font-size: 1.75rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .partners-carousel-wrapper {
        overflow-x: auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .why-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        max-width: 100%;
    }

    .contact-info {
        padding-right: 0;
        text-align: left;
    }

    .contact-title {
        font-size: 1.9rem;
    }

    .contact-form-wrapper {
        margin: 0 auto;
        padding: var(--spacing-lg);
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

    .mission-vision-card {
        padding: var(--spacing-lg);
    }

    .mission-vision-title {
        font-size: 1.35rem;
    }

    /* Reduce gaps between sections on mobile */
    .section {
        padding: 8px 0;
    }

    .section-title-center {
        margin-bottom: 8px;
    }

    .values-grid {
        margin-top: 8px;
        gap: 8px;
    }

    .partners-carousel-wrapper {
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .why-grid {
        margin-top: 8px;
    }

    /* Reduce mission/about section bottom margin */
    .about-text {
        margin-bottom: 0;
    }

    .mission-vision-card {
        margin-bottom: 8px;
    }

    /* Drastically reduce partner logo container height */
    .partner-logo {
        min-height: 100px;
        min-width: 150px;
        padding: 4px;
    }

    .partner-logo img {
        max-height: 150px;
    }

    /* Pull sections closer together */
    #partners {
        padding: 4px 0;
        margin-top: -8px;
    }

    #partners .section-title-center {
        margin-bottom: 4px;
    }

    /* Reduce gap before Why Choose Us */
    .section:has(.why-grid) {
        padding-top: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .header {
        padding: 0.6rem 0;
    }

    .header-content {
        gap: 0.4rem;
    }

    .logo-icon {
        height: 1.8rem;
    }

    .logo-text {
        font-size: 0.96rem;
    }

    .logo-text-short {
        font-size: 1.02rem;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .header-content > .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }

    .header-actions .btn {
        padding: 0.46rem 0.62rem;
        font-size: 0.68rem;
    }

    .header-social {
        width: 36px;
        height: 36px;
    }

    .header-social svg {
        width: 20px;
        height: 20px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-slideshow {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-card {
        padding: var(--spacing-md);
        border-radius: 12px;
    }

    .hero-brand-panel {
        max-width: none;
        padding: 0.8rem;
        border-radius: 20px;
    }

    .hero-brand-logo-wrap {
        width: 82px;
        height: 82px;
        border-radius: 22px;
        padding: 0.58rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title-center,
    .section-title-left {
        font-size: 1.5rem;
    }

    .partner-logo {
        min-width: 150px;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }

    .value-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* iPhone SE specific styles (375px width) */
@media (max-width: 375px) {
    .header {
        padding: 0.35rem 0;
    }

    .logo-text {
        font-size: 0.6rem;
        max-width: 120px;
    }

    .logo-text-short {
        font-size: 0.82rem;
    }

    .footer-text {
        font-size: 0.78rem;
        line-height: 1.34;
    }

    .footer-indent-line {
        margin-left: 0;
    }

    .header-actions .btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.6rem;
    }

    .header-actions .btn-secondary {
        display: none;
        /* Hide "ABOUT US" on very small screens to save space */
    }

    .header-social {
        width: 26px;
        height: 26px;
    }
}

/* Scroll Animations - WordPress-like micro animations */
@keyframes coreValuesGridWave {
    0% {
        transform: translate3d(0, 0, 0) skewY(0deg);
    }

    25% {
        transform: translate3d(-0.8%, 0.35%, 0) skewY(-0.35deg);
    }

    50% {
        transform: translate3d(0.9%, -0.3%, 0) skewY(0.35deg);
    }

    75% {
        transform: translate3d(-0.6%, 0.2%, 0) skewY(-0.2deg);
    }

    100% {
        transform: translate3d(0, 0, 0) skewY(0deg);
    }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    html:not(.low-end-device) .core-values-section::before {
        animation: coreValuesGridWave 15s ease-in-out infinite;
        will-change: transform;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .animate-in {
        animation: fadeInUpScale 0.8s ease-out forwards;
    }

    @keyframes fadeInUpScale {
        from {
            opacity: 0;
            transform: translateY(40px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Staggered animation for list items */
    .why-list li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .why-list li.animate-in {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Custom Modal System */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.custom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(240, 253, 244, 0.95) 100%);
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    max-width: 340px;
    width: 85%;
    max-height: 90vh;
    overflow: hidden;
    border: 2px solid rgba(34, 197, 94, 0.2);
    animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    margin: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg,
            var(--primary-green) 0%,
            var(--green-vibrant) 100%);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(251, 146, 60, 0.1) 0%,
            transparent 100%);
    pointer-events: none;
}

.modal-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.3px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-body {
    padding: 1.25rem 1rem;
    color: var(--text-dark);
}

.modal-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    white-space: pre-line;
}

.modal-footer {
    padding: 0.75rem 1rem 1rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(240, 253, 244, 0.3);
}

.modal-button {
    background: linear-gradient(135deg,
            var(--primary-green) 0%,
            var(--green-vibrant) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(34, 197, 94, 0.3),
        0 2px 6px rgba(34, 197, 94, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.modal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(34, 197, 94, 0.4),
        0 4px 12px rgba(34, 197, 94, 0.3);
}

.modal-button:hover::before {
    left: 100%;
}

.modal-button:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(34, 197, 94, 0.3),
        0 1px 4px rgba(34, 197, 94, 0.2);
}

/* Error Modal Variant */
.custom-modal.error .modal-header {
    background: linear-gradient(135deg,
            var(--orange-vibrant) 0%,
            var(--orange-dark) 100%);
}

.custom-modal.error .modal-button {
    background: linear-gradient(135deg,
            var(--orange-vibrant) 0%,
            var(--orange-dark) 100%);
    box-shadow:
        0 4px 12px rgba(251, 146, 60, 0.3),
        0 2px 6px rgba(251, 146, 60, 0.2);
}

.custom-modal.error .modal-button:hover {
    box-shadow:
        0 6px 20px rgba(251, 146, 60, 0.4),
        0 4px 12px rgba(251, 146, 60, 0.3);
}

/* Success Modal Variant */
.custom-modal.success .modal-header {
    background: linear-gradient(135deg,
            var(--primary-green) 0%,
            var(--green-vibrant) 100%);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 90%;
        max-width: 320px;
        margin: auto;
    }

    .modal-title {
        font-size: 1rem;
    }

    .modal-message {
        font-size: 0.9rem;
    }

    .modal-button {
        padding: 0.65rem 1.75rem;
        font-size: 0.85rem;
    }
}

/* Careers Button */
.btn-careers {
    background: linear-gradient(135deg, var(--orange-vibrant) 0%, var(--orange-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(251, 146, 60, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.6s;
}

.btn-careers:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-vibrant) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(251, 146, 60, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-careers:hover::before {
    left: 100%;
}

.btn-careers:active {
    transform: translateY(-2px) scale(1.03);
}

/* Careers Hero Section */
.careers-hero {
    background: linear-gradient(135deg,
            #5B9DD9 0%,
            #4A8BC2 15%,
            #3A7AB0 35%,
            #2E6BA0 60%,
            #235C8F 85%,
            #1B4D7E 100%);
    padding: var(--spacing-huge) 0 var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.careers-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.careers-hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.careers-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    font-weight: var(--font-weight-medium);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Careers Form Wrapper */
.careers-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.careers-form-header {
    margin-bottom: var(--spacing-xl);
}

.careers-form-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 0;
}

/* Careers Form Styles */
.careers-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.careers-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.careers-form .field-label {
    display: block;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.careers-form input[type="text"],
.careers-form input[type="email"],
.careers-form input[type="tel"],
.careers-form input[type="url"],
.careers-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-family);
    font-size: 1rem;
    border: 1px solid #000000;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

.careers-form input:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.careers-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio Options */
.radio-options-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #F3F4F6;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid #000000;
}

.radio-option:hover {
    background: #E5E7EB;
}

.radio-option input[type="radio"] {
    margin-right: var(--spacing-sm);
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
    align-self: center;
    position: relative;
    top: 5px;
}

.radio-option input[type="radio"]:checked+.radio-label {
    font-weight: var(--font-weight-semibold);
}

.radio-option:has(input[type="radio"]:checked) {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--primary-green);
}

.radio-label {
    flex: 1;
    cursor: pointer;
    color: var(--text-dark);
    align-self: center;
}

/* Button Options */
.button-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.option-button {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #F3F4F6;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
}

.option-button:hover {
    background: #E5E7EB;
}

.option-button.selected {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--primary-green);
    font-weight: var(--font-weight-semibold);
}

.option-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
}

.form-disclaimer {
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Responsive Design for Careers Page */
@media (max-width: 768px) {
    .careers-hero {
        padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
        min-height: 250px;
    }

    .careers-hero-title {
        font-size: 2.5rem;
    }

    .careers-hero-description {
        font-size: 1.1rem;
        padding: 0 var(--spacing-md);
    }

    .careers-form-wrapper {
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: 16px;
    }

    .careers-form-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .careers-hero-title {
        font-size: 2rem;
    }

    .careers-hero-description {
        font-size: 1rem;
    }

    .careers-form-wrapper {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .careers-form-title {
        font-size: 1.5rem;
    }

    .btn-submit {
        font-size: 1rem;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    background: rgba(240, 253, 244, 0.96);
    border: 1px solid rgba(74, 222, 128, 0.34);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.14);
    transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #10b981;
    border-radius: 999px;
    transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease;
}

html[data-theme="dark"] .hamburger-menu {
    background: #0f172a;
    border-color: rgba(52, 211, 153, 0.22);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .hamburger-menu span {
    background-color: #4ade80;
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}

body.mobile-nav-open .header {
    z-index: 1105;
}

.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: calc(var(--mobile-nav-header-offset, 76px) + 0.4rem) 0.75rem 0.75rem;
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-drawer[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer[hidden] {
    display: none !important;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-drawer-panel {
    position: relative;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    width: min(74vw, 272px);
    max-width: 272px;
    max-height: calc(100dvh - var(--mobile-nav-header-offset, 76px) - 1.15rem);
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(11, 18, 32, 0.98) 0%, rgba(15, 23, 42, 0.97) 56%, rgba(8, 15, 30, 0.99) 100%);
    box-shadow: 0 26px 64px rgba(2, 6, 23, 0.48);
    opacity: 0.94;
    transform: translateX(110%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0.9rem 0.72rem;
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.mobile-nav-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.24);
}

.mobile-nav-brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.96);
    object-fit: contain;
    padding: 0.26rem;
}

.mobile-nav-brand-copy {
    min-width: 0;
}

.mobile-nav-title,
.mobile-nav-subtitle {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-title {
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f8fafc;
}

.mobile-nav-subtitle {
    margin-top: 0.2rem;
    font-size: 0.58rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.92);
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-close:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(16, 185, 129, 0.12);
}

.mobile-nav-close:focus-visible,
.mobile-nav-link:focus-visible {
    outline: 2px solid rgba(74, 222, 128, 0.72);
    outline-offset: 2px;
}

.mobile-nav-close svg {
    width: 0.92rem;
    height: 0.92rem;
}

.mobile-nav-divider {
    height: 1px;
    margin: 0 0.9rem;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem 0.55rem 0.85rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    padding: 0.14rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(12px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-item:last-child {
    border-bottom: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 2.9rem;
    padding: 0.72rem 0.8rem;
    border-radius: 15px;
    color: rgba(241, 245, 249, 0.96);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.mobile-nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.05rem;
    height: 2.05rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.16);
}

.mobile-nav-link-icon svg {
    width: 1rem;
    height: 1rem;
}

.mobile-nav-link-label {
    min-width: 0;
}

.mobile-nav-footer {
    padding: 0.76rem 0.95rem 0.92rem;
    font-size: 0.58rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.8);
}

.mobile-nav-drawer[data-open="true"] .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-drawer[data-open="true"] .mobile-nav-drawer-panel {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-drawer[data-open="true"] .mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Drawer Styles */
@media screen and (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }

    .header-content .hamburger-menu+.header-actions {
        display: none;
    }

    .mobile-nav-drawer {
        display: flex;
    }

    .mobile-nav-backdrop {
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .mobile-nav-drawer-panel {
        backdrop-filter: blur(13px) !important;
        -webkit-backdrop-filter: blur(13px) !important;
    }

    .hamburger-menu.active {
        background: #0f172a;
        border-color: rgba(52, 211, 153, 0.32);
        box-shadow: 0 14px 26px rgba(2, 6, 23, 0.24);
    }

    .header-content {
        justify-content: space-between;
    }
}

@media screen and (max-width: 480px) {
    .mobile-nav-drawer {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
        padding-bottom: 0.625rem;
    }

    .mobile-nav-drawer-panel {
        width: min(78vw, 252px);
        max-width: 252px;
        border-radius: 16px;
    }

    .mobile-nav-head {
        padding: 0.78rem 0.78rem 0.64rem;
    }

    .mobile-nav-brand-badge {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 0.82rem;
    }

    .mobile-nav-link {
        min-height: 2.7rem;
        padding: 0.64rem 0.7rem;
        font-size: 0.88rem;
    }

    .mobile-nav-link-icon {
        width: 1.9rem;
        height: 1.9rem;
    }

    .mobile-nav-footer {
        padding: 0.68rem 0.82rem 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-drawer,
    .mobile-nav-backdrop,
    .mobile-nav-drawer-panel,
    .mobile-nav-item,
    .hamburger-menu,
    .hamburger-menu span {
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Map Section Styles for Homepage */
.map-section-home {
    margin-top: 12px;
}

.map-section-home .section-header {
    margin-bottom: 10px;
}

/* AOAS office slideshow inside Leaflet popup */
.leaflet-popup.aoas-office-popup .leaflet-popup-content-wrapper {
    border-radius: 9px;
    padding: 0;
    border: 1px solid #d4e4da;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
}

.leaflet-popup.aoas-office-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 222px !important;
    line-height: 1.2;
}

.leaflet-popup.aoas-office-popup .leaflet-popup-tip {
    background: #ffffff;
}

.office-popup-card {
    width: 222px;
    padding: 5px;
    box-sizing: border-box;
    background: transparent;
}

.office-popup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 4px;
    align-items: stretch;
}

.office-popup-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.office-popup-title {
    display: block;
    margin-bottom: 0;
    color: #0f172a;
    font-size: 0.76rem;
    line-height: 1.1;
}

.office-popup-address {
    margin: 0;
    color: #334155;
    font-size: 0.64rem;
    line-height: 1.12;
}

.office-popup-gallery {
    width: 86px;
    height: 62px;
    border-radius: 5px;
    border: 1px solid #d7e8de;
    background: #ffffff;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 4px;
    padding: 3px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
}

.office-popup-gallery::-webkit-scrollbar {
    display: none;
}

.office-popup-slide-btn {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    cursor: zoom-in;
}

.office-popup-slide-btn img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Fullscreen office lightbox */
body.office-lightbox-open {
    overflow: hidden;
}

.office-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: none;
}

.office-lightbox.active {
    display: block;
}

.office-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(3px);
}

.office-lightbox-content {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    align-items: center;
    justify-items: center;
    gap: 10px;
    padding: 14px;
    box-sizing: border-box;
}

.office-lightbox-close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    border: none;
    border-radius: 999px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.office-lightbox-nav {
    border: none;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 1.35rem;
    cursor: pointer;
}

.office-lightbox-nav.prev {
    grid-column: 1;
    grid-row: 2;
}

.office-lightbox-nav.next {
    grid-column: 3;
    grid-row: 2;
}

.office-lightbox-figure {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    width: min(94vw, 960px);
    height: min(72vh, 720px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.office-lightbox-image {
    max-width: 100%;
    max-height: calc(100% - 28px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.office-lightbox-caption {
    color: #dbeafe;
    font-size: 0.86rem;
    text-align: center;
}

.office-lightbox-meta {
    grid-column: 2;
    grid-row: 3;
    color: #dbeafe;
    font-size: 0.82rem;
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.office-lightbox-count {
    font-weight: 700;
}

.office-lightbox-hint {
    opacity: 0.86;
}

@media (max-width: 640px) {
    .leaflet-popup.aoas-office-popup .leaflet-popup-content {
        width: 208px !important;
    }

    .office-popup-card {
        width: 208px;
        padding: 4px;
    }

    .office-popup-layout {
        grid-template-columns: minmax(0, 1fr) 80px;
        gap: 4px;
    }

    .office-popup-title {
        font-size: 0.72rem;
    }

    .office-popup-address {
        font-size: 0.6rem;
    }

    .office-popup-gallery {
        width: 80px;
        height: 56px;
    }

    .office-lightbox-content {
        padding: 10px;
        gap: 8px;
    }

    .office-lightbox-close {
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
    }

    .office-lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .office-lightbox-figure {
        width: min(95vw, 720px);
        height: min(66vh, 560px);
    }

    .office-lightbox-caption {
        font-size: 0.8rem;
    }

    .office-lightbox-meta {
        font-size: 0.76rem;
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .office-popup-gallery {
        scroll-behavior: auto;
    }
}

/* Clean Location Form Card */
.location-form-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    max-width: 100%;
}

/* Form Input Group */
.form-input-group {
    margin-bottom: 10px;
}

.form-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.form-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    background: white;
}

.form-input-group input::placeholder {
    color: #9ca3af;
}

.form-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Primary Button (Auto-Detect) */
.location-btn-primary {
    width: 100%;
    background: #FF6D1F;
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(255, 109, 31, 0.22);
}

.location-btn-primary:hover:not(:disabled) {
    background: #e85d0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 109, 31, 0.4);
}

.location-btn-primary:active {
    transform: translateY(0);
}

.location-btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Secondary Button (Set Location) */
.location-btn-secondary {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.22);
}

.location-btn-secondary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.location-btn-secondary:active {
    transform: translateY(0);
}

.location-btn-secondary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.map-instruction {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #1e40af;
    margin-bottom: 10px;
}

#mapHome {
    height: 340px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    cursor: crosshair;
}

.map-info {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.82rem;
    color: #6b7280;
}

.map-info p {
    margin: 0 0 4px;
}

.map-info p:last-child {
    margin-bottom: 0;
}

.map-info strong {
    color: #d14a08;
}

/* Custom Leaflet Styles */
.custom-div-icon {
    background: none !important;
    border: none !important;
}

.location-pin {
    width: 40px;
    height: 40px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.location-pin-small {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hide routing instructions panel */
.leaflet-routing-container {
    display: none !important;
}

/* Fix z-index for popups */
.leaflet-popup-pane {
    z-index: 700 !important;
}

.leaflet-popup {
    z-index: 800 !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 12px;
    line-height: 1.5;
}

/* Layer control styling */
.leaflet-control-layers {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-control-attribution {
    display: none !important;
}

/* Mobile optimizations for map */
@media (max-width: 640px) {
    .location-form-card {
        padding: 12px;
        border-radius: 10px;
    }

    #mapHome {
        height: 300px;
    }

    .map-instruction {
        padding: 7px 9px;
        font-size: 0.75rem;
    }

    .form-input-group label {
        font-size: 0.84rem;
    }

    .form-input-group input {
        padding: 9px 11px;
        font-size: 0.84rem;
    }

    .location-btn-primary,
    .location-btn-secondary {
        padding: 10px 14px;
        font-size: 0.84rem;
    }
}

@media (max-width: 420px) {
    #mapHome {
        height: 280px;
    }
}

/* Scroll Animation Utilities */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================================
   Inquiry Form Enhancements
   ============================================== */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.contact-form select {
    width: 100%;
    padding: 0.78rem 0.94rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1.5px solid #037062;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2), 0 8px 24px rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.form-hint {
    margin-top: 3px;
    font-size: 0.76rem;
    color: #374151;
}

.contact-form .privacy-note {
    font-size: 0.75rem;
    color: #374151;
    margin: 4px 0 10px;
}

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.captcha-container {
    margin-bottom: var(--spacing-md);
}

.captcha-label {
    margin: 0 0 var(--spacing-xs);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

/* ==============================================
   Services Hub Cards
   ============================================== */
.services-highlight {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.services-highlight .pill-btn {
    margin: 0;
    line-height: 1.2;
}

.services-home-carousel {
    --home-services-per-page: 4;
    --home-services-gap: 18px;
    display: grid;
    gap: 14px;
}

.services-home-viewport {
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.services-home-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--home-services-gap);
    flex: 0 0 100%;
    overflow: hidden;
}

.services-home-slide > .service-card-home {
    flex: 0 0 calc((100% - (var(--home-services-gap) * (var(--home-services-per-page) - 1))) / var(--home-services-per-page));
    max-width: calc((100% - (var(--home-services-gap) * (var(--home-services-per-page) - 1))) / var(--home-services-per-page));
}

.services-home-carousel[data-home-carousel-ready="true"] .services-grid-home {
    display: flex;
    gap: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.services-home-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.services-home-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.services-home-dot.is-active {
    width: 30px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.services-home-carousel[data-home-carousel-multiple="true"] .services-home-pagination {
    display: flex;
}

.service-card-home {
    background: #ffffff;
    border: 1px solid #d8efe2;
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: 0 8px 24px rgba(15, 67, 46, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        opacity 0.45s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    transition-delay: var(--stagger-delay, 0ms);
    will-change: transform, opacity;
}

#services-preview.showcase-animate .service-card-home {
    transform: translateY(18px) scale(0.985);
    opacity: 0;
}

.service-card-home-media {
    width: 100%;
    aspect-ratio: 10 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid #d8efe2;
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
    overflow: hidden;
}

.service-card-home-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: transparent;
    padding: 0;
    border-radius: 10px;
    border: 0;
    display: block;
    transition: transform 0.55s ease, filter 0.55s ease;
}

.service-card-home h3 {
    font-size: 1.05rem;
    color: #0b5d44;
}

.service-card-home p {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.55;
}

.service-card-home .card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b5d44;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
}

.service-card-home .card-cta:hover {
    background: #084632;
}

html[data-theme="dark"] .service-card-home-media {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(20, 83, 45, 0.34) 100%);
    border-color: rgba(52, 211, 153, 0.2);
}

#services-preview.showcase-visible .service-card-home {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.service-card-home.showcase-active {
    border-color: #9bd8bd;
    box-shadow: 0 16px 30px rgba(11, 93, 68, 0.2);
    transform: translateY(-6px) scale(1.012);
}

.service-card-home.showcase-active .service-card-home-image {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.service-card-home.showcase-active .card-cta {
    box-shadow: 0 10px 18px rgba(11, 93, 68, 0.24);
}

.service-card-home:hover,
.service-card-home:focus-within {
    border-color: #9bd8bd;
    box-shadow: 0 14px 28px rgba(11, 93, 68, 0.18);
    transform: translateY(-5px) scale(1.01);
}

.service-card-home:hover .service-card-home-image,
.service-card-home:focus-within .service-card-home-image {
    transform: scale(1.03);
}

.service-card-home:focus-within .card-cta {
    outline: 3px solid rgba(34, 197, 94, 0.28);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .service-card-home {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-card-home-image {
        transition: none;
    }

    .services-grid-home {
        transition: none !important;
    }
}

.low-end-device .service-card-home {
    opacity: 1;
    transform: none;
    transition: none;
}

.low-end-device .service-card-home-image {
    transition: none;
}

.low-end-device .services-grid-home {
    transition: none !important;
    will-change: auto !important;
}

/* ==============================================
   Chat Widget
   ============================================== */
.aoas-chat-widget {
    position: fixed;
    right: 22px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 2600;
    width: auto;
    max-width: calc(100vw - 36px);
}

.aoas-chat-widget.open {
    width: min(360px, calc(100vw - 20px));
}

.aoas-chat-widget.open .aoas-chat-toggle {
    display: none;
}

.aoas-chat-widget.open .aoas-chat-panel {
    margin-top: 0;
}

.aoas-chat-toggle {
    width: auto;
    min-width: 118px;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    background: linear-gradient(135deg, #0b5d44 0%, #0f766e 100%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 93, 68, 0.28);
    touch-action: manipulation;
}

.aoas-chat-widget.dragging .aoas-chat-toggle {
    cursor: grabbing;
}

.aoas-chat-panel {
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid #cce6d8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    max-height: min(76vh, 640px);
    display: flex;
    flex-direction: column;
}

.aoas-chat-panel.lead-mode .aoas-chat-body {
    max-height: 210px;
}

.aoas-chat-panel.lead-mode .aoas-chat-actions,
.aoas-chat-panel.lead-mode .aoas-chat-input-form {
    display: none !important;
}

.aoas-chat-panel[hidden],
.aoas-chat-lead-form[hidden] {
    display: none !important;
}

.aoas-chat-header {
    background: #0b5d44;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 11px;
}

.aoas-chat-header p {
    margin: 2px 0 0;
    font-size: 0.69rem;
    opacity: 0.92;
}

.aoas-chat-header strong {
    font-size: 0.88rem;
    line-height: 1.2;
}

.aoas-chat-header button {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.aoas-chat-body {
    flex: 1;
    min-height: 110px;
    max-height: 240px;
    overflow-y: auto;
    padding: 9px 10px 7px;
    background: #f7faf8;
}

.aoas-chat-message {
    margin-bottom: 6px;
    border-radius: 9px;
    padding: 7px 9px;
    font-size: 0.78rem;
    line-height: 1.4;
}

.aoas-chat-message.bot {
    background: #e9f7ef;
    color: #10261f;
}

.aoas-chat-message.user {
    background: #e6f0ff;
    color: #1e3a8a;
    margin-left: 16px;
}

.aoas-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 9px 8px;
    max-height: 88px;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    background: #fbfdfc;
}

.aoas-chat-chip {
    border: 1px solid #b9d9ca;
    background: #ffffff;
    color: #0b5d44;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.72rem;
    cursor: pointer;
}

.aoas-chat-chip:hover {
    background: #ecfdf3;
}

.aoas-chat-input-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 7px 9px 9px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.aoas-chat-input-form input {
    border: 1px solid #a6b9af;
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 0.78rem;
}

.aoas-chat-input-form button {
    border: none;
    border-radius: 8px;
    background: #0b5d44;
    color: #ffffff;
    padding: 7px 11px;
    font-size: 0.76rem;
    cursor: pointer;
}

.aoas-chat-lead-form {
    border-top: 1px solid #e5e7eb;
    padding: 11px 12px 12px;
    display: grid;
    gap: 7px;
    max-height: 390px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fcfffd;
}

.aoas-chat-lead-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.aoas-chat-lead-form h4 {
    margin: 0 0 2px;
    color: #0b5d44;
    font-size: 0.88rem;
}

.aoas-chat-mini-btn {
    border: 1px solid #b9d9ca;
    border-radius: 999px;
    background: #ffffff;
    color: #0b5d44;
    font-size: 0.74rem;
    padding: 4px 10px;
    cursor: pointer;
}

.aoas-chat-lead-form label {
    font-size: 0.76rem;
    color: #1f2937;
}

.aoas-chat-lead-form input,
.aoas-chat-lead-form textarea,
.aoas-chat-lead-form select {
    border: 1px solid #aabcb3;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.81rem;
    font-family: var(--font-family);
}

.aoas-chat-lead-form textarea {
    min-height: 88px;
    line-height: 1.45;
    resize: vertical;
}

.aoas-chat-consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
    margin-top: 2px;
}

.aoas-chat-consent input {
    margin-top: 2px;
    flex-shrink: 0;
}

.chat-other-location-wrap {
    display: grid;
    gap: 4px;
}

.chat-other-location-wrap[hidden] {
    display: none !important;
}

.aoas-chat-lead-form button {
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.81rem;
    font-weight: var(--font-weight-semibold);
    background: #0b5d44;
    color: #ffffff;
    cursor: pointer;
    margin-top: 2px;
}

/* ==============================================
   Services, Insight, and Policy Pages
   ============================================== */
.page-shell {
    max-width: 1120px;
    margin: 22px auto 52px;
    padding: 0 20px;
}

.page-hero {
    background: linear-gradient(130deg, #0b5d44 0%, #0f766e 50%, #115e59 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 26px 24px;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin: 0 0 10px;
}

.page-hero p {
    margin: 0;
    opacity: 0.95;
    max-width: 760px;
}

.page-shell-services {
    max-width: 1280px;
}

.services-showcase {
    display: grid;
    gap: 16px;
}

.services-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.services-showcase-copy {
    display: grid;
    gap: 6px;
}

.services-showcase-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0f766e;
}

.services-showcase-title {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.35;
    color: #0f172a;
}

.services-carousel {
    --services-per-page: 4;
    --services-carousel-gap: 18px;
    display: grid;
    gap: 14px;
}

.services-carousel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.services-carousel-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.services-carousel-page {
    margin: 0;
    color: #0b5d44;
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.services-carousel-navs {
    display: none;
    align-items: center;
    gap: 10px;
}

.services-carousel-nav {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(11, 93, 68, 0.18);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    color: #0b5d44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(11, 93, 68, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-carousel-nav:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 14px 24px rgba(16, 185, 129, 0.16);
}

.services-carousel-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.services-carousel-nav span {
    font-size: 1.5rem;
    line-height: 1;
}

.services-carousel-viewport {
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.services-page-track {
    min-width: 0;
}

.services-page-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--services-carousel-gap);
    flex: 0 0 100%;
    overflow: hidden;
}

.services-page-slide>.services-page-card {
    flex: 0 0 calc((100% - (var(--services-carousel-gap) * (var(--services-per-page) - 1))) / var(--services-per-page));
    max-width: calc((100% - (var(--services-carousel-gap) * (var(--services-per-page) - 1))) / var(--services-per-page));
}

.services-page-card {
    border: 1px solid #d4e6db;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.92) 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-page-card:hover {
    transform: translateY(-4px);
    border-color: #9ecab5;
    box-shadow: 0 18px 34px rgba(11, 93, 68, 0.16);
}

.services-page-card-media {
    width: 100%;
    aspect-ratio: 10 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
    overflow: hidden;
}

.services-page-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.services-page-card h3 {
    color: #0b5d44;
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0;
}

.services-page-card p {
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.58;
    margin: 0;
}

.services-page-card .actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.services-page-card .actions .pill-btn {
    width: 100%;
    border: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0b5d44 0%, #0f766e 100%);
    box-shadow: 0 12px 24px rgba(11, 93, 68, 0.2);
}

.services-page-card .actions .pill-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
}

.services-carousel-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.services-carousel-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.services-carousel-dot:hover {
    transform: translateY(-1px);
}

.services-carousel-dot.is-active {
    width: 32px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.services-carousel[data-carousel-ready="true"] .services-page-track {
    display: flex;
    gap: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.services-carousel[data-carousel-multiple="true"] .services-carousel-navs,
.services-carousel[data-carousel-multiple="true"] .services-carousel-pagination {
    display: flex;
}

html[data-theme="dark"] .services-showcase-kicker {
    color: #6ee7b7;
}

html[data-theme="dark"] .services-showcase-title {
    color: #f8fafc;
}

html[data-theme="dark"] .services-carousel-page {
    color: #86efac;
}

html[data-theme="dark"] .services-carousel-nav {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(16, 63, 53, 0.96) 100%);
    border-color: rgba(52, 211, 153, 0.24);
    color: #d1fae5;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .services-carousel-nav:hover:not(:disabled) {
    border-color: rgba(110, 231, 183, 0.38);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .services-page-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(17, 48, 39, 0.92) 100%);
    border-color: rgba(52, 211, 153, 0.22);
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.32);
}

html[data-theme="dark"] .services-page-card:hover {
    border-color: rgba(110, 231, 183, 0.34);
}

html[data-theme="dark"] .services-page-card-media {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(20, 83, 45, 0.34) 100%);
    border-color: rgba(52, 211, 153, 0.2);
}

html[data-theme="dark"] .services-page-card h3 {
    color: #6ee7b7;
}

html[data-theme="dark"] .services-page-card p {
    color: #cbd5e1;
}

html[data-theme="dark"] .services-carousel-dot {
    background: rgba(148, 163, 184, 0.42);
}

html[data-theme="dark"] .services-carousel-dot.is-active {
    background: linear-gradient(135deg, #34d399 0%, #4ade80 100%);
}

@media (max-width: 1024px) {
    .page-shell-services {
        max-width: 1160px;
    }

    .services-page-card {
        padding: 14px;
    }

    .services-page-card-media {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .services-showcase-head {
        align-items: flex-start;
    }

    .services-carousel-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-carousel-toolbar-actions {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .services-carousel-page {
        font-size: 0.76rem;
    }
}

@media (max-width: 640px) {
    .page-shell-services {
        margin: 16px auto 40px;
        padding: 0 14px;
    }

    .services-showcase {
        gap: 14px;
    }

    .services-showcase-title {
        font-size: 0.98rem;
    }

    .services-carousel-navs {
        gap: 8px;
    }

    .services-carousel-nav {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .services-carousel {
        --services-carousel-gap: 14px;
    }

    .services-carousel-viewport {
        padding: 6px 0 10px;
    }

    .services-page-slide {
        justify-content: center;
        padding: 0;
    }

    .services-page-slide>.services-page-card {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        margin: 0 auto;
    }

    .services-page-card {
        padding: 12px;
    }
}

.low-end-device .services-page-track {
    transition: transform 0.3s ease !important;
    will-change: auto !important;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 1px solid #0b5d44;
    color: #0b5d44;
    background: #ffffff;
}

.pill-btn.primary {
    background: #0b5d44;
    color: #ffffff;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.service-detail-card,
.service-aside-card {
    border: 1px solid #d4e6db;
    border-radius: 14px;
    background: #ffffff;
    padding: 18px;
}

.service-detail-card h2,
.service-aside-card h3 {
    color: #0b5d44;
    margin-bottom: 10px;
}

.service-detail-card ul,
.service-aside-card ul {
    padding-left: 18px;
    color: #334155;
}

.service-detail-card p,
.service-aside-card p {
    color: #334155;
}

.service-cover {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    margin-bottom: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.service-cover img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}

.service-cover:hover img {
    transform: scale(1.02);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 16px;
}

.service-inquiry-card {
    border: 1px solid #d4e6db;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    position: sticky;
    top: 92px;
}

.service-inquiry-card h3 {
    color: #0b5d44;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.service-inquiry-card p {
    color: #334155;
    margin-bottom: 9px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.service-inquiry-form {
    display: grid;
    gap: 8px;
}

.service-inquiry-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-inquiry-form .reason-location-row {
    grid-template-columns: 1fr 1fr;
}

.service-inquiry-form label {
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 600;
}

.service-inquiry-form input,
.service-inquiry-form textarea,
.service-inquiry-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #98ada3;
    border-radius: 9px;
    font-size: 0.82rem;
    font-family: var(--font-family);
    color: #0f172a;
    background: #ffffff;
}

.service-inquiry-form input:focus,
.service-inquiry-form textarea:focus,
.service-inquiry-form select:focus {
    outline: none;
    border-color: #0b5d44;
    box-shadow: 0 0 0 3px rgba(11, 93, 68, 0.15);
}

.service-inquiry-form textarea {
    resize: vertical;
    min-height: 90px;
}

.service-location-other {
    display: grid;
    gap: 4px;
}

.service-captcha-container {
    display: grid;
    gap: 6px;
}

.service-captcha-container .captcha-label {
    margin: 0;
    font-size: 0.88rem;
    font-weight: var(--font-weight-semibold);
    color: #1f2937;
}

.service-form-status {
    min-height: 20px;
    font-size: 0.82rem;
    margin-top: 2px;
}

.service-form-status.success {
    color: #166534;
}

.service-form-status.error {
    color: #b91c1c;
}

.service-form-status.neutral {
    color: #334155;
}

.service-submit-btn {
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #0b5d44 0%, #0f766e 100%);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(11, 93, 68, 0.24);
}

.service-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.service-animate {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.service-reveal-enabled .service-animate {
    opacity: 0;
    transform: translateY(24px);
}

body.service-reveal-enabled .service-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #d4e6db;
    border-radius: 12px;
    padding: 14px;
}

.metric-card h3 {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metric-card p {
    font-size: 1.45rem;
    color: #0b5d44;
    font-weight: 700;
    margin: 6px 0 0;
}

.insights-table-wrap {
    border: 1px solid #d4e6db;
    border-radius: 12px;
    background: #ffffff;
    overflow-x: auto;
}

.insights-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.insights-table th,
.insights-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.policy-page article {
    border: 1px solid #d4e6db;
    border-radius: 12px;
    background: #ffffff;
    padding: 18px;
    margin-bottom: 14px;
}

@media (max-width: 1100px) {
    .service-inquiry-card {
        position: static;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .contact-form-wrapper {
        max-width: 100%;
        padding: 10px 11px;
        border-radius: 12px;
        border-width: 1px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    }

    .contact-form {
        display: grid;
        gap: 8px;
    }

    .contact-form .form-group {
        margin-bottom: 0;
    }

    .contact-form .form-group label {
        margin-bottom: 3px;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .contact-form .required {
        font-size: 0.75rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.58rem 0.7rem;
        font-size: 0.86rem;
        border-radius: 9px;
        border-width: 1px;
        box-shadow: 0 1px 4px rgba(15, 118, 110, 0.1);
    }

    .contact-form textarea {
        min-height: 72px;
    }

    .contact-form .form-hint,
    .contact-form .privacy-note {
        margin-top: 2px;
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .contact-form .btn.btn-primary {
        width: 100%;
        padding: 0.62rem 0.82rem;
        font-size: 0.78rem;
        border-radius: 10px;
    }

    .services-highlight {
        gap: 8px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .page-hero h1 {
        font-size: clamp(1.35rem, 5.2vw, 1.75rem);
        line-height: 1.22;
        margin-bottom: 6px;
    }

    .page-hero p {
        font-size: 0.84rem;
        line-height: 1.38;
    }

    .service-detail-card,
    .service-aside-card {
        padding: 12px;
        border-radius: 12px;
    }

    .service-detail-card h2,
    .service-aside-card h3 {
        font-size: 1.24rem;
        line-height: 1.25;
        margin-bottom: 7px;
    }

    .service-detail-card p,
    .service-detail-card li,
    .service-aside-card p,
    .service-aside-card li {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .service-detail-card ul,
    .service-aside-card ul {
        padding-left: 16px;
    }

    .service-inquiry-card {
        position: static;
    }

    .service-inquiry-form .row {
        grid-template-columns: 1fr;
    }

    .service-inquiry-form .reason-location-row {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile hero fix: allow content to define height and avoid top clipping */
    .hero {
        min-height: auto;
        align-items: flex-start;
        overflow: visible;
        padding: 0.75rem 0 1.25rem;
    }

    .hero-slideshow {
        min-height: 100%;
    }

    .hero-content {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
    }

    .hero-brand-panel {
        max-width: none;
        padding: 0.72rem;
    }

    .hero-description {
        min-height: 0;
    }

    .aoas-chat-widget {
        right: 14px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto;
        left: auto !important;
        top: auto !important;
    }

    .aoas-chat-widget.open {
        width: min(290px, calc(100vw - 20px));
        right: 10px !important;
        left: auto !important;
        top: auto !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
    }

    .aoas-chat-toggle {
        width: 50px;
        min-width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        box-shadow: 0 12px 22px rgba(11, 93, 68, 0.32);
    }

    .aoas-chat-toggle::before {
        content: '?';
        font-size: 1.15rem;
        font-weight: var(--font-weight-bold);
        line-height: 1;
    }

    .aoas-chat-panel {
        max-height: min(64vh, 500px);
    }

    .aoas-chat-header {
        padding: 8px 10px;
    }

    .aoas-chat-header strong {
        font-size: 0.82rem;
    }

    .aoas-chat-header p {
        font-size: 0.64rem;
    }

    .aoas-chat-body {
        min-height: 96px;
        max-height: 22vh;
    }

    .aoas-chat-panel.lead-mode .aoas-chat-body {
        max-height: 18vh;
    }

    .aoas-chat-lead-form {
        max-height: 36vh;
    }

    .aoas-chat-lead-form textarea {
        min-height: 96px;
    }

    .page-shell {
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0 1rem;
    }

    .hero-description {
        min-height: 0;
    }

    .service-detail-card h2,
    .service-aside-card h3 {
        font-size: 1.14rem;
    }

    .service-detail-card p,
    .service-detail-card li,
    .service-aside-card p,
    .service-aside-card li {
        font-size: 0.86rem;
    }
}

/* Mobile refinement pass: compact layout + spacing cleanup */
@media (max-width: 768px) {
    #services-preview .services-home-viewport {
        padding: 6px 0 10px;
    }

    #services-preview .services-home-slide {
        justify-content: center;
        padding: 0;
    }

    #services-preview .services-home-slide > .service-card-home {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        margin: 0 auto;
    }

    #services-preview .service-card-home.showcase-active,
    #services-preview .service-card-home:hover,
    #services-preview .service-card-home:focus-within {
        transform: none;
    }

    .container {
        padding: 0 12px;
    }

    .section {
        padding: 10px 0;
    }

    .section-header {
        margin-bottom: 10px;
    }

    .section-label {
        margin-bottom: 6px;
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    .section-title-center,
    .section-title-left {
        line-height: 1.2;
        margin-bottom: 8px;
    }

    #services-preview .section-title-center {
        text-align: left;
        font-size: 2rem;
        max-width: 100%;
        margin-bottom: 6px;
    }

    #services-preview .section-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
        max-width: 100%;
    }

    #services-preview .services-grid-home {
        gap: 8px;
    }

    #services-preview .services-home-carousel {
        --home-services-gap: 12px;
    }

    #services-preview .service-card-home {
        padding: 10px;
        border-radius: 12px;
        gap: 8px;
    }

    #services-preview .service-card-home-media {
        padding: 6px;
        border-radius: 12px;
    }

    #services-preview .service-card-home-image {
        border-radius: 9px;
    }

    #services-preview .service-card-home h3 {
        font-size: 0.92rem;
    }

    #services-preview .service-card-home p {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    #services-preview .service-card-home .card-cta {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    #services-preview .container>div[style*="margin-top"] {
        margin-top: 10px !important;
    }

    #services-preview .services-home-pagination {
        gap: 6px;
    }

    #why-us .section-title-left {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    #why-us .why-grid {
        gap: 10px;
        margin-top: 6px;
    }

    #why-us .why-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    #why-us .why-list li {
        margin-bottom: 0;
        padding: 8px 10px 8px 32px;
        border: 1px solid #cfe8dc;
        border-radius: 10px;
        font-size: 0.86rem;
        line-height: 1.4;
        background: #f8fdf9;
    }

    #why-us .why-list li::before {
        left: 10px;
        top: 8px;
        transform: none;
        font-size: 1rem;
        line-height: 1;
    }

    #why-us .why-image-carousel-wrapper {
        height: 220px;
        border-radius: 10px;
    }

    #faq {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #faq .faq-header {
        margin-bottom: 8px;
    }

    #faq .section-title-left {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    #faq .faq-container {
        gap: 8px;
    }

    #faq .faq-list {
        gap: 8px;
    }

    #faq .faq-item {
        border-width: 1.5px;
        border-radius: 9px;
        box-shadow: none;
    }

    #faq .faq-question {
        padding: 10px 12px;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    #faq .faq-icon {
        font-size: 0.78rem;
        min-width: 16px;
    }

    #faq .faq-answer p {
        padding: 0 12px 10px;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .values-grid {
        margin-top: 8px;
        gap: 8px;
    }

    .value-card {
        padding: 12px;
        border-width: 1.8px;
        border-left-width: 4px;
        border-radius: 12px;
    }

    .value-badge {
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
        margin-bottom: 10px;
    }

    .value-title {
        font-size: 1.05rem;
        margin-bottom: 6px;
        white-space: normal;
    }

    .value-description {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .footer {
        margin-top: 0;
        padding: 14px 0 calc(74px + env(safe-area-inset-bottom));
    }

    .footer-content {
        margin-bottom: 10px;
    }

    .footer-about {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .footer-description {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 8px;
    }

    .footer-column {
        padding: 9px 10px;
        border-radius: 10px;
    }

    .footer-heading {
        font-size: 0.74rem;
        margin-bottom: 3px;
        letter-spacing: 0.6px;
    }

    .footer-text {
        font-size: 0.82rem;
        line-height: 1.38;
        gap: 0;
    }

    .footer-indent-line {
        margin-left: 0;
    }

    .footer-column:last-child {
        align-items: flex-start;
        text-align: left;
    }

    .social-links {
        gap: 8px;
        margin-top: 4px;
        justify-content: flex-start;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-service-shortcuts {
        margin-top: 9px;
        padding: 8px 9px;
        gap: 6px;
        border-radius: 10px;
    }

    .footer-shortcuts-label {
        font-size: 0.76rem;
        margin-bottom: 2px;
    }

    .footer-service-shortcuts a {
        font-size: 0.72rem;
        padding: 4px 8px;
    }

    .footer-au-coverage {
        margin-top: 9px;
        padding: 9px 10px 9px 11px;
        border-radius: 10px;
    }

    .footer-au-label {
        font-size: 0.7rem;
        letter-spacing: 1.6px;
        margin-bottom: 4px;
    }

    .footer-au-title {
        font-size: 1.15rem;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .footer-au-text {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .footer-bottom {
        margin-top: 10px;
        padding-top: 9px;
        padding-bottom: 2px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .footer-nav .separator {
        display: none;
    }

.footer-nav a {
        font-size: 0.78rem;
        padding: 4px 5px;
        border-radius: 8px;
        text-align: center;
        line-height: 1.2;
    }
}

/* Compact mobile tuning for What We Offer (Mission/Vision) */
@media (max-width: 768px) {
    #what-we-offer .section-header {
        margin-bottom: 8px;
    }

    #what-we-offer .section-label {
        margin-bottom: 4px;
        font-size: 0.68rem;
        letter-spacing: 1.6px;
        padding-left: 10px;
    }

    #what-we-offer .section-label::before {
        width: 3px;
        height: 14px;
    }

    #what-we-offer .section-title-center {
        font-size: 1.55rem;
        line-height: 1.15;
        margin-bottom: 4px;
    }

    #what-we-offer .mission-vision-grid {
        margin-top: 6px;
        gap: 8px;
    }

    #what-we-offer .mission-vision-card {
        padding: 12px;
        border-radius: 16px;
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    }

    #what-we-offer .mission-vision-head {
        gap: 8px;
        margin-bottom: 8px;
    }

    #what-we-offer .mission-vision-meta {
        gap: 0.22rem;
    }

    #what-we-offer .mission-vision-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        padding: 6px;
    }

    #what-we-offer .mission-vision-icon svg {
        width: 34px;
        height: 34px;
    }

    #what-we-offer .mission-vision-pill {
        font-size: 0.62rem;
        letter-spacing: 1.2px;
        padding: 0.2rem 0.5rem;
    }

    #what-we-offer .mission-vision-pill::before {
        width: 5px;
        height: 5px;
    }

    #what-we-offer .mission-vision-title {
        font-size: 1rem;
        margin: 0;
        letter-spacing: 0.3px;
    }

    #what-we-offer .mission-vision-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
        min-height: 0;
    }

    #what-we-offer .mission-vision-list {
        margin-top: 8px;
        gap: 0.25rem;
    }

    #what-we-offer .mission-vision-list li {
        font-size: 0.88rem;
        line-height: 1.35;
        gap: 0.4rem;
    }

    #what-we-offer .mission-vision-list li::before {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    #what-we-offer .section-title-center {
        font-size: 1.35rem;
    }

    #what-we-offer .mission-vision-card {
        padding: 10px;
        border-radius: 14px;
    }

    #what-we-offer .mission-vision-head {
        margin-bottom: 6px;
    }

    #what-we-offer .mission-vision-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        padding: 4px;
    }

    #what-we-offer .mission-vision-icon svg {
        width: 30px;
        height: 30px;
    }

    #what-we-offer .mission-vision-description {
        font-size: 0.84rem;
        line-height: 1.42;
    }

    #what-we-offer .mission-vision-list {
        margin-top: 6px;
    }

    #what-we-offer .mission-vision-list li {
        font-size: 0.82rem;
    }
}

/* Dark Mode Modal Compatibility */
html[data-theme="dark"] .modal-overlay {
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .modal-container {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.97) 0%,
            rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid #334155;
    box-shadow:
        0 24px 56px rgba(2, 6, 23, 0.62),
        0 8px 22px rgba(2, 6, 23, 0.48);
}

html[data-theme="dark"] .modal-body {
    color: #e5e7eb;
}

html[data-theme="dark"] .modal-message {
    color: #e2e8f0;
}

html[data-theme="dark"] .modal-footer {
    border-top-color: #334155;
    background: rgba(15, 23, 42, 0.5);
}

html[data-theme="dark"] .modal-close {
    background: rgba(148, 163, 184, 0.25);
    color: #f8fafc;
}

html[data-theme="dark"] .modal-close:hover {
    background: rgba(148, 163, 184, 0.4);
}

html[data-theme="dark"] .modal-button {
    box-shadow:
        0 8px 20px rgba(16, 185, 129, 0.35),
        0 4px 12px rgba(2, 6, 23, 0.3);
}

html[data-theme="dark"] .custom-modal.error .modal-button {
    box-shadow:
        0 8px 20px rgba(249, 115, 22, 0.35),
        0 4px 12px rgba(2, 6, 23, 0.3);
}

/* ==============================================
   Dark Mode Flex Patches (Map + Feedback)
   ============================================== */
html[data-theme="dark"] .location-form-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    border-color: rgba(71, 85, 105, 0.72);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .form-input-group label {
    color: #e5e7eb;
}

html[data-theme="dark"] .form-input-group input {
    background: #0b1220;
    border-color: #334155;
    color: #e5e7eb;
}

html[data-theme="dark"] .form-input-group input::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] .form-input-group input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

html[data-theme="dark"] .map-instruction {
    background: #0f1c33;
    border-left-color: #3b82f6;
    color: #bfdbfe;
}

html[data-theme="dark"] .leaflet-popup.aoas-office-popup .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup.aoas-office-popup .leaflet-popup-tip {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(16, 40, 33, 0.96) 100%);
    border-color: rgba(52, 211, 153, 0.22);
}

html[data-theme="dark"] .office-popup-card {
    background: transparent;
}

html[data-theme="dark"] .office-popup-feature,
html[data-theme="dark"] .office-popup-slide-btn {
    background: #0f172a;
    border-color: rgba(52, 211, 153, 0.2);
}

html[data-theme="dark"] .office-popup-title {
    color: #f8fafc;
}

html[data-theme="dark"] .office-popup-address {
    color: #cbd5e1;
}

html[data-theme="dark"] #mapHome {
    border: 1px solid #334155;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .map-info {
    background: #22150b;
    border-color: #7c2d12;
    color: #fed7aa;
}

html[data-theme="dark"] .map-info strong {
    color: #fdba74;
}

html[data-theme="dark"] .leaflet-control-zoom a,
html[data-theme="dark"] .leaflet-control-layers-expanded {
    background-color: #0f172a !important;
    color: #e5e7eb !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .leaflet-control-zoom a:hover {
    background-color: #1e293b !important;
}

html[data-theme="dark"] .leaflet-control-layers-toggle {
    position: relative;
    background-color: #0f172a !important;
    background-image: none !important;
    border: 1px solid #334155 !important;
}

html[data-theme="dark"] .leaflet-control-layers-toggle::before,
html[data-theme="dark"] .leaflet-control-layers-toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 1px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
}

html[data-theme="dark"] .leaflet-control-layers-toggle::after {
    border-color: #94a3b8;
    transform: translate(calc(-50% + 2px), calc(-50% - 3px)) rotate(-14deg);
}

html[data-theme="dark"] .leaflet-control-layers-toggle:hover {
    background-color: #1e293b !important;
}

html[data-theme="dark"] .leaflet-control-layers-list span,
html[data-theme="dark"] .leaflet-control-layers-separator {
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip {
    background: #0f172a;
    color: #e5e7eb;
    border: 1px solid #334155;
}

html[data-theme="dark"] .feedback-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.92) 100%);
    border-color: rgba(71, 85, 105, 0.7);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35);
}

html[data-theme="dark"] .feedback-card.is-active {
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(52, 211, 153, 0.3);
}

html[data-theme="dark"] .feedback-avatar {
    background: #102b22;
    border-color: #1d4f3f;
    color: #34d399;
}

html[data-theme="dark"] .feedback-name {
    color: #f8fafc;
}

html[data-theme="dark"] .feedback-service {
    color: #6ee7b7;
}

html[data-theme="dark"] .feedback-text {
    color: #cbd5e1;
}

html[data-theme="dark"] .feedback-control {
    background: #0f172a;
    border-color: #334155;
    color: #e5e7eb;
}

html[data-theme="dark"] .feedback-control:hover {
    background: #065f46;
    border-color: #10b981;
    color: #f8fafc;
}

html[data-theme="dark"] .feedback-dot {
    background: #475569;
}

html[data-theme="dark"] .feedback-dot.active {
    background: #34d399;
}

@media (max-width: 768px) {
    html[data-theme="dark"] .location-form-card,
    html[data-theme="dark"] .feedback-card {
        box-shadow: 0 8px 20px rgba(2, 6, 23, 0.4);
    }
}

