  /* ==========================================
     1. ROOT VARIABLES & GLOBAL STYLES
     ================================---------- */
  :root {
    --royal-burgundy: #5e0205;
    --royal-crimson: #8b0c11;
    --royal-gold: #d4af37;
    --royal-gold-light: #f3e5ab;
    --royal-dark: #121212;
    --primary-light: #ffffff;
    --gradient-color: linear-gradient(135deg, #d4af37, #b89728);


    --primary-red: #9e1422;
    --primary-dark: #120104;
    --gold-accent: #c89a2e;
    --gold-glow: rgba(200, 154, 46, 0.4);
    --text-gold-light: #fbeec8;
    --trans-fluid: cubic-bezier(0.4, 0, 0.2, 1);
  }

  body {
    font-family: 'Rubik', sans-serif;
    background-color: #fcfbfa;
    overflow-x: hidden;
  }

  .font-monospace {
    font-family: 'Rubik', sans-serif !important;
  }

  .hero-heading-cinzel {
    font-family: 'Rubik', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  }

  /* ==========================================
     2. HERO HEADER & STICKY NAVBAR
     ================================---------- */
  .hero-header {
    position: relative;
    background-size: cover;
    background-position: center;
  }

  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .nav-wrapper-fixed {
    margin-top: 16px;
    justify-content: center;
    display: grid;
  }

  .nav-container-box {
    max-width: 1220px;
    height: 90px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    overflow: visible !important;
    border-radius: 50rem !important;
  }

  .brand-logo-wrapper {
    width: 80px;
    height: 80px;
    left: -19px;
    position: relative;
  }

  .brand-left-container {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
  }

  .brand-title-main {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    color: var(--royal-crimson);
    font-weight: 700;
    line-height: 1.1;
    right: -7px;
    position: relative;
  }

  .brand-title-sub {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: var(--royal-dark);
    font-weight: 700;
    line-height: 1.1;
  }

  .brand-tagline-text {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #444 !important;
  }

  .brand-line {
    width: 16px;
    height: 2px;
    background-color: var(--royal-gold);
  }

  .stadium-bg {
    background: radial-gradient(circle at 60% 50%, #8b0c11 0%, #4a0103 100%);
    overflow: visible !important;
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
  }

  .stadium-svg-elem {
    width: 80px;
  }

  .nav-item-link {
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 50rem;
    color: #ffffff !important;
    font-weight: 400;
    white-space: nowrap;
  }

  .stadium-bg .nav a.nav-item-link:hover {
    background-color: var(--royal-gold);
    color: var(--royal-dark) !important;
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .2);
  }

  /* Navbar Dropdown Menu Styles */
  .stadium-bg .nav {
    overflow: visible !important;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    gap: 5px;
  }

  .nav-item.dropdown .dropdown-menu {
    border-top: 4px solid var(--royal-gold);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    margin-top: 10px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background-color: #ffffff;
    z-index: 1050;
  }

  .nav-item.dropdown .dropdown-item {
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
    padding: 8px 20px;
    transition: all 0.2s ease;
  }

  .nav-item.dropdown .dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--royal-crimson);
    padding-left: 24px;
  }

  .nav-action-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background-color: var(--royal-gold);
    color: var(--royal-dark);
    border-radius: 50rem !important;
  }

  .nav-divider-line {
    height: 38px;
    width: 1px;
  }

  .menu-btn-text {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1px;
  }

  .login-btn-link {
    font-size: 14px;
    background-color: var(--royal-gold) !important;
    color: var(--royal-dark) !important;
    border: 1px solid #b89728;
    font-weight: 700 !important;
    border-radius: 50rem !important;
  }

  /* ==========================================
     3. MENU PANEL & MEGA DROPDOWN
     ================================---------- */
  .menu-panel {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(950px, calc(100vw - 20px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 30px 20px;
    background: #ffffff;
    border-top: 6px solid var(--royal-gold);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1055;
  }

  .menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .mega-column-title {
    color: var(--royal-crimson);
    font-size: 1.1rem;
  }

  .menu-panel .mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-panel .mega-column li+li {
    margin-top: 8px;
  }

  .menu-panel .mega-column a {
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
    padding: 3px 0;
  }

  .menu-panel .mega-column a:hover {
    color: var(--royal-crimson);
    padding-left: 4px;
  }

  /* ==========================================
 4. EXACT NEWS SECTION STYLING
 ========================================== */
  .section-news-padding {
    padding: 60px 0 0 0;
  }

  .bg-subtle1 {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
  }

  #messageTabs .nav-link.active .badge {
    color: var(--royal-dark) !important;
  }

  #messageTabs .nav-link .badge {
    color: var(--royal-burgundy) !important;
  }

  .newsSwiper {
    border-radius: 100px;
  }

  .playbutton {
    background: var(--royal-burgundy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
  }

  .news-heading {
    text-transform: uppercase;
    font-weight: 700;
    color: transparent;
    background: var(--gradient-color);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .news-card {
    border-radius: 80px;
    padding: 8px 12px 8px 8px;
    box-shadow: 1px 3px 2px 0px rgba(0, 0, 0, 0.14);
    border: 1px solid var(--royal-gold);
    width: 100%;
    margin-bottom: 3px;
  }

  .news-card p {
    font-size: 14px;
  }

  .news-card .side-round {
    background: var( --royal-burgundy);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--Secondary-color);
    flex-shrink: 0;
  }

  .side-round h1 {
    color: #fff;
    margin: 0px;
    padding: 0px;
  }

  .side-round p {
    color: #fff;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .news-button-style {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -40px !important;
    z-index: 5;
  }

  .news-section {
    padding: 30px 0px;
    width: auto;
  }

  #news-slider-section .btn-prev,
  #news-slider-section .btn-next {
    width: 40px;
    height: 40px;
    background-color: var(--royal-gold) !important;
    border: none;
    color: #111 !important;
    border-radius: 50% !important;
  }

  #news-slider-section .btn-prev:hover,
  #news-slider-section .btn-next:hover {
    background: var(--royal-gold) !important;
    color: var(--primary-light) !important;
  }

  .news-text-white {
    position: absolute;
    width: 520px;
    height: 100%;
    background: #fff;
    right: -150px;
    top: 0px;
    border-radius: 24px;
    z-index: -1;
    border: 1px solid #edede1;
  }

  .viewall-gallery {
    color: transparent;
    background: var(--royal-gold);
    -webkit-background-clip: text;
    background-clip: text;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
  }


  .news-desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 2.8em;
}


  @media (max-width:575px) {
    .news-text-white {
      position: absolute;
      width: 95%;
      height: 100%;
      background: #fff;
      right: 10px;
      top: 0px;
      border-radius: 24px;
      z-index: -1;
      border: 1px solid #edede1;
    }

    .news-heading {
      text-align: center !important;
    }

    .news-paragraph {
      text-align: center !important;
    }

    .news-read-more {
      margin: 0px auto;
    }

    .news-button-style {
      margin-top: 0px;
    }
  }

  /* ==========================================
     ABOUT US (WELCOME INSTITUTION) STYLING
     ================================---------- */
  /* About us  */
  .about-section {
    padding: 60px 0 0 0;
    /* background: url('../img/sky.jpg') no-repeat center center / cover; */

  }

  .bento-container {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
  }

  .bento-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .about-heading {
    color: var(--royal-crimson);
  }

  .featured-box {
    width: 350px;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }

  .video-box {
    width: 250px;
    height: 242px;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #000;
  }

  .bento-item img,
  .bento-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .bento-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    border-color: var(--royal-gold);
  }

  .main-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-black);
  }

  .description-text {
    font-size: 1rem !important;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* Button Styling */
  .action-button-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .btn-santhome {
    padding: 10px 24px;
    border-radius: 50rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .btn-admission {
    background-color: var(--royal-gold);
    color: #111;
    border: none;
  }

  .btn-admission:hover {
    background-color: var(--royal-gold);
    color: #fff;
  }

  .btn-read-more-custom {
    border: 2px solid var(--royal-gold);
    color: var(--royal-gold);
    background: transparent;
  }

  .btn-read-more-custom:hover {
    background-color: var(--royal-gold);
    color: #111;
    transform: translateX(3px);
  }

  .fw-800 {
    font-weight: 800 !important;
  }

  @media (max-width: 991px) {
    .about-section {
      padding: 80px 0 0 0;
    }

    .section-news-padding{
      padding: 0;
    }

    .bento-container {
      height: auto;
      grid-template-columns: 1fr;
      flex-direction: column;
      align-items: center;
    }
  }

  @media (min-width: 992px) and (max-width: 1220px) {
    .featured-box {
      display: none;
    }
  }

  @media (min-width: 570px) and (max-width: 992px) {
    .featured-box {
      width: 500px;
    }
  }

  @media(max-width: 570px) {
    .featured-box {
      display: none;
    }
  }

  /* ==========================================
     5. LEADERSHIP SECTION
     ================================---------- */
  .leadership-section {
    background: radial-gradient(circle at 50% 30%, #75070a 0%, #300103 100%);
    border-top: 3px solid var(--royal-gold);
    border-bottom: 3px solid var(--royal-gold);
  }

  .leadership-img {
    width: 300px;
    height: 380px;
    border-color: var(--royal-gold) !important;
  }

  /* ==========================================
     6. ABOUT US & CAMPUS FACILITIES
     ================================---------- */
  .facility-section-wrapper {
    padding: 60px 0;
    background-color: #f7f4f1;
  }

  .facility-accordion-wrapper {
    width: 100%;
    margin: 0 auto;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .facility-accordion-card {
    position: relative;
    width: 150px;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
    flex-shrink: 1;
  }

  .facility-accordion-card.active-card {
    width: 650px;
    border-color: var(--royal-gold);
    flex-shrink: 0;
  }

  .facility-accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.92) 0%, rgba(18, 18, 18, 0.4) 60%, transparent 100%);
  }

  .facility-accordion-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
    letter-spacing: 1px;
  }

  .facility-accordion-card:not(.active-card) .facility-accordion-title {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform-origin: center;
    margin-left: -14px;
    margin-bottom: 0;
    color: var(--royal-gold-light);
  }

  .facility-accordion-desc {
    line-height: 1.6;
    color: #f1f1f1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin-top: 15px;
    font-weight: 500;
  }

  .facility-accordion-card.active-card .facility-accordion-desc {
    opacity: 1;
    transform: translateY(0);
  }

  /* ==========================================
     7. GALLERY & EXHIBITION DECK
     ================================---------- */
  .gallery-showcase-section {
    position: relative;
    background: radial-gradient(circle at 50% 10%, #9e1422 0%, var(--primary-red) 35%, var(--primary-dark) 70%, #1a0104 100%);
    min-height: 100vh;
    padding: 60px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
  }

  @keyframes pulseGlow {
    0% {
      transform: scale(1);
      opacity: 0.35;
    }

    100% {
      transform: scale(1.15);
      opacity: 0.55;
    }
  }

  .orb-left {
    top: 15%;
    left: -8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(200, 154, 46, 0.8), transparent 70%);
  }

  .orb-right {
    bottom: 10%;
    right: -8%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 42, 68, 0.75), transparent 70%);
  }

  .spatial-grid {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 50% 50%, rgba(200, 154, 46, 0.08) 1.5px, transparent 1.5px),
      linear-gradient(to right, rgba(200, 154, 46, 0.03) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(200, 154, 46, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: 1;
  }

  .showcase-header {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 3.8rem auto;
  }

  .header-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-accent);
    background: rgba(15, 2, 5, 0.75);
    padding: 9px 26px;
    border-radius: 999px;
    border: 1px solid rgba(200, 154, 46, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow);
    margin-bottom: 1.4rem;
    backdrop-filter: blur(14px);
  }

  .showcase-header h1 {
    font-family: "Cinzel", serif;
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 900;
    letter-spacing: 1.8px;
    color: var(--primary-light);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.7);
  }

  .showcase-header h1 span {
    background: linear-gradient(135deg, #fbeec8 0%, var(--gold-accent) 50%, #f7d58a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(200, 154, 46, 0.55));
  }

  .showcase-header p {
    color: var(--text-gold-light);
    font-size: 1.08rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
  }

  .showcase-matrix {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
  }

  .stage-column {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 36px;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .stage-column:hover {
    border-color: rgba(200, 154, 46, 0.4);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55), 0 0 30px rgba(139, 16, 28, 0.3);
  }

  .column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(200, 154, 46, 0.25);
  }

  .title-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Cinzel", serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-light);
  }

  .badge-glyph {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200, 154, 46, 0.3), rgba(101, 6, 17, 0.75));
    border: 1.5px solid var(--gold-accent);
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 25px var(--gold-glow);
  }

  .radar-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-accent);
    background: rgba(10, 1, 3, 0.85);
    border: 1px solid rgba(200, 154, 46, 0.4);
    padding: 7px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(200, 154, 46, 0.15);
  }

  .radar-svg {
    width: 22px;
    height: 22px;
    transform: rotate(-90deg);
  }

  .radar-svg circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
  }

  .radar-bg {
    stroke: rgba(200, 154, 46, 0.2);
  }

  .radar-fill {
    stroke: var(--gold-accent);
    stroke-dasharray: 44;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.05s linear;
  }

  .stage-viewport {
    position: relative;
    width: 100%;
    height: 520px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
  }

  .perspective-rotator {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
  }

  .spatial-card {
    position: absolute;
    width: 380px;
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background: #120104;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    cursor: pointer;
    transition: transform 0.85s var(--trans-fluid), width 0.5s ease, height 0.5s ease, opacity 0.85s ease, filter 0.85s ease, border-color 0.4s ease;
    border: 1.5px solid rgba(200, 154, 46, 0.2);
    text-decoration: none;
    color: inherit;
  }

  .spatial-card.active-card {
    width: 440px;
    height: 500px;
    border-color: var(--gold-accent);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 40px var(--gold-glow);
  }

  .media-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .media-container img,
  .media-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: transform 0.8s ease;
  }

  .spatial-card:hover .media-container img {
    transform: scale(1.08);
  }

  .corner-bracket {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2.5px solid var(--gold-accent);
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .spatial-card.active-card .corner-bracket {
    opacity: 1;
  }

  .bracket-tl {
    top: 18px;
    left: 18px;
    border-right: none;
    border-bottom: none;
  }

  .bracket-br {
    bottom: 18px;
    right: 18px;
    border-left: none;
    border-top: none;
  }

  .spatial-card.active-card:hover .bracket-tl {
    transform: translate(-3px, -3px);
  }

  .spatial-card.active-card:hover .bracket-br {
    transform: translate(3px, 3px);
  }

  .media-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 1, 3, 0.97) 0%, rgba(14, 1, 3, 0.6) 42%, rgba(14, 1, 3, 0.1) 75%, transparent 100%);
    z-index: 2;
    pointer-events: none;
  }

  .story-capsule {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
    z-index: 3;
    transform: translateY(6px);
    transition: transform 0.5s var(--trans-fluid);
    pointer-events: none;
  }

  .spatial-card.active-card .story-capsule {
    transform: translateY(0);
  }

  .meta-chip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
  }

  .category-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbeec8, var(--gold-accent));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--gold-glow);
  }

  .date-badge {
    font-size: 0.75rem;
    color: var(--text-gold-light);
    font-weight: 600;
    opacity: 0.95;
  }

  .story-heading {
    font-family: "Cinzel", serif;
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.35rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .story-detail {
    font-size: 0.85rem;
    color: var(--text-gold-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.88;
  }

  .cinema-chip {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(14, 1, 3, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(200, 154, 46, 0.5);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    pointer-events: none;
  }

  .equalizer {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 12px;
  }

  .equalizer span {
    width: 2px;
    height: 100%;
    background: var(--gold-accent);
    border-radius: 2px;
    animation: eqMotion 1.2s infinite ease-in-out;
  }

  .equalizer span:nth-child(2) {
    animation-delay: 0.2s;
  }

  .equalizer span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes eqMotion {

    0%,
    100% {
      height: 3px;
    }

    50% {
      height: 12px;
    }
  }

  .column-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(200, 154, 46, 0.2);
  }

  .action-cluster {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-accent);
    background: rgba(12, 1, 3, 0.75);
    border: 1px solid rgba(200, 154, 46, 0.4);
    padding: 11px 26px;
    border-radius: 999px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .view-all-link:hover {
    background: linear-gradient(135deg, var(--gold-accent), #dfb34a);
    color: var(--primary-dark);
    box-shadow: 0 0 30px var(--gold-glow);
    transform: scale(1.05);
  }

  .glyph-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(200, 154, 46, 0.4);
    background: rgba(12, 1, 3, 0.75);
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .glyph-btn:hover {
    background: var(--gold-accent);
    color: var(--primary-dark);
    transform: scale(1.12);
    box-shadow: 0 0 25px var(--gold-glow);
  }

  /* Gallery Responsive Breakpoints */
  @media (max-width: 1280px) {
    .showcase-matrix {
      grid-template-columns: 1fr;
      gap: 4.5rem;
      max-width: 820px;
    }

    .spatial-card.active-card {
      width: 410px;
    }
  }

  @media (max-width: 600px) {
    .gallery-showcase-section {
      padding: 3.5rem 0;
    }

    .stage-column {
      padding: 16px;
      border-radius: 26px;
    }

    .spatial-card {
      width: 280px;
      height: 390px;
    }

    .spatial-card.active-card {
      width: 320px;
      height: 420px;
    }

    .stage-viewport {
      height: 440px;
    }

    .story-capsule {
      padding: 1.25rem;
    }

    .story-heading {
      font-size: 1.15rem;
    }
  }

  /* ==========================================
     8. BIRTHDAYS, TOPPERS & FOOTER
     ================================---------- */
  .toppers-img-box {
    width: 160px;
    height: 160px;
    border-color: var(--royal-gold) !important;
  }

  .birthday-img-box {
    width: 160px;
    height: 160px;
    border-color: var(--royal-gold) !important;
  }

  .birthday-heading {
    font-family: 'Rubik', sans-serif;
  }

  .toppers-color {
    background: linear-gradient(135deg, #f9f6f0, #efe8df);
    border-top: 3px solid var(--royal-gold);
    border-bottom: 3px solid var(--royal-gold);
    padding: 60px 0;
  }

  .vertical-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
  }

  @media (min-width: 0px) {

    .vertical-carousel .carousel-item-next.carousel-item-start,
    .vertical-carousel .carousel-item-prev.carousel-item-end {
      transform: translateY(0);
    }

    .vertical-carousel .carousel-item-next,
    .vertical-carousel .active.carousel-item-end {
      transform: translateY(100%);
    }

    .vertical-carousel .carousel-item-prev,
    .vertical-carousel .active.carousel-item-start {
      transform: translateY(-100%);
    }
  }

  .social-btn-circle {
    width: 38px;
    height: 38px;
    background-color: var(--royal-gold) !important;
    color: var(--royal-dark) !important;
    border: none;
  }

  .social-btn-circle:hover {
    background-color: #fff !important;
  }

  .arrow-btn-box {
    width: 40px;
    height: 40px;
    background-color: var(--royal-gold) !important;
    border: none;
    color: #111 !important;
  }

  .arrow-btn-gallery {
    width: 44px;
    height: 44px;
    background-color: var(--royal-gold) !important;
    border: none;
  }

  .footer-color {
    background: radial-gradient(circle at 50% 30%, #5e0205 0%, #200001 100%);
    border-top: 4px solid var(--royal-gold) !important;
  }

  /* Helper utility classes */
  .badge-royal-gold {
    background-color: var(--royal-gold);
    color: var(--royal-dark);
    border: 1px solid #fff;
  }

  .hero-subtext {
    max-width: 750px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }

  .btn-royal-gold {
    background-color: var(--royal-gold);
    color: var(--royal-dark);
  }

  .news-date-text {
    font-size: 12px;
    margin: 0px;
  }

  .text-royal-gold {
    color: var(--royal-gold);
  }

  .text-royal-crimson {
    color: var(--royal-crimson);
  }

  .text-royal-burgundy {
    color: var(--royal-burgundy);
  }

  .border-royal-gold {
    border-color: var(--royal-gold) !important;
  }

  .border-custom-cream {
    border-color: #e5dccb !important;
  }

  .carousel-indicators-auto {
    width: auto;
  }

  .carousel-indicator-dot {
    width: 12px;
    height: 12px;
    background-color: var(--royal-gold);
  }

  .footer-logo-box {
    width: 180px;
    height: 180px;
  }

  .playstore-badge-img {
    height: 38px;
  }

  .school-map-box {
    height: 180px;
  }

  .map-iframe {
    border: 0;
  }

  /* ==========================================
     9. RESPONSIVE MEDIA QUERIES FOR ALL SCREENS
     ================================---------- */
  @media (max-width: 1199.98px) {
    .nav-container-box {
      max-width: 96%;
    }

    .stadium-bg .nav {
      display: none !important;
    }

    .news-text-white {
      display: none;
    }
  }

  /* Specific Fix for News Section Intermediate Screen Layout (900px to 1199px) */
  @media (min-width: 992px) and (max-width: 1199.98px) {
    #news-slider-section .row.news-section>div:first-child {
      flex: 0 0 100%;
      max-width: 100%;
      text-align: center !important;
      margin-bottom: 2rem;
    }

    #news-slider-section .row.news-section>div:first-child .text-start {
      text-align: center !important;
    }

    #news-slider-section .row.news-section>div:last-child {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 991.98px) {
    .facility-accordion-wrapper {
      height: auto;
      flex-direction: column;
      flex-wrap: wrap;
    }

    .facility-accordion-card {
      width: 100% !important;
      height: 120px;
    }

    .facility-accordion-card.active-card {
      width: 100% !important;
      height: 320px;
    }

    .facility-accordion-card:not(.active-card) .facility-accordion-title {
      writing-mode: horizontal-tb;
      transform: none;
      position: static;
      margin: 0;
    }

    .facility-accordion-card:not(.active-card) .facility-accordion-content {
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
    }

    .leadership-img {
      width: 240px;
      height: 300px;
    }

    .about-title {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 767.98px) {
    .menu-panel {
      top: 80px;
      width: calc(100vw - 16px);
      padding: 15px;
      max-height: calc(100vh - 95px);
      border-radius: 12px;
    }

    .menu-panel .row.g-4 {
      --bs-gutter-y: 1rem;
    }

    .nav-container-box {
      height: 68px;
      border-radius: 50rem !important;
    }

    .brand-logo-wrapper {
      width: 65px;
      height: 65px;
      left: -6px;
    }

    .brand-title-main {
      font-size: 14px;
    }

    .brand-title-sub {
      font-size: 11px;
    }

    .brand-tagline-text {
      font-size: 7px;
      letter-spacing: 0.5px;
    }

    .stadium-svg-elem {
      display: none;
    }

    .gallery-deck {
      height: 340px;
      perspective: none;
    }

    .gallery-card-fixed {
      width: 240px;
      height: 320px;
    }

    .gallery-card-img {
      height: 230px;
    }

    .gallery-card.pos-left {
      transform: translateX(-40px) scale(0.7);
      opacity: 0.15;
    }

    .gallery-card.pos-right {
      transform: translateX(40px) scale(0.7);
      opacity: 0.15;
    }

    .gallery-card.pos-center {
      transform: translateX(0) scale(0.95);
    }

    .about-img-main-box {
      height: 260px;
    }

    .about-img-sub-box {
      height: 122px;
    }
  }

  @media (max-width: 575.98px) {
    .brand-left-container {
      padding-left: 6px !important;
      padding-right: 2px !important;
    }

    .login-btn-link {
      padding-left: 10px !important;
      padding-right: 10px !important;
      font-size: 11px !important;
    }

    .hero-heading-cinzel {
      font-size: 1.5rem !important;
    }

    .hero-subtext {
      font-size: 0.85rem;
    }

    .about-title {
      font-size: 1.45rem;
    }
  }









/* ==========================================================================
   BANNER SECTION (Fixed overlapping header offset)
   ========================================================================== */
/* ==========================================================================
   BANNER SECTION
   ========================================================================== */
.universal-banner {
    position: relative;
    background: linear-gradient(rgba(18, 1, 4, 0.85), rgba(18, 1, 4, 0.85)), url('../img/shajahanpur.png') no-repeat center center;
    background-size: cover;
    padding: 160px 0 60px 0;
    text-align: center;
    border-bottom: 3px solid var(--royal-gold);
}

.banner-content h1 {
    font-weight: 900;
    font-size: 3rem;
    color: var(--primary-light);
}

.heading-separator {
    width: 100px;
    height: 4px;
    background: var(--royal-gold);
    margin: 15px auto;
    border-radius: 2px;
}

.banner-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.decorative-line {
    width: 50px;
    height: 1px;
    background: var(--royal-gold);
}

.location-tag {
    color: var(--royal-gold-light);
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   PAGE CONTENT & UTILITIES
   ========================================================================== */
.about-content {
    padding: 60px 0;
    background: #fcfbfa; /* Updated background color */
}

.page-heading {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.paragraph {
    color: var(--royal-dark); /* Clear, dark text for readability on #fcfbfa */
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.about-quote {
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-left: 4px solid var(--royal-gold);
    padding-left: 12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   LIST FORMATTING
   ========================================================================== */
.list-styling-arrow {
    padding: 0;
    margin: 20px 0;
}

.list-styling-arrow li {
    position: relative;
    line-height: 28px;
    padding: 0 0 0 36px;
    list-style: none;
    margin: 10px 0;
    color: var(--royal-dark); /* Clean dark text */
}

.list-styling-arrow li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-red);
    color: var(--royal-gold);
    font-size: 11px;
    border-radius: 50%;
}

/* ==========================================================================
   DATA TABLES
   ========================================================================== */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid var(--royal-burgundy);
}

.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse !important;
    background-color: var(--primary-light);
}

.table thead th {
    background: var(--primary-red) !important;
    color: var(--primary-light) !important;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    padding: 14px !important;
    border: 1px solid var(--royal-burgundy) !important;
}

.table tbody td {
    font-size: 15px;
    background: var(--primary-light) !important;
    color: var(--royal-dark) !important;
    padding: 14px 12px !important;
    vertical-align: middle;
    border: 1px solid var(--royal-burgundy) !important;
}

.table tbody td a {
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: underline;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.table tbody td a:hover {
    color: var(--royal-gold);
}

/* ==========================================================================
   ACCORDION STYLING
   ========================================================================== */
.accordion-item {
    border: 1px solid var(--royal-burgundy);
    background: var(--primary-light);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background: var(--primary-red);
    color: var(--primary-light);
    border-radius: 0 !important;
    padding: 16px 20px;
    border: none;
    box-shadow: none;
    font-weight: 600;
}

.accordion-button::after {
    display: none;
}

.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--royal-gold);
}

.accordion-button:not(.collapsed) .arrow-icon {
    transform: rotate(180deg);
}

.accordion-button:not(.collapsed) {
    background: var(--royal-burgundy);
    color: var(--royal-gold);
    box-shadow: none;
}

.accordion-body {
    background: var(--primary-light);
    color: var(--royal-dark);
    border-top: 1px solid var(--royal-burgundy);
    padding: 20px;
}