/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 252, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(5, 95, 70, 0.08);
}

.nav-link { position: relative; }

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

/* ========== HERO BLOBS ========== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px; height: 400px;
    background: rgba(16, 185, 129, 0.12);
    top: 10%; left: -5%;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px; height: 300px;
    background: rgba(253, 233, 176, 0.4);
    top: 40%; right: -3%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px; height: 200px;
    background: rgba(110, 231, 183, 0.2);
    bottom: 10%; left: 30%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ========== FLOATING CARDS ========== */
.floating-card {
    animation: float 4s ease-in-out infinite;
}
.card-float-1 { animation-delay: 0s; }
.card-float-2 { animation-delay: -1.3s; }
.card-float-3 { animation-delay: -2.6s; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ========== SCROLL INDICATOR ========== */
.scroll-dot {
    width: 3px; height: 10px;
    background: rgba(5, 150, 105, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 0;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    50% { top: 20px; opacity: 0.4; }
    100% { top: 0; opacity: 1; }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #34D399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::after {
    transform: scaleX(1);
}

/* ========== APPROACH CARDS ========== */
.approach-card {
    transition: transform 0.3s ease, background 0.3s ease;
}
.approach-card:hover {
    transform: translateY(-4px);
}

/* ========== PROCESS CARDS ========== */
.process-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(5, 95, 70, 0.1);
}

/* ========== FAQ ========== */
.faq-item {
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(5, 95, 70, 0.06);
}
.faq-btn { font-family: inherit; }
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-content.open {
    max-height: 300px;
}
.faq-content p {
    padding-top: 0.5rem;
}
.faq-icon {
    flex-shrink: 0;
}

/* ========== SCROLL REVEAL ========== */
.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; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .floating-card { animation: none; }
    .blob { animation: none; }
    .scroll-dot { animation: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .floating-card { display: none; }
}
