/*
Theme Name: Eklavya Academy
Theme URI: https://eklavyaacademy.com
Author: TechMates Solutions
Author URI: https://techmates-solutions.com
Description: Custom theme for Eklavya Academy built with Tailwind CSS (CDN).
Version: 1.0
Text Domain: eklavya
*/

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1e40af; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #1e3a8a; }

/* Mobile Menu Transition */
.mobile-menu { transition: transform 0.3s ease-in-out; transform: translateX(100%); }
.mobile-menu.open { transform: translateX(0); }

/* Footer Accordion */
.footer-accordion-content { transition: max-height 0.3s ease-out, opacity 0.3s ease-out; max-height: 0; opacity: 0; overflow: hidden; }
.footer-accordion-content.open { max-height: 500px; opacity: 1; }
@media (min-width: 1024px) { .footer-accordion-content { max-height: none; opacity: 1; overflow: visible; } }

/* Hide scrollbar for carousel but keep functionality */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
/* --- MOBILE MENU FIXES --- */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); /* Hides menu off-screen to the right */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16rem;
    background-color: white;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    z-index: 100; /* Ensure it sits on top of everything */
}

/* This class is added by JS to show the menu */
.mobile-menu.open {
    transform: translateX(0); /* Brings menu on-screen */
}