/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Mobile Menu */
.mobile-menu {
    background-color: #1e40af;
}

.mobile-menu .has-submenu .submenu {
    display: none;
}

.mobile-menu .has-submenu.active .submenu {
    display: block;
}

/* Back to Top Button */
#backToTop.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 6rem;
    }
    
    .mobile-menu .has-submenu .fa-chevron-down {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu .has-submenu.active .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Desktop Dropdown */
.group:hover .group-hover\:block {
    display: block;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}