/* Modern School Website - 2026 */
:root {
    --primary-color: #4361ee;
    --primary-dark: #361b7a;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --success-color: #4ade80;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8f9fa;
    --dark-color: #1e293b;
    --gray-color: #6b7280;
    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #dedae9 100%);
    --gradient-secondary: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
    padding-top: 80px !important;
}

.gujarati-text {
    font-family: 'Noto Sans Gujarati', sans-serif;
}

/* ===== FIXED NAVBAR ===== */
.navbar {
    background: var(--gradient-primary) !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: var(--transition);
}

/* Logo & School Name */
.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.school-brand {
    margin-left: 5px;
}

.school-name {
    font-size: 1.1rem !important;
    line-height: 1.2;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 2px;
}

.school-subtitle {
    font-size: 0.85rem !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0;
}

.navbar {
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.nav-link.active {
    color: #ffd700 !important;
}

.active-dot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
}

.navbar {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.navbar .nav-link.active {
    color: #ffd700 !important;
    font-weight: 700;
}
.submenu {
    display: none;
    background: #2f5597;
}
/* Mobile Toggle Button */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


/* Navigation Links - HIGH VISIBILITY */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    margin: 0 4px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.25) !important;
    font-weight: 600;
}

/* Active Dot Indicator */
.active-dot {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    display: block;
}

/* Language Button */
.lang-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-weight: 500;
    padding: 6px 12px;
    transition: 0.3s ease;
}

.lang-btn:hover {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Dropdown Menu */
.lang-menu {
    min-width: 220px;
    border-radius: 10px;
    padding: 8px 0;
}

/* Dropdown Items */
.lang-menu .dropdown-item {
    padding: 10px 15px;
    transition: 0.2s ease;
}

.lang-menu .dropdown-item:hover {
    background: #f1f5ff;
}


/* Flag Icons */
.flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    background-size: cover;
    border-radius: 2px;
    margin-right: 8px;
}

.flag-us {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7410 3900"><path fill="#b22234" d="M0 0h7410v3900H0z"/><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"/><path fill="#3c3b6e" d="M0 0h2964v2100H0z"/><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"/><use xlink:href="#a" y="420"/><use xlink:href="#a" y="840"/><use xlink:href="#a" y="1260"/></g><use xlink:href="#a" y="1680"/></g><use xlink:href="#b" x="247" y="210"/></g><use xlink:href="#c" x="494"/></g><use xlink:href="#d" x="988"/><use xlink:href="#c" x="1976"/><use xlink:href="#e" x="2470"/></g></svg>');
}

.flag-in {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="#FF9933" d="M0 0h9v6H0z"/><path fill="#fff" d="M0 2h9v2H0z"/><path fill="#138808" d="M0 4h9v2H0z"/><circle cx="4.5" cy="3" r="1" fill="#000080"/><circle cx="4.5" cy="3" r="0.8" fill="#fff"/><circle cx="4.5" cy="3" r="0.3" fill="#000080"/><g fill="#000080"><path d="M4.5 1.5l0.4 1.2H6L4.8 3.2 5.2 4.5 4.5 3.7 3.8 4.5l0.4-1.3L3 2.7h1.1z"/></g></svg>');
}

/* Sidebar Toggle Button */
#sidebarToggle {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--primary-color) !important;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: 10px;
    transition: var(--transition);
}

#sidebarToggle:hover {
    background: white !important;
    transform: scale(1.05);
}

/* ===== SIDEBAR STYLING ===== */

/* Sidebar container with dark blue theme */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -10px 0 30px rgba(30, 60, 114, 0.15);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 3px solid #ffd700;
}

.sidebar.open {
    right: 0;
}

/* Sidebar header gradient */
.sidebar-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 1.5rem;
    flex-shrink: 0;
    border-bottom: 3px solid #ffd700 !important;
}

.sidebar-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-logo i {
    color: #1e3c72;
    font-size: 1.3rem;
}

