/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVBAR SCROLL ===== */
.nav-scrolled {
    background: rgba(255, 254, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

/* ===== HERO DECORATIVE ANIMATION ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.03); }
}
.hero-blob {
    animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
    animation: float 10s ease-in-out infinite reverse;
}

/* ===== BUTTON HOVER GLOW ===== */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* ===== CARD RIPPLE ===== */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(16, 185, 129, 0.04));
    pointer-events: none;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF9EC; }
::-webkit-scrollbar-thumb { background: #A7F3D0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6EE7B7; }

/* ===== MOBILE MENU TRANSITION ===== */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== GALLERY HOVER ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.07);
}
.gallery-item:hover::after {
    opacity: 1;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
