/* =========================================================
   Bharat Nav Nirmaan Challenge – Season 2
   Built from Figma "BNN2" (1920 artboard)
   Fonts: Effra (body) + Transducer (headings) – self-hosted
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_It.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_Md.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_MdIt.woff2") format("woff2");
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Transducer";
  src: url("../fonts/TransducerTest-Medium.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Transducer";
  src: url("../fonts/TransducerTest-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --maroon: #a21c45;
  --maroon-dark: #491425;
  --maroon-deco: #781b37;
  --coral: #ea644e;
  --coral-deco: #c84b36;
  --ink: #241e1d;
  --cream: #fcf7f1;
  --beige: #f7eadc;
  --line: #c9c9c9;
  --grey: #a7a7a7;
  --white: #fff;

  --font-body: "Effra", Arial, sans-serif;
  --font-head: "Transducer", "Effra", Arial, sans-serif;

  --gut: clamp(16px, 4vw, 40px); /* side gutter on small screens */
  --wrap: 1620px;                /* 150px margins @1920 */
  --wrap-wide: 1660px;           /* 130px margins @1920 */

  /* fluid type (min, preferred, max = Figma size) */
  --fs-h1: clamp(34px, 3.9vw, 75px);
  --fs-h2: clamp(26px, 2.6vw, 50px);
  --fs-h3: clamp(22px, 1.6vw, 31px);
  --fs-20: clamp(16px, 1.04vw, 20px);
  --fs-18: clamp(15px, 0.98vw, 18.8px);
  --fs-24: clamp(18px, 1.25vw, 24px);
  --fs-30: clamp(20px, 1.56vw, 30px);

  --sec-gap: clamp(48px, 4.2vw, 80px);
  --header-h: 162px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
picture { display: block; }
picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
section { scroll-margin-top: 90px; }

.wrap,
.wrap-wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); }
.wrap-wide { max-width: calc(var(--wrap-wide) + 2 * var(--gut)); }
@media (min-width: 1700px) {
  .wrap { max-width: var(--wrap); padding-inline: 0; }
  .wrap-wide { max-width: var(--wrap-wide); padding-inline: 0; }
}

.sec-title {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.26;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}
.sec-sub {
  font-size: var(--fs-20);
  line-height: 1.55;
  text-align: center;
  margin-top: 8px;
}
.sec-sub.sm { font-size: clamp(14px, 0.84vw, 16px); line-height: 1.9; }

/* Decorative shapes (bar + rounded diagonal), coloured with currentColor */
.about-diag, .testi-diag, .cta-diag, .step-diag, .guide-diag {
  position: absolute;
  bottom: 0;
  fill: currentColor;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn-bnn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  height: 48px;
  padding: 0 42px; /* equal space both sides so the text stays centred */
  border-radius: 294px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  transition: background-color 0.3s, color 0.3s;
}
/* arrows sit in the side padding: right by default, left on hover */
.btn-bnn .ic {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  transition: opacity 0.3s, transform 0.3s;
}
.btn-bnn .ic-in { left: 20px; opacity: 0; transform: translateX(8px); }
.btn-bnn .ic-out { right: 20px; }
.btn-bnn:hover .ic-in,
.btn-bnn:focus-visible .ic-in { opacity: 1; transform: none; }
.btn-bnn:hover .ic-out,
.btn-bnn:focus-visible .ic-out { opacity: 0; transform: translateX(-8px); }

.btn-white { background: var(--white); color: var(--ink); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-white:hover, .btn-white:focus-visible,
.btn-maroon:hover, .btn-maroon:focus-visible { background: var(--coral); color: var(--white); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity 0.5s, visibility 0.5s;
}
.loader img { width: 160px; animation: pulse 1.2s ease-in-out infinite; }
.loader.hide { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(0.92); opacity: 0.7; } }

/* ---------- Header ---------- */
.bnn-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: clamp(14px, 3.12vw, 60px);
  transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
