/* Layered on style.css — keep brand; polish hierarchy, cards, a11y, CTAs */

@font-face {
  font-family: calsans;
  src: url(/font/CalSans-SemiBold.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ais-navy: #2e3b50;
  --ais-yellow: #ffcc01;
  --ais-muted: #5b6b86;
  --ais-border: #e0e2e6;
  --ais-card-radius: 12px;
  --ais-focus: 0 0 0 3px rgba(255, 204, 1, 0.55);

  /* Type system — Figtree body + CalSans display */
  --font-body: "Figtree", system-ui, sans-serif;
  --font-display: calsans, "Figtree", sans-serif;
  --fs-body: 1.0625rem; /* 17px */
  --lh-body: 1.55;
  --fs-small: 0.875rem; /* 14px */
  --fs-nav: 0.9375rem; /* 15px */
  --fs-button: 1rem; /* 16px */
  --fs-lead: 1.125rem; /* 18px */
  --fs-h1: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); /* ~28–44 */
  --fs-h2: clamp(1.5rem, 2vw + 0.9rem, 2.25rem); /* ~24–36 */
  --fs-h3: clamp(1.25rem, 1.2vw + 0.9rem, 1.5rem); /* ~20–24 */
  --fs-h4: clamp(1.75rem, 2vw + 1rem, 2.5rem); /* section titles ~28–40 */
  --lh-display: 1.2;
  --lh-tight: 1.35;
}

/* ── Global readability (beats style.css line-height: 1) ── */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--ais-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: var(--font-body);
  line-height: var(--lh-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ais-navy);
  line-height: var(--lh-display);
}

/* Display roles */
.title h4,
.comman-header .page-title h2,
.comman-header .section-title h2,
.home .slider-sec .hero-overlay h2,
.home .about-offer .title h4,
.home .about-offer .offer-point .txt h5,
.home .teacher-sec .title h4,
.home .teacher-sec .box .txt-box h4,
.home .story-sec .title h4,
.home .count-sec .txt-title h6,
.gallery-sec .title h4,
.contact .contact-data .contact-form h6,
.contact .contact-data .detail-box h3,
footer .footer-data .box h4,
.about .about-data .title h4,
.about .facility-sec .box .heading h6,
.about .vision-sec .box h5,
.about .review-sec .title h4,
.admission .admission-process .point h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-display);
}

/* Body / UI roles */
header .navbar-dark .navbar-nav .nav-link,
.navbar .dropdown-item,
.l-btn,
a.l-btn,
.btn-primary-ais,
.btn-ghost-ais,
.more-btn,
.f-btn,
.contact .contact-data .contact-form label.field-label,
.contact .contact-data .contact-form input,
.contact .contact-data .contact-form textarea,
.home .txt-slider .text-animation p,
footer .footer-data .box p,
footer .footer-data .box ul li a,
footer .footer-data .box input,
footer .footer-data .box button {
  font-family: var(--font-body);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.l-btn:focus-visible,
.more-btn:focus-visible,
.f-btn:focus-visible {
  outline: 2px solid var(--ais-yellow);
  outline-offset: 2px;
  box-shadow: var(--ais-focus);
}

/* Header stays in normal flow, matching the previous site. */
header {
  position: relative;
  z-index: 300;
  background: #fff;
}

header .topbar-section {
  border-bottom: none;
}

/* —— Desktop brand row —— */
.header-brand-desktop {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 10px;
}

.header-brand-desktop .navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}

.header-brand-desktop .navbar-brand img {
  display: block;
  max-height: 64px;
  width: auto;
  transition: max-height 0.2s ease;
}

.header-contacts {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease;
}

.header-contact:hover {
  background: #f5f7fa;
}

.header-contact:focus-visible {
  outline: 2px solid var(--ais-yellow);
  outline-offset: 2px;
}

.header-contact + .header-contact {
  border-left: 1px solid #e8ebf0;
  border-radius: 0 12px 12px 0;
  padding-left: 18px;
  margin-left: 4px;
}

.header-contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  border: 1px solid #e4e8ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  /* Soft-navy tint from legacy sky-blue icon assets */
  filter: grayscale(1) brightness(0.28) contrast(1.05);
  opacity: 0.9;
}

.header-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-contact-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #8a93a3;
  text-transform: uppercase;
}

.header-contact-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ais-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(260px, 28vw);
}

@media (min-width: 1200px) {
  .header-contact-value {
    max-width: 280px;
  }
}

.header-contact:hover .header-contact-value {
  color: #1f2a3a;
}

/* —— Primary nav bar (desktop) —— */
@media (min-width: 992px) {
  .header-nav-wrap {
    padding-top: 0;
    padding-bottom: 0;
  }

  header .navbar {
    padding: 0;
    min-height: 52px;
    border-top: 1px solid #e8ebf0;
  }

  header .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    flex-wrap: nowrap;
  }

  header .navbar-dark .navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin: 0;
    padding: 6px 0;
  }

  header .navbar-dark .navbar-nav .nav-item {
    margin: 0;
  }

  header .navbar-dark .navbar-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px !important;
    margin: 0 !important;
    border-radius: 8px;
    border-bottom: none !important;
    color: var(--ais-navy) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
  }

  header .navbar-dark .navbar-nav .nav-link:hover,
  header .navbar-dark .navbar-nav .nav-link:focus-visible,
  header .navbar-dark .navbar-nav .nav-link.active {
    background: transparent;
    color: var(--ais-navy) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--ais-yellow) !important;
  }

  header .navbar-dark .navbar-nav .dropdown-toggle::after {
    margin-left: 2px;
    vertical-align: 0.15em;
    opacity: 0.55;
  }

  .header-login-btn {
    flex-shrink: 0;
    margin: 0 0 0 auto !important;
    padding: 9px 20px !important;
    font-size: 14px !important;
    box-shadow: 0 1px 0 rgba(46, 59, 80, 0.06);
  }

  .header-login-btn:hover {
    transform: translateY(-1px);
  }
}

