/* =====================================================================
   CDSA — Clinical Data Science Academy
   Global Stylesheet
   Fonts: Roboto (headings/primary) + Open Sans (body/secondary)
   ===================================================================== */

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

/* ── CSS Variables ── */
:root {
  --cdsa-navy: #0d2b5e;
  --cdsa-blue: #1565c0;
  --cdsa-sky: #1976d2;
  --cdsa-accent: #00acc1;
  --cdsa-light: #e3f2fd;
  --cdsa-gold: #f9a825;
  --cdsa-white: #ffffff;
  --cdsa-gray: #f8f9fa;
  --cdsa-text: #2c3e50;
  --cdsa-muted: #6c757d;
  --cdsa-border: #dee2e6;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .18);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cdsa-text);
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cdsa-navy);
}

a {
  color: var(--cdsa-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cdsa-accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Cookie Consent ── */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 43, 94, 0.97);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .25);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cookie-consent.show {
  transform: translateY(0);
}

#cookie-consent p {
  margin: 0;
  font-size: 14px;
  flex: 1;
}

#cookie-consent p a {
  color: var(--cdsa-accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btns button {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

#cookie-accept {
  background: var(--cdsa-accent);
  color: #fff;
}

#cookie-accept:hover {
  background: #00838f;
}

#cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}

#cookie-decline:hover {
  background: rgba(255, 255, 255, .1);
}

/* ── Navbar ── */
#main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--cdsa-navy);
  padding: 0;
  box-shadow: none;
}

/* Desktop only: hide navbar initially, reveal via JS scroll classes */
@media (min-width: 992px) {
  #main-navbar {
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      background 0.3s ease,
      box-shadow 0.3s ease;
  }
  #main-navbar.nav-visible {
    transform: translateY(0);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
  }
  #main-navbar.nav-top {
    transform: translateY(0);
    background: transparent;
    box-shadow: none;
  }
  #main-navbar.nav-top.scrolled {
    background: var(--cdsa-navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
  }
}

/* Mobile: no transform, always visible — pure fixed positioning */
@media (max-width: 991px) {
  #main-navbar {
    transform: none !important;
  }
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--cdsa-blue), var(--cdsa-accent));
  border-radius: 13px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.brand-text em {
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  color: var(--cdsa-accent);
  letter-spacing: 0.2px;
}

.navbar-nav .nav-link {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: rgba(255, 255, 255, .85) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .12);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
}

/* Dropdown menu — hover triggered */
.navbar-nav .dropdown-menu {
  background: var(--cdsa-navy);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  margin-top: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  display: block;
}

@media (min-width: 992px) {
  .hover-dropdown:hover>.dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.navbar-nav .dropdown-item {
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-secondary);
  font-size: 14px;
  padding: 8px 20px;
  transition: all var(--transition);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.navbar-nav .dropdown-toggle::after {
  border-top-color: rgba(255, 255, 255, .7);
}

/* Search — expands left from search icon, half menubar width */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-toggle {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  transition: all var(--transition);
  position: relative;
  z-index: 1062;
}

.nav-search-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.nav-search-form {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1061;
  margin-right: 6px;
}

.nav-search-form.open {
  width: 38vw;
  max-width: 420px;
}

.nav-search-form input {
  background: #fff;
  border: 2px solid var(--cdsa-accent);
  color: var(--cdsa-text);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  width: 100%;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav-search-form input::placeholder {
  color: var(--cdsa-muted);
}

.nav-search-form input:focus {
  outline: none;
  border-color: var(--cdsa-blue);
  box-shadow: 0 4px 20px rgba(21, 101, 192, .25);
}

/* Hide the separate close button — search icon itself toggles */
.nav-search-close {
  display: none;
}

/* ── Hero Banner Slider ── */
#hero-slider {
  position: relative;
  z-index: 0;
  width: 100%;
  height: calc(100vh + 60px);
  min-height: 700px;
  overflow: hidden;
  background: var(--cdsa-navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  will-change: transform;
}

.hero-slide.active img {
  animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 43, 94, .82) 0%, rgba(21, 101, 192, .55) 60%, rgba(0, 172, 193, .2) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5% 60px;
}

.hero-text {
  max-width: 620px;
  color: #fff;
}

.hero-text .hero-badge,
.hero-text h1,
.hero-text p,
.hero-text .hero-btns,
.hero-text .hero-meta {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide.active .hero-text .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-text h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.hero-slide.active .hero-text p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-slide.active .hero-text .hero-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero-slide.active .hero-text .hero-btns {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.hero-badge {
  display: inline-block;
  background: var(--cdsa-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-text h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, .88);
  margin-bottom: 28px;
  font-family: var(--font-secondary);
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span i {
  color: var(--cdsa-accent);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--cdsa-accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--cdsa-accent);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.btn-hero-primary:hover {
  background: #00838f;
  border-color: #00838f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 172, 193, .4);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: 2px solid rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--cdsa-accent);
  border-color: var(--cdsa-accent);
  width: 28px;
  border-radius: 50px;
}

.hero-arrow {
  position: absolute;
  bottom: 160px;
  z-index: 10;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 18px;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--cdsa-accent);
  border-color: var(--cdsa-accent);
}

.hero-arrow.prev-arrow {
  left: 27px;
}

.hero-arrow.next-arrow {
  right: 27px;
}

/* ── Trusted By Logo Bar ── */
#trusted-by {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  padding: 0 5%;
}

.trusted-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .10);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.trusted-label {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cdsa-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.trusted-slider-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trusted-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: trustedScroll 25s linear infinite;
}

.trusted-logo {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
}

.trusted-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.trusted-logo img:hover {
  transform: scale(1.1);
}

@keyframes trustedScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.trusted-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  #trusted-by {
    margin-top: -32px;
    padding: 0 16px;
  }

  .trusted-inner {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    text-align: center;
  }

  .trusted-label {
    align-items: center;
    font-size: 11px;
  }

  .trusted-track {
    gap: 40px;
  }

  .trusted-logo img {
    height: 24px;
  }
}

