/* =====================================================
   Sightsavers India Fellowship Program
   Responsive landing page styles
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --teal:        #006F62;
  --teal-dark:   #00554A;
  --teal-light:  #1B8576;
  --yellow:      #FFBB22;
  --yellow-dark: #E6A715;
  --ink:         #1A1818;
  --gray-700:    #373737;
  --gray-500:    #6B6B6B;
  --gray-200:    #E6E8EA;
  --gray-100:    #F0F1F2;
  --purple:      #403A60;
  --white:       #FFFFFF;

  --radius:      10px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow:      0 8px 28px rgba(0,0,0,.08);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html,
body {
  overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Bootstrap 3 (loaded for legacy applyform/verify form-control classes) adds
   .container::before/::after clearfix pseudo-elements that become CSS Grid
   items inside .hero__inner and break the side-by-side layout. Neutralize
   only .container — DO NOT touch .row::before/::after, that's the clearfix
   bootstrap form rows rely on. */
.container::before,
.container::after {
  content: none;
  display: none;
}

/* Original new/apply.html ships without Bootstrap, so .col-md-10 is
   unstyled and the .contact-form takes the full container width.
   We load Bootstrap globally in master.htm (verify/form classes need it),
   so reset the column wrappers here to match the original rendering. */
.row.justify-content-center > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 0;
}

/* The header-applynow quick-button is mobile-only; hide on desktop. */
.header-applynow {
  display: none;
}
@media (max-width: 767px) {
  .header-applynow {
    display: inline-block;
  }
  .header-applynow a {
    color: inherit;
    text-decoration: none;
  }
}

section { padding: 0px 0; }

.section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
  margin: 0 0 6px;
}

.text-teal   { color: var(--teal); }
.text-yellow { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn--brochure {
  background: #EF571A;
  color: var(--white);
  font-size: 12px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.btn--apply {
  background: var(--yellow);
  color: var(--purple);
  text-transform: uppercase;
  font-weight: 700;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  text-transform: uppercase;
  padding: 14px 26px;
  font-size: 13px;
}
.btn--yellow-sm {
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 18px;
  font-size: 12px;
  text-transform: uppercase;
}
.btn--yellow-lg {
  background: var(--yellow);
  color: var(--ink);
  padding: 16px 32px;
  font-size: 14px;
  text-transform: uppercase;
}
.btn--brochure-dark {
  background: #EF571A;
  color: var(--white);
  font-size: 12px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.btn--yellow:hover {
  background: var(--yellow-dark);
  color: #FFF;
}
/* ---------- Top yellow welcome bar ---------- */
.top-bar {
  background: #fff;
  font-size: 14px;
  color: var(--gray-700);
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.top-bar__inner1 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.top-bar__msg { margin: 0; font-weight: 400; }
.top-bar__msg i { margin-right: 6px; color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  background: #F0F1F2;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  gap: 16px;
}

.header__inner1 {
  display: flex;
 
  align-items: center;
  padding: 10px 24px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  position: relative;
}
.logo__eye {
  width: 24px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  position: relative;
}
.logo__eye::after {
  content: '';
  position: absolute;
  inset: 25% 30%;
  border-radius: 50%;
  background: var(--teal);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__text strong {
  font-size: 16px;
  color: var(--teal);
  font-weight: 800;
  font-family: 'Open Sans', sans-serif;
}
.logo__text small {
  font-size: 12px;
  color: var(--gray-700);
  font-weight: 600;
}
.logo__text .logo__sub {
  font-size: 9px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--teal); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 40;
}
.nav-overlay.is-show { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.05), transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(255,255,255,.05), transparent 50%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero__copy h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--yellow);
}
.hero__copy h1 span { display: block; line-height: 1.5; }
.hero__copy p {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 540px;
  color: rgba(255,255,255,.95);
}
.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,187,34,.95);
  color: var(--ink);
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Yellow ribbon ---------- */
.ribbon {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  width: 100%;
}
.marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee__track span {
  font-weight: 700;
  color: var(--teal-dark);
  list-style: none;
  font-size: 15px;
}
@keyframes marquee {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ---------- The Context ---------- */
.context { background: var(--gray-100); position: relative; }
.context__lead {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
}
.context__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.context__viewport {
  flex: 1;
  overflow: hidden;
}
.context__track {
  display: flex;
  gap: 16px;
  transition: transform .5s ease;
  align-items: stretch;
}
.slide {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #ddd;
  flex: 0 0 calc((100% - 16px * 2) / 3); /* 3 visible on desktop */
}
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  z-index: 2;
}
.slider-btn:hover { background: var(--teal); color: var(--white); transform: scale(1.05); }

.context__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.context__dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,111,98,.25);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.context__dots .dot.is-active {
  background: var(--yellow);
  transform: scale(1.2);
}

