/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    background: #1a2233;
    color: #e6eaf3;
    padding: 0 0 0 0;
    font-size: 1rem;
    margin-top: 0;
}

.site-footer .container {
    padding-top: 48px;
    padding-bottom: 18px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 32px;
    justify-content: space-between;
    border-bottom: 1.5px solid #2c3447;
    padding-bottom: 32px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 340px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 6px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 2px 0;
}

.footer-desc {
    font-size: 1rem;
    color: #b6c2d6;
    margin-bottom: 0;
}

.footer-col-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-link-list a {
    color: #e6eaf3;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-link-list a:hover {
    color: #4fc3f7;
    text-decoration: underline;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-contact-list i {
    color: #4fc3f7;
    margin-right: 8px;
    font-size: 1.1em;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
}

.footer-copyright {
    font-size: 0.98rem;
    color: #b6c2d6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #e6eaf3;
    font-size: 1.25rem;
    transition: color 0.18s;
}

.footer-social a:hover {
    color: #4fc3f7;
}

@media (max-width: 991.98px) {
    .footer-main {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .footer-col {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-footer .container {
        padding-top: 18px;
        padding-bottom: 6px;
    }

    .footer-main {
        padding-bottom: 10px;
        gap: 16px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-col-title {
        font-size: 0.95rem;
    }

    .footer-desc {
        font-size: 0.88rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        padding-top: 6px;
        align-items: flex-start;
    }

    .footer-col {
        min-width: 0;
        max-width: 100%;
    }

    .footer-logo {
        width: 40px;
        height: 40px;
    }

    .footer-social a {
        font-size: 1.1rem;
    }
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-section {
    background: #f8fafc;
    padding: 0 0 48px 0;
    margin-top: 0;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-section {
    background: #f8fafc;
    padding: 0 0 48px 0;
    margin-top: 0;
}

.contact-map-wrap {
    width: 100%;
    background: #e5eaf2;
    border-bottom: 1px solid #e2e6ea;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 400px;
    overflow: hidden;
}

.contact-map-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.contact-info-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    background: #fff;
    box-shadow: 0 4px 32px rgba(20, 127, 209, 0.08);
    border-radius: 12px;
    margin: -60px auto 0 auto;
    padding: 32px 40px;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.contact-info-box {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
    border-right: 1px solid #e7eaf0;
    padding: 0 18px;
}

.contact-info-box:last-child {
    border-right: none;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: #f7fafd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(20, 127, 209, 0.10);
    font-size: 2rem;
}

.contact-info-label {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.contact-info-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .contact-info-bar {
        flex-direction: column;
        gap: 18px;
        padding: 24px 10px;
    }

    .contact-info-box {
        border-right: none;
        border-bottom: 1px solid #e7eaf0;
        min-width: 0;
        padding: 12px 0;
    }

    .contact-info-box:last-child {
        border-bottom: none;
    }

    .footer-main {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }

    .footer-col {
        max-width: 100%;
    }
}

/* General fix: prevent horizontal scroll on mobile */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Responsive: fix grid/flex for teachers, committee, stats, gallery */
@media (max-width: 767.98px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .committee-section-head,
    .stats-section-head,
    .gallery-section-head,
    .best-students-head {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .stats-circles-wrap {
        gap: 12px;
    }

    .stat-circle {
        width: 110px;
        height: 110px;
    }

    .gallery-section-title,
    .committee-section-title,
    .stats-section-title {
        font-size: 1.1rem;
    }

    .gallery-item,
    .student-item {
        padding: 0 2px;
    }

    .gallery-caption p {
        font-size: 0.8rem;
    }

    .committee-card {
        padding: 16px 8px 12px;
    }

    .committee-photo-wrap {
        width: 120px !important;
        height: 120px !important;
    }

    .student-photo-wrap {
        width: 90%;
        margin-top: 8px;
    }

    .student-card {
        border-radius: 10px;
    }

    .student-info {
        padding: 10px 4px 8px;
    }

    .student-name {
        font-size: 0.92rem;
    }

    .student-class {
        font-size: 0.75rem;
    }

    .student-meta {
        font-size: 0.72rem;
        gap: 6px;
    }
}

@media (max-width: 400px) {
    .footer-main {
        gap: 8px;
    }

    .footer-title {
        font-size: 0.92rem;
    }

    .footer-col-title {
        font-size: 0.85rem;
    }

    .footer-desc {
        font-size: 0.8rem;
    }

    .footer-logo {
        width: 32px;
        height: 32px;
    }

    .footer-social a {
        font-size: 1rem;
    }


    .contact-info-label {
        font-size: 0.98rem;
    }

    .contact-info-text {
        font-size: 0.92rem;
    }
}

.contact-map-wrap {
    width: 100%;
    background: #e5eaf2;
    border-bottom: 1px solid #e2e6ea;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 400px;
    overflow: hidden;
}

.contact-map-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.contact-info-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    background: #fff;
    box-shadow: 0 4px 32px rgba(20, 127, 209, 0.08);
    border-radius: 12px;
    margin: -60px auto 0 auto;
    padding: 32px 40px;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.contact-info-box {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
    border-right: 1px solid #e7eaf0;
    padding: 0 18px;
}

.contact-info-box:last-child {
    border-right: none;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: #f7fafd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(20, 127, 209, 0.10);
    font-size: 2rem;
}

.contact-info-label {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.contact-info-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .contact-info-bar {
        flex-direction: column;
        gap: 18px;
        padding: 24px 10px;
    }

    .contact-info-box {
        border-right: none;
        border-bottom: 1px solid #e7eaf0;
        min-width: 0;
        padding: 12px 0;
    }

    .contact-info-box:last-child {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {
    .contact-section {
        padding-bottom: 24px;
    }

    .contact-info-bar {
        padding: 12px 2px;
        border-radius: 8px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .contact-info-label {
        font-size: 0.98rem;
    }

    .contact-info-text {
        font-size: 0.92rem;
    }
}

:root {
    --header-bg: #f2f4f5;
    --brand-green: #147fd1;
    --brand-green-dark: #106ab0;
    --muted-gray: #6f7580;
    --ink: #21252f;
    --panel: #ffffff;
}

body {
    font-family: "Noto Sans Bengali", sans-serif;
    background: radial-gradient(circle at top right, #f7faf8 0%, #eff1f3 45%, #ebedef 100%);
    color: var(--ink);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1260px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1380px;
    }
}

.header-shell {
    background: var(--header-bg);
    border-bottom: 1px solid #e2e6ea;
}

.top-strip {
    min-height: 48px;
    border-bottom: 1px solid #e1e6ee;
    background: transparent;
    padding: 8px 2px;
    margin-top: 0;
}

.meta-item {
    font-size: 1.2rem;
}

.main-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--header-bg, #fff);
    /* fallback to white */
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e6ea;
    transition: box-shadow 0.25s, background 0.25s, transform 0.25s, padding 0.25s;
}

.main-nav-wrap.navbar-open {
    box-shadow: 0 10px 24px rgba(18, 31, 49, 0.14);
}

.main-nav-wrap.navbar-open .school-nav {
    box-shadow: none;
}

.school-nav {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #ffffff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e0e7f0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: -2px;
    line-height: 1.1;
}

.school-nav #mainNav {
    min-width: 0;
}

.school-nav #mainNav .navbar-nav {
    gap: 0.2rem;
}

.school-nav #mainNav .nav-link {
    color: #2a3039;
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.6rem 0.68rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.18s ease;
    border: 1px solid transparent;
}

.school-nav #mainNav .nav-link:hover,
.school-nav #mainNav .nav-link:focus {
    color: var(--brand-green-dark);
    background: #eaf4ff;
    border-color: #d4e8fb;
}

.school-nav #mainNav .nav-link.active {
    color: #fff;
    background: var(--brand-green);
    border-color: var(--brand-green);
    box-shadow: 0 8px 16px rgba(20, 127, 209, 0.24);
}

.school-nav #mainNav .dropdown-menu {
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(31, 39, 55, 0.12);
    padding: 0.45rem;
    margin-top: 0.55rem;
}

.school-nav #mainNav .dropdown-item {
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
}

.school-nav #mainNav .dropdown-item:hover,
.school-nav #mainNav .dropdown-item:focus {
    background: #eaf4ff;
    color: var(--brand-green-dark);
}

.btn-login {
    background: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.48rem 1rem;
}

.btn-login:hover {
    background: var(--brand-green);
    color: #fff;
}

.mobile-menu-trigger {
    border: 1px solid #d6dde5;
    border-radius: 12px;
    width: 52px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f9fbfd;
}

.mobile-menu-trigger:focus {
    box-shadow: 0 0 0 0.2rem rgba(20, 127, 209, 0.2);
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #5f6772;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.menu-bars {
    position: relative;
}

.menu-bars::before {
    position: absolute;
    top: -6px;
}

.menu-bars::after {
    position: absolute;
    top: 6px;
}

.mobile-nav {
    width: min(90vw, 360px);
    border-left: 1px solid #e4e9ef;
}

.mobile-nav-head {
    background: #eef6ff;
    border-bottom: 1px solid #dbe8f7;
    padding: 1rem;
}

.mobile-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 1.1rem;
}