.bnn-nav .wrap { padding-inline: var(--gut); }
@media (min-width: 1700px) { .bnn-nav .wrap { padding-inline: 0; } .bnn-nav .btn-maroon { margin-right: -10px; } }
.brand { display: none; } /* logo sits in the hero; header shows it only once it sticks */
.bnn-nav.is-fixed .brand { display: block; }
.brand img {
  width: clamp(110px, 9.6vw, 184px);
  height: auto;
  display: block;
  transition: width 0.3s;
}
.bnn-nav nav { margin-right: auto; }
.bnn-nav.is-fixed nav { margin: 0 auto; }
.nav-links {
  display: flex;
  gap: clamp(4px, 1vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px;
  font-weight: 600;
  font-size: clamp(14px, 0.84vw, 16px);
  line-height: 23px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--maroon); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.bnn-nav.is-fixed {
  position: fixed;
  padding: 8px 0;
  background: rgba(252, 247, 241, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  animation: navDown 0.4s ease;
}
.bnn-nav.is-fixed .brand img { width: clamp(84px, 5.5vw, 104px); }
@keyframes navDown { from { transform: translateY(-100%); } to { transform: none; } }

.burger {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--maroon);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; }

.mobile-menu { background: var(--cream); max-width: 320px; }
.mobile-menu .offcanvas-body ul { margin: 0 0 24px; padding: 0; }
.mobile-menu .offcanvas-body li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu .offcanvas-body li a:hover { color: var(--maroon); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 44.53vw, 855px);
  display: flex;
  background: #f6e6d6;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img { object-position: 70% center; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(100px, 7.66vw, 147px);
  padding-bottom: clamp(36px, 4.3vw, 83px);
}
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { display: block; width: clamp(220px, 23.75vw, 456px); height: auto; }

/* "Presented by" under the logo, same width as the logo */
.presented {
  width: clamp(220px, 23.75vw, 456px);
  margin-top: clamp(20px, 2.4vw, 46px);
  text-align: center;
}
.presented .p-lbl { display: block; font-size: clamp(14px, 0.94vw, 18px); }
.presented-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 29px);
  margin-top: clamp(6px, 0.6vw, 12px);
}
.presented-logos img { display: block; height: auto; }
.hero .presented .p-toi { width: 36%; }
.hero .presented .p-nicmar { width: 58%; }

/* tagline left, supporters lined up from the middle of the page */
.hero-bottom {
  display: grid;
  grid-template-columns: 52.6% auto;
  align-items: center;
}
.hero-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.08vw, 40px);
  line-height: 1.12;
  text-transform: uppercase;
  color: #1f3b93;
}
.hero-lead { margin-top: clamp(8px, 0.7vw, 14px); max-width: 34em; font-size: var(--fs-18); line-height: 1.45; color: var(--ink); }
.hero-support { margin-top: 0; column-gap: clamp(10px, 1.04vw, 20px); }
.hero-support .p-lbl { font-size: clamp(14px, 0.84vw, 16px); }
.hero-support .p-ey { margin-left: clamp(-4px, -0.2vw, 0px); }
.bnn-nav .wrap > .d-flex { margin-left: auto; } /* Register / menu buttons stay on the right */
.hero-title {
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.013;
  text-transform: uppercase;
}
.hero-details { margin-top: 40px; }
.season {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.47vw, 28.2px);
  line-height: 1.5;
  text-transform: uppercase;
}
.season .sep { color: var(--coral); white-space: pre; margin-inline: 0.3em; }
.lead-txt {
  font-size: var(--fs-18);
  line-height: 1.44;
  margin-top: clamp(2px, 0.5vw, 8px);
}
.partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(14px, 1.71vw, 33px);
  row-gap: 12px;
  margin-top: clamp(12px, 1vw, 18px);
}
.p-lbl { font-size: var(--fs-18); line-height: 1.44; white-space: nowrap; }
.partners img { width: auto; display: block; }
.hero .p-toi { height: clamp(40px, 3.28vw, 63px); }
.hero .p-nicmar { height: clamp(28px, 2.24vw, 43px); }
.hero .p-aicte { height: clamp(48px, 4.1vw, 79px); }
.hero .p-ey { height: clamp(48px, 3.6vw, 69px); }
.hero-support .p-lbl + .p-aicte { margin-right: clamp(16px, 2.6vw, 50px); }

