/* ===== BASE STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

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

.circle-2 {
    width: 200px;
    height: 200px;
    background: #ffd966;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
}

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

.square-1 {
    width: 120px;
    height: 120px;
    background: #ffd966;
    top: 60%;
    right: 8%;
    transform: rotate(30deg);
    border-radius: 20px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: #6ee7b7;
    border-radius: 50%;
    top: 10%;
    left: 15%;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #047857;
    bottom: 15%;
    right: 15%;
    transform: rotate(20deg);
}

/* ===== FLOATING CARDS ===== */
.floating-card {
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 0.5s;
}

.card-3 {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal="left"] {
    transform: translateX(-30px);
}

.reveal[data-reveal="right"] {
    transform: translateX(30px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ===== NAVBAR SCROLL STATE ===== */
.nav-scrolled {
    background: rgba(255, 251, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(5, 78, 59, 0.1);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* ===== BACK TO TOP ===== */
#backToTop {
    animation: fadeInUp 0.3s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
}

/* ===== 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[data-reveal] {
        opacity: 1;
        transform: none;
    }
}
