/* Modern School Website Custom CSS */

:root {
    --primary-color: #003066; /* Deep Blue */
    --secondary-color: #f8f9fa; /* Light Gray */
    --accent-color: #ffc107; /* Warning Yellow */
    --text-color: #333333;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Typography & Colors */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Custom Utilities */
.hover-primary:hover { color: var(--primary-color) !important; }
.hover-bg-light:hover { background-color: #f8f9fa !important; }
.transition-all { transition: all 0.3s ease; }
.ls-1 { letter-spacing: 1px; }

/* Top Bar */
.top-bar-custom {
    font-size: 0.85rem;
}
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.social-icon:hover {
    background-color: var(--accent-color);
    color: #000 !important;
}

/* Navbar */
.main-nav {
    border-bottom: 2px solid var(--accent-color);
    background: #fff;
}
.nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0px;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 10%;
    background-color: var(--accent-color);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 80%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(40,167,69,0.4) !important;
    color: white;
}

/* Animations */
.animation-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Cards & Components */
.card {
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0, 48, 102, 0.8), rgba(0, 48, 102, 0.8)), url('https://images.unsplash.com/photo-1590400589632-4777b7385966?q=80&w=1500&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

/* Mobile Menu Enhancements (Previous Working Version) */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: #fff;
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border: 1px solid rgba(0,48,102,0.1);
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f8f9fa;
        width: 100%;
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        border-radius: 6px;
        color: #333 !important;
    }
    .navbar-nav .nav-link:hover {
        background: linear-gradient(90deg, var(--primary-color), #0056b3) !important;
        color: #fff !important;
        padding-left: 20px !important;
    }
    .navbar-nav .nav-link::after {
        display: none !important;
    }
    .navbar-nav .nav-link::before {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        order: 2;
        opacity: 0.5;
    }
    .navbar-nav .nav-link:hover::before {
        opacity: 1;
    }
}