/********** Template CSS **********/
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap");

:root {
    --color-primary: #0ea5b7;
    --color-primary-strong: #0b8fa0;
    --color-surface: #f7fafc;
    --color-text-strong: #0f2742;
    --color-nav-bg: #f6f4ee;
    --color-nav-text: #0f2742;
    --color-nav-accent: #b38a3d;
    --color-nav-divider: #d8c39a;
    --color-white: #ffffff;
    --font-body: "Poppins", sans-serif;
    --font-heading: "Playfair Display", serif;
    --font-nav: "Cinzel", serif;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 14px 28px rgba(15, 39, 66, 0.12);
    --primary: var(--color-primary);
    --light: var(--color-surface);
    --dark: var(--color-text-strong);
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

 :root {
        --ivory: var(--color-nav-bg);
        --ink: var(--color-nav-text);
        --gold: var(--color-nav-accent);
        --pink-line: var(--color-nav-divider);
        --crest-border: var(--color-nav-accent);
        --crest-width: 242px;
        --menu-inward-shift: 20px;
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        min-height: 100vh;
        font-family: var(--font-body);
        overflow-x: hidden;
      }

      /* Premium typography for page content (keeps navbar typography untouched) */
      body > :not(.nav-shell) {
        font-family: var(--font-body);
      }

      body > :not(.nav-shell) h1,
      body > :not(.nav-shell) h2,
      body > :not(.nav-shell) h3,
      body > :not(.nav-shell) h4,
      body > :not(.nav-shell) h5,
      body > :not(.nav-shell) h6,
      body > :not(.nav-shell) .section-title {
        font-family: var(--font-heading);
        letter-spacing: 0.01em;
      }

      .nav-shell {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--ivory);
        border-bottom: 2px solid var(--pink-line);
        overflow: visible;
      }

      .nav-wrap {
        position: relative;
        max-width: 1320px;
        margin: 0 auto;
        height: 84px;
        padding: 0 26px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .menu-group {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 26px;
        flex: 0 0 calc(50% - (var(--crest-width) / 2) - 24px);
      }

      .menu-group.left {
        justify-content: flex-end;
        margin-right: calc(var(--menu-inward-shift) * -1);
      }

      .menu-group.right {
        justify-content: flex-start;
        margin-left: calc(var(--menu-inward-shift) * -1);
      }

      .menu-group a {
        position: relative;
        color: var(--ink);
        text-decoration: none;
        font-family: var(--font-nav);
        letter-spacing: 0.04em;
        font-size: 0.97rem;
        line-height: 1;
        white-space: nowrap;
        padding-bottom: 4px;
      }

      .menu-group a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.22s ease;
      }

      .menu-group a:hover::after {
        transform: scaleX(1);
      }

      .login-link {
        margin-left: auto;
      }

      .dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
      }

      .dropdown-toggle {
        display: inline-block;
        position: relative;
        padding-right: 14px;
        vertical-align: baseline;
        line-height: 1;
        transform: none;
        cursor: pointer;
      }

      .dropdown-toggle::after {
        display: none !important;
      }

      .dropdown-caret {
        width: 8px;
        height: 8px;
        position: absolute;
        right: 0;
        top: 46%;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-50%) rotate(45deg);
        opacity: 0.9;
        transition: transform 0.2s ease;
      }

      .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 190px;
        padding: 8px 0;
        background: #fffdf8;
        border: 1px solid rgba(179, 138, 61, 0.3);
        box-shadow: var(--shadow-soft);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition:
          opacity 0.2s ease,
          transform 0.2s ease,
          visibility 0.2s ease;
        z-index: 20;
      }

      .dropdown-menu a {
        display: block;
        padding: 10px 14px;
        font-size: 0.84rem;
        letter-spacing: 0.03em;
      }

      .dropdown-menu a::after {
        display: none;
      }

      .dropdown-menu a:hover {
        background: rgba(14, 165, 183, 0.09);
      }

      .dropdown:hover .dropdown-menu,
      .dropdown:focus-within .dropdown-menu,
      .dropdown.show .dropdown-menu,
      .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .dropdown:hover .dropdown-caret,
      .dropdown:focus-within .dropdown-caret,
      .dropdown.show .dropdown-caret {
        transform: translateY(-30%) rotate(225deg);
      }

      .home-icon {
        width: 18px;
        height: 18px;
        fill: var(--ink);
        margin-right: 2px;
      }

      .crest {
        position: absolute;
        left: 50%;

        transform: translateX(-50%);

        height: 88px;

        border-radius: 0 0 120px 120px;
        background: var(--ivory);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        pointer-events: auto;
      }

      .crest-logo {
        width: 72px;
        height: 72px;
        object-fit: contain;
        object-position: center;
        display: block;
      }

      .mobile-toggle {
        display: none;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(179, 138, 61, 0.35);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.82);
        color: var(--ink);
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }

      .mobile-toggle span {
        width: 18px;
        height: 2px;
        background: currentColor;
        position: relative;
        display: block;
        transition: background 0.2s ease;
      }

      .mobile-toggle span::before,
      .mobile-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        background: currentColor;
        transition:
          transform 0.24s ease,
          top 0.24s ease;
      }

      .mobile-toggle span::before {
        top: -6px;
      }
      .mobile-toggle span::after {
        top: 6px;
      }

      .mobile-panel {
        display: none;
        background: #fffdf8;
        border-top: 1px solid rgba(179, 138, 61, 0.3);
        padding: 8px 14px 14px;
      }

      .mobile-panel a {
        display: block;
        text-decoration: none;
        color: var(--ink);
        font-family: "Cinzel", serif;
        letter-spacing: 0.04em;
        padding: 11px 2px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.09);
        font-size: 0.92rem;
      }

      .mobile-panel a:last-child {
        border-bottom: none;
      }

      .mobile-subhead {
        padding: 10px 2px 4px;
        color: var(--gold);
        font-family: "Cinzel", serif;
        letter-spacing: 0.05em;
        font-size: 0.77rem;
        text-transform: uppercase;
      }

      .mobile-panel a.sub-link {
        padding-left: 18px;
        font-size: 0.84rem;
        color: var(--ink);
      }

      @media (max-width: 1220px) {
        .menu-group {
          gap: 18px;
        }

        .menu-group a {
          font-size: 0.89rem;
        }

        .dropdown-menu a {
          font-size: 0.8rem;
        }
      }

      @media (max-width: 1040px) {
        :root {
          --menu-inward-shift: 12px;
        }

        .nav-wrap {
          height: 78px;
          padding: 0 18px;
        }

        .crest {
          
          width: 218px;
          height: 78px;
        }

        .menu-group {
          gap: 14px;
          flex-basis: calc(50% - 114px);
        }

        .menu-group a {
          font-size: 0.81rem;
        }

        .dropdown-toggle {
          gap: 5px;
        }
      }

      @media (max-width: 940px) {
        .nav-wrap {
          padding: 0 16px;
          justify-content: space-between;
        }

        .menu-group {
          display: none;
        }

        .mobile-toggle {
          display: inline-flex;
          flex: 0 0 46px;
        }

        .crest {
          position: static;
          transform: none;
          width: auto;
          min-width: 0;
          height: 72px;
          margin-left: auto;
          padding: 0;
        }

        .crest-logo {
          width: 54px;
          height: 54px;
        }

        .nav-shell.open .mobile-panel {
          display: block;
        }

        .nav-shell.open .mobile-toggle span {
          background: transparent;
        }

        .nav-shell.open .mobile-toggle span::before {
          top: 0;
          transform: rotate(45deg);
        }

        .nav-shell.open .mobile-toggle span::after {
          top: 0;
          transform: rotate(-45deg);
        }
      }