/* ---------- About ---------- */
.about { padding-top: clamp(48px, 5.47vw, 105px); }
.about-inner {
  display: grid;
  grid-template-columns: 59.5fr 21fr 19.5fr;
  align-items: start;
}
.about-media {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
  aspect-ratio: 1304 / 850;
  overflow: hidden;
}
.about-media picture { height: 100%; }
.about-notch {
  position: absolute;
  top: 0;
  left: 0;
  width: 21.24%;
  height: 34.12%;
  background: var(--cream);
  border-bottom-right-radius: clamp(24px, 3vw, 58px);
}
.about-diag {
  left: 21.24%;
  width: 33.86%;
  height: 70.13%;
  color: var(--cream);
}
.about-box {
  grid-column: 2 / 4;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 5vw, 96px);
  aspect-ratio: 1 / 1;
  background: var(--coral);
  color: var(--white);
  padding: clamp(28px, 2.71vw, 52px);
}
.about-box h2 {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 1.46vw, 28px);
}
.about-box p {
  font-size: var(--fs-20);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.about-box p + p { margin-top: 27px; }

/* ---------- Sliders (shared) ---------- */
.slider-shell {
  position: relative;
  container-type: inline-size;
  --spv: 3;
  --gap: 20px;
}
.s-arrow {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform 0.3s, background-color 0.3s, opacity 0.3s;
}
.s-arrow svg { width: 14px; height: 14px; }
.s-prev { left: -30px; background: var(--maroon); }
.s-next { right: -24px; background: var(--coral); }
.s-arrow:hover { transform: scale(1.08); }
.s-prev:hover { background: var(--coral); }
.s-next:hover { background: var(--maroon); }
.s-arrow.swiper-button-disabled { opacity: 0.4; }

/* ---------- Season 1 videos ---------- */
.season1 { padding-top: clamp(48px, 4.22vw, 81px); }
.season1 .sec-title { margin-bottom: clamp(28px, 2.97vw, 57px); }
.video-swiper { overflow: visible; }
.season1 .slider-clip { overflow-x: clip; padding-top: 30px; margin-top: -30px; }
.season1 .swiper { overflow: visible; }
.video-card {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  aspect-ratio: 527 / 341;
  cursor: pointer;
  transition: box-shadow 0.4s;
}
.video-card picture { height: 100%; }
.swiper-slide-active .video-card { box-shadow: 0 0 44px rgba(0, 0, 0, 0.35); }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(48px, 3.5vw, 67px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  color: var(--maroon);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.play svg { width: 30%; height: 30%; margin-left: 8%; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video-cap {
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-top: 12px;
}
.season1 .s-arrow {
  top: calc((100cqw - (var(--spv) - 1) * var(--gap)) / var(--spv) * 0.647 / 2 - 24px);
}
.season1 .s-next { right: -24px; }
.season1 .s-prev { left: -30px; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: clamp(40px, 3.6vw, 69px); }
.testimonials .slider-clip { overflow-x: clip; padding: 40px 0; margin: -40px 0; }
.testi-swiper { overflow: visible; }
.testi-swiper .swiper-slide { height: auto; opacity: 0.3; transition: opacity 0.4s; }
.testi-swiper .swiper-slide-active { opacity: 1; }
.testi {
  position: relative;
  height: 100%;
  min-height: clamp(440px, 27.3vw, 524px);
  background: var(--white);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.05);
  padding: clamp(36px, 3.07vw, 59px) clamp(20px, 2.34vw, 45px) clamp(28px, 2.4vw, 46px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.testi-bar,
.testi-diag { opacity: 0; transition: opacity 0.4s; }
.swiper-slide-active .testi-bar,
.swiper-slide-active .testi-diag { opacity: 1; }
.testi-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 15.56%;
  height: 51.15%;
  background: var(--beige);
  border-bottom-right-radius: 26px;
}
.testi-diag {
  left: 15.56%;
  width: 40.04%;
  height: 50.95%;
  color: var(--beige);
}
.quote {
  position: relative;
  width: clamp(48px, 3.39vw, 65px);
  height: clamp(37px, 2.6vw, 50px);
  color: var(--coral);
  flex: none;
}
.swiper-slide-active .quote { color: var(--maroon); }
.testi-txt {
  position: relative;
  font-size: clamp(15px, 0.94vw, 18px);
  line-height: 1.5;
  margin-top: clamp(28px, 3.07vw, 59px);
  max-width: 437px;
}
.testi hr {
  position: relative;
  width: 100%;
  max-width: 437px;
  margin: auto 0 0;
  padding-top: 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  opacity: 1;
  background: none;
}
.testi-name {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.72;
  color: var(--maroon);
  margin-top: 14px;
}
.testi-role {
  position: relative;
  font-size: 13px;
  line-height: 17px;
  margin-top: 4px;
  min-height: 51px; /* 3 lines, keeps name + line aligned on every card */
}
.testimonials .s-arrow { top: calc(50% - 24px); }

/* ---------- CTA ---------- */
.cta-sec { padding-top: clamp(48px, 4.84vw, 93px); }
.cta-band {
  position: relative;
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  min-height: clamp(260px, 15.42vw, 296px);
  padding: clamp(36px, 3.2vw, 62px) clamp(20px, 13vw, 200px) clamp(36px, 2.8vw, 54px);
  overflow: hidden;
}
.cta-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(48px, 4.22vw, 81px);
  height: 51%;
  background: var(--maroon-dark);
  border-bottom-right-radius: 26px;
}
.cta-diag {
  left: clamp(40px, 3.6vw, 69px);
  width: clamp(80px, 7.5vw, 144px);
  height: 61.5%;
  color: var(--maroon-dark);
}
.cta-band h2 {
  position: relative;
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.38;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cta-band p {
  position: relative;
  font-size: var(--fs-20);
  line-height: 1.35;
  margin-top: 9px;
}
.cta-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  font-size: var(--fs-20);
}

/* ---------- Champions ---------- */
.champions { padding-top: clamp(48px, 3.28vw, 63px); }
.tabs {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 65px);
  margin-top: clamp(14px, 1.2vw, 24px);
  margin-bottom: clamp(24px, 1.98vw, 38px);
}
.tab {
  position: relative;
  border: 0;
  background: none;
  padding: 6px 0 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-30);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--grey);
  transition: color 0.3s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.35s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--coral); }