/* ---------- About section ---------- */
.about {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about::after {
  content: '';
  position: absolute;
  right: -120px; bottom: -160px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.about__sub { margin: 0 0 30px; font-weight: 400; font-size: 22px;
  line-height: 1.2; }
.about__body {
  max-width: 880px;
  margin: 0 auto 14px;
  font-size: 16px;
  color: rgba(255,255,255,.95);
}
.about__contact-title {
  margin: 36px 0 18px;
  letter-spacing: 0px;
  line-height: 1.2;
  font-size: 20px; font-weight: 500;
  color: var(--white);
}
.about__contacts {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-dark);
  color: var(--yellow);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
}
.contact-pill span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* ---------- Salient features ---------- */
.features {
  background: var(--gray-100);
  background-image: url('../images/circles-bg.png');
  background-size: cover;
  background-position: center;
}
.features__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 24px;
}
.features__head .section-title { margin: 0; flex: 1; text-align: center; }
.features__nav {
  display: flex;
  gap: 8px;
}
.features-prev,
.features-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease;
}
.features-prev:hover,
.features-next:hover { background: var(--teal); color: var(--white); }

.features__viewport {
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.features__track {
  display: flex;
  gap: 12px;
  transition: transform .4s ease;
  align-items: stretch;
}
.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 0 0 calc((100% - 12px * 4) / 5); /* 5 visible on desktop */
  min-height: 200px;
  justify-content: flex-start;
  cursor: pointer;
}
/* .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--teal);
  color: var(--white);
} */

/* Fixed icon block — keeps every card's text starting at the same Y line */
.feature-card i {
  font-size: 36px;
  color: var(--teal);
  height: 56px;
  width: 56px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  transition: color .25s ease, fill .25s ease;
}
.feature-card i svg {
  height: 100%;
  width: auto;
  fill: currentColor;
  transition: fill .25s ease;
}
.feature-card:hover i,
.feature-card:hover i svg {
  /* color: var(--black); */
  fill: var(--white);
}

.feature-card p {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--gray-700);
  transition: color .25s ease;
}
/* .feature-card:hover p { color: var(--white); } */

.feature-card--lead {
  background: var(--teal);
  color: var(--white);
}
.feature-card--lead i { color: var(--white); }
.feature-card--lead i svg { fill: var(--white); }
.feature-card--lead h4 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
}
.feature-card--lead:hover {
  /* background: var(--teal-dark); */
}

.features__dots,
.fellows__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.features__dots .dot,
.fellows__dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,111,98,.25);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  border: 0;
  padding: 0;
}
.features__dots .dot.is-active,
.fellows__dots .dot.is-active {
  background: var(--yellow);
  transform: scale(1.2);
}

.features__footnote {
  max-width: 1100px;
  margin: 36px auto 0;
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
}

/* ---------- Eligibility ---------- */
.eligibility { background: var(--white); padding: 40px 0; }
.eligibility__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: var(--shadow); */
  background: var(--white);
}
.eligibility__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.eligibility__panel {
  background: var(--teal);
  color: var(--white);
  padding: 60px;
  border-radius: 20px;;
  position: relative;
}
.eligibility__icon {
  position: absolute;
  top: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.eligibility__panel h2 {
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--white);
}
.eligibility__panel p { color: rgba(255,255,255,.95); font-size: 15px; }
.eligibility__panel h3 {
  font-size: 20px;
  color: var(--yellow);
  margin: 22px 0 8px;
  letter-spacing: .5px;
}