.l-btn,
a.l-btn,
.btn-primary-ais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ais-yellow);
  color: var(--ais-navy) !important;
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 22px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.l-btn:hover,
a.l-btn:hover,
.btn-primary-ais:hover {
  background: #f0c000;
  color: var(--ais-navy) !important;
}

.btn-ghost-ais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ais-navy) !important;
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 22px;
  text-decoration: none !important;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-ghost-ais:hover {
  background: #fffbед;
}

.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--ais-navy);
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header .topbar-section .title-txt h6 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: var(--lh-tight);
}

header .topbar-section .title-txt p,
footer .footer-data .box p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-tight);
}

header .navbar-dark .navbar-nav .nav-link {
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.4;
}

header .navbar-dark .navbar-nav button.nav-link {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

header .navbar .dropdown-item.dropdown-toggle {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

header .navbar .dropdown-menu .dropdown-item {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.navbar .dropdown-item {
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1.4;
}

header .topbar-section .title-txt p a.contact-link {
  color: var(--ais-navy);
}

footer .footer-data .box p a.contact-link {
  color: #fff;
}

footer .footer-data .box p a.contact-link:hover {
  color: var(--ais-yellow);
}

/* Marquee: transform + pause. Track is as wide as its copies so phones stay one line. */
.home .txt-slider {
  display: flex;
  align-items: center;
  max-height: 56px;
  overflow: hidden;
}

.home .txt-slider .text-animation {
  width: max-content;
  flex-wrap: nowrap;
  animation: ais-marquee 28s linear infinite;
  left: auto;
}

.home .txt-slider .text-animation p {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .home .txt-slider:hover .text-animation {
    animation-play-state: paused;
  }
}

.gallery-sec .gallery-slider .img-animation {
  width: max-content;
  max-width: none;
  flex-wrap: nowrap;
  overflow: visible;
  animation: ais-marquee-half 40s linear infinite;
}

.gallery-sec .gallery-slider .img-animation .img-box {
  flex: 0 0 auto;
}

.gallery-sec .gallery-slider .img-animation.left {
  animation-direction: reverse;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-sec .gallery-slider:hover .img-animation {
    animation-play-state: paused;
  }
}

@keyframes ais-marquee {
  to {
    transform: translate3d(-33.333%, 0, 0);
  }
}

@keyframes ais-marquee-half {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .txt-slider {
    max-height: 56px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .home .txt-slider .text-animation,
  .gallery-sec .gallery-slider .img-animation {
    animation: none !important;
    transform: none !important;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    max-width: none;
    justify-content: flex-start;
  }

  .gallery-sec .gallery-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .gallery-sec .gallery-slider .img-animation {
    overflow: visible;
  }

  .gallery-sec .gallery-slider .img-animation .img-box {
    scroll-snap-align: start;
  }
}

.ais-card {
  border: 1px solid #eef0f3;
  border-radius: 14px;
  background: #fff;
  padding: 22px 20px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(46, 59, 80, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ais-card:hover {
  border-color: rgba(255, 204, 1, 0.65);
  box-shadow: 0 14px 32px rgba(46, 59, 80, 0.08);
  transform: translateY(-3px);
}

/* —— Home section polish —— */
.home .about-offer {
  margin-bottom: 0;
  padding: 72px 0 56px;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 0%,
      rgba(255, 204, 1, 0.1),
      transparent 60%
    ),
    #fff;
}

.home .about-offer .offer-head {
  margin-bottom: 36px;
}

.home .about-offer .title h4::after,
.home .teacher-sec .title h4::after,
.home .story-sec .title h4::after,
.gallery-sec .title h4::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.home .teacher-sec .title h4::after,
.home .story-sec .title h4::after,
.gallery-sec .title h4::after {
  margin-left: auto;
  margin-right: auto;
}

.home .about-offer .offer-point .point.ais-card {
  margin-bottom: 24px;
  align-items: flex-start;
  gap: 16px;
}

.home .about-offer .offer-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff8d0, #ffe566);
  box-shadow: inset 0 0 0 1px rgba(46, 59, 80, 0.05);
}

.home .about-offer .offer-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 !important;
}

.home .about-offer .offer-point .txt h5 {
  margin-bottom: 6px;
}

.home .about-offer .offer-point .txt p {
  margin-bottom: 0;
}

.gallery-sec {
  margin-bottom: 0;
  padding: 64px 0 72px;
}

.gallery-sec .gallery-head {
  margin-bottom: 28px;
  justify-content: space-between;
  align-items: flex-end;
}

.gallery-sec .title a {
  color: inherit;
  text-decoration: none;
}

.gallery-sec .title a:hover {
  color: #019eff;
}

.gallery-sec .gallery-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ais-navy);
  margin-left: 0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ais-border);
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gallery-sec .gallery-link:hover {
  background: #fff8d6;
  border-color: rgba(255, 204, 1, 0.7);
  text-decoration: none;
}

.gallery-sec .gallery-slider {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}

.gallery-sec .gallery-slider .img-animation .img-box {
  margin: 0 8px;
}

.gallery-sec .gallery-slider .img-animation .img-box img {
  display: block;
  height: 200px;
  width: auto;
  max-width: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(46, 59, 80, 0.12);
}

.home .teacher-sec,
.home .story-sec,
.home .count-sec {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.home .teacher-sec {
  margin-bottom: 72px;
  padding: 72px 0;
  background: #f5f7fa;
}

.home .teacher-sec .teacher-head {
  margin-bottom: 36px;
}

.home .teacher-sec .teacher-head p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.home .teacher-sec .box {
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 16px 28px 16px 16px;
  box-shadow: 0 18px 44px rgba(46, 59, 80, 0.07);
}

.home .teacher-sec .team {
  overflow: hidden;
  border-radius: 12px;
  background: #eef1f5;
}

.home .teacher-sec .team img {
  display: block;
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home .teacher-sec .box .txt-box {
  padding: 8px 4px 8px 8px;
}

.home .teacher-sec .box .txt-box h4 {
  margin-bottom: 6px;
}

.home .teacher-sec .box .txt-box h6 {
  margin-bottom: 14px;
  color: #019eff;
}

.home .teacher-sec .box .txt-box p {
  padding-bottom: 0;
  margin-bottom: 22px;
}

.home .teacher-sec .meet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ais-navy);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.home .teacher-sec .meet-link:hover {
  background: #243044;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.home .story-sec {
  background: #fffbed;
  padding: 72px 0 80px;
}

.home .story-sec .story-head {
  margin-bottom: 32px;
}

.story-carousel-wrap .story-box {
  overflow: hidden;
  background: transparent;
}

.story-carousel-wrap .story-box video {
  border-radius: 0;
  background: transparent;
}

.home .count-sec {
  background: #fff;
  padding: 56px 0 48px;
  position: relative;
}

.home .count-sec .txt-title h6 {
  color: #2e3b50 !important;
}

.home .count-sec .txt-title p {
  color: #5b6b86 !important;
}

.home .count-sec .box img {
  max-height: 56px;
  width: auto;
}

.home .count-sec .stats-cta {
  text-align: center;
  margin-top: 32px;
  color: #5b6b86;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.home .count-sec .stats-cta a {
  color: #2e3b50;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home .count-sec .stats-cta a:hover {
  color: #1f2a3a;
}

.home .txt-slider {
  margin-bottom: 0;
}

.home .slider-sec {
  position: relative;
}

.home .slider-sec .img-box {
  position: relative;
}

.home .slider-sec .img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(46, 59, 80, 0.82) 0%,
    rgba(46, 59, 80, 0.55) 38%,
    rgba(46, 59, 80, 0.18) 62%,
    rgba(46, 59, 80, 0.05) 100%
  );
  pointer-events: none;
}