.mobile-brand-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.mobile-brand-sub {
    color: #66707a;
}

.custom-close {
    border: 1px solid var(--brand-green);
    border-radius: 999px;
    width: 36px;
    height: 36px;
}

.mobile-menu-list {
    padding: 0.5rem 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.25rem;
    color: #17212b;
    text-decoration: none;
    border-bottom: 1px solid #e6ebf0;
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-menu-link:hover {
    color: var(--brand-green-dark);
}

.mobile-menu-link.active {
    color: var(--brand-green-dark);
    font-weight: 700;
}

.mobile-menu-link.has-children::after {
    content: "›";
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #e8f3ff;
    color: var(--brand-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
}

.mobile-menu-bottom {
    border-top: 1px solid #e3e8ee;
    padding-top: 1rem;
}

.mobile-meta {
    color: #5d6571;
    font-size: 0.95rem;
}

.mobile-meta strong {
    color: #1d2430;
}

/* =====================================================
   About + Notice Section
   ===================================================== */
.about-notice-section {
    padding: 44px 0 52px;
    background: #f2f5f8;
}

.content-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-card-head {
    padding: 14px 22px;
    border-bottom: 1px solid #e8ecf2;
    background: #f8fafc;
    flex-shrink: 0;
}

.content-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2d44;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.content-card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--brand-green);
    border-radius: 3px;
    flex-shrink: 0;
}