/* ── Section Common ── */
.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-label {
  display: inline-block;
  background: var(--cdsa-light);
  color: var(--cdsa-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-family: var(--font-primary);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--cdsa-navy);
  margin-bottom: 12px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--cdsa-blue), var(--cdsa-accent));
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-desc {
  color: var(--cdsa-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Why — Bento Grid ── */
/* ── Why Section / Bento Grid ─────────────────────────────── */
#why-section {
  padding: 72px 0;
  background: #eef2f7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 190px 48px 190px;
  grid-template-areas:
    "blue  blue  blue  mint  mint  green  green  green"
    "blue  blue  blue  teal  teal  teal   teal   teal"
    "sand  sand  sand  teal  teal  teal   teal   teal";
  gap: 16px;
}

/* Card base */
.bento-card {
  border-radius: 22px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s cubic-bezier(.25,.8,.25,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: default;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .13);
}

/* ── Decorative Icon (inline, above stat) ──────────────────── */
.bento-deco {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.bento-deco i { line-height: 1; }

.bento-card:hover .bento-deco {
  transform: scale(1.1) rotate(-4deg);
}

/* Per-card icon box colors */
.bento-blue .bento-deco        { background: rgba(255,255,255,.2);  color: #fff; }
.bento-green-light .bento-deco { background: rgba(0,110,90,.15);   color: #1b6e5a; }
.bento-green .bento-deco       { background: rgba(0,90,50,.14);     color: #1a6b3a; }
.bento-warm .bento-deco        { background: rgba(160,100,30,.14);  color: #8a5a1a; }
.bento-teal .bento-deco        { background: rgba(0,80,70,.14);     color: #175c52; }

/* ── Decorative Bubbles (round, big, abstract) ─────────────── */
.bento-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease;
}

.bento-bubble--1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: -20px;
  opacity: 0.3;
  animation: bentoBubbleDrift1 6s ease-in-out infinite;
}

.bento-bubble--2 {
  width: 45px;
  height: 45px;
  bottom: -8px;
  left: -8px;
  opacity: 0.2;
  animation: bentoBubbleDrift2 7s ease-in-out infinite;
}

@keyframes bentoBubbleDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-8px, 10px) scale(1.05); }
  50%  { transform: translate(5px, 18px) scale(0.95); }
  75%  { transform: translate(-4px, 6px) scale(1.03); }
}

@keyframes bentoBubbleDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(10px, -8px) scale(1.06); }
  60%  { transform: translate(-6px, -14px) scale(0.94); }
  85%  { transform: translate(5px, -4px) scale(1.02); }
}

/* Bubble hover — big bubble grows + glows */
.bento-card:hover .bento-bubble--1 {
  opacity: 0.5;
  animation: bentoBubbleHover1 3s ease-in-out infinite;
}

.bento-card:hover .bento-bubble--2 {
  opacity: 0.35;
}

@keyframes bentoBubbleHover1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-14px, 18px) scale(1.15); }
}

/* Per-card bubble colors */
.bento-blue .bento-bubble        { background: rgba(255,255,255,.3); }
.bento-green-light .bento-bubble { background: rgba(0,110,90,.18); }
.bento-green .bento-bubble       { background: rgba(0,90,50,.18); }
.bento-warm .bento-bubble        { background: rgba(180,120,40,.2); }
.bento-teal .bento-bubble        { background: rgba(0,80,70,.18); }

/* Stat number */
.bento-stat {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-primary);
  position: relative;
  z-index: 1;
}

.bento-stat-text {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-primary);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

.bento-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.bento-card p {
  font-size: 13px;
  line-height: 1.55;
  margin: 8px 0 0;
  opacity: .75;
  position: relative;
  z-index: 1;
}

/* ── Grid area assignments ── */
.bento-tall        { grid-area: blue; }
.bento-green-light { grid-area: mint; }
.bento-green       { grid-area: green; }
.bento-warm        { grid-area: sand; }
.bento-teal        { grid-area: teal; }

/* Blue card — bigger bubble */
.bento-tall .bento-bubble--1 {
  width: 140px;
  height: 140px;
  top: -28px;
  right: -28px;
}