.tab.active::after { transform: scaleX(1); }
.tab-pane-bnn { display: none; }
.tab-pane-bnn.show { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.champ-row { --bs-gutter-x: clamp(20px, 2.08vw, 40px); }
.champ {
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.champ picture { aspect-ratio: 527 / 447; overflow: hidden; }
.champ picture img { transition: transform 0.6s; }
.champ:hover picture img { transform: scale(1.05); }
.champ-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 1.2vw, 23px) clamp(16px, 1.1vw, 20px) clamp(24px, 1.3vw, 25px) clamp(20px, 1.67vw, 32px);
}
.champ h3 {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.355;
  letter-spacing: 0.02em;
  color: var(--maroon);
}
.champ p {
  font-size: var(--fs-20);
  line-height: 1.35;
  margin: clamp(10px, 0.78vw, 15px) 0 clamp(20px, 1.77vw, 34px);
  max-width: 441px;
}
.champ .btn-bnn { margin-top: auto; }

/* ---------- Prizes ---------- */
.prizes { padding-top: clamp(28px, 1.3vw, 25px); }
.prizes .sec-sub { margin: 0 0 clamp(20px, 1.4vw, 26px); }
.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
  row-gap: 12px;
}
.prize {
  position: relative;
  aspect-ratio: 404 / 175;
  overflow: hidden;
  background: #000;
}
.prize picture { height: 100%; }
.prize img { transition: transform 0.6s; }
.prize:hover img { transform: scale(1.06); }
.prize::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.12) 80%);
  pointer-events: none;
}
.prize h3 {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 1.61vw, 31px);
  right: 12px;
  bottom: clamp(16px, 1.6vw, 30px);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.25;
  color: var(--white);
}

