/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navbar ── */
#navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
#navbar .menu-line { transition: all 0.3s ease; }
#navbar.menu-open .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#navbar.menu-open .menu-line:nth-child(2) { opacity: 0; }
#navbar.menu-open .menu-line:nth-child(3) { width: 5rem; margin-left: 0; }

/* ── Service Cards ── */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ── Approach Cards ── */
.approach-card {
    transition: transform 0.3s ease, background 0.3s ease;
}
.approach-card:hover {
    transform: translateY(-4px);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* ── Mobile Menu Animation ── */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Input Focus States ── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ── Selection ── */
::selection { background: #99f6e4; color: #134e4a; }
</style>