.bento-tall .bento-bubble--2 {
  width: 60px;
  height: 60px;
  bottom: -12px;
  left: auto;
  right: 60px;
}

/* ── Color themes ── */

/* Blue gradient — top left */
.bento-blue {
  background: linear-gradient(165deg, #163b5e 0%, #1e5a8a 40%, #2d7ab5 100%);
  color: #fff;
}

.bento-blue .bento-stat { color: #7ec8e3; }
.bento-blue h5 { color: #fff; }
.bento-blue p  { color: rgba(255, 255, 255, .75); }

/* Light mint — top middle */
.bento-green-light {
  background: linear-gradient(150deg, #eaf5f1 0%, #f4faf7 100%);
}

.bento-green-light .bento-stat { color: #1b6e5a; }
.bento-green-light h5 { color: var(--cdsa-navy); }

/* Soft green — top right */
.bento-green {
  background: linear-gradient(150deg, #d6eedc 0%, #e9f5ed 100%);
}

.bento-green .bento-stat { color: #1a6b3a; font-weight: 900; }
.bento-green h5 { color: var(--cdsa-navy); }

/* Warm sand — bottom left (under blue) */
.bento-warm {
  background: linear-gradient(150deg, #f3e3cb 0%, #faf0e2 100%);
}

.bento-warm .bento-stat-text { color: var(--cdsa-navy); }
.bento-warm h5 { color: var(--cdsa-navy); }

/* Teal — bottom right, feature card (wide + tall row) */
.bento-teal {
  background: linear-gradient(150deg, #5bb8ad 0%, #7ecfc6 40%, #b5e4de 100%);
  padding: 32px 30px;
}

.bento-teal .bento-stat {
  font-size: 3rem;
  color: #0f4a42;
  font-weight: 900;
}

.bento-teal h5 {
  font-size: 1rem;
  color: var(--cdsa-navy);
}

.bento-teal p {
  font-size: 13px;
  color: rgba(0, 30, 25, .75);
  max-width: 440px;
}

.bento-teal .bento-bubble--1 {
  width: 150px;
  height: 150px;
  top: -30px;
  right: -30px;
  opacity: 0.25;
}

.bento-teal .bento-bubble--2 {
  width: 70px;
  height: 70px;
  bottom: -14px;
  left: 45%;
  opacity: 0.18;
}

.bento-teal .bento-bubble--1 {
  width: 110px;
  height: 110px;
  top: -18px;
  right: -18px;
  opacity: 0.3;
}

.bento-teal .bento-bubble--2 {
  width: 65px;
  height: 65px;
  bottom: -12px;
  left: 30%;
  opacity: 0.2;
}

/* ── Courses Section ── */
#courses-section {
  padding: 72px 0;
}

.track-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.track-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--cdsa-border);
  background: #fff;
  color: var(--cdsa-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.track-tab:hover {
  border-color: var(--cdsa-blue);
  color: var(--cdsa-blue);
}

.track-tab.active {
  background: var(--cdsa-navy);
  border-color: var(--cdsa-navy);
  color: #fff;
}

/* ══ Course Grid ══ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ══ Modern Course Card ══ */
.cc-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 24px rgba(13, 43, 94, .07);
  border: 1px solid rgba(13, 43, 94, .06);
  transition: transform .35s cubic-bezier(.25, .46, .45, .94),
    box-shadow .35s cubic-bezier(.25, .46, .45, .94);
}

.cc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(13, 43, 94, .15), 0 2px 8px rgba(13, 43, 94, .06);
}

/* ── Image ── */
.cc-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.cc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.cc-card:hover .cc-img-wrap img {
  transform: scale(1.08);
}

.cc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 43, 94, .55) 100%);
  pointer-events: none;
}

/* Delivery type badge — top-left */
.cc-delivery {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cc-delivery.badge-online {
  background: rgba(21, 101, 192, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}

.cc-delivery.badge-virtual {
  background: rgba(0, 172, 193, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}

.cc-delivery.badge-inperson {
  background: rgba(230, 81, 0, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}

/* Popular tag — bottom-right of image */
.cc-popular-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  background: linear-gradient(135deg, #ff6f00, #f9a825);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 12px rgba(249, 168, 37, .4);
}

.cc-popular-tag i {
  font-size: 12px;
}

/* ── Content ── */
.cc-content {
  padding: 22px 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cdsa-navy);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-summary {
  font-size: 13.5px;
  color: var(--cdsa-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.cc-meta-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cdsa-gray);
  border: 1px solid var(--cdsa-border);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  color: var(--cdsa-text);
  font-weight: 500;
}

.cc-meta-item i {
  color: var(--cdsa-blue);
  font-size: 12px;
}

/* ── Footer ── */
.cc-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--cdsa-border);
  background: linear-gradient(180deg, #fafcff 0%, #f4f8ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Price */
.cc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cc-price-now {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cdsa-navy);
  line-height: 1;
}

.cc-price-was {
  font-size: 13px;
  color: var(--cdsa-muted);
  text-decoration: line-through;
}

.cc-discount-pill {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #e53935;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: .3px;
}

/* Action buttons */
.cc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cc-btn-details {
  padding: 9px 18px;
  border-radius: 10px;
  background: transparent;
  color: var(--cdsa-navy);
  font-weight: 700;
  font-size: 13px;
  border: 1.5px solid var(--cdsa-border);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cc-btn-details:hover {
  border-color: var(--cdsa-blue);
  color: var(--cdsa-blue);
  background: var(--cdsa-light);
}

.cc-btn-register {
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--cdsa-navy);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cc-btn-register:hover {
  background: var(--cdsa-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21, 101, 192, .3);
}

.cc-btn-register i {
  font-size: 12px;
  transition: transform .2s ease;
}

.cc-btn-register:hover i {
  transform: translateX(3px);
}

.view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  background: transparent;
  color: var(--cdsa-navy);
  border: 2px solid var(--cdsa-navy);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  text-decoration: none;
}

.btn-view-all:hover {
  background: var(--cdsa-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 43, 94, .2);
}

/* ══════════════════════════════════════════
   COURSE DETAIL MODAL — Modern Redesign
   ══════════════════════════════════════════ */
#courseModal {
  z-index: 10050 !important;
}

#courseModal .modal-dialog {
  max-width: 1060px;
}

.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .25);
}

/* Close button — visible dark pill */
#courseModal .btn-close {
  width: 42px;
  height: 42px;
  background-color: var(--cdsa-navy);
  border-radius: 50%;
  opacity: 1;
  padding: 0;
  background-size: 14px;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  filter: none;
}

#courseModal .btn-close:hover {
  background-color: #e53935;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(229, 57, 53, .4);
}