.content-card-body {
    padding: 22px;
    flex: 1;
}

/* About split-card — image left, floating text card overlaps from right */
.about-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 320px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.about-card-img {
    width: 58%;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card-body {
    flex: 1;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    padding: 30px 34px;
    margin-left: -64px;
    position: relative;
    z-index: 2;
    align-self: center;
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a2d44;
    margin-bottom: 10px;
    line-height: 1.3;
}

.about-card-divider {
    width: 52px;
    height: 3px;
    background: var(--brand-green);
    border-radius: 2px;
    margin-bottom: 16px;
}

.about-text {
    font-size: 0.92rem;
    color: #445566;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-more-btn {
    background: transparent;
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 4px;
}

.about-more-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

@media (max-width: 991.98px) {
    .about-card {
        flex-direction: column;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
        border-radius: 14px;
    }

    .about-card-img {
        width: 100%;
        height: 220px;
        border-radius: 0;
    }

    .about-card-body {
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 22px;
    }

    .about-card-title {
        font-size: 1.25rem;
    }
}

/* Notice Board */
.notice-card-head {
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    border-bottom: none;
}

.notice-card-title {
    color: #fff;
    font-size: 1.05rem;
}

.notice-card-title::before {
    background: rgba(255, 255, 255, 0.55);
}

.notice-head-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #fff;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    flex: 1;
    overflow-y: auto;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 20px;
    border-bottom: 1px solid #f0f3f6;
    transition: background 0.15s;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: #fff5f5;
}

