/* Custom Styles for L3 Academy */

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

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

::-webkit-scrollbar-track {
    background: #040d18;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Animation Classes */
.program-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover {
    transform: translateY(-8px);
}

/* Fade In Animation (for scroll reveal) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .program-card,
    .fade-in {
        transition: none;
        animation: none;
    }
    
    .program-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-midnight-900,
    .bg-midnight-950 {
        background: white !important;
    }
    
    .text-stone-100,
    .text-stone-300,
    .text-stone-400 {
        color: black !important;
    }
}

/* Mobile Menu Active State */
body.menu-open {
    overflow: hidden;
}