/* ── Compact Banner ── */
.md-banner {
  position: relative;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.md-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 94, .15) 0%, rgba(13, 43, 94, .88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px 28px;
}

.md-banner-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.md-delivery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-block;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.md-delivery-badge.badge-online {
  background: rgba(21, 101, 192, .9);
  color: #fff;
}

.md-delivery-badge.badge-virtual {
  background: rgba(0, 172, 193, .9);
  color: #fff;
}

.md-delivery-badge.badge-inperson {
  background: rgba(230, 81, 0, .9);
  color: #fff;
}

.md-banner-content h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

/* ── Scrollable body ── */
.modal-scroll-body {
  overflow-y: auto;
  padding: 0;
  flex: 1;
}

/* Two-column layout */
.md-body-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

/* Left column — main content */
.md-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.md-section-title {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: var(--cdsa-navy);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--cdsa-light);
}

.md-section-title i {
  color: var(--cdsa-blue);
  font-size: 15px;
}

.md-desc {
  color: var(--cdsa-text);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0;
}

/* Takeaway list */
.md-takeaway-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.md-takeaway-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--cdsa-text);
  line-height: 1.5;
  border-radius: 8px;
  transition: background .2s ease;
}

.md-takeaway-list li:hover {
  background: var(--cdsa-gray);
}

.md-takeaway-list li i {
  color: #43a047;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.md-takeaway-list li span {
  flex: 1;
}

/* Audience chips */
.md-audience-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.md-audience-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cdsa-light);
  color: var(--cdsa-navy);
  border: 1px solid rgba(21, 101, 192, .1);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s ease;
}

.md-audience-chip:hover {
  background: var(--cdsa-blue);
  color: #fff;
  border-color: var(--cdsa-blue);
}

.md-audience-chip:hover i {
  color: #fff;
}

.md-audience-chip i {
  color: var(--cdsa-blue);
  font-size: 13px;
}

/* ── Right sidebar ── */
.md-sidebar {
  background: var(--cdsa-gray);
  border-left: 1px solid var(--cdsa-border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Price card */
.md-price-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  border: 1px solid var(--cdsa-border);
  box-shadow: 0 2px 12px rgba(13, 43, 94, .06);
}

.md-price-top {
  margin-bottom: 14px;
}

.md-discount-tag {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: .4px;
  margin-bottom: 8px;
}

.md-price-amount {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cdsa-navy);
  line-height: 1;
}

.md-price-original {
  font-size: 14px;
  color: var(--cdsa-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.md-btn-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--cdsa-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 43, 94, .2);
}

.md-btn-register:hover {
  background: var(--cdsa-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21, 101, 192, .35);
}

/* Details info card */
.md-details-card {
  background: #fff;
  border-radius: 14px;
  padding: 4px 0;
  border: 1px solid var(--cdsa-border);
  box-shadow: 0 2px 12px rgba(13, 43, 94, .06);
}

.md-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--cdsa-border);
  transition: background .2s ease;
}

.md-detail-row:last-child {
  border-bottom: none;
}

.md-detail-row:hover {
  background: var(--cdsa-gray);
}

.md-detail-row>i {
  font-size: 16px;
  color: var(--cdsa-blue);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.md-detail-row>div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.md-detail-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--cdsa-muted);
  line-height: 1;
  margin-bottom: 3px;
}

.md-detail-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cdsa-navy);
  line-height: 1.3;
}

