/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Geometric Background Shapes */
.hero-geo {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-square-1 {
    width: 120px;
    height: 120px;
    background: #059669;
    border-radius: 20px;
    top: 25%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 12s linear infinite;
}

.hero-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #6ee7b7;
    top: 60%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

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

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

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

/* Selection color */
::selection {
    background-color: #059669;
    color: white;
}
