:root {
  --navy: #0b1a44;
  --green-dark: #0c3b17;
  --green: #1d6b1f;
  --lime: #5fae12;
  --lime-bright: #b4e619;
  --text: #182238;
  --muted: #4a5468;
  --tint: #f2f8ec;
  --line: #dfe7d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.5; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
section[id], header[id] { scroll-margin-top: 90px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, #2b7d1c, var(--green-dark)); color: #fff;
  border: 0; border-radius: 10px; padding: 12px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 12px rgba(12,59,23,0.25);
}
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn--block { display: flex; width: 100%; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px; background: none; color: var(--navy);
  border: 2px solid var(--lime); border-radius: 30px; padding: 8px 24px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-outline:hover { background: var(--tint); }

/* Section titles */
.title { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 26px; font-weight: 700; line-height: 1.25; margin: 0 0 22px; }
.title::before { content: '//'; color: var(--lime); font-weight: 800; font-style: italic; letter-spacing: -2px; }
.title--small { font-size: 19px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(11,26,68,0.1); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.nav__brand { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__partner { display: block; height: 52px; width: auto; border-left: 1px solid var(--line); padding-left: 14px; box-sizing: content-box; }
.nav__logo { line-height: 0; }
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14px; font-weight: 600; color: var(--navy); padding: 6px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav__link:hover, .nav__link.active { border-bottom-color: var(--lime); }
.nav__cta { white-space: nowrap; }
.nav__toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 28px; width: 44px; height: 44px; cursor: pointer; }

/* Hero: the banner artwork carries the headline, date, venue and categories */
.hero { background: #06163a; }
.hero__img { display: block; width: 100%; max-width: 1774px; height: auto; margin-inline: auto; }
.hero__info { display: none; }
.hero__collab { margin: 0; padding: 10px 16px; text-align: center; text-wrap: balance; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 0.3px; border-bottom: 2px solid var(--lime); }

/* Countdown */
.countdown {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 20px 0; padding: 14px 34px; background: #fff; border-radius: 60px;
  box-shadow: 0 6px 26px rgba(11,26,68,0.14);
}
.countdown__title { font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); font-size: 15px; }
.countdown__units { display: flex; gap: 12px; }
.countdown__units div { background: #eef0fa; border-radius: 10px; min-width: 86px; padding: 8px 6px; text-align: center; }
.countdown__units b { display: block; font-size: 28px; line-height: 1.15; color: var(--navy); font-variant-numeric: tabular-nums; }
.countdown__units span { font-size: 11px; text-transform: uppercase; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 36px; align-items: center; padding-block: 24px; }
.about__text .title { margin-bottom: 6px; }
.about__headline { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--green-dark); margin: 0 0 10px; }
.about__text p:not(.about__headline) { margin: 0 0 16px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-left: 2px solid var(--lime); padding-left: 24px; align-self: stretch; }
.stat { background: var(--tint); border-radius: 10px; text-align: center; padding: 22px 8px; }
.stat .ico { width: 46px; height: 46px; color: var(--lime); }
.stat__num { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.15; margin: 8px 0 4px; }
.stat__num small { font-size: 15px; display: block; }
.stat__label { font-size: 12.5px; }
.about__more { grid-column: 1 / -1; background: var(--tint); border-radius: 10px; padding: 6px 24px; font-size: 14px; }

/* Categories */
#categories { padding-block: 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  --tone: #2e8b0f; --bg: #eff8e6;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--bg); border: 1px solid rgba(11,26,68,0.08); border-radius: 14px; padding: 18px 12px 14px; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat-card--blue { --tone: #0a7fc2; --bg: #e8f5fd; }
.cat-card--orange { --tone: #ee7203; --bg: #fff2e4; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(11,26,68,0.14); }
.cat-card__icon { width: 52px; height: 52px; fill: none; stroke: var(--tone); color: var(--tone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cat-card__id { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.cat-card__id--long { font-size: 21px; line-height: 2; }
.cat-card__name { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; min-height: 38px; margin-bottom: 12px; }
.cat-card__fee { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; margin-top: auto; padding: 9px; border-radius: 8px; background: var(--tone); color: #fff; font-size: 18px; font-weight: 700; }

/* Partner band */
.partner { display: flex; align-items: center; gap: 32px; background: linear-gradient(100deg, #1f6b1c, var(--green-dark) 55%); color: #fff; border-radius: 14px; padding: 22px 40px; }
.partner__icon { width: 86px; height: 86px; fill: none; stroke: var(--lime-bright); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.partner__text { flex: 1; border-right: 2px solid rgba(180,230,25,0.5); }
.partner h2 { margin: 0; font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.partner h2 em { font-style: normal; color: var(--lime-bright); }
.partner p { margin: 4px 0 0; }
.partner__contact { display: grid; gap: 12px; font-size: 17px; font-weight: 600; min-width: 0; }
.partner__contact a { display: flex; align-items: center; gap: 14px; }
.partner__contact span { overflow-wrap: anywhere; }
.partner__contacts { display: grid; gap: 14px; min-width: 0; }
.partner__contact + .partner__contact { border-top: 1px solid rgba(180,230,25,0.4); padding-top: 14px; }

/* Participants get */
.gets { display: flex; align-items: center; gap: 20px; background: var(--tint); border-radius: 12px; padding: 16px 20px; margin-block: 24px; }
.gets .title { margin: 0; font-size: 16px; flex: none; }
.gets ul { flex: 1; display: grid; grid-template-columns: repeat(9, auto); }
.gets li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.35; padding-inline: 6px; border-left: 1px solid var(--line); color: var(--navy); }
.gets li .ico { width: 36px; height: 36px; color: var(--lime); }

/* Green cause */
.juneli { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; margin-top: 36px; padding: 28px 36px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(11,26,68,0.1); }
.juneli__logo { display: block; width: 100%; height: auto; }
.juneli .title { margin-bottom: 12px; }
.juneli p { margin: 0; font-size: 15px; line-height: 1.75; }

/* Fit India colours, sampled from its logo; on a white background to suit the logo */
.cause { --fi-orange: #fc7800; --fi-navy: #0c1a66; --fi-green: #087a08; position: relative; margin-top: 32px; background: #fff; border-block: 1px solid var(--line); }
.cause__inner { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; }
.cause__photo { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; object-position: center top; -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent); mask-image: linear-gradient(90deg, #000 75%, transparent); }
.cause__text { padding-block: 20px; }
.cause__logo { display: block; width: 84px; height: auto; margin-bottom: 8px; }
.cause h2 { margin: 4px 0; font-size: 23px; color: var(--fi-navy); }
.cause p { margin: 0; font-size: 13.5px; }
.cause__cta { margin-top: 14px; background: var(--fi-navy); }
.cause__pillars { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 13px; font-weight: 600; color: var(--fi-navy); }
.cause__pillars li { display: flex; flex-direction: column; align-items: center; gap: 10px; border-left: 1px solid var(--line); padding: 8px 4px; overflow-wrap: anywhere; }
.green { display: flex; align-items: center; gap: 24px; margin-top: 24px; padding: 14px 24px; border: 1px solid #c9dcb8; border-radius: 12px; background: linear-gradient(90deg, #f6faef, #e8f3dc); }
.green .title { margin: 0; flex: none; }
.green__text { flex: 1; margin: 0; font-size: 13.5px; }
.green__partner { display: flex; align-items: center; gap: 12px; flex: none; border-left: 1px solid #c9dcb8; padding-left: 24px; }
.green__partner span { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.green__partner img { width: 130px; height: auto; }
.cause__pillars .ico { width: 58px; height: 58px; padding: 12px; border: 1.5px solid currentColor; border-radius: 50%; color: var(--fi-orange); }
.cause__pillars li:nth-child(2) .ico { color: var(--fi-navy); }
.cause__pillars li:nth-child(3) .ico { color: var(--fi-green); }

/* Schedule and Why */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-block: 28px; }
.duo > * { min-width: 0; }
.schedule li { display: grid; grid-template-columns: 22px 86px 1fr; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.schedule li.is-key { background: #e6f5cc; border-radius: 6px; }
.schedule .ico { color: var(--lime); width: 20px; height: 20px; stroke-width: 2.4; }
.schedule time { font-weight: 700; color: var(--navy); }
.why { position: relative; border-left: 1px solid var(--line); padding-left: 32px; }
.why ul { position: relative; z-index: 1; }
.why li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 14px; font-weight: 500; }
.why li .ico { color: var(--lime); width: 22px; height: 22px; stroke-width: 3.5; }
.why img { position: absolute; right: 0; bottom: 0; width: 38%; height: auto; mix-blend-mode: multiply; }

/* FAQ */
.faq { padding-block: 12px 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; background: none; border: 0; text-align: left; cursor: pointer; }
.faq-item__q-text { font-size: 15px; font-weight: 600; color: var(--navy); }
.faq-item__marker { font-size: 22px; color: var(--lime); }
.faq-item__a { padding: 0 4px 18px; white-space: pre-line; font-size: 14px; color: var(--muted); }

/* Footer */
.footer { background: var(--green-dark); color: #fff; padding-block: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 62px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; }
.footer__links a, .footer__links button { background: none; border: 0; color: #fff; font-size: 14px; cursor: pointer; padding: 6px 22px; border-left: 1px solid rgba(255,255,255,0.4); }
.footer__links > :first-child { border-left: 0; }
.footer__social { display: flex; gap: 18px; }
.footer__social .ico { width: 26px; height: 26px; }

/* Dialogs and form */
.modal { width: min(600px, 100% - 24px); max-height: calc(100dvh - 24px); border: 0; border-radius: 16px; padding: 30px; color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.modal--small { width: min(420px, 100% - 24px); }
.modal::backdrop { background: rgba(6,16,40,0.65); }
body:has(dialog[open]) { overflow: hidden; }
.modal__close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; background: none; border: 0; font-size: 28px; color: var(--muted); cursor: pointer; }
.modal__title { margin: 0 0 18px; font-size: 22px; font-weight: 700; color: var(--navy); padding-right: 24px; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--muted); }
.field input, .field select { width: 100%; padding: 11px 12px; border: 1px solid #c9d2c2; border-radius: 8px; font-family: inherit; font-size: 16px; color: var(--text); background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid var(--lime); outline-offset: -1px; }
.form-note { font-size: 12px; color: #6d7686; text-align: center; }
.form-error { font-size: 13px; color: #9c3b2e; background: #fbeae6; border: 1px solid #e7c4bb; border-radius: 8px; padding: 10px 12px; }
.confirm-panel { text-align: center; }
.confirm-panel p { font-size: 14px; color: var(--muted); }
.confirm-panel .form-note { margin: 10px 0 18px; }
.confirm-check { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--lime); color: var(--lime); font-size: 28px; display: flex; align-items: center; justify-content: center; }

/* Tablet */
@media (min-width: 1081px) and (max-width: 1200px) {
  .nav__links { gap: 20px; }
}

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 4px 20px 20px; box-shadow: 0 14px 24px rgba(11,26,68,0.18);
    visibility: hidden; opacity: 0; transition: opacity 0.2s ease, visibility 0.2s;
    max-height: calc(100dvh - 78px); overflow-y: auto;
  }
  .nav__links.open { visibility: visible; opacity: 1; }
  .nav__link { padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav__link.active { color: var(--green); border-bottom-color: var(--lime); }
  .nav__cta { margin-top: 14px; }
  .about { grid-template-columns: 1fr; }
  .stats { border-left: 0; padding-left: 0; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gets { flex-direction: column; align-items: flex-start; }
  .juneli { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .juneli__logo { width: 220px; margin-inline: auto; }
  .green { flex-direction: column; gap: 10px; text-align: center; padding: 18px 16px; }
  .green__partner { flex-direction: column; gap: 6px; border-left: 0; border-top: 1px solid #c9dcb8; padding: 12px 0 0; align-self: stretch; }
  .gets ul { width: 100%; grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .cause__inner { grid-template-columns: 1fr 1.4fr; }
  .cause__pillars { grid-column: 1 / -1; padding-bottom: 20px; }
}

@media (max-width: 860px) {
  .countdown { flex-direction: column; border-radius: 24px; padding: 18px; }
  .partner { flex-direction: column; text-align: center; padding: 26px 20px; gap: 16px; }
  .partner__text { border-right: 0; border-bottom: 2px solid rgba(180,230,25,0.5); padding-bottom: 14px; width: 100%; }
  .partner__contact { font-size: 15px; justify-items: center; max-width: 100%; }
  .partner__contacts { max-width: 100%; }
  .duo { grid-template-columns: 1fr; }
  .why { border-left: 0; padding-left: 0; }
}

/* Phones */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .nav__logo img { height: 46px; }
  .nav__brand { gap: 10px; }
  .nav__partner { height: 40px; padding-left: 10px; }
  .nav__inner { min-height: 66px; }
  .nav__links { max-height: calc(100dvh - 66px); }
  .hero__collab { font-size: 13.5px; padding: 9px 14px; }
  .hero__info { display: grid; gap: 8px; padding: 14px 18px; color: #fff; font-size: 14px; }
  .hero__info div { display: flex; align-items: center; gap: 10px; }
  .hero__info .ico { color: var(--lime-bright); width: 22px; height: 22px; }
  .countdown__units { gap: 8px; width: 100%; }
  .countdown__units div { flex: 1; min-width: 0; }
  .countdown__units b { font-size: 22px; }
  .countdown__units span { font-size: 9.5px; }
  .countdown .btn { width: 100%; }
  .title { font-size: 21px; }
  .about__headline { font-size: 27px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card:last-child { grid-column: 1 / -1; }
  .gets ul { grid-template-columns: 1fr 1fr; }
  .gets li { border-left: 0; }
  .gets li:last-child { grid-column: 1 / -1; }
  .cause__inner { grid-template-columns: 1fr; width: 100%; gap: 0; text-align: center; }
  .cause__photo { height: 190px; -webkit-mask-image: none; mask-image: none; }
  .cause__text { padding: 18px 18px; }
  .cause__logo { margin-inline: auto; }
  .cause__pillars { font-size: 11.5px; padding-inline: 8px; }
  .schedule li { grid-template-columns: 20px 74px 1fr; gap: 8px; padding-inline: 6px; font-size: 13px; }
  .why img { position: static; display: block; width: 70%; margin: 8px auto 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links a, .footer__links button { padding: 8px 12px; font-size: 13px; }
  .partner__contact a { min-height: 40px; gap: 10px; }
  .partner__contact { gap: 4px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .partner { padding: 22px 12px; }
  .partner h2 { font-size: 23px; }
  .partner__contact { font-size: 13px; }
  .partner__contact .ico { display: none; }
}