/* ---------- Training Institutions ---------- */
.training__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.institution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.institution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.institution-card__logo {
  height: 80px;
  display: grid;
  place-items: center;
  border-bottom: 1px dashed var(--gray-200);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.institution-card__logo strong {
  font-size: 24px;
  color: var(--teal);
  font-weight: 800;
  font-family: 'Open Sans', sans-serif;
  display: block;
  line-height: 1;
}
.institution-card__logo--icare strong { color: #B71C1C; }
.institution-card__logo--icare2 strong { color: #1B5E20; }
.institution-card__logo--susrut strong { color: #1565C0; }
.institution-card__logo small { font-size: 10px; color: var(--gray-500); }
.institution-card p {
  font-size: 18px;
  color: var(--gray-700);
  margin: 0;
}

/* ---------- Partners ---------- */
.partners { background: var(--white); padding: 40px 0; }
.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 940px;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid #006F62;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.partner-card__logo {
  flex-shrink: 0;
  width: 130px;
  text-align: center;
}
.partner-mark {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  color: #00A6E5;
  font-family: 'Open Sans', sans-serif;
}
.partner-mark small {
  display: block;
  font-size: 9px;
  color: var(--gray-500);
  letter-spacing: 1px;
  font-weight: 600;
}
.partner-mark--mantra { color: var(--purple); }
.partner-card__copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
}
.partner-card__copy p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.4;
}

/* ---------- Placement (map + yellow panel) ---------- */
.placement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  margin: 0 auto;
}
.placement__map {
  background: var(--teal);
  display: grid;
  place-items: center;
  padding: 10px; border-radius: 20px;
}
.placement__map-inner {
  position: relative;
  max-width: 360px;
}
.placement__map-inner img { filter: brightness(0) invert(1); opacity: .9; }
.placement__panel {
  background: var(--yellow);
  display: flex; border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px;
  color: var(--ink);
}
.placement__panel h2 {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
}
.placement__panel p {
  margin: 0;
  font-size: 16px;
  color: var(--gray-700);
  max-width: 420px;
}

/* ---------- Selection process ---------- */
.selection { background: #fff; }
.selection__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.step { text-align: center; }
.step__icon {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 28px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.step h3 {
  font-size: 22px;
  color: var(--teal);
  margin: 0 0 12px;
}
.step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.step ul li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  color: var(--gray-700);
  margin: 6px 0;
}
.step ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.step__connector {
  display: grid;
  place-items: center;
  padding-top: 20px;
}
.step__diamond {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--teal) 50%, var(--yellow) 50%);
  transform: rotate(45deg);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.selection__cta {
  margin: 40px auto 0;
  text-align: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 16px;
}
.selection__cta i { color: var(--yellow); margin-right: 6px; }

/* ---------- Stipend & Benefits ---------- */
.stipend {
  background: #fff;
  /* padding: 40px 0; */
}
.stipend__inner {
  max-width: 100%;
  margin: 30px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stipend__image img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.stipend__panel {
  background: var(--teal);
  color: var(--white);
  padding: 90px;
}
.stipend__panel h2 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-weight: 400;
  font-size: 36px;
}
.stipend__lead { font-size: 18px; color:#fff; margin: 0 0 16px; font-weight: 600; }
.stipend__panel p { margin: 0 0 16px; }
.stipend__dates {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.stipend__dates li {
  font-size: 14px;
  color: var(--gray-100);
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stipend__dates i { color: var(--yellow); font-size: 6px; }

/* ---------- Fellows Speak ---------- */
.fellows { background: var(--white); }
.fellows__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.fellows__head .section-title { margin: 0; text-align: left; }
.fellows__nav { display: flex; gap: 8px; }
.fellow-prev,
.fellow-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--teal);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.fellow-prev:hover,
.fellow-next:hover { background: var(--teal); color: var(--white); }

.fellows__viewport { overflow: hidden; }
.fellows__track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}
.fellow-card {
  flex: 0 0 calc(25% - 15px);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.fellow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fellow-card__photo {
  aspect-ratio: 4/3;
  background: #ccc;
  overflow: hidden;
}
.fellow-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.fellow-card__quote {
  color: var(--yellow);
  font-size: 60px;
  margin: 14px 16px 0;
}
.fellow-card h4 {
  font-size: 18px;
  color: var(--teal);
  margin: 6px 16px 6px;
}
.fellow-card h4 small {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 15px;
}
.fellow-card p {
  font-size: 13px;
  margin: 0 16px 14px;
  color: var(--gray-700);
}
.fellow-card .fellow-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.55;
  min-height: calc(1.55em * 4);
}
.fellow-card .btn,
.fellow-card .fellow-readmore { margin: auto 16px 16px; align-self: flex-start; }



/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open {
  display: flex;
  animation: modalFade .2s ease;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  animation: modalSlide .25s ease;
}
@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-size: 16px;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.modal__close:hover {
  background: var(--teal);
  color: var(--white);
  transform: rotate(90deg);
}
.modal__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-height: 88vh;
  overflow: hidden;
}
.modal__photo {
  background: var(--gray-100);
  overflow: hidden;
}
.modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.modal__content {
  padding: 36px 36px 40px;
  overflow-y: auto;
  position: relative;
}
.modal__quote {
  font-size: 36px;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}
