/* ==========================================================================
   Adarsh International School - custom theme over Bootstrap 5
   Mobile first: base styles target a 360px phone.
   ========================================================================== */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --ais-ink: #1a1c30;
  --ais-blue: #2321a0;
  --ais-blue-dark: #17166e;
  --ais-blue-deep: #0e0d4d;
  --ais-blue-soft: #e9eafc;
  --ais-gold: #f2b632;
  --ais-gold-dark: #9a6d00;
  --ais-cream: #f5f6fc;
  --ais-line: #e0e3f2;
  /* --ais-headings: 'Fraunces', Georgia, 'Times New Roman', serif; */
  /* --ais-body: 'Public Sans', 'Segoe UI', system-ui, -apple-system, sans-serif; */
}

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: var(--ais-body); */
  /* font-family: 'Poppins', sans-serif; */
  font-family: 'Roboto', sans-serif;
  color: var(--ais-ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  /* font-family: var(--ais-headings); */
  color: var(--ais-blue-dark);
  /* font-weight: 700; */
}


h1,
h2,
h3,
.display-font {

  font-weight: 700;
}

a {
  color: var(--ais-blue);
}

a:hover {
  color: var(--ais-blue-dark);
}

.fw-bold {
    font-size: 18px;
    font-weight: 700 !important;
}
.small, small {
    font-size: 14px;
}
/* Focus visibility - WCAG */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--ais-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Tap targets: at least 44px tall on controls that matter */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.form-control,
.form-select {
  min-height: 46px;
}

p {
    font-size: 16px;
    line-height: 1.5;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none !important;
}

ul li {
    font-size: 16px;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--ais-blue-deep);
  color: #dfe2fb;
  font-size: .82rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--ais-gold);
}

.topbar .sep {
  opacity: .4;
  margin: 0 .35rem;
}

/* ---------- header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--ais-line);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--ais-headings);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ais-blue-dark);
}

.brand-sub {
  font-size: .9rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ais-gold-dark);
  font-weight: 900;
}

.main-nav {
  background: #17166e;
	padding: 0px;
}

.main-nav .navbar-nav .nav-link {
  color: #e6e8fc;
  font-weight: 400;
  font-size: 16px;
  padding: 0px 10px;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  color: #fff;
  background: var(--ais-blue-deep);
}

.main-nav .dropdown-menu {
  border-radius: 0 0 .5rem .5rem;
}

.main-nav .dropdown-item {
  min-height: 40px;
}

.navbar-toggler {
  border: 2px solid #fff;
  color: #fff;
  min-width: 48px;
  min-height: 44px;
}

/* ---------- hero slider ---------- */
.hero-slider .carousel-item {
  position: relative;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1rem 1.4rem;
  background: linear-gradient(transparent, rgba(14, 13, 77, .85));
  color: #fff;
}

.hero-caption h2 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 .3rem;
}

.hero-caption p {
  margin: 0 0 .6rem;
  font-size: .9rem;
}

.hero-caption .btn {
  min-height: 42px;
}

/* ---------- buttons ---------- */
.btn-ais {
  background: var(--ais-gold);
  border: 2px solid var(--ais-gold);
  color: #1c1502;
  font-weight: 700;
  border-radius: .4rem;
}

.btn-ais:hover,
.btn-ais:focus {
  background: var(--ais-gold-dark);
  border-color: var(--ais-gold-dark);
  color: #fff;
}

.btn-outline-ais {
  border: 2px solid var(--ais-blue);
  color: var(--ais-blue);
  font-weight: 600;
  border-radius: .4rem;
}

.btn-outline-ais:hover,
.btn-outline-ais:focus {
  background: var(--ais-blue);
  color: #fff;
}

.btn-outline-light-ais {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  border-radius: .4rem;
}

.btn-outline-light-ais:hover {
  background: #fff;
  color: var(--ais-blue-dark);
}

/* ---------- section headers ---------- */
.section {
  padding: 2.6rem 0;
}

.section-alt {
  background: var(--ais-cream);
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-eyebrow {
  color: var(--ais-gold-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 700;
}

.section-head h2 {
  font-size: 1.6rem;
  margin: .15rem 0 0;
  position: relative;
  padding-bottom: .5rem;
}

.section-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--ais-gold);
  border-radius: 2px;
}

