/* ============================================================
   Shri Gujrati English School - Premium Stylesheet
   Theme: Blue · White · Red
   ============================================================ */

:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #1976d2;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-light: #ef4444;
  --accent-rgb: 220, 38, 38;
  --primary-rgb: 21, 101, 192;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --text: #0f172a;
  --text-muted: #334155;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(13, 71, 161, 0.08);
  --shadow-lg: 0 10px 40px rgba(13, 71, 161, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --primary: #42a5f5;
  --primary-dark: #1565c0;
  --primary-light: #64b5f6;
  --accent: #ef4444;
  --accent-hover: #dc2626;
  --accent-light: #f87171;
  --accent-rgb: 239, 68, 68;
  --primary-rgb: 66, 165, 245;
  --off-white: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --glass: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  overflow-x: hidden; max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--accent); }

main, .top-utility-bar, .footer-v2, .hero-pro, section {
  max-width: 100%;
  overflow-x: clip;
}
.site-header {
  max-width: 100%;
  overflow: visible;
}

/* ---- Scroll Progress ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999; transition: width 0.1s linear;
}

/* ---- Preloader ---- */
#preloader {
  position: fixed; inset: 0; background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 20px;
}
.preloader-logo-wrap {
  position: relative;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.preloader-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 1;
}
.loader-ring {
  position: absolute; inset: 0;
  width: 110px; height: 110px;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.preloader-text {
  margin: 0;
  max-width: 280px;
  text-align: center;
  color: #ffffff !important;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.35;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Buttons ---- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border: none; padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--primary-rgb),0.3);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; border: none; padding: 10px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.88rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.35);
}
.btn-outline-custom {
  background: transparent; color: #fff; border: 2px solid #fff;
  padding: 10px 26px; border-radius: 50px; font-weight: 600;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-custom:hover { background: #fff; color: var(--primary); }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-dark); color: rgba(255,255,255,0.85);
  font-size: 0.82rem; padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-links a { margin-left: 12px; font-size: 0.95rem; }

/* Mobile Top Bar */
.mobile-top-bar { gap: 8px; min-height: 34px; }
.mobile-top-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500; white-space: nowrap;
  max-width: 46%; overflow: hidden; text-overflow: ellipsis;
}
.mobile-top-link i { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }
.mobile-top-admission {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark) !important; font-size: 0.68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px; white-space: nowrap; flex-shrink: 0;
}
.mobile-top-admission:hover { color: var(--primary-dark) !important; opacity: 0.92; }

/* ---- Header / Navbar ---- */
.main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow);
  transition: var(--transition);
}
[data-theme="dark"] .main-header { background: rgba(15,23,42,0.92); }
.main-header.scrolled { box-shadow: var(--shadow-lg); }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand img { height: 52px; width: auto; }
.site-logo {
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
.header-top .site-logo { height: 56px; width: 56px; }
.login-logo .site-logo { height: 70px !important; width: 70px; }
.portal-sidebar .site-logo { height: 32px; width: 32px; }
.brand-text { line-height: 1.2; }
.brand-text .school-name {
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
  display: block;
}
.brand-text .tagline { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

.navbar-nav .nav-link {
  font-weight: 500; font-size: 0.9rem; color: var(--text);
  padding: 8px 14px !important; border-radius: 8px; transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); background: rgba(var(--primary-rgb),0.06); }

/* Mega Menu */
.mega-dropdown { position: static; }
.mega-menu {
  width: 100%; left: 0; right: 0; padding: 30px;
  border: none; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); background: var(--white);
}
.mega-menu h6 {
  font-weight: 700; color: var(--primary); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.mega-menu a {
  display: block; padding: 6px 0; color: var(--text-muted);
  font-size: 0.9rem; transition: var(--transition);
}
.mega-menu a:hover { color: var(--accent); padding-left: 6px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-sm-custom {
  padding: 7px 16px; font-size: 0.8rem; border-radius: 50px;
  font-weight: 600; border: none; cursor: pointer; transition: var(--transition);
}
.btn-admission {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
}
.btn-admission:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(var(--accent-rgb),0.4); color: var(--primary-dark); }
.btn-login-dropdown .dropdown-toggle {
  background: var(--primary); color: #fff; padding: 7px 16px;
  font-size: 0.8rem; border-radius: 50px; border: none; font-weight: 600;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Hero Slider ---- */
.hero-section { position: relative; overflow: hidden; }
.hero-slide {
  min-height: 85vh; display: flex; align-items: center;
  background-size: cover; background-position: center;
  position: relative;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161,0.85) 0%, rgba(var(--primary-rgb),0.6) 50%, rgba(13, 71, 161,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff; max-width: 700px;
  animation: fadeUp 0.8s ease;
}
.hero-content .badge-admission {
  display: inline-block; background: var(--accent); color: var(--primary-dark);
  padding: 6px 18px; border-radius: 50px; font-weight: 700; font-size: 0.8rem;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Simple scrolling hero banner ---- */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: #0b2f63;
}
.hero-banner .carousel-item { min-height: clamp(360px, 62vh, 560px); }
.hero-banner-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 62vh, 560px);
  background: #0b2f63;
}
.hero-banner-media {
  position: absolute;
  inset: 0;
  background: #0b2f63 center center / cover no-repeat;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 32, 72, .72) 0%, rgba(8, 32, 72, .38) 48%, rgba(8, 32, 72, .2) 100%);
}
.hero-banner-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 0 64px;
  color: #fff;
}
.hero-banner-caption h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero-banner-caption p {
  max-width: 520px;
  margin: 0 0 20px;
  color: rgba(255,255,255,.92);
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
}
.hero-banner-caption .btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: .82rem;
  box-shadow: 0 10px 24px rgba(199, 17, 27, .28);
}
.hero-banner .carousel-indicators {
  margin-bottom: 16px;
  gap: 6px;
}
.hero-banner .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  opacity: 1;
}
.hero-banner .carousel-indicators .active {
  background: #fff;
  transform: scale(1.15);
}
.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
  width: 56px;
  opacity: 1;
}
.hero-banner-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.1rem;
  backdrop-filter: blur(6px);
  transition: .2s ease;
}
.hero-banner .carousel-control-prev:hover .hero-banner-nav,
.hero-banner .carousel-control-next:hover .hero-banner-nav {
  background: #fff;
  color: #0b2f63;
}
@media (max-width: 767.98px) {
  .hero-banner {
    background: #fff;
  }
  .hero-banner .carousel-item {
    min-height: 0;
  }
  .hero-banner-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: #fff;
  }
  .hero-banner-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 190px;
    max-height: 240px;
  }
  .hero-banner-overlay {
    display: none;
  }
  .hero-banner-caption {
    position: relative;
    z-index: 2;
    order: 2;
    margin-top: 0;
    padding: 10px 0 8px;
    background: #fff;
    color: #0a3268;
  }
  .hero-banner-caption .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-banner-caption h1 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    z-index: 4;
    margin: 0;
    padding: 10px 14px;
    background: #0b4a91;
    color: #fff !important;
    font-size: .95rem;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: none;
  }
  .hero-banner-caption p {
    display: none;
  }
  .hero-banner-caption .btn-red {
    display: flex;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 16px;
    font-size: .72rem;
    justify-content: center;
    box-shadow: none;
  }
  .hero-banner .carousel-indicators {
    bottom: auto;
    top: clamp(148px, calc(56.25vw - 52px), 188px);
    margin-bottom: 0;
    z-index: 5;
  }
  .hero-banner .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
  }
  .hero-banner .carousel-indicators .active {
    background: #d71925;
  }
  .hero-banner .carousel-control-prev,
  .hero-banner .carousel-control-next { display: none; }
  .hero-notice-ticker {
    box-shadow: none;
    background: #f8fafc;
  }
  .ticker-wrap {
    gap: 10px;
    min-height: 40px;
  }
  .ticker-label {
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: .58rem;
    box-shadow: none;
  }
  .ticker-label::after,
  .ticker-more { display: none !important; }
  .ticker-track a {
    font-size: .68rem;
    font-weight: 600;
  }
  .home-quicklinks {
    padding-top: 22px;
    padding-bottom: 16px;
  }
  .quicklinks-heading {
    margin-bottom: 12px;
  }
  .quicklinks-heading h2 {
    font-size: 1.2rem;
  }
}

.hero-counters {
  position: relative; z-index: 2; margin-top: 50px;
  display: flex; flex-wrap: wrap; gap: 30px;
}
.counter-item { text-align: center; color: #fff; }
.counter-item .count {
  font-size: 2.2rem; font-weight: 800; color: var(--accent); display: block;
}
.counter-item .label { font-size: 0.85rem; opacity: 0.85; }

.wave-divider {
  position: absolute; bottom: -1px; left: 0; width: 100%;
  line-height: 0; z-index: 3;
}
.wave-divider svg { width: 100%; height: 60px; }

.carousel-indicators [data-bs-target] {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none;
}
.carousel-indicators .active { background: var(--accent); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .subtitle {
  display: inline-block; color: var(--accent); font-weight: 600;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--primary); margin-bottom: 12px;
}
[data-theme="dark"] .section-header h2 { color: var(--primary-light); }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header .divider {
  width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 16px auto 0; border-radius: 2px;
}

/* ---- Glass Cards ---- */
.glass-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 30px; transition: var(--transition); height: 100%;
}
.glass-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ---- Why Choose Us ---- */
.feature-card {
  text-align: center; padding: 35px 25px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow); transition: var(--transition);
  height: 100%; border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-card .icon-wrap {
  width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), rgba(var(--accent-rgb),0.12));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; transform: scale(1.1);
}
.feature-card h5 { font-weight: 700; color: var(--primary); margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---- Academic Cards ---- */
.academic-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
}
.academic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.academic-card .card-img-wrap {
  height: 200px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.academic-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.academic-card .card-img-wrap .overlay-icon {
  font-size: 3rem; color: rgba(255,255,255,0.3);
}
.academic-card .card-body { padding: 25px; }
.academic-card h5 { font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.academic-card .age-badge {
  display: inline-block; background: rgba(var(--accent-rgb),0.15); color: var(--accent-hover);
  padding: 3px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 10px;
}
.academic-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- About Section ---- */
.about-img-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.about-img-wrap img { border-radius: var(--radius); width: 100%; }
.about-img-wrap .experience-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--accent); color: var(--primary-dark);
  padding: 15px 25px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1.5rem; line-height: 1.2;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap .experience-badge span { display: block; font-size: 0.75rem; font-weight: 500; }
.principal-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: var(--radius); padding: 30px;
  margin-top: 25px; position: relative;
}
.principal-card::before {
  content: '\201C'; font-size: 4rem; position: absolute; top: 10px; left: 20px;
  opacity: 0.2; font-family: Georgia, serif; color: #fff;
}
.principal-card h4,
.principal-card p,
.principal-card .cms-body-content,
.principal-card .cms-body-content p {
  color: #ffffff !important;
}
.principal-card p { font-style: italic; opacity: 0.95; margin-bottom: 15px; position: relative; }
.principal-card .principal-name { font-weight: 700; color: #ffc9ce !important; }
.principal-card .president-quote {
  background: rgba(255,255,255,.95);
  color: #9f1239 !important;
  border-left-color: #eb2732;
}

/* ---- Timeline ---- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; margin-bottom: 40px; position: relative;
  opacity: 0; transform: translateY(30px); transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-content {
  width: 45%; background: var(--white); padding: 20px 25px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; }
.timeline-dot {
  position: absolute; left: 50%; top: 20px; width: 16px; height: 16px;
  background: var(--accent); border: 3px solid var(--primary);
  border-radius: 50%; transform: translateX(-50%); z-index: 2;
}
.timeline-year {
  font-weight: 800; color: var(--accent); font-size: 1.1rem; margin-bottom: 4px;
}
.timeline-content h5 { font-weight: 700; color: var(--primary); font-size: 1rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ---- Stats / Achievements ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 70px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-box { text-align: center; position: relative; }
.stat-box .stat-num {
  font-size: 2.8rem; font-weight: 800; color: var(--accent); display: block;
}
.stat-box .stat-label { font-size: 0.95rem; opacity: 0.85; }

.award-card {
  background: var(--white); border-radius: var(--radius); padding: 25px;
  box-shadow: var(--shadow); text-align: center; height: 100%;
  transition: var(--transition);
}
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.award-card .award-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 12px; }
.award-card h5 { font-weight: 700; color: var(--primary); font-size: 1rem; }
.award-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ---- News Cards ---- */
.news-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .news-img {
  height: 200px; background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-img .placeholder-icon { font-size: 3rem; color: rgba(255,255,255,0.3); }
.news-card .news-body { padding: 22px; }
.news-card .news-date {
  font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.news-card h5 { font-weight: 700; color: var(--primary); font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Events ---- */
.event-card {
  display: flex; gap: 20px; background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); transition: var(--transition); margin-bottom: 16px;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.event-date-box {
  min-width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff;
}
.event-date-box .day { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 0.75rem; text-transform: uppercase; opacity: 0.85; }
.event-info h5 { font-weight: 700; color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
.event-info p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.event-info .meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.event-info .meta i { color: var(--accent); margin-right: 4px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer; background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item .gallery-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.gallery-item .gallery-placeholder i { font-size: 3rem; color: rgba(255,255,255,0.3); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0; background: rgba(13, 71, 161,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: #fff; }
.gallery-item .gallery-title {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff;
  font-size: 0.9rem; font-weight: 600;
}
.filter-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter-btn {
  padding: 8px 22px; border-radius: 50px; border: 1.5px solid var(--border);
  background: transparent; color: var(--text-muted); font-weight: 500;
  font-size: 0.88rem; cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 35px;
  box-shadow: var(--shadow); text-align: center; height: 100%;
}
.testimonial-card .quote-icon { font-size: 2rem; color: var(--accent); margin-bottom: 15px; }
.testimonial-card .stars { color: var(--accent); margin-bottom: 15px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; margin-bottom: 20px; }
.testimonial-card .author-name { font-weight: 700; color: var(--primary); }
.testimonial-card .author-role {
  font-size: 0.8rem; color: var(--accent); text-transform: capitalize; font-weight: 600;
}
.testimonial-card .avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; font-weight: 700;
}

/* ---- FAQ ---- */
.accordion-item {
  border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important;
  margin-bottom: 12px; overflow: hidden; background: var(--white);
}
.accordion-button {
  font-weight: 600; color: var(--primary); font-size: 0.95rem;
  background: var(--white) !important; box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--primary); }
.accordion-button::after { filter: none; }
.accordion-body { color: var(--text-muted); font-size: 0.9rem; }

/* ---- Contact ---- */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: var(--radius); padding: 40px; height: 100%;
}
.contact-info-card h4 { font-weight: 700; margin-bottom: 25px; color: #fff; }
.contact-info-item {
  display: flex; gap: 15px; margin-bottom: 22px; align-items: flex-start;
}
.contact-info-item .icon {
  width: 45px; height: 45px; border-radius: 12px;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  color: #fff; flex-shrink: 0;
}
.contact-info-item .icon i { color: #fff; }
.contact-info-item h6 { font-weight: 600; margin-bottom: 2px; font-size: 0.9rem; color: #fff; }
.contact-info-item p { opacity: 0.9; font-size: 0.88rem; margin: 0; color: rgba(255,255,255,.92); word-break: break-word; }
.contact-info-card .contact-link { color: #fff; font-weight: 600; }
.contact-info-card .contact-link:hover { color: #ffe4e6; }
.contact-info-card .contact-link-wa { color: #86efac !important; }
.contact-form .form-control, .contact-form .form-select {
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  padding: 12px 16px; font-size: 0.9rem; transition: var(--transition);
  background: var(--white); color: var(--text);
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1);
}
.map-wrap {
  border-radius: var(--radius); overflow: hidden; height: 300px;
  box-shadow: var(--shadow); margin-top: 30px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Floating Buttons ---- */
.floating-btns {
  position: fixed; bottom: 30px; right: 25px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #fff;
  font-size: 1.3rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition); border: none; cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--primary); }
.float-top {
  background: var(--accent); color: var(--primary-dark) !important;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.float-top.visible { opacity: 1; visibility: visible; }

/* ---- Footer ---- */
.main-footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.8); padding-top: 60px;
}
.main-footer h5 {
  color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1.05rem;
  position: relative; padding-bottom: 10px;
}
.main-footer h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 2px; background: var(--accent);
}
.main-footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.main-footer a:hover { color: var(--accent); }
.main-footer ul { list-style: none; padding: 0; }
.main-footer ul li { margin-bottom: 10px; }
.main-footer .footer-about p { font-size: 0.9rem; line-height: 1.8; }
.footer-social a {
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); align-items: center; justify-content: center;
  margin-right: 8px; transition: var(--transition); font-size: 1rem;
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 40px;
  font-size: 0.85rem; text-align: center;
}
.newsletter-form { display: flex; gap: 8px; margin-top: 15px; }
.newsletter-form input {
  flex: 1; padding: 10px 16px; border-radius: 50px; border: none;
  font-size: 0.88rem; background: rgba(255,255,255,0.1); color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  padding: 10px 20px; border-radius: 50px; border: none;
  background: var(--accent); color: var(--primary-dark); font-weight: 700;
  cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--accent-light); }

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0 50px; color: #fff; text-align: center; position: relative;
  overflow: hidden;
}
body.has-page-banner-image .page-banner {
  background-image: linear-gradient(135deg, rgba(13, 71, 161, 0.88), rgba(21, 101, 192, 0.82)), var(--page-banner-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-banner-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.55;
}
.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.breadcrumb-nav .breadcrumb { justify-content: center; margin-top: 12px; margin-bottom: 0; }
.breadcrumb-nav .breadcrumb-item, .breadcrumb-nav .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.breadcrumb-nav .breadcrumb-item.active { color: var(--accent); }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Notice Popup ---- */
.notice-popup .modal-dialog {
  max-width: 680px;
  padding: 16px;
}
.notice-popup .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(2, 24, 59, .28);
}
.notice-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-color: #f1f5f9;
  background-size: 11px;
  opacity: .85;
  filter: none;
}
.notice-popup-close:hover {
  background-color: #fee2e2;
  opacity: 1;
}
.notice-popup-top {
  padding: 28px 30px 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(11, 58, 120, .08), transparent 28%),
    #fff;
}
.notice-popup-top-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 42px;
}
.notice-popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ef3340, #c40f1a);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 24px rgba(215, 25, 37, .24);
}
.notice-popup-top-copy {
  min-width: 0;
  padding-top: 2px;
}
.notice-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fce8ea;
  color: #d71925;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.notice-popup-badge i {
  font-size: .72rem;
}
.notice-popup-title {
  margin: 0;
  color: #0a3269;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
}
.notice-popup-year {
  margin: 4px 0 0;
  background: linear-gradient(90deg, #d71925 0%, #7c3aed 52%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
}
.notice-popup-body {
  padding: 10px 30px 18px;
}
.notice-popup-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f8fafc 100%);
}
.notice-popup-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fce8ea;
  color: #d71925;
  font-size: 1.35rem;
}
.notice-popup-card-text {
  min-width: 0;
}
.notice-popup-card-lead {
  margin: 0;
  color: #334155;
  font-size: .98rem;
  line-height: 1.65;
  font-weight: 500;
}
.notice-popup-year-inline {
  color: #2563eb;
  font-weight: 800;
}
.notice-popup-card-divider {
  display: block;
  width: 34px;
  height: 3px;
  margin: 10px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #d71925, #2563eb);
}
.notice-popup-card-sub {
  margin: 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.55;
}
.notice-popup-verify {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef4ff;
}
.notice-popup-verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  font-size: 1.15rem;
}
.notice-popup-verify-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notice-popup-verify-copy strong {
  color: #0f172a;
  font-size: .88rem;
  font-weight: 800;
}
.notice-popup-verify-copy span {
  color: #64748b;
  font-size: .76rem;
  line-height: 1.45;
}
.notice-popup-footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 30px 26px;
  background: #fff;
}
.notice-popup-later,
.notice-popup-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
  transition: .2s ease;
}
.notice-popup-later {
  border: 1px solid #c7d7ea;
  background: #fff;
  color: #2563eb;
}
.notice-popup-later:hover {
  border-color: #93afd0;
  color: #1d4ed8;
  background: #f8fbff;
}
.notice-popup-primary {
  min-width: 132px;
  border: 0;
  background: linear-gradient(90deg, #d71925 0%, #7c3aed 52%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(124, 58, 237, .24);
}
.notice-popup-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 30px rgba(124, 58, 237, .32);
}
.notice-popup.show .modal-dialog {
  animation: noticePopupIn .35s cubic-bezier(.2,.8,.2,1);
}
body.notice-popup-open .modal-backdrop.show {
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(6px);
}
@keyframes noticePopupIn {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 767.98px) {
  .notice-popup .modal-dialog { max-width: 100%; padding: 8px; margin: 8px auto; }
  .notice-popup .modal-content { border-radius: 22px; }
  .notice-popup-top,
  .notice-popup-body,
  .notice-popup-footer { padding-left: 18px; padding-right: 18px; }
  .notice-popup-top { padding-top: 22px; }
  .notice-popup-top-main { padding-right: 34px; gap: 12px; }
  .notice-popup-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; font-size: 1.2rem; }
  .notice-popup-card {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .notice-popup-footer { padding-bottom: 20px; }
  .notice-popup-later,
  .notice-popup-primary { flex: 1; min-width: 0; }
}
@media (max-width: 575.98px) {
  .notice-popup-footer {
    flex-direction: column-reverse;
  }
}

/* ---- Search Modal ---- */
.search-modal .modal-content {
  background: transparent; border: none; box-shadow: none;
}
.search-modal input {
  font-size: 1.3rem; padding: 18px 25px; border-radius: 50px;
  border: none; box-shadow: var(--shadow-lg);
}