.home .slider-sec .hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.home .slider-sec .hero-overlay .hero-inner {
  pointer-events: auto;
  max-width: 560px;
  padding: 24px 0;
}

.home .slider-sec .hero-brand {
  font-family: var(--font-body);
  color: var(--ais-yellow);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: var(--lh-tight);
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.home .slider-sec .hero-overlay h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-display);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.home .slider-sec .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home .txt-slider {
  margin-bottom: 64px;
}

.home .txt-slider .text-animation p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
}

/* Section / card titles */
.title h4,
.home .about-offer .title h4,
.home .teacher-sec .title h4,
.home .story-sec .title h4,
.gallery-sec .title h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: var(--lh-display);
  color: var(--ais-navy);
}

.title p,
.home .about-offer .title p,
.home .teacher-sec .title p,
.home .about-offer .offer-point .txt p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--ais-muted);
}

.home .about-offer .offer-head .title h4 {
  margin-bottom: 12px;
}

.home .about-offer .offer-head .title p {
  max-width: 42rem;
  font-size: var(--fs-lead);
}

.home .about-offer .offer-point .txt h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-display);
  color: var(--ais-navy);
  margin-bottom: 4px;
}

.home .teacher-sec .box .txt-box h4 {
  font-size: var(--fs-h3);
  line-height: var(--lh-display);
}

.home .teacher-sec .box .txt-box h6 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: 0.04em;
}

.home .teacher-sec .box .txt-box p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.home .teacher-sec .meet-link {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
}

.home .count-sec .txt-title h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-display);
}

.home .count-sec .txt-title p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-tight);
}

.home .count-sec .stats-cta {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Page banners */
.comman-header .page-title h2,
.comman-header .section-title h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-display);
}

.comman-header .page-title p,
.comman-header .section-title a {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-tight);
}

/* Contact */
.contact .contact-data .detail-box h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-display);
  color: var(--ais-navy);
}

.contact .contact-data .detail-box p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.contact .contact-data .contact-form h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-display);
}

.contact .contact-data .contact-form p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.contact .contact-data .contact-form label.field-label {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: var(--lh-tight);
}

.contact .contact-data .contact-form input,
.contact .contact-data .contact-form textarea {
  font-size: var(--fs-body);
  line-height: var(--lh-tight);
  border-radius: 10px;
  border: 1px solid var(--ais-border);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact .contact-data .contact-form input:focus,
.contact .contact-data .contact-form textarea:focus {
  border-color: var(--ais-yellow);
  box-shadow: 0 0 0 3px rgba(255, 204, 1, 0.25);
  outline: none;
}

.contact .contact-data .contact-form button,
.contact .map-sec .map-link {
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
}

.contact .contact-data .contact-form button.more-btn {
  background: var(--ais-yellow);
  color: var(--ais-navy);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.contact .contact-data .contact-form button.more-btn:hover {
  background: #f0c000;
  transform: translateY(-1px);
}

/* Footer */
footer .footer-data .box h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-display);
}

footer .footer-data .box p,
footer .footer-data .box ul li a,
footer .footer-data .box input {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  line-height: var(--lh-body);
}

footer .footer-data .box button {
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
}

.footer-bottom .footer-copy,
.footer-bottom .footer-crafted {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: var(--lh-tight);
}