.modal__content h3 {
  font-size: 22px;
  color: var(--teal);
  margin: 0 0 14px;
  font-weight: 700;
}
.modal__content p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 700px) {
  .modal__body { grid-template-columns: 1fr; }
  .modal__photo img { min-height: 220px; max-height: 240px; }
  .modal__content { padding: 24px 22px 28px; }
  .modal__content h3 { font-size: 18px; }
  .modal__content p { font-size: 14px; }
}

body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--gray-200); }
.footer-cta {
  background: var(--gray-100);
  text-align: center;
  padding: 22px 16px;
}
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  flex-wrap: wrap;
  gap: 18px;
}
.logo--footer { gap: 10px; }
.footer__brand p {
  font-size: 12px;
  color: var(--gray-500);
  margin: 8px 0 0;
  max-width: 600px;
}
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-100);
  color: var(--teal);
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--teal); color: var(--white); }

/* ---------- Video Modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.video-modal__close:hover {
  background: rgba(255,255,255,.35);
  transform: rotate(90deg);
}
.video-modal__frame { width: 100%; height: 100%; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* ---------- Tablet (≤ 992px) ---------- */
@media (max-width: 992px) {
  .section { padding: 48px 0; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transition: right .3s ease;
    z-index: 60;
    overflow-y: auto;
  }
  .main-nav.is-open { right: 0; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .main-nav ul li { width: 100%; }
  .main-nav ul a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
  }
  .main-nav .nav-apply {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    justify-content: center;
  }

  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__copy h1 { font-size: 38px; }

  .features__head { flex-direction: column; gap: 14px; }
  .features__head .section-title { text-align: center; }
  .feature-card {
    flex: 0 0 calc((100% - 12px * 2) / 3); /* 3 visible on tablet */
  }

  .slide {
    flex: 0 0 calc((100% - 16px) / 2); /* 2 visible on tablet */
  }

  .training__grid { grid-template-columns: repeat(3, 1fr); }

  .eligibility__inner { grid-template-columns: 1fr; }
  .eligibility__image img { max-height: 380px; }

  .placement { grid-template-columns: 1fr; }
  .placement__panel { padding: 36px 24px; text-align: center; }
  .placement__panel p { margin: 0 auto; }

  .selection__steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .step__connector { padding: 0; }
  .step__diamond { width: 60px; height: 60px; }

  .stipend__inner { grid-template-columns: 1fr; }
  .stipend__image img { min-height: 220px; }

  .fellow-card { flex: 0 0 calc(50% - 10px); }

  .partners__grid { grid-template-columns: 1fr; }

  .footer__main { flex-direction: column; text-align: center; }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 28px; margin-bottom: 24px; }
  .footer__main{ padding: 20px;}

  .top-bar__inner { padding: 8px 16px; gap: 8px;         justify-content: center; }
  .top-bar__msg { font-size: 13px; }
  .btn--brochure { font-size: 11px; padding: 6px 10px; }

  .header__inner { padding: 8px 16px; }
  .logo__text strong { font-size: 14px; }
  .logo__text small { font-size: 11px; }
  .logo__text .logo__sub { display: none; }

  .hero { padding: 40px 0 56px; }
  .hero__copy h1 { font-size: 30px; }
  .hero__copy p { font-size: 14px; }
  .play-btn { width: 56px; height: 56px; font-size: 16px; }

  .feature-card {
    flex: 0 0 calc(100% - 12px); /* 1 visible on mobile */
    min-height: 140px;
  }
  .feature-card p { font-size: 13px; }

  .training__grid { grid-template-columns: 1fr; }

  .about__contact-title { letter-spacing: 2px; font-size: 14px; }
  .contact-pill { font-size: 13px; }

  .eligibility__panel { padding: 28px 22px; }
  .eligibility__panel h2 { font-size: 28px; }

  .partners__grid { gap: 16px; }
  .partner-card { flex-direction: column; text-align: center; }

  .placement__panel { padding: 28px 20px; }

  .selection__steps { gap: 24px; }
  .step h3 { font-size: 18px; }

  .stipend__panel { padding: 28px 22px; }
  .stipend__panel h2 { font-size: 28px; }

  .fellow-card { flex: 0 0 100%; }

  .fellows__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fellows__head .section-title { text-align: center; align-self: center; }

  .footer-cta { padding: 18px 12px; }
  .btn--yellow-lg { padding: 12px 18px; font-size: 12px; }

  .slide { flex: 0 0 100%; }
  .context__slider { gap: 6px; }
  .slider-btn { width: 38px; height: 38px; font-size: 13px; }
}