/* Sidebar content */
.sidebar-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #f8fafc;
}

/* Sidebar sections */
.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-title {
    color: #1e3c72 !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffd700 !important;
    display: flex;
    align-items: center;
}

/* Sidebar menu with active states */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #2d3748;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.sidebar-link:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    transform: translateX(5px);
    border-left-color: #ffd700;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

.sidebar-link.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    font-weight: 600;
    border-left-color: #ffd700;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Contact items with gold accents */
.sidebar-contacts {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 3px 8px rgba(30, 60, 114, 0.3);
}

.contact-icon i {
    color: white;
    font-size: 1rem;
}

/* Quick action buttons */
.sidebar-section .btn {
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.sidebar-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Language buttons */
.btn-outline-primary {
    border: 2px solid #1e3c72 !important;
    color: #1e3c72 !important;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #1e3c72 !important;
    color: white !important;
}

.btn-outline-warning {
    border: 2px solid #ffd700 !important;
    color: #1e3c72 !important;
    font-weight: 600;
}

.btn-outline-warning:hover {
    background: #ffd700 !important;
    color: #1e3c72 !important;
}

/* Social icons */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Close button */
#closeSidebar {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white !important;
    border: 2px solid #ffd700 !important;
}

#closeSidebar:hover {
    background: #ffd700 !important;
    transform: rotate(90deg);
}

#closeSidebar i {
    color: #1e3c72;
}

/* Responsive sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }

    .sidebar.open {
        right: 0;
    }

    .sidebar-content {
        padding: 1rem;
    }

    .sidebar-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.95rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
}

/* Custom scrollbar for sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(30, 60, 114, 0.05);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

/* Animation for sidebar items */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-link,
.contact-item,
.btn {
    animation: slideInRight 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

/* Dark Blue Gradient Navbar */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #ffd700;
}

/* Active menu item */
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
    color: #1e3c72 !important;
    font-weight: 700;
}

/* Contact Items */
.sidebar-contacts {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1rem;
}

/* Social Icons */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.whatsapp {
    background: #25d366;
}

/* Close Button */
#closeSidebar {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Colors */
.text-pink {
    color: #e91e63 !important;
}

/* ===== MAIN CONTENT ===== */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card {
    border-left: 4px solid var(--primary-color);
}

.team-card {
    overflow: hidden;
}

.team-img {
    border: 3px solid var(--primary-color);
    padding: 3px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo-circle img {
    width: 40px;
    height: auto;
}


.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-link,
.contact-item,
.btn {
    animation: slideInRight 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-item img {
    transition: var(--transition);
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    border-left: 4px solid #4361ee;
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-content {
    display: flex;
    align-items: center;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    padding: 0 0 0 1rem;
}

.toast-close:hover {
    color: #64748b;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1199px) {
    .school-name {
        font-size: 1rem !important;
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.95rem;
        text-align: center;
    }

    .navbar-collapse {
        background: var(--primary-dark);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .sidebar {
        width: 300px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
        margin-top: -70px;
        padding-top: 70px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon i {
        font-size: 1.2rem;
    }

    .school-name {
        font-size: 0.9rem !important;
    }

    .school-subtitle {
        font-size: 0.8rem !important;
    }

    .sidebar {
        width: 100%;
        right: -100%;
    }

    .sidebar.open {
        right: 0;
    }

    .sidebar-content {
        padding: 1rem;
    }

    .contact-item {
        padding: 0.5rem 0;
    }

    .sidebar-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .school-name {
        font-size: 0.85rem !important;
    }

    .school-subtitle {
        display: none;
    }

    .nav-link {
        padding: 8px 12px !important;
        font-size: 0.9rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #f1f5f9;
    }

    .card {
        background-color: #1e293b;
        color: #f1f5f9;
    }

    .navbar {
        background: linear-gradient(135deg, #3a0ca3 0%, #2a0870 100%) !important;
    }
}