/* Inner CMS pages — common heading/body rhythm */
.about .about-data .title h4,
.about .review-sec .title h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-display);
}

.about .about-data .title p,
.about .facility-sec .box .heading p,
.about .vision-sec .box p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.about .facility-sec .box .heading h6,
.about .vision-sec .box h5 {
  font-size: var(--fs-h3);
  line-height: var(--lh-display);
}

.admission .admission-process .point h4 {
  font-size: var(--fs-h3);
  line-height: var(--lh-display);
}

.admission .admission-process .point ul li,
.admission .admission-process .point .box p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.table-point,
.table-point table {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.gallery-sec .title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.story-carousel-wrap {
  position: relative;
}

.story-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  scrollbar-width: none;
}

.story-carousel-track::-webkit-scrollbar {
  display: none;
}

.story-carousel-wrap .story-box {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (min-width: 600px) {
  .story-carousel-wrap .story-box {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (min-width: 1000px) {
  .story-carousel-wrap .story-box {
    flex-basis: calc((100% - 32px) / 3);
  }
}

.story-carousel-wrap .story-box video {
  width: 100%;
  display: block;
  background: transparent;
}

.story-carousel-wrap .story-box video::-webkit-media-controls,
.story-carousel-wrap .story-box video::-webkit-media-controls-enclosure,
.story-carousel-wrap .story-box video::-webkit-media-controls-panel {
  display: none !important;
}

@media (max-width: 767px) {
  .story-carousel-wrap .story-box {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
  }

  .story-carousel-wrap .story-box video {
    width: auto;
    max-width: 100%;
    max-height: min(68vh, 640px);
    height: auto;
  }
}

.home .story-sec .prev-slide,
.home .story-sec .next-slide {
  border: none;
  background-color: transparent;
  cursor: pointer;
  z-index: 2;
  display: block;
}

@media (max-width: 767px) {
  .home .story-sec .prev-slide,
  .home .story-sec .next-slide {
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    margin-top: -20px;
    opacity: 0.95;
  }

  .home .story-sec .prev-slide {
    left: 2px;
  }

  .home .story-sec .next-slide {
    right: 2px;
  }

  .home .slider-sec .hero-overlay {
    align-items: flex-end;
    padding-bottom: 20px;
  }

  .home .txt-slider {
    margin-bottom: 40px;
  }

  .title h4,
  .home .about-offer .title h4,
  .comman-header .page-title h2 {
    letter-spacing: -0.01em;
  }

  .home .about-offer .offer-point .txt h5 {
    font-size: 1.2rem;
  }
}

/* Close the hover gap (legacy sheet used top: 160%, so the menu vanished
   before the pointer could reach it). */
@media (min-width: 992px) {
  header .navbar .nav-item.dropdown {
    position: relative;
  }

  header .navbar .nav-item.dropdown > .dropdown-menu {
    top: 100%;
    margin-top: 0;
    padding-top: 12px;
    z-index: 320;
  }

  /* Invisible bridge covering any remaining space under the trigger. */
  header .navbar .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  header .dropdown-submenu > .dropdown-menu {
    margin-left: 0;
    padding-left: 8px;
    pointer-events: none;
  }

  header .dropdown-submenu > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    bottom: 0;
    width: 12px;
  }

  header .dropdown-submenu:hover > .dropdown-menu,
  header .dropdown-submenu.open > .dropdown-menu,
  header .dropdown-submenu.show > .dropdown-menu {
    pointer-events: auto;
  }
}

.navbar .dropdown-menu.show {
  display: block;
}

.navbar .dropdown-submenu:hover > .dropdown-menu,
.navbar .dropdown-submenu.open > .dropdown-menu,
.navbar .dropdown-submenu.show > .dropdown-menu {
  display: block !important;
  pointer-events: auto;
}

.navbar .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  display: block;
}

.header-mobile-contact {
  display: none;
  padding: 12px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 8px;
}

.header-mobile-contact a {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  text-decoration: none;
}

.header-mobile-contact a:hover {
  color: var(--ais-yellow);
}

@media (max-width: 991.98px) {
  .header-mobile-contact {
    display: block;
  }
}

header .navbar-dark .l-btn {
  text-decoration: none !important;
  padding: 10px 22px;
}

footer .footer-data {
  padding: 8px 0 48px;
}

footer .footer-data .box {
  padding-right: 0;
}

footer .footer-data .box input {
  display: block;
  margin-bottom: 10px;
}

footer .footer-data .box h4 {
  margin-bottom: 16px;
}

footer .footer-data .box p {
  margin-bottom: 12px;
}

footer .footer-data .box ul li a {
  transition: color 0.15s ease;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 18px 12px 28px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-bottom .footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 400;
}

.footer-bottom .footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffcc01;
  flex-shrink: 0;
}