.section-head.center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- inner page hero ---------- */
.page-hero {
    background: #d0cfca;
    color: #000000;
    padding: 2.4rem 0;
}

.page-hero h1 {
  color: #17166e;
  font-size: 1.7rem;
  margin: 0;
}

.page-hero .breadcrumb {
  margin: .4rem 0 0;
  font-size: .85rem;
}

.page-hero .breadcrumb a {
  color: #9a6d21;
  text-decoration: none;
}

.page-hero .breadcrumb-item.active {
  color: #000000;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: #aab0ea;
}

/* ---------- cards ---------- */
.card-ais {
  border: 1px solid var(--ais-line);
  border-radius: .6rem;
  background: #fff;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}

.card-ais:hover {
  box-shadow: 0 8px 22px rgba(14, 13, 77, .14);
  transform: translateY(-2px);
}

.card-ais .card-img-top {
  object-fit: cover;
}

.card-ais .card-body {
  padding: 1.1rem;
}

.card-ais h3,
.card-ais h4,
.card-ais h5 {
  font-size: 1.05rem;
}

.card-ais .badge-kind {
  background: var(--ais-blue-soft);
  color: var(--ais-blue-dark);
  font-weight: 600;
}

/* ---------- notice list ---------- */
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list li {
  border-bottom: 1px dashed var(--ais-line);
}

.notice-list a {
  display: block;
  padding: .8rem .2rem;
  text-decoration: none;
  color: var(--ais-ink);
  font-weight: 600;
  min-height: 44px;
}

.notice-list a:hover {
  color: var(--ais-blue);
}

.notice-date {
  color: var(--ais-gold-dark);
  font-size: .8rem;
  font-weight: 600;
}

/* ---------- scrollable table wrapper (mobile) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ais-line);
  border-radius: .5rem;
}

.table-scroll table {
  min-width: 560px;
  margin-bottom: 0;
}

/* ---------- forms ---------- */
.form-label {
  font-weight: 600;
  font-size: .9rem;
}

.required::after {
  content: ' *';
  color: #b3261e;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ais-blue-dark);
  color: #cfd3f8;
  /* margin-top: 3rem; */
}

.site-footer h5 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  color: #d9dbfa;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ais-gold);
}

.site-footer .foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .foot-links li {
  padding: .25rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .82rem;
}

/* ---------- disclosure ---------- */
.disc-section {
  margin-bottom: 2rem;
}

.disc-letter {
  background: var(--ais-blue);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: .5rem .5rem 0 0;
  font-weight: 700;
}

.disc-table td:first-child {
  font-weight: 600;
  width: 55%;
}

/* ---------- misc ---------- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid a {
  display: block;
}

.stat-chip {
  background: #fff;
  border: 1px solid var(--ais-line);
  border-radius: .6rem;
  padding: 1rem;
  text-align: center;
}

.stat-chip .num {
  font-family: var(--ais-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ais-gold-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--ais-gold);
  color: #1c1502;
  padding: .6rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* Lightbox */
.ais-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 46, .94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}

.ais-lightbox.open {
  display: flex;
}

.ais-lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: .4rem;
}

.ais-lightbox .close {
  position: absolute;
  top: .8rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: 0;
  min-width: 48px;
  min-height: 48px;
}

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  .section {
    padding: 3.4rem 0;
  }

  .hero-caption {
    padding: 2rem 2.4rem 2.4rem;
  }

  .hero-caption h2 {
    font-size: 2rem;
  }

  .hero-caption p {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 22px;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
}

/* ---------- desktop ---------- */
@media (min-width: 992px) {
  .hero-slider img {
    max-height: 700px;
    object-fit: cover;
  }

  .hero-caption {
    padding: 3rem;
  }

  .hero-caption h2 {
    font-size: 2.6rem;
  }
}
/* ===============vission mission page========= */
.dynamic-content-card h2, 
.dynamic-content-card h3 {
  color: #1a365d;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #f0f2f5;
  padding-bottom: 0.5rem;
}

.dynamic-content-card p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.dynamic-content-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.dynamic-content-card li {
  color: #4a5568;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}