/*** Section Title ***/

/* Premium Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 86px);
    height: calc(100svh - 86px);
    height: calc(100dvh - 86px);
    min-height: calc(100vh - 86px);
    min-height: calc(100svh - 86px);
    min-height: calc(100dvh - 86px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    box-sizing: border-box;
    background: #0f2742;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-text-wrapper {
    max-width: 800px;
    margin-top: clamp(-80px, -6vh, -30px);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin: 1rem 0 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.01em;
}

.hero-highlight {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: #e4edf7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-hero-primary:hover {
    background: var(--color-primary-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 187, 204, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-hero-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .hero-section {
        height: calc(100vh - 86px);
        height: calc(100svh - 86px);
        height: calc(100dvh - 86px);
        min-height: calc(100vh - 86px);
        min-height: calc(100svh - 86px);
        min-height: calc(100dvh - 86px);
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 86px);
        height: calc(100svh - 86px);
        height: calc(100dvh - 86px);
        min-height: calc(100vh - 86px);
        min-height: calc(100svh - 86px);
        min-height: calc(100dvh - 86px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .hero-section {
        height: calc(100vh - 86px);
        height: calc(100svh - 86px);
        height: calc(100dvh - 86px);
        min-height: calc(100vh - 86px);
        min-height: calc(100svh - 86px);
        min-height: calc(100dvh - 86px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-text-wrapper {
        animation: none;
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Premium Site Footer ***/
.site-footer-premium {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, #0d1b3d 0%, #142b58 55%, #1b3b72 100%);
    color: #e8f0fb;
    border-top: 3px solid #c79a63;
}