/* ---------- Event flow (path) ---------- */
.event-flow { padding-top: clamp(48px, 2.76vw, 53px); }
.event-flow .sec-title { margin-bottom: clamp(28px, 2.4vw, 46px); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(12px, 0.99vw, 19px);
  row-gap: clamp(12px, 0.99vw, 19px);
}
/* Path cards: Figma 401x388 / 401x425, sizes scale down with the screen */
.step {
  position: relative;
  background: var(--white);
  min-height: min(388px, 20.21vw);
  padding: min(30px, 1.56vw) min(30px, 1.56vw) min(30px, 1.56vw) min(35px, 1.82vw);
  overflow: hidden;
  transition: background-color 0.4s, color 0.4s;
}
.step:nth-child(n + 5) { min-height: min(425px, 22.14vw); }
.step-bar,
.step-diag { opacity: 0; transition: opacity 0.4s; }
/* card 02 decor: short bar on top + rounded diagonal from the bottom, they meet */
.step-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 15.96%;
  height: 38%;
  background: var(--maroon-dark);
  border-bottom-right-radius: 17px;
}
.step-diag {
  left: 15.96%;
  height: 58%;
  width: auto;
  aspect-ratio: 149 / 140;
  color: var(--maroon-dark);
}
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(48px, 3.65vw, 70px);
  height: clamp(48px, 3.65vw, 70px);
  border-radius: 50%;
  background: var(--beige);
  font-weight: 400;
  font-size: clamp(14px, 1.04vw, 20px);
  line-height: 1;
  color: var(--maroon);
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding-top: 0.34em; /* Effra digits sit high in the line box: nudge them to the optical centre */
}
.step h3 {
  position: relative;
  font-weight: 500;
  font-size: clamp(18px, 1.5625vw, 30px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--maroon);
  margin: clamp(20px, 1.82vw, 35px) 0 clamp(10px, 0.94vw, 18px);
  transition: color 0.4s;
}
.step p {
  position: relative;
  font-size: clamp(12px, 0.833vw, 16px);
  line-height: 1.3125;
}
.step p + p { margin-top: 1.3125em; } /* one empty line, like Figma */
/* Figma's own line breaks only fit the full-size layout */
@media (max-width: 1599.98px) { .step p br { display: none; } }
.step.active,
.step:hover { background: var(--maroon); color: var(--white); }
.step.active h3,
.step:hover h3 { color: var(--white); }
.step.active .step-bar,
.step.active .step-diag,
.step:hover .step-bar,
.step:hover .step-diag { opacity: 1; }
/* only one card coloured at a time: hovering another card clears the default */
.step-grid:hover .step.active:not(:hover) { background: var(--white); color: var(--ink); }
.step-grid:hover .step.active:not(:hover) h3 { color: var(--maroon); }
.step-grid:hover .step.active:not(:hover) .step-bar,
.step-grid:hover .step.active:not(:hover) .step-diag { opacity: 0; }

