/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.circle-1 {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #F5C518;
    top: -80px;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #F9F7EE;
    bottom: 20%;
    left: 3%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #F5C518;
    top: 40%;
    right: 15%;
    animation: float 5s ease-in-out infinite;
}

.square-1 {
    width: 120px;
    height: 120px;
    background: #F9F7EE;
    top: 15%;
    left: 8%;
    border-radius: 24px;
    transform: rotate(15deg);
    animation: spin-slow 12s linear infinite;
}

.square-2 {
    width: 80px;
    height: 80px;
    background: #F5C518;
    bottom: 15%;
    right: 8%;
    border-radius: 16px;
    transform: rotate(-10deg);
    animation: spin-slow 8s linear infinite reverse;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #F9F7EE;
    top: 60%;
    left: 12%;
    animation: float 7s ease-in-out infinite;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid #F5C518;
    top: 25%;
    right: 25%;
    animation: float 9s ease-in-out infinite reverse;
}

.dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #F9F7EE 2px, transparent 2px);
    background-size: 16px 16px;
    bottom: 30%;
    right: 5%;
    opacity: 0.2;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 252, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(4, 120, 87, 0.1);
}

/* Program card hover */
.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-6px);
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Selection color */
::selection {
    background: #047857;
    color: #FDFCF7;
}

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

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

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

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

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Print styles */
@media print {
    #navbar, #mobile-menu, .geo-shape {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
