/* ============================================================
   Discovery House Montessori — Modern Global Styles
   Bootstrap 5 + brand overrides
   Brand: pink #dd0b66 · navy #002147 · hover #fc6497 · font Lato
   ============================================================ */

:root {
  --dh-pink: #dd0b66;
  --dh-pink-hover: #fc6497;
  --dh-navy: #002147;
  --dh-navy-2: #083358;
  --dh-dark: #0e1600;
  --dh-gray-bg: #f6f7f9;
  --dh-gray-alt: #eef0f3;
  --dh-light: #fff;
  --dh-shadow-sm: 0 2px 12px rgba(0, 33, 71, 0.08);
  --dh-shadow: 0 8px 30px rgba(0, 33, 71, 0.12);
  --dh-shadow-lg: 0 18px 50px rgba(0, 33, 71, 0.18);
  --dh-radius: 0.75rem;
  --dh-radius-lg: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  color: #3d4350;
  background: var(--dh-light);
  line-height: 1.75;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dh-navy);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.92rem;
  font-weight: 700;
}

/* Card titles: never inherit the big section heading sizes */
.card-dh .card-title,
.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dh-navy);
}

.card-dh .card-title.h5 {
  font-size: 1.05rem;
}

.card-dh .card-title.h6 {
  font-size: 0.95rem;
}

.card-dh .card-title.h4 {
  font-size: 1.1rem;
}

a {
  color: var(--dh-pink);
  text-decoration: none;
}

a:hover {
  color: var(--dh-pink-hover);
}

.text-lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: #56606e;
}

/* ---------- Buttons (consistent, sharp) ---------- */
.btn {
  border-radius: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dh {
  background: var(--dh-pink);
  color: #fff;
  border: 2px solid var(--dh-pink);
  padding: 0.7rem 1.6rem;
  box-shadow: 0 6px 18px rgba(221, 11, 102, 0.35);
}

.btn-dh:hover {
  background: var(--dh-pink-hover);
  border-color: var(--dh-pink-hover);
  color: #fff;
  box-shadow: 0 10px 24px rgba(252, 100, 151, 0.4);
}

.btn-dark-dh {
  background: var(--dh-navy);
  color: #fff;
  border: 2px solid var(--dh-navy);
  padding: 0.7rem 1.6rem;
  box-shadow: 0 6px 18px rgba(0, 33, 71, 0.3);
}

.btn-dark-dh:hover {
  background: var(--dh-navy-2);
  border-color: var(--dh-navy-2);
  color: #fff;
}

.btn-outline-dh {
  background: transparent;
  color: var(--dh-pink);
  border: 2px solid var(--dh-pink);
  padding: 0.7rem 1.6rem;
}

.btn-outline-dh:hover {
  background: var(--dh-pink);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 0.7rem 1.6rem;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--dh-navy);
  border-color: #fff;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, #b30752 0%, var(--dh-pink) 60%, #f00a68 100%);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: #ffe0ee;
  text-decoration: underline;
}

.topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.topbar i {
  font-size: 0.95rem;
}

.topbar .topbar-right {
  white-space: nowrap;
}

.topbar .topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.topbar .topbar-social:hover {
  background: #fff;
  color: var(--dh-pink);
}

/* ---------- Navbar ---------- */
.navbar-dh {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 33, 71, 0.06), 0 8px 30px rgba(0, 33, 71, 0.08);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-dh .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-dh .brand-logo {
  height: 44px;
  width: auto;
}

.navbar-dh .navbar-brand .brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--dh-pink), var(--dh-pink-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(221, 11, 102, 0.35);
}

.navbar-dh .nav-link {
  color: var(--dh-navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 0.85rem !important;
  position: relative;
}

/* Top-level links: no underline indicator — active = pink text */
.navbar-dh .nav-link::after {
  display: none;
}

.navbar-dh .nav-link:hover,
.navbar-dh .nav-link.active {
  color: var(--dh-pink);
}

.navbar-dh .dropdown {
  position: relative;
}

.navbar-dh .dropdown-toggle::after {
  border-top-color: var(--dh-navy);
  margin-left: 0.5em;
}

.navbar-dh .dropdown-toggle.active::after {
  border-top-color: var(--dh-pink);
}

/* Dotted underline just under active parent label (subtle, no full bar) */
.navbar-dh .nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--dh-pink);
}

