/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A5D2A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ── Decorative background blobs ── */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.blob-1 {
    width: 500px; height: 500px;
    background: #A5D3AB;
    top: -100px; right: -100px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: #6fb876;
    bottom: 20%; left: -80px;
    opacity: 0.2;
}
.blob-3 {
    width: 300px; height: 300px;
    background: #d0e8d3;
    top: 50%; right: 10%;
    opacity: 0.3;
}

/* ── Navbar ── */
#navbar {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 93, 42, 0.08);
}
#navbar.scrolled {
    box-shadow: 0 4px 24px rgba(26, 93, 42, 0.08);
}

/* ── Nav links ── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; width: 0; height: 2px;
    background: #1A5D2A;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}
.nav-link:hover::after { width: 60%; }

/* ── Floating stat cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -2s; }
.card-3 { animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ── Service cards ── */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1A5D2A, #6fb876);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }

/* ── Why us cards ── */
.why-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.why-card:hover { transform: translateY(-4px); }

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Mobile menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

/* ── Geometric accent shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
}
.geo-triangle {
    width: 0; height: 0;
    border-style: solid;
}
.geo-circle {
    border-radius: 50%;
}
