:root {
  --navy: #0b1a3a;
  --navy-2: #0f2552;
  --burgundy: #6b1226;
  --burgundy-2: #8a1a31;
  --gold: #c9a14a;
  --gold-2: #e6c878;
  --ink: #14171f;
  --muted: #6a7180;
  --paper: #fbf8f2;
  --line: rgba(11, 26, 58, 0.12);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    "Manrope",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.serif {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

a {
  color: var(--burgundy);
  text-decoration: none;
}
a:hover {
  color: var(--burgundy-2);
}

.text-navy {
  color: var(--navy) !important;
}
.text-burgundy {
  color: var(--burgundy) !important;
}
.text-gold {
  color: var(--gold) !important;
}
.bg-navy {
  background-color: var(--navy) !important;
  color: #fff;
}
.bg-burgundy {
  background-color: var(--burgundy) !important;
  color: #fff;
}
.bg-paper {
  background-color: var(--paper) !important;
}
.bg-cream-gradient {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--burgundy);
  font-family: "Inter", sans-serif;
}
.eyebrow-gold {
  color: var(--gold);
}

.gold-divider {
  width: 64px;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  margin: 14px 0 22px;
}
.gold-divider-center {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.6rem;
  transition: all 0.25s ease;
}
.btn-primary,
.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.btn-primary:hover,
.btn-navy:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
}
.btn-burgundy {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}
.btn-burgundy:hover {
  background: var(--burgundy-2);
  border-color: var(--burgundy-2);
  color: #fff;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--navy);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: #d6dcec;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar a {
  color: #d6dcec;
}
.top-bar a:hover {
  color: var(--gold-2);
}
.top-bar .sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 22px rgba(11, 26, 58, 0.04);
}
.site-header .navbar-brand img {
  height: 64px;
  width: auto;
}
.brand-text {
  line-height: 1.1;
}
.brand-text .name {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-text .sub {
  font-size: 0.72rem;
  color: var(--burgundy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 1rem 0.9rem !important;
  position: relative;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--burgundy) !important;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.dropdown-menu {
  border-radius: 0;
  border: 1px solid var(--line);
  margin-top: 0;
  box-shadow: 0 14px 40px rgba(11, 26, 58, 0.12);
}
.dropdown-item {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--paper);
  color: var(--burgundy);
}

/* sticky header */

#site-header .navbar {
  width: 100%;
  background-color: #ffffff;
  z-index: 1050;
}

#site-header .navbar.navbar-fixed {
  position: fixed !important;
  top: -5px;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 8px 25px rgba(11, 26, 58, 0.15);
  animation: navbarSlideDown 0.6s ease;
}

#navbar-spacer {
  display: none;
  width: 100%;
}

#navbar-spacer.active {
  display: block;
}

@keyframes navbarSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Hero */
.hero-carousel .carousel-item {
  height: 78vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 26, 58, 0.86) 0%,
    rgba(11, 26, 58, 0.55) 55%,
    rgba(11, 26, 58, 0.2) 100%
  );
}
.hero-carousel .carousel-caption {
  left: 5%;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: left;
  max-width: 760px;
}
.hero-carousel .carousel-caption .eyebrow {
  color: var(--gold-2);
}
.hero-carousel .carousel-caption h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hero-carousel .carousel-caption p {
  color: #e9ecf6;
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 1.6rem;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.55);
}
.hero-carousel .carousel-indicators .active {
  background: var(--gold);
}

/* Trust strip */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.trust-item .ti-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  border: 1px solid var(--line);
}
.trust-item .ti-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-item .ti-value {
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

/* Sections */
.section {
  padding: 90px 0;
}
.section-tight {
  padding: 64px 0;
}
.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

/* Welcome */
.image-frame {
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  z-index: -1;
}

/* Approach cards */
.approach-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 28px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.approach-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(11, 26, 58, 0.08);
}
.approach-card:hover::before {
  transform: scaleY(1);
}
.approach-card .ac-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.approach-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.approach-card p {
  color: var(--muted);
  margin: 0;
}