/* ── Modal Responsive ── */
@media (max-width: 991px) {
  #courseModal .modal-dialog {
    max-width: 95%;
    margin: 16px auto;
  }

  .md-body-grid {
    grid-template-columns: 1fr;
  }

  .md-sidebar {
    border-left: none;
    border-top: 1px solid var(--cdsa-border);
  }
}

@media (max-width: 767px) {
  .md-banner {
    height: 120px;
  }

  .md-main {
    padding: 18px;
    gap: 16px;
  }

  .md-sidebar {
    padding: 18px;
  }
}

/* ── Testimonials ── */
#testimonials-section {
  padding: 64px 0;
  background: var(--cdsa-navy);
}

#testimonials-section .section-header h2 {
  color: #fff;
}

#testimonials-section .section-label {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
}

#testimonials-section .section-divider {
  background: linear-gradient(90deg, var(--cdsa-accent), rgba(255, 255, 255, .2));
}

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-track {
  position: relative;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: tFadeIn .45s ease;
}

@keyframes tFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  text-align: center;
}

.testimonial-stars {
  display: none;
}

.testimonial-quote-icon {
  font-size: 48px;
  color: var(--cdsa-accent);
  opacity: .5;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  text-align: center;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-avatar,
.testimonial-photo {
  display: none;
}

.testimonial-name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.testimonial-title {
  color: var(--cdsa-accent);
  font-size: 13px;
  font-weight: 500;
}

.testimonial-org {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--cdsa-accent);
  width: 24px;
  border-radius: 50px;
}

.testimonial-arrow {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all .3s ease;
  flex-shrink: 0;
}

.testimonial-arrow:hover {
  background: var(--cdsa-accent);
  border-color: var(--cdsa-accent);
  color: #fff;
}

.testimonial-arrow.t-prev,
.testimonial-arrow.t-next {
  position: static;
  transform: none;
}

/* ── Business Dev CTA ── */
#cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--cdsa-blue) 0%, var(--cdsa-accent) 100%);
  text-align: center;
}

#cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

#cta-section p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #fff;
  color: var(--cdsa-blue);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-block;
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  color: var(--cdsa-navy);
}

.btn-cta-outline-white {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-block;
}

.btn-cta-outline-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  color: #fff;
}

/* ── Newsletter Strip ── */
#newsletter-section {
  padding: 48px 0;
  background: var(--cdsa-gray);
}

.newsletter-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cdsa-border);
}

.newsletter-text h4 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.newsletter-text p {
  color: var(--cdsa-muted);
  font-size: 14px;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 18px;
  border: 1px solid var(--cdsa-border);
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--font-secondary);
  transition: border var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--cdsa-accent);
  outline: none;
}

.newsletter-form button {
  background: var(--cdsa-accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #00838f;
}

/* ── Footer ── */
#main-footer {
  background: var(--cdsa-navy);
  color: rgba(255, 255, 255, .75);
  padding: 60px 0 0;
}

.footer-brand {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--cdsa-accent);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--cdsa-accent);
  border-color: var(--cdsa-accent);
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cdsa-accent);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .65);
}

.footer-contact-item i {
  color: var(--cdsa-accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--cdsa-accent);
}

/* ── Chatbot ── */
#chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cdsa-blue), var(--cdsa-accent));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(21, 101, 192, .4);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

#chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(21, 101, 192, .5);
}

#chatbot-window {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 1040;
  width: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  max-height: 480px;
}

#chatbot-window.open {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--cdsa-navy), var(--cdsa-blue));
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header .title {
  font-weight: 700;
  font-size: 14px;
}

.chatbot-header .sub {
  font-size: 11px;
  opacity: .7;
}

.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  opacity: .7;
  transition: opacity var(--transition);
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--cdsa-gray);
  color: var(--cdsa-text);
  border-radius: 16px 16px 16px 4px;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--cdsa-blue);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--cdsa-border);
  background: #fff;
}

.chatbot-input input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--cdsa-border);
  border-radius: 50px;
  font-size: 13px;
  font-family: var(--font-secondary);
  transition: border var(--transition);
}

.chatbot-input input:focus {
  border-color: var(--cdsa-accent);
  outline: none;
}

.chatbot-input button {
  background: var(--cdsa-accent);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-input button:hover {
  background: #00838f;
}

/* ── Toast ── */
#toast-container {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cdsa-toast {
  background: var(--cdsa-navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.3s ease;
}

.cdsa-toast.success i {
  color: #4caf50;
}

.cdsa-toast.error i {
  color: #f44336;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Loader ── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 20px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.course-card-skeleton {
  height: 420px;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--cdsa-navy) 0%, var(--cdsa-blue) 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
}

/* ── Forms ── */
.form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--cdsa-navy);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid var(--cdsa-border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: var(--font-secondary);
  font-size: 14px;
  transition: border var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--cdsa-accent);
  box-shadow: 0 0 0 3px rgba(0, 172, 193, .15);
  outline: none;
}

.btn-primary-cdsa {
  background: linear-gradient(135deg, var(--cdsa-blue), var(--cdsa-accent));
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  width: 100%;
}

