/* ==== RESET & THEME ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-soft: #38bdf8;
  --accent: #22c55e;
  --dark: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --radius-xl: 20px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.09);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ==== LAYOUT CONTAINER ==== */
/* এখানে ফাইনাল সমাধান: বড় স্ক্রিনে 1320px, ছোট স্ক্রিনে পুরো width
   তাই দুই পাশে ফাঁকা কম হবে কিন্তু আবার অনেক বড়ও লাগবে না */
.container {
  width: min(1320px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

/* ==== NAVBAR ==== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5f2ff;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.menu-toggle .menu-label {
  display: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a {
  color: #cbd5f5;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #ffffff;
}

.nav-links a.active {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.98);
  }

  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    align-self: flex-end;
    padding: 12px 14px;
  }
  .menu-toggle .menu-label {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    position: static;
    height: auto;
    max-height: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links a.active {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42);
  }

  .navbar .btn-primary,
  .navbar .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    margin-left: 0;
  }

  /* Allow body scroll; if a lock class is ever applied, keep menu scrollable */
  body.nav-open,
  body.mobile-menu-open {
    overflow: auto;
  }
  .nav-links.nav-open,
  .nav-links.mobile-menu-open,
  body.nav-open .nav-links,
  body.mobile-menu-open .nav-links {
    display: flex;
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* ==== HERO (সব পেজে ব্যবহারযোগ্য) ==== */
.hero {
  padding: 80px 0 72px;
  background: radial-gradient(circle at top left, #38bdf8 0, #2563eb 40%, #0f172a 100%);
  color: #e0f2fe;
}

/* HERO background + dark overlay */
.hero--home {
  position: relative;
  overflow: hidden;
  min-height: 80vh; /* keep video roomy but not overly tall */
  background:
    /* overlayটা একটু বেশি ডার্ক করলাম */
    linear-gradient(120deg, rgba(6, 10, 18, 0.68), rgba(6, 10, 18, 0.78));
}

/* Background video used only on larger screens; positioned behind content */
.hero--home .hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center 38%; /* keep key action in frame */
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero--home {
    aspect-ratio: 16 / 9;
    min-height: auto;
    padding: 0;
  }
  .hero--home .container {
    position: relative;
    z-index: 2;
    padding: 42px 0;
  }
  .hero--home .hero-bg-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 769px) {
  .hero--home .hero-bg-video { display: block; }
  .hero--home::before { content: ""; position: absolute; inset: 0; background: rgba(6,9,16,0.16); z-index: 0; }
  .hero--home .container { position: relative; z-index: 1; }
}

.hero--growth {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.64), rgba(6, 10, 18, 0.78)),
    url("images/tracking.gif") center top/cover no-repeat; /* fallback if video fails */
  color: #e0f2fe;
  padding: 140px 0 220px; /* extra height so the full GIF fits without cropping */
  min-height: 82vh; /* give the video enough vertical room to fit without letterboxing */
}
.hero--growth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22); /* darker overlay to keep text readable over video */
  z-index: 1;
}
.hero--growth .container {
  position: relative;
  z-index: 2;
}
.hero--growth .hero-tag {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(226, 232, 240, 0.7);
  color: #e2e8f0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.hero--growth .hero-grid {
  align-items: flex-start; /* lift text while letting the card sit lower */
}
.hero--growth .hero-visual {
  margin-top: 140px;
  align-self: flex-end;
}
.hero--growth .hero-bg-video--growth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 36%; /* keep the focal point framed instead of cropping the top */
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--growth .hero-bg-video--growth { display: none; }
}

@media (max-width: 1024px) {
  .hero--growth {
    padding: 120px 0 170px;
    min-height: 76vh;
  }
  .hero--growth .hero-bg-video--growth {
    object-position: center 30%;
  }
  .hero--growth .hero-visual {
    margin-top: 110px;
  }
}

@media (max-width: 720px) {
  .hero--growth {
    padding: 110px 0 140px;
    min-height: 70vh;
  }
  .hero--growth .hero-bg-video--growth {
    object-position: center 26%;
  }
  .hero--growth .hero-visual {
    margin-top: 52px;
    align-self: start;
  }
}

