:root{
      --primary:#cc1f26; --primary-600:#a11a20; --accent:#f59e0b;
      --ink:#0f172a; --muted:#64748b; --line:#e5e7eb; --surface:#ffffff; --soft:#fff6f6;
      --shadow:0 12px 30px rgba(2,6,23,.08); --radius:16px;
    }
    html, body{ font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif; color:var(--ink); background:var(--surface); scroll-behavior:smooth; }
/* Make space for fixed-top navbar */
:root { --nav-h: 64px; }
body { padding-top: var(--nav-h); }

/* Brand logos sizing on mobile */
.nav-logo { height: 40px; width: auto; }

/* Better mobile collapse panel */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    padding: .5rem 0;
  }
  .navbar-nav .nav-link {
    padding: .6rem 1rem;
  }
}

/* Optional: tidy up the toggler and links */
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar .nav-link { font-weight: 500; }
.nav-cta {
  background: #111; color:#fff; border-radius: .5rem;
}
.nav-cta:hover { color:#fff; opacity:.9; }

    /* Navbar */
    .navbar{ transition:all .25s ease; padding:.9rem 0; background:transparent; border-bottom:1px solid rgba(255,255,255,.12); }
    .navbar.navbar-dark .navbar-brand{ font-weight:900; letter-spacing:.25px; color:#fff; }
    .navbar .nav-link{ color:inherit; font-weight:700; position:relative; padding:.5rem 1rem !important; }
    .navbar .nav-link::after{ content:""; position:absolute; left:1rem; right:1rem; bottom:.35rem; height:2px; background:var(--accent); transform:scaleX(0); transition:transform .25s ease; }
    .navbar .nav-link:hover::after, .navbar .nav-link.active::after{ transform:scaleX(1); }
    .navbar .nav-cta{ border:2px solid currentColor; color:inherit; font-weight:800; border-radius:999px; }
    .navbar.scrolled{ background:rgba(255,255,255,.98)!important; backdrop-filter:blur(10px); border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
    .navbar.scrolled .navbar-brand, .navbar.scrolled .nav-link, .navbar.scrolled .nav-cta{ color:var(--ink)!important; }
    .nav-logo{ height:40px; width:auto; object-fit:contain; }
  .bottom-cta{background:linear-gradient(180deg,#0f172a,#111827)}
    .form-floating>.form-control:focus, .form-select:focus{border-color:#ef4444;box-shadow:0 0 0 .25rem rgba(239,68,68,.15)}
    .required-asterisk::after{content:' *';color:#ef4444}
    .is-hidden{display:none !important}
    /* Toggler icon colors for both states */
    .navbar-dark .navbar-toggler{ border-color:rgba(255,255,255,.35); }
    .navbar-dark .navbar-toggler-icon{ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
    .navbar.scrolled .navbar-toggler{ border-color:rgba(0,0,0,.25); }
    .navbar.scrolled .navbar-toggler-icon{ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

    /* HERO — video background with minimal text */
    .hero{ position:relative; min-height:72vh; padding:140px 0 110px; color:#fff; overflow:hidden; }
    .hero .video-bg{ position:absolute; inset:0; overflow:hidden; z-index:0; background:#000; }
    .hero .video-bg iframe, .hero .video-bg video{
      position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
      width:177.78vh; height:100vh; min-width:100vw; min-height:56.25vw; border:0; pointer-events:none; opacity:.72;
    }
    .hero::after{ content:""; position:absolute; inset:0; z-index:1;
      background:
        linear-gradient(120deg, rgba(204,31,38,.55) 0%, rgba(204,31,38,.45) 35%, rgba(15,23,42,.45) 100%),
        radial-gradient(ellipse at 20% 10%, rgba(245,158,11,.20), transparent 40%),
        radial-gradient(ellipse at 80% 90%, rgba(245,158,11,.20), transparent 40%);
    }
    .hero .hero-inner{ position:relative; z-index:2; }
    .eyebrow{ display:inline-block; font-size:.82rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; background:#fff; color:var(--primary); padding:.45rem .85rem; border-radius:999px; box-shadow:var(--shadow); margin-bottom:1rem; }
    .hero h1{ font-weight:900; line-height:1.05; font-size: clamp(2rem, 4.5vw, 3.6rem); margin-bottom:.5rem; }
    .hero-min{ font-size:1.05rem; opacity:.95; }
    .meta-chips{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.75rem; }
    .meta-chip{ display:inline-flex; align-items:center; gap:.45rem; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35); color:#fff; border-radius:999px; padding:.48rem .9rem; font-weight:800; backdrop-filter: blur(4px); }

    /* Info Strip */
    .info-strip{ background:#fff; border-radius: var(--radius); padding:1.2rem; box-shadow: var(--shadow); margin-top:-60px; position:relative; z-index:10; }
    .info-item{ display:flex; align-items:center; gap:1rem; }
    .info-icon{ width:56px; height:56px; border-radius:14px; background:#fef2f2; color: var(--primary); display:flex; align-items:center; justify-content:center; border:1px solid #fecaca; font-size: 26px; }
    .info-content .label{ font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700; margin-bottom:.1rem; }
    .info-content .value{ font-size:1.05rem; font-weight:800; margin:0; }

    /* Sections */
    .section{ padding:80px 0; }
    .section.alt{ background: var(--soft); }
    .section h2{ font-weight:900; margin-bottom:.6rem; font-size:clamp(1.6rem,3vw,2.4rem); }
    .lead{ color:var(--muted); max-width:75ch; }

     .register-btn {
    position: fixed;
    bottom: 20px;
    right: 25px;
    background-color: #cf2027;
    color: white;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
  }

  .register-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  }

  @media (max-width: 768px) {
    .register-btn {
      bottom: 15px;
      right: 15px;
      padding: 12px 20px;
      font-size: 14px;
    }
  }

  .icon-new{
    background-color: #cf2027 !important;
  }
  .carousel-control-prev-icon{
        background-color: #cf2027 !important;


  }
  * Section theme */
.student-experiences {

  --brand: #Cf2027;
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg1), var(--bg2));
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

/* Rail */
.video-rail-wrap { margin-inline: auto; max-width: 1200px; }
.video-rail {
  gap: 16px;
  padding: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}
.video-rail::-webkit-scrollbar { display: none; }

/* Buttons */
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: none; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.15); cursor: pointer; z-index: 2;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.rail-btn:hover { transform: translateY(-50%) scale(1.05); background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(13,110,253,.35); }
.rail-btn.left { left: -12px; }
.rail-btn.right { right: -12px; }
@media (max-width: 768px) { .rail-btn { display:none; } }

/* Video Card */
.video-card {
  position: relative;
  width: clamp(260px, 42vw, 360px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #0b0b0b;
  scroll-snap-align: start;
  flex: 0 0 auto;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  outline: none;
}
.video-card:focus-visible { box-shadow: 0 0 0 4px rgba(13,110,253,.25), 0 8px 28px rgba(0,0,0,.18); }

/* Hover tilt */
.video-card:hover { transform: translateY(-3px); }

/* Thumbnail */
.video-thumb {
  position: absolute; inset: 0;
  background: #000 center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .6s cubic-bezier(.2,.6,0,1), filter .3s ease;
  will-change: transform;
}
.video-card:hover .video-thumb { transform: scale(1.06); filter: saturate(1.1) contrast(1.08); }

/* Shine sweep */
.video-card::after {
  content: ""; position: absolute; inset: -100% -50% auto -50%; height: 200%;
  background: linear-gradient(75deg, transparent 45%, rgba(255,255,255,.12) 50%, transparent 55%);
  transform: translateX(-120%) rotate(10deg); pointer-events: none; transition: transform .8s ease;
}
.video-card:hover::after { transform: translateX(120%) rotate(10deg); }

/* Title bar */
.video-info {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  backdrop-filter: blur(6px);
  background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,.2) );
  color: #fff; padding: 10px 12px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
/* .video-favicon {
  width: 18px; height: 18px; border-radius: 4px; flex: 0 0 auto; background: rgba(255,255,255,.85);
  display: grid; place-items: center; font-size: 12px; color: #111; font-weight: 700;
} */
.video-title {
  font-size: .95rem; line-height: 1.2; text-align: left; max-height: 2.4em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Play pulse */
/* .play-chip {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color:#fff; font-size:.8rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
} */
.play-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ff3344;
  box-shadow: 0 0 0 0 rgba(255,51,68,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,51,68,.7);}
  70% { box-shadow: 0 0 0 12px rgba(255,51,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,51,68,0);}
}

/* Group hover */
.video-rail:hover .video-card { filter: grayscale(.08) opacity(.92); }
.video-rail:hover .video-card:hover { filter: none; }

/* Drag cursor hints */
.video-rail.grabbing { cursor: grabbing; }
.video-rail.grab { cursor: grab; }

    /* Cards / Timeline / Media */
    .card-soft{ background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; border-top: 4px solid var(--accent); }
    .timeline{ position:relative; padding-left:2rem; }
    .timeline::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(var(--accent), var(--primary)); border-radius:2px; }
    .tl-item{ position:relative; margin-bottom:1.6rem; padding-bottom:1rem; }
    .tl-item:last-child{ margin-bottom:0; padding-bottom:0; }
    .tl-item::before{ content:""; position:absolute; left:-2.15rem; top:.5rem; width:14px; height:14px; border-radius:50%; background:var(--accent); border:3px solid #fff; box-shadow:0 0 0 3px #fef3c7; }
    .tl-time{ font-weight:900; color:var(--primary); margin-bottom:.25rem; }
    .tl-box{ background:#fff; border-radius:14px; padding:1rem; box-shadow:0 8px 18px rgba(2,6,23,.06); }

    .media-card{ background:#fff; border-radius:16px; overflow:hidden; box-shadow: var(--shadow); height:100%; color:var(--primary) }
    .media-image{ height:240px; overflow:hidden; }
    .media-image img{ width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
    .media-image-new{  overflow:hidden; }
    .media-image-new img{ width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
    .media-card:hover .media-image img{ transform:scale(1.04); }
    .media-body{ padding:1.1rem; }
    .badge-accent{ background: #fff7ed; color:#9a3412; border:1px solid #fed7aa; font-weight:800; }

    /* Gallery / Filters */
    #gallery-filters .btn-outline-primary{ color: var(--primary); border-color: var(--primary); }
    #gallery-filters .btn-outline-primary:hover, #gallery-filters .btn-outline-primary.active{ background-color: var(--primary); border-color: var(--primary); color: #fff; }
    #gallery .media-card{ transition:transform .2s ease, box-shadow .2s ease; }
    #gallery .media-card:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(2,6,23,.12); }
    #gallery .media-body strong{ display:block; font-size:.95rem; color:#cf2027; text-decoration:none;}

    /* Video section (Discover) */
    .discover{ background:linear-gradient(180deg,#fff 0%,#fff6f6 100%); }
    .discover .subhead{ color:var(--muted); max-width:72ch; }
    .pillars .card{ border:1px solid var(--line); border-radius:18px; padding:16px; height:100%; box-shadow:var(--shadow); background:#fff; }
    .pillars .icon{ width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center; background:#fef2f2;color:var(--primary);border:1px solid #fecaca;font-variation-settings:"FILL" 1; }
    .kpis .kpi{ background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;text-align:center;box-shadow:var(--shadow); }
    .kpis .kpi h3{ margin:0;font-weight:900; }
    .kpis .kpi span{ color:var(--muted); font-weight:700; font-size:.9rem; }

    .video-grid .vcard{ border-radius:18px; overflow:hidden; background:#000; position:relative; box-shadow:var(--shadow); }
    .video-grid .thumb{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; opacity:.9; transition:transform .35s ease, opacity .35s ease; }
    .video-grid .vcard:hover .thumb{ transform:scale(1.03); opacity:1; }
    .video-grid .play{ position:absolute; inset:auto auto 14px 14px; display:inline-flex; align-items:center; gap:.5rem; background:rgba(255,255,255,.9); color:#111; padding:.45rem .7rem; border-radius:999px; font-weight:800; }
    .video-grid .badge-top{ position:absolute; top:12px; left:12px; background:#fff; color:var(--primary); border:1px solid var(--primary); border-radius:999px; padding:.3rem .6rem; font-weight:800; font-size:.75rem; }
    .video-grid .title{ position:absolute; left:14px; bottom:14px; right:14px; color:#fff; text-shadow:0 10px 30px rgba(0,0,0,.55); font-weight:800; }

    /* Popular Courses */
    .courses .card{ border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--shadow); height:100%; }
    .courses .thumb{ width:100%; aspect-ratio:16/9; object-fit:cover; }
    .courses .badge{ font-weight:800; }

    /* CTA strip */
    .apply-strip{ background:linear-gradient(135deg, rgba(204,31,38,.96), rgba(161,26,32,.96)); color:#fff; border-radius:18px; padding:22px; box-shadow:var(--shadow); }
    .apply-strip .btn{ font-weight:800; }

    .bottom-cta{ background: linear-gradient(135deg, rgba(204,31,38,0.95) 0%, rgba(204,31,38,0.92) 100%); color:#fff; }

    a{ text-decoration:none !important; }
  /* KPI Card Style */
#placements-slider .kpi-card {
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:1rem;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

/* Placement Cards */
#placements-slider .placement-card {
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border:1px solid #eee;
  transition:transform .3s ease, box-shadow .3s ease;
}
#placements-slider .placement-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}
#placements-slider .placement-card img {
  width:100%;
  
  object-fit:cover;
  transition:transform .4s ease;
}
#placements-slider .placement-card:hover img {
  transform:scale(1.04);
}
#placements-slider .overlay {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:1rem;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.5);
}
#placements-slider .overlay strong {
  font-weight:700;
  font-size:1.1rem;
}
#placements-slider .overlay small {
  opacity:.9;
  font-weight:600;
}

  /* Programs section styles */
  .prog-card{
    display:flex;
    gap:1rem;
    align-items:flex-start;
    background:var(--bs-body-bg, #fff);
    border-radius:12px;
    padding:1.25rem;
    box-shadow: 0 6px 18px rgba(18, 38, 63, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid rgba(18,38,63,0.04);
  }
  .prog-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(18,38,63,0.08);
  }
  .icon-wrap{
    min-width:64px;
    min-height:64px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(180deg, rgba(220,53,69,0.10), rgba(220,53,69,0.03));
    color: var(--bs-danger, #dc3545);
    padding: 12px;
    flex-shrink:0;
  }
  .prog-icon{
    width:40px;
    height:40px;
    display:block;
  }
  /* Section theme */
.student-experiences {

  --brand: #Cf2027;
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg1), var(--bg2));
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

/* Rail */
.video-rail-wrap { margin-inline: auto; max-width: 1200px; }
.video-rail {
  gap: 16px;
  padding: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}
.video-rail::-webkit-scrollbar { display: none; }

/* Buttons */
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: none; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.15); cursor: pointer; z-index: 2;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.rail-btn:hover { transform: translateY(-50%) scale(1.05); background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(13,110,253,.35); }
.rail-btn.left { left: -12px; }
.rail-btn.right { right: -12px; }
@media (max-width: 768px) { .rail-btn { display:none; } }

/* Video Card */
.video-card {
  position: relative;
  width: clamp(260px, 42vw, 360px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #0b0b0b;
  scroll-snap-align: start;
  flex: 0 0 auto;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  outline: none;
}
.video-card:focus-visible { box-shadow: 0 0 0 4px rgba(13,110,253,.25), 0 8px 28px rgba(0,0,0,.18); }

/* Hover tilt */
.video-card:hover { transform: translateY(-3px); }

/* Thumbnail */
.video-thumb {
  position: absolute; inset: 0;
  background: #000 center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .6s cubic-bezier(.2,.6,0,1), filter .3s ease;
  will-change: transform;
}
.video-card:hover .video-thumb { transform: scale(1.06); filter: saturate(1.1) contrast(1.08); }

/* Shine sweep */
.video-card::after {
  content: ""; position: absolute; inset: -100% -50% auto -50%; height: 200%;
  background: linear-gradient(75deg, transparent 45%, rgba(255,255,255,.12) 50%, transparent 55%);
  transform: translateX(-120%) rotate(10deg); pointer-events: none; transition: transform .8s ease;
}
.video-card:hover::after { transform: translateX(120%) rotate(10deg); }

/* Title bar */
.video-info {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  backdrop-filter: blur(6px);
  background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,.2) );
  color: #fff; padding: 10px 12px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
/* .video-favicon {
  width: 18px; height: 18px; border-radius: 4px; flex: 0 0 auto; background: rgba(255,255,255,.85);
  display: grid; place-items: center; font-size: 12px; color: #111; font-weight: 700;
} */
.video-title {
  font-size: .95rem; line-height: 1.2; text-align: left; max-height: 2.4em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Play pulse */
/* .play-chip {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color:#fff; font-size:.8rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
} */
.play-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ff3344;
  box-shadow: 0 0 0 0 rgba(255,51,68,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,51,68,.7);}
  70% { box-shadow: 0 0 0 12px rgba(255,51,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,51,68,0);}
}


.student-experiences {

  --brand: #Cf2027;
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg1), var(--bg2));
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

/* Rail */
.video-rail-wrap { margin-inline: auto; max-width: 1200px; }
.video-rail {
  gap: 16px;
  padding: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}
.video-rail::-webkit-scrollbar { display: none; }

/* Buttons */
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: none; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.15); cursor: pointer; z-index: 2;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.rail-btn:hover { transform: translateY(-50%) scale(1.05); background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(13,110,253,.35); }
.rail-btn.left { left: -12px; }
.rail-btn.right { right: -12px; }
@media (max-width: 768px) { .rail-btn { display:none; } }

/* Video Card */
.video-card {
  position: relative;
  width: clamp(260px, 42vw, 360px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #0b0b0b;
  scroll-snap-align: start;
  flex: 0 0 auto;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  outline: none;
}
.video-card:focus-visible { box-shadow: 0 0 0 4px rgba(13,110,253,.25), 0 8px 28px rgba(0,0,0,.18); }

/* Hover tilt */
.video-card:hover { transform: translateY(-3px); }

/* Thumbnail */
.video-thumb {
  position: absolute; inset: 0;
  background: #000 center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .6s cubic-bezier(.2,.6,0,1), filter .3s ease;
  will-change: transform;
}
.video-card:hover .video-thumb { transform: scale(1.06); filter: saturate(1.1) contrast(1.08); }

/* Shine sweep */
.video-card::after {
  content: ""; position: absolute; inset: -100% -50% auto -50%; height: 200%;
  background: linear-gradient(75deg, transparent 45%, rgba(255,255,255,.12) 50%, transparent 55%);
  transform: translateX(-120%) rotate(10deg); pointer-events: none; transition: transform .8s ease;
}
.video-card:hover::after { transform: translateX(120%) rotate(10deg); }
.carousel-control-next-icon{
  background-color: #cf2027 !important;
}
/* Title bar */
.video-info {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  backdrop-filter: blur(6px);
  background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,.2) );
  color: #fff; padding: 10px 12px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
/* .video-favicon {
  width: 18px; height: 18px; border-radius: 4px; flex: 0 0 auto; background: rgba(255,255,255,.85);
  display: grid; place-items: center; font-size: 12px; color: #111; font-weight: 700;
} */
.video-title {
  font-size: .95rem; line-height: 1.2; text-align: left; max-height: 2.4em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Play pulse */
/* .play-chip {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color:#fff; font-size:.8rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
} */
.play-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ff3344;
  box-shadow: 0 0 0 0 rgba(255,51,68,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,51,68,.7);}
  70% { box-shadow: 0 0 0 12px rgba(255,51,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,51,68,0);}
}

/* Group hover */
.video-rail:hover .video-card { filter: grayscale(.08) opacity(.92); }
.video-rail:hover .video-card:hover { filter: none; }

/* Drag cursor hints */
.video-rail.grabbing { cursor: grabbing; }
.video-rail.grab { cursor: grab; }
/* Group hover */
.video-rail:hover .video-card { filter: grayscale(.08) opacity(.92); }
.video-rail:hover .video-card:hover { filter: none; }

/* Drag cursor hints */
.video-rail.grabbing { cursor: grabbing; }
.video-rail.grab { cursor: grab; }
  .cbody { flex:1; }
  .cbadge{
    display:inline-block;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    padding:.22rem .5rem;
    border-radius:999px;
    background: rgba(220,53,69,0.08);
    color: var(--bs-danger, #dc3545);
    font-weight:600;
  }
  :root { --nims-primary: #b30000; --nims-primary-d: #8b0000; }
#discover-alt { background:#fff; }

/* Eyebrow + primary accents */
#discover-alt .text-primary-alt{ color:var(--nims-primary); }

/* Featured video */
#discover-alt .feature-video{
  position:relative; height:240px; overflow:hidden; border:1px solid #eee;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
#discover-alt .feature-video .vchip{
  position:absolute; top:10px; left:10px; font-size:.75rem; letter-spacing:.3px;
  background:var(--nims-primary); color:#fff; padding:.25rem .5rem; border-radius:.5rem;
}
#discover-alt .feature-video .vplay{
  position:absolute; inset:auto auto 12px 12px; border:0; border-radius:999px;
  width:44px; height:44px; display:grid; place-items:center; background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}
#discover-alt .feature-video:hover{ transform:translateY(-2px); transition:.25s ease; }

/* Pillars (chips) */
#discover-alt .pillar{
  display:flex; gap:.75rem; align-items:flex-start; padding:1rem; border:1px solid #eee;
  border-radius:1rem; background:#fafafa;
}
#discover-alt .pi{ font-size:1.6rem; color:var(--nims-primary); }

/* Video tiles */
#discover-alt .vtile{
  position:relative; display:block; border-radius:1rem; overflow:hidden; border:1px solid #eee;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
#discover-alt .vtile img{ width:100%; height:220px; object-fit:cover; display:block; }
#discover-alt .vtile.vwide img{ height:260px; }
#discover-alt .vtile .vtitle{
  position:absolute; left:12px; bottom:12px; right:60px; color:#fff; font-weight:700;
  text-shadow:0 2px 10px rgba(0,0,0,.5);
}
#discover-alt .vtile .vbtn{
  position:absolute; right:12px; bottom:12px; width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; background:#fff;
}
#discover-alt .vtile::after{
  content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
}
#discover-alt .vtile:hover{ transform:translateY(-3px); transition:.25s ease; }

/* Glance cards */
#discover-alt .glance .gcard{
  background:linear-gradient(180deg,#ffffff, #fff5f5);
  border:1px solid #f1dcdc; border-radius:1rem; padding:1.25rem; text-align:center;
  height:100%; box-shadow:0 8px 20px rgba(179,0,0,.06);
}
#discover-alt .glance h3{ color:var(--nims-primary); font-weight:800; margin-bottom:.25rem; }
#discover-alt .glance p{ margin:0; font-weight:600; }
#discover-alt .glance small{ color:#7a0e0e; }

/* Course row (horizontal scroll on mobile) */
#discover-alt .course-row{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem;
}
@media (max-width: 991.98px){
  #discover-alt .course-row{
    display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:.5rem;
  }
  #discover-alt .course-row > *{ flex:0 0 80%; scroll-snap-align:start; }
}
#discover-alt .ccard{
  border:1px solid #eee; border-radius:1rem; overflow:hidden; background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.06); display:flex; flex-direction:column;
}
#discover-alt .ccard img{ width:100%; height:180px; object-fit:cover; }
#discover-alt .ccard .cbody{ padding:1rem; }
#discover-alt .cbadge{
  display:inline-block; font-size:.75rem; background:#fff; color:var(--nims-primary);
  border:1px solid var(--nims-primary); border-radius:999px; padding:.15rem .5rem; margin-bottom:.5rem;
}

/* CTA band */
#discover-alt .cta.band{
  border:1px dashed var(--nims-primary-d); border-radius:1rem; padding:1rem 1.25rem; background:#fff8f8;
}

/* Accessibility & motion */
@media (prefers-reduced-motion: reduce){
  #discover-alt .vtile:hover, #discover-alt .feature-video:hover{ transform:none; }
}

  .prog-card h5{ margin-top:.35rem; margin-bottom:.35rem; font-weight:700; }
  .prog-card p{ margin-bottom:.75rem; font-size:.94rem; }
  .prog-card .btn{ font-weight:600; padding:.375rem .6rem; border-radius:.45rem; }

   @media (max-width: 767.98px){
    .prog-card{ gap:.75rem; }
    .icon-wrap{ min-width:54px; min-height:54px; padding:10px; border-radius:10px; }
  }
      /* MOBILE: keep navbar + menu white always */
@media (max-width: 991.98px){
  .navbar{
    background:#fff !important;
    border-bottom:1px solid var(--line);
    backdrop-filter:none;
  }
  .navbar .navbar-brand,
  .navbar .nav-link,
  .navbar .nav-cta{
    color:var(--ink) !important;
  }
  /* make the hamburger dark */
  .navbar .navbar-toggler{ border-color:rgba(0,0,0,.25); }
  .navbar .navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  /* opened menu panel stays white */
  .navbar .navbar-collapse{
    background:#fff;
    margin-top:.5rem;
    border:1px solid var(--line);
    border-radius:12px;
    box-shadow:var(--shadow);
    padding:.5rem 0;
  }
  /* underline color on hover/active */
  .navbar .nav-link::after{ background:var(--primary); }
}


    @media (max-width: 991.98px){ .hero{ padding:120px 0 90px; } .info-strip{ margin-top:0; } }
    @media (max-width: 767.98px){ .hero-actions .btn{ width:100%; } .media-image{ height:200px; } }

    /* Reduce motion */
    @media (prefers-reduced-motion: reduce){
      *{ animation: none !important; transition:none !important; }
    }