.footer-bottom .footer-crafted {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom .footer-crafted strong {
  color: #ffcc01;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-bottom .footer-webito {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

@media (max-width: 575px) {
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .footer-bottom .footer-dot {
    display: none;
  }
}

.comman-header .page-title {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.comman-header .page-title h2 {
  letter-spacing: 0.01em;
}

.comman-header .page-title p a,
.comman-header .section-title a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comman-header .page-title p a:hover,
.comman-header .section-title a:hover {
  color: var(--ais-yellow);
}

.about .facility-sec .box,
.about .vision-sec .box,
.atharva .about-school .accordion .point,
.admission .admission-process .point .box {
  border-radius: var(--ais-card-radius);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.about .facility-sec .box:hover,
.about .vision-sec .box:hover {
  box-shadow: 0 8px 24px rgba(46, 59, 80, 0.08);
}

.admission .admission-process .point {
  border-radius: var(--ais-card-radius);
}

.admission .admission-process .tab-container .tab {
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.table-point {
  border-radius: var(--ais-card-radius);
  overflow: hidden;
}

.table-point .docs-empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--ais-muted);
  font-size: 16px;
  font-weight: 500;
  background: #f8f9fb;
  border: 1px dashed var(--ais-border);
  border-radius: var(--ais-card-radius);
}

.table-point table tbody tr:hover td {
  background: #f8f9fb;
}

.table-point table a.doc-link {
  color: #019eff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.table-point table a.doc-link:hover {
  text-decoration: underline;
}

.contact .contact-data .contact-form label.field-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ais-navy);
  line-height: var(--lh-tight);
  margin-bottom: 6px;
}

.contact .contact-data .contact-form .form-group {
  margin-bottom: 14px;
}

.contact .contact-data .detail-box a.contact-link {
  color: inherit;
}

.contact .map-sec {
  position: relative;
}

.contact .map-sec .map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 32px;
  color: #019eff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.contact .map-sec .map-link-wrap {
  text-align: center;
  background: #fff;
}

.contact .map-sec .map-link:hover {
  text-decoration: underline;
}

.contact .contact-data .contact-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* —— Mobile UI/UX —— */
html {
  scroll-padding-top: 72px;
}

.header-mobile-bar {
  padding: 10px 0;
  gap: 12px;
}

.header-mobile-bar .navbar-brand {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.header-mobile-bar .navbar-brand img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
}

.header-mobile-bar .navbar-toggler {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ais-navy);
}

.header-mobile-bar .navbar-toggler:focus {
  outline: 2px solid var(--ais-yellow);
  outline-offset: 2px;
}

