/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Geometric Background Shapes */
.geometric-shapes {
    z-index: 0;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #3c6630;
    top: 15%;
    right: -80px;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: #38bdf8;
    bottom: 30%;
    left: -40px;
}

.shape-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #fb7185;
    opacity: 0.05;
    top: 55%;
    right: 10%;
    transform: rotate(15deg);
}

.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #f59e0b;
    opacity: 0.05;
    top: 40%;
    left: 5%;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: #3c6630;
    opacity: 0.04;
    bottom: 10%;
    right: 25%;
    border-radius: 50%;
}

/* Hero Geometric Elements */
.hero-geo {
    position: absolute;
    opacity: 0.12;
}

.hero-geo-1 {
    width: 300px;
    height: 300px;
    background: #fefdf8;
    border-radius: 50%;
    top: -60px;
    left: -80px;
}

.hero-geo-2 {
    width: 180px;
    height: 180px;
    background: #38bdf8;
    border-radius: 50%;
    top: 20%;
    right: 5%;
    opacity: 0.08;
}

.hero-geo-3 {
    width: 120px;
    height: 120px;
    background: #fb7185;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    opacity: 0.1;
}

.hero-geo-4 {
    width: 80px;
    height: 80px;
    background: #f59e0b;
    border-radius: 50%;
    bottom: 15%;
    right: 15%;
    opacity: 0.15;
}

.hero-geo-5 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(254, 253, 248, 0.2);
    border-radius: 50%;
    top: 10%;
    right: 20%;
    opacity: 0.3;
}

/* Scroll Line Animation */
.scroll-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(254, 253, 248, 0.6));
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* Program Card Hover */
.program-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.program-card[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

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

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

/* Navbar Scrolled State */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(31, 52, 26, 0.08);
}

/* 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="hidden"],
    .program-card[data-reveal="hidden"] {
        opacity: 1;
        transform: none;
    }
}

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

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

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

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