/* Principal card */
.principal-card {
  background: var(--navy);
  color: #fff;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.principal-card::before {
  content: "\201C";
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: 18rem;
  line-height: 0.8;
  top: -40px;
  right: 0;
  color: rgba(201, 161, 74, 0.18);
}
.principal-card h2 {
  color: #fff;
}
.principal-card p {
  color: #d3d8e8;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Facility preview tiles */
.facility-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.facility-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.facility-tile:hover img {
  transform: scale(1.08);
}
.facility-tile .ft-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 58, 0) 30%,
    rgba(11, 26, 58, 0.92) 100%
  );
}
.facility-tile .ft-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}
.facility-tile .ft-content h4 {
  color: #fff;
  margin-bottom: 6px;
}
.facility-tile .ft-content p {
  font-size: 0.9rem;
  color: #e1e6f4;
  margin: 0;
}

/* Gallery */
.gal-tile {
  position: relative;
  overflow: hidden;
}
.gal-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gal-tile:hover img {
  transform: scale(1.06);
}
.gal-tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(11, 26, 58, 0.85));
  color: #fff;
  font-size: 0.85rem;
}

/* Documents */
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
  transition: all 0.25s ease;
}
.doc-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 26, 58, 0.08);
}
.doc-card .dc-icon {
  width: 48px;
  height: 48px;
  background: var(--paper);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.doc-card h5 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.doc-card p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.doc-card a.dc-link {
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.doc-card a.dc-link:hover {
  color: var(--burgundy-2);
}

/* Page banner */
.page-banner {
  /* background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); */
  background-image: linear-gradient(rgba(3, 15, 43, 0.75), rgba(3, 15, 43, 0.75)),
    url("../images/about-1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover ;
  color: #fff;
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 161, 74, 0.22),
    transparent 70%
  );
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 12px;
}
.page-banner .breadcrumb a {
  color: var(--gold-2);
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: #d6dcec;
}

/* Footer */
.site-footer {
  background: #07112a;
  color: #c7cde0;
  padding: 70px 0 0;
}
.site-footer h5 {
  color: #fff;
  font-family: "Playfair Display", serif;
  margin-bottom: 22px;
  font-size: 1.1rem;
}
.site-footer a {
  color: #c7cde0;
}
.site-footer a:hover {
  color: var(--gold-2);
}
.site-footer .gold-divider {
  background: var(--gold);
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  margin-top: 50px;
  font-size: 0.85rem;
  color: #8b94ad;
}

/* Lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 42, 0.94);
  z-index: 2050;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb-overlay.open {
  display: flex;
}
.lb-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Filters */
.filter-pill {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover {
  border-color: var(--gold);
  color: var(--burgundy);
}
.filter-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Sidebar */
.sticky-side {
  position: sticky;
  top: 100px;
}
.side-nav {
  background: var(--paper);
  padding: 22px;
  border-left: 3px solid var(--gold);
}
.side-nav h6 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  margin-bottom: 14px;
}
.side-nav a {
  display: block;
  padding: 8px 0;
  color: var(--navy);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line);
}
.side-nav a:hover {
  color: var(--burgundy);
  padding-left: 6px;
}

/* Info rows */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  background: var(--paper);
  width: 38%;
  color: var(--navy);
  font-weight: 600;
}
.info-table td {
  color: #2a3148;
}

/* Map */
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Utility */
.shadow-elegant {
  box-shadow: 0 22px 60px rgba(11, 26, 58, 0.12);
}
.rule-gold {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 991.98px) {
  .hero-carousel .carousel-item {
    height: 70vh;
  }
  .principal-card {
    padding: 40px 28px;
  }
  .section {
    padding: 64px 0;
  }
  .navbar .nav-link {
    padding: 0.65rem 0 !important;
  }
  .navbar .nav-link.active::after,
  .navbar .nav-link:hover::after {
    display: none;
  }
  .brand-text .name {
    font-size: 1.05rem;
  }
}

/* contact form */
/* ==========================================================================
   Merry Land Convent School — Contact Us page styles
   Pure CSS3 / works alongside Bootstrap 5
   ========================================================================== */
:root {
  --navy: #0b1a3a;
  --navy-2: #0f2552;
  --navy-3: #07112a;
  --burgundy: #6b1226;
  --burgundy-2: #8a1a31;
  --gold: #c9a14a;
  --gold-2: #e6c878;
  --ink: #14171f;
  --muted: #6a7180;
  --paper: #fbf8f2;
  --ivory: #fdfaf2;
  --line: rgba(11, 26, 58, 0.12);
  --shadow-sm: 0 8px 22px rgba(11, 26, 58, 0.06);
  --shadow-md: 0 18px 40px rgba(11, 26, 58, 0.08);
  --shadow-lg: 0 30px 70px rgba(11, 26, 58, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --hero-img: url("https://www.mlcsdabwali.com/images/banner1.jpg");
  --cta-img: url("https://www.mlcsdabwali.com/images/banner2.jpg");
  --footer-img: url("https://www.mlcsdabwali.com/images/banner3.jpg");
}
/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}
a {
  color: var(--burgundy);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--burgundy-2);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* ---------- Utilities ---------- */