.navbar-dh .dropdown-menu {
  border: none;
  border-radius: 0.6rem;
  box-shadow: var(--dh-shadow);
  padding: 0.6rem;
  min-width: 250px;
}

.navbar-dh .dropdown-item {
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  color: var(--dh-navy);
}

.navbar-dh .dropdown-item i {
  opacity: 0.6;
}

.navbar-dh .dropdown-item:hover {
  background: rgba(221, 11, 102, 0.08);
  color: var(--dh-pink);
}

.navbar-dh .dropdown-item.active {
  background: var(--dh-pink);
  color: #fff;
  font-weight: 700;
}

.navbar-dh .dropdown-item:first-child {
  font-weight: 800;
}

/* Equal-size header CTA buttons — pushed to the far right */
.navbar-cta {
  margin-left: 0.9rem;
  white-space: nowrap;
}

.navbar-cta:first-of-type {
  margin-left: 1.8rem;
}

.navbar-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: auto;
  line-height: 1.3;
  border-width: 2px;
  border-radius: 0.4rem;
  box-shadow: none;
}

.navbar-cta .btn:hover {
  transform: none;
  box-shadow: none;
}

.navbar-dh .navbar-cta .btn.btn-lg { padding: 0.5rem 1rem; }

@media (max-width: 1199.98px) {
  .navbar-cta { margin-left: 0.25rem; }
  .navbar-cta:first-of-type { margin-left: 0.5rem; }
  .navbar-cta .btn { padding: 0.45rem 0.7rem; font-size: 0.75rem; }
}

/* ---------- HERO (video) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-color: var(--dh-navy);
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-el {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Poster/fallback under the video */
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video {
  z-index: 0;
}