.notice-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #e53935;
    border-radius: 50%;
    margin-top: 5px;
}

.notice-info {
    flex: 1;
    min-width: 0;
}

.notice-text-wrap {
    display: block;
    font-size: 0.87rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 3px;
}

.notice-date {
    font-size: 0.76rem;
    color: #8a9bac;
    display: block;
}

.btn-notice-detail {
    flex-shrink: 0;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e53935;
    color: #e53935;
    background: transparent;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
    margin-top: 2px;
}

.btn-notice-detail:hover {
    background: #e53935;
    color: #fff;
}

.notice-footer {
    padding: 11px 20px;
    border-top: 1px solid #f0f3f6;
    text-align: right;
    flex-shrink: 0;
}

.notice-more-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: none;
}

.notice-more-link:hover {
    text-decoration: underline;
}

/* Message Slider Card */
.message-section-card {
    padding: 0;
    overflow: visible;
}

.message-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px 16px;
    border-bottom: 1px solid #e8ecf2;
}

.message-section-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #1a2d44;
    margin: 0;
    white-space: nowrap;
}

.message-section-line {
    flex: 1;
    height: 1px;
    background: #dde3ea;
}

.message-nav-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.msg-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ccd4db;
    background: #fff;
    font-size: 1.2rem;
    line-height: 1;
    color: #445566;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.msg-nav-btn:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}

.message-slider {
    padding: 22px 24px 24px;
}

/* Hide default owl nav/dots for message slider */
.message-slider .owl-nav,
.message-slider .owl-dots {
    display: none !important;
}

.message-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 8px;
}

.message-person-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.message-photo-wrap {
    flex-shrink: 0;
    width: 110px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.message-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.message-person-info {
    flex: 1;
    padding-top: 4px;
}

.message-quote-icon {
    font-size: 3rem;
    line-height: 0.8;
    color: var(--brand-green);
    display: block;
    margin-bottom: 6px;
    font-family: Georgia, serif;
}

.message-role {
    font-size: 1.12rem;
    font-weight: 800;
    color: #1a2d44;
    margin: 0 0 8px 0;
}

.message-role-divider {
    width: 44px;
    height: 3px;
    background: var(--brand-green);
    border-radius: 2px;
    margin-bottom: 9px;
}

.message-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #445566;
    margin: 0;
}

.message-text {
    font-size: 0.9rem;
    color: #445566;
    line-height: 1.8;
    margin-bottom: 10px;
}

.message-item .about-more-btn {
    margin-top: 6px;
}

@media (max-width: 767.98px) {
    .about-notice-section {
        padding: 30px 0 36px;
    }

    .message-photo-wrap {
        width: 80px;
        height: 90px;
    }

    .message-slider {
        padding: 16px;
    }

    .meta-item {
        font-size: 0.8rem;
    }
}

/* =====================================================
   Teachers Section
   ===================================================== */
.teachers-card {
    padding: 0;
}

.teachers-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 14px;
    border-bottom: 1px solid #e8ecf2;
}

.teachers-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #1a2d44;
    margin: 0;
    white-space: nowrap;
}

.teachers-card-line {
    flex: 1;
    height: 1px;
    background: #dde3ea;
}

.teachers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.teacher-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f3f6;
    border-right: 1px solid #f0f3f6;
    transition: background 0.15s;
}

.teacher-item:nth-child(even) {
    border-right: none;
}

.teacher-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.teacher-item:hover {
    background: #f8fafc;
}

