:root {
    /* Vibrant Color Palette - Alive & Energetic */
    --primary-green: #22c55e;
    --green-light: #4ade80;
    --green-dark: #16a34a;
    --green-vibrant: #10b981;
    --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: 'Inter', -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;
    /* 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,
    .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,
    .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: #f8fdf8 !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:
        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%);
    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);
    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);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.header-social:hover {
    color: var(--green-vibrant);
    transform: scale(1.1);
    background: rgba(34, 197, 94, 0.1);
}

.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);
}

.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;
}

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

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

    .logo-text-short {
        display: inline;
        font-size: 1.4rem;
        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: linear-gradient(135deg, var(--primary-green) 0%, var(--green-vibrant) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(34, 197, 94, 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-primary::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-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--green-light) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(34, 197, 94, 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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

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

.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: flex;
    align-items: center;
    justify-content: flex-start;
}

.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:
        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%);
    pointer-events: none;
    z-index: 0;
}

.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:
        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%);
    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);
}

.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;
}

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

/* Removed duplicate ::after border - now using single solid border on card */

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

.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: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.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-top: 0.35rem;
    margin-bottom: var(--spacing-sm);
    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);
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.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);
}

.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 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

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

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

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

.partner-logo {
    flex-shrink: 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    min-height: 180px;
    min-width: 220px;
    flex-shrink: 0;
    border: none;
    position: relative;
    overflow: visible;
}

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

.partner-logo img {
    max-width: 220px;
    max-height: 120px;
    width: auto;
    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;
}

.why-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.why-list li:hover {
    transform: translateX(5px);
    color: var(--primary-green);
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    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: var(--orange-vibrant);
    transform: scale(1.2) rotate(5deg);
}

.why-image-carousel-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    height: 500px;
    background: transparent;
}

.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: contain;
    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);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

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

.contact-title {
    font-size: 2.35rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    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: 1.05rem;
    color: var(--white);
    opacity: 0.95;
    line-height: 1.6;
    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: var(--spacing-xl);
    border-radius: 20px;
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 2px 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: 520px;
    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: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    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: 1rem 1.25rem;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 2px solid #037062;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px 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: 100px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg,
            #FF6D1F 0%,
            #e55a0f 50%,
            #d14a08 100%);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    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: var(--spacing-lg);
}

.footer-about {
    margin-bottom: var(--spacing-xl);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 700px;
    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);
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

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

.footer-column:last-child {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
    justify-content: center;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.15) 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    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: linear-gradient(135deg, var(--primary-green) 0%, var(--orange-vibrant) 100%);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    border-color: transparent;
}

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

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

.footer-bottom {
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.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: var(--spacing-sm);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.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: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0.5rem;
}

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

.footer-nav a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

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

.footer-nav .separator {
    color: var(--white);
    opacity: 0.6;
}

/* 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.3rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: var(--font-weight-extrabold);
    }

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

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

    .header-actions .btn {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

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

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

    .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);
    }

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

    .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: 1.1rem;
    }

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

    .header-actions {
        gap: 0.4rem;
    }

    .header-actions .btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .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-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;
    }

    .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 */
@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 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: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

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

    .header-actions {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: auto;
        min-width: max-content;
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        /* Make them same width */
        padding: 0.5rem;
        /* Minimized padding */
        box-shadow: -5px 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        gap: 0.5rem;
        border-radius: 0 0 0 12px;
    }

    .header-actions.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Compact button styling for mobile menu */
    .header-actions .btn,
    .header-actions .header-social {
        width: 100%;
        /* Stretch to container width */
        text-align: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0;
    }

    /* Facebook button styling in mobile menu */
    .header-actions .header-social {
        background-color: var(--primary-green);
        color: var(--white);
        border: none;
        order: -1;
        /* Optional: if you want it at top, but user didn't specify order */
    }

    .header-actions .header-social:hover {
        background-color: var(--green-vibrant);
    }

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

    /* Show Facebook text in mobile menu */
    .header-actions .header-social .social-text {
        display: inline;
        font-weight: bold;
        text-transform: uppercase;
        /* "FACEBOOK" */
    }

    /* Hamburger Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

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

/* Clean Location Form Card */
.location-form-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

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

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

.form-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    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: 14px 24px;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 109, 31, 0.3);
}

.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: 14px 24px;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.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: 10px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #1e40af;
    margin-bottom: 12px;
}

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

.map-info {
    background: #fff7ed;
    border-radius: 6px;
    padding: 12px;
    font-size: 0.875rem;
    color: #6b7280;
}

.map-info p {
    margin-bottom: 6px;
}

.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;
}

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

    #mapHome {
        height: 400px;
    }

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

    .form-input-group input {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .location-btn-primary,
    .location-btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* 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);
}