
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Kaushan+Script&display=swap');
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #e2f0c6;
}
/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}
/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    position: relative;
    z-index: 100;
}

.mobile-menu-btn::before,
.mobile-menu-btn::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #334b41;
    transition: all 0.3s ease;
}

.mobile-menu-btn::before {
    top: 6px;
}

.mobile-menu-btn::after {
    bottom: 6px;
}

.mobile-menu-btn span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #334b41;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-btn.active span {
    opacity: 0;
}
nav ul {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    nav.active {
        max-height: 500px;
        padding: 1rem;
        visibility: visible;
    }

    nav:not(.active) {
        visibility: hidden;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        visibility: inherit;
    }
}
header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, padding 0.2s ease-out;
    will-change: transform;
}

header.hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in;
}
header .container {
    max-width: 1200px;
}

header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: rotate(15deg);
}
nav ul {
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 480px) {
    nav ul {
        gap: 0.75rem;
    }
    
    nav li {
        flex: 1 0 40%;
        text-align: center;
    }
}
nav a {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8fae4e;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}
/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Scroll padding to account for fixed header */
:target {
    scroll-margin-top: 100px;
}

/* Contact section styling */
#contact {
    scroll-margin-top: 100px;
}

#contact a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

#contact a:hover {
    background-color: #f8fafc;
    border-color: #8fae4e;
    transform: translateY(-2px);
}
/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Smooth scroll target */
section {
    scroll-margin-top: 100px;
}

/* How It Works section styling */
#how-it-works {
    position: relative;
}

#how-it-works::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #8fae4e, #a7a24e);
    margin: 1rem auto 0;
    border-radius: 2px;
}