.header-mobile-bar .navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  /* A clipped page root blocks finger-scrolling inside carousels on iOS. */
  .home .story-sec {
    overflow: visible;
  }

  .story-carousel-track {
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  header .header-nav-wrap {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  header .navbar {
    padding: 0;
    min-height: 0;
  }

  header .navbar-collapse {
    background: var(--ais-navy);
    margin: 0;
    padding: 8px 16px 20px;
    border-radius: 0 0 16px 16px;
    max-height: min(78vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  header .navbar-dark .navbar-nav {
    width: 100%;
    padding-top: 4px;
  }

  header .navbar-dark .navbar-nav .nav-link,
  header .navbar-dark .navbar-nav .nav-link:hover,
  header .navbar-dark .navbar-nav .nav-link:focus-visible,
  header .navbar-dark .navbar-nav .nav-link.active,
  header .navbar-dark .navbar-nav button.nav-link {
    margin: 0;
    padding: 12px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff !important;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  header .navbar-dark .navbar-nav .nav-link.active::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--ais-yellow);
  }

  header .navbar .dropdown-item,
  header .navbar .dropdown-item:hover,
  header .navbar .dropdown-item:focus-visible,
  header .navbar button.dropdown-item {
    color: #fff !important;
    background: transparent;
  }

  header .navbar .dropdown-item:hover,
  header .navbar .dropdown-item:focus-visible,
  header .navbar .dropdown-item.active {
    color: var(--ais-yellow) !important;
  }

  header .navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0 0 4px;
    padding: 4px 0 4px 12px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
  }

  header .dropdown-submenu {
    position: static;
  }

  header .dropdown-submenu > .dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    margin: 0;
    padding-left: 12px;
    display: none;
    box-shadow: none;
    border: none;
    float: none;
    background: rgba(0, 0, 0, 0.12);
  }

  header .dropdown-submenu.open > .dropdown-menu,
  header .dropdown-submenu.show > .dropdown-menu {
    display: block !important;
  }

  header .navbar .dropdown-item {
    padding: 10px 8px;
    font-size: 0.95rem;
    white-space: normal;
  }

  header .navbar-dark .navbar-nav button.nav-link {
    width: 100%;
    color: #fff;
  }

  header .navbar-dark .l-btn {
    display: flex;
    width: 100%;
    margin: 14px 0 4px;
    padding: 12px 18px;
    justify-content: center;
  }

  .header-mobile-contact {
    padding: 14px 4px 4px;
  }

  .header-mobile-contact a {
    padding: 8px 0;
    font-size: 0.95rem;
    word-break: break-word;
  }

  .home .txt-slider,
  .gallery-sec {
    overflow: hidden;
  }

  .home .about-offer .offer-point .point {
    margin-bottom: 16px;
  }

  .home .about-offer .offer-head {
    margin-bottom: 1.5rem !important;
  }

  .home .about-offer,
  .home .teacher-sec,
  .gallery-sec,
  .home .story-sec {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home .teacher-sec {
    margin-bottom: 40px;
  }

  .home .count-sec .txt-title {
    margin-bottom: 20px;
  }

  footer {
    padding-top: 36px;
  }

  footer .footer-data {
    padding-bottom: 28px;
  }

  footer .footer-data .box {
    margin-bottom: 28px;
    padding-right: 0;
  }

  footer .footer-data .box:last-child {
    margin-bottom: 8px;
  }

  .comman-header {
    margin-bottom: 0;
  }

  .comman-header .back-img > img {
    min-height: 180px;
    max-height: 240px;
  }

  .comman-header .page-title {
    width: calc(100% - 24px);
    padding-left: 0;
    padding-right: 0;
  }

  .contact .contact-data {
    padding: 48px 0 !important;
    height: auto;
  }

  .contact .contact-data .detail-box,
  .contact .contact-data .contact-form {
    margin-bottom: 28px;
  }

  .contact .contact-data .contact-form .form-control,
  .contact .contact-data .contact-form textarea {
    font-size: 16px; /* avoid iOS zoom */
    min-height: 44px;
  }

  .contact .contact-data .contact-form button,
  .contact .contact-data .contact-form .more-btn {
    width: 100%;
    min-height: 48px;
  }

  .table-point {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-point table {
    min-width: 520px;
  }

  .cbse .cbse-data,
  .about-drop .table-responsive,
  .table-point {
    margin-left: -4px;
    margin-right: -4px;
  }
}

@media (max-width: 767px) {
  .home .slider-sec .img-box {
    position: relative;
    min-height: min(70vh, 480px);
    overflow: hidden;
    background: var(--ais-navy);
  }

  .home .slider-sec .img-box > img {
    width: 100%;
    height: min(70vh, 480px);
    object-fit: cover;
    object-position: center 30%;
    display: block;
  }

  .home .slider-sec .hero-overlay {
    align-items: flex-end;
    padding: 0 0 22px;
  }

  .home .slider-sec .hero-overlay .hero-inner {
    max-width: none;
    padding: 16px 0 0;
  }

  .home .slider-sec .hero-brand {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }

  .home .slider-sec .hero-overlay h2 {
    font-size: clamp(1.45rem, 5.6vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 14px;
    max-width: 18ch;
  }

  .home .slider-sec .hero-actions {
    gap: 10px;
  }

  .home .slider-sec .hero-actions .l-btn,
  .home .slider-sec .hero-actions .btn-ghost-ais {
    min-height: 44px;
    padding: 10px 18px;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .home .txt-slider .text-animation p {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .home .about-offer .title h4,
  .home .teacher-sec .title h4,
  .home .story-sec .title h4,
  .gallery-sec .title h4 {
    font-size: clamp(1.35rem, 5vw, 1.6rem);
    line-height: 1.25;
  }

  .home .about-offer .title p,
  .home .teacher-sec .title p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .home .about-offer .offer-point .point.ais-card {
    padding: 14px;
    gap: 12px;
  }

  .home .about-offer .offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .home .about-offer .offer-icon img {
    width: 28px;
    height: 28px;
  }

  .gallery-sec .gallery-slider .img-animation .img-box img {
    height: 140px;
    max-width: 220px;
  }

  .home .teacher-sec .box {
    padding: 12px;
  }

  .home .teacher-sec .box .txt-box {
    padding: 8px 4px 4px;
  }

  .home .count-sec .box {
    justify-content: flex-start !important;
  }

  .home .about-offer .offer-point .txt h5 {
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .home .about-offer .offer-point .txt p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .home .about-offer .title p {
    text-align: left;
  }

  .home .teacher-sec .box {
    margin-bottom: 12px;
  }

  .home .story-sec {
    padding: 40px 0 48px;
  }

  .home .count-sec {
    padding: 36px 0;
  }

  .home .count-sec .txt-title h6 {
    font-size: 1.75rem;
  }

  .about-drop .txt-data,
  .blog .blog-data,
  .staff-page .staff-data,
  .cbse .cbse-data,
  .review .review-data,
  .story .story-data,
  .policy {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .contact .contact-form {
    padding: 20px 16px;
  }

  .about .facility-sec .box .heading {
    height: auto;
  }

  .about-drop .txt-data .txt-box img,
  .contact img,
  .staff-page img,
  .story img,
  .review img,
  .cbse img {
    max-width: 100%;
    height: auto;
  }

  .comman-header .page-title h2,
  .about-drop .txt-data h2,
  .about-drop .txt-data h4,
  .contact h3,
  .contact h6 {
    overflow-wrap: anywhere;
  }

  .staff-page .staff-data .staff-box img {
    max-height: none;
  }
}

@media (max-width: 480px) {
  .home .slider-sec .hero-actions {
    flex-direction: column;
  }

  .home .slider-sec .hero-actions .l-btn,
  .home .slider-sec .hero-actions .btn-ghost-ais {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* —— Inner pages (CMS + React content) —— */
.comman-header {
  margin-bottom: 0;
}

.comman-header .back-img {
  position: relative;
  overflow: hidden;
  background: var(--ais-navy);
}

.comman-header .back-img > img {
  display: block;
  width: 100%;
  object-fit: cover;
  min-height: 220px;
  max-height: 360px;
}

.comman-header .back-img::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Even navy wash — avoids washed-out bottom edge + unread breadcrumbs */
  background: linear-gradient(
    180deg,
    rgba(46, 59, 80, 0.55) 0%,
    rgba(46, 59, 80, 0.72) 55%,
    rgba(46, 59, 80, 0.82) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.comman-header .page-title {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100% - 32px));
  text-align: center;
}

/* No accent under hero title — leftover left-aligned bar looked broken;
   content headings keep the yellow rule. */
.comman-header .page-title h2::after {
  content: none;
  display: none;
}

.comman-header .page-title h2 {
  margin-bottom: 8px;
}

.comman-header .page-title p {
  margin: 0;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.comman-header .section-title {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
}

.comman-header .section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Message pull-quotes (and CMS leftovers with inline red) */
.about-drop .txt-data .txt-box h4.pull-quote,
.about-drop .txt-data .txt-box h4[style*="color"] {
  color: var(--ais-navy) !important;
  font-style: italic;
  font-weight: 500;
}

/* Content pages: messages, admission, facilities, curriculum, etc. */
.about-drop .txt-data {
  margin-bottom: 0;
  padding: 56px 0 72px;
}

.about-drop .txt-data .txt-box {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.about-drop .txt-data .txt-box h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-display);
  text-align: center;
  margin-bottom: 8px;
}

.about-drop .txt-data .txt-box h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 20px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.about-drop .txt-data .txt-box h4,
.about-drop .txt-data h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-display);
  margin-top: 28px;
  margin-bottom: 10px;
}

.about-drop .txt-data .txt-box p,
.about-drop .txt-data .txt-box ul li {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--ais-muted);
}

.about-drop .txt-data .txt-box ul {
  padding-left: 0;
  margin: 12px 0 20px;
}

.about-drop .txt-data .txt-box ul li {
  margin-bottom: 8px;
  align-items: flex-start;
}

.about-drop .table-responsive,
.about-drop .txt-data .table-responsive {
  border-radius: 12px;
  overflow: auto;
  border: 1px solid var(--ais-border);
  margin: 20px 0 28px;
  background: #fff;
}

.about-drop table {
  margin-bottom: 0 !important;
}

.about-drop table tr th {
  background: #f5f7fa;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 600;
  border-color: var(--ais-border);
}

.about-drop table tr td {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  border-color: var(--ais-border);
}

.about-drop .row .column .img-box {
  padding: 8px;
}

.about-drop .row .column .img-box img {
  border-radius: 12px;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-drop .row .column .img-box a:hover img,
.about-drop .gallery-tile a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 59, 80, 0.14);
}

.about-drop .gallery-tile img {
  border-radius: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid .gallery-tile {
  padding: 0;
  min-width: 0;
}

.gallery-grid .gallery-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-grid .gallery-tile img {
    height: 200px;
  }
}

/* About Us page */
.about .comman-header .section-title {
  background: #f5f7fa;
  border-bottom: 1px solid #e8ebf0;
  padding: 22px 16px 24px;
  text-align: center;
}

.about .comman-header .section-title .section-kicker {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a93a3;
}

.about .comman-header .section-title h2 {
  color: var(--ais-navy);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 40rem;
  margin: 0 auto;
}

.about .comman-header .section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.about .about-data {
  margin-bottom: 0;
  padding: 56px 0 48px;
  background: #fff;
}

.about .about-intro {
  gap: 8px 0;
}

.about .about-quote,
.about .about-data .col-md-5 .title,
.about .about-data .col-lg-5 .title {
  margin: 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid var(--ais-yellow);
}

@media (min-width: 992px) {
  .about .about-quote {
    position: sticky;
    top: 120px;
  }
}

.about .about-quote h4,
.about .about-data .col-md-5 .title h4,
.about .about-data .col-lg-5 .title h4 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ais-navy);
  margin: 0;
}

.about .about-quote h4::after,
.about .about-data .title h4::after {
  content: none;
  display: none;
}

.about .about-copy p,
.about .about-data .col-md-7 .title p,
.about .about-data .col-lg-7 .title p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ais-muted);
  margin-bottom: 1rem;
}