.btn-primary-cdsa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 192, .35);
}

/* ── Coupon Code ── */
.coupon-input-wrap {
  display: flex;
  gap: 10px;
}
.coupon-input-wrap input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.coupon-input-wrap input.coupon-applied {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}
.btn-coupon-apply {
  background: linear-gradient(135deg, var(--cdsa-blue), var(--cdsa-accent));
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-coupon-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, .3);
}
.btn-coupon-apply:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.coupon-feedback {
  font-size: 13px;
  margin-top: 6px;
  min-height: 20px;
}
.coupon-feedback--success {
  color: #16a34a;
}
.coupon-feedback--error {
  color: #dc2626;
}
.coupon-summary {
  margin-top: 12px;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px 20px;
  animation: couponSlideIn .3s ease;
}
@keyframes couponSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.coupon-summary-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coupon-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
}
.coupon-discount-row {
  color: #16a34a;
  font-weight: 600;
}
.coupon-total-row {
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cdsa-blue);
}
.btn-coupon-remove {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0 0;
  font-weight: 500;
  transition: color .2s;
}
.btn-coupon-remove:hover {
  color: #991b1b;
  text-decoration: underline;
}

/* ── Filters (Courses page) ── */
.filter-bar {
  background: #fff;
  border: 1px solid var(--cdsa-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

/* ── Blog cards ── */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cdsa-border);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
}

.blog-tag {
  display: inline-block;
  background: var(--cdsa-light);
  color: var(--cdsa-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.blog-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 13px;
  color: var(--cdsa-muted);
}

.blog-meta {
  font-size: 12px;
  color: var(--cdsa-muted);
  margin-top: 12px;
}

/* ── Resource cards ── */
.resource-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cdsa-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cdsa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cdsa-blue);
  flex-shrink: 0;
}

.resource-body h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.resource-body p {
  font-size: 12px;
  color: var(--cdsa-muted);
  margin-bottom: 8px;
}

.resource-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
  background: var(--cdsa-light);
  color: var(--cdsa-blue);
  font-weight: 600;
}

/* ── About Team ── */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cdsa-border);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-img {
  height: 240px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
}