.site-footer-premium .footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2.2rem 24px 1.3rem;
}

.site-footer-premium .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    gap: 1.4rem;
}

.site-footer-premium .footer-title {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.site-footer-premium .footer-brand-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
}

.site-footer-premium .footer-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.site-footer-premium .footer-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.site-footer-premium .footer-tag {
    color: #9ddfeb;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    line-height: 1.3;
}

.site-footer-premium .footer-brand-text {
    margin: 0;
    color: #d8e5f3;
    line-height: 1.75;
    font-size: 0.95rem;
    max-width: 430px;
}

.site-footer-premium .footer-links,
.site-footer-premium .footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-premium .footer-links li,
.site-footer-premium .footer-contact li {
    margin-bottom: 0.45rem;
}

.site-footer-premium .footer-links a,
.site-footer-premium .footer-contact a {
    color: #dbe8f6;
    text-decoration: none;
}

.site-footer-premium .footer-links a:hover,
.site-footer-premium .footer-contact a:hover {
    color: #ffffff;
}

.site-footer-premium .footer-contact i {
    color: #c79a63;
    width: 18px;
    margin-right: 0.45rem;
}

.site-footer-premium .footer-bottom {
    margin-top: 1.3rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    font-size: 0.92rem;
    color: #d2deec;
}

.site-footer-premium .footer-bottom a {
    color: #cfe2fa;
    text-decoration: none;
    border-bottom: 1px solid rgba(207, 226, 250, 0.35);
}

.site-footer-premium .footer-bottom a:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 991.98px) {
    .site-footer-premium .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-footer-premium .footer-inner {
        padding: 1.8rem 16px 1.1rem;
    }

    .site-footer-premium .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .site-footer-premium .footer-logo-wrap {
        width: 52px;
        height: 52px;
    }

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

/*** Unified Inner-Page Hero (All pages except index) ***/
body:not(.index-page) .about-hero,
body:not(.index-page) .academic-hero,
body:not(.index-page) .gallery-hero,
body:not(.index-page) .notice-hero,
body:not(.index-page) .admission-hero,
body:not(.index-page) .fees-header,
body:not(.index-page) .principal-header,
body:not(.index-page) .cbse-header,
body:not(.index-page) .staff-header,
body:not(.index-page) .page-header {
    position: relative;
    overflow: hidden;
    padding: 3.8rem 0 3rem !important;
    background: linear-gradient(128deg, #0f2742 0%, #1a4772 58%, #275a88 100%) !important;
    border-bottom: 4px solid #c79a63 !important;
    color: #ffffff !important;
    isolation: isolate;
}

body:not(.index-page) .about-hero::before,
body:not(.index-page) .academic-hero::before,
body:not(.index-page) .gallery-hero::before,
body:not(.index-page) .notice-hero::before,
body:not(.index-page) .admission-hero::before,
body:not(.index-page) .fees-header::before,
body:not(.index-page) .principal-header::before,
body:not(.index-page) .cbse-header::before,
body:not(.index-page) .staff-header::before,
body:not(.index-page) .page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(14, 165, 183, 0.2), transparent 36%),
        radial-gradient(circle at 86% 70%, rgba(255, 255, 255, 0.09), transparent 34%);
    pointer-events: none;
    z-index: 0;
}

