/* ==========================================================================
   B.S. PUBLIC SCHOOL & A.H. INTERNATIONAL SCHOOL
   Official Theme Stylesheet - Royal Navy & Golden Amber
   ========================================================================== */

/* Custom Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Playfair+Display:ital,wght@0,700;1,500;1,600;1,700&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Hind:wght@500;700&display=swap');

:root {
    --primary-color: #0b3764;      /* Royal Navy Blue */
    --primary-dark: #072545;       /* Deep Navy */
    --primary-light: #164e8c;      /* Soft Royal Blue */
    --accent-color: #f5a623;       /* Warm Golden Amber */
    --accent-hover: #d98d12;       /* Deep Amber */
    --gold: #f5a623;
    --gold-light: #fef6e7;
    --navy: #0b3764;
    --navy-dark: #072545;
    --navy-deep: #051a30;
    --text-color: #2D3436;
    --text-muted: #636e72;
    --light-bg: #F4F8FB;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --header-navy: #08325a;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--navy-dark);
}

.hindi-font {
    font-family: 'Hind', sans-serif;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 6px 0;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.top-link i {
    color: var(--accent-color);
}

.top-link:hover {
    color: var(--accent-color);
}

.top-divider {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 12px;
}

.top-social-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: 0.3s;
}

.top-social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   MAIN HEADER BRANDING (Matching Reference Mockup)
   ========================================================================== */
.main-header-area {
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
}

.header-brand-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.header-logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-wrap {
    display: inline-block;
    transition: 0.3s;
}

.header-logo-wrap:hover {
    transform: scale(1.04);
}

.school-logo-img {
    height: 185px; /* Large, prominent size matching mockup */
    width: 185px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(0, 35, 70, 0.12));
    transition: transform 0.3s ease;
}

.school-brand-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
}

.school-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--header-navy);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;
}

.and-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 6px 0;
}

.and-separator .gold-rule {
    height: 2.5px;
    width: 85px;
    background: var(--accent-color);
    border-radius: 2px;
}

.and-separator .and-tag {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--header-navy);
    letter-spacing: 3.5px;
}

.school-motto {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.55rem;
    color: #1a426e;
    letter-spacing: 1.8px;
    margin-top: 6px;
}

.motto-divider {
    color: var(--accent-color);
    margin: 0 14px;
    font-style: normal;
    font-weight: 700;
}

.btn-mobile-nav {
    background: var(--header-navy);
    color: #ffffff;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 18px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-navbar {
    background: var(--header-navy);
    padding: 0;
    border-bottom: 3.5px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(7, 37, 69, 0.15);
    z-index: 1030;
}

.site-navbar > .container {
    padding-left: 0;
    padding-right: 0;
}

.site-navbar .navbar-nav {
    display: flex;
    align-items: stretch;
}

.site-navbar .nav-item {
    display: flex;
    align-items: stretch;
}

.site-navbar .nav-link {
    font-weight: 600;
    color: #ffffff !important;
    padding: 16px 22px !important;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    letter-spacing: 0.4px;
    position: relative;
}

.site-navbar .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.08);
}

.site-navbar .nav-link.active {
    color: var(--accent-color) !important;
}

/* Distinct Gold Home Button (From Mockup Image) */
.site-navbar .nav-item-home .nav-link.home-btn {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 16px 30px !important;
    font-size: 16px;
}

.site-navbar .nav-item-home .nav-link.home-btn:hover {
    background: var(--accent-hover) !important;
    color: #ffffff !important;
}

/* Navbar Dropdown */
.site-navbar .dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 8px 0;
    margin-top: 0;
}

.site-navbar .dropdown-item {
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy-dark) !important;
    transition: 0.25s;
}

.site-navbar .dropdown-item:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding-left: 28px;
}

.site-navbar .dropdown-item i {
    width: 22px;
    transition: 0.2s;
}

.site-navbar .dropdown-item:hover i {
    color: var(--accent-color) !important;
}

.btn-apply-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    transition: 0.3s;
}

.btn-apply-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 166, 35, 0.6);
}

/* ==========================================================================
   BUTTONS & CARDS
   ========================================================================== */
.btn-admission {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
    display: inline-block;
    text-decoration: none;
}

.btn-admission:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #b87508 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5);
    color: var(--white);
}

.btn-primary-theme {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 18px rgba(11, 55, 100, 0.3);
}

.btn-primary-theme:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.carousel-item {
    height: 75vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 37, 69, 0.8) 0%, rgba(11, 55, 100, 0.5) 100%);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
}

.carousel-caption .subtitle {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 12px;
    background: rgba(245, 166, 35, 0.15);
    padding: 4px 16px;
    border-radius: 20px;
    border-left: 3px solid var(--accent-color);
}

.carousel-caption h2 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.carousel-caption p {
    font-size: 1.25rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
}