.team-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 13px;
  color: var(--cdsa-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-info .bio {
  font-size: 13px;
  color: var(--cdsa-muted);
}

/* ── Stats Counter ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--cdsa-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--cdsa-light), rgba(0, 172, 193, .12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cdsa-blue);
}

.stat-info {
  min-width: 0;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cdsa-navy);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--cdsa-muted);
  margin-top: 3px;
  display: block;
}

/* ── Contact Page ── */
.contact-section {
  position: relative;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 40px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  border: 1px solid var(--cdsa-border);
}

.contact-form-wrap h3 {
  text-align: center;
  color: var(--cdsa-navy);
}

.contact-info-bar {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-info-bar h5 {
  color: var(--cdsa-navy);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-info-sub {
  color: var(--cdsa-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--cdsa-border);
  border-radius: 16px;
  padding: 28px 18px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
  border-color: var(--cdsa-blue);
  color: inherit;
  text-decoration: none;
}

.cic-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
  transition: transform 0.35s ease;
}

.contact-info-card:hover .cic-icon {
  transform: scale(1.1) rotate(-4deg);
}

.cic-email {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.cic-phone {
  background: linear-gradient(135deg, #059669, #10b981);
}

.cic-hours {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.cic-address {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.contact-info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--cdsa-navy);
}

.contact-info-card span {
  font-size: 13px;
  color: var(--cdsa-muted);
  line-height: 1.5;
}

/* Floating social sidebar */
.contact-social-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.contact-social-float a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cdsa-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.contact-social-float a:hover {
  background: var(--cdsa-blue);
  transform: scale(1.15);
}

/* ═══════════════════════════════════════
   MODAL — body scroll lock (prevents
   background from scrolling when popup opens)
═══════════════════════════════════════ */
body.modal-open {
  overflow: hidden !important;
}

.modal-backdrop {
  z-index: 10040 !important;
}

/* Restore scroll position after modal closes (JS handles this) */

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (max-width: 991px)
═══════════════════════════════════════ */
@media (max-width: 991px) {
  /* ── Navbar mobile menu ── */
  #main-navbar .navbar-collapse {
    background: var(--cdsa-navy);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    max-height: 80vh;
    overflow-y: auto;
  }

  #main-navbar .navbar-nav {
    gap: 2px;
  }

  #main-navbar .navbar-nav .nav-link {
    padding: 12px 16px !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  /* Dropdown on mobile: no hover, use click via Bootstrap */
  .hover-dropdown .dropdown-menu {
    position: static !important;
    background: rgba(255,255,255,.06);
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    margin: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

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

  .hover-dropdown .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
  }

  /* Hide search on mobile */
  .nav-search-wrap {
    display: none !important;
  }

  /* CTA row on mobile */
  #main-navbar .d-flex.align-items-center {
    flex-direction: row;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 8px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 10px;
  }

  .brand-text strong { font-size: 17px; }
  .brand-text em { font-size: 13px; }

  /* ── Navbar on mobile: always visible, solid navy ── */
  #main-navbar {
    padding: 10px 0;
  }

  #main-navbar .container {
    padding-left: 14px;
    padding-right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  /* ── Hamburger toggler: force visible on mobile ── */
  #main-navbar #navbarToggler,
  #main-navbar .navbar-toggler {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(13, 43, 94, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0 !important;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1060;
    order: 99;
    flex-shrink: 0;
  }

  #main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.5), 0 2px 12px rgba(0, 0, 0, 0.35);
    outline: none;
  }

  #main-navbar .navbar-toggler svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  /* When mobile menu opens on transparent navbar, give dropdown a solid bg */
  #main-navbar.nav-top .navbar-collapse.show,
  #main-navbar.nav-top .navbar-collapse.collapsing {
    background: var(--cdsa-navy);
  }

  /* ── Hero: full-screen on mobile ── */
  #hero-slider {
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* Darker overlay on mobile so text + hamburger are always readable */
  .hero-slide .overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 43, 94, 0.85) 0%,
      rgba(13, 43, 94, 0.6) 40%,
      rgba(21, 101, 192, 0.65) 70%,
      rgba(13, 43, 94, 0.8) 100%
    );
  }

  .hero-text h1 { font-size: 2rem; }
  .hero-text { max-width: 520px; }

  /* ── Grids ── */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "blue   mint"
      "sand   green"
      "teal   teal";
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* ── Newsletter ── */
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }

  /* ── Testimonials ── */
  .testimonial-arrow {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  /* ── Course cards ── */
  .cc-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cc-price { justify-content: center; }
  .cc-actions { justify-content: center; }

  /* ── Contact ── */
  .contact-social-float {
    right: 12px;
  }

  .contact-social-float a {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  /* ── Modal ── */
  #courseModal .modal-dialog {
    max-width: 95%;
    margin: 12px auto;
  }

  .md-body-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Chatbot ── */
  #chatbot-window {
    width: calc(100vw - 32px);
    max-width: 380px;
    right: 16px;
    bottom: 88px;
  }

  /* ── Page hero ── */
  .page-hero {
    padding: 90px 0 40px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (max-width: 767px)
═══════════════════════════════════════ */
@media (max-width: 767px) {
  #hero-slider {
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* ── Hero: centered, well-spaced layout ── */
  .hero-content {
    padding: 70px 20px 40px;
    align-items: center;
    justify-content: center;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text .hero-badge {
    font-size: 10px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.92;
  }

  .hero-meta {
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 24px;
  }

  .hero-meta span {
    font-size: 12px;
  }

  .hero-btns {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .hero-btns a,
  .hero-btns button {
    font-size: 13px;
    padding: 11px 24px;
    text-align: center;
  }

  .hero-arrow {
    display: none;
  }

  .hero-controls {
    bottom: 14px !important;
  }

  /* ── Grids ── */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "blue"
      "mint"
      "green"
      "sand"
      "teal";
  }

  .bento-card {
    padding: 24px 20px;
  }

  .bento-stat {
    font-size: 2rem;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cc-img-wrap {
    height: 180px;
  }

  .cc-content {
    padding: 18px 20px 14px;
  }

  .cc-footer {
    padding: 14px 20px 16px;
  }

  /* ── Stats ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 14px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  /* ── Modal: full-screen on mobile ── */
  #courseModal .modal-dialog {
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  #courseModal .modal-content {
    border-radius: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .modal-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #courseModal .btn-close {
    width: 48px;
    height: 48px;
  }

  /* ── Newsletter ── */
  .newsletter-inner {
    padding: 24px 20px;
    gap: 16px;
  }

  .newsletter-icon {
    display: none;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  /* ── Testimonials ── */
  .testimonial-card {
    padding: 28px 20px 24px;
  }

  /* ── Contact ── */
  .contact-form-wrap {
    padding: 24px 20px 20px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-social-float {
    position: fixed;
    right: 10px;
    top: auto;
    bottom: 80px;
    transform: none;
    gap: 8px;
  }

  .contact-social-float a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  /* ── Page hero ── */
  .page-hero {
    padding: 80px 0 30px;
  }

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

  .page-hero p {
    font-size: 0.95rem;
  }

  .page-hero-compact {
    padding: 80px 0 24px;
  }

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

  /* ── Breadcrumb ── */
  .cdsa-breadcrumb {
    padding-bottom: 14px;
  }

  .cdsa-breadcrumb ol {
    font-size: 12px;
  }

  /* ── Footer ── */
  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* ── Cookie consent ── */
  #cookie-consent {
    padding: 14px 16px;
  }

  #cookie-consent p {
    font-size: 12px;
  }

  #cookie-consent .cookie-consent-inner {
    max-width: 100%;
  }

  .cookie-options {
    gap: 6px;
  }

  .cookie-option {
    padding: 6px 8px;
    font-size: 12px;
  }

  #cookie-consent .cookie-btns {
    flex-wrap: wrap;
  }

  .cookie-btn-accept,
  .cookie-btn-selected,
  .cookie-btn-decline {
    padding: 7px 14px;
    font-size: 12px;
    flex: 1;
    text-align: center;
    min-width: 0;
  }

  /* ── Chatbot ── */
  #chatbot-toggle {
    width: 48px;
    height: 48px;
    font-size: 20px;
    bottom: 16px;
    right: 16px;
  }

  #chatbot-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 76px;
    max-height: 420px;
  }

  /* ── Trusted logos ── */
  .trusted-label {
    font-size: 10px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small phones (max-width: 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  #hero-slider {
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 60px 16px 30px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .hero-text .hero-badge {
    font-size: 9px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .hero-meta {
    gap: 6px 14px;
    margin-bottom: 18px;
  }

  .hero-meta span {
    font-size: 11px;
  }

  .hero-btns {
    gap: 8px;
  }

  .hero-btns a,
  .hero-btns button {
    font-size: 12px;
    padding: 9px 18px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-radius: 8px;
  }

  .brand-text strong { font-size: 14px; }
  .brand-text em { font-size: 10px; }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 11px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .track-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .track-tab {
    font-size: 12px;
    padding: 6px 14px;
  }

  .page-hero {
    padding: 75px 0 24px;
  }

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

  .page-hero-compact {
    padding: 75px 0 20px;
  }

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

  .cdsa-breadcrumb ol {
    font-size: 11px;
  }

  .cdsa-breadcrumb li:not(:last-child)::after {
    margin: 0 5px;
  }

  /* ── Legal content ── */
  .legal-content {
    padding: 20px 16px !important;
  }

  .legal-content h2 {
    font-size: 1.15rem;
  }

  /* ── Filter bar ── */
  .filter-bar .row {
    gap: 8px;
  }
}

/* ── Misc helpers (non-responsive) ── */
.stat-block {
  flex: none;
  width: 100%;
}

.stat-divider {
  width: 40px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
}

.stat-block .stat-number {
  font-size: 2rem;
}

.cta-visual-col {
  width: 200px;
  height: 200px;
}

.cta-orbit {
  width: 180px;
  height: 180px;
}

/* ═══════════════════════════════════════
   BREADCRUMB NAVIGATION (SEO)
   Renders inside .page-hero (light text on dark bg)
═══════════════════════════════════════ */
.cdsa-breadcrumb {
  padding: 0 0 20px 0;
}
.cdsa-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  font-family: var(--font-secondary);
}
.cdsa-breadcrumb li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}
.cdsa-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}
.cdsa-breadcrumb li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}
.cdsa-breadcrumb li a:hover {
  color: #fff;
  text-decoration: underline;
}
.cdsa-breadcrumb li.active {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Compact page hero for detail pages */
.page-hero-compact {
  padding: 100px 0 35px;
}
.page-hero-compact h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
}
.page-hero-compact .cdsa-breadcrumb {
  padding-bottom: 16px;
}