.teacher-photo-wrap {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

.teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-info {
    flex: 1;
    min-width: 0;
    padding-top: 20px;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2d44;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.teacher-desg {
    font-size: 0.97rem;
    color: #778899;
    margin: 0 0 18px 0;
    line-height: 1.3;
}

.teacher-social {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.t-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

.t-social-btn:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.t-social-btn i {
    font-size: 13px;
}

.t-phone {
    background: #2e7d32;
    color: #fff;
}

.t-email {
    background: #1565c0;
    color: #fff;
}

.t-fb {
    background: #1877f2;
    color: #fff;
}

.t-li {
    background: #0077b5;
    color: #fff;
}

.teacher-detail-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 7px;
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    text-decoration: none;
    display: inline-block;
    transition: background 0.18s, color 0.18s;
}

.teacher-detail-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

.teachers-footer {
    padding: 16px 22px;
    text-align: center;
    border-top: 1px solid #f0f3f6;
}

.teachers-all-btn {
    background: var(--brand-green);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 9px 28px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.teachers-all-btn:hover {
    background: var(--brand-green-dark);
    color: #fff;
}

/* ==============================
   Gallery Section
   ============================== */
.gallery-section {
    padding: 52px 0 58px;
    background: #ffffff;
}

.gallery-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.gallery-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    margin: 0;
}

.gallery-section-line {
    flex: 1;
    height: 1.5px;
    background: #dde3ea;
}

.gallery-nav-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.gallery-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #c8d0da;
    background: #fff;
    color: #495057;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-nav-btn:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}

/* Gallery Slider */
.gallery-slider .owl-nav,
.gallery-slider .owl-dots {
    display: none !important;
}

.gallery-item {
    padding: 0 8px;
}

.gallery-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8edf2;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-img-wrap:hover .gallery-img {
    transform: scale(1.04);
}

/* Dark gradient caption overlay */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.22) 65%, transparent 100%);
    padding: 36px 18px 18px;
    color: #fff;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

/* Eye / view icon overlay */
.gallery-view-btn-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-img-wrap:hover .gallery-view-btn-wrap {
    opacity: 1;
}

.gallery-view-btn {
    width: 50px;
    height: 50px;
    background: var(--brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.gallery-img-wrap:hover .gallery-view-btn {
    transform: scale(1.12);
}

/* ==============================
   Gallery Lightbox
   ============================== */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.glb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.glb-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 90vw;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    animation: glbFadeIn 0.25s ease;
}

@keyframes glbFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.glb-img {
    width: 100%;
    height: auto;
    display: block;
}

.glb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glb-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.glb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glb-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.75);
}

.glb-prev {
    left: 24px;
}

.glb-next {
    right: 24px;
}

@media (max-width: 575.98px) {
    .glb-prev {
        left: 8px;
    }

    .glb-next {
        right: 8px;
    }
}

/* Gallery footer */
.gallery-footer {
    text-align: center;
    margin-top: 32px;
}

.gallery-more-btn {
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    padding: 9px 34px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.gallery-more-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

/* ==============================
   School Committee Section
   ============================== */
.committee-section {
    padding: 52px 0 58px;
    background: #f2f5f8;
}

.committee-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.committee-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    margin: 0;
}

.committee-section-line {
    flex: 1;
    height: 1.5px;
    background: #c8d0da;
}

/* Card */
.committee-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 28px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.committee-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

/* Circular photo */
.committee-photo-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--brand-green);
    box-shadow: 0 4px 14px rgba(20, 127, 209, 0.22);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.committee-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info */
.committee-info {
    width: 100%;
}

.committee-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
}

.committee-role {
    font-size: 0.85rem;
    color: var(--muted-gray);
    margin: 0 0 12px;
}

.committee-meta {
    margin-bottom: 14px;
}

.committee-meta-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--muted-gray);
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.committee-meta-val {
    font-weight: 700;
    color: var(--ink);
}

.committee-social {
    display: flex;
    justify-content: center;
    gap: 6px;
}

/* Footer */
.committee-footer {
    text-align: center;
    margin-top: 36px;
}