/* Ticker Marquee */
.ticker-badge {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 10px 24px;
    font-weight: 800;
    border-radius: 0 25px 25px 0;
}

/* ==========================================================================
   SECTIONS & SECTION TITLES
   ========================================================================== */
.section-padding {
    padding: 90px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.section-title .subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.section-title .line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    display: inline-block;
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 38px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 55, 100, 0.06);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(11, 55, 100, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(11, 55, 100, 0.2);
    border-color: transparent;
}

.feature-card:hover h4, 
.feature-card:hover h5, 
.feature-card:hover p {
    color: var(--white) !important;
}

.feature-card:hover .icon {
    color: var(--accent-color) !important;
    transform: scale(1.1) rotate(5deg);
}

.feature-card .icon {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: 0.4s;
}

/* Gallery Cards */
.gallery-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 8px 25px rgba(11, 55, 100, 0.08);
    border: 1px solid rgba(11, 55, 100, 0.08);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 55, 100, 0.18);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-content {
    padding: 16px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
}

.gallery-content h4 {
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 1.2rem;
    font-weight: 700;
}

.gallery-card:hover .gallery-content {
    background: var(--primary-color);
}

.gallery-card:hover h4,
.gallery-card:hover p {
    color: #ffffff !important;
}

/* Owl Nav & Dots */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color) !important;
    color: white !important;
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    font-size: 22px !important;
    box-shadow: 0 6px 18px rgba(11, 55, 100, 0.3);
    transition: 0.3s !important;
}

.owl-nav button:hover {
    background: var(--accent-color) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-50%) scale(1.1);
}

.owl-nav .owl-prev { left: -25px; }
.owl-nav .owl-next { right: -25px; }

.owl-dot.active span {
    background: var(--accent-color) !important;
    width: 32px !important;
}

/* Principal Section Image */
.principal-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary-color);
    border: 4px solid #ffffff;
}

/* Award Card */
.award-card {
    border-radius: 18px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(11, 55, 100, 0.1);
}

.award-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-icon {
    transition: 0.4s;
    color: var(--accent-color) !important;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(11, 55, 100, 0.15);
}

.award-card:hover .award-icon {
    transform: scale(1.15) rotate(10deg);
}

/* ==========================================================================
   DAIS-STYLE PRESTIGIOUS INSTITUTIONAL DUAL-CAMPUS FOOTER
   ========================================================================== */
