*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #022c22 0%, #047857 40%, #065f46 70%, #022c22 100%);
}

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #fde68a;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #a7f3d0;
    bottom: 10%;
    left: 5%;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fde68a;
    top: 30%;
    left: 10%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #6ee7b7;
    top: 15%;
    right: 15%;
    transform: rotate(15deg);
}

.shape-square {
    width: 120px;
    height: 120px;
    background: #fde68a;
    bottom: 20%;
    right: 8%;
    transform: rotate(30deg);
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: #a7f3d0;
    top: 60%;
    left: 15%;
    transform: rotate(45deg);
}

.shape-arch {
    width: 200px;
    height: 100px;
    background: #fde68a;
    bottom: -20px;
    right: 25%;
    border-radius: 100px 100px 0 0;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll state */
#site-header.scrolled {
    background: rgba(253, 252, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(4, 120, 87, 0.1);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.25s 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: #fdfcf0;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}