.bg-paper {
  background-color: var(--paper) !important;
}
.text-muted-soft {
  color: var(--muted);
}
.req {
  color: var(--burgundy);
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.8rem;
}
.eyebrow-gold {
  color: var(--gold-2);
}
.gold-divider {
  width: 64px;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 14px 0 22px;
  opacity: 1;
}
.gold-divider-center {
  margin-left: auto;
  margin-right: auto;
}
.section {
  padding: 90px 0;
}
.section-tight {
  padding: 64px 0;
}
.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin: 0 0 0.5rem;
}
.lead-text {
  color: #2a3148;
  font-size: 1.08rem;
  line-height: 1.75;
}
/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.6rem;
  transition: var(--transition);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-2);
  color: #fff;
}
.btn-burgundy {
  background: var(--burgundy);
  color: #fff;
  border: 1px solid var(--burgundy);
}
.btn-burgundy:hover {
  background: var(--burgundy-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(107, 18, 38, 0.25);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-2);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 161, 74, 0.35);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
}
.btn-outline-light-gold {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-light-gold:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
/* ---------- Top info bar ---------- */
.top-info-bar {
  background: var(--navy-3);
  color: #d6dcec;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-info-bar a {
  color: #d6dcec;
}
.top-info-bar a:hover {
  color: var(--gold-2);
}
.top-info-bar i {
  color: var(--gold-2);
  margin-right: 6px;
}
.top-info-bar .tib-sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
}
/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition:
    box-shadow 0.25s ease,
    padding 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(11, 26, 58, 0.08);
}
.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-text {
  line-height: 1.15;
}
.brand-name {
  display: block;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.18rem;
}
.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--burgundy);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.navbar-toggler {
  font-size: 1.6rem;
  color: var(--navy);
}
.navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 1rem 0.85rem !important;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--burgundy) !important;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.55rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.dropdown-menu {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(11, 26, 58, 0.14);
  margin-top: 0.4rem;
  padding: 0.4rem;
}
.dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--navy);
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--paper);
  color: var(--burgundy);
}
/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  padding: 75px 0 90px;
  background: var(--hero-img) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(11, 26, 58, 0.92) 0%,
    rgba(11, 26, 58, 0.7) 55%,
    rgba(11, 26, 58, 0.45) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  /* max-width: 760px; */
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0.25rem 0 1rem;
}
.page-hero .eyebrow {
  color: var(--gold-2);
}
.page-hero p {
  color: #e6eaf6;
  font-size: 1.1rem;
  max-width: 620px;
}
.hero-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 1.2rem 0 0;
}
.hero-breadcrumb .breadcrumb-item,
.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #d6dcec;
}
.hero-breadcrumb .breadcrumb-item a {
  color: var(--gold-2);
}
.hero-breadcrumb .breadcrumb-item.active {
  color: #fff;
}
/* ---------- Intro ---------- */
.section-intro {
  padding-bottom: 40px;
}
/* ---------- Info Cards ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 18px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 161, 74, 0.5);
}
.info-card:hover::before {
  transform: scaleX(1);
}
.ic-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--paper), #fff);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.ic-title {
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.ic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ic-list li {
  padding: 3px 0;
  color: var(--ink);
}
.info-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  height: 100%;
}
.form-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 74, 0.15);
}
.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(201, 161, 74, 0.25);
}
.form-check-input:checked {
  background-color: var(--burgundy);
  border-color: var(--burgundy);
}
.invalid-feedback {
  font-size: 0.82rem;
}
/* ---------- Office panel ---------- */
.office-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.office-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 90% 10%,
      rgba(201, 161, 74, 0.22),
      transparent 45%
    ),
    radial-gradient(circle at 0% 100%, rgba(138, 26, 49, 0.35), transparent 50%);
  pointer-events: none;
}
.office-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.025) 0 2px,
    transparent 2px 12px
  );
}
.office-inner {
  position: relative;
  z-index: 1;
}
.office-logo {
  height: 80px;
  width: auto;
  margin-bottom: 18px;
}
.office-panel h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.office-tag {
  color: var(--gold-2);
  font-size: 0.92rem;
  margin: 0;
}
.office-panel .gold-divider {
  margin: 18px 0 22px;
}
.office-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.office-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: #d6dcec;
  font-size: 0.94rem;
  line-height: 1.55;
}
.office-list li:last-child {
  border-bottom: 0;
}
.office-list i {
  color: var(--gold-2);
  margin-top: 4px;
  flex-shrink: 0;
}
.office-list a {
  color: #fff;
}
.office-list a:hover {
  color: var(--gold-2);
}
.office-cta .btn {
  padding: 0.75rem 1.2rem;
}
/* ---------- Map ---------- */
.map-section {
  position: relative;
  background: var(--paper);
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.1) contrast(1.02);
}
.map-pin-card {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  display: flex;
  gap: 14px;
  border-top: 3px solid var(--gold);
}
.mpc-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.map-pin-card h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.map-pin-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
/* ---------- Topic cards ---------- */
.topic-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  color: var(--ink);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 161, 74, 0.6);
  color: var(--ink);
}
.tc-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.topic-card h4 {
  font-size: 1.18rem;
  margin: 0 0 8px;
}
.topic-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
  line-height: 1.6;
}
.tc-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--burgundy);
}
.tc-link i {
  transition: transform 0.25s ease;
  margin-left: 4px;
}
.topic-card:hover .tc-link i {
  transform: translateX(4px);
}
/* ---------- Accordion ---------- */
.premium-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.premium-accordion .accordion-button {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  font-size: 1.05rem;
  padding: 1.1rem 1.3rem;
}
.premium-accordion .accordion-button:not(.collapsed) {
  background: var(--paper);
  color: var(--burgundy);
  box-shadow: inset 4px 0 0 var(--gold);
}
.premium-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.25);
}
.premium-accordion .accordion-body {
  color: #2a3148;
  line-height: 1.7;
  padding: 1.1rem 1.3rem 1.4rem;
}
/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--cta-img) center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 26, 58, 0.94),
    rgba(107, 18, 38, 0.85)
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0.5rem 0 1rem;
}
.cta-section p {
  color: #e6eaf6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
/* ---------- Footer ---------- */
/* .site-footer {
  position: relative;
  color: #c7cde0;
  padding: 80px 0 0;
  background: var(--footer-img) center/cover no-repeat;
} */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 42, 0.97),
    rgba(7, 17, 42, 0.92)
  );
}
.footer-inner {
  position: relative;
  z-index: 1;
}
.site-footer h5 {
  color: #fff;
  font-family: "Playfair Display", serif;
  margin-bottom: 22px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.site-footer a {
  color: #c7cde0;
}
.site-footer a:hover {
  color: var(--gold-2);
}
.site-footer i {
  color: var(--gold-2);
  margin-right: 8px;
}
.footer-logo {
  height: 60px;
  width: auto;
}
.footer-name {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.footer-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}
.footer-about {
  color: #a9b1c8;
  line-height: 1.7;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 10px;
  font-size: 0.93rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.85rem;
  color: #8b94ad;
}
/* ---------- Scroll-to-top button ---------- */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(11, 26, 58, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1040;
}
.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.scroll-top-btn:hover {
  background: var(--burgundy);
  color: #fff;
}
/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 {
  transition-delay: 0.12s;
}
.reveal.delay-2 {
  transition-delay: 0.24s;
}
.reveal.delay-3 {
  transition-delay: 0.36s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .cta-section {
    background-attachment: scroll;
  }
}


/* Static blank line: no input box */
.certificate-line {
  display: inline-block;
  min-width: 45px;
  min-height: 24px;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: transparent;
  vertical-align: bottom;
}

.serial-line {
  width: 76px;
  flex: 0 0 76px;
  min-height: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.subject-extra-line {
  width: 95px;
  flex: 0 0 95px;
}

@media (max-width: 767.98px) {
  .certificate-field > .certificate-line {
    flex-basis: calc(100% - 28px);
    margin-left: 28px;
  }

  .certificate-number-row .certificate-line {
    flex: 1 1 auto;
    margin-left: 0;
  }

  .subject-list .certificate-line {
    margin-left: 0;
  }
}

@media print {
  .certificate-line {
    border-bottom-color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