/* Mute toggle (bottom-right of hero) */
.hero-mute {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 4;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: rgba(0, 33, 71, 0.8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.hero-mute .hero-mute-icon {
  font-size: 1.15rem;
  display: inline-flex;
}

.hero-mute:hover {
  transform: scale(1.04);
  background: var(--dh-pink);
  color: #fff;
}

.hero-mute[aria-pressed="false"] {
  background: var(--dh-pink);
  color: #fff;
}

.hero-mute[aria-pressed="false"] .hero-mute-icon {
  color: #fff;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  /* 16:9 cover: height 100% → width max needed */
  min-width: 100vw;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .hero-video iframe {
    width: 100vw;
    height: 56.25vw;
    min-width: auto;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 33, 71, 0.72) 0%, rgba(0, 33, 71, 0.55) 45%, rgba(0, 33, 71, 0.78) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffd9ea;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 34px;
  height: 3px;
  background: var(--dh-pink-hover);
  border-radius: 3px;
}

.hero h1 {
  color: #fff;
  font-weight: 900;
}

.hero .lead {
  color: #e9eef5;
  max-width: 620px;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-alt {
  background: var(--dh-gray-bg);
}

.section-navy {
  background: linear-gradient(135deg, var(--dh-navy) 0%, #073464 100%);
  color: #dbe6f2;
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-pink {
  background: linear-gradient(135deg, #b30752 0%, var(--dh-pink) 55%, var(--dh-pink-hover) 130%);
  color: #fff;
}

.section-pink h1,
.section-pink h2,
.section-pink h3 {
  color: #fff;
}

.section-pink .text-lead {
  color: #ffe9f3;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--dh-pink);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--dh-pink);
  border-radius: 3px;
}

.text-center .eyebrow::after {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--dh-pink);
  border-radius: 3px;
}

.section-navy .eyebrow,
.section-pink .eyebrow {
  color: #ffc4de;
}

.section-navy .eyebrow::before,
.section-pink .eyebrow::before {
  background: #ffc4de;
}

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

.section-head .lead,
.section-head .text-lead {
  max-width: 720px;
}

.section-head-center {
  text-align: center;
}

/* ---------- Cards ---------- */
.card-dh {
  border: 1px solid rgba(0, 33, 71, 0.06);
  border-radius: var(--dh-radius);
  overflow: hidden;
  box-shadow: var(--dh-shadow-sm);
  height: 100%;
  background: #fff;
  color: #3d4350;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-dh:hover {
  transform: translateY(-6px);
  box-shadow: var(--dh-shadow);
  border-color: rgba(221, 11, 102, 0.25);
}

.card-dh .card-text {
  color: #56606e;
  font-size: 0.96rem;
}

/* Force readable text inside cards even when placed on dark/pink sections */
.section-navy .card-dh,
.section-pink .card-dh,
.section-navy .card-dh .card-title,
.section-pink .card-dh .card-title {
  color: #3d4350;
}

.section-navy .card-dh .card-text,
.section-pink .card-dh .card-text {
  color: #56606e;
}

/* Translucent cards on dark sections keep light text */
.section-navy .card-glass,
.section-pink .card-glass,
.section-navy .card-glass .card-title,
.section-pink .card-glass .card-title {
  color: #fff;
}

.section-navy .card-glass .card-title,
.section-pink .card-glass .card-title {
  color: #fff;
}

.section-navy .card-glass,
.section-pink .card-glass {
  color: #dbe6f2;
}

/* ---------- Icon tiles (distinct treatments) ---------- */
.icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--dh-pink), var(--dh-pink-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(221, 11, 102, 0.3);
}

.icon-tile.icon-navy {
  background: linear-gradient(135deg, var(--dh-navy), var(--dh-navy-2));
  box-shadow: 0 8px 18px rgba(0, 33, 71, 0.3);
}

.icon-tile.icon-pastel {
  background: #fde8f2;
  color: var(--dh-pink);
  box-shadow: none;
}

.icon-tile.icon-soft-navy {
  background: #e6edf5;
  color: var(--dh-navy);
  box-shadow: none;
}

.icon-tile.icon-sm {
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  border-radius: 0.7rem;
}

/* Font Awesome inside tiles — crisp & centered */
.icon-tile i {
  line-height: 1;
}

.icon-tile .fa-solid,
.icon-tile .fa-brands {
  display: inline-flex;
}

.icon-tile .fa-brands {
  font-size: 1.4em;
}

.icon-tile.icon-sm .fa-brands {
  font-size: 1.2em;
}

/* Lucide (outline) icons — sharp strokes, sized to context */
.lucide {
  width: 1.25em;
  height: 1.25em;
  stroke-width: 1.75;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.icon-tile .lucide {
  width: 1.1em;
  height: 1.1em;
}

.icon-tile.icon-sm .lucide {
  width: 1.05em;
  height: 1.05em;
}

.icon-tile {
  font-size: 1.5rem;
}

.icon-tile .lucide {
  font-size: inherit;
}

a .lucide {
  display: inline-block;
}

.btn .lucide {
  margin-right: 0.35rem;
}

.icon-tile .lucide {
  margin-right: 0;
}

/* Value/quality chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid rgba(0, 33, 71, 0.12);
  color: var(--dh-navy);
}

.chip i {
  color: var(--dh-pink);
}

/* ---------- Placeholders ---------- */
.placeholder-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  border-radius: 0.7rem;
  width: 100%;
  gap: 0.3rem;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)) !important;
  border: 2px dashed rgba(255, 255, 255, 0.35) !important;
}

.ph-4x3 {
  aspect-ratio: 4/3;
}

.ph-16x9 {
  aspect-ratio: 16/9;
}

.ph-1x1 {
  aspect-ratio: 1/1;
}

.ph-3x2 {
  aspect-ratio: 3/2;
}

.ph-4x5 {
  aspect-ratio: 4/5;
}

.placeholder-block .placeholder-label {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0 1rem;
}

.placeholder-block .placeholder-size {
  font-size: 0.66rem;
  opacity: 0.85;
}

.ph-video {
  position: relative;
  cursor: pointer;
}

.ph-video .placeholder-play {
  font-size: 3rem;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Real image blocks (object-fit cover) */
.ph-img-block {
  position: relative;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--dh-gray-alt);
  width: 100%;
  border: 1px solid rgba(0, 33, 71, 0.06);
}

.ph-img-block.ph-4x3 {
  aspect-ratio: 4/3;
}

.ph-img-block.ph-16x9 {
  aspect-ratio: 16/9;
}

.ph-img-block.ph-1x1 {
  aspect-ratio: 1/1;
}

.ph-img-block.ph-3x2 {
  aspect-ratio: 3/2;
}

.ph-img-block.ph-4x5 {
  aspect-ratio: 4/5;
}

.ph-img-block .ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

/* portrait cards — keep centered */
.ph-img-block.ph-4x5 .ph-img,
.ph-img-block.ph-1x1 .ph-img {
  object-position: center center;
}

.card-dh:hover .ph-img-block .ph-img {
  transform: scale(1.05);
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  color: #fff;
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(120deg, rgba(0, 33, 71, 0.96) 0%, rgba(0, 33, 71, 0.82) 60%, rgba(221, 11, 102, 0.35) 130%),
    var(--dh-navy);
  overflow: hidden;
}

.page-head::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 100, 151, 0.25), transparent 65%);
}