/* ---------- Guidelines ---------- */
.guidelines { padding-top: clamp(48px, 3.85vw, 74px); }
.guidelines .sec-sub { margin: 4px auto clamp(18px, 1.3vw, 24px); max-width: 860px; }
.guide-row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.guide {
  position: relative;
  height: 100%;
  min-height: clamp(340px, 21vw, 403px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 32px clamp(24px, 3.2vw, 62px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.guide-m { background: var(--maroon); --deco: var(--maroon-deco); --ic: var(--coral); }
.guide-c { background: var(--coral); --deco: var(--coral-deco); --ic: var(--maroon); }
.guide-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(48px, 4.22vw, 81px);
  height: 58.6%;
  background: var(--deco);
  border-bottom-right-radius: 26px;
}
.guide-diag {
  left: clamp(40px, 3.6vw, 69px);
  width: clamp(90px, 7.5vw, 144px);
  height: 49.9%;
  color: var(--deco);
}
.guide-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ic);
  color: var(--white);
  margin-bottom: 20px;
}
.guide-ic svg { width: 28px; height: 28px; }
.guide h3 {
  position: relative;
  font-weight: 500;
  font-size: clamp(24px, 1.875vw, 36px);
  line-height: 1.19;
  letter-spacing: -0.6px;
}
.guide p {
  position: relative;
  font-size: var(--fs-20);
  line-height: 1.14;
  margin-top: 7px;
  max-width: 624px;
}
.btn-dl {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 12px 20px;
  margin-top: 56px;
  border-radius: 54px;
  background: var(--white);
  color: var(--maroon);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-dl svg { width: 16px; height: 16px; }
.btn-dl:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faqs { padding-top: clamp(48px, 4vw, 77px); }
.faq-panel {
  background: var(--white);
  padding: clamp(28px, 2.4vw, 46px) clamp(20px, 6.15vw, 118px) clamp(36px, 3.6vw, 70px);
}
.faq-panel h2 {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.38;
  letter-spacing: 0.02em;
  padding-bottom: clamp(16px, 1.6vw, 31px);
  border-bottom: 1px solid var(--line);
}
.faq { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: none;
  padding: clamp(10px, 0.9vw, 17px) 0;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover,
.faq.open .faq-q { color: var(--maroon); }
.faq-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--maroon);
  display: grid;
  place-items: center;
  transition: transform 0.35s, background-color 0.35s, color 0.35s, border-color 0.35s;
}
.faq-ic svg { width: 16px; height: 16px; }
.faq.open .faq-ic {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-a > p {
  overflow: hidden;
  font-size: var(--fs-20);
  line-height: 1.3;
  max-width: 1317px;
  padding-right: 60px;
}
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq.open .faq-a > p { padding-bottom: clamp(20px, 2.2vw, 43px); }
.faq-a > .faq-body {
  overflow: hidden;
  font-size: var(--fs-20);
  line-height: 1.3;
  max-width: 1317px;
  padding-right: 60px;
}
.faq.open .faq-a > .faq-body { padding-bottom: clamp(20px, 2.2vw, 43px); }
.faq-a a { color: var(--maroon); }
.faq-table-wrap { margin-top: 16px; max-width: 560px; overflow-x: auto; }
.faq-table { width: 100%; border-collapse: collapse; font-size: clamp(14px, 0.94vw, 18px); }
.faq-table th,
.faq-table td { padding: 8px 14px; border: 1px solid var(--line); text-align: left; }
.faq-table th { background: var(--beige); color: var(--maroon); font-weight: 500; }
.faq-table td a { text-decoration: none; }
.faq-table td a:hover { text-decoration: underline; }
.faq-more { display: none; }
.faq-list.show-all .faq-more { display: block; }
.read-all {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  margin-top: 30px;
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--coral);
  text-decoration: none;
}
.read-all:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(48px, 3.44vw, 66px); }
.contact-txt {
  font-size: var(--fs-20);
  line-height: 1.55;
  text-align: center;
  max-width: 823px;
  margin: 4px auto clamp(24px, 1.8vw, 34px);
}
.contact-txt a { color: inherit; text-decoration: none; }
.contact-txt a:hover { color: var(--maroon); text-decoration: underline; }
.city-grid {
  display: grid;
  grid-template-columns: repeat(7, 163px);
  justify-content: center;
  column-gap: 20px;
  row-gap: 17px;
}
.city {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  padding: 20px 8px;
  border-radius: 4px;
  background: var(--beige);
  color: var(--maroon);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.95;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.city img { width: auto; height: 60px; margin-bottom: 10px; transition: filter 0.3s; }
.city:hover { background: var(--maroon); color: var(--white); transform: translateY(-4px); }
.city:hover img { filter: brightness(0) invert(1); }
.city-tel { color: inherit; text-decoration: none; line-height: 1.6; }
.city-tel:hover, .city-tel:focus-visible { text-decoration: underline; }

/* ---------- Footer ---------- */
.bnn-footer { padding: clamp(56px, 4vw, 77px) 0 clamp(40px, 3vw, 60px); }
.footer-inner {
  max-width: 938px;
  margin: 0 auto;
  padding-inline: var(--gut);
  text-align: center;
}
.f-logo { width: clamp(220px, 21.4vw, 411px); }
.bnn-footer hr {
  margin: clamp(14px, 1.3vw, 24px) 0 clamp(18px, 1.4vw, 26px);
  border: 0;
  border-top: 1px solid var(--ink);
  opacity: 1;
}
.f-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.5;
}
.bnn-footer .partners { justify-content: center; column-gap: clamp(14px, 1.46vw, 28px); margin-top: 18px; }
.bnn-footer .p-lbl { font-size: clamp(14px, 0.84vw, 16px); }
.bnn-footer .p-toi { height: 54px; }
.bnn-footer .p-nicmar { height: 37px; }
.bnn-footer .p-aicte,
.bnn-footer .p-ey { height: 75px; }
.copy { font-size: clamp(14px, 0.84vw, 16px); margin-top: clamp(28px, 2.1vw, 40px); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}
.to-top svg { width: 14px; height: 14px; transform: rotate(90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--coral); }

/* ---------- Video modal ---------- */
.video-modal .modal-content { background: #000; border: 0; border-radius: 0; }
.video-modal .btn-close { position: absolute; top: -40px; right: 0; opacity: 1; }
.video-modal video,
.video-modal iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1599.98px) {
  .city-grid { grid-template-columns: repeat(7, minmax(0, 163px)); column-gap: 14px; }
}