/* Apply Page Form CSS code   */




.contact-form{
  padding: 40px;
  border-radius: 15px;
  background: #F0F1F2;
  margin: 50px 0;
}
.contact-form h6{
  color: #006F62;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
.contact-form p{
  color: #373737;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.contact-form p a{
  color: #006F62;
}
.contact-form form{
  padding: 20px 0;
  text-align: left;
}
.contact-form form p{
  color: #373737;
}
form .user__details .input__box {
  margin-bottom: 15px;
}

.user__details .input__box .details {
  font-size: 15px;
  margin-bottom: 5px;
  display: block;
  color: #373737;
}
.details {
  font-size: 15px;
  margin-bottom: 5px;
  display: block;
  color: #373737;
}
.paraspan{
  font-size: 13px;
  margin-bottom: 7px;
  display: block;
  color: #555555;
}
.user__details .input__box input {
  height: 45px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #cccccc !important;
  padding-left: 15px;
  font-size: 15px;
  color: #222222;
  transition: all 0.3s ease;
}
.form2-flex input {
  height: 45px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #cccccc !important;
  padding-left: 15px;
  font-size: 15px;
  color: #222222;
  transition: all 0.3s ease;
}

.user__details .input__box input:focus,
.user__details .input__box input:valid {
  border-color: var(--main-purple);
}

/* inside the form gender details */
.form3-flex{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.form3-flex .input__box{
  width: 32%;
}
.form2-flex{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.form2-flex .input__box{
  width: 48.67%;
}
.datew{
  width: 100%;
}
.datew50{
  width: 48.67%;
}
.dateb{
  display: flex;
  justify-content: space-between;
}
.dateb .input__box{
  width: 32% !important;
}
.datew50 .input__box{
  width: 100%;
}


.user__details .input__box select {
  height: 45px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #cccccc !important;
  padding-left: 10px;
  font-size: 15px;
  color: #555555;
  transition: all 0.3s ease;
}
.justify-content-start{
  justify-content: flex-start !important;
}
.dflex{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.dflex input, .dflex select{
  width: 48.67% !important;
}
.form-flex .input__box{
  display: flex;
  justify-content: space-between;
}
.form-flex .input__box input{
  width: 23.5% !important;
}
.form5-flex .input__box{
  display: flex;
  justify-content: space-between;
}
.form5-flex .input__box input{
  width: 18.5% !important;
}
.ptb-20{
  margin: 20px 0;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    /* Standard sr-only pattern: visually hide the native radio but keep it
       focusable so `required` validation works. The label::before/::after
       draw the custom circle. Original used `left: -9999px` which moved
       the radio off-screen and made it un-focusable for Chrome's validation
       tooltip ("not focusable" error on submit). */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
    font-size: 15px;
    font-weight: 400;
    margin: 0 10px;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #000000;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.btn-submit{
  border-bottom: 3px solid #BB3C1B;
  border-radius: 6px;
  padding: 10px 25px;
  background: #EF571A;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #fff !important;
  text-transform: uppercase;
  font-style: normal;
}

::placeholder {
  color: #555555;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #555555;
}

input[type="file"] {
  display: none;
}
.file-upload{
  margin-bottom: 25px;
  font-size: 16px;
}
.file-upload span{
  margin-right: 10px;
}
.custom-file-upload {
  display: inline-block;
  cursor: pointer;
  padding: 15px 20px;
   background: #FFBB22;
  color: #000;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.custom-file-upload:hover {
  background-color: #EF571A;
  color: #ffffff;
}


.gender__details .category label {
  display: flex;
  align-items: center;
}

.gender__details .category .dot {
  height: 18px;
  width: 18px;
  background: var(--sub-grey);
  border-radius: 50%;
  margin: 10px;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked ~ .category .one,
#dot-2:checked ~ .category .two,
#dot-3:checked ~ .category .three {
  border-color: var(--sub-grey);
  background: var(--main-purple);
}

form input[type="radio"] {
  display: none;
}

/* submit button */
form .button {
  height: 45px;
  margin: 45px 0;
}

form .button input {
  height: 100%;
  width: 100%;
  outline: none;
  color: #000000;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--main-blue), var(--main-purple));
  transition: all 0.3s ease;
}

form .button input:hover {
  background: linear-gradient(-135deg, var(--main-blue), var(--main-purple));
}

@media only screen and (max-width: 584px) {
  form .user__details .input__box {
    margin-bottom: 15px;
    width: 100%;
  }

  form .gender__details .category {
    width: 100%;
  }

  .user__details::-webkit-scrollbar {
    width: 0;
  }
}

.justify-content-center{
  justify-content: center;
  display: flex;
  text-align: center;
}


.card {
    border: 0px solid rgba(0,0,0,.125);
    box-shadow: 0px 0px 1px;
    margin-bottom: 10px;
}
.form-row {
	padding: 3px;
}
section.application-form {
    background: #f0f1f2;
    padding: 36px 0;
}

.applyform h2 {
    text-align: center;
    padding: 0 0 10px 0;
    font-size: 23px;
    font-weight: normal;
    text-transform: uppercase;
}


/*.applyform .card {*/
/*    border: 0px solid rgba(0,0,0,.125);*/
/*    box-shadow: 0px 0px 1px;*/
/*    margin-bottom: 10px;*/
/*}*/
 

.header-right-btn a.btn.btn-danger {
    padding: 2px 15px;
}

.applyform .submitbtn .sbtn {
    margin-top: 15px;
    background: #ffbb23;
    color: #FFF;
    border: 1px solid;
    padding: 15px;
    width: 345px;
    opacity: .8;
}
.applyform label {
    font-size: 13px;
    color: #000;
   margin-bottom: 5px;	
}
section.application-form .bg-warning {
    background-color: #f5bb37!important;
    color: #fff;
    padding: 4px;
    display: flex;
}

.grid_box .col-md-6 {
    padding: 0 10px;
}

.selection-container .col-md-6 {
    padding: 0 36px;
}

section#head figure.banner img {
    max-width: 100%;
}

section#head figure.banner{margin:0;}
section#head {
    position: relative;
}
.submitbtn {
    margin-top: 15px;
    background: #ffbb23;
    color: #FFF;
    border: 1px solid;
    padding: 15px;
    width: 345px;
    opacity: .8;
}



@media (max-width: 767px) {
  
.form3-flex{
  display: flow-root; 
  width: 100%;
  justify-content: space-between;
}
.datew50, .dflex input, .dflex select, .form-flex .input__box input, .form5-flex .input__box input {
        width: 100% !important;
        margin: 5px 0;
    }
.form3-flex, .form2-flex, .dflex, .form-flex .input__box, .form5-flex .input__box {
        flex-direction: column;
}
.form2-flex {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
 .header-applynow{
    padding: 5px;
    background: #FFBB22;
    border-radius: 5px;
    color: #403A60;
    font-weight: 700;
  }
      .section {
        padding: 0px 0;
}
}