/* ---- Portal / Admin Shared ---- */
.portal-sidebar {
  width: 240px; background: linear-gradient(180deg, #163a7a 0%, #0b2f66 45%, #071f46 100%);
  height: 100vh;
  position: fixed; left: 0; top: 0; z-index: 100;
  transition: var(--transition);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.portal-sidebar .sidebar-brand {
  padding: 8px 12px; color: #fff; font-weight: 700;
  font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.admin-sidebar { padding-top: 0; }
.admin-sidebar .sidebar-brand {
  padding: 16px 14px 14px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  justify-content: flex-start;
  gap: 10px;
}
.admin-sidebar .admin-brand-icon {
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1;
  flex-shrink: 0;
}
.admin-sidebar .admin-brand-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-sidebar .admin-brand-text {
  display: block; color: #ffffff !important; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1.1px; line-height: 1.15; text-transform: uppercase;
}
.admin-sidebar .admin-brand-sub {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.82) !important;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-sidebar .admin-role-badge {
  display: inline-block; margin-top: 6px; padding: 1px 7px; border-radius: 20px;
  background: rgba(255,255,255,0.14); color: #e8f1ff; font-size: 0.58rem;
  font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
}
.admin-sidebar .admin-brand-text::after { display: none; }
.admin-nav-scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 8px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.28) transparent;
}
.admin-nav-scroll::-webkit-scrollbar { width: 3px; }
.admin-nav-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28); border-radius: 4px;
}
.admin-nav-label {
  padding: 10px 16px 4px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(191, 219, 254, 0.78) !important;
}
.admin-sidebar .nav-link {
  position: relative;
  padding: 8px 12px; font-size: 0.8rem; font-weight: 600;
  margin: 2px 10px; border-radius: 10px; border-left: none;
  color: #ffffff !important;
  display: flex; align-items: center; gap: 10px;
  line-height: 1.2; transition: var(--transition);
}
.admin-sidebar .nav-link span {
  flex: 1;
  min-width: 0;
  color: inherit;
}
.admin-sidebar .nav-link::after {
  content: "\f285";
  font-family: "bootstrap-icons";
  font-size: .72rem;
  opacity: .55;
  color: inherit;
  margin-left: auto;
}
.admin-sidebar .nav-link:hover {
  background: rgba(255,255,255,0.12);
  border-left: none;
  color: #ffffff !important;
}
.admin-sidebar .nav-link.active {
  background: #eef4ff;
  border-left: none;
  color: #0b3a78 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(7, 31, 70, .18);
}
.admin-sidebar .nav-link.active i,
.admin-sidebar .nav-link.active::after {
  color: #0b3a78 !important;
  opacity: 1;
}
.admin-sidebar .nav-link i {
  font-size: 0.95rem; width: 18px; text-align: center; flex-shrink: 0;
  opacity: 1;
  color: #ffffff;
}
.admin-sidebar .nav-link:hover i { color: #ffffff; }
.admin-nav-footer {
  flex-shrink: 0;
  margin: 8px 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 6px 0;
  background: rgba(0,0,0,0.22);
}
.admin-nav-footer .nav-link {
  margin: 2px 6px;
}
.admin-nav-footer .nav-link-logout {
  color: #ffb4b4 !important;
}
.admin-nav-footer .nav-link-logout i {
  color: #ff8a8a !important;
}
.admin-nav-footer .nav-link-logout:hover {
  background: rgba(220,38,38,0.22);
  color: #fecaca !important;
}
.portal-sidebar .nav-link {
  color: rgba(255,255,255,0.92); padding: 6px 12px; font-size: 0.78rem;
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
  border-left: 3px solid transparent;
}
.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {
  color: #fff; background: rgba(255,255,255,0.08);
  border-left-color: #64b5f6;
}
.portal-sidebar.admin-sidebar .nav-link {
  border-left: none;
  color: #ffffff !important;
}
.portal-sidebar.admin-sidebar .nav-link:hover {
  background: rgba(255,255,255,0.12);
  border-left: none;
  color: #ffffff !important;
}
.portal-sidebar.admin-sidebar .nav-link.active {
  background: #eef4ff !important;
  border-left: none !important;
  color: #0b3a78 !important;
}
.portal-sidebar.admin-sidebar .nav-link.active i,
.portal-sidebar.admin-sidebar .nav-link.active::after {
  color: #0b3a78 !important;
}
.portal-sidebar .nav-link i { font-size: 0.9rem; width: 18px; }
.portal-main { margin-left: 240px; min-height: 100vh; background: var(--off-white); }
.portal-topbar {
  background: var(--white); padding: 12px 24px; box-shadow: var(--shadow);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 50;
}
.topbar-user {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: none; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  padding: 4px 8px; border-radius: 50px; transition: var(--transition);
}
.topbar-user:hover { background: var(--off-white); }
.topbar-user .avatar-initial { width: 34px; height: 34px; font-size: 0.8rem; }
.portal-content { padding: 22px 24px; }
.stat-card-admin {
  background: var(--white); border-radius: var(--radius); padding: 25px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px;
}
.stat-card-admin .stat-icon {
  width: 55px; height: 55px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
}
.stat-card-admin .stat-icon.blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); }
.stat-card-admin .stat-icon.gold { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.stat-card-admin .stat-icon.green { background: linear-gradient(135deg, #059669, #34d399); }
.stat-card-admin .stat-icon.red { background: linear-gradient(135deg, #dc2626, #f87171); }
.stat-card-admin h3 { font-weight: 800; font-size: 1.6rem; margin: 0; color: var(--primary); }
.stat-card-admin p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

/* ---- Professional Admin Dashboard ---- */
.dash-welcome {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff; border-radius: var(--radius); padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; position: relative; overflow: hidden;
}
.dash-welcome::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
}
.dash-welcome::before {
  content: ''; position: absolute; right: 60px; bottom: -70px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.dash-welcome h4 { font-weight: 800; margin: 0 0 4px; color: #ffffff !important; }
.dash-welcome p { opacity: .95; font-size: 0.88rem; color: rgba(255,255,255,.92) !important; }
.dash-date { font-size: 0.78rem !important; color: #ffc9ce !important; font-weight: 600; letter-spacing: 0.5px; }
.dash-welcome-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.btn-dash-action {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 9px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; transition: var(--transition);
}
.btn-dash-action:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }

.stat-card-pro {
  display: block; background: var(--white); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition); height: 100%;
}
.stat-card-pro:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.stat-card-pro .stat-label {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px;
}
.stat-card-pro .stat-value { font-weight: 800; color: var(--primary); font-size: 1.9rem; margin: 0; line-height: 1.1; }
.stat-card-pro .stat-hint { font-size: 0.75rem; color: var(--text-muted); }
.stat-card-pro .stat-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; flex-shrink: 0;
}
.stat-card-pro .stat-icon.blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); }
.stat-card-pro .stat-icon.gold { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.stat-card-pro .stat-icon.green { background: linear-gradient(135deg, #059669, #34d399); }
.stat-card-pro .stat-icon.red { background: linear-gradient(135deg, #dc2626, #f87171); }

.mini-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  transition: var(--transition); height: 100%;
}
.mini-stat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.mini-stat i { font-size: 1.3rem; color: var(--accent); }
.mini-stat strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.mini-stat span { font-size: 0.72rem; color: var(--text-muted); }

.dash-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 24px; height: 100%;
}
.dash-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.dash-card-header h6 {
  font-weight: 700; color: var(--primary); margin: 0; font-size: 0.95rem;
  display: flex; align-items: center;
}
.dash-card-header h6 i { color: var(--accent); }
.dash-link { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.dash-link:hover { color: var(--primary); }

/* Bar chart */
.bar-chart {
  display: flex; align-items: flex-end; justify-content: space-around;
  height: 160px; padding: 10px 0 0;
}
.bar-col {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 100%; flex: 1; gap: 6px;
}
.bar-col .bar {
  width: 60%; max-width: 42px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  transition: height 0.6s ease;
}
.bar-col:hover .bar { background: linear-gradient(180deg, var(--accent-light), var(--accent)); }
.bar-val { font-size: 0.72rem; font-weight: 700; color: var(--primary); }
.bar-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* Pipeline */
.pipeline-bar {
  display: flex; height: 10px; border-radius: 50px; overflow: hidden;
  background: var(--off-white);
}
.pipeline-bar .pipe { min-width: 0; }
.pipe.pending, .dot.pending { background: #f59e0b; }
.pipe.review, .dot.review { background: #3b82f6; }
.pipe.approved, .dot.approved { background: #10b981; }
.pipe.rejected, .dot.rejected { background: #ef4444; }
.pipeline-legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 0.75rem; color: var(--text-muted);
}
.pipeline-legend .dot {
  display: inline-block; width: 9px; height: 9px;
  border-radius: 50%; margin-right: 5px;
}

/* Events */
.dash-event {
  display: flex; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.dash-event:last-child { border-bottom: none; padding-bottom: 0; }
.dash-event-date {
  min-width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1.1;
}
.dash-event-date strong { font-size: 1.15rem; font-weight: 800; }
.dash-event-date span { font-size: 0.65rem; text-transform: uppercase; opacity: 0.85; }
.dash-event-info strong { display: block; font-size: 0.88rem; color: var(--text); }
.dash-event-info span { font-size: 0.75rem; color: var(--text-muted); }
.dash-event-info i { color: var(--accent); }

/* Avatars */
.avatar-initial {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* Dash tables */
.dash-table { margin: 0; }
.dash-table th {
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; border-bottom-width: 1px;
}
.dash-table td { font-size: 0.86rem; vertical-align: middle; }
.clickable-row { cursor: pointer; }

/* Messages */
.dash-message {
  display: flex; gap: 12px; align-items: center; position: relative;
  padding: 11px 8px; border-radius: var(--radius-sm);
  transition: var(--transition); border-bottom: 1px solid var(--border);
}
.dash-message:last-of-type { border-bottom: none; }
.dash-message:hover { background: var(--off-white); }
.dash-message-body { flex: 1; min-width: 0; }
.dash-message-body strong { font-size: 0.85rem; color: var(--text); }
.dash-message-body span {
  display: block; font-size: 0.78rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-message.unread .dash-message-body strong { color: var(--primary); }
.unread-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* Activity timeline */
.activity-timeline { position: relative; }
.activity-item {
  display: flex; gap: 14px; padding: 10px 0; position: relative;
}
.activity-item:not(:last-child)::before {
  content: ''; position: absolute; left: 16px; top: 44px; bottom: -10px;
  width: 2px; background: var(--border);
}
.activity-icon {
  width: 33px; height: 33px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff; position: relative; z-index: 1;
}
.activity-icon.blue { background: #3b82f6; }
.activity-icon.green { background: #10b981; }
.activity-icon.red { background: #ef4444; }
.activity-icon.gray { background: #6b7280; }
.activity-body span { display: block; font-size: 0.84rem; color: var(--text); }
.activity-body small { color: var(--text-muted); font-size: 0.72rem; }

/* Quick actions */
.quick-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.quick-action {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 8px; border-radius: var(--radius-sm);
  background: var(--off-white); border: 1px solid var(--border);
  transition: var(--transition); text-align: center;
}
.quick-action i { font-size: 1.4rem; color: var(--primary); transition: var(--transition); }
.quick-action span { font-size: 0.74rem; font-weight: 600; color: var(--text-muted); }
.quick-action:hover {
  background: var(--primary); border-color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.quick-action:hover i, .quick-action:hover span { color: #fff; }

@media (max-width: 576px) {
  .dash-welcome { padding: 22px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .bar-chart { height: 120px; }
}

.table-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  padding: 22px; overflow-x: auto; border: 1px solid rgba(0,0,0,0.04);
}
.table-card h5 {
  font-weight: 700; font-size: 1rem; color: var(--primary-dark);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.table-card table { margin: 0; }
.table-card th {
  font-weight: 600; font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.4px; border-bottom-width: 1px;
  padding: 12px 14px; background: var(--off-white);
}
.table-card td { padding: 12px 14px; font-size: 0.88rem; vertical-align: middle; }
.table-card .table-hover tbody tr:hover { background: rgba(var(--primary-rgb), 0.04); }

/* Admin CRUD professional list */
.table-card .admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.table-card .admin-card-head h5 {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-card .admin-card-head h5 i { color: var(--accent); }
.admin-card-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), .08);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.admin-photo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}
.admin-photo-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #e8eef6;
  border: 1px solid var(--border);
}
.admin-photo-preview span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.admin-profile-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.admin-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.admin-profile-meta strong {
  font-size: .9rem;
  color: var(--primary-dark);
  line-height: 1.3;
}
.admin-profile-meta small {
  color: var(--text-muted);
  font-size: .74rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-list-avatar {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #e8eef6;
}
.admin-list-avatar span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .04em;
}
.admin-list-thumb {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eef6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-list-thumb-wide {
  width: 110px;
  height: 56px;
}
.admin-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-no-photo {
  color: var(--primary);
  opacity: .55;
  font-size: 1.1rem;
}
.admin-photo-preview-wide img {
  width: 160px;
  height: 72px;
  object-fit: cover;
}
.admin-cat-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.admin-cat-faculty { background: #dbeafe; color: #1e40af; }
.admin-cat-teaching { background: #dcfce7; color: #166534; }
.admin-cat-admin { background: #fef3c7; color: #92400e; }
.admin-cat-support { background: #f3e8ff; color: #6b21a8; }
.admin-data-table td { padding-top: 10px; padding-bottom: 10px; }
.admin-form-card .form-text { font-size: .75rem; }

.badge-status {
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.badge-active, .badge-approved, .badge-paid, .badge-present { background: #d1fae5; color: #065f46; }
.badge-inactive, .badge-rejected, .badge-absent { background: #fee2e2; color: #991b1b; }
.badge-pending, .badge-partial { background: #fef3c7; color: #92400e; }
.badge-under_review { background: #dbeafe; color: #1e40af; }

.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 20px;
}
.login-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.login-card .login-logo { text-align: center; margin-bottom: 30px; }
.login-card .login-logo h4 { font-weight: 800; color: var(--primary); margin-top: 10px; }
.login-card .login-logo p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- Admission Steps ---- */
.admission-steps {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.step-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: 50px; background: var(--off-white); color: var(--text-muted);
  font-weight: 600; font-size: 0.88rem; transition: var(--transition);
}
.step-item.active { background: var(--primary); color: #fff; }
.step-item.done { background: #d1fae5; color: #065f46; }
.step-item .step-num {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.step-item.active .step-num { background: rgba(255,255,255,0.2); }

/* ---- Admission info page (multi-section CMS) ---- */
.adm-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.adm-page-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--off-white, #f8fafc);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.adm-page-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 0.2s ease;
}
.adm-page-nav-link:hover,
.adm-page-nav-link:focus {
  background: #fff;
  color: var(--primary, #0b3a78);
}
.adm-page-nav-cta {
  margin-top: 6px;
  background: var(--accent, #c8102e);
  color: #fff !important;
}
.adm-page-nav-cta:hover { filter: brightness(0.95); color: #fff !important; }
.adm-page-block {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  scroll-margin-top: 110px;
}
.adm-page-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.adm-page-block-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb, 11, 58, 120), 0.1);
  color: var(--primary, #0b3a78);
  font-size: 1.15rem;
}
.adm-page-block-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark, #082a58);
}
@media (max-width: 900px) {
  .adm-page-layout { grid-template-columns: 1fr; }
  .adm-page-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.about-page-copy { margin-top: 12px; line-height: 1.7; }
.about-quote-card {
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 16px;
  padding: 24px; box-shadow: 0 10px 28px rgba(15,23,42,.05); position: relative;
}
.about-quote-mark { font-size: 2rem; color: var(--accent); opacity: .5; }
.about-quote-card p { font-size: 1.05rem; line-height: 1.65; color: #334155; margin: 8px 0 18px; }
.about-quote-by { display: flex; align-items: center; gap: 12px; }
.about-quote-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.about-quote-by strong { display: block; color: var(--primary-dark); }
.about-quote-by span { font-size: .82rem; color: #64748b; }
.about-leader-card {
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 16px;
}
.about-leader-card img {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto;
}
.about-value-pill {
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 12px;
  padding: 14px 16px; font-weight: 700; color: var(--primary-dark);
  display: flex; align-items: center; gap: 8px; height: 100%;
}
.about-value-pill i { color: var(--accent); }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Mobile Bottom Navigation ---- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  right: 8px;
  bottom: max(8px, env(safe-area-inset-bottom, 8px));
  left: 8px;
  z-index: 1001;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  box-sizing: border-box;
  overflow: visible;
}
.mbnav-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  min-height: 74px;
  padding: 10px 6px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #cfe0f5;
  box-shadow: 0 12px 28px rgba(11, 58, 120, .16);
  overflow: visible;
}
.mbnav-item {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  min-height: 54px;
  padding: 2px 2px 0;
  color: #0b3a78;
  font-family: "Poppins", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}
.mbnav-inner > .mbnav-item:first-child {
  padding-left: 10px;
}
.mbnav-inner > .mbnav-item:last-child {
  padding-right: 10px;
}
.mbnav-item:not(.mbnav-center):not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #e8eef6;
}
.mbnav-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf3fc;
  color: #0b3a78;
  font-size: 1rem;
  transition: .2s ease;
}
.mbnav-label {
  line-height: 1.1;
  white-space: nowrap;
  color: #1e3a5f;
}
.mbnav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b8d4f0;
  margin-top: 1px;
}
.mbnav-item.active .mbnav-ico,
.mbnav-item:hover .mbnav-ico {
  background: #dbeafe;
  color: #083066;
  transform: translateY(-1px);
}
.mbnav-item.active .mbnav-dot {
  background: #3b82f6;
}

.mbnav-center {
  top: 0;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 0;
  overflow: visible !important;
}
.mbnav-center::after { display: none !important; }
.mbnav-center-btn {
  width: 52px;
  height: 52px;
  margin-top: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #e11d2e;
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(225, 29, 46, .12),
    0 8px 18px rgba(225, 29, 46, .42);
  transition: .22s ease;
}
.mbnav-center-btn i {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1;
}
.mbnav-center-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff !important;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip;
  max-width: none !important;
  box-shadow:
    0 0 0 3px rgba(225, 29, 46, .1),
    0 6px 14px rgba(225, 29, 46, .35);
}
.mbnav-center-bar {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #e11d2e;
  box-shadow: 0 2px 6px rgba(225, 29, 46, .35);
}
.mbnav-center.active .mbnav-center-btn,
.mbnav-center:hover .mbnav-center-btn {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 0 0 6px rgba(225, 29, 46, .14),
    0 10px 22px rgba(225, 29, 46, .5);
}
.mbnav-center.active .mbnav-center-label,
.mbnav-center:hover .mbnav-center-label {
  box-shadow:
    0 0 0 4px rgba(225, 29, 46, .12),
    0 8px 16px rgba(225, 29, 46, .4);
}

/* ---- Print ---- */
@media print {
  .main-header, .top-bar, .floating-btns, .mobile-bottom-nav, #preloader, #scroll-progress,
  .main-footer, .portal-sidebar, .portal-topbar { display: none !important; }
  .portal-main { margin-left: 0 !important; }
  body { background: #fff; color: #000; }
}

/* ---- Admin UI Polish ---- */
.admin-body { background: #eef2f7; }
.admin-body .portal-content { padding: 20px 22px 28px; }
.admin-body .portal-topbar {
  padding: 10px 22px; border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.admin-body .portal-topbar h5 { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); }
.admin-body .alert { border: none; border-radius: 10px; font-size: 0.88rem; font-weight: 500; }

/* Admin forms */
.admin-body .form-label {
  font-size: 0.82rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 6px;
}
.admin-body .form-control,
.admin-body .form-select {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 0.88rem; transition: var(--transition);
  background: #fff;
}
.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.admin-body .form-control::placeholder { color: #9ca3af; }
.admin-body .form-text { font-size: 0.78rem; }
.admin-body .btn-outline-primary {
  border-radius: 8px; font-weight: 600; font-size: 0.82rem; padding: 6px 12px;
}
.admin-body .btn-outline-danger {
  border-radius: 8px; font-size: 0.82rem; padding: 6px 10px;
}
.admin-body .btn-outline-secondary {
  border-radius: 10px; font-weight: 600; font-size: 0.88rem; padding: 10px 20px;
  border: 1.5px solid var(--border); color: var(--text-muted);
}
.admin-body .btn-outline-secondary:hover {
  background: var(--off-white); border-color: var(--primary); color: var(--primary);
}

/* Settings page */
.settings-tabs-wrap {
  background: #fff; border-radius: 14px; padding: 14px 16px 6px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); margin-bottom: 18px;
}
.settings-tabs { gap: 4px; }
.settings-tabs .nav-link {
  font-weight: 600; font-size: 0.8rem; color: var(--text-muted);
  border: none; border-radius: 8px; padding: 9px 14px;
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
}
.settings-tabs .nav-link i { font-size: 0.95rem; opacity: 0.85; }
.settings-tabs .nav-link.active {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}
.settings-tabs .nav-link.active i { opacity: 1; }
.settings-tabs .nav-link:hover:not(.active) {
  background: rgba(var(--primary-rgb), 0.08); color: var(--primary);
}
.settings-panel {
  background: #fff; border-radius: 14px; padding: 24px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04);
}
.settings-section-title {
  font-weight: 700; color: var(--primary-dark); font-size: 1rem; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.settings-section-title i { color: var(--primary); font-size: 1.1rem; }
.logo-upload-card {
  border: 1.5px dashed #cbd5e1; border-radius: 12px; padding: 20px 16px; height: 100%;
  background: #f8fafc; transition: var(--transition);
}
.logo-upload-card:hover { border-color: var(--primary); background: #f1f5f9; }
.logo-upload-card h6 { font-weight: 700; color: var(--primary-dark); font-size: 0.9rem; }
.logo-upload-card img {
  max-height: 80px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 14px;
  background: #fff; padding: 12px; border-radius: 10px; border: 1px solid var(--border);
}
.logo-upload-card img[alt="Inner Page Banner Image"] {
  max-height: 100px; width: 100%; object-fit: cover; padding: 0;
}
.banner-upload-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 100px; margin: 0 auto 14px; border-radius: 10px; border: 1px dashed #cbd5e1;
  background: #fff; color: #94a3b8; font-size: 0.82rem;
}
.banner-upload-placeholder i { font-size: 1.6rem; }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px;
  background: #fafbfc; transition: var(--transition);
}
.toggle-row:hover { border-color: rgba(var(--primary-rgb), 0.25); background: #fff; }
.toggle-row strong { font-size: 0.88rem; color: var(--primary-dark); display: block; }
.toggle-row p { margin: 4px 0 0; font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }
.admin-body .form-switch .form-check-input {
  width: 2.6em; height: 1.35em; cursor: pointer;
}
.admin-body .form-switch .form-check-input:checked {
  background-color: var(--primary); border-color: var(--primary);
}
.admin-actions-bar {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}

/* Social input with icon */
.social-field { position: relative; }
.social-field .social-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}
.social-field .form-control { padding-left: 52px; }
.social-field .si-facebook { background: #1877f2; }
.social-field .si-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-field .si-youtube { background: #ff0000; }
.social-field .si-twitter { background: #000; }
.social-field .si-linkedin { background: #0a66c2; }

/* CRUD layout polish */
.admin-crud-form .table-card { position: sticky; top: 72px; }
.admin-crud-form h5 i { color: var(--primary); margin-right: 6px; }

/* ---- CMS Pages Admin ---- */
.cms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cms-stat {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.cms-stat-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.cms-stat-icon.blue { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.cms-stat-icon.green { background: #d1fae5; color: #065f46; }
.cms-stat-icon.amber { background: #fef3c7; color: #92400e; }
.cms-stat-icon.indigo { background: #e0e7ff; color: #3730a3; }
.cms-stat-num { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.cms-stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.cms-pages-card { padding-top: 18px; }
.cms-img-preview {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.cms-img-preview img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(15, 53, 110, .08);
}
.cms-pages-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 53, 110, .06);
}
.cms-pt-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.cms-pt-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f0fe;
  color: #1d4ed8;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.cms-pt-title {
  margin: 0;
  color: #0b2f66 !important;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}
.cms-pt-sub {
  margin: 2px 0 0;
  color: #64748b !important;
  font-size: .78rem;
  font-weight: 500;
}
.cms-pt-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  overflow: hidden;
}
.cms-pt-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  min-width: 96px;
}
.cms-pt-stat + .cms-pt-stat {
  border-left: 1px solid #e2e8f0;
}
.cms-pt-stat-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0;
}
.cms-pt-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}
.cms-pt-stat small {
  display: block;
  color: #64748b;
  font-size: .68rem;
  font-weight: 600;
}
.cms-pt-stat-active { background: #ecfdf5; }
.cms-pt-stat-active .cms-pt-stat-ico { background: #10b981; }
.cms-pt-stat-active strong { color: #059669; }
.cms-pt-stat-inactive { background: #fff1f2; }
.cms-pt-stat-inactive .cms-pt-stat-ico { background: #ef4444; }
.cms-pt-stat-inactive strong { color: #dc2626; }
.cms-pt-stat-seo { background: #f5f3ff; }
.cms-pt-stat-seo .cms-pt-stat-ico { background: #8b5cf6; }
.cms-pt-stat-seo strong { color: #7c3aed; }
.cms-pt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cms-pt-search {
  position: relative;
  min-width: 180px;
}
.cms-pt-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .9rem;
  pointer-events: none;
}
.cms-pt-search input {
  width: 100%;
  min-height: 38px;
  padding: 7px 12px 7px 34px;
  border: 1.5px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: .84rem;
  outline: none;
}
.cms-pt-search input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
.cms-pt-filter {
  min-height: 38px;
  min-width: 120px;
  padding: 7px 28px 7px 12px;
  border: 1.5px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: .84rem;
  font-weight: 600;
}
.cms-pt-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.cms-pt-add:hover {
  background: #1d4ed8;
  color: #fff !important;
}

/* ---- CMS Pages v2 (card grid + tabbed field editors) ---- */
.cms2-home { max-width: 1180px; }
.cms2-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; font-size: .9rem;
}
.cms2-banner i { font-size: 1.15rem; margin-top: 2px; }
.cms2-group { margin-bottom: 28px; }
.cms2-group-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  color: #64748b; margin: 0 0 12px;
}
.cms2-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cms2-page-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 18px 18px 16px; box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
  display: flex; flex-direction: column; min-height: 180px;
}
.cms2-page-card-ico {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); border: 1.5px solid rgba(var(--primary-rgb), .25);
  margin-bottom: 12px; font-size: 1rem;
}
.cms2-page-card h3 {
  font-size: 1.05rem; font-weight: 800; color: #0f172a; margin: 0 0 4px;
}
.cms2-slug { font-size: .78rem; color: #94a3b8; margin-bottom: 8px; }
.cms2-page-card p {
  font-size: .84rem; color: #64748b; margin: 0 0 14px; flex: 1; line-height: 1.45;
}
.cms2-page-actions { display: flex; gap: 8px; }
.cms2-card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  border: 1.5px solid rgba(var(--primary-rgb), .35); color: var(--primary-dark) !important;
  background: #fff; text-decoration: none;
}
.cms2-card-btn:hover { background: rgba(var(--primary-rgb), .06); }

.cms2-hero {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px;
}
.cms2-hero-left { display: flex; gap: 12px; align-items: center; }
.cms2-hero-ico {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.cms2-hero h1 { font-size: 1.35rem; font-weight: 800; margin: 0; color: #fff; }
.cms2-hero p { margin: 2px 0 0; opacity: .9; font-size: .86rem; color: #fff; }
.cms2-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cms2-btn-light {
  background: #fff; color: var(--primary-dark) !important; font-weight: 700;
  border-radius: 10px; padding: 8px 12px; font-size: .84rem; text-decoration: none;
}
.cms2-livebar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #f1f5f9; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
  font-size: .86rem; color: #334155;
}
.cms2-livebar i { color: #059669; margin-right: 4px; }
.cms2-btn-outline {
  border: 1.5px solid rgba(var(--primary-rgb), .4); color: var(--primary-dark) !important;
  background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.cms2-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.cms2-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700;
  background: #fff; border: 1.5px solid #e2e8f0; color: #475569 !important; text-decoration: none;
}
.cms2-tab.is-active, .cms2-tab:hover {
  background: rgba(var(--primary-rgb), .08); border-color: rgba(var(--primary-rgb), .35);
  color: var(--primary-dark) !important;
}
.cms2-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 20px; box-shadow: 0 6px 18px rgba(15, 23, 42, .04); margin-bottom: 14px;
}
.cms2-card-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9;
}
.cms2-card-head h5 {
  margin: 0; font-weight: 800; color: var(--primary-dark); font-size: 1.05rem;
}
.cms2-card-head h5 i { margin-right: 6px; }
.cms2-card-head span { font-size: .78rem; color: #94a3b8; }
.cms2-photo-preview {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; background: #f8fafc; margin-bottom: 8px;
}
.cms2-photo-preview img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 6px;
}
.cms2-photo-preview code { font-size: .7rem; color: #64748b; word-break: break-all; }
.cms2-mod-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; border: 1.5px solid #e2e8f0;
  color: var(--primary-dark) !important; font-weight: 700; font-size: .84rem; text-decoration: none; background: #fff;
}
.cms2-mod-link:hover { border-color: rgba(var(--primary-rgb), .4); background: rgba(var(--primary-rgb), .04); }
.cms2-savebar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; margin-bottom: 24px;
}
.cms2-save-btn {
  border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 800; font-size: .95rem;
  background: linear-gradient(135deg, #c9a227, #a8841a); color: #fff;
  box-shadow: 0 8px 18px rgba(168, 132, 26, .28); cursor: pointer;
}
.cms2-save-btn:hover { filter: brightness(1.05); }
@media (max-width: 991.98px) {
  .cms2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .cms2-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .cms-pt-stats { margin-left: 0; width: 100%; justify-content: stretch; }
  .cms-pt-stat { flex: 1; justify-content: center; }
  .cms-pt-actions { width: 100%; }
  .cms-pt-search { flex: 1; min-width: 140px; }
}
.cms-toolbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.cms-toolbar h5 {
  font-weight: 700; font-size: 1.05rem; color: var(--primary-dark);
  margin: 0; padding: 0; border: none;
}
.cms-toolbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cms-search {
  position: relative; min-width: 220px;
}
.cms-search i {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: #94a3b8; font-size: 0.9rem; pointer-events: none;
}
.cms-search .form-control {
  padding-left: 34px; border-radius: 9px; min-height: 36px;
  border: 1.5px solid var(--border); font-size: 0.84rem;
}
.cms-filter-select {
  width: auto; min-width: 120px; border-radius: 9px; min-height: 36px;
  font-size: 0.84rem; border: 1.5px solid var(--border);
}

.cms-pages-table th { white-space: nowrap; }
.cms-page-cell { display: flex; align-items: center; gap: 12px; }
.cms-page-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.08); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cms-page-icon-lg {
  width: 48px; height: 48px; border-radius: 12px; font-size: 1.25rem;
}
.cms-page-name { font-weight: 700; color: var(--primary-dark); font-size: 0.92rem; line-height: 1.25; }
.cms-page-slug { font-size: 0.74rem; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cms-group-block { padding: 8px 0 18px; border-top: 1px solid #eef2f7; }
.cms-group-block:first-of-type { border-top: 0; }
.cms-group-title {
  font-weight: 800; color: var(--primary-dark); font-size: 0.92rem;
  margin: 8px 16px 10px; text-transform: uppercase; letter-spacing: 0.4px;
}
.cms-url-chip {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  background: #f1f5f9; color: #334155; font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 1px solid #e2e8f0; font-weight: 500;
}
.cms-updated { font-size: 0.82rem; color: #64748b; white-space: nowrap; }
.cms-action-btn {
  border-radius: 8px !important; font-weight: 600; font-size: 0.78rem !important;
  padding: 5px 12px !important;
}
.cms-action-icon {
  border-radius: 8px !important; padding: 5px 9px !important; color: #64748b;
}
.cms-action-icon:hover { color: var(--primary); border-color: var(--primary) !important; }
.cms-empty {
  text-align: center; padding: 40px 20px; color: #94a3b8;
}
.cms-empty i { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.cms-empty p { margin: 0; font-size: 0.9rem; }

.cms-breadcrumb {
  font-size: 0.82rem; color: #64748b; display: flex; align-items: center; gap: 8px;
}
.cms-breadcrumb a {
  color: var(--primary); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.cms-breadcrumb a:hover { text-decoration: underline; }
.cms-breadcrumb .sep { color: #cbd5e1; }

.cms-edit-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  background: #fff; border-radius: 14px; padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow);
}
.cms-edit-top-left { display: flex; align-items: center; gap: 14px; }
.cms-edit-title { font-weight: 800; color: var(--primary-dark); font-size: 1.1rem; }
.cms-meta-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cms-path-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(var(--primary-rgb), 0.08); color: var(--primary);
  font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}
.cms-edit-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cms-panel { padding: 18px 20px; }
.cms-panel-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.cms-panel-head h6 {
  margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--primary-dark);
  display: flex; align-items: center; gap: 8px;
}
.cms-panel-head h6 i { color: var(--primary); }
.cms-panel-hint { font-size: 0.75rem; color: #94a3b8; }
.cms-char-count {
  text-align: right; font-size: 0.72rem; color: #94a3b8; margin-top: 4px;
}
.cms-side-sticky { position: sticky; top: 72px; }
.cms-side-list {
  list-style: none; margin: 0; padding: 0;
}
.cms-side-list li {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
}
.cms-side-list li:last-child { border-bottom: none; }
.cms-side-list span { color: #94a3b8; flex-shrink: 0; }
.cms-side-list code, .cms-side-list strong {
  text-align: right; font-size: 0.8rem; color: var(--primary-dark); word-break: break-all;
}
.cms-side-list code {
  background: #f1f5f9; padding: 2px 7px; border-radius: 5px; border: 1px solid #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cms-google-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px;
}
.cms-g-url { color: #202124; font-size: 0.78rem; margin-bottom: 2px; word-break: break-all; }
.cms-g-title {
  color: #1a0dab; font-size: 1.05rem; font-weight: 500; line-height: 1.3;
  margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cms-g-desc {
  color: #4d5156; font-size: 0.82rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 991px) {
  .cms-stats { grid-template-columns: repeat(2, 1fr); }
  .cms-side-sticky { position: static; }
}
@media (max-width: 575px) {
  .cms-stats { grid-template-columns: 1fr; }
  .cms-search { min-width: 100%; width: 100%; }
  .cms-toolbar-right { width: 100%; }
  .cms-filter-select { flex: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .portal-sidebar { transform: translateX(-100%); }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-main { margin-left: 0; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; }
  .timeline-content, .timeline-item:nth-child(odd) .timeline-content {
    width: calc(100% - 50px); margin-left: 50px;
  }
  .timeline-dot { left: 20px; }
  .hero-slide { min-height: 70vh; }
  .mega-menu { position: static !important; box-shadow: none; padding: 10px 20px; }
  .header-actions .btn-sm-custom span { display: none; }
}

@media (max-width: 767.98px) {
  .top-bar { padding: 6px 0; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 96px; }
  .main-footer { padding-bottom: 12px; }
  .floating-btns { bottom: 96px; right: 12px; }
  .float-btn { width: 44px; height: 44px; font-size: 1.1rem; }
  .navbar-brand img { height: 42px; }
  .hero-slide { min-height: 62vh; }
}

@media (max-width: 576px) {
  .section { padding: 50px 0; }
  .hero-counters { gap: 20px; }
  .counter-item .count { font-size: 1.6rem; }
  .portal-content { padding: 15px; }
  .mobile-top-link span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
}

/* ============================================================
   MODERN HOMEPAGE (reference design)
   ============================================================ */

/* ---- Header Top (white) ---- */
.header-top {
  background: var(--white); padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.header-top .navbar-brand { padding: 0; }
.header-top .brand-text .school-name {
  font-size: 1.15rem; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.2;
}
.header-top .brand-text .tagline { font-size: 0.72rem; color: var(--accent-hover); font-weight: 500; }
.header-contact { align-items: center; gap: 24px; }
.hc-item { display: flex; align-items: center; gap: 12px; }
.hc-icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: rgba(var(--accent-rgb),0.12); color: var(--accent-hover);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.hc-item strong { display: block; font-size: 0.88rem; color: var(--primary); line-height: 1.3; }
.hc-item span { font-size: 0.78rem; color: var(--text-muted); }
.btn-admission-top {
  flex-direction: column; align-items: center; line-height: 1.25;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark); padding: 9px 22px; border-radius: 10px;
  font-size: 0.78rem; font-weight: 600; transition: var(--transition); text-align: center;
}
.btn-admission-top strong { font-size: 0.95rem; font-weight: 800; }
.btn-admission-top:hover { color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.35); }

/* ---- Main Nav (navy) ---- */
.main-nav-dark {
  background: var(--primary-dark) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 4px 16px rgba(13, 71, 161,0.25);
}
[data-theme="dark"] .main-nav-dark { background: #0b1220 !important; }
.main-nav-dark .navbar { min-height: 52px; }
.main-nav-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.88rem;
  padding: 14px 16px !important; border-radius: 0; position: relative;
}
.main-nav-dark .navbar-nav .nav-link:hover { color: var(--accent-light); background: transparent; }
.main-nav-dark .navbar-nav .nav-link.active { color: var(--accent); background: transparent; }
.main-nav-dark .navbar-nav .nav-link.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 8px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-dropdown {
  border: none; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 210px; background: var(--white);
}
.nav-dropdown .dropdown-item {
  border-radius: 8px; font-size: 0.86rem; padding: 8px 14px; color: var(--text);
}
.nav-dropdown .dropdown-item:hover { background: rgba(var(--primary-rgb),0.06); color: var(--primary); }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: #fff; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 0.9rem; transition: var(--transition);
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.12); }
.btn-apply-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark); font-weight: 700; font-size: 0.82rem;
  padding: 8px 22px; border-radius: 6px; transition: var(--transition);
}
.btn-apply-nav:hover { color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--accent-rgb),0.4); }

/* ---- Hero Modern ---- */
.hero-modern {
  background: linear-gradient(160deg, #e8f1fb 0%, #dbe9f7 55%, #cfe0f3 100%);
  padding: 70px 0 130px; position: relative; overflow: hidden;
}
[data-theme="dark"] .hero-modern { background: linear-gradient(160deg, #0f1a2e, #12203a); }
.hero-modern-content h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800;
  color: var(--primary-dark); line-height: 1.15; margin-bottom: 18px;
}
[data-theme="dark"] .hero-modern-content h1 { color: #e6edf7; }
.hero-modern-content h1 span { color: var(--accent); }
.hero-modern-content p {
  color: var(--text-muted); font-size: 1.02rem; max-width: 460px; margin-bottom: 28px;
}
.hero-modern-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-hero-dark {
  display: inline-flex; align-items: center; background: var(--primary-dark);
  color: #fff; padding: 13px 28px; border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; transition: var(--transition);
}
.btn-hero-dark:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--primary-rgb),0.3); }
.btn-hero-outline {
  display: inline-flex; align-items: center; background: var(--white);
  color: var(--primary-dark); border: 1.5px solid var(--primary-dark);
  padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
}
.btn-hero-outline:hover { background: var(--primary-dark); color: #fff; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-blob {
  width: min(420px, 85%); aspect-ratio: 1;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 60%, #2f66c4 100%);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px rgba(var(--primary-rgb),0.3);
  border: 8px solid rgba(255,255,255,0.6); position: relative;
}
[data-theme="dark"] .hero-blob { border-color: rgba(255,255,255,0.12); }
.hero-blob::before {
  content: ''; position: absolute; inset: -22px;
  border-radius: inherit; border: 2px dashed rgba(var(--accent-rgb),0.55);
}
.hero-blob i { font-size: 7rem; color: rgba(255,255,255,0.35); }
.hero-chip {
  position: absolute; background: var(--white); padding: 10px 18px;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700; color: var(--primary);
  box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 8px;
  animation: floatChip 4s ease-in-out infinite;
}
.hero-chip i { color: var(--accent); }
.chip-1 { top: 12%; left: 2%; }
.chip-2 { bottom: 14%; right: 0; animation-delay: 2s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-dots {
  position: absolute; left: -10px; bottom: 8%; width: 90px; height: 90px;
  background-image: radial-gradient(var(--accent) 2px, transparent 2px);
  background-size: 16px 16px; opacity: 0.6;
}

/* ---- Stats Band ---- */
.stats-band-wrap { margin-top: -70px; position: relative; z-index: 5; }
.stats-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border-radius: 18px; padding: 28px 20px;
  display: flex; flex-wrap: wrap; justify-content: space-around;
  box-shadow: 0 20px 45px rgba(13, 71, 161,0.35); gap: 18px;
}
.stats-band-item {
  display: flex; align-items: center; gap: 14px; color: #fff;
  padding: 0 18px; position: relative;
}
.stats-band-item:not(:last-child)::after {
  content: ''; position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%); width: 1px; height: 42px;
  background: rgba(255,255,255,0.15);
}
.sb-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(var(--accent-rgb),0.16); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.stats-band-item strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.sb-label { font-size: 0.76rem; opacity: 0.8; }

/* ---- Why Choose Us (eco cards) ---- */
.eco-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 26px 14px; text-align: center;
  height: 100%; transition: var(--transition);
}
.eco-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.eco-icon {
  width: 58px; height: 58px; border-radius: 14px; margin: 0 auto 14px;
  border: 1.5px solid var(--primary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  transition: var(--transition);
}
.eco-card:hover .eco-icon { background: var(--primary); color: #fff; }
.eco-card h6 { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-bottom: 6px; }
.eco-card p { font-size: 0.74rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---- Academic Programs Dark ---- */
.programs-dark {
  background: linear-gradient(140deg, var(--primary-dark) 0%, #0d3474 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.programs-dark::before {
  content: ''; position: absolute; left: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(var(--accent-rgb),0.07);
}
.programs-header { margin-bottom: 45px; }
.programs-header .subtitle {
  color: var(--accent); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 8px;
}
.programs-header h2 { color: #fff; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.program-card {
  display: block; background: var(--white); border-radius: var(--radius-sm);
  overflow: visible; text-align: center; height: 100%;
  transition: var(--transition); position: relative; padding-bottom: 20px;
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.program-img {
  height: 120px; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex; align-items: center; justify-content: center;
}
.program-img i { font-size: 2.6rem; color: rgba(255,255,255,0.3); }
.program-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: -26px auto 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; position: relative; z-index: 2;
  border: 4px solid var(--white);
}
.program-body { padding: 0 14px; }
.program-body h6 { font-weight: 700; color: var(--primary); font-size: 0.95rem; margin-bottom: 2px; }
.program-grade { display: block; font-size: 0.74rem; color: var(--accent-hover); font-weight: 700; margin-bottom: 8px; }
.program-body p { font-size: 0.76rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---- 3-Column Panels ---- */
.col-subtitle {
  display: block; color: var(--accent-hover); font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px;
}
.col-title { font-weight: 800; color: var(--primary); margin: 2px 0 0; font-size: 1.15rem; }
[data-theme="dark"] .col-title { color: var(--primary-light); }
.col-link { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; margin-top: 6px; }
.col-link:hover { color: var(--primary); }

.facility-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.facility-thumb {
  display: block; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  transition: var(--transition); text-align: center; padding-bottom: 8px;
}
.facility-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ft-img {
  height: 78px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.ft-img i { font-size: 1.7rem; color: rgba(255,255,255,0.65); }
.facility-thumb span { font-size: 0.76rem; font-weight: 600; color: var(--text); }

.news-list-panel, .events-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; height: calc(100% - 58px);
}
.news-item-sm {
  display: flex; gap: 12px; padding: 12px 6px; border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.news-item-sm:last-of-type { border-bottom: none; }
.news-item-sm:hover { background: var(--off-white); }
.nis-thumb {
  width: 74px; height: 62px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
}
.nis-thumb i { color: rgba(255,255,255,0.4); font-size: 1.4rem; }
.nis-body { min-width: 0; }
.nis-body small { color: var(--accent-hover); font-weight: 600; font-size: 0.7rem; display: block; }
.nis-body strong { display: block; font-size: 0.85rem; color: var(--text); line-height: 1.35; margin: 2px 0; }
.nis-body span {
  display: block; font-size: 0.74rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-outline-navy {
  display: inline-block; border: 1.5px solid var(--primary); color: var(--primary);
  font-size: 0.8rem; font-weight: 600; padding: 8px 22px; border-radius: 8px;
  transition: var(--transition);
}
.btn-outline-navy:hover { background: var(--primary); color: #fff; }

.event-row {
  display: flex; gap: 14px; padding: 12px 6px;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.event-row:last-of-type { border-bottom: none; }
.event-row-date {
  min-width: 54px; height: 54px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1.1;
}
.event-row-date strong { font-size: 1.2rem; font-weight: 800; }
.event-row-date span { font-size: 0.64rem; text-transform: uppercase; opacity: 0.85; }
.event-row-info strong { display: block; font-size: 0.86rem; color: var(--text); margin-bottom: 3px; }
.event-row-info span { display: block; font-size: 0.74rem; color: var(--text-muted); }
.event-row-info i { color: var(--accent); }

/* ---- CTA Band ---- */
.cta-band-wrap { padding: 0 0 70px; }
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border-radius: 18px; padding: 34px 40px; color: #fff;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  box-shadow: 0 20px 45px rgba(13, 71, 161,0.3); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -50px; bottom: -50px;
  width: 190px; height: 190px; border-radius: 50%;
  background: rgba(var(--accent-rgb),0.1);
}
.cta-band-icon {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: rgba(var(--accent-rgb),0.16); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.cta-band-text { flex: 1; min-width: 240px; }
.cta-band-text h3 { font-weight: 800; margin: 0 0 4px; font-size: 1.4rem; }
.cta-band-text p { margin: 0; opacity: 0.85; font-size: 0.9rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---- Side Quick Menu ---- */
.side-quick-menu {
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
  z-index: 998; flex-direction: column; gap: 8px;
  background: var(--white); border-radius: 14px; padding: 10px 8px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.sqm-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 4px; border-radius: 10px; width: 66px;
  font-size: 0.6rem; font-weight: 600; color: var(--text-muted);
  text-align: center; transition: var(--transition);
}
.sqm-item:hover { background: var(--off-white); color: var(--primary); transform: translateX(-3px); }
.sqm-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

/* ---- Footer extras ---- */
.main-footer ul li a i { font-size: 0.62rem; color: var(--accent); margin-right: 4px; }
.footer-contact p {
  font-size: 0.85rem; display: flex; gap: 10px; margin-bottom: 10px;
  line-height: 1.55;
}
.footer-contact p i { color: var(--accent); margin-top: 3px; }
.footer-map {
  border-radius: 12px; overflow: hidden; height: 110px; margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(40%); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Modern homepage responsive ---- */
@media (max-width: 1199.98px) {
  .stats-band-item { padding: 0 8px; }
  .stats-band-item:not(:last-child)::after { display: none; }
}
@media (max-width: 991.98px) {
  .hero-modern { padding: 50px 0 120px; }
  .hero-blob { width: min(320px, 80%); }
  .chip-1 { top: 4%; left: 0; }
  .side-quick-menu { display: none !important; }
  .main-nav-dark .navbar-nav .nav-link { padding: 11px 14px !important; }
  .main-nav-dark .navbar-nav .nav-link.active::after { display: none; }
  .nav-right { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 6px; }
}
@media (max-width: 767.98px) {
  .header-top .brand-text .school-name { font-size: 0.92rem; }
  .header-top .navbar-brand img { height: 44px; width: 44px; }
  .header-top .site-logo { height: 44px; width: 44px; }
  .hero-modern { padding: 40px 0 110px; }
  .hero-modern-content { text-align: center; }
  .hero-modern-content p { margin-left: auto; margin-right: auto; }
  .hero-modern-buttons { justify-content: center; }
  .stats-band { padding: 20px 12px; gap: 14px; }
  .stats-band-item { flex-basis: 44%; }
  .stats-band-item strong { font-size: 1.2rem; }
  .sb-icon { width: 38px; height: 38px; font-size: 1rem; }
  .cta-band { padding: 26px 22px; }
}

/* ============================================================
   V2 REDESIGN — Blue & Red Premium Theme
   ============================================================ */

.text-red { color: var(--accent) !important; }

/* Buttons */
.btn-red {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border: none;
  padding: 12px 28px; border-radius: 6px; font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--transition); cursor: pointer;
}
.btn-red:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.35); }
.btn-red.btn-sm { padding: 9px 20px; font-size: 0.78rem; }
.btn-navy {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dark); color: #fff; border: none;
  padding: 12px 28px; border-radius: 6px; font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-navy:hover { background: var(--primary); color: #fff; }
.btn-navy.btn-sm { padding: 9px 20px; font-size: 0.78rem; }
.btn-outline-white {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff; border: 2px solid #fff;
  padding: 10px 26px; border-radius: 6px; font-weight: 600;
  font-size: 0.88rem; text-transform: uppercase; transition: var(--transition);
}
.btn-outline-white:hover { background: #fff; color: var(--primary-dark); }

.label-red {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}
.heading-v2 {
  font-weight: 800; color: var(--primary-dark); font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25; margin-bottom: 16px;
}

/* Top Utility Bar */
.top-utility-bar {
  background: var(--accent); color: #fff; font-size: 0.78rem; padding: 8px 0;
}
.top-utility-bar a { color: rgba(255,255,255,0.92); font-weight: 500; }
.top-utility-bar a:hover { color: #fff; }
.utility-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.utility-left .sep { opacity: 0.5; }
.utility-left i { margin-right: 4px; }
.utility-right { display: flex; gap: 20px; }
.utility-right a { font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.5px; }
.utility-mpd {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.18); padding: 4px 12px; border-radius: 4px;
  font-weight: 800 !important; letter-spacing: 0.4px;
}
.utility-mpd:hover { background: rgba(255,255,255,0.28); color: #fff; }

/* Site Header */
.site-header {
  background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 1050;
  border-bottom: 3px solid var(--primary);
  overflow: visible;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 12px; flex-wrap: wrap;
  overflow: visible;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 12px;
}
.header-top-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand-block {
  display: flex; align-items: center; gap: 12px; flex-shrink: 1; min-width: 0;
  margin-left: 0; max-width: none;
}
.brand-block .site-logo { width: 56px; height: 56px; flex-shrink: 0; }
.brand-info { min-width: 0; }
.brand-name {
  display: flex; flex-direction: column; gap: 2px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600; font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  color: var(--primary-dark); text-transform: uppercase;
  letter-spacing: 0.2px; line-height: 1.15;
}
.brand-name .brand-line {
  display: block; white-space: nowrap;
}
@media (max-width: 991.98px) {
  .brand-name .brand-line { white-space: normal; }
}
.brand-tag { display: block; font-size: 0.62rem; color: #000; font-weight: 700; margin-top: 2px; }
.nav-txt-short { display: none; }
.nav-txt-full { display: inline; }
.nav-txt-label { display: inline; }
.main-menu {
  display: flex; list-style: none; margin: 0; padding: 0;
  gap: 2px; flex-wrap: nowrap; align-items: center; justify-content: flex-end;
}
.main-menu > li { position: relative; list-style: none; }
.main-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px; font-weight: 650;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--text); border-radius: 6px; transition: var(--transition);
  white-space: nowrap;
}
.main-menu .nav-ico { display: none; }
.main-menu .nav-caret { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s; margin-left: 2px; }
.main-menu > li > a:hover,
.main-menu > li > a.active,
.main-menu > li > a.group-active { color: var(--accent); background: rgba(var(--accent-rgb), 0.06); }
.main-menu > li:hover > a .nav-caret { transform: rotate(180deg); }

/* Desktop dropdown */
.main-menu .submenu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 210px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  border: 1px solid var(--border);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: 0.18s ease; z-index: 1200;
}
.main-menu .has-submenu:hover > .submenu,
.main-menu .has-submenu:focus-within > .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.main-menu .has-submenu:nth-last-child(-n+4) > .submenu {
  left: auto; right: 0;
}
.main-menu .submenu a {
  display: block; padding: 10px 16px; font-size: 0.8rem; font-weight: 600;
  color: var(--text); text-transform: none; letter-spacing: 0;
  border-radius: 0; white-space: nowrap;
}
.main-menu .submenu a:hover,
.main-menu .submenu a.active {
  background: rgba(var(--primary-rgb), 0.06); color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; margin-right: 10px; flex-shrink: 0; }
.search-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: var(--transition);
}
.search-btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-enroll {
  background: var(--accent); color: #fff; padding: 10px 22px;
  border-radius: 6px; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
  text-decoration: none; align-items: center;
}
.btn-enroll:hover { background: var(--accent-hover); color: #fff; }
.mobile-toggle {
  background: none; border: none; font-size: 1.8rem; color: var(--primary-dark); cursor: pointer;
  padding: 4px; line-height: 1;
}

/* Mobile side drawer nav */
.site-nav-drawer { width: min(340px, 90vw); border: 0; }
.site-nav-drawer .offcanvas-header {
  display: block;
  padding: 16px 16px 14px;
  border-bottom: 0;
  background: linear-gradient(135deg, #062c63, #0a3d86);
  color: #fff;
}
.mobile-nav-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.mobile-nav-brand {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 8px;
}
.mobile-nav-brand .site-logo {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; background: #fff; object-fit: contain;
}
.mobile-nav-brand #mainNavLabel,
.mobile-nav-brand span {
  display: flex; flex-direction: column; gap: 1px;
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25px; line-height: 1.25; color: #fff;
}
.mobile-nav-search {
  position: relative;
}
.mobile-nav-search i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #94a3b8; font-size: 0.9rem;
}
.mobile-nav-search input {
  width: 100%; min-height: 42px; padding: 10px 14px 10px 40px;
  border: 0; border-radius: 10px; background: #fff;
  color: #0f172a; font-size: 0.84rem; outline: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.mobile-nav-search input::placeholder { color: #94a3b8; }
.site-nav-drawer .btn-close {
  filter: brightness(0) invert(1); opacity: 0.95;
  width: 0.7em; height: 0.7em; margin: 2px 0 0;
}
.site-nav-drawer .offcanvas-body {
  display: flex; flex-direction: column; padding: 10px 12px 16px;
  background: #fff;
}
.mobile-nav-extra {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 16px 0 8px; padding-top: 16px; border-top: 1px solid var(--border);
}
.mobile-nav-extra a {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: #f8fafc; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  color: var(--primary-dark); transition: var(--transition);
}
.mobile-nav-extra a i { color: var(--accent); }
.mobile-nav-extra a:hover { background: rgba(var(--primary-rgb),0.08); color: var(--primary); }

@media (min-width: 1200px) {
  .header-inner {
    flex-direction: column; align-items: stretch; padding: 0;
    gap: 0;
  }
  .header-top {
    padding: 8px 0 6px;
    border-bottom: 1px solid #eef2f7;
  }
  .site-nav-drawer.offcanvas {
    position: static; z-index: auto; flex-grow: 0;
    width: 100% !important; max-width: none; height: auto !important;
    transform: none !important; visibility: visible !important;
    background: transparent; border: 0; box-shadow: none;
    transition: none;
    overflow: visible !important;
  }
  .site-nav-drawer .offcanvas-body {
    flex-direction: row; align-items: center; justify-content: center;
    gap: 0; padding: 0; overflow: visible !important; flex-grow: 1;
    margin-right: 0; width: 100%;
  }
  .brand-block { max-width: none; }
  .brand-name { font-size: clamp(1.05rem, 1.55vw, 1.55rem); }
  .brand-block .site-logo { width: 72px; height: 72px; }
  .main-menu {
    flex-wrap: nowrap !important;
    gap: 0;
    max-width: none;
    overflow: visible !important;
    width: 100%;
    justify-content: center;
    padding: 2px 0 4px;
  }
  .main-menu > li { flex: 0 0 auto; position: relative; }
  .main-menu > li > a {
    padding: 6px 5px;
    font-size: 0.64rem;
    letter-spacing: 0;
    gap: 1px;
    border-radius: 4px;
  }
  .main-menu .nav-caret { font-size: 0.55rem; margin-left: 0; }
  .nav-txt-full { display: none !important; }
  .nav-txt-short { display: inline !important; }
  .main-menu .submenu {
    max-height: min(70vh, 420px); overflow-y: auto; min-width: 200px;
    z-index: 1300;
  }
  .main-menu .submenu a {
    padding: 8px 12px; font-size: 0.78rem;
  }
  .main-menu .submenu a .nav-ico { display: none; }
  .btn-enroll { padding: 8px 14px; font-size: 0.74rem; }
}

@media (min-width: 1400px) {
  .main-menu > li > a {
    padding: 7px 6px;
    font-size: 0.68rem;
    letter-spacing: 0.15px;
  }
}

@media (min-width: 1600px) {
  .main-menu > li > a {
    padding: 8px 8px;
    font-size: 0.74rem;
  }
  .nav-txt-full { display: inline !important; }
  .nav-txt-short { display: none !important; }
}

/* Important links cards */
.important-link-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid rgba(13,71,161,0.1); border-radius: 12px;
  color: var(--primary-dark); text-decoration: none; height: 100%;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.important-link-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.important-link-card .il-icon {
  width: 40px; height: 40px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(var(--primary-rgb),0.1); color: var(--primary); flex-shrink: 0;
}
.important-link-card strong { flex: 1; font-size: 0.9rem; line-height: 1.3; }
.important-link-card .il-arrow { opacity: 0.4; font-size: 0.85rem; }

/* MPD section chips */
.mpd-section-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.mpd-section-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-radius: 999px; background: #f1f5f9; color: var(--primary-dark);
  font-size: 0.78rem; font-weight: 600; text-decoration: none;
}
.mpd-section-chip:hover { background: rgba(var(--primary-rgb),0.12); color: var(--primary); }
.mpd-section-block { scroll-margin-top: 100px; }

/* MPD website checklist (CBSE form style) */
.mpd-checklist-panel {
  padding: 28px 24px 24px;
  border-radius: 4px;
  background: #ececec;
}
.mpd-checklist-title {
  margin: 0 0 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid #5b7fa8;
  color: #4a6285;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.mpd-checklist-row + .mpd-checklist-row { margin-top: 14px; }
.mpd-checklist-field { min-height: 100%; }
.mpd-checklist-label {
  display: block;
  margin-bottom: 8px;
  color: #4a6285;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.mpd-checklist-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  background: #fff;
  color: #111827;
  font-size: .88rem;
  font-weight: 600;
}
.mpd-checklist-value-yes { color: #0f5132; }
.mpd-checklist-value-no { color: #842029; }
.mpd-checklist-value i {
  color: #6b7280;
  font-size: .75rem;
}
.mpd-checklist-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
}
.mpd-checklist-link:hover { text-decoration: underline; }

@media (max-width: 767.98px) {
  .mpd-checklist-panel { padding: 18px 14px; }
  .mpd-checklist-label { font-size: .68rem; }
}

.cms-body-content { font-size: 1rem; line-height: 1.8; color: #334155; }
.cms-body-content p { margin: 0 0 1rem; color: inherit; }
.cms-body-content h2, .cms-body-content h3, .cms-body-content h4 {
  color: #0b2f66; font-weight: 800; margin: 1.4rem 0 .7rem;
}
.cms-body-content ul, .cms-body-content ol { margin: 0 0 1rem 1.2rem; }
.cms-body-content img { max-width: 100%; height: auto; border-radius: 10px; margin: .5rem 0; }
.cms-body-content a { color: #c8101e; font-weight: 600; }
.cms-body-content table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.cms-body-content th, .cms-body-content td { border: 1px solid #e2e8f0; padding: .55rem .7rem; }

@media (max-width: 991.98px) {
  .site-nav-drawer {
    width: min(340px, 92vw) !important;
    max-width: 340px;
    border-radius: 16px 0 0 16px;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
  }
  .site-nav-drawer .offcanvas-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 8px 10px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .site-nav-drawer .main-menu {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
    gap: 3px;
    margin: 0;
    padding: 0;
  }
  .site-nav-drawer .main-menu > li {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }
  .site-nav-drawer .main-menu > li > a {
    position: relative;
    padding: 11px 12px; border-bottom: none; border-radius: 12px;
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0; gap: 12px;
    justify-content: flex-start; white-space: normal; color: #1e293b;
    text-transform: none;
  }
  .site-nav-drawer .main-menu > li > a .nav-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: #eaf1fb; color: #0b3d86; font-size: 1rem;
  }
  .site-nav-drawer .main-menu > li > a .nav-txt { flex: 1; min-width: 0; line-height: 1.25; }
  .site-nav-drawer .nav-txt-full { display: inline !important; }
  .site-nav-drawer .nav-txt-short { display: none !important; }
  .site-nav-drawer .main-menu > li > a .nav-caret {
    display: inline-flex; margin-left: auto; font-size: 0.85rem;
    color: #94a3b8; opacity: 1; transition: transform 0.2s;
  }
  .site-nav-drawer .has-submenu.submenu-open > a .nav-caret {
    transform: rotate(-90deg); color: #d91b27;
  }
  .site-nav-drawer .main-menu > li > a.active,
  .site-nav-drawer .main-menu > li > a.group-active {
    color: #d91b27;
    background: #fff1f2;
    box-shadow: inset 4px 0 0 #d91b27;
  }
  .site-nav-drawer .main-menu > li > a.active .nav-ico,
  .site-nav-drawer .main-menu > li > a.group-active .nav-ico {
    background: #ffe4e6; color: #d91b27;
  }
  .site-nav-drawer .has-submenu.submenu-open > a {
    color: #d91b27;
    background: #fff1f2;
  }
  .site-nav-drawer .has-submenu.submenu-open > a .nav-ico {
    background: #ffe4e6; color: #d91b27;
  }
  .site-nav-drawer .main-menu .submenu {
    list-style: none; margin: 0; padding: 0;
  }
  .site-nav-drawer .main-menu .submenu li {
    list-style: none; margin: 0; padding: 0;
  }
  .site-nav-drawer .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    background: transparent; display: none !important;
    padding: 2px 0 8px 28px; margin: 0 0 2px 18px;
    border-left: 2px solid #dbe3ef;
    overflow: hidden;
  }
  .site-nav-drawer .has-submenu.submenu-open > .submenu {
    display: block !important;
  }
  .site-nav-drawer .submenu a {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 4px; font-size: 0.82rem; font-weight: 600;
    border-bottom: none; border-radius: 8px; text-transform: none;
    letter-spacing: 0; color: #475569;
  }
  .site-nav-drawer .submenu a .nav-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #94a3b8; flex-shrink: 0;
  }
  .site-nav-drawer .submenu a .nav-ico { display: none !important; }
  .site-nav-drawer .submenu a .nav-txt { flex: 1; line-height: 1.3; }
  .site-nav-drawer .submenu a:hover,
  .site-nav-drawer .submenu a.active {
    color: #0b3d86; background: transparent;
  }
  .site-nav-drawer .submenu a.active .nav-dot,
  .site-nav-drawer .submenu a:hover .nav-dot {
    background: #d91b27;
  }
  .site-nav-drawer .header-actions {
    flex: 0 0 auto;
    margin-top: 14px; padding-top: 12px; flex-direction: column; width: 100%; margin-left: 0;
    border-top: 0; gap: 10px;
  }
  .site-nav-drawer .mobile-enroll-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 50px; padding: 12px 16px;
    border-radius: 12px; background: linear-gradient(90deg, #d91b27, #ef2a36);
    color: #fff !important; font-size: 0.92rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px;
    box-shadow: 0 10px 22px rgba(217, 27, 39, 0.28);
  }
  .site-nav-drawer .mobile-enroll-btn i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.2); font-size: 0.85rem;
  }
  .mobile-nav-tagline {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 8px 12px; border-radius: 10px;
    background: #f1f5f9; color: #475569; font-size: 0.72rem; font-weight: 600;
  }
  .mobile-nav-tagline i { color: #0b3d86; font-size: 0.95rem; }
}
.mpd-table th { background: var(--primary-dark); color: #fff; font-weight: 600; font-size: 0.85rem; }
.mpd-table td { font-size: 0.9rem; vertical-align: middle; }
.mpd-docs-heading {
  text-align: center; color: var(--accent); font-weight: 800; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px;
}
.mpd-docs-table {
  width: 100%; border-collapse: collapse; background: #e8f4fc;
  border: 2px solid #4aa3d1; font-size: 0.92rem;
}
.mpd-docs-table th {
  background: #5a5a5a; color: #fff; font-weight: 700; text-transform: uppercase;
  padding: 12px 14px; border: 1px solid #4aa3d1; text-align: left; font-size: 0.82rem;
}
.mpd-docs-table td {
  padding: 12px 14px; border: 1px solid #4aa3d1; vertical-align: middle;
  color: #1e293b; font-weight: 600;
}
.mpd-docs-table tbody tr:nth-child(even) { background: #dff0fa; }
.mpd-download-link {
  color: #dc2626; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none;
}
.mpd-download-link:hover { color: #b91c1c; text-decoration: underline; }

/* Career application form — compact */
.page-banner-sm {
  padding: 28px 0 22px !important;
}
.page-banner-sm h1 { font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important; margin-bottom: 0; }
.page-banner-sm .breadcrumb { margin-top: 6px !important; }
.career-section { padding: 18px 0 28px; }
.career-intro {
  margin: 0 0 12px; color: var(--text-muted);
  font-size: 0.82rem; line-height: 1.45; text-align: center;
}
.career-form-card {
  max-width: 820px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px 18px; box-shadow: var(--shadow);
}
.career-form-card .form-label {
  font-size: 0.75rem; font-weight: 600; color: #475569; margin-bottom: 3px;
}
.career-form-card .form-text { font-size: 0.7rem; }
.career-form-card .form-control-sm { min-height: 34px; font-size: 0.84rem; padding-top: 0.3rem; padding-bottom: 0.3rem; }
.input-icon-group {
  display: flex; align-items: stretch; border: 1px solid #dbe3ee;
  border-radius: 6px; overflow: hidden; background: #fff;
}
.input-icon-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--primary-rgb),0.12); }
.input-icon {
  width: 34px; display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; color: var(--primary-dark); border-right: 1px solid #dbe3ee; flex-shrink: 0;
  font-size: 0.85rem;
}
.input-icon-group .form-control {
  border: 0; border-radius: 0; box-shadow: none; background: #fff;
}
.input-icon-textarea .input-icon { align-items: flex-start; padding-top: 8px; }
.input-icon-textarea textarea.form-control { resize: vertical; min-height: 56px; }
.btn-career-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #c9a227; color: #fff; border: none; border-radius: 6px;
  padding: 8px 28px; font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.3px; transition: var(--transition); cursor: pointer; margin-top: 4px;
}
.btn-career-submit:hover { background: #b8911f; color: #fff; transform: translateY(-1px); }
.btn-career-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
@media (max-width: 767.98px) {
  .career-section { padding: 12px 0 20px; }
  .career-form-card { padding: 14px 12px 16px; }
  .page-banner-sm { padding: 22px 0 16px !important; }
}

.mpd-link-card {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  font-weight: 700; color: var(--primary-dark); transition: var(--transition); height: 100%;
}
.mpd-link-card i { font-size: 1.4rem; color: var(--accent); }
.mpd-link-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--accent); }

/* Hero Pro — Premium Homepage Banner */
.hero-pro {
  position: relative; overflow: hidden; background: var(--primary-dark);
  padding: 48px 0 0; min-height: 580px;
}
.hero-pro-bg { position: absolute; inset: 0; z-index: 0; }
.hero-pro-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04);
}
.hero-pro-slide.active { opacity: 1; transform: scale(1); transition: opacity 1.4s ease, transform 8s ease; }
.hero-pro-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(13, 71, 161, 0.94) 0%, rgba(21, 101, 192, 0.82) 45%, rgba(21, 101, 192, 0.55) 100%);
}
.hero-pro-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.45; z-index: 1;
}
.hero-pro-container { position: relative; z-index: 2; padding-bottom: 36px; }
.hero-pro-content { color: #fff; }
.hero-pro-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 0.78rem; font-weight: 600; padding: 8px 16px;
  border-radius: 50px; margin-bottom: 14px; backdrop-filter: blur(6px);
}
.hero-pro-badge i { color: #90caf9; }
.hero-pro-eyebrow {
  color: rgba(255,255,255,0.75); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.hero-pro-content h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; color: #fff;
  line-height: 1.12; margin-bottom: 18px;
}
.hero-pro-content h1 .hero-highlight { color: #64b5f6; }
.hero-pro-desc {
  color: rgba(255,255,255,0.9); font-size: 1.02rem; max-width: 540px;
  line-height: 1.75; margin-bottom: 26px;
}
.hero-pro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-pro-actions.justify-content-center { justify-content: center; }
.hero-pro-trust.justify-content-center { justify-content: center; }
.btn-hero-ghost {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.35);
  padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 0.84rem;
  text-transform: uppercase; letter-spacing: 0.4px; transition: var(--transition);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.hero-pro-trust {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
}
.hero-pro-trust span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.hero-pro-trust i { color: #90caf9; }
.hero-pro-visual { position: relative; }
.hero-pro-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25); box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--primary), #1e88e5);
}
.hero-pro-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-pro-frame-fallback {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: rgba(255,255,255,0.2); font-size: 6rem;
}
.hero-pro-chip {
  position: absolute; background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); text-align: center; min-width: 110px;
  animation: heroFloat 4s ease-in-out infinite;
}
.hero-pro-chip strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.hero-pro-chip span { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.hero-pro-chip-1 { top: 16px; right: -12px; border-left: 4px solid var(--accent); }
.hero-pro-chip-2 { bottom: 20px; left: -12px; border-left: 4px solid var(--primary); animation-delay: 1.5s; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-pro-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); padding: 22px 0 70px;
}
.hero-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-stat-item {
  text-align: center; color: #fff; padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item strong {
  display: block; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.1;
  color: #fff;
}
.hero-stat-item strong span[data-count],
.hero-stat-item strong .stat-suffix {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  opacity: 1;
  color: inherit;
}
.hero-stat-item div > span:not([data-count]) { font-size: 0.78rem; opacity: 0.85; font-weight: 500; }

/* Notice Ticker */
.hero-notice-ticker {
  position: relative;
  z-index: 5;
  padding: 0;
  border-top: 1px solid #e8edf4;
  border-bottom: 1px solid #e8edf4;
  background: linear-gradient(90deg, #f8fafc, #fff 35%, #f8fafc);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
}
.home-cbse-strip {
  background: #0b3a78;
  color: rgba(255,255,255,.92);
  font-size: .88rem;
  padding: 10px 0;
}
.home-cbse-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: center;
}
.home-cbse-strip i {
  margin-right: 6px;
  color: #f6c445;
}
.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 54px;
}
.ticker-label {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d71925, #ed2b36);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .65px;
  box-shadow: 0 6px 14px rgba(215, 25, 37, .2);
}
.ticker-label::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.2);
  animation: tickerPulse 1.8s ease-in-out infinite;
}
.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.ticker-track a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: #15345f;
  font-size: .78rem;
  font-weight: 650;
  transition: var(--transition);
}
.ticker-track a::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 22px;
  border-radius: 50%;
  background: #d71925;
}
.ticker-track a:hover { color: var(--accent); }
.ticker-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid #e2e8f0;
  color: #d71925;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .45px;
}
.ticker-more:hover { color: #0b376f; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerPulse {
  0%, 100% { opacity: .6; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* Quick Links */
.home-quicklinks {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 40px 0 28px;
  background:
    radial-gradient(circle at 92% 15%, rgba(11, 55, 111, .05), transparent 22%),
    #fff;
}
.quicklinks-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 22px;
  text-align: center;
}
.quicklinks-kicker {
  display: block;
  margin-bottom: 4px;
  color: #d71925;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.quicklinks-heading h2 {
  margin: 0;
  color: #0a3268;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
}
.quicklinks-heading p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: .76rem;
}
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.quicklink-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 155px;
  padding: 20px 18px 17px;
  overflow: hidden;
  border: 1px solid #e7ebf1;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 0%, #fff 70%, #f8fafc 100%);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
  transition: .25s ease;
}
.quicklink-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d71925, #0b3a78);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s ease;
}
.quicklink-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 58, 120, .14);
  box-shadow: 0 15px 32px rgba(11, 47, 94, .11);
}
.quicklink-card:hover::before { transform: scaleX(1); }
.ql-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  font-size: 1.05rem;
  transition: .25s ease;
}
.ql-icon.blue { background: #eaf2fc; color: #0b4b98; }
.ql-icon.red { background: #fff0f1; color: #d71925; }
.quicklink-card:hover .ql-icon { transform: scale(1.07); }
.ql-content { padding-right: 20px; }
.quicklink-card strong {
  display: block;
  margin-bottom: 5px;
  color: #0a3268;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}
.quicklink-card .ql-content > span {
  color: #718096;
  font-size: .69rem;
  line-height: 1.5;
}
.ql-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #8090a3;
  font-size: .76rem;
  opacity: 1;
  transform: none;
  transition: .25s ease;
}
.quicklink-card:hover .ql-arrow {
  background: #d71925;
  color: #fff;
  transform: rotate(45deg);
}

/* Principal Home Strip */
.section-sm { padding: 50px 0; }
.principal-home-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid var(--border); border-radius: 18px; padding: 32px 36px;
  box-shadow: var(--shadow); border-left: 5px solid var(--accent);
}
.principal-home-icon {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: rgba(var(--accent-rgb),0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.principal-home-body { flex: 1; min-width: 240px; }
.principal-home-body p {
  font-size: 0.95rem; color: var(--text); line-height: 1.75; margin: 8px 0 12px;
  font-style: italic;
}
.principal-home-meta strong { display: block; font-size: 0.92rem; color: var(--primary-dark); }
.principal-home-meta span { font-size: 0.78rem; color: var(--text-muted); }

/* Principal card — reference design */
.principal-home .container {
  max-width: 720px;
}
.ph-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 28px;
  border: 1px solid #e6eef8;
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(147, 197, 253, .22), transparent 46%),
    radial-gradient(90% 70% at 0% 100%, rgba(191, 219, 254, .28), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 40px rgba(11, 58, 120, .1);
  text-align: center;
}
.ph-card::before,
.ph-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: rgba(147, 197, 253, .18);
}
.ph-card::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
}
.ph-card::after {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -80px;
}
.ph-head,
.ph-visual,
.ph-message,
.ph-sign,
.ph-btn {
  position: relative;
  z-index: 1;
}
.ph-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}
.ph-kicker span {
  color: #0b3a78;
  font-family: "Playfair Display", Georgia, serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ph-kicker::before,
.ph-kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #c8101e;
  border-radius: 2px;
}
.ph-title {
  margin: 0 0 8px;
  color: #0b3a78;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}
.ph-tagline {
  margin: 0 0 22px;
  color: #7aa2d4;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ph-visual {
  display: grid;
  grid-template-columns: 72px minmax(140px, 210px) 88px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 22px;
  max-width: 420px;
}
.ph-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #7aa2d4;
}
.ph-deco-left i.bi-book {
  font-size: 1.35rem;
  color: #3b82f6;
  margin-bottom: 6px;
}
.ph-deco-left span {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
}
.ph-deco-line {
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 6px;
  background: #60a5fa;
  border-radius: 2px;
}
.ph-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(11, 58, 120, .18);
  background: #e8eef7;
}
.ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ph-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 3rem;
}
.ph-quote-badge {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(29, 78, 216, .28);
}
.ph-deco-right em {
  max-width: 88px;
  color: #1d4ed8;
  font-family: "Great Vibes", cursive;
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.25;
}
.ph-message {
  position: relative;
  margin: 0 auto 8px;
  max-width: 540px;
  padding: 8px 18px 4px;
}
.ph-message p {
  margin: 0;
  color: #1e3a5f !important;
  font-size: .92rem;
  font-style: italic;
  line-height: 1.75;
}
.ph-quote-lg {
  position: absolute;
  color: rgba(96, 165, 250, .35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
  pointer-events: none;
}
.ph-quote-open {
  top: -8px;
  left: 0;
}
.ph-quote-close {
  right: 0;
  bottom: -18px;
}
.ph-sign {
  margin: 10px 0 18px;
}
.ph-sign-line {
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 14px;
  background: #c8101e;
  border-radius: 3px;
}
.ph-sign strong {
  display: block;
  margin-bottom: 4px;
  color: #0b3a78 !important;
  font-size: 1.05rem;
  font-weight: 800;
}
.ph-role {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ph-school {
  display: block;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.4;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b4a91, #1d4ed8);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(29, 78, 216, .28);
  transition: .2s ease;
}
.ph-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(29, 78, 216, .36);
}
@media (max-width: 575.98px) {
  .principal-home.section-sm { padding: 28px 0; }
  .ph-card { padding: 28px 16px 22px; border-radius: 18px; }
  .ph-title { font-size: 2.05rem; }
  .ph-visual {
    grid-template-columns: 58px minmax(120px, 160px) 72px;
    gap: 8px;
    margin-bottom: 18px;
  }
  .ph-deco-left span { font-size: .52rem; }
  .ph-deco-right em { font-size: .95rem; max-width: 72px; }
  .ph-quote-badge { width: 32px; height: 32px; font-size: 1.2rem; }
  .ph-message { padding: 6px 8px 2px; }
  .ph-message p { font-size: .84rem; line-height: 1.7; }
  .ph-btn { min-height: 46px; font-size: .72rem; }
}

/* Hero V2 (legacy) */
.hero-v2 {
  background: var(--primary-dark); position: relative; overflow: hidden;
  min-height: 520px;
}
.hero-v2-inner {
  display: flex; align-items: stretch; min-height: 520px;
  max-width: 1400px; margin: 0 auto;
}
.hero-v2-content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 60px 40px 80px max(20px, calc((100% - 1320px) / 2 + 12px));
  position: relative; z-index: 2;
}
.hero-v2-content h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 18px;
}
.hero-v2-content h1 .hero-highlight {
  color: #64b5f6;
  background: none;
  box-shadow: none;
  padding: 0;
}
.hero-v2-content p { color: rgba(255,255,255,0.9); font-size: 1rem; max-width: 480px; margin-bottom: 28px; }
.hero-v2-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-v2-visual {
  flex: 1; position: relative; min-height: 300px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hero-v2-visual::before {
  content: ''; position: absolute; left: -80px; top: 0; bottom: 0; width: 160px;
  background: var(--primary-dark);
  border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  z-index: 1;
}
.hero-v2-image {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #1e88e5 100%);
}
.hero-v2-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-v2-image .hero-v2-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.hero-v2-image .hero-v2-fallback i { font-size: 8rem; color: rgba(255,255,255,0.15); }
.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; z-index: 3;
}

/* Features Strip */
.features-strip { padding: 60px 0 50px; background: #fff; position: relative; z-index: 4; }
.feature-box {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 22px; height: 100%; transition: var(--transition); text-align: center;
}
.feature-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.fb-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.fb-icon.blue { background: rgba(var(--primary-rgb),0.1); color: var(--primary); }
.fb-icon.red { background: rgba(var(--accent-rgb),0.1); color: var(--accent); }
.feature-box h6 { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; margin-bottom: 8px; }
.feature-box p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* About V2 */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
}
.check-list li i { color: var(--accent); font-size: 1.1rem; }
.about-visual { position: relative; }
.about-building {
  height: 340px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.about-building img { width: 100%; height: 100%; object-fit: cover; }
.about-building .about-building-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: rgba(255,255,255,0.3);
}
.about-building .about-building-fallback i { font-size: 5rem; margin-bottom: 12px; }
.about-building .about-building-fallback span { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.about-stats-bar {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  background: var(--accent); border-radius: 12px; padding: 20px 16px;
  box-shadow: 0 12px 30px rgba(var(--accent-rgb),0.35); min-width: 140px;
}
.asb-item {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-align: center;
}
.asb-item:last-child { border-bottom: none; }
.asb-item strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-bottom: 7px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.3px;
}
.asb-item strong span[data-count] {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.asb-item strong .asb-suffix {
  font-size: .72em;
  font-weight: 800;
  line-height: 1;
}
.asb-item > span {
  display: block;
  color: rgba(255,255,255,.94);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.45;
}

/* Home Achievers */
.achievers-home-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(215, 25, 37, .05), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(11, 55, 111, .06), transparent 24%),
    #fff;
}
.achievers-home-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.achievers-home-header .heading-v2 { margin-bottom: 0; }
.achievers-home-header p {
  max-width: 340px;
  margin: 0 0 6px;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.65;
}
.achievers-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.achiever-card {
  overflow: hidden;
  border: 1px solid #e8edf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: .25s ease;
}
.achiever-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 58, 120, .14);
  box-shadow: 0 16px 36px rgba(11, 47, 94, .12);
}
.achiever-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf2fc, #f8fafc);
}
.achiever-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}
.achiever-card:hover .achiever-photo img { transform: scale(1.05); }
.achiever-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 3rem;
}
.achiever-body {
  padding: 16px 16px 18px;
  text-align: center;
}
.achiever-name {
  margin: 0 0 6px;
  color: #0a3268;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}
.achiever-title {
  margin: 0 0 8px;
  color: #d71925;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.achiever-meta {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: .68rem;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .achievers-home-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .achievers-home-header p { max-width: none; }
  .achievers-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 575.98px) {
  .achievers-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .achiever-body { padding: 12px 10px 14px; }
  .achiever-name { font-size: .9rem; }
  .achiever-title { font-size: .74rem; }
}

/* Alumni Success Tracker */
.alumni-tracker-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.alumni-tracker-filters-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.alumni-tracker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.alumni-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.alumni-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.alumni-chip.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.alumni-tracker-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.alumni-tracker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}
.alumni-tracker-photo {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #eef2f7, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.alumni-tracker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alumni-tracker-photo-fallback {
  font-size: 2.4rem;
  color: rgba(var(--primary-rgb), .35);
}
.alumni-tracker-body {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alumni-tracker-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.alumni-tracker-batch {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.alumni-tracker-role {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.alumni-tracker-org {
  margin: 0;
  font-size: .82rem;
  color: var(--text-muted);
}
.alumni-tracker-field {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(var(--accent-rgb), .1);
  color: var(--accent);
  width: fit-content;
}
.alumni-tracker-mobile {
  margin: 6px 0 0;
  font-size: .88rem;
}
.alumni-tracker-mobile a {
  color: inherit;
  text-decoration: none;
}
.alumni-tracker-mobile a:hover {
  color: var(--accent);
}
.alumni-tracker-achievement {
  margin: 8px 0 0;
  font-size: .84rem;
  font-weight: 600;
  color: #7a1d24;
}
.alumni-tracker-desc {
  margin: 4px 0 0;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Staff directory — circular frame cards (peach frame artwork) */
.staff-directory-section {
  background: #eef3f8;
}
.staff-directory-intro {
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.75;
}
.staff-wing-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(var(--primary-rgb), .12);
}
.staff-wing-heading:first-of-type { margin-top: 0; }
.staff-wing-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.staff-wing-heading span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.staff-portrait-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .staff-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    gap: 28px 24px;
  }
}
@media (min-width: 1200px) {
  .staff-portrait-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1120px;
  }
}
.staff-card-portrait {
  --staff-navy: #0b2f66;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(59, 98, 150, .14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.staff-card-portrait:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(59, 98, 150, .18);
}
.staff-card-portrait .staff-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 959 / 1024;
  background: #fff;
  overflow: hidden;
}
.staff-card-portrait .staff-card-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.staff-card-portrait .staff-card-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.staff-card-portrait .staff-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}
.staff-card-portrait .staff-initials {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
  opacity: .45;
}
.staff-card-portrait .staff-card-body {
  padding: 16px 20px 18px;
  text-align: left;
  flex: 1;
  border-bottom: 3px solid var(--staff-navy);
}
.staff-card-portrait .staff-name {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--staff-navy) !important;
  line-height: 1.3;
}
.staff-card-portrait .staff-meta {
  margin: 0;
  font-size: .92rem;
  font-weight: 500;
  color: #6b7280 !important;
  line-height: 1.45;
  opacity: 1 !important;
}
.staff-card-portrait .staff-detail {
  margin: 6px 0 0;
  font-size: .8rem;
  font-weight: 500;
  color: #64748b !important;
  line-height: 1.45;
  opacity: 1 !important;
}
@media (max-width: 575.98px) {
  .staff-wing-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .staff-portrait-grid {
    max-width: 320px;
    gap: 18px;
  }
  .staff-card-portrait {
    border-radius: 16px;
  }
  .staff-card-portrait .staff-card-body {
    padding: 14px 16px 16px;
  }
  .staff-card-portrait .staff-name {
    font-size: .95rem;
  }
  .staff-card-portrait .staff-meta {
    font-size: .86rem;
  }
}

/* Home Gallery Preview */
.home-gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.home-gallery-item {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative;
  box-shadow: var(--shadow); display: block;
}
.home-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.home-gallery-item:hover img { transform: scale(1.08); }
.home-gallery-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff;
  font-size: 0.72rem; font-weight: 600;
}
@media (max-width: 991.98px) {
  .home-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Programs V2 */
.programs-v2 {
  position: relative;
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 25, 37, .05), transparent 24%),
    radial-gradient(circle at 96% 18%, rgba(11, 55, 111, .06), transparent 22%),
    #f7f9fc;
}
.programs-v2-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.programs-v2-header .heading-v2 { margin-bottom: 0; }
.programs-v2-header p {
  max-width: 360px;
  margin: 0 0 6px;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.65;
}
.programs-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.program-box {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 28px 24px 22px;
  overflow: hidden;
  border: 1px solid #e7ebf1;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0%, #fff 68%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  text-align: left;
  transition: .25s ease;
}
.program-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #d71925, #0b3a78);
  opacity: 0;
  transition: .25s ease;
}
.program-box:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 58, 120, .16);
  box-shadow: 0 18px 40px rgba(11, 47, 94, .12);
}
.program-box:hover::before { opacity: 1; }
.program-box-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0;
  border-radius: 18px;
  font-size: 1.45rem;
  transition: .25s ease;
}
.program-number {
  color: #d7dee8;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.program-box:hover .pb-icon { transform: scale(1.06); }
.pb-icon.red {
  background: linear-gradient(145deg, #fff0f1, #ffe3e5);
  color: #d71925;
  box-shadow: inset 0 0 0 1px rgba(215, 25, 37, .08);
}
.pb-icon.blue {
  background: linear-gradient(145deg, #eaf2fc, #dceafb);
  color: #0b4b98;
  box-shadow: inset 0 0 0 1px rgba(11, 75, 152, .08);
}
.program-box-body { flex: 1; }
.program-box h6 {
  margin-bottom: 12px;
  color: #0a3268;
  font-size: 1.08rem;
  font-weight: 800;
}
.program-box p {
  margin-bottom: 22px;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.7;
}
.pb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #d71925;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
}
.pb-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff0f1;
  font-size: .72rem;
  transition: .25s ease;
}
.program-box:hover .pb-link i {
  background: #d71925;
  color: #fff;
  transform: translateX(3px);
}
.programs-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d71925, #ef2934);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(215, 25, 37, .22);
}
.programs-view-all:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(215, 25, 37, .3);
}
@media (max-width: 991.98px) {
  .programs-v2-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 26px;
  }
  .programs-v2-header p { max-width: none; }
  .programs-v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .programs-v2-grid { grid-template-columns: 1fr; }
  .program-box { min-height: 0; padding: 24px 20px 20px; }
}

/* Info Trio V3 — Single-row equal boxes */
.info-trio-v3 { padding: 70px 0; }
.info-trio-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.trio-v3-card {
  border-radius: 18px;
  height: 100%;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.trio-v3-head { margin-bottom: 12px; position: relative; z-index: 2; flex-shrink: 0; }
.trio-v3-head h5 {
  font-weight: 800; font-size: 1.12rem; margin: 0 0 8px; line-height: 1.2;
}
.trio-v3-head-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.trio-v3-line { display: block; width: 42px; height: 3px; border-radius: 2px; }
.trio-v3-line-red { background: var(--accent); }
.trio-v3-line-blue { background: var(--primary); }
.trio-v3-intro {
  font-size: 0.82rem; line-height: 1.6; margin-bottom: 14px; position: relative; z-index: 2; flex-shrink: 0;
}
.trio-v3-mini-link {
  font-size: 0.7rem; font-weight: 700; color: var(--primary); text-transform: uppercase;
  letter-spacing: 0.3px; white-space: nowrap; margin-top: 2px;
}
.trio-v3-mini-link:hover { color: var(--accent); }

/* Navy — Why Choose Us */
.trio-v3-navy {
  background: var(--primary-dark); color: rgba(255,255,255,0.88);
  padding: 26px 22px;
}
.trio-v3-navy h5 { color: #fff; }
.trio-v3-navy .trio-v3-intro { color: rgba(255,255,255,0.78); }
.trio-v3-building {
  position: absolute; right: -10px; bottom: -8px; opacity: 0.08; pointer-events: none;
  font-size: 8rem; color: #fff; line-height: 1;
}
.trio-v3-features {
  list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; flex: 1;
}
.trio-v3-features li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.trio-v3-features li:last-child { border-bottom: none; }
.trio-v3-ficon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.14); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.trio-v3-features strong {
  display: block; color: #fff; font-size: 0.86rem; font-weight: 700; margin-bottom: 3px;
}
.trio-v3-features span { font-size: 0.74rem; color: rgba(255,255,255,0.72); line-height: 1.45; }

/* White — News & Events */
.trio-v3-white {
  background: #fff; border: 1px solid var(--border);
  padding: 26px 22px;
}
.trio-v3-white h5 { color: var(--primary-dark); }
.trio-v3-timeline {
  position: relative; flex: 1; overflow: auto; padding-left: 2px;
}
.trio-v3-timeline::before {
  content: ''; position: absolute; left: 26px; top: 10px; bottom: 10px;
  border-left: 2px dashed rgba(var(--primary-rgb),0.22);
}
.trio-v3-news-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 0;
  text-decoration: none; color: inherit; transition: var(--transition);
}
a.trio-v3-news-item:hover { opacity: 0.85; }
.trio-v3-date {
  width: 50px; height: 50px; border-radius: 10px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; line-height: 1; position: relative; z-index: 1;
}
.trio-v3-date em { font-style: normal; font-size: 1rem; font-weight: 800; }
.trio-v3-date small { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.5px; margin-top: 2px; }
.trio-v3-date-blue { background: #64b5f6; }
.trio-v3-date-red { background: var(--accent); }
.trio-v3-news-body { flex: 1; min-width: 0; }
.trio-v3-news-body strong {
  display: block; font-size: 0.82rem; color: var(--primary-dark); font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trio-v3-news-body span {
  font-size: 0.72rem; color: var(--text-muted);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trio-v3-news-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: #f1f5f9; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

/* Red — Facilities */
.trio-v3-red { background: var(--accent); color: #fff; }
.trio-v3-red-inner {
  position: relative; z-index: 2; padding: 26px 22px;
  display: flex; flex-direction: column; height: 100%;
}
.trio-v3-red h5 { color: #fff; }
.trio-v3-red .trio-v3-intro { color: rgba(255,255,255,0.92); }
.trio-v3-fac-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  flex: 1; align-content: stretch;
}
.trio-v3-fac-card {
  background: #fff; border-radius: 14px; padding: 18px 12px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.trio-v3-fac-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(var(--accent-rgb),0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-bottom: 10px;
}
.trio-v3-fac-card strong {
  display: block; font-size: 0.8rem; color: var(--primary-dark); font-weight: 700; line-height: 1.3;
}
.trio-v3-fac-line {
  display: block; width: 24px; height: 2px; background: var(--accent);
  border-radius: 2px; margin-top: 8px;
}

@media (max-width: 1199.98px) {
  .trio-v3-card { min-height: 480px; }
  .trio-v3-head h5 { font-size: 1rem; }
  .trio-v3-mini-link { font-size: 0.64rem; }
}
@media (max-width: 991.98px) {
  .info-trio-row { grid-template-columns: 1fr; }
  .trio-v3-card { min-height: 0; }
  .trio-v3-building { font-size: 6rem; }
  .trio-v3-head-row { flex-wrap: wrap; }
}

/* Reference-matched trio presentation */
.info-trio-v3 {
  background: #f5f7fb;
}
.info-trio-row {
  gap: 16px;
}
.trio-v3-card {
  min-height: 540px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 39, 74, .09);
}
.trio-v3-navy {
  padding: 30px 26px;
  background: linear-gradient(145deg, #0c3978 0%, #1758a9 100%);
}
.trio-v3-red {
  background: linear-gradient(145deg, #d71925 0%, #ed222d 100%);
}
.trio-v3-red-inner,
.trio-v3-white {
  padding: 30px 26px;
}
.trio-v3-head h5 {
  font-size: 1.15rem;
}
.trio-v3-line {
  width: 36px;
  height: 3px;
}
.trio-v3-intro {
  margin-bottom: 16px;
  font-size: .78rem;
}
.trio-v3-features li {
  align-items: center;
  gap: 13px;
  min-height: 90px;
  padding: 13px 0;
}
.trio-v3-ficon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
}
.trio-v3-features li > div {
  flex: 1;
  min-width: 0;
}
.trio-v3-features strong {
  font-size: .84rem;
}
.trio-v3-feature-arrow {
  flex: 0 0 auto;
  color: rgba(255,255,255,.8);
  font-size: .75rem;
}
.trio-v3-white {
  border: 1px solid #e7ebf1;
}
.trio-v3-timeline {
  overflow: hidden;
}
.trio-v3-news-item {
  min-height: 64px;
  padding: 7px 0;
}
.trio-v3-date {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.trio-v3-date-blue {
  background: #6b9bc7;
}
.trio-v3-news-icon {
  width: 29px;
  height: 29px;
}
.trio-v3-outline-btn,
.trio-v3-red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: .25s ease;
}
.trio-v3-outline-btn {
  border: 1px solid #b9c5d4;
  color: #123c71;
  background: #fff;
}
.trio-v3-outline-btn:hover {
  border-color: #123c71;
  background: #123c71;
  color: #fff;
}
.trio-v3-fac-grid {
  gap: 10px;
}
.trio-v3-fac-card {
  min-height: 175px;
  padding: 15px 10px;
  border-radius: 11px;
}
.trio-v3-fac-card p {
  margin: 8px 0 0;
  color: #667085;
  font-size: .66rem;
  line-height: 1.45;
}
.trio-v3-red-btn {
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: rgba(180, 0, 10, .13);
}
.trio-v3-red-btn:hover {
  border-color: #fff;
  background: #fff;
  color: var(--accent);
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .trio-v3-card { min-height: 560px; }
  .trio-v3-navy,
  .trio-v3-white,
  .trio-v3-red-inner { padding: 25px 20px; }
}
@media (max-width: 991.98px) {
  .trio-v3-card { min-height: 0; }
  .trio-v3-fac-card { min-height: 160px; }
}
@media (max-width: 767.98px) {
  .info-trio-v3.section,
  .info-trio-v3 {
    padding: 16px 0 20px;
  }
  .info-trio-v3 > .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 575.98px) {
  .info-trio-v3.section,
  .info-trio-v3 { padding: 12px 0 16px; }
  .trio-v3-navy,
  .trio-v3-white,
  .trio-v3-red-inner { padding: 20px 16px; }
  .trio-v3-fac-card { min-height: 145px; }
}

/* Testimonials V2 */
.testi-box {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; height: 100%; transition: var(--transition);
}
.testi-box:hover { box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--accent); margin-bottom: 14px; font-size: 0.9rem; }
.testi-box p { font-size: 0.88rem; color: var(--text-muted); font-style: italic; line-height: 1.7; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testi-author strong { display: block; font-size: 0.88rem; color: var(--primary-dark); }
.testi-author span { font-size: 0.75rem; color: var(--text-muted); text-transform: capitalize; }
.testi-nav {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary-dark);
  color: #fff; border: none; top: 50%; opacity: 1;
}
.testi-nav i { font-size: 1.2rem; }
.carousel-control-prev.testi-nav { left: -22px; }
.carousel-control-next.testi-nav { right: -22px; }

/* CTA V2 */
.cta-v2 { padding: 0 0 70px; }
.cta-v2-inner {
  background: var(--accent); border-radius: 16px; padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; color: #fff;
  box-shadow: 0 16px 40px rgba(var(--accent-rgb),0.3);
}
.cta-v2-inner h3 { font-weight: 800; font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin: 0 0 6px; }
.cta-v2-inner p { margin: 0; opacity: 0.9; font-size: 0.92rem; }

/* Footer V2 */
.footer-v2 {
  background: var(--primary-dark); color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.fv2-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fv2-brand .site-logo { width: 50px; height: 50px; }
.fv2-brand strong { font-size: 0.88rem; text-transform: uppercase; color: #fff; line-height: 1.3; }
.footer-v2 p { font-size: 0.86rem; line-height: 1.7; }
.footer-v2 h6 {
  color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-v2 ul { list-style: none; padding: 0; margin: 0; }
.footer-v2 ul li { margin-bottom: 10px; }
.footer-v2 ul li a { color: rgba(255,255,255,0.75); font-size: 0.86rem; transition: var(--transition); }
.footer-v2 ul li a:hover { color: var(--accent-light); padding-left: 4px; }
.fv2-contact li {
  display: flex; gap: 10px; font-size: 0.84rem; margin-bottom: 12px; line-height: 1.5;
}
.fv2-contact i { color: #fff; flex-shrink: 0; margin-top: 3px; }
.fv2-social { display: flex; gap: 10px; margin-top: 16px; }
.fv2-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition);
}
.fv2-social a:hover { background: var(--accent); }
.fv2-newsletter { display: flex; gap: 0; margin-top: 12px; }
.fv2-newsletter input {
  flex: 1; padding: 12px 16px; border: none; border-radius: 6px 0 0 6px;
  font-size: 0.88rem; background: rgba(255,255,255,0.1); color: #fff;
}
.fv2-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.fv2-newsletter button {
  padding: 12px 20px; border: none; border-radius: 0 6px 6px 0;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; transition: var(--transition);
}
.fv2-newsletter button:hover { background: var(--accent-hover); }
.fv2-bottom {
  background: var(--accent); color: #fff; padding: 14px 0; margin-top: 40px;
  font-size: 0.82rem;
}
.fv2-bottom p { margin: 0; }

/* V2 Responsive */
@media (max-width: 1199.98px) {
  .quicklinks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .hero-pro { padding-top: 36px; min-height: auto; }
  .hero-pro-content { text-align: center; }
  .hero-pro-desc { margin-left: auto; margin-right: auto; }
  .hero-pro-actions { justify-content: center; }
  .hero-pro-trust { justify-content: center; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-item:nth-child(2) { border-right: none; }
  .hero-stat-item { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 14px 8px; }
  .hero-pro-chip-1 { right: 8px; }
  .hero-pro-chip-2 { left: 8px; }
  .ticker-more { display: none; }
  .principal-home-card { text-align: center; justify-content: center; }
  .hero-v2-inner { flex-direction: column; min-height: auto; }
  .hero-v2-content { padding: 50px 20px 40px; text-align: center; }
  .hero-v2-content p { margin-left: auto; margin-right: auto; }
  .hero-v2-btns { justify-content: center; }
  .hero-v2-visual { min-height: 260px; }
  .hero-v2-visual::before { display: none; }
  .about-stats-bar { position: static; transform: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; min-width: auto; }
  .asb-item { flex: 1; min-width: 100px; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.2); }
  .carousel-control-prev.testi-nav { left: 0; }
  .carousel-control-next.testi-nav { right: 0; }
}
@media (max-width: 767.98px) {
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quicklinks-heading { align-items: center; justify-content: center; text-align: center; margin-bottom: 18px; }
  .quicklinks-heading p { display: none; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-pro-actions { justify-content: center; width: 100%; }
  .hero-pro-actions .btn-red,
  .hero-pro-actions .btn-outline-white {
    max-width: 100%; width: auto; text-align: center; justify-content: center;
  }
  .hero-pro-actions .btn-hero-ghost { display: none; }
  .hero-pro-badge {
    max-width: 100%; white-space: normal; text-align: center; line-height: 1.3;
    font-size: 0.7rem; padding: 7px 12px;
  }
  .hero-pro-content h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem); word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .hero-pro-desc { font-size: 0.92rem; padding: 0 4px; }
  .hero-pro-trust { justify-content: center; gap: 8px 12px; }
  .hero-pro-trust span { font-size: 0.72rem; }
  .hero-pro-container { padding-left: 12px; padding-right: 12px; padding-bottom: 28px; }
  .hero-notice-ticker { overflow: hidden; }
  .ticker-wrap { gap: 10px; min-width: 0; }
  .ticker-viewport { min-width: 0; }
  .ticker-wrap { min-height: 48px; }
  .ticker-label { min-height: 30px; font-size: 0.6rem; padding: 6px 9px; }
  .ticker-label::after { display: none; }
  .ticker-track a { font-size: .7rem; }
  .top-utility-bar { font-size: 0.68rem; overflow: hidden; }
  .top-utility-bar .container { padding-left: 10px; padding-right: 10px; }
  .utility-left { gap: 6px; width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .utility-left .sep { display: none; }
  .utility-left a {
    max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 0.65rem;
  }
  .utility-right { display: none !important; }
  .header-inner { padding: 10px 0; gap: 8px; flex-wrap: nowrap; }
  .brand-name { font-size: .82rem; letter-spacing: 0.2px; }
  .brand-name .brand-line { white-space: normal; }
  .brand-tag { font-size: 0.56rem; }
  .brand-block { max-width: calc(100% - 48px); margin-left: 0; gap: 8px; }
  .brand-block .site-logo { width: 52px; height: 52px; }
  .site-header .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
  .cta-v2-inner { padding: 28px 22px; text-align: center; justify-content: center; }
  .fv2-newsletter { flex-direction: column; }
  .fv2-newsletter input { border-radius: 6px; }
  .fv2-newsletter button { border-radius: 6px; }
  .home-quicklinks { padding-left: 0; padding-right: 0; overflow: hidden; }
  .home-quicklinks { padding-top: 30px; padding-bottom: 20px; }
  .quicklink-card { min-height: 138px; padding: 16px 13px; }
  .quicklink-card strong { font-size: .76rem; }
  .quicklink-card .ql-content > span { font-size: .63rem; }
  .ql-arrow { display: none; }
  .principal-home-card { padding: 22px 18px; }
  .info-trio-row { grid-template-columns: 1fr; }
  body { padding-bottom: 96px; overflow-x: clip; }
  .floating-btns { bottom: 96px; right: 10px; }
}

/* Vision / Mission (About) */
.vm-card {
  background: #fff; border-radius: 16px; padding: 28px 24px; border: 1px solid rgba(13,71,161,0.08);
  box-shadow: 0 8px 28px rgba(15,23,42,0.06);
}
.vm-card h4 { font-weight: 800; color: var(--primary-dark); margin: 12px 0; }
.vm-card p { color: var(--text-muted); margin: 0; line-height: 1.75; }
.vm-icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff;
}
.vm-card-vision .vm-icon { background: linear-gradient(135deg, #1565c0, #1976d2); }
.vm-card-mission .vm-icon { background: linear-gradient(135deg, var(--accent), #c62828); }
.vm-card-aims .vm-icon { background: linear-gradient(135deg, #0f766e, #14b8a6); }

.about-page-kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .82rem;
}
.about-page-school-name {
  margin: 10px 0 18px;
  color: var(--primary-dark);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
}
.about-page-copy {
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}
.about-page-copy.cms-body-content p {
  margin: 0 0 1rem;
  color: inherit;
  text-align: justify;
}
.about-page-copy.cms-body-content p:last-child { margin-bottom: 0; }
.about-page-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0b3a78, #1565c0);
  overflow: hidden;
}
.about-page-visual i {
  font-size: 5.5rem;
  color: rgba(255,255,255,.22);
}
.about-page-visual-photo {
  background: #e8eef6;
  padding: 0;
}
.about-page-visual-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.president-quote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: #fff8f8;
  color: #7a1d24;
  font-size: .95rem;
  font-style: italic;
  line-height: 1.55;
}
.leader-message-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.leader-photo-wrap {
  flex: 0 0 220px;
  max-width: 220px;
}
.leader-photo-wrap-sm {
  flex-basis: 140px;
  max-width: 140px;
  margin-left: auto;
  margin-right: auto;
}
.leader-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  background: #eef2f7;
}
.leader-message-body { flex: 1; min-width: 0; }
.principal-home-photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 47, 94, .15);
}
.principal-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 767.98px) {
  .leader-message-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .leader-photo-wrap {
    flex-basis: 180px;
    max-width: 180px;
  }
}


/* CBSE */
.hero-pro-cbse {
  color: rgba(255,255,255,0.92); font-size: 0.88rem; font-weight: 600; margin: 0 0 8px;
}
.cbse-affiliation-banner {
  background: linear-gradient(135deg, rgba(13,71,161,0.06), rgba(21,101,192,0.08));
  border: 1px solid rgba(13,71,161,0.1); border-radius: 16px; padding: 24px 20px;
}
.cbse-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary);
  color: #fff; font-weight: 700; font-size: 0.82rem; padding: 8px 16px; border-radius: 999px;
}

/* First CBSE Batch */
.first-batch-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: 18px; padding: 28px 32px; position: relative; overflow: hidden;
}
.first-batch-year {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; min-width: 90px;
  color: #f5c84b;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.first-batch-body { flex: 1; min-width: 220px; position: relative; z-index: 1; }
.first-batch-body .label-red {
  color: #f5c84b;
  background: transparent;
  letter-spacing: .12em;
}
.first-batch-body h3 { font-weight: 800; margin: 8px 0; color: #fff; }
.first-batch-body p { margin: 0 0 14px; opacity: 0.92; max-width: 560px; color: rgba(255,255,255,.92); }
.first-batch-body .btn-outline-navy {
  color: #fff;
  border-color: rgba(255,255,255,.75);
  background: transparent;
}
.first-batch-body .btn-outline-navy:hover {
  color: #0b3a78;
  background: #fff;
  border-color: #fff;
}
.first-batch-icon {
  font-size: 5rem; opacity: 0.12; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
}

/* Utility bar social + WhatsApp */
.utility-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.utility-social a {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #c7111b !important;
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}
.utility-social a i {
  display: block;
  font-size: 0.82rem;
  line-height: 1;
  color: inherit;
}
.utility-social a:hover {
  background: #f7d9db;
  color: #a50a13 !important;
}
/* WhatsApp glyph fallback if icon font fails */
.utility-social a.utility-wa {
  position: relative;
  font-size: 0;
}
.utility-social a.utility-wa i {
  font-size: 0;
  color: transparent;
}
.utility-social a.utility-wa::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: #c7111b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.99-1.176-1.106-1.373-.113-.198-.012-.304.085-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.906.129 1.248.08.38-.058 1.171-.48 1.337-.941.164-.464.164-.86.114-.941-.049-.084-.182-.133-.38-.232'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.99-1.176-1.106-1.373-.113-.198-.012-.304.085-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.906.129 1.248.08.38-.058 1.171-.48 1.337-.941.164-.464.164-.86.114-.941-.049-.084-.182-.133-.38-.232'/%3E%3C/svg%3E") center / contain no-repeat;
}
.utility-social a.utility-wa:hover::before {
  background-color: #a50a13;
}

/* Footer logo on dark background */
.footer-v2--logo-light .fv2-brand .site-logo {
  filter: brightness(0) invert(1);
}
.fv2-contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.fv2-contact a:hover { color: var(--accent-light); }

/* Contact page */
.contact-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-link:hover { color: var(--accent); }
.contact-link-wa { color: #128c7e !important; }
.contact-info-card .contact-link { color: #ffffff !important; }
.contact-info-card .contact-link:hover { color: #ffe4e6 !important; }
.contact-info-card .contact-link-wa { color: #86efac !important; }
.contact-info-card .fv2-social a {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #ffffff !important;
}
.contact-info-card .fv2-social a:hover {
  background: rgba(255,255,255,.22) !important;
  color: #ffffff !important;
}
.contact-info-card .contact-social h6 { color: #ffffff !important; }

/* ============================================================
   Reference-style school header
   ============================================================ */
.top-utility-bar {
  min-height: 44px;
  padding: 7px 0;
  background: linear-gradient(90deg, #b70d16 0%, #d1131e 55%, #b70d16 100%);
  font-size: 0.7rem;
}
.top-utility-bar .container {
  max-width: 1440px;
  padding-left: 24px;
  padding-right: 24px;
}
.utility-left { gap: 14px; }
.utility-left .sep {
  display: inline-block;
  height: 20px;
  overflow: hidden;
  color: rgba(255,255,255,.65);
}
.utility-left a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.utility-left .utility-hours {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.utility-left i { font-size: 0.82rem; margin-right: 7px; }
.utility-right { gap: 8px; }
.utility-caption {
  margin-right: 8px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.utility-mpd {
  min-height: 28px;
  margin-left: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 2px;
  background: transparent;
  font-size: 0.62rem !important;
}

.site-header {
  border: 0;
  box-shadow: 0 3px 14px rgba(15,23,42,.09);
}
.site-header .container-fluid {
  max-width: 1440px;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.header-top {
  min-height: 123px;
  height: 123px;
  padding: 12px 10px;
  box-sizing: border-box;
  overflow: visible;
}
.brand-block { gap: 16px; }
.brand-block .site-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  color: #12366a;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .2px;
}
.brand-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: #000;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-tag i {
  width: 38px;
  height: 1.5px;
  background: #d01a24;
  flex-shrink: 0;
}
.header-top-right { gap: 24px; }
.header-detail {
  align-items: center;
  gap: 10px;
  min-width: 130px;
}
.header-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 4px;
  background: #fff3f3;
  color: #cf1721;
  font-size: 1.15rem;
}
.header-detail > span:last-child,
.header-enroll > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.header-detail strong {
  color: #000;
  font-size: .72rem;
  font-weight: 800;
}
.header-detail small {
  max-width: 175px;
  margin-top: 2px;
  color: #000;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
}
.header-enroll {
  min-width: 205px;
  min-height: 60px;
  justify-content: flex-start;
  gap: 11px;
  padding: 10px 16px;
  border-radius: 3px;
  box-shadow: 0 5px 12px rgba(190,14,24,.18);
}
.header-enroll .enroll-icon {
  font-size: 1.65rem;
  line-height: 1;
}
.header-enroll strong {
  font-size: .78rem;
  line-height: 1.2;
}
.header-enroll small {
  margin-top: 3px;
  color: rgba(255,255,255,.9);
  font-size: .58rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.header-enroll .enroll-arrow {
  margin-left: auto;
  font-size: .8rem;
}

@media (min-width: 992px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .site-nav-drawer.offcanvas {
    position: static;
    z-index: auto;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    transform: none !important;
    visibility: visible !important;
    overflow: visible !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }
  .site-nav-drawer .offcanvas-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible !important;
    border: 1px solid #e7e9ed;
    border-bottom: 0;
    background: #fff;
  }
  .main-menu {
    flex: 1;
    justify-content: flex-start;
    gap: 0;
    width: auto;
    padding: 0;
    overflow: visible !important;
  }
  .main-menu > li { flex: 1 1 auto; }
  .main-menu > li > a {
    min-height: 54px;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 0;
    color: #172033;
    font-family: "Poppins", sans-serif;
    font-size: clamp(.65rem, .72vw, .78rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .05px;
  }
  .main-menu > li > a:hover,
  .main-menu > li > a.group-active {
    background: #fff5f5;
    color: #c4111b;
  }
  .main-menu > li > a.active {
    position: relative;
    min-width: 86px;
    padding-left: 20px;
    background: #c7111b;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }
  .main-menu > li > a.active .nav-ico {
    display: inline-flex;
    font-size: .92rem;
  }
  .main-menu .nav-txt-full { display: none !important; }
  .main-menu .nav-txt-short { display: inline !important; }
  .main-menu .nav-txt-label { display: inline !important; }
  .main-menu .nav-caret {
    margin-left: 3px;
    font-size: .58rem;
  }
  .main-menu .submenu {
    top: 100%;
    max-height: min(70vh, 430px);
    overflow-y: auto;
    z-index: 1300;
  }
  .main-menu .submenu a {
    padding: 10px 14px;
    font-family: "Poppins", sans-serif;
    font-size: .82rem;
    font-weight: 600;
  }
  .site-nav-drawer .search-btn {
    align-self: stretch;
    width: 48px;
    height: auto;
    flex: 0 0 48px;
    border: 0;
    border-left: 1px solid #e7e9ed;
    border-radius: 0;
    color: #6b7280;
  }
  .site-nav-drawer .search-btn:hover {
    background: #fff5f5;
    color: #c7111b;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .header-top { min-height: 105px; height: 105px; padding: 8px 4px; }
  .brand-block .site-logo { width: 90px; height: 90px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: .58rem; }
  .brand-tag i { width: 24px; }
  .header-top-right { gap: 10px; }
  .header-detail { min-width: 112px; gap: 7px; }
  .header-detail-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: .9rem; }
  .header-detail small { max-width: 110px; }
  .header-enroll { min-width: 170px; min-height: 52px; padding: 8px 10px; }
  .header-enroll small { font-size: .5rem; }
  .main-menu > li > a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: .64rem;
    font-weight: 700;
  }
}

@media (max-width: 991.98px) {
  .site-header .container-fluid { padding-left: 14px !important; padding-right: 14px !important; }
  .header-inner { padding: 0; }
  .header-top { min-height: 76px; height: 76px; padding: 6px 0; border: 0; }
  .brand-block .site-logo { width: 64px; height: 64px; }
  .brand-name { font-size: .86rem; }
  .brand-tag { font-size: .55rem; gap: 6px; margin-top: 4px; white-space: normal; }
  .brand-tag i { width: 18px; }
  .site-nav-drawer .main-menu > li > a .nav-txt { flex: 1; }
}

@media (max-width: 575.98px) {
  .top-utility-bar { min-height: 34px; padding: 6px 0; }
  .top-utility-bar .container { padding-left: 10px; padding-right: 10px; }
  .utility-left a:first-child { max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
  .utility-left a { font-size: .59rem; }
  .utility-left .utility-hours { font-size: .59rem; }
  .header-top { min-height: 68px; height: 68px; }
  .brand-block .site-logo { width: 56px; height: 56px; }
  .brand-name { font-size: .74rem; }
  .brand-tag { display: none; }
}

/* ============================================================
   Reference-style footer
   ============================================================ */
.footer-v2 {
  position: relative;
  width: calc(100% - 24px);
  margin: 28px 12px 0;
  padding: 56px 0 0;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(90deg, rgba(5,39,79,.98), rgba(3,42,83,.95)),
    radial-gradient(circle at 45% 100%, rgba(255,255,255,.08), transparent 42%);
  color: rgba(255,255,255,.78);
  font-family: "Poppins", sans-serif;
}
.footer-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.05) 38.2% 38.4%, transparent 38.6%),
    linear-gradient(70deg, transparent 0 67%, rgba(255,255,255,.04) 67.2% 67.4%, transparent 67.6%);
}
.footer-v2 > * { position: relative; z-index: 1; }
.footer-v2 .container { max-width: 1480px; padding-left: 52px; padding-right: 52px; }
.fv2-main-grid {
  display: grid;
  grid-template-columns: 1.45fr .63fr .78fr 1.12fr .9fr;
  gap: 0;
}
.fv2-main-grid > div {
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.fv2-main-grid > div:first-child { padding-left: 0; }
.fv2-main-grid > div:last-child { padding-right: 0; border-right: 0; }
.fv2-brand { gap: 15px; margin-bottom: 17px; }
.fv2-brand .site-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: none !important;
}
.fv2-brand strong {
  max-width: 205px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.fv2-brand strong::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 8px;
  background: #eb2732;
}
.footer-v2 p {
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  line-height: 1.7;
}
.footer-v2 h6 {
  position: relative;
  margin: 5px 0 24px;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .25px;
}
.footer-v2 h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 22px;
  height: 2px;
  background: #ee2632;
}
.fv2-social {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
}
.fv2-social a {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  font-size: .78rem;
}
.fv2-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
}
.fv2-values > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 10px;
}
.fv2-values > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }
.fv2-values > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
.fv2-values i,
.fv2-feature-strip > div > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #dd1b28;
  color: #fff;
  font-size: .86rem;
}
.fv2-values span {
  color: #fff;
  font-size: .71rem;
  font-weight: 600;
  line-height: 1.25;
}
.fv2-values small {
  display: block;
  margin-top: 2px;
  color: #ff8a92;
  font-size: .63rem;
  font-weight: 600;
}
.footer-v2 ul li { margin-bottom: 12px; }
.fv2-links li::before {
  content: "›";
  margin-right: 7px;
  color: #e52935;
  font-weight: 900;
}
.footer-v2 ul li a {
  color: rgba(255,255,255,.8);
  font-size: .76rem;
  line-height: 1.45;
}
.fv2-contact li {
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: .73rem;
}
.fv2-contact i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: .74rem;
}
.fv2-contact span,
.fv2-contact a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.fv2-news { position: relative; min-height: 260px; }
.fv2-newsletter { flex-direction: column; gap: 8px; }
.fv2-newsletter input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px;
  background: rgba(255,255,255,.045);
  font-size: .76rem;
}
.fv2-newsletter button {
  width: 100%;
  min-height: 42px;
  border-radius: 3px;
  background: linear-gradient(90deg, #df1c29, #f02d37);
  font-size: .76rem;
}
.fv2-newsletter button i { margin-left: 4px; }
.fv2-watermark {
  position: absolute;
  right: 7px;
  bottom: 4px;
  color: rgba(255,255,255,.08);
  font-size: 7.5rem;
  transform: rotate(-8deg);
}
.fv2-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
}
.fv2-feature-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 20px;
}
.fv2-feature-strip > div:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 20px;
  margin-left: auto;
  background: rgba(255,255,255,.3);
}
.fv2-feature-strip > div > i {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: .95rem;
}
.fv2-feature-strip span {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: .76rem;
  line-height: 1.35;
}
.fv2-feature-strip strong { font-weight: 700; }
.fv2-feature-strip small { color: rgba(255,255,255,.7); font-size: .67rem; }
.fv2-bottom {
  margin-top: 18px;
  padding: 17px 0;
  border-top: 2px solid #dc1c28;
  background: rgba(0,22,50,.46);
  color: rgba(255,255,255,.75);
}
.fv2-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}
.fv2-bottom p {
  margin: 0;
  font-size: .69rem;
  line-height: 1.5;
}
.fv2-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .68rem;
}
.fv2-legal span { color: rgba(255,255,255,.72); }
.fv2-legal i { color: rgba(255,255,255,.24); font-style: normal; }
.fv2-credit { text-align: right; }
.fv2-credit strong { color: #ff8a92; }
.fv2-visitors {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: #fff;
  font-weight: 700;
}
.float-top { color: #fff !important; }

@media (max-width: 1199.98px) {
  .footer-v2 .container { padding-left: 28px; padding-right: 28px; }
  .fv2-main-grid { grid-template-columns: 1.3fr .7fr .8fr 1.15fr; }
  .fv2-news {
    grid-column: 1 / -1;
    min-height: auto;
    margin-top: 26px;
    padding: 22px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .fv2-newsletter { max-width: 420px; flex-direction: row; }
  .fv2-newsletter button { width: 145px; }
  .fv2-watermark { right: 10%; bottom: -20px; }
}
@media (max-width: 767.98px) {
  .footer-v2 { width: 100%; margin: 20px 0 0; padding-top: 34px; border-radius: 0; }
  .footer-v2 .container { padding-left: 20px; padding-right: 20px; }
  .fv2-main-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fv2-main-grid > div { padding: 0 18px; border: 0; }
  .fv2-main-grid > div:nth-child(odd) { padding-left: 0; }
  .fv2-main-grid > div:nth-child(even) { padding-right: 0; }
  .fv2-about,
  .fv2-connect,
  .fv2-news { grid-column: 1 / -1; padding-left: 0 !important; padding-right: 0 !important; }
  .fv2-values { max-width: 440px; }
  .fv2-feature-strip { grid-template-columns: 1fr 1fr; }
  .fv2-feature-strip > div:nth-child(2)::after { display: none; }
  .fv2-feature-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .fv2-bottom-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .fv2-credit { text-align: center; }
}
@media (max-width: 479.98px) {
  .fv2-main-grid > div { padding: 0 10px; }
  .fv2-feature-strip { grid-template-columns: 1fr; }
  .fv2-feature-strip > div { justify-content: flex-start; }
  .fv2-feature-strip > div::after { display: none !important; }
  .fv2-feature-strip > div:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .fv2-newsletter { flex-direction: column; }
  .fv2-newsletter button { width: 100%; }
  .fv2-legal { flex-wrap: wrap; }
}

/* ============================================================
   Reference-style homepage banner (no banner logo)
   ============================================================ */
.hero-pro {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(11,53,104,.07) 1px, transparent 1.5px) 0 0 / 13px 13px,
    linear-gradient(105deg, #fff 0%, #fff 49%, #f4f7fb 49.2%, #fff 100%);
  border-top: 3px solid #082e61;
}
.hero-pro-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  padding: 0 30px 8px;
}
.hero-pro-grid {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 430px;
}
.hero-pro-content {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 42px 20px 30px 0;
  color: #172033;
}
.hero-pro-cbse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  color: #17396e;
  font-size: .68rem;
  font-weight: 600;
}
.hero-pro-cbse i { color: #df1723; }
.hero-pro-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #15366b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3px;
}
.hero-pro-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #e01824 0 6px, transparent 6px 9px);
}
.hero-pro-content h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: #0a3166;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 3.25vw, 3.4rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.hero-pro-content h1 .hero-highlight { color: #e11722; }
.hero-pro-desc {
  max-width: 520px;
  margin-bottom: 23px;
  color: #343b49;
  font-size: .78rem;
  line-height: 1.7;
}
.hero-pro-actions {
  gap: 11px;
  margin-bottom: 22px;
}
.hero-pro-actions .btn-red,
.hero-pro-actions .btn-outline-white,
.hero-pro-actions .btn-hero-ghost {
  min-height: 39px;
  padding: 10px 17px;
  border-radius: 3px;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .15px;
  box-shadow: none;
}
.hero-pro-actions .btn-outline-white,
.hero-pro-actions .btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid #274b7f;
  background: #fff;
  color: #15366b;
}
.hero-pro-actions .btn-outline-white:hover,
.hero-pro-actions .btn-hero-ghost:hover {
  background: #0c376d;
  color: #fff;
}
.hero-pro-trust {
  gap: 0;
  margin-top: 4px;
}
.hero-pro-trust span {
  padding: 0 15px;
  border-right: 1px solid #d9dde5;
  color: #172033;
  font-size: .63rem;
  font-weight: 600;
}
.hero-pro-trust span:first-child { padding-left: 0; }
.hero-pro-trust span:last-child { border-right: 0; }
.hero-pro-trust i { color: #0a376f; font-size: .9rem; }

.hero-pro-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  margin-right: -30px;
  overflow: visible;
}
.hero-pro-visual img,
.hero-pro-visual-fallback {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  clip-path: ellipse(74% 72% at 74% 42%);
}
.hero-pro-visual-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edf2f8, #cbd9e9);
  color: rgba(8,47,98,.25);
  font-size: 7rem;
}
.hero-curve {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  transform: rotate(-8deg);
}
.hero-curve-red {
  top: -135px;
  left: -47px;
  width: 760px;
  height: 735px;
  border-left-color: #ec101b;
  border-width: 18px;
}
.hero-curve-blue {
  top: -119px;
  left: -30px;
  width: 775px;
  height: 758px;
  border-left-color: #082f67;
  border-bottom-color: #082f67;
  border-width: 9px;
}
.hero-pro-stats {
  position: relative;
  z-index: 4;
  margin-top: -5px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(110deg, #06316a 0%, #052a5b 60%, #082f68 100%);
  box-shadow: 0 7px 20px rgba(5,42,91,.12);
  backdrop-filter: none;
}
.hero-stats-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 105px;
  padding: 16px 22px;
  text-align: left;
  color: #fff;
}
.hero-stat-item::after {
  content: "";
  width: 1px;
  height: 52px;
  margin-left: auto;
  background: rgba(255,255,255,.3);
}
.hero-stat-item:last-child::after { display: none; }
.hero-stat-item > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: #fff;
  color: #e31723;
  font-size: 1.55rem;
}
.hero-stat-item strong {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hero-stat-item strong span[data-count],
.hero-stat-item strong .stat-suffix {
  font-size: 1em;
  font-weight: inherit;
  line-height: 1;
  opacity: 1;
  color: inherit;
}
.hero-stat-item .stat-label {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.88);
  font-size: .62rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .hero-pro-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-pro-content {
    padding: 45px 12px 36px;
    text-align: center;
  }
  .hero-pro-cbse,
  .hero-pro-eyebrow,
  .hero-pro-actions,
  .hero-pro-trust { justify-content: center; }
  .hero-pro-content h1,
  .hero-pro-desc { margin-left: auto; margin-right: auto; }
  .hero-pro-visual {
    min-height: 330px;
    margin: 0 -30px;
  }
  .hero-pro-visual img,
  .hero-pro-visual-fallback {
    min-height: 330px;
    clip-path: ellipse(76% 80% at 55% 50%);
  }
  .hero-curve-red,
  .hero-curve-blue { display: none; }
  .hero-pro-stats { margin-top: 16px; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stat-item:nth-child(2)::after { display: none; }
  .hero-stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
}
@media (max-width: 575.98px) {
  .hero-pro-container { padding-left: 12px; padding-right: 12px; }
  .hero-pro-content { padding: 34px 4px 28px; }
  .hero-pro-cbse { margin-bottom: 14px; font-size: .6rem; }
  .hero-pro-content h1 { font-size: 2rem; letter-spacing: -.8px; }
  .hero-pro-desc { font-size: .74rem; }
  .hero-pro-actions .btn-red,
  .hero-pro-actions .btn-outline-white { flex: 1 1 145px; justify-content: center; }
  .hero-pro-actions .btn-hero-ghost { display: none; }
  .hero-pro-trust span { padding: 6px 9px; border: 0; }
  .hero-pro-visual { min-height: 240px; margin: 0 -12px; }
  .hero-pro-visual img,
  .hero-pro-visual-fallback { min-height: 240px; }
  .hero-pro-stats { border-radius: 10px; }
  .hero-stat-item { min-height: 88px; gap: 9px; padding: 12px 8px; }
  .hero-stat-item > i { width: 40px; height: 40px; flex-basis: 40px; font-size: 1.05rem; }
  .hero-stat-item::after { height: 40px; }
  .hero-stat-item strong { font-size: 1.2rem; }
  .hero-stat-item .stat-label { font-size: .52rem; white-space: normal; }
}

/* ============================================================
   Header V4 — reference layout (no building background)
   ============================================================ */
.header-v4.site-header {
  background: #fff !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1050;
}
.header-v4 .header-top {
  background: #fff;
  background-image: none !important;
  min-height: 118px;
  height: auto;
  padding: 14px 8px 10px;
  align-items: center;
}
.header-v4 .brand-name {
  color: #0b2f66;
  font-weight: 800;
  letter-spacing: .3px;
}
.header-v4 .brand-line-accent {
  color: #c8101e !important;
  font-weight: 800;
}
.header-v4 .brand-tag {
  color: #0b2f66;
  font-weight: 700;
}
.header-v4 .header-detail {
  background: #f7e9eb;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 168px;
  gap: 12px;
}
.header-v4 .header-detail-icon {
  background: transparent;
  width: auto;
  height: auto;
  flex-basis: auto;
  color: #c8101e;
  font-size: 1.35rem;
  padding: 0;
}
.header-v4 .header-detail strong {
  color: #0b2f66;
  font-size: .74rem;
}
.header-v4 .header-detail small {
  color: #334155;
  font-size: .68rem;
  max-width: 190px;
}
.header-v4 .header-enroll-wrap {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.header-v4 .header-motto {
  font-family: 'Great Vibes', cursive;
  font-size: 1.35rem;
  color: #4b5563;
  line-height: 1;
  padding-right: 4px;
}
.header-v4 .header-enroll {
  border-radius: 8px;
  min-height: 58px;
  min-width: 210px;
  background: linear-gradient(135deg, #d01924, #b70d16);
  box-shadow: 0 8px 18px rgba(183, 13, 22, .28);
}
.header-v4 .header-enroll:hover {
  background: linear-gradient(135deg, #b70d16, #9a0b13);
  color: #fff;
}

@media (min-width: 992px) {
  .header-v4 .site-nav-drawer .offcanvas-body {
    border: 0;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
    margin: 0 4px 8px;
    padding: 0 8px 0 0;
    overflow: visible !important;
  }
  .header-v4 .main-menu {
    gap: 0;
  }
  .header-v4 .main-menu > li {
    flex: 0 1 auto;
  }
  .header-v4 .main-menu > li > a {
    min-height: 52px;
    padding: 10px 11px;
    color: #0b2f66;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .4px;
    border-radius: 0;
    background: transparent;
  }
  .header-v4 .main-menu > li > a:hover,
  .header-v4 .main-menu > li > a.group-active {
    color: #c8101e;
    background: transparent;
  }
  .header-v4 .main-menu .nav-caret {
    font-size: .55rem;
    margin-left: 3px;
    opacity: .75;
  }
  .header-v4 .main-menu > li:hover > a .nav-caret {
    transform: none;
  }
  .header-v4 .menu-home {
    flex: 0 0 auto;
  }
  .header-v4 .menu-home > a.nav-home,
  .header-v4 .menu-home > a.nav-home.active {
    background: #c8101e;
    color: #fff !important;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    padding: 10px 28px 10px 18px;
    min-width: 98px;
    gap: 8px;
  }
  .header-v4 .menu-home > a.nav-home .nav-ico {
    display: inline-flex !important;
    color: #fff;
    font-size: 1rem;
  }
  .header-v4 .menu-home > a.nav-home:hover {
    background: #a50e18;
    color: #fff !important;
  }
  .header-v4 .search-btn {
    align-self: center;
    margin: 0 10px 0 6px;
    width: 36px;
    height: 36px;
    border: 1px solid #dbe1ea;
    background: #f8fafc;
    color: #0b2f66;
  }
  .header-v4 .search-btn:hover {
    border-color: #c8101e;
    color: #c8101e;
  }
}

@media (max-width: 1199.98px) {
  .header-v4 .header-motto { font-size: 1.15rem; }
  .header-v4 .header-detail { min-width: 140px; padding: 8px 10px; }
  .header-v4 .main-menu > li > a { padding-left: 7px; padding-right: 7px; font-size: .62rem; }
}

@media (max-width: 991.98px) {
  .header-v4 .header-top {
    min-height: 76px;
    padding: 8px 0;
  }
  .header-v4 .brand-line-accent { color: #c8101e !important; }
}

/* TC Certificate search page */
.tc-search-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
  border: 1px solid #eef2f7;
}
.tc-search-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.tc-search-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f2;
  color: #c8101e;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.tc-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}
.tc-empty {
  text-align: center;
  padding: 22px 10px;
  border-top: 1px solid #edf2f7;
  color: #64748b;
}
.tc-empty i {
  font-size: 1.8rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 8px;
}

/* ============================================================
   Academic Calendar — professional page
   ============================================================ */
.acal-page {
  background: #f5f7fb;
  padding: 28px 0 72px;
}
.acal-hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.acal-hero-copy .breadcrumb {
  margin-bottom: 14px;
  background: transparent;
  padding: 0;
  justify-content: flex-start;
  margin-top: 0;
}
.acal-hero-copy .breadcrumb-nav .breadcrumb-item,
.acal-hero-copy .breadcrumb-nav .breadcrumb-item a,
.acal-hero-copy .breadcrumb a { color: #94a3b8 !important; }
.acal-hero-copy .breadcrumb-nav .breadcrumb-item.active,
.acal-hero-copy .breadcrumb-item.active { color: #64748b !important; }
.acal-hero-copy .breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: #cbd5e1 !important; }
.acal-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -.5px;
  margin: 0 0 12px;
  line-height: 1.15;
}
.acal-hero-copy h1 span { color: #d01924; }
.acal-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}
.acal-hero-visual {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.acal-motto {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: #94a3b8;
  margin-bottom: 10px;
  position: relative;
}
.acal-motto::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  margin: 6px 0 0 auto;
  border-radius: 3px;
  background: linear-gradient(90deg, #f87171, #d01924);
}
.acal-visual-stack {
  position: relative;
  width: 220px;
  height: 140px;
}
.acal-book {
  position: absolute;
  width: 52px;
  height: 70px;
  border-radius: 4px 6px 6px 4px;
  box-shadow: 4px 6px 14px rgba(15,23,42,.12);
}
.acal-book-1 { left: 18px; bottom: 18px; background: linear-gradient(135deg,#ef4444,#b91c1c); transform: rotate(-8deg); }
.acal-book-2 { left: 48px; bottom: 22px; background: linear-gradient(135deg,#3b82f6,#1d4ed8); transform: rotate(-2deg); }
.acal-book-3 { left: 78px; bottom: 20px; background: linear-gradient(135deg,#f5e6c8,#e7d3a8); transform: rotate(6deg); }
.acal-pencils {
  position: absolute;
  left: 128px;
  bottom: 24px;
  width: 36px;
  height: 48px;
  border-radius: 8px;
  background: #1f2937;
  color: #fbbf24;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: .9rem;
}
.acal-clock {
  position: absolute;
  right: 8px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg,#ef4444,#b91c1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 20px rgba(185,28,28,.28);
}
.acal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.acal-action-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.acal-action-card:hover { transform: translateY(-2px); }
.acal-action-red {
  background: linear-gradient(135deg, #e11d2e, #c0101c);
  color: #fff;
  box-shadow: 0 12px 28px rgba(192,16,28,.22);
}
.acal-action-white {
  background: #fff;
  color: #1e293b;
  border: 1px solid #e8edf4;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.acal-action-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  z-index: 1;
}
.acal-action-red .acal-action-ico { background: rgba(255,255,255,.18); color: #fff; }
.acal-action-white .acal-action-ico { background: #fff1f2; color: #d01924; }
.acal-action-text { flex: 1; z-index: 1; min-width: 0; }
.acal-action-text strong { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.acal-action-text small { display: block; opacity: .85; font-size: .84rem; line-height: 1.4; }
.acal-action-white .acal-action-text small { color: #64748b; opacity: 1; }
.acal-action-go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.acal-action-red .acal-action-go { background: #fff; color: #d01924; }
.acal-action-white .acal-action-go { background: #fff; border: 1px solid #e5e7eb; color: #d01924; }
.acal-table-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  overflow: hidden;
}
.acal-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px 14px;
}
.acal-table-toolbar h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
}
.acal-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acal-search, .acal-year {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 42px;
}
.acal-search i, .acal-year i { color: #94a3b8; }
.acal-year i { color: #d01924; }
.acal-search input, .acal-year select {
  border: 0;
  background: transparent;
  outline: none;
  font-size: .88rem;
  color: #334155;
  min-width: 0;
}
.acal-search input { width: 170px; }
.acal-year select { cursor: pointer; font-weight: 700; color: #0f172a; }
.acal-table { width: 100%; margin: 0; border-collapse: collapse; }
.acal-table thead th {
  background: #fff1f2;
  color: #475569;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 14px 22px;
  border: 0;
}
.acal-table thead th i { color: #d01924; margin-right: 6px; }
.acal-table tbody td {
  padding: 16px 22px;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #64748b;
  font-size: .95rem;
}
.acal-table tbody tr:hover td { background: #fafbfc; }
.acal-table tbody td strong { color: #1e293b; font-weight: 700; }
.acal-date { display: inline-flex; align-items: baseline; gap: 6px; }
.acal-date em {
  font-style: normal;
  font-weight: 800;
  color: #d01924;
  font-size: 1.15rem;
}
.acal-date span { color: #64748b; font-size: .9rem; }
.acal-empty { text-align: center; padding: 36px 16px !important; color: #94a3b8; }
.acal-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px 20px;
  border-top: 1px solid #f1f5f9;
}
.acal-count { color: #94a3b8; font-size: .86rem; }
.acal-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #334155;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .82rem;
}
.acal-note i { color: #3b82f6; }
@media (max-width: 991.98px) {
  .acal-hero { grid-template-columns: 1fr; }
  .acal-hero-visual { align-items: flex-start; min-height: 120px; }
  .acal-actions { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .acal-page { padding: 18px 0 48px; }
  .acal-search input { width: 120px; }
  .acal-table thead th, .acal-table tbody td { padding: 12px 14px; }
  .acal-table-toolbar, .acal-table-footer { padding-left: 14px; padding-right: 14px; }
}
/* ============================================================
   About — Leadership message cards
   ============================================================ */
.leader-msg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.leader-msg-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid #e7eef8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 35, 70, .07);
  min-height: 420px;
}
.leader-msg-president {
  grid-template-columns: 1.05fr .95fr;
}
.leader-msg-principal {
  grid-template-columns: 1.05fr .95fr;
}
.leader-msg-principal .leader-msg-aside-wave {
  align-items: center;
}
.leader-msg-body {
  position: relative;
  padding: 28px 24px 26px 28px;
  z-index: 1;
}
.leader-msg-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.leader-msg-kicker span {
  color: #94a3b8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.leader-msg-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe4f0;
  max-width: 90px;
}
.leader-msg-title {
  margin: 0 0 14px;
  color: #0b3a78;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}
.leader-msg-title em {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  font-size: 2rem;
  font-weight: 700;
  color: #0a2f66;
}
.leader-msg-quote-mark {
  position: absolute;
  top: 54px;
  right: 18px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(37, 99, 235, .12);
  font-family: Georgia, serif;
  pointer-events: none;
}
.leader-msg-text {
  margin: 0 0 14px;
  color: #475569;
  font-size: .9rem;
  line-height: 1.7;
}
.leader-msg-callout {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #1d4ed8;
  background: #eaf2ff;
  color: #334155;
  font-size: .88rem;
  font-style: italic;
  line-height: 1.55;
  border-radius: 0 10px 10px 0;
}
.leader-msg-sign {
  margin-bottom: 18px;
}
.leader-msg-sign strong {
  display: block;
  color: #0b3a78;
  font-size: .98rem;
  font-weight: 800;
}
.leader-msg-sign span {
  display: inline-block;
  margin-top: 4px;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 2px solid #eab308;
  padding-bottom: 2px;
}
.leader-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b3a78;
  color: #fff !important;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
  transition: .2s ease;
}
.leader-msg-btn:hover {
  background: #082a57;
  color: #fff !important;
  transform: translateY(-1px);
}
.leader-msg-aside {
  position: relative;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(219,234,254,.45), rgba(239,246,255,.2));
  overflow: hidden;
}
.leader-msg-president .leader-msg-aside {
  justify-content: center;
  padding: 28px 18px 22px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(147, 197, 253, .35) 0%, transparent 55%),
    linear-gradient(180deg, #eef5ff 0%, #e3effc 48%, #d7e8fb 100%);
}
.leader-msg-president .leader-msg-aside::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: 78%;
  height: 52%;
  border-radius: 60% 40% 55% 45%;
  background: rgba(125, 182, 232, .28);
  pointer-events: none;
}
.leader-msg-president .leader-msg-photo {
  position: relative;
  z-index: 2;
  width: 168px;
  height: 210px;
  margin-top: 8px;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 16px 32px rgba(15, 55, 120, .18);
}
.leader-msg-president .leader-msg-deco {
  position: relative;
  z-index: 2;
  margin-top: 16px;
}
.leader-msg-aside-wave {
  justify-content: center;
  padding: 28px 18px 22px;
  background:
    radial-gradient(120% 90% at 0% 100%, #5b9bd5 0%, #5b9bd5 34%, transparent 35%),
    linear-gradient(180deg, #0d4f9e 0%, #0b3a78 55%, #083066 100%);
  overflow: hidden;
}
.leader-msg-aside-wave::before {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -8%;
  width: 85%;
  height: 58%;
  border-radius: 55% 45% 0 70%;
  background: rgba(125, 182, 232, .55);
  pointer-events: none;
}
.leader-msg-aside-wave .leader-msg-photo {
  position: relative;
  z-index: 2;
  width: 168px;
  height: 210px;
  margin-top: 8px;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 16px 32px rgba(0, 20, 60, .35);
}
.leader-msg-aside-wave .leader-msg-deco {
  position: relative;
  z-index: 2;
  margin-top: 16px;
}
.leader-msg-photo {
  width: 150px;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 12px 24px rgba(15, 35, 70, .18);
  background: #e2e8f0;
}
.leader-msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leader-msg-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 4rem;
  background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 100%);
}
.leader-msg-president .leader-msg-photo-fallback {
  color: #64748b;
  background: linear-gradient(160deg, #ffffff 0%, #dbe7f5 100%);
}
.leader-msg-deco {
  margin-top: auto;
  text-align: center;
  padding-top: 14px;
}
.leader-msg-deco-book {
  color: #60a5fa;
}
.leader-msg-deco-book i {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}
.leader-msg-deco-book span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #3b82f6;
}
.leader-msg-deco-script em {
  display: block;
  font-family: "Great Vibes", cursive;
  font-style: normal;
  font-size: 1.45rem;
  color: #cfe4ff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.leader-msg-deco-script small {
  display: block;
  color: rgba(255,255,255,.95);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.leader-msg-deco-script small::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: #eab308;
  margin: 0 auto 6px;
}
@media (max-width: 1199.98px) {
  .leader-msg-card { grid-template-columns: 1fr; min-height: 0; }
  .leader-msg-aside { min-height: 220px; padding-bottom: 24px; }
  .leader-msg-aside-wave {
    min-height: 300px;
    background:
      radial-gradient(100% 80% at 0% 100%, #5b9bd5 0%, #5b9bd5 34%, transparent 35%),
      linear-gradient(180deg, #0d4f9e 0%, #0b3a78 55%, #083066 100%);
  }
}
@media (max-width: 991.98px) {
  .leader-msg-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   About — Milestones section
   ============================================================ */
.milestones-section {
  position: relative;
  padding: 18px 0 10px;
}
.milestones-head {
  text-align: center;
  margin-bottom: 28px;
}
.milestones-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.milestones-kicker::before,
.milestones-kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: #f1a3a8;
}
.milestones-kicker span {
  color: #d01924;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.milestones-head h2 {
  margin: 0 0 8px;
  color: #0b3a78;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}
.milestones-head p {
  margin: 0 auto 12px;
  max-width: 520px;
  color: #64748b;
  font-size: .95rem;
}
.milestones-bar {
  display: inline-block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0b3a78 50%, #d01924 50%);
}
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.milestone-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px 24px;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 26px rgba(15, 35, 70, .06);
  border-left: 5px solid #2563eb;
  min-height: 210px;
}
.milestone-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15, 23, 42, .06);
  letter-spacing: -1px;
}
.milestone-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 12px;
  background: #2563eb;
  box-shadow: 0 8px 16px rgba(37, 99, 235, .25);
}
.milestone-year {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: rgba(37, 99, 235, .1);
  color: #1d4ed8;
}
.milestone-card h3 {
  margin: 0 0 8px;
  color: #0b3a78;
  font-size: 1.08rem;
  font-weight: 800;
}
.milestone-card p {
  margin: 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.6;
}
.milestone-wave {
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: .12;
  background: currentColor;
  pointer-events: none;
}

.milestone-blue { border-left-color: #2563eb; color: #2563eb; }
.milestone-blue .milestone-icon { background: #2563eb; box-shadow: 0 8px 16px rgba(37,99,235,.25); }
.milestone-blue .milestone-year { background: rgba(37,99,235,.1); color: #1d4ed8; }

.milestone-red { border-left-color: #dc2626; color: #dc2626; }
.milestone-red .milestone-icon { background: #dc2626; box-shadow: 0 8px 16px rgba(220,38,38,.25); }
.milestone-red .milestone-year { background: rgba(220,38,38,.1); color: #b91c1c; }

.milestone-green { border-left-color: #16a34a; color: #16a34a; }
.milestone-green .milestone-icon { background: #16a34a; box-shadow: 0 8px 16px rgba(22,163,74,.25); }
.milestone-green .milestone-year { background: rgba(22,163,74,.1); color: #15803d; }

.milestone-orange { border-left-color: #ea580c; color: #ea580c; }
.milestone-orange .milestone-icon { background: #ea580c; box-shadow: 0 8px 16px rgba(234,88,12,.25); }
.milestone-orange .milestone-year { background: rgba(234,88,12,.1); color: #c2410c; }

.milestone-purple { border-left-color: #7c3aed; color: #7c3aed; }
.milestone-purple .milestone-icon { background: #7c3aed; box-shadow: 0 8px 16px rgba(124,58,237,.25); }
.milestone-purple .milestone-year { background: rgba(124,58,237,.1); color: #6d28d9; }

.milestone-gold { border-left-color: #ca8a04; color: #ca8a04; }
.milestone-gold .milestone-icon { background: #eab308; box-shadow: 0 8px 16px rgba(234,179,8,.28); }
.milestone-gold .milestone-year { background: rgba(234,179,8,.14); color: #a16207; }

@media (max-width: 991.98px) {
  .milestones-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .milestones-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   Global text contrast boost
   ============================================================ */
body {
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
p,
.section-header p,
.feature-card p,
.academic-card p,
.news-card p,
.event-info p,
.testimonial-card p,
.accordion-body,
.about-page-copy,
.leader-msg-text,
.milestone-card p,
.acal-hero-copy p,
.trio-v3-intro,
.glass-card p {
  color: #334155 !important;
}
#preloader .preloader-text,
.preloader-text {
  color: #ffffff !important;
}
.hero-banner-caption h1,
.hero-banner-caption p,
.cta-v2-inner h3,
.cta-v2-inner p,
.trio-v3-navy .trio-v3-intro,
.trio-v3-navy .trio-v3-features span,
.trio-v3-red .trio-v3-intro {
  color: #ffffff !important;
}
.cta-v2-inner p {
  opacity: .95 !important;
}
.trio-v3-navy .trio-v3-intro {
  opacity: .9 !important;
}
.trio-v3-navy .trio-v3-features span {
  opacity: .85 !important;
}
.trio-v3-red .trio-v3-intro {
  opacity: .95 !important;
}
.text-muted,
small.text-muted,
.form-text,
.subtitle,
.label-red + p,
.heading-v2 + p {
  color: #475569 !important;
}
h1, h2, h3, h4, h5, h6,
.heading-v2,
.about-page-school-name,
.leader-msg-title,
.milestones-head h2,
.brand-name,
.quicklink-card strong,
.feature-box h6,
.program-box h6 {
  color: #0b2f66;
}
.leader-msg-text { color: #1e293b !important; }
.leader-msg-callout { color: #1e3a5f !important; }
.leader-msg-sign strong { color: #0b2f66 !important; }
.milestone-card h3 { color: #0b2f66 !important; }
.milestone-card p { color: #334155 !important; }
.acal-table tbody td { color: #334155 !important; }
.acal-table tbody td strong { color: #0f172a !important; }
.acal-date span { color: #475569 !important; }
.acal-action-white .acal-action-text strong { color: #0f172a; }
.acal-action-white .acal-action-text small { color: #475569 !important; }
.tc-search-card p,
.tc-search-head .text-muted,
.tc-empty { color: #475569 !important; }
.form-label {
  color: #1e293b !important;
  font-weight: 600;
}
.form-control,
.form-select {
  color: #0f172a;
}
.form-control::placeholder {
  color: #64748b;
  opacity: 1;
}
.page-banner h1 { color: #fff; }
.breadcrumb-nav .breadcrumb-item a { color: rgba(255,255,255,.92) !important; }
.footer-v2 p,
.footer-v2 ul li a,
.fv2-contact span,
.fv2-contact a {
  color: rgba(255,255,255,.92) !important;
}
.footer-v2 h6,
.fv2-connect h6,
.fv2-news h6,
.fv2-about h6 {
  color: #ffffff !important;
}
.contact-info-card,
.contact-info-card h4,
.contact-info-card h6,
.contact-info-card p,
.contact-info-card span,
.contact-info-card strong,
.contact-info-card .contact-link,
.contact-info-card a:not(.contact-link-wa) {
  color: #ffffff !important;
}
.contact-info-card .contact-info-item .icon,
.contact-info-card .contact-info-item .icon i {
  color: #ffffff !important;
}
.contact-info-card .contact-info-item p,
.contact-info-card .contact-link {
  opacity: .95 !important;
}
.contact-info-card .contact-link-wa {
  color: #86efac !important;
  opacity: 1 !important;
}
.dash-welcome,
.dash-welcome h4,
.dash-welcome p,
.dash-welcome .dash-date {
  color: #ffffff !important;
}
.dash-welcome p { opacity: .95 !important; }
.dash-welcome .dash-date { color: #ffc9ce !important; }
.principal-card,
.principal-card p,
.principal-card .cms-body-content,
.principal-card .cms-body-content p,
.leader-message-body p,
.leader-message-body .cms-body-content,
.leader-message-body .cms-body-content p {
  color: #ffffff !important;
}
.principal-card h4,
.leader-message-card h4 {
  color: #ffc9ce !important;
}
.principal-card .principal-name {
  color: #ffc9ce !important;
}
.fv2-values small { color: #ff9aa2 !important; }
.home-cbse-strip { color: #fff; }
.trio-v3-white .trio-v3-news-body strong { color: #0f172a; }
.trio-v3-white .trio-v3-news-body span { color: #475569; }
.header-detail strong { color: #000 !important; }
.header-detail small { color: #111827 !important; }
.brand-tag { color: #000 !important; }

/* Mobile homepage order */
.home-mid-stack {
  display: contents;
}
@media (max-width: 767.98px) {
  .home-mid-stack {
    display: flex;
    flex-direction: column;
  }
  .home-mid-quicklinks { order: 1; }
  .home-mid-ticker { order: 2; }
  .home-mid-cbse { order: 3; }
  .home-mid-trio { order: 4; }
  .home-mid-features { order: 5; }
  .home-mid-achievers { order: 6; }
  .home-mid-trio.section { padding-top: 12px !important; }
}

/* Mobile homepage About strip (after banner) */
.home-about-mobile {
  display: none;
  padding: 16px 0 4px;
  background: #f4f7fc;
}
@media (max-width: 767.98px) {
  .home-about-mobile { display: block; }
}
.ham-card {
  background: #fff;
  border: 1px solid #dce7f5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 58, 120, .08);
}
.ham-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0b3a78, #1d4f91);
  overflow: hidden;
}
.ham-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ham-photo-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: 3rem;
}
.ham-copy {
  padding: 16px 16px 18px;
}
.ham-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #c8101e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ham-copy h2 {
  margin: 0 0 8px;
  color: #0b3a78 !important;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}
.ham-copy p {
  margin: 0 0 12px;
  color: #475569 !important;
  font-size: .86rem;
  line-height: 1.55;
}
.ham-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8101e;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.ham-link:hover { color: #9f0d18; }

/* Home spotlight (after banner) */
.home-spotlight {
  position: relative;
  z-index: 3;
  padding: 18px 0 8px;
  background: linear-gradient(180deg, #f4f7fc 0%, #fff 100%);
}
.hs-panel {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border: 1px solid #dce7f5;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(37, 99, 235, .12), transparent 42%),
    radial-gradient(90% 70% at 0% 100%, rgba(200, 16, 30, .08), transparent 40%),
    #fff;
  box-shadow: 0 14px 32px rgba(11, 58, 120, .08);
}
.hs-intro {
  margin-bottom: 16px;
  text-align: left;
}
.hs-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: #c8101e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hs-intro h2 {
  margin: 0 0 6px;
  color: #0b3a78 !important;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.hs-intro p {
  margin: 0;
  color: #475569 !important;
  font-size: .84rem;
  line-height: 1.5;
}
.hs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hs-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px 12px 12px 10px;
  border-radius: 16px;
  text-decoration: none;
  transition: .2s ease;
  border: 1px solid transparent;
}
.hs-tone-blue {
  background: linear-gradient(145deg, #eef4ff, #e3edff);
  border-color: #d4e2f8;
}
.hs-tone-red {
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
  border-color: #fcd4d8;
}
.hs-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 58, 120, .1);
}
.hs-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
}
.hs-tone-blue .hs-ico {
  background: #0b4a91;
  color: #fff;
}
.hs-tone-red .hs-ico {
  background: #c8101e;
  color: #fff;
}
.hs-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hs-copy strong {
  color: #0b3a78;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
}
.hs-copy small {
  color: #64748b;
  font-size: .68rem;
  line-height: 1.3;
}
.hs-arrow {
  color: #94a3b8;
  font-size: .85rem;
  flex-shrink: 0;
}
.hs-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.hs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.hs-stat {
  text-align: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: #f8fafc;
}
.hs-stat strong {
  display: block;
  color: #0b3a78 !important;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.1;
}
.hs-stat span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: .62rem;
  font-weight: 600;
  line-height: 1.25;
}
.hs-cbse {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  color: #334155;
  font-size: .72rem;
  font-weight: 600;
}
.hs-cbse i { color: #0b4a91; margin-right: 4px; }
@media (min-width: 768px) {
  .home-spotlight { padding: 28px 0 10px; }
  .hs-panel { padding: 28px 26px 22px; border-radius: 24px; }
  .hs-intro { margin-bottom: 18px; }
  .hs-intro h2 { font-size: 1.7rem; }
  .hs-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hs-tile { min-height: 88px; padding: 14px; }
  .hs-copy strong { font-size: .9rem; }
  .hs-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .hs-stats { margin-bottom: 0; flex: 1; }
  .hs-cbse { justify-content: flex-end; }
}
@media (max-width: 420px) {
  .hs-grid { gap: 8px; }
  .hs-tile { min-height: 68px; padding: 10px 8px; gap: 8px; }
  .hs-ico { width: 36px; height: 36px; font-size: 1rem; }
  .hs-copy strong { font-size: .76rem; }
  .hs-arrow { display: none; }
}

/* Mobile: remove extra side/vertical padding + stop horizontal gap */
@media (max-width: 767.98px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  body {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  .top-utility-bar,
  .site-header,
  .hero-banner,
  .info-trio-v3,
  main {
    width: 100%;
    max-width: 100%;
  }
  .top-utility-bar .container,
  .info-trio-v3 > .container,
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .info-trio-v3.section,
  .info-trio-v3 {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
  }
  .hero-banner-caption {
    padding-top: 10px !important;
    padding-bottom: 6px !important;
  }
  .hero-banner-caption h1 {
    color: #fff !important;
  }
  .mobile-bottom-nav {
    left: 6px;
    right: 6px;
    width: auto;
    max-width: none;
  }
  .mbnav-inner {
    max-width: 100%;
    min-width: 0;
  }
  .mbnav-item {
    min-width: 0;
    overflow: hidden;
  }
  .mbnav-item.mbnav-center {
    overflow: visible !important;
  }
  .mbnav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mbnav-center-label {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip;
  }
  .footer-v2 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Class Wise Toppers */
.toppers-page .text-muted { color: #475569 !important; }
.toppers-class-block {
  margin-bottom: 34px;
  padding: 22px 20px 20px;
  border: 1px solid #e7eef8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 12px 28px rgba(11, 58, 120, .06);
}
.toppers-class-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eef6;
}
.toppers-class-kicker {
  display: block;
  margin-bottom: 4px;
  color: #c8101e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.toppers-class-head h2 {
  margin: 0;
  color: #0b3a78 !important;
  font-size: 1.35rem;
  font-weight: 800;
}
.toppers-class-count {
  color: #64748b;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.topper-card {
  position: relative;
  overflow: hidden;
  padding: 16px 14px 18px;
  border: 1px solid #e8eef6;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  transition: .2s ease;
}
.topper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 58, 120, .12);
}
.topper-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 34px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #c8101e;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  z-index: 1;
}
.topper-photo {
  width: 110px;
  height: 110px;
  margin: 8px auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #dbeafe, 0 8px 18px rgba(11, 58, 120, .16);
  background: #e8eef7;
}
.topper-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.topper-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2.4rem;
}
.topper-name {
  margin: 0 0 4px;
  color: #0b3a78 !important;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
}
.topper-meta {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: .72rem;
}
.topper-score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0b4a91, #1d4ed8);
  color: #fff;
}
.topper-score strong {
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}
.topper-score small {
  color: rgba(255,255,255,.85);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topper-session {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: .68rem;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .toppers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .toppers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .toppers-class-block { padding: 16px 12px; }
  .toppers-class-head h2 { font-size: 1.15rem; }
  .topper-photo { width: 92px; height: 92px; }
}
@media (max-width: 420px) {
  .toppers-grid { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   Curriculum showcase — stage cards (mockup match)
   ============================================================ */
.curric-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 50% at 0% 20%, rgba(254, 226, 226, .55), transparent 60%),
    radial-gradient(ellipse 35% 45% at 100% 80%, rgba(219, 234, 254, .5), transparent 55%),
    #fff;
}
.curric-showcase::before,
.curric-showcase::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}
.curric-showcase::before { top: 40px; left: 12px; }
.curric-showcase::after { bottom: 60px; right: 16px; }

.curric-showcase-head { position: relative; z-index: 1; margin-bottom: 42px; }
.curric-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: #e11d48;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.curric-eyebrow::before,
.curric-eyebrow::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #e11d48;
  border-radius: 2px;
}
.curric-title {
  margin: 0 auto 14px;
  max-width: 720px;
  color: #1e293b;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
}
.curric-title span {
  color: #0b3a78;
}
.curric-lead {
  margin: 0 auto;
  max-width: 640px;
  color: #94a3b8;
  font-size: .95rem;
  line-height: 1.7;
}

.curric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
.curric-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.curric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
}
.curric-card:nth-child(4) { grid-column: 2 / span 2; }
.curric-card:nth-child(5) { grid-column: 4 / span 2; }

.curric-card--rose { background: linear-gradient(165deg, #fff5f5 0%, #ffe4e6 100%); }
.curric-card--blue { background: linear-gradient(165deg, #f0f9ff 0%, #dbeafe 100%); }
.curric-card--green { background: linear-gradient(165deg, #f0fdf4 0%, #dcfce7 100%); }
.curric-card--violet { background: linear-gradient(165deg, #f5f3ff 0%, #ede9fe 100%); }
.curric-card--amber { background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 100%); }

.curric-card-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  opacity: .22;
  pointer-events: none;
}
.curric-card--rose .curric-card-num { color: #fb7185; }
.curric-card--blue .curric-card-num { color: #60a5fa; }
.curric-card--green .curric-card-num { color: #4ade80; }
.curric-card--violet .curric-card-num { color: #a78bfa; }
.curric-card--amber .curric-card-num { color: #fb923c; }

.curric-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
}
.curric-card--rose .curric-card-icon { background: linear-gradient(145deg, #f43f5e, #e11d48); }
.curric-card--blue .curric-card-icon { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.curric-card--green .curric-card-icon { background: linear-gradient(145deg, #22c55e, #16a34a); }
.curric-card--violet .curric-card-icon { background: linear-gradient(145deg, #8b5cf6, #7c3aed); }
.curric-card--amber .curric-card-icon { background: linear-gradient(145deg, #f97316, #ea580c); }

.curric-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  max-width: 72%;
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}
.curric-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  max-width: 70%;
  color: #64748b;
  font-size: .86rem;
  line-height: 1.65;
  flex: 1;
}

.curric-card-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 40px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.curric-card-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 22px rgba(15, 23, 42, .18);
}
.curric-card--rose .curric-card-btn { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.curric-card--blue .curric-card-btn { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.curric-card--green .curric-card-btn { background: linear-gradient(135deg, #22c55e, #16a34a); }
.curric-card--violet .curric-card-btn { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.curric-card--amber .curric-card-btn { background: linear-gradient(135deg, #f97316, #ea580c); }

.curric-card-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: inherit;
  font-size: .72rem;
}
.curric-card--rose .curric-card-btn-arrow { color: #e11d48; }
.curric-card--blue .curric-card-btn-arrow { color: #2563eb; }
.curric-card--green .curric-card-btn-arrow { color: #16a34a; }
.curric-card--violet .curric-card-btn-arrow { color: #7c3aed; }
.curric-card--amber .curric-card-btn-arrow { color: #ea580c; }

.curric-card-art {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 108px;
  height: 88px;
  pointer-events: none;
  opacity: .95;
  z-index: 0;
}
.curric-card-art svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .12));
}

@media (max-width: 991.98px) {
  .curric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curric-card,
  .curric-card:nth-child(4),
  .curric-card:nth-child(5) { grid-column: auto; }
  .curric-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .curric-grid { grid-template-columns: 1fr; gap: 16px; }
  .curric-card,
  .curric-card:nth-child(4),
  .curric-card:nth-child(5),
  .curric-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    min-height: 0;
  }
  .curric-card h3,
  .curric-card p { max-width: 78%; }
  .curric-card-art { width: 88px; height: 72px; }
  .curric-showcase::before,
  .curric-showcase::after { display: none; }
}