.committee-more-btn {
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    padding: 9px 34px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.committee-more-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

/* ==============================
   Student Statistics Section
   ============================== */
.student-stats-section {
    padding: 52px 0 58px;
    background: #ffffff;
}

.stats-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.stats-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    margin: 0;
}

.stats-section-line {
    flex: 1;
    height: 1.5px;
    background: #c8d0da;
}

/* Stat circles row */
.stats-circles-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.stat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid #dde4ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.stat-circle:hover {
    box-shadow: 0 8px 28px rgba(20, 127, 209, 0.15);
    border-color: var(--brand-green);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--brand-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted-gray);
    margin-top: 4px;
}

.stat-class {
    font-size: 0.88rem;
    color: var(--muted-gray);
    margin: 0;
    font-weight: 500;
}

/* Best students sub-header */
.best-students-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.best-students-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    margin: 0;
}

.best-students-line {
    flex: 1;
    height: 1.5px;
    background: #dde3ea;
}

.best-students-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Student slider */
.student-slider .owl-nav,
.student-slider .owl-dots {
    display: none !important;
}

.student-item {
    padding: 0 10px;
}

.student-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.student-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.student-photo-wrap {
    overflow: visible;
    background: transparent;
    aspect-ratio: 1 / 1;
    width: 70%;
    margin: 0 auto;
    border: none;
    position: relative;
    padding: 0;
    margin-top: 18px;
}

.student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: box-shadow 0.3s ease;
    filter: brightness(1);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.student-card:hover .student-photo {
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.student-info {
    text-align: center;
    padding: 18px 14px 16px;
    background: transparent;
}

.student-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1f2e;
    margin: 0 0 4px;
    letter-spacing: 0;
    text-transform: none;
}

.student-class {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 10px;
    font-weight: 500;
}

.student-meta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    font-size: 0.80rem;
    color: #6b7280;
}

.student-meta span:first-child::after {
    content: " |";
    margin-left: 12px;
    color: #d1d5db;
}

.student-meta strong {
    color: #1a1f2e;
    font-weight: 600;
}

/* Best students footer */
.best-students-footer {
    text-align: center;
    margin-top: 32px;
}

.student-more-btn {
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    padding: 9px 34px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.student-more-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

/* ===== Blog / News Section ===== */
.blog-section {
    background: #fff;
    padding: 60px 0 64px;
}

.blog-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.blog-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    margin: 0;
}

.blog-section-line {
    flex: 1;
    height: 1.5px;
    background: #dde3ea;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.blog-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    width: 100%;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.04);
}

.blog-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.blog-meta strong {
    color: var(--ink);
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-green);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.blog-more-btn {
    display: inline-block;
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    padding: 7px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    align-self: flex-start;
}

.blog-more-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

.blog-footer {
    text-align: center;
    margin-top: 40px;
}

.blog-all-btn {
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
    padding: 10px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-all-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

@media (max-width: 767.98px) {
    .stats-section-title {
        font-size: 1.2rem;
    }

    .stat-circle {
        width: 120px;
        height: 120px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .teacher-photo-wrap {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .committee-section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-section-title {
        font-size: 1.2rem;
    }

    .gallery-item {
        padding: 0 4px;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .teacher-item:nth-child(even) {
        border-right: none;
    }

    .teacher-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #f0f3f6;
    }

    .teacher-item:last-child {
        border-bottom: none;
    }
}

/* =====================================================
   Hero Slider
   ===================================================== */
.hero-slider-section {
    background: linear-gradient(180deg, #eef3f8 0%, #e9eef4 100%);
    border-top: 1px solid #e1e7ef;
    border-bottom: 1px solid #e1e7ef;
}

.hero-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(24, 34, 48, 0.16);
}

.hero-slider .owl-stage-outer {
    border-radius: 16px;
}

.hero-slider .owl-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-slider .hero-slide-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-slider .hero-slide-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0) 40%, rgba(14, 18, 26, 0.55) 100%);
    pointer-events: none;
}

.hero-slider .hero-slide-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    left: 50%;
    bottom: 44px;
    transform: translateX(-50%);
    width: min(90%, 860px);
    text-align: center;
    z-index: 2;
}