.hero--campus {
  position: relative;
  background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 45%, #0f172a 100%);
  color: #e0f2fe;
}
.hero--campus .container { position: relative; z-index: 1; }

.hero--mission {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(6, 10, 18, 0.64), rgba(6, 10, 18, 0.76));
  color: #e0f2fe;
  padding: 220px 0 240px; /* add breathing room so the video and text avoid cropping */
  min-height: 88vh;
}
.hero--mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, 0.08); /* lighter overlay so the video stays clear */
  z-index: 1;
}
.hero--mission .container { position: relative; z-index: 2; }
.hero--mission .hero-grid {
  background: transparent;
  color: #e0f2fe;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 32px;
}
.hero--mission .hero-title { color: #f8fafc; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero--mission .hero-eyebrow { color: #a5f3fc; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero--mission .hero-text { color: #e2e8f0; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero--mission .hero-tag {
  background: rgba(6, 10, 18, 0.55);
  border-color: rgba(224, 242, 254, 0.4);
  color: #e0f2fe;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.hero--mission .hero-grid > div:first-child {
  margin-left: -14px; /* nudge hero text slightly left for better framing */
}
.hero--mission .hero-grid {
}
.hero--mission .hero-visual {
  position: relative;
  justify-self: end;
  align-self: end;
  margin: 0;
}

.hero--mission .hero-bg-video--mission {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* frame lower so both heads and lower text stay in view */
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--mission .hero-bg-video--mission { display: none; }
}

.hero--mission.hero--verification {
  /* Use the verification GIF directly so the characters stay visible */
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.45), rgba(6, 10, 18, 0.58)),
    url("images/Verification.gif") center 18%/cover no-repeat;
  overflow: hidden;
}
.hero--mission.hero--verification::before {
  background: rgba(6, 9, 16, 0.08); /* lighter overlay to clear visuals */
  z-index: 2;
}
.hero--mission.hero--verification::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/Verification.gif") center 18%/cover no-repeat;
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.hero--mission.hero--verification .container { position: relative; z-index: 3; }

.hero--mission.hero--verification .hero-bg-video--verification {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--mission.hero--verification .hero-bg-video--verification { display: none; }
}

