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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #d1fae5;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fde68a;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #a7f3d0;
    top: 30%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #fef3c7;
    bottom: 25%;
    right: 12%;
    transform: rotate(20deg);
    animation: float-slow 12s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #6ee7b7;
    top: 20%;
    right: 15%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.shape-diamond-1 {
    width: 60px;
    height: 60px;
    background: #fcd34d;
    top: 60%;
    left: 15%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite reverse;
}

.shape-ring-1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #86efac;
    top: 40%;
    left: 3%;
    animation: float-slow 16s ease-in-out infinite;
}

.shape-stripe-1 {
    width: 200px;
    height: 8px;
    background: linear-gradient(90deg, transparent, #a7f3d0, transparent);
    top: 70%;
    right: 5%;
    transform: rotate(-15deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.shape-stripe-2 {
    width: 160px;
    height: 6px;
    background: linear-gradient(90deg, transparent, #fde68a, transparent);
    bottom: 35%;
    left: 20%;
    transform: rotate(10deg);
    animation: float-slow 13s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .shape-circle-1,
    .shape-circle-2,
    .shape-square-1,
    .shape-square-2,
    .shape-triangle-1,
    .shape-diamond-1,
    .shape-ring-1,
    .shape-stripe-1,
    .shape-stripe-2 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        transition: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 5px;
}

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