﻿/* School Theme Custom Variables - Dark Blue Identity */
:root {
    --school-primary: #0a2558; /* Primary dark navy matching emblem */
    --school-secondary: #0f347a; /* Deep navy blue */
    --school-gradient-end: #1d4ed8; /* Royal blue gradient & icon accent */
    --school-accent: #f59e0b; /* Warm amber contrast */
    --school-light: #f8fafc;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: var(--school-light);
}

/* Top utility bar */
.school-top-bar {
    background-color: #06183a; /* Deep dark navy topbar */
}

/* Navigation Customization - Dark Blue Theme */
.navbar-custom {
    background: var(--school-primary) !important;
    /*border-bottom: 3px solid var(--school-accent);*/
    box-shadow: 0 4px 15px rgba(10, 37, 88, 0.25);
}

    .navbar-custom .navbar-brand,
    .navbar-custom .brand-title {
        color: #ffffff !important;
    }

    .navbar-custom .brand-subtitle {
        color: rgba(255, 255, 255, 0.78) !important;
    }

    /* Ensure root menu items and icons are bright and visible on dark background */
    .navbar-custom .navbar-nav .nav-link {
        color: #ffffff !important;
        font-weight: 500;
        opacity: 0.92;
        transition: opacity 0.2s ease, color 0.2s ease;
    }

        .navbar-custom .navbar-nav .nav-link:hover,
        .navbar-custom .navbar-nav .nav-link:focus {
            color: var(--school-accent) !important;
            opacity: 1;
        }

    /* Submenu Hover Styling */
    .navbar-custom .dropdown-menu .dropdown-item:hover,
    .navbar-custom .dropdown-menu .dropdown-item:focus {
        background-color: var(--school-accent) !important;
        color: #06183a !important; /* Deep navy for high contrast against amber */
    }

/* Circular White Badge for School Emblem */
.logo-circle-badge {
    width: 68px;
    height: 68px;
    padding: 6px;
    border-radius: 50%;
    background-color: #ffffff;
   /* border: 2px solid var(--school-accent);*/
    box-shadow: 0 2px 8px rgba(6, 24, 58, 0.35);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

    .logo-circle-badge img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

/* Container adjustments for responsive alignment */
.brand-text-container {
    max-width: 240px;
    white-space: normal !important;
}

@media (min-width: 576px) {
    .brand-text-container {
        max-width: 340px;
    }
}

.brand-title {
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 700;
    display: block;
    word-break: break-word;
}

@media (min-width: 768px) {
    .brand-title {
        font-size: 1.1rem;
    }
}

.brand-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

main {
    flex: 1;
}

/* Footer Styling with Dark Blue Gradient */
.footer-custom {
    background: linear-gradient(135deg, #06183a 0%, #0a2558 55%, #1d4ed8 100%);
}

/* Components & Hero Banners */
.school-hero-banner {
    background: linear-gradient(135deg, #0a2558 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(10, 37, 88, 0.25);
}

.badge-school {
    background-color: var(--school-accent);
    color: #06183a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.icon-box {
    font-size: 1.8rem;
    color: var(--school-gradient-end);
}

@media(min-width: 992px) {
    .navbar-custom .offcanvas,
    .navbar-custom .offcanvas-body,
    .navbar-custom .navbar-collapse,
    .navbar-custom .menu-main-menu,
    .navbar-custom ul.navbar-nav {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}