.hero--testimonials {
  position: relative;
  overflow: hidden;
  background: #0b1120; /* fallback if video fails */
  color: #f8fafc;
  padding: 120px 0 110px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero--testimonials .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero--testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
  z-index: 0;
}
.hero--testimonials .container {
  position: relative;
  z-index: 1;
  margin-left: 0;
  margin-right: auto;
  width: min(1400px, 100% - 1.5rem);
}
.hero--testimonials .hero-title { color: #f8fafc; }
.hero--testimonials .hero-title span { color: #9efcff; }
.hero--testimonials .hero-text { color: #f1f5f9; }
.hero--testimonials .hero-eyebrow,
.hero--testimonials .hero-title,
.hero--testimonials .hero-text {
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero--testimonials .hero-tag {
  background: rgba(11,17,32,0.5);
  border-color: rgba(226, 232, 240, 0.75);
  color: #f8fafc;
}
.hero--testimonials .hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.6fr);
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.hero--testimonials .hero-grid > div:first-child {
  max-width: 620px;
  margin: 0 0 0 24px; /* nudge primary text block slightly right */
  background: rgba(248, 250, 252, 0.9);
  color: #0f172a;
  padding: 18px 18px 20px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
}
.hero--testimonials .hero-grid > div:first-child .hero-eyebrow,
.hero--testimonials .hero-grid > div:first-child .hero-title,
.hero--testimonials .hero-grid > div:first-child .hero-text {
  color: #0f172a;
  text-shadow: none;
}
.hero--testimonials .hero-grid > div:first-child .hero-title span {
  color: #0ea5e9;
}
.hero--testimonials .hero-grid > div:first-child .hero-tag {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}
.hero--testimonials .hero-visual {
  max-width: 380px;
  margin: 0 0 0 auto; /* push the right card farther to the right */
  justify-self: end;
  align-self: flex-start;
  padding: 16px;
}
.hero--testimonials .hero-visual-inner {
  padding: 14px;
  min-height: 180px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

/* Home page extra wrappers */
.hero-left {
  max-width: 620px;
}
.hero-right {
  max-width: 460px;
}

/* ছোট ইন্ট্রো টেক্সট */
.hero-kicker,
.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #a5f3fc;
  margin-bottom: 10px;
}

/* বড় টাইটেল */
.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-title span {
  color: #bbf7d0;
}

/* প্যারাগ্রাফ */
.hero-text {
  font-size: 0.98rem;
  color: #dbeafe;
  max-width: 520px;
}

/* ছোট ছোট ট্যাগ */
.hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.hero-tag {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.7);
  color: #e0f2fe;
}
.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* HERO – Right side Card */
.hero-visual {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.5), transparent 55%),
    radial-gradient(circle at bottom, rgba(34, 197, 94, 0.45), transparent 55%);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-visual-inner {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 22px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  min-height: 220px;
}

.hero-chip {
  position: absolute;
  top: 18px;
  right: 26px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.8);
  font-size: 0.78rem;
  color: #e0f2fe;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

@media (max-width: 768px) {
  .hero-chip {
    position: static;
    margin-bottom: 12px;
    display: inline-flex;
  }
  .hero--mission .hero-visual {
    align-self: flex-start;
  }
}
.hero-stat {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-top: 16px;
}
.hero-stat span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e5f2ff;
}
.hero-stat span:last-child {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* extra grid for multiple stats */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.hero-stat-grid .hero-stat h4 {
  font-size: 1.1rem;
  color: #e5f2ff;
}
.hero-stat-grid .hero-stat p {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ==== BUTTONS ==== */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.55);
}
.btn-primary span {
  font-size: 1rem;
}
.btn-primary:hover {
  background: #0f172a;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #e0f2ff;
  border: 1px solid rgba(219, 234, 254, 0.7);
}
.btn-outline:hover {
  background: rgba(15, 23, 42, 0.45);
}

/* Skip link (visually hidden until focused) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--dark);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.18);
  z-index: 60;
}

/* Visible focus styles for keyboard users */
a:focus,
button:focus,
.btn-primary:focus,
.btn-outline:focus {
  outline: 3px solid rgba(56,189,248,0.28);
  outline-offset: 2px;
}

/* === Full-width hero (image) ===
   Use `.hero--full` on a section that should bleed edge-to-edge while
   keeping text constrained inside `.container`.
   Technique: set the hero to 100vw and offset its margin so it aligns
   with the viewport edges while the inner `.container` remains centered.
*/
.hero--full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 0 72px;
  background-size: cover;
  background-position: center center;
  color: #eaf6ff;
}
.hero--full::before {
  /* overlay for readability */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.36), rgba(15,23,42,0.6));
  z-index: 0;
}
.hero--full .container {
  position: relative; /* brings content above overlay */
  z-index: 1;
}

