/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #064E3B;
    background-color: #FFFDF7;
    overflow-x: hidden;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
    background: linear-gradient(135deg, #047857 0%, #059669 35%, #10B981 65%, #34D399 100%);
}

/* ─── Navbar ─── */
.nav-scrolled {
    background: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(5, 150, 105, 0.08);
    padding-top: 0;
    padding-bottom: 0;
}

.nav-scrolled .nav-link {
    color: #065F46;
}

.nav-scrolled .nav-link:hover {
    color: #059669;
}

.nav-scrolled .mobile-link {
    color: #065F46;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* ─── Input Fields ─── */
.input-field {
    border: 2px solid #D1FAE5;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9375rem;
    color: #064E3B;
    background: #FFFDF7;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #A7F3D0;
}

.input-field:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* ─── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal:nth-child(2) { transition-delay: 80ms; }
    .reveal:nth-child(3) { transition-delay: 160ms; }
    .reveal:nth-child(4) { transition-delay: 240ms; }
    .reveal:nth-child(5) { transition-delay: 320ms; }
    .reveal:nth-child(6) { transition-delay: 400ms; }

    @keyframes float {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-16px) scale(1.05); }
    }

    @keyframes float-delayed {
        0%, 100% { transform: translateY(0) rotate(12deg) scale(1); }
        50% { transform: translateY(-12px) rotate(12deg) scale(1.05); }
    }

    .animate-float {
        animation: float 4s ease-in-out infinite;
    }

    .animate-float-delayed {
        animation: float-delayed 5s ease-in-out infinite;
        animation-delay: 1.5s;
    }

    .testimonial-card {
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
    }
}

/* ─── Mobile Menu ─── */
#mobileMenu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFDF7;
}
::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}