footer.dais-footer {
    background-color: #004b91; /* Exact DAIS Royal Blue */
    color: #ffffff;
    padding: 0;
    border-top: 4px solid var(--accent-color, #f5a623);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Top Campus Indicator Bar (Like DAIS | NMAJS) */
.dais-campus-topbar {
    background: #00366b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.dais-campus-topbar .campus-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 14px;
    border-radius: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.dais-campus-topbar .campus-pill:hover,
.dais-campus-topbar .campus-pill.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.dais-campus-topbar .campus-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

/* Main Footer Section */
.dais-footer-main {
    padding: 65px 0 45px;
}

/* Left Brand Column */
.dais-footer-brand {
    padding-right: 20px;
}
.dais-logo-cluster {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.dais-logo-frame {
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: inline-block;
    transition: transform 0.25s ease;
}
.dais-logo-frame:hover {
    transform: translateY(-3px) scale(1.03);
}
.dais-logo-frame img {
    height: 72px;
    width: 72px;
    object-fit: contain;
}
.dais-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.dais-brand-estd {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #f5a623;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.dais-brand-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 22px;
}

/* Navigation Links Columns */
.dais-links-col h6 {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.dais-links-col h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #f5a623;
}
.dais-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dais-links-list li {
    margin-bottom: 11px;
}
.dais-links-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: inline-block;
}
.dais-links-list li a:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Right Section: The Two Schools Detailed Information Cards */
.dais-school-details-col {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 32px;
}
.dais-school-card {
    background: rgba(0, 42, 86, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.dais-school-card:hover {
    background: rgba(0, 42, 86, 0.75);
    border-color: rgba(245, 166, 35, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.dais-school-card .school-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}
.dais-school-card .badge-bsps {
    background: rgba(245, 166, 35, 0.25);
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, 0.5);
}
.dais-school-card .badge-ahis {
    background: rgba(0, 180, 216, 0.25);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.5);
}
.dais-school-card h5 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.4px;
}
.dais-school-card .school-meta {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    margin-bottom: 5px;
}
.dais-school-card .school-meta i {
    width: 20px;
    color: #f5a623;
    margin-right: 4px;
}
.dais-school-card a.meta-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}
.dais-school-card a.meta-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Social & Copyright in Right Column */
.dais-social-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 14px;
}
.dais-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.dais-social-btn:hover {
    background: #ffffff;
    color: #004b91;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.dais-copyright-text {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/* Sub-footer (Bottom Bar like DAIS) */
.dais-subfooter {
    background: #002e5b; /* Deep Dark Contrast Navy */
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.75);
}
.dais-subfooter a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.dais-subfooter a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.dais-subfooter .sub-sep {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.3);
}
.dais-subfooter .more-campuses-link {
    color: #f5a623;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.dais-subfooter .more-campuses-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .dais-school-details-col {
        border-left: none;
        padding-left: 0;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 25px;
    }
    .dais-footer-brand {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .dais-subfooter .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1399px) {
    .header-brand-cluster {
        gap: 32px;
    }
    .school-title {
        font-size: 2.75rem;
    }
    .school-logo-img {
        height: 165px;
        width: 165px;
    }
    .school-motto {
        font-size: 1.35rem;
    }
    .and-separator .gold-rule {
        width: 70px;
    }
    .site-navbar .nav-link {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    .site-navbar .nav-item-home .nav-link.home-btn {
        padding: 14px 22px !important;
    }
}

@media (max-width: 1199px) {
    .header-brand-cluster {
        gap: 24px;
    }
    .school-title {
        font-size: 2.2rem;
    }
    .school-logo-img {
        height: 135px;
        width: 135px;
    }
    .school-motto {
        font-size: 1.15rem;
    }
    .and-separator .gold-rule {
        width: 55px;
    }
}

@media (max-width: 991px) {
    .header-brand-cluster {
        gap: 16px;
    }
    .top-bar {
        font-size: 12px;
    }
    .school-logo-img {
        height: 95px;
        width: 95px;
    }
    .school-title {
        font-size: 1.55rem;
        letter-spacing: 1px;
    }
    .and-separator {
        gap: 10px;
        margin: 3px 0;
    }
    .and-separator .gold-rule {
        width: 40px;
    }
    .and-separator .and-tag {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    .school-motto {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    .site-navbar {
        padding: 6px 0;
    }
    .site-navbar .nav-link {
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .site-navbar .nav-item-home .nav-link.home-btn {
        border-radius: 4px;
        margin-bottom: 4px;
    }
    .carousel-caption h2 {
        font-size: 2.3rem;
    }
    .carousel-item {
        height: 480px;
    }
}

@media (max-width: 576px) {
    .header-brand-cluster {
        gap: 10px;
    }
    .school-logo-img {
        height: 62px;
        width: 62px;
    }
    .school-title {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }
    .and-separator .gold-rule {
        width: 25px;
    }
    .and-separator .and-tag {
        font-size: 0.7rem;
    }
    .school-motto {
        font-size: 0.72rem;
        letter-spacing: 0;
    }
    .motto-divider {
        margin: 0 6px;
    }
}

/* ==========================================================================
   IMPORTANT SITES SECTION (Controlled via Admin Panel)
   ========================================================================== */
.imp-sites-section {
    position: relative;
    background: #f8fafc;
    padding: 38px 0 28px;
    overflow: hidden;
}

.imp-border-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #10b981, #3b82f6);
    background-size: 300% 100%;
    animation: impFlowGradient 8s ease infinite;
    z-index: 2;
}

.imp-border-top {
    top: 0;
}

.imp-border-bottom {
    bottom: 0;
}

@keyframes impFlowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.imp-sites-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.imp-sites-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.imp-sites-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #0b3764;
    background: #ffffff;
    padding: 8px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(11, 55, 100, 0.08);
    border: 1.5px solid #e2e8f0;
    letter-spacing: 0.5px;
}

.imp-sites-badge .imp-globe-icon {
    font-size: 1.3rem;
    color: #2563eb;
    display: inline-block;
    animation: impGlobePulse 2.5s infinite ease-in-out;
}

@keyframes impGlobePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.imp-site-card {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 10px 5px;
    transition: all 0.3s ease;
}

.imp-circle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.imp-site-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border: 3px solid #ffffff;
    outline: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.imp-site-circle img {
    max-width: 92px !important;
    max-height: 78px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
    transition: transform 0.35s ease;
    display: inline-block !important;
}

.imp-site-card:hover .imp-site-circle {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 30px rgba(11, 55, 100, 0.16);
    outline-color: #f5a623;
}

.imp-site-card:hover .imp-site-circle img {
    transform: scale(1.08);
}

.imp-site-title {
    font-size: 12px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.35;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.imp-site-card:hover .imp-site-title {
    color: #0b3764;
}

/* Owl Carousel Dots for Important Sites */
#importantSitesCarousel .owl-dots {
    margin-top: 18px;
    text-align: center;
}

#importantSitesCarousel .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 4px 5px;
    background: #cbd5e1;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#importantSitesCarousel .owl-dot.active span {
    background: #0b3764;
    width: 24px;
    border-radius: 10px;
}