.about .about-copy .about-closing {
  margin-top: 8px;
  margin-bottom: 20px;
}

.about .about-copy .about-closing span {
  color: var(--ais-navy);
  font-weight: 600;
}

.about .about-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 0;
}

.about .about-text-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ais-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about .about-text-link:hover {
  color: #1f2a3a;
}

.about .about-pic {
  margin: 0;
  overflow: hidden;
}

.about .about-pic .img-box img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.about .count-sec {
  background: var(--ais-navy);
  border-radius: 0;
  padding: 44px 0;
  position: relative;
}

.about .count-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ais-yellow);
}

.about .count-sec .box {
  gap: 14px;
}

.about .count-sec .txt-title h6 {
  color: #fff !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.about .count-sec .txt-title p {
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0;
}

.about .facility-sec {
  padding: 64px 0 48px;
  background: #f5f7fa;
}

.about .facility-sec .title h4,
.about .infra-sec .title h4,
.about .review-sec .title h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ais-navy);
}

.about .facility-sec .title p {
  color: var(--ais-muted);
  margin-top: 8px;
}

.about .facility-sec .title h4::after,
.about .infra-sec .title h4::after,
.about .review-sec .title h4::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.about .facility-sec .box {
  border: 1px solid #e8ebf0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 14px;
  height: calc(100% - 24px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about .facility-sec .box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(46, 59, 80, 0.1);
}

.about .facility-sec .box img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about .facility-sec .box .heading {
  padding: 20px 20px 22px;
}

.about .facility-sec .box .heading h6 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ais-navy);
  margin-bottom: 8px;
}

.about .facility-sec .box .heading p {
  font-family: var(--font-body);
  color: var(--ais-muted);
  line-height: 1.6;
  margin: 0;
}

.about .vision-sec {
  padding: 48px 0 56px;
  background: #fff;
}

.about .vision-sec .box {
  border: 1px solid #e8ebf0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  padding: 28px 26px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 14px;
}

.about .vision-sec .box h5 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ais-navy);
  margin-bottom: 10px;
}

.about .vision-sec .box p {
  font-family: var(--font-body);
  color: var(--ais-muted);
  line-height: 1.65;
  margin: 0;
}

.about .vision-sec .box h5::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.about .infra-sec {
  padding: 56px 0 64px;
  background: #f5f7fa;
}

.about .infra-sec .img-box {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.about .infra-sec .img-box img {
  display: block;
  transition: transform 0.25s ease;
}

.about .infra-sec .img-box a:hover img {
  transform: scale(1.03);
}

.about .video-sec {
  padding: 48px 0;
  background: #fff;
}

.about .video-sec .video-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(46, 59, 80, 0.12);
}

@media (max-width: 991.98px) {
  .about .about-quote,
  .about .about-data .col-md-5 .title {
    margin-bottom: 24px;
    position: static;
  }

  .about .about-cta-row .l-btn {
    width: 100%;
  }
}

.about .review-sec {
  margin-bottom: 0;
}