.slide-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 0.55rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero-slider .owl-dots {
    margin-top: 14px;
}

.hero-slider .owl-dots .owl-dot span {
    width: 24px;
    height: 8px;
    border-radius: 999px;
    background: #cad7e6;
    transition: all 0.2s ease;
}

.hero-slider .owl-dots .owl-dot.active span,
.hero-slider .owl-dots .owl-dot:hover span {
    width: 34px;
    background: var(--brand-green);
}

.hero-slider .owl-nav {
    position: absolute;
    right: 14px;
    bottom: 16px;
    display: flex;
    gap: 8px;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(20, 127, 209, 0.9) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background: var(--brand-green-dark) !important;
}

@media (max-width: 991.98px) {
    .main-nav-wrap {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .brand-title {
        font-size: 0.8rem;
    }

    .brand-sub {
        font-size: 0.65rem;
    }

    .school-nav #mainNav .nav-link {
        margin-top: 0.2rem;
    }

    .top-strip {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 1rem;
    }

    .school-nav {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .navbar-brand {
        max-width: calc(100% - 72px);
        margin-right: 1rem !important;
    }

    .hero-slider .hero-slide-item img {
        height: 300px;
    }

    .slide-caption {
        bottom: 20px;
        width: 92%;
    }

    .slide-title {
        font-size: clamp(1.25rem, 5vw, 1.9rem);
        margin-bottom: 0.4rem;
    }

    .slide-subtitle {
        font-size: clamp(0.88rem, 3.3vw, 1.02rem);
    }

    .hero-slider-section .hero-slide-item img {
        width: 100%;
        height: auto;
        max-width: 100vw;
        object-fit: contain;
        display: block;
    }

    .hero-slider-section .owl-carousel {
        min-height: 180px;
    }

    .hero-slider-section .slide-caption {
        padding: 10px 0 0 0;
        text-align: center;
    }
}

/* Sticky Navbar Animation */
.main-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--header-bg, #fff);
    /* fallback to white */
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e6ea;
    transition: box-shadow 0.25s, background 0.25s, transform 0.25s, padding 0.25s;
}

.main-nav-wrap.is-sticky {
    box-shadow: 0 8px 24px rgba(20, 60, 120, 0.13) !important;
    background: #e3f2fd !important;
    /* much lighter blue for demo */
    border-bottom: 2.5px solid #1976d2 !important;
    transform: translateY(-2px) scale(0.99);
    padding-top: 6px;
    padding-bottom: 6px;
}

/* DEBUG: If sticky still does not work, check that NO parent of .main-nav-wrap has overflow: hidden/auto except html/body. */

/* Sticky fix: ensure parent containers allow sticky */
body,
.container,
.main-nav-wrap,
.header-shell {
    overflow: visible !important;
}

/* =============================
   Notice Marquee Section
   ============================= */
.notice-marquee-section {
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
}

.notice-marquee-container {
    margin-top: 0;
    margin-bottom: 0;
}

.notice-marquee-label {
    font-weight: bold;
    color: #d84315;
}

.notice-marquee {
    flex: 1;
    color: #333;
    font-size: 1.05rem;
    background: transparent;
    border: none;
}

.notice-marquee-link {
    color: #333;
    text-decoration: none !important;
    transition: color 0.18s;
}

.notice-marquee-link:hover,
.notice-marquee-link:focus {
    color: #d84315;
    text-decoration: underline;
}

.mobile-menu-link.has-children.open {
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 5px;
    cursor: unset;
}

ul.children {
    display: none;
    border-bottom: 1px solid #e6ebf0;
    font-size: 1.2rem;
    padding-top: 10px;
    padding-bottom: 10px;
}

ul.children li {
    list-style: none;
    color: black;
    margin: 10px 0px;
}

ul.children li a {
    text-decoration: none;
    color: #17212b;
}

ul.children li a:hover {
    color: var(--brand-green-dark);
}