@media (max-width: 1399.98px) {
  .s-prev { left: -14px; }
  .s-next { right: -14px; }
  .season1 .s-prev { left: -14px; }
  .season1 .s-next { right: -14px; }
  .city-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 1199.98px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-media { grid-column: 1; }
  .about-box {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: auto;
    margin: -80px 0 0 12%;
  }
  .about-box h2 br { display: none; }
  .prize-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  :root { --header-h: 90px; }
  .hero { min-height: 0; flex-direction: column; }
  .hero-inner { display: contents; }
  .hero-top { order: 1; padding: 120px var(--gut) 0; }
  .hero-bg { position: relative; order: 2; aspect-ratio: 16 / 9; margin-top: 8px; }
  .hero-bg img { object-position: 72% 78%; }
  .hero-bottom { order: 3; padding: 8px var(--gut) 40px; grid-template-columns: 1fr; row-gap: 22px; }
  .about-box { margin-left: 6%; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step, .step:nth-child(n + 5) { min-height: 0; padding: 24px 22px 28px; }
  .step-bar { height: 130px; }
  .step-diag { height: 190px; }
  .testi { min-height: 0; }
  .guide { min-height: 320px; }
}

@media (max-width: 767.98px) {
  .about-box { margin: -48px 0 0; }
  .cta-bar, .cta-diag { opacity: 0.6; }
  .champ-body { padding-inline: 20px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-no { width: 56px; height: 56px; font-size: 18px; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 15px; }
  .faq-a > p,
  .faq-a > .faq-body { padding-right: 0; }
  .faq-ic { width: 40px; height: 40px; }
  .btn-dl { margin-top: 32px; }
}

@media (max-width: 575.98px) {
  .hero-top { padding-top: 104px; }
  .hero-bg { aspect-ratio: 3 / 2; }
  .hero-bg img { object-position: 76% 80%; }
  .season .sep { display: block; height: 0; overflow: hidden; }
  .partners { column-gap: 14px; }
  .p-lbl { font-size: 14px; }
  /* footer partners: Presented by on top (2 logos in one line),
     then Supported by + Process partner side by side */
  .bnn-footer .partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 10px;
    justify-items: center;
    align-items: center;
  }
  .bnn-footer .p-lbl { text-align: center; font-size: 15px; }
  .bnn-footer .partners > :nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .bnn-footer .partners > :nth-child(2) { grid-column: 1; grid-row: 2; justify-self: end; }
  .bnn-footer .partners > :nth-child(3) { grid-column: 2; grid-row: 2; justify-self: start; }
  /* NICMAR logo is wider than TOI: shift the pair so it sits centred */
  .bnn-footer .partners > :nth-child(2),
  .bnn-footer .partners > :nth-child(3) { transform: translateX(-22px); }
  .bnn-footer .partners > :nth-child(4) { grid-column: 1; grid-row: 3; margin-top: 14px; }
  .bnn-footer .partners > :nth-child(5) { grid-column: 1; grid-row: 4; }
  .bnn-footer .partners > :nth-child(6) { grid-column: 2; grid-row: 3; margin-top: 14px; }
  .bnn-footer .partners > :nth-child(7) { grid-column: 2; grid-row: 4; }
  .bnn-footer .p-toi { height: 50px; }
  .bnn-footer .p-nicmar { height: 34px; }
  .bnn-footer .p-aicte,
  .bnn-footer .p-ey { height: 70px; }
  /* arrows sit under the slider on phones */
  .season1 .slider-shell { padding-bottom: 64px; }
  .testimonials .slider-shell { padding-bottom: 110px; }
  .slider-shell .s-arrow,
  .season1 .slider-shell .s-arrow,
  .testimonials .slider-shell .s-arrow { top: auto; bottom: 8px; width: 42px; height: 42px; }
  .testimonials .slider-shell .s-arrow { bottom: 48px; }
  .slider-shell .s-prev { left: calc(50% - 50px); }
  .slider-shell .s-next { right: calc(50% - 50px); }
  .prize-grid { grid-template-columns: 1fr; }
  .tab { font-size: 18px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city { min-height: 150px; font-size: 15px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* footer partners on one line (desktop) */
@media (min-width: 992px) {
  .bnn-footer .partners { flex-wrap: nowrap; column-gap: 22px; margin-inline: -30px; }
}
.guide-c p { max-width: 560px; }
main { overflow-x: clip; }

/* =========================================================
   Hero copy: one line spanning the hero on desktop
   ========================================================= */
@media (min-width: 992px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-lead {
    margin: 0;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    font-weight: 500;
    font-size: min(2.27vw, 40px); /* scales with the viewport so the sentence fills one line; capped where the content width stops growing */
    line-height: 1.2;
    color: #1f3b93;
  }
}

/* =========================================================
   Mobile header + hero (< 992px)
   Top of page: only Register Now + menu over the hero (like desktop);
   the big logo lives in the hero. After scrolling, main.js adds .is-fixed
   and the cream band with the small logo slides in.
   Hero order: logo, Presented by, image, then the Join line.
   ========================================================= */
@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .bnn-nav { position: absolute; padding: 10px 0; }
  .bnn-nav.is-fixed { position: fixed; padding: 10px 0; }
  .bnn-nav.is-fixed .brand img { width: 84px; }
  .bnn-nav .wrap > .d-flex { gap: 10px !important; }
  .nav-cta { min-width: 0; height: 40px; padding: 0 34px 0 18px; font-size: 14px; }
  .nav-cta .ic-in { display: none; }
  .nav-cta .ic-out { right: 14px; }
  .burger { width: 40px; height: 40px; }

  .hero { text-align: center; }
  .hero-top { order: 1; position: relative; z-index: 1; padding: calc(var(--header-h) + 20px) var(--gut) 0; }
  .hero-logo img { width: min(280px, 72vw); margin: 0 auto; }
  .presented { width: min(100%, 300px); margin: 20px auto 0; }
  .hero .presented .p-lbl { font-size: 14px; }
  .presented-logos { justify-content: center; gap: 28px; }
  .hero .presented .p-toi { width: auto; height: 46px; }
  .hero .presented .p-nicmar { width: auto; height: 30px; }
  .hero-bg { order: 2; aspect-ratio: 16 / 9; margin-top: 0; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 75%; }
  .hero-bottom { order: 3; padding: 4px var(--gut) 40px; row-gap: 0; }
  .hero-lead { margin: 0 auto; white-space: nowrap; font-size: min(3.95vw, 22px); font-weight: 500; line-height: 1.45; color: #1f3b93; } /* two lines, split by the <br> */
}
@media (max-width: 575.98px) {
  .hero-bg { aspect-ratio: 4 / 3; margin-top: -28px; } /* image top is plain cream, so tuck it under the logos */
}

/* =========================================================
   Inner pages (register, success, upload): body.inner-page
   Header is always the cream band with the logo; content sits in a card.
   ========================================================= */
.inner-page .bnn-nav,
.inner-page .bnn-nav.is-fixed {
  position: sticky;
  top: 0;
  padding: 8px 0;
  background: rgba(252, 247, 241, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  animation: none;
}
.inner-page .bnn-nav .brand { display: block; }
.inner-page .bnn-nav .brand img { width: clamp(84px, 5.5vw, 104px); }
.inner-page .bnn-nav nav { margin: 0 auto; }
.inner-page .nav-links a.active::after { transform: scaleX(0); }
.inner-page .nav-links a.active { color: var(--ink); }

.page-sec { padding: clamp(32px, 4vw, 72px) 0 clamp(56px, 5vw, 96px); background: var(--beige); }
.page-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 52px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(73, 20, 37, 0.08);
}
.page-title { font-size: var(--fs-h3); line-height: 1.15; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px; }
.page-sub { margin-bottom: 28px; color: #6b6362; }
.page-icon { font-size: 4rem; color: var(--maroon); }
.page-sec .text-success { color: var(--maroon) !important; }
.page-sec .form-control:focus,
.page-sec .form-select:focus,
.page-sec .form-check-input:focus { border-color: var(--maroon); box-shadow: 0 0 0 0.2rem rgba(162, 28, 69, 0.15); }
.page-sec .form-check-input:checked { background-color: var(--maroon); border-color: var(--maroon); }
.page-sec .btn-bnn { padding: 0 28px; } /* no sliding arrows here, so no side room needed */
.btn-line { background: transparent; color: var(--maroon); box-shadow: inset 0 0 0 1.5px var(--maroon); }
.btn-line:hover, .btn-line:focus-visible { background: var(--maroon); color: var(--white); }