/* ═══════════════════════════════════════
   LEGAL CONTENT (Privacy Policy, Terms)
═══════════════════════════════════════ */
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cdsa-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cdsa-light);
}
.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cdsa-text);
  margin-top: 1.5rem;
}
.legal-content p, .legal-content li {
  line-height: 1.8;
  color: var(--cdsa-text);
}
.legal-content table {
  font-size: 14px;
}

/* ═══════════════════════════════════════
   BLOG DETAIL
═══════════════════════════════════════ */
.blog-content {
  line-height: 1.85;
  font-size: 16px;
  color: var(--cdsa-text);
}
.blog-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--cdsa-navy);
}
.blog-content p {
  margin-bottom: 1.2rem;
}

/* ═══════════════════════════════════════
   COURSE DETAIL
═══════════════════════════════════════ */
.course-description {
  line-height: 1.8;
  font-size: 15px;
}
.course-description p {
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   GDPR COOKIE CONSENT (Belgium/EU)
═══════════════════════════════════════ */
#cookie-consent .cookie-consent-inner {
  max-width: 520px;
}
#cookie-consent .cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
#cookie-consent .cookie-consent-header i {
  font-size: 22px;
  color: var(--cdsa-blue);
}
#cookie-consent .cookie-consent-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
#cookie-consent .cookie-consent-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}
#cookie-consent .cookie-consent-desc a {
  color: var(--cdsa-blue);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
}
.cookie-option input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--cdsa-blue);
}
.cookie-option strong {
  display: block;
  font-size: 13px;
}
.cookie-option small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.4;
}
#cookie-consent .cookie-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-btn-accept,
.cookie-btn-selected,
.cookie-btn-decline {
  padding: 8px 16px;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-btn-accept {
  background: var(--cdsa-blue);
  color: #fff;
}
.cookie-btn-accept:hover { background: var(--cdsa-navy); }
.cookie-btn-selected {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-btn-selected:hover { background: rgba(255,255,255,0.25); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-decline:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
#cookie-consent .cookie-consent-footer {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.6;
}
#cookie-consent .cookie-consent-footer a {
  color: inherit;
  text-decoration: underline;
}