/* === Full-width hero with background VIDEO ===
   Use `.hero--video` with an inline <video> element that is absolutely
   positioned and `object-fit: cover`. Provide a `poster` attribute and
   include a fallback background-image for browsers that block autoplay.
*/
.hero--video {
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 0;
  color: #ffffff;
}
.hero--video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero--video::after {
  /* subtle dark overlay to ensure text contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,9,16,0.35);
  z-index: 0;
}
.hero--video .container { z-index: 1; position: relative; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero--video video { display: none; }
}

/* ==== SECTION HEADER ==== */
.section-header {
  max-width: 720px;
  margin-bottom: 26px;
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 6px;
}
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ==== STATS GRID (হোম + Growth) ==== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.stat-card {
  background: var(--card-bg);
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 4px;
}
.stat-tagline {
  font-size: 0.8rem;
  margin-top: 4px;
  color: #16a34a;
}

/* ==== CARD GRID (Mission, Growth, CTA etc.) ==== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
  transition: 0.2s ease;
}
.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.card-meta {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ==== VIDEO GRID (Success Stories) ==== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.3);
  border: 2px dashed rgba(148, 163, 184, 0.6);
  border-radius: 14px;
}
.video-title {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.video-card:nth-child(odd) .video-title { color: #cbd5e1; }

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}
.testimonial-quote {
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 10px;
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==== GALLERY (Campus) ==== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.gallery-item {
  background: #0f172a;
  border-radius: 18px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* ==== MINI GALLERY (Home) ==== */
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.mini-item {
  background: #020617;
  border-radius: 16px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}
.mini-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

/* ==== PAGE LINK GRID (Home) ==== */
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.page-card {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.page-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.page-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.page-card a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* ==== APPLY PAGE LAYOUT ==== */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
}
.apply-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
}
.form-field label {
  font-weight: 600;
  color: var(--dark);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
  outline: none;
}
.form-field textarea {
  min-height: 80px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* ==== CTA BAND (Home bottom) ==== */
.cta-band {
  margin-top: 24px;
  padding: 20px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-band p {
  max-width: 520px;
  font-size: 0.9rem;
}

/* ==== FOOTER ==== */
.footer {
  background: #020617;
  color: #94a3b8;
  padding: 24px 0 20px;
  font-size: 0.8rem;
  margin-top: 40px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero--mission .hero-grid > div:first-child {
    margin-left: 0;
  }
  .hero--mission .hero-visual {
    position: static;
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    align-self: start;
    margin-top: 0;
    margin-right: 0;
  }
  .apply-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .navbar-inner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 2rem;
  }
  .section {
    padding: 56px 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero section-এর ভিতরের সব লেখা লাইট করে দিচ্ছি */
.hero--home,
.hero--home h1,
.hero--home h2,
.hero--home h3,
.hero--home p,
.hero--home .hero-tag,
.hero--home .hero-meta {
  color: #f9fafb;
}

/* মূল টাইটেল একটু বেশি হাইলাইট */
.hero--home .hero-title {
  color: #f9fafb;
}

/* 'Next' বা 'Generation' টাইপ হাইলাইট করা span */
.hero--home .hero-title span {
  color: #a3e635;
}

/* সাবটাইটেল একটু ফিকে কিন্তু readable টোন */
.hero--home .hero-text {
  color: #e5e7eb;
}

/* ট্যাগ / ছোট বাটন টাইপ ব্যাজ থাকলে */
.hero--home .hero-tag {
  background: rgba(15,23,42,0.6);
  border-color: rgba(148,163,184,0.7);
}

@media (max-width: 768px) {
  .hero,
  .hero--home,
  .hero--mission,
  .hero--growth,
  .hero--testimonials,
  .hero--campus {
    overflow: visible;
    width: 100%;
    min-height: auto;
  }

  .hero video.hero-bg-video,
  .hero--home .hero-bg-video,
  .hero--mission .hero-bg-video--mission,
  .hero--mission.hero--verification .hero-bg-video--verification,
  .hero--growth .hero-bg-video--growth,
  .hero--testimonials .hero-bg-video,
  .hero--campus .hero-bg-video {
    display: block;
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }

  /* page-specific focus points removed on mobile to show full frame */

  .hero .container.hero-grid,
  .hero--home .hero-grid,
  .hero--mission .hero-grid,
  .hero--growth .hero-grid,
  .hero--testimonials .hero-grid,
  .hero--campus .hero-grid {
    position: relative;
    z-index: 2;
    padding: 28px 0 40px;
    gap: 18px;
  }
}


.music-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 16, 35, 0.9);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
}

#bg-music-toggle {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

#bg-music-volume {
  width: 90px;
}

@media (max-width: 768px) {
  /* Relax hero media sizing on mobile to avoid cropping */
  .hero video.hero-bg-video,
  .hero--home .hero-bg-video,
  .hero--mission .hero-bg-video--mission,
  .hero--mission.hero--verification .hero-bg-video--verification,
  .hero--growth .hero-bg-video--growth,
  .hero--testimonials .hero-bg-video,
  .hero--campus .hero-bg-video {
    position: static;
    inset: auto;
    transform: none;
    display: block;
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    margin-bottom: 14px;
  }

  .hero,
  .hero--home,
  .hero--mission,
  .hero--growth,
  .hero--testimonials,
  .hero--campus {
    overflow: visible;
    min-height: auto;
  }
}