body:not(.index-page) .about-hero .container,
body:not(.index-page) .academic-hero .container,
body:not(.index-page) .fees-header .container,
body:not(.index-page) .cbse-header .container,
body:not(.index-page) .staff-header .container,
body:not(.index-page) .page-header .container,
body:not(.index-page) .gallery-hero-inner,
body:not(.index-page) .notice-hero-inner,
body:not(.index-page) .admission-hero-inner,
body:not(.index-page) .principal-header-content {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

body:not(.index-page) .about-hero h1,
body:not(.index-page) .academic-hero h1,
body:not(.index-page) .gallery-title,
body:not(.index-page) .notice-title,
body:not(.index-page) .admission-title,
body:not(.index-page) .fees-header h1,
body:not(.index-page) .principal-header h1,
body:not(.index-page) .cbse-header h1,
body:not(.index-page) .staff-header h1,
body:not(.index-page) .page-header h1 {
    margin: 0;
    color: #f6f9ff !important;
    font-size: clamp(2rem, 4vw, 3.3rem) !important;
    line-height: 1.15;
    font-family: "Cinzel", serif;
    text-shadow: 0 8px 22px rgba(9, 28, 48, 0.36);
}

body:not(.index-page) .about-hero h1::after,
body:not(.index-page) .academic-hero h1::after,
body:not(.index-page) .gallery-title::after,
body:not(.index-page) .notice-title::after,
body:not(.index-page) .admission-title::after,
body:not(.index-page) .fees-header h1::after,
body:not(.index-page) .principal-header h1::after,
body:not(.index-page) .cbse-header h1::after,
body:not(.index-page) .staff-header h1::after,
body:not(.index-page) .page-header h1::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 0.9rem auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #d3ac78 0%, #c8924f 100%);
}

body:not(.index-page) .about-hero p,
body:not(.index-page) .academic-hero p,
body:not(.index-page) .gallery-subtitle,
body:not(.index-page) .notice-subtitle,
body:not(.index-page) .admission-subtitle,
body:not(.index-page) .fees-header p,
body:not(.index-page) .principal-header p,
body:not(.index-page) .cbse-header p,
body:not(.index-page) .staff-header p {
    margin: 1rem auto 0;
    max-width: 820px;
    color: #dce9f4 !important;
    font-size: 1.05rem !important;
}

body:not(.index-page) .about-hero-tag,
body:not(.index-page) .academic-hero .hero-label,
body:not(.index-page) .gallery-kicker,
body:not(.index-page) .notice-kicker,
body:not(.index-page) .admission-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ddfeb !important;
}

body:not(.index-page) .page-header .breadcrumb {
    margin-top: 1.1rem;
}

@media (max-width: 767.98px) {
    body:not(.index-page) .about-hero,
    body:not(.index-page) .academic-hero,
    body:not(.index-page) .gallery-hero,
    body:not(.index-page) .notice-hero,
    body:not(.index-page) .admission-hero,
    body:not(.index-page) .fees-header,
    body:not(.index-page) .principal-header,
    body:not(.index-page) .cbse-header,
    body:not(.index-page) .staff-header,
    body:not(.index-page) .page-header {
        padding: 2.8rem 0 2.4rem !important;
    }

    body:not(.index-page) .about-hero .container,
    body:not(.index-page) .academic-hero .container,
    body:not(.index-page) .fees-header .container,
    body:not(.index-page) .cbse-header .container,
    body:not(.index-page) .staff-header .container,
    body:not(.index-page) .page-header .container,
    body:not(.index-page) .gallery-hero-inner,
    body:not(.index-page) .notice-hero-inner,
    body:not(.index-page) .admission-hero-inner,
    body:not(.index-page) .principal-header-content {
        padding: 0 16px;
    }
}

