/* Custom Styles & Animations */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevent flash of unstyled content */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Mobile Menu Transitions */
#bar1 {
    transform-origin: left;
}

#bar2 {
    transform-origin: left;
}

#bar3 {
    transform-origin: left;
}

/* Hamburger Animation States */
.active #bar1 {
    transform: rotate(45deg);
}

.active #bar2 {
    opacity: 0;
}

.active #bar3 {
    transform: rotate(-45deg);
}

/* Mobile Menu State */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover effects for images */
img {
    transition: transform 0.7s ease;
}

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

::-webkit-scrollbar-track {
    background: #051A2E;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8edbc0;
}