/* Why Atharv / accordion pages */
.atharva .about-school {
  padding: 56px 0 72px;
}

.atharva .about-school .accordion .point {
  border: 1px solid #eef0f3;
  background: #fff;
  box-shadow: 0 8px 24px rgba(46, 59, 80, 0.04);
  margin-bottom: 12px;
  overflow: hidden;
}

.atharva .about-school .accordion .header a.title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--ais-navy);
}

.atharva .about-school .accordion .body p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Admission process (legacy class pages) */
.admission .admission-process {
  padding: 48px 0 72px;
}

.admission .admission-process .point {
  border: 1px solid #eef0f3;
  background: #fff;
  box-shadow: 0 8px 24px rgba(46, 59, 80, 0.04);
  padding: 24px 22px;
  margin-bottom: 20px;
}

.admission .admission-process .tab-container .tab {
  border: 1px solid var(--ais-border);
  background: #fff;
  color: var(--ais-muted);
  padding: 10px 18px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.admission .admission-process .tab-container .tab.active {
  background: var(--ais-navy);
  color: #fff;
  border-color: var(--ais-navy);
}

/* Blog list + post */
.blog .blog-data {
  padding: 48px 0 72px;
  background: #f5f7fa;
}

.blog .blog-data .blog-box {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  margin-bottom: 28px;
  height: calc(100% - 28px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog .blog-data .blog-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 1, 0.65);
  box-shadow: 0 16px 36px rgba(46, 59, 80, 0.1);
}

.blog .blog-data .blog-box .img-box img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  display: block;
}

.blog .blog-data .blog-box .blog-title {
  padding: 18px 18px 22px;
}

.blog .blog-data .blog-box h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-display);
  margin-bottom: 8px;
}

.blog .blog-data .blog-box p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ais-muted);
}

.blog .blog-data .blog-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--ais-navy);
  font-weight: 600;
  text-decoration: none;
}

.blog .blog-data .blog-box a:hover {
  color: #019eff;
}

.blog .blog-data .blog-prose {
  max-width: 46rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 28px 28px 36px;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
}

.blog .blog-data .blog-prose img {
  border-radius: 12px;
  margin-bottom: 20px;
}

.blog .blog-data .blog-prose .blog-back {
  display: inline-flex;
  margin-top: 28px;
  font-weight: 600;
  color: var(--ais-navy);
  text-decoration: none;
}

.blog .blog-data .blog-prose .blog-back:hover {
  color: #019eff;
}

/* Staff */
.staff-page .staff-data {
  margin-bottom: 0;
  padding: 48px 0 72px;
  background: #f5f7fa;
}

.staff-page .staff-data .staff-box {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 14px 12px 18px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: calc(100% - 24px);
}

.staff-page .staff-data .staff-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 1, 0.65);
  box-shadow: 0 16px 36px rgba(46, 59, 80, 0.1);
}

.staff-page .staff-data .staff-box img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 14px;
}

.staff-page .staff-data .staff-box h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-display);
  margin-bottom: 4px;
}

.staff-page .staff-data .staff-box p {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* CBSE / disclosure tables */
.cbse .cbse-data {
  padding: 48px 0 72px;
  background: #f5f7fa;
}

.cbse .cbse-data .table-point,
.table-point {
  background: #fff;
  border: 1px solid #eef0f3;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  margin-bottom: 24px;
}

.cbse .cbse-data .table-point .heading,
.table-point .heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--ais-navy);
  padding: 16px 18px 8px;
}

.cbse .cbse-data table tr th,
.cbse .cbse-data table tr td {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  padding: 12px 14px;
}

/* Privacy / policy */
.policy {
  padding: 64px 0 80px;
  background: #f5f7fa;
}

.policy .policy-txt {
  max-width: 46rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 36px 32px 40px;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
}

.policy .policy-txt h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  margin-bottom: 8px;
}

.policy .policy-txt h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 24px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.policy .policy-txt h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin-top: 28px;
  margin-bottom: 10px;
}

.policy .policy-txt p,
.policy .policy-txt li {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ais-muted);
}

/* Contact */
.contact .contact-data {
  padding: 64px 0 !important;
  background: #fff;
  height: auto;
}

.contact .contact-data .detail-box h3 {
  margin-bottom: 24px;
}

.contact .contact-data .detail-box h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.contact .contact-data .detail-box p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.contact .contact-form {
  background: #f5f7fa;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.04);
}

.contact .contact-form h6::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 10px 0 14px;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.contact .map-sec .map img {
  display: block;
}

.contact .map-sec .map-link {
  margin: 16px 0 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ais-border);
  background: #fff;
}

/* Testimonials */
.review .review-data {
  margin-bottom: 0;
  padding: 48px 0 72px;
  background: #f5f7fa;
}

.review .review-data .title h4::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--ais-yellow);
}

.review .review-data .review-box {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 10px 28px rgba(46, 59, 80, 0.05);
  height: calc(100% - 40px);
}

/* School stories page */
.story .story-data {
  margin-bottom: 0;
  padding: 48px 0 72px;
  background: linear-gradient(180deg, #fffdf6 0%, #fff6d6 100%);
}

.story .story-data .story-box .video-box {
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #1a2230;
  box-shadow: 0 12px 32px rgba(46, 59, 80, 0.12);
}

.story .story-data .story-box .video-box video,
.story .story-data .story-box .video-box img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.story .story-data .story-box h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin-top: 12px;
}

/* Coming soon / empty */
.award .soon-box,
.no-found .soon-box {
  padding: 48px 24px 72px;
}

.award .soon-box .txt-title,
.no-found .soon-box .txt-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--ais-navy);
}