.page-head .container {
  position: relative;
  z-index: 2;
}

.page-head h1 {
  color: #fff;
  font-weight: 900;
}

.page-head .lead {
  color: #d6e3f2;
}

.page-head .breadcrumb {
  margin-bottom: 0.8rem;
}

.breadcrumb-item a {
  color: #ffb3d6;
  font-weight: 600;
}

.breadcrumb-item.active {
  color: #c8d6ea;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Forms ---------- */
.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dh-navy);
}

.form-control,
.form-select {
  border-radius: 0.55rem;
  border-color: rgba(0, 33, 71, 0.18);
  padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dh-pink);
  box-shadow: 0 0 0 0.22rem rgba(221, 11, 102, 0.14);
}

.form-card {
  border: 1px solid rgba(0, 33, 71, 0.08);
  border-radius: var(--dh-radius);
  box-shadow: var(--dh-shadow);
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: none;
  margin-bottom: 0.8rem;
  border-radius: var(--dh-radius) !important;
  box-shadow: var(--dh-shadow-sm);
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  color: var(--dh-navy);
  background: #fff;
  padding: 1.1rem 1.4rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(120deg, #fff, #fdf2f7);
  color: var(--dh-pink);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(221, 11, 102, 0.3);
}

.accordion-body {
  color: #56606e;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--dh-radius-lg);
  box-shadow: var(--dh-shadow);
  padding: 2.5rem;
}

.testimonial-quote {
  color: var(--dh-pink);
  font-size: 3rem;
  line-height: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  background-color: var(--dh-pink);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-dark .carousel-control-prev-icon,
.carousel-dark .carousel-control-next-icon {
  filter: none;
}

/* Testimonial custom controls (non-blocking, below cards) */
.testimonial-indicators {
  position: static;
  margin: 0;
  bottom: auto;
}

.testimonial-indicators [data-bs-target] {
  background-color: rgba(0, 33, 71, 0.25);
  width: 10px;
  height: 10px;
}

.testimonial-indicators [data-bs-target].active {
  background-color: var(--dh-pink);
}

.testimonial-dot {
  border-radius: 50%;
  height: 12px;
  width: 12px;
  border: none;
  background: rgba(0, 33, 71, 0.25);
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.active {
  background: var(--dh-pink);
  transform: scale(1.2);
}

.testimonial-ctrl {
  color: var(--dh-pink);
}

.testimonial-ctrl:hover {
  background: var(--dh-pink);
  color: #fff;
}

.testimonial-ctrl:focus {
  box-shadow: 0 0 0 0.22rem rgba(221, 11, 102, 0.2);
}


/* ---------- Gallery ---------- */
.gallery-item .placeholder-block {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover .placeholder-block {
  transform: scale(1.03);
  box-shadow: var(--dh-shadow);
}

/* Gallery item link + hover */
.gallery-item .gallery-link,
.gallery-item a.gallery-link {
  display: block;
  border-radius: 0.7rem;
  overflow: hidden;
}

/* Job listing rows (list form) */
.job-row { text-decoration: none !important; }
.job-row .card-body { transition: background-color 0.15s ease; }
.job-row:hover .card-body { background-color: #fdf2f7; }
.job-row .job-row-icon { border-radius: 0.7rem; }
.job-row .job-row-cta { white-space: nowrap; }
.job-row .job-row-main { min-width: 220px; }

/* Event cards */
.event-card { text-decoration: none !important; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--dh-shadow); }
.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 72px;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--dh-pink), var(--dh-pink-hover));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(221,11,102,0.25);
}
.event-date-day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-date-month { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.event-meta { column-gap: 0.6rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 16, 35, 0.92);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  margin: 0 4rem;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0.6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #0b1f33;
}
.lightbox-content figcaption {
  color: #dfe9f3;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--dh-pink); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover { background: var(--dh-pink); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 640px) {
  .lightbox-content { margin: 0 3rem; }
}

/* ---------- Feature rows ---------- */
.feature-check {
  color: var(--dh-pink);
  font-size: 1.1rem;
}

/* ---------- Footer CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.14), transparent 45%);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #00162e;
  color: #9db3cb;
  padding: 4rem 0 1.6rem;
}

.site-footer h6 {
  color: #fff;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

.site-footer a {
  color: #9db3cb;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--dh-pink-hover);
}

.site-footer a.active-footer {
  color: var(--dh-pink-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 0.55rem;
}

.site-footer .footer-contact li {
  display: flex;
  gap: 0.6rem;
}

.site-footer .footer-contact i {
  color: var(--dh-pink-hover);
  margin-top: 0.2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-social a:hover {
  background: var(--dh-pink);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
}

/* ---------- Utility ---------- */
.stat-grid .stat-num {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--dh-pink);
  line-height: 1.2;
  word-break: break-word;
}
.stat-grid .stat-label {
  font-size: 0.9rem;
  color: #6b7484;
}
.section-navy .stat-grid .stat-label { color: #c8d6ea; }

.section-navy .stat-num,
.section-pink .stat-num {
  color: #fff;
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--dh-shadow);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .navbar-cta {
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .navbar-cta .btn {
    min-width: 46%;
  }
}

/* ---------- Toasts (frontend) ---------- */
.toast-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 380px;
}
.dh-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: #1a2333;
  box-shadow: 0 12px 40px rgba(16,33,64,0.16);
  border: 1px solid #e7ebf1;
  font-size: 0.92rem;
  animation: dh-toast-in 0.25s ease;
}
.dh-toast.toast-success { border-left: 4px solid #1aa45b; }
.dh-toast.toast-error   { border-left: 4px solid #d0343f; }
.dh-toast .toast-icon { color: #1aa45b; flex-shrink: 0; }
.dh-toast.toast-error .toast-icon { color: #d0343f; }
.dh-toast.toast-leave { opacity: 0; transform: translateY(12px); }
@keyframes dh-toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }


/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2150;
  background: linear-gradient(135deg, #002147 0%, #083358 100%);
  color: #e7eef7;
  box-shadow: 0 -12px 40px rgba(0, 33, 71, 0.28);
  border-top: 3px solid var(--dh-pink);
  animation: cookie-banner-in 0.45s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--dh-pink-hover);
  display: flex; align-items: center; justify-content: center;
}
.cookie-banner-icon i { width: 24px; height: 24px; }
.cookie-banner-text {
  flex: 1 1 340px;
  min-width: 240px;
  font-size: 0.92rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cookie-banner-text strong { color: #fff; font-weight: 700; }
.cookie-banner-text a { color: var(--dh-pink-hover); text-decoration: underline; }
.cookie-banner-text a:hover { color: #fff; }
.cookie-banner-actions {
  flex-shrink: 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn { border-radius: 0.45rem; font-weight: 700; }
@keyframes cookie-banner-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) {
  .cookie-banner-inner { padding: 1rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 45%; }
}

/* Footer legal links (Privacy / Cookies) — in the Community column */
.footer-legal-sep hr {
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}
.footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  color: #9db3cb;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-legal-link:hover { color: var(--dh-pink-hover); }


/* ---------- Error pages (404 / 403 / 500) ---------- */
.section-error { padding: 6rem 0 7rem; }
.error-code {
  font-size: clamp(5.5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--dh-navy) 0%, var(--dh-pink) 70%, var(--dh-pink-hover) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}
.error-icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #f0d8e4;
  color: var(--dh-pink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--dh-shadow-sm);
}
.error-icon-wrap i { width: 34px; height: 34px; }
.error-help { border: 1px solid #e8ecf2; }
.error-help-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 0.55rem;
  background: var(--dh-gray-bg);
  color: var(--dh-navy);
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.error-help-link::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dh-pink);
  flex-shrink: 0;
}
.error-help-link:hover {
  background: var(--dh-pink);
  color: #fff;
  transform: translateY(-2px);
}
.error-help-link:hover::before { background: #fff; }


/* ---------- Alumni cards + right drawer ---------- */
.alumni-card-new {
  width: 100%;
  text-align: left;
  border: 1px solid #e7ebf1;
  border-radius: 16px;
  background: #fff;
  padding: 1.1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 8px 26px rgba(16,33,64,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.alumni-card-new:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(16,33,64,0.14); border-color: #f7c9db; }
.alumni-avatar-wrap {
  position: relative;
  display: block;
  width: 86px; height: 86px;
  border-radius: 50%;
  overflow: hidden;
  margin-inline: auto;
  background: #eef0f3;
  border: 3px solid #fff;
}
.alumni-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.alumni-avatar-badge {
  position: absolute; right: 0; bottom: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 2px solid #fff;
  color: var(--dh-pink); display: flex; align-items: center; justify-content: center;
}
.alumni-avatar-badge .lucide { width: 14px; height: 14px; }
.alumni-card-name { font-weight: 800; color: #002147; font-size: 0.98rem; text-align: center; }
.alumni-card-meta { display: block; text-align: center; }
.alumni-card-year { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dh-pink); font-weight: 700; }
.alumni-card-now { display: block; font-size: 0.8rem; color: #6b7686; line-height: 1.3; }

/* Right drawer */
.alumni-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 94vw);
  background: #fff; z-index: 2400;
  box-shadow: -20px 0 60px rgba(16,33,64,0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  border-left: 1px solid #e7ebf1;
}
.alumni-drawer.open { transform: none; }
.alumni-drawer-head {
  padding: 1rem 1.2rem; border-bottom: 1px solid #e7ebf1;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: #002147;
}
.alumni-drawer-close { border: 1px solid #e7ebf1; background: #fff; width: 36px; height: 36px; border-radius: 9px; font-size: 1.3rem; line-height: 1; }
.alumni-drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; }
.alumni-drawer-backdrop {
  position: fixed; inset: 0; z-index: 2390;
  background: rgba(16,33,64,0.45); display: none;
}
.alumni-drawer-backdrop.show { display: block; }

.alumni-profile-head { display: flex; gap: 1rem; align-items: center; }
.alumni-profile-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #eef0f3; }
.alumni-profile-titles { flex: 1; }
.alumni-profile-titles h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: #002147; }
.alumni-profile-sub { margin: 0.2rem 0 0; font-size: 0.85rem; color: #6b7686; }
.alumni-profile-now { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--dh-pink); font-weight: 600; }
.alumni-profile-quote { font-size: 1.02rem; font-style: italic; color: #3d4350; border-left: 3px solid var(--dh-pink); padding-left: 1rem; margin: 1.4rem 0; }
.alumni-profile-bio { font-size: 0.96rem; line-height: 1.7; color: #3d4350; margin-bottom: 1.4rem; }
.alumni-profile-bio + h4, .alumni-profile-bio h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #002147; margin-bottom: 0.6rem; }
.alumni-ach-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: #fdeef4; color: var(--dh-pink); font-size: 0.82rem; font-weight: 600;
}
