/* Custom CSS for Brain Logics Academy Website */

/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Active class for tabs */
.tab-btn.active {
    background-color: var(--tw-color-primary, #1e40af);
    color: white;
}

/* Custom gradients */
.bg-gradient-overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(14, 165, 233, 0.85));
}

/* Custom styles for course cards */
.course-card {
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Form focus effects */
input:focus, select:focus, textarea:focus {
    border-color: #1e40af;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
}

/* Add smooth scrolling to the entire page */
html {
    scroll-behavior: smooth;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    #mobile-menu {
        transition: all 0.3s ease;
    }
    
    #mobile-menu.hidden {
        display: none;
    }
}

/* Hero section overlay effect */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(14, 165, 233, 0.8));
    z-index: 1;
}

/* Custom social icons hover effect */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}
