:root {
      --primary-color: #c6281a;
      --primary-dark: #8e1c12;
      --secondary-color: #1f5f98;
      --secondary-light: #2f7fc4;
      --accent-color: #e6b422;
      --accent-soft: #fff4cc;
      --teal: #0d8a7b;
      --coral: #e85d4c;
      --dark-color: #121820;
      --light-color: #f7f4ef;
      --soft-blue: #eef5fb;
      --soft-red: #fdf0ee;
      --soft-gold: #fbf6e6;
      --text-muted: #5c6570;
      --glass: rgba(255, 255, 255, 0.14);
      --glass-border: rgba(255, 255, 255, 0.28);
      --shadow: 0 18px 50px rgba(18, 24, 32, 0.18);
      --radius: 18px;
      --nav-h: 78px;
      --font-display: "Playfair Display", Georgia, serif;
      --font-body: "Poppins", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      color: var(--dark-color);
      background: #fff;
      overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; }
    a { text-decoration: none; transition: .25s ease; }
    h1, h2, h3, h4, .display-font { font-family: var(--font-display); }

    /* ========== TOP BAR ========== */
    .top-bar {
      background: linear-gradient(90deg, #8e1c12 0%, #1f5f98 50%, #0d8a7b 100%);
      color: #fff;
      font-size: .82rem;
      padding: .55rem 0;
      position: relative;
      z-index: 1040;
    }
    .top-bar a { color: rgba(255,255,255,.9); }
    .top-bar a:hover { color: var(--accent-color); }
    .admission-pill {
      background: var(--accent-color);
      color: var(--dark-color) !important;
      font-weight: 700;
      font-size: .72rem;
      letter-spacing: .06em;
      padding: .28rem .75rem;
      border-radius: 999px;
      animation: pulseSoft 2.2s infinite;
      white-space: nowrap;
    }
    .disclosure-pill {
      background: #fff;
      color: var(--primary-color) !important;
      font-weight: 700;
      font-size: .72rem;
      letter-spacing: .04em;
      padding: .28rem .8rem;
      border-radius: 999px;
      white-space: nowrap;
      border: 2px solid var(--accent-color);
      box-shadow: 0 0 0 0 rgba(255,255,255,.45);
      animation: pulseDisclosure 2s infinite;
    }
    .disclosure-pill:hover {
      background: var(--accent-color);
      color: var(--dark-color) !important;
    }
    .btn-disclosure {
      background: linear-gradient(135deg, var(--accent-color), #f5d76e);
      color: var(--dark-color);
      border: 2px solid #fff;
      border-radius: 999px;
      padding: .85rem 1.7rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      box-shadow: 0 10px 28px rgba(230,180,34,.45);
      animation: pulseDisclosure 2.2s infinite;
    }
    .btn-disclosure:hover {
      color: var(--dark-color);
      transform: translateY(-2px);
      background: #fff;
    }
    @keyframes pulseDisclosure {
      0%, 100% { box-shadow: 0 0 0 0 rgba(230,180,34,.55); }
      50% { box-shadow: 0 0 0 10px rgba(230,180,34,0); }
    }
    .ticker-wrap { overflow: hidden; max-width: 220px; }
    .ticker {
      display: inline-block;
      white-space: nowrap;
      animation: ticker 14s linear infinite;
    }
    @keyframes ticker {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
    @keyframes pulseSoft {
      0%, 100% { box-shadow: 0 0 0 0 rgba(230,180,34,.55); }
      50% { box-shadow: 0 0 0 10px rgba(230,180,34,0); }
    }

    /* ========== NAVBAR ========== */
    .main-nav {
      position: sticky;
      top: 0;
      z-index: 1030;
      padding: .65rem 0;
      transition: .35s ease;
      background: transparent;
    }
    .main-nav .nav-shell {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .45rem .55rem .45rem .85rem;
      border-radius: 999px;
      background: rgba(255,255,255,.82);
      backdrop-filter: blur(18px) saturate(1.2);
      -webkit-backdrop-filter: blur(18px) saturate(1.2);
      border: 1px solid rgba(255,255,255,.7);
      box-shadow:
        0 10px 40px rgba(18,24,32,.08),
        0 1px 0 rgba(255,255,255,.9) inset;
      transition: .35s ease;
    }
    .main-nav.scrolled .nav-shell {
      background: rgba(255,255,255,.95);
      box-shadow:
        0 14px 44px rgba(18,24,32,.14),
        0 0 0 1px rgba(198,40,26,.08);
      padding: .32rem .45rem .32rem .7rem;
    }
    .brand-wrap {
      display: flex;
      align-items: center;
      gap: .7rem;
      flex-shrink: 0;
      padding: .15rem .2rem;
    }
    .brand-wrap img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      border: 2.5px solid var(--accent-color);
      box-shadow:
        0 0 0 3px rgba(230,180,34,.18),
        0 6px 16px rgba(198,40,26,.22);
      transition: transform .3s ease;
    }
    .brand-wrap:hover img { transform: rotate(-6deg) scale(1.05); }
    .brand-text strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.12rem;
      color: var(--dark-color);
      line-height: 1.1;
      letter-spacing: .01em;
    }
    .brand-text span {
      font-size: .68rem;
      color: var(--secondary-color);
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .nav-menu-wrap {
      display: flex;
      align-items: center;
      gap: .15rem;
    }
    .nav-link-custom {
      color: var(--dark-color) !important;
      font-weight: 500;
      font-size: .86rem;
      padding: .55rem .78rem !important;
      position: relative;
      border-radius: 999px;
      transition: color .25s, background .25s;
    }
    .nav-link-custom::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: .28rem;
      width: 0;
      height: 2.5px;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
      transform: translateX(-50%);
      transition: width .28s ease;
    }
    .nav-link-custom:hover {
      color: var(--primary-color) !important;
      background: rgba(198,40,26,.06);
    }
    .nav-link-custom:hover::after,
    .nav-link-custom.active::after { width: 42%; }
    .nav-link-custom.active {
      color: var(--primary-color) !important;
      font-weight: 600;
    }
    .main-nav .dropdown-menu {
      margin-top: .65rem !important;
      border: none;
      border-radius: 16px;
      padding: .55rem;
      min-width: 200px;
      background: rgba(255,255,255,.97);
      backdrop-filter: blur(12px);
      box-shadow: 0 18px 50px rgba(18,24,32,.16);
      animation: navDrop .22s ease;
    }
    @keyframes navDrop {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .main-nav .dropdown-item {
      border-radius: 10px;
      padding: .65rem .9rem;
      font-size: .88rem;
      font-weight: 500;
      color: var(--dark-color);
      transition: .2s;
    }
    .main-nav .dropdown-item:hover {
      background: linear-gradient(90deg, rgba(198,40,26,.1), rgba(230,180,34,.12));
      color: var(--primary-color);
      padding-left: 1.1rem;
    }
    .btn-admit-nav {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      color: #fff !important;
      border-radius: 999px;
      padding: .55rem 1.15rem !important;
      font-size: .8rem;
      font-weight: 600;
      margin-left: .35rem;
      box-shadow: 0 8px 20px rgba(198,40,26,.3);
      border: none;
    }
    .btn-admit-nav:hover {
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 10px 26px rgba(198,40,26,.4);
    }
    .btn-admin {
      background: transparent;
      color: var(--secondary-color) !important;
      border: 1.5px solid rgba(31,95,152,.35);
      border-radius: 999px;
      padding: .48rem 1rem !important;
      font-size: .78rem;
      font-weight: 600;
      margin-left: .25rem;
    }
    .btn-admin:hover {
      background: var(--secondary-color);
      color: #fff !important;
      border-color: var(--secondary-color);
    }
    .nav-toggler {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: none;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 20px rgba(198,40,26,.28);
    }
    .offcanvas {
      --bs-offcanvas-width: min(320px, 88vw);
      border-radius: 24px 0 0 24px;
    }
    .offcanvas-header {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: #fff;
    }
    .offcanvas-header .btn-close { filter: invert(1); }
    .offcanvas-body .nav-link {
      padding: .75rem .9rem;
      border-radius: 12px;
      margin-bottom: .25rem;
      font-weight: 500;
      color: var(--dark-color);
      border-bottom: none;
    }
    .offcanvas-body .nav-link:hover {
      background: rgba(198,40,26,.08);
      color: var(--primary-color);
    }

    @media (max-width: 991.98px) {
      .main-nav .nav-shell {
        border-radius: 20px;
        padding: .4rem .55rem .4rem .7rem;
      }
    }

    /* ========== SHARED ========== */
    .eyebrow {
      display: inline-block;
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--primary-color);
      margin-bottom: .85rem;
      background: linear-gradient(90deg, rgba(198,40,26,.1), rgba(230,180,34,.18));
      padding: .35rem .85rem;
      border-radius: 999px;
      border-left: 3px solid var(--accent-color);
    }
    .section-title {
      font-size: clamp(1.85rem, 3.5vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 1rem;
      background: linear-gradient(90deg, var(--dark-color) 0%, var(--secondary-color) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .why-section .section-title,
    .vm-section .section-title,
    .activities-section .section-title,
    .features-section .section-title,
    .campus-section .section-title,
    .testimonial-section .section-title,
    .life-section .section-title,
    .principal-section .section-title,
    .admission-cta h2 {
      background: linear-gradient(90deg, #fff 0%, var(--accent-color) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .why-section .eyebrow,
    .vm-section .eyebrow,
    .activities-section .eyebrow,
    .features-section .eyebrow,
    .campus-section .eyebrow,
    .testimonial-section .eyebrow,
    .life-section .eyebrow,
    .principal-section .eyebrow,
    .admission-cta .eyebrow,
    .hero .eyebrow {
      color: var(--accent-color);
      background: rgba(230,180,34,.15);
      border-left-color: var(--accent-color);
    }
    .lead-text {
      font-size: 1.02rem;
      line-height: 1.75;
      color: var(--text-muted);
    }
    .btn-primary-ms {
      background: linear-gradient(135deg, var(--primary-color), #e85d4c);
      color: #fff;
      border: none;
      border-radius: 999px;
      padding: .85rem 1.7rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      box-shadow: 0 10px 28px rgba(198,40,26,.35);
    }
    .btn-primary-ms:hover { color: #fff; transform: translateY(-2px); }
    .btn-outline-ms {
      background: rgba(255,255,255,.12);
      color: #fff;
      border: 1.5px solid rgba(255,255,255,.75);
      border-radius: 999px;
      padding: .85rem 1.7rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
    }
    .btn-outline-ms:hover { background: var(--accent-color); color: var(--dark-color); border-color: var(--accent-color); }
    .parallax-bg {
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
    }
    @media (max-width: 991.98px) {
      .parallax-bg { background-attachment: scroll !important; }
      .top-bar .hide-sm { display: none !important; }
    }

    /* ========== HERO ========== */
    .hero {
      min-height: 100vh;
      min-height: 100dvh;
      position: relative;
      display: flex;
      align-items: center;
      color: #fff;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }
    .hero-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      background: linear-gradient(105deg, rgba(142,28,18,.82) 0%, rgba(31,95,152,.55) 48%, rgba(13,138,123,.4) 100%);
      pointer-events: none;
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1.08);
      transition: opacity 1.2s ease, transform 6s ease;
      z-index: 1;
    }
    .hero-slide.active {
      opacity: 1;
      transform: scale(1);
      z-index: 1;
    }
    .hero-dots {
      position: absolute;
      left: 50%;
      bottom: 72px;
      transform: translateX(-50%);
      z-index: 4;
      display: flex;
      gap: .55rem;
    }
    .hero-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.85);
      background: transparent;
      padding: 0;
      transition: .3s;
    }
    .hero-dots button.active {
      background: var(--accent-color);
      border-color: var(--accent-color);
      width: 28px;
      border-radius: 999px;
    }
    .hero-content { position: relative; z-index: 2; padding: 6.5rem 0 5rem; }
    .hero-content .hero-copy { max-width: 600px; }
    .hero h1 {
      font-size: clamp(2.4rem, 6vw, 4.4rem);
      font-weight: 700;
      margin-bottom: .4rem;
      line-height: 1.05;
    }
    .hero .sub {
      font-family: var(--font-body);
      font-size: clamp(1.1rem, 2.2vw, 1.45rem);
      font-weight: 600;
      color: var(--accent-color);
      margin-bottom: 1.2rem;
      text-shadow: 0 2px 12px rgba(0,0,0,.35);
    }
    .hero p { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
    .hero-side-card {
      position: relative;
      z-index: 2;
      background: linear-gradient(165deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
      border: 1px solid rgba(255,255,255,.35);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 24px;
      padding: 1.6rem;
      box-shadow: 0 20px 50px rgba(0,0,0,.28);
      color: #fff;
      overflow: hidden;
    }
    .hero-side-card::before {
      content: "";
      position: absolute;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: rgba(230,180,34,.22);
      top: -50px;
      right: -40px;
      pointer-events: none;
    }
    .hero-side-top {
      display: flex;
      align-items: center;
      gap: .9rem;
      margin-bottom: 1.2rem;
      position: relative;
    }
    .hero-side-top img {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      border: 2px solid var(--accent-color);
      object-fit: cover;
      box-shadow: 0 0 0 4px rgba(230,180,34,.2);
    }
    .hero-side-top h3 {
      font-size: 1.15rem;
      margin: 0;
      color: #fff;
    }
    .hero-side-top span {
      font-size: .78rem;
      color: var(--accent-color);
      font-weight: 600;
      letter-spacing: .04em;
    }
    .hero-open-badge {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      background: var(--accent-color);
      color: var(--dark-color);
      font-weight: 700;
      font-size: .72rem;
      letter-spacing: .05em;
      padding: .35rem .7rem;
      border-radius: 999px;
      margin-bottom: 1rem;
      animation: pulseSoft 2.2s infinite;
    }
    .hero-fact {
      display: flex;
      align-items: flex-start;
      gap: .75rem;
      padding: .7rem 0;
      border-bottom: 1px solid rgba(255,255,255,.15);
      position: relative;
    }
    .hero-fact:last-of-type { border-bottom: none; }
    .hero-fact i {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(230,180,34,.2);
      color: var(--accent-color);
      flex-shrink: 0;
    }
    .hero-fact strong {
      display: block;
      font-size: .92rem;
      font-weight: 600;
      margin-bottom: .1rem;
    }
    .hero-fact small {
      color: rgba(255,255,255,.75);
      font-size: .78rem;
    }
    .hero-side-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .6rem;
      margin-top: 1.1rem;
      position: relative;
    }
    .hero-side-actions a {
      text-align: center;
      padding: .65rem .5rem;
      border-radius: 12px;
      font-size: .78rem;
      font-weight: 600;
    }
    .hero-side-actions .a1 {
      background: linear-gradient(135deg, var(--primary-color), #e85d4c);
      color: #fff;
    }
    .hero-side-actions .a2 {
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.4);
      color: #fff;
    }
    .hero-side-actions a:hover { transform: translateY(-2px); color: #fff; }
    .scroll-indicator {
      position: absolute;
      left: 50%;
      bottom: 28px;
      transform: translateX(-50%);
      z-index: 3;
      color: rgba(255,255,255,.8);
      font-size: .72rem;
      letter-spacing: .18em;
      text-align: center;
    }
    .scroll-indicator i { display: block; margin-top: .35rem; animation: bounce 1.6s infinite; }
    @keyframes bounce {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(8px); }
    }

    /* ========== ABOUT ========== */
    .about-section {
      position: relative;
      padding: 6rem 0;
      background:
        radial-gradient(circle at top right, rgba(230,180,34,.18), transparent 45%),
        radial-gradient(circle at bottom left, rgba(31,95,152,.12), transparent 40%),
        var(--soft-blue);
    }
    .about-panel {
      background: linear-gradient(165deg, #fff 0%, #fff8f0 100%);
      border-radius: var(--radius);
      padding: 2.5rem;
      box-shadow: var(--shadow);
      border: 1px solid rgba(198,40,26,.12);
      border-top: 4px solid var(--primary-color);
      height: 100%;
    }
    .about-side-img {
      position: relative;
      border-radius: 22px;
      overflow: hidden;
      height: 100%;
      min-height: 480px;
      box-shadow: var(--shadow);
      border: 3px solid var(--accent-color);
    }
    .about-side-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      min-height: 480px;
      transition: transform .6s ease;
    }
    .about-side-img:hover img { transform: scale(1.05); }
    .about-side-img::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 1px solid rgba(255,255,255,.35);
      border-radius: 22px;
      pointer-events: none;
    }
    .stats-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 2rem;
    }
    .stat-item {
      text-align: center;
      padding: 1rem .5rem;
      border-radius: 14px;
      background: linear-gradient(180deg, #fff, #fff4e8);
      border: 1px solid rgba(198,40,26,.12);
    }
    .stat-item:nth-child(2) {
      background: linear-gradient(180deg, #fff, #eef5fb);
      border-color: rgba(31,95,152,.18);
    }
    .stat-item:nth-child(2) .num { color: var(--secondary-color); }
    .stat-item:nth-child(3) {
      background: linear-gradient(180deg, #fff, #eaf8f5);
      border-color: rgba(13,138,123,.18);
    }
    .stat-item:nth-child(3) .num { color: var(--teal); }
    .stat-item:nth-child(4) {
      background: linear-gradient(180deg, #fff, #fff8dc);
      border-color: rgba(230,180,34,.35);
    }
    .stat-item:nth-child(4) .num { color: #c9a116; }
    .stat-item .num {
      font-family: var(--font-display);
      font-size: 1.8rem;
      color: var(--primary-color);
      font-weight: 700;
      line-height: 1;
    }
    .stat-item .label { font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }

    /* ========== PRINCIPAL ========== */
    .principal-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
      overflow: hidden;
    }
    .principal-section .bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(120deg, rgba(18,24,32,.92), rgba(31,95,152,.78)),
        url("BUILDING PHOTO 6.jpg") center/cover fixed no-repeat;
    }
    .principal-photo {
      width: min(340px, 100%);
      aspect-ratio: 1;
      border-radius: 50%;
      object-fit: cover;
      border: 6px solid rgba(230,180,34,.85);
      box-shadow: 0 20px 50px rgba(0,0,0,.35);
      margin: 0 auto 1.5rem;
      display: block;
    }
    .quote-mark {
      font-family: var(--font-display);
      font-size: 5rem;
      line-height: .5;
      color: var(--accent-color);
      opacity: .8;
    }
    .principal-msg { font-size: 1.08rem; line-height: 1.85; color: rgba(255,255,255,.9); }

    /* ========== WHY CHOOSE ========== */
    .why-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .why-section .bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(135deg, rgba(142,28,18,.88), rgba(31,95,152,.82) 55%, rgba(13,138,123,.75)),
        url("TEACHERS%27%20DAY.jpg") center/cover fixed no-repeat;
    }
    .glass-card {
      background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(230,180,34,.1));
      border: 1px solid rgba(230,180,34,.4);
      backdrop-filter: blur(12px);
      border-radius: var(--radius);
      padding: 1.6rem;
      height: 100%;
      transition: .35s ease;
    }
    .glass-card:hover {
      transform: translateY(-10px);
      background: rgba(255,255,255,.24);
      border-color: var(--accent-color);
      box-shadow: 0 20px 40px rgba(0,0,0,.25);
    }
    .glass-card .num {
      font-family: var(--font-display);
      font-size: 2rem;
      color: var(--accent-color);
      opacity: .85;
    }
    .glass-card i {
      font-size: 1.5rem;
      color: var(--accent-color);
      margin: .5rem 0 1rem;
      display: block;
    }

    /* ========== VISION MISSION ========== */
    .vm-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .vm-section .bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(90deg, rgba(198,40,26,.85), rgba(31,95,152,.85)),
        url("BUILDING PHOTO 1.jpg") center/cover fixed no-repeat;
    }
    .vm-panel {
      background: rgba(255,255,255,.12);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(10px);
      border-radius: var(--radius);
      padding: 2.2rem;
      height: 100%;
      position: relative;
      overflow: hidden;
    }
    .vm-panel::before {
      content: "";
      position: absolute;
      width: 140px; height: 140px;
      border-radius: 50%;
      background: rgba(230,180,34,.18);
      top: -40px; right: -30px;
    }
    .vm-panel i {
      font-size: 2rem;
      color: var(--accent-color);
      margin-bottom: 1rem;
    }

    /* ========== ACADEMIC ========== */
    .academic-section {
      padding: 6rem 0;
      background:
        radial-gradient(circle at 20% 20%, rgba(230,180,34,.2), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(198,40,26,.1), transparent 40%),
        var(--soft-gold);
      position: relative;
    }
    .level-panel {
      position: relative;
      min-height: 420px;
      border-radius: 22px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      color: #fff;
      box-shadow: var(--shadow);
    }
    .level-panel .img {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center;
      transition: transform .7s ease;
    }
    .level-panel:hover .img { transform: scale(1.1); }
    .level-panel .overlay {
      position: absolute; inset: 0;
      background: linear-gradient(transparent 20%, rgba(18,24,32,.88));
      transition: .4s;
    }
    .level-panel:hover .overlay { background: linear-gradient(transparent 5%, rgba(18,24,32,.92)); }
    .level-panel .content {
      position: relative;
      z-index: 2;
      padding: 2rem;
      transform: translateY(8px);
      transition: .4s;
    }
    .level-panel:hover .content { transform: translateY(0); }
    .level-panel .explore {
      opacity: 0;
      transform: translateY(10px);
      transition: .4s;
      color: var(--accent-color);
      font-weight: 600;
      margin-top: .75rem;
      display: inline-block;
    }
    .level-panel:hover .explore { opacity: 1; transform: translateY(0); }

    /* ========== ACTIVITIES ========== */
    .activities-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .activities-section .bg {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, #8e1c12 0%, #1f5f98 55%, #0d8a7b 100%);
    }
    .activity-chip {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      min-height: 160px;
      display: flex;
      align-items: flex-end;
      padding: 1.1rem;
      color: #fff;
      font-weight: 600;
    }
    .activity-chip .img {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center;
      transition: .5s;
    }
    .activity-chip:hover .img { transform: scale(1.12); }
    .activity-chip::after {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(transparent, rgba(0,0,0,.75));
    }
    .activity-chip span { position: relative; z-index: 2; }

    /* ========== FEATURES ========== */
    .features-section {
      padding: 6rem 0;
      background: var(--dark-color);
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .features-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(18,24,32,.88), rgba(18,24,32,.92)),
        url("DSCN0413.JPG") center/cover no-repeat;
      opacity: .9;
    }
    .feature-item {
      position: relative;
      z-index: 2;
      padding: 1.4rem;
      border: 1px solid rgba(230,180,34,.25);
      border-radius: 14px;
      background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(31,95,152,.15));
      height: 100%;
      transition: .3s;
    }
    .feature-item:hover {
      border-color: var(--accent-color);
      box-shadow: 0 0 0 1px rgba(230,180,34,.35), 0 12px 30px rgba(0,0,0,.25);
      transform: translateY(-4px);
      background: linear-gradient(160deg, rgba(230,180,34,.15), rgba(198,40,26,.18));
    }
    .feature-item i {
      color: var(--accent-color);
      font-size: 1.4rem;
      margin-bottom: .75rem;
    }
    .feature-item h4 {
      font-family: var(--font-body);
      font-size: 1.05rem;
      font-weight: 600;
    }

    /* ========== CAMPUS ========== */
    .campus-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .campus-section .bg {
      position: absolute; inset: 0;
      background: linear-gradient(160deg, #1f5f98 0%, #0d8a7b 50%, #1a2a3d 100%);
    }
    .campus-card {
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      min-height: 220px;
      box-shadow: var(--shadow);
      transform: rotate(0deg);
      transition: .35s;
    }
    .campus-card:nth-child(odd) { transform: translateY(18px); }
    .campus-card:hover { transform: translateY(-6px) scale(1.02); }
    .campus-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }
    .campus-card .cap {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      padding: .85rem 1rem;
      background: linear-gradient(transparent, rgba(0,0,0,.8));
      color: #fff;
      font-weight: 600;
    }

    /* ========== TESTIMONIALS ========== */
    .testimonial-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .testimonial-section .bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(rgba(31,95,152,.88), rgba(18,24,32,.85)),
        url("af4e257c-63f1-4327-aadf-2ea9e1f77c91.jpg") center/cover fixed no-repeat;
    }
    .testimonial-card {
      background: rgba(255,255,255,.12);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(10px);
      border-radius: var(--radius);
      padding: 2rem;
      height: 100%;
    }
    .stars { color: var(--accent-color); margin-bottom: .75rem; }
    .testimonial-card p { font-style: italic; line-height: 1.7; color: rgba(255,255,255,.92); }
    .carousel-indicators [data-bs-target] {
      width: 10px; height: 10px; border-radius: 50%;
    }

    /* ========== GALLERY ========== */
    .gallery-section {
      padding: 6rem 0;
      background:
        radial-gradient(circle at top left, rgba(31,95,152,.1), transparent 45%),
        radial-gradient(circle at bottom right, rgba(198,40,26,.08), transparent 40%),
        #fff;
    }
    .filter-btns {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      justify-content: center;
      margin-bottom: 2rem;
    }
    .filter-btns button {
      border: 1.5px solid rgba(31,95,152,.2);
      background: var(--soft-blue);
      color: var(--secondary-color);
      border-radius: 999px;
      padding: .45rem 1rem;
      font-size: .85rem;
      font-weight: 600;
      transition: .25s;
    }
    .filter-btns button.active,
    .filter-btns button:hover {
      background: linear-gradient(135deg, var(--primary-color), #e85d4c);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 8px 18px rgba(198,40,26,.28);
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      height: 260px;
      border: 2px solid transparent;
      box-shadow: 0 8px 24px rgba(31,95,152,.1);
      transition: border-color .3s, box-shadow .3s;
    }
    .gallery-item:hover {
      border-color: var(--accent-color);
      box-shadow: 0 12px 30px rgba(198,40,26,.2);
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .6s ease;
      pointer-events: none;
    }
    .gallery-item .g-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(transparent 40%, rgba(18,24,32,.75));
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      padding: 1rem 1.1rem;
      color: #fff;
      opacity: 0;
      transition: .35s;
    }
    .gallery-item:hover img { transform: scale(1.08); }
    .gallery-item:hover .g-overlay { opacity: 1; }
    .gallery-item.hide { display: none; }

    /* ========== SCHOOL LIFE ========== */
    .life-section {
      padding: 6rem 0;
      position: relative;
      color: #fff;
    }
    .life-section .bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(135deg, rgba(31,95,152,.9), rgba(13,138,123,.85) 50%, rgba(198,40,26,.8)),
        url("WORLD ENVIRONMENT FAY CELEBRATION.jpg") center/cover fixed no-repeat;
    }
    .timeline {
      position: relative;
      max-width: 820px;
      margin: 0 auto;
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 0; bottom: 0;
      width: 2px;
      background: linear-gradient(var(--accent-color), var(--primary-color));
    }
    .timeline-item {
      position: relative;
      padding-left: 60px;
      margin-bottom: 2rem;
    }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: 10px; top: 6px;
      width: 18px; height: 18px;
      border-radius: 50%;
      background: var(--accent-color);
      border: 3px solid #fff;
      box-shadow: 0 0 0 4px rgba(230,180,34,.25);
    }
    .timeline-item h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin-bottom: .35rem; }
    .timeline-item p { color: rgba(255,255,255,.8); margin: 0; }

    /* ========== ADMISSION CTA ========== */
    .admission-cta {
      padding: 7rem 0;
      position: relative;
      color: #fff;
      text-align: center;
    }
    .admission-cta .bg {
      position: absolute; inset: 0;
      background: linear-gradient(105deg, #c6281a 0%, #e85d4c 40%, #1f5f98 100%);
    }
    .admission-cta h2 {
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      margin-bottom: 1rem;
    }
    .cta-arrow {
      display: inline-block;
      animation: bounce 1.5s infinite;
      margin-left: .35rem;
    }

    /* ========== FOOTER ========== */
    .site-footer {
      background: linear-gradient(165deg, #1a2740 0%, #1f3a5f 40%, #8e1c12 160%);
      color: rgba(255,255,255,.78);
      padding: 4.5rem 0 1.5rem;
    }
    .site-footer h5 {
      color: #fff;
      font-family: var(--font-body);
      font-weight: 600;
      margin-bottom: 1.2rem;
      font-size: 1rem;
    }
    .site-footer a { color: rgba(255,255,255,.72); }
    .site-footer a:hover { color: var(--accent-color); }
    .footer-brand img {
      width: 64px; height: 64px;
      border-radius: 50%;
      border: 2px solid var(--accent-color);
      margin-bottom: 1rem;
    }
    .footer-map {
      margin-top: 1rem;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(230,180,34,.35);
      box-shadow: 0 8px 24px rgba(0,0,0,.25);
      height: 140px;
    }
    .footer-map iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }
    .footer-bottom {
      border-top: 3px solid var(--accent-color);
      margin-top: 2.5rem;
      padding-top: 1.25rem;
      font-size: .85rem;
    }
    .socials a {
      width: 38px; height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255,255,255,.08);
      margin-right: .4rem;
    }
    .socials a:hover { background: var(--primary-color); color: #fff; }

    /* ========== WHATSAPP ========== */
    .whatsapp-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 1050;
      width: 58px; height: 58px;
      border-radius: 50%;
      background: #25d366;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      box-shadow: 0 10px 30px rgba(37,211,102,.45);
      animation: pulseSoft 2s infinite;
    }
    .whatsapp-float:hover { color: #fff; transform: scale(1.08); }
    .whatsapp-float .tip {
      position: absolute;
      right: 68px;
      background: #fff;
      color: var(--dark-color);
      font-size: .78rem;
      font-weight: 600;
      padding: .4rem .7rem;
      border-radius: 8px;
      white-space: nowrap;
      box-shadow: var(--shadow);
      opacity: 0;
      pointer-events: none;
      transition: .25s;
    }
    .whatsapp-float:hover .tip { opacity: 1; }

    /* ========== MODALS ========== */
    .modal-content { border: none; border-radius: 18px; overflow: hidden; }
    .modal-header {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: #fff;
      border: none;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 991.98px) {
      .hero-side-card { margin-top: 1.5rem; margin-bottom: 2rem; }
      .about-panel { margin: 0; max-width: 100%; }
      .about-side-img, .about-side-img img { min-height: 320px; }
      .stats-strip { grid-template-columns: repeat(2, 1fr); }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-item { height: 200px; }
      .campus-card:nth-child(odd) { transform: none; }
    }
    @media (max-width: 575.98px) {
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-item { height: 160px; }
      .btn-primary-ms, .btn-outline-ms, .btn-disclosure { width: 100%; justify-content: center; }
      .hero-content { padding-top: 5rem; padding-bottom: 4rem; }
      .hero-side-actions { grid-template-columns: 1fr; }
      .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
    }

/* ========== ABOUT PAGE ========== */
.page-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  color: #fff;
  overflow: hidden;
}
.page-hero .bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(142,28,18,.88), rgba(31,95,152,.75)),
    url("BUILDING PHOTO 1.jpg") center/cover no-repeat;
}
.page-hero .breadcrumb-nav a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb-nav span { color: var(--accent-color); }
.about-intro-card {
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary-color);
  height: 100%;
}
.about-intro-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
.about-highlight {
  background: linear-gradient(160deg, #fff, var(--soft-blue));
  border: 1px solid rgba(31,95,152,.12);
  border-radius: 14px;
  padding: 1rem;
}
.about-highlight i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: .45rem;
  display: block;
}
.about-highlight strong { display: block; font-size: .92rem; margin-bottom: .2rem; }
.about-highlight span { font-size: .78rem; color: var(--text-muted); }
.society-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top right, rgba(230,180,34,.16), transparent 40%),
    var(--soft-gold);
}
.society-box {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent-color);
}
.why-block {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem;
  height: 100%;
  border: 1px solid rgba(198,40,26,.1);
  box-shadow: 0 10px 28px rgba(18,24,32,.06);
}
.why-block .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #e85d4c);
  color: #fff;
  margin-bottom: 1rem;
}
.facility-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  color: #fff;
}
.facility-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.facility-tile .cap {
  position: relative; z-index: 2;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(transparent 20%, rgba(18,24,32,.85));
}
.coaching-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  margin: .25rem;
}
.staff-note {
  background: linear-gradient(135deg, var(--soft-blue), #fff);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(31,95,152,.12);
}
@media (max-width: 575.98px) {
  .about-highlight-grid { grid-template-columns: 1fr; }
}
