/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #00603a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004d2e;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar Scroll State */
.nav-scrolled {
    background-color: rgba(0, 96, 58, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Hero Background Animation */
@keyframes slow-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.animate-slow-zoom {
    animation: slow-zoom 20s infinite alternate ease-in-out;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Pattern Dots Background */
.pattern-dots {
    background-image: radial-gradient(#FFD700 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Text Selection Color */
::selection {
    background-color: #FFD700;
    color: #00603a;
}

/* Mobile Menu Transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease-in-out;
    opacity: 0;
}

#mobile-menu.is-open {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
}

/* Button Hover Effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.btn-hover-effect:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#mobile-menu-btn.is-open .icon-open {
    display: none;
}

#mobile-menu-btn.is-open .icon-close {
    display: block;
}

#mobile-menu-btn .icon-close {
    display: none;
}
