/* Custom geometric shapes and animations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #48BB78, #38A169);
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #68D391, #48BB78);
    bottom: 20%;
    left: -50px;
    animation-delay: -5s;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(72, 187, 120, 0.1);
    top: 30%;
    left: 5%;
    animation: rotate 25s linear infinite;
}

.geo-diamond {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(104, 211, 145, 0.15), rgba(72, 187, 120, 0.05));
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: float 15s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(72, 187, 120, 0.2);
    bottom: 30%;
    right: 20%;
    animation: rotate 20s linear infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

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

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

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

#mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    width: 1.5rem;
}

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #48BB78, #38A169);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #68D391, #48BB78);
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #48BB78;
    outline-offset: 2px;
}

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