/* Base styles & resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 254, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 150, 105, 0.1);
}

.nav-scrolled .nav-link {
    color: #064e3b;
}

.nav-scrolled .nav-logo-text {
    color: #064e3b;
}

/* Scroll animations */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate[data-animate] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-animate[data-animate] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.faq-btn:hover .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content.open {
    max-height: 200px;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ecfdf5;
}

::-webkit-scrollbar-thumb {
    background: #6ee7b7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    background: #fffef8;
}

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}
