/* =========================================================
   APPLY NOW PAGE — page-specific only.
   Loaded solely by apply.php via $pageExtraCss.
   ========================================================= */

/* ---- Section scaffolding ---- */
.apply-section {
  padding: 72px 0 88px;
}

.apply-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
.apply-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
}

.apply-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900);
  max-width: 720px;
  margin: 0 0 14px;
}

.apply-lede {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 44px;
}

/* =========================================================
   TWO APPLICATION CHANNELS (Online Portal + Contact Us)
   ========================================================= */
.apply-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.apply-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.apply-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.apply-card--featured {
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  width: fit-content;
  margin-bottom: 22px;
}

.apply-badge--gold {
  background: #fef7e6;
  color: #b37400;
  border: 1px solid rgba(240, 168, 0, 0.35);
}

.apply-badge--green {
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid rgba(18, 96, 59, 0.2);
}

.apply-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.apply-card-icon--gold {
  background: var(--green-900);
  color: var(--gold-500);
  box-shadow: 0 8px 20px -6px rgba(10, 61, 38, 0.35);
}

.apply-card-icon--green {
  background: var(--green-100);
  color: var(--green-800);
}

.apply-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 12px;
  line-height: 1.25;
}

.apply-card-desc {
  font-size: .95rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.apply-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.apply-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.5;
}

.apply-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-700);
}

.apply-card--featured .apply-features li svg {
  color: #b37400;
}

.apply-card-action {
  margin-top: auto;
}

.apply-card-action .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: .96rem;
}

.apply-direct-url {
  display: block;
  margin-top: 10px;
  font-size: .78rem;
  color: var(--ink-soft);
  text-align: center;
  word-break: break-all;
}

/* =========================================================
   APPLICATION ROADMAP / STEPS
   ========================================================= */
.apply-steps-wrapper {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  margin-bottom: 72px;
}

.apply-steps-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.apply-steps-head .apply-kicker {
  justify-content: center;
}
.apply-steps-head .apply-kicker::before {
  display: none;
}

.apply-steps-head h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 12px;
}

.apply-steps-head p {
  font-size: .96rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.apply-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.apply-step-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}

.apply-step-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

.apply-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-800);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
}

.apply-step-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.apply-step-item p {
  font-size: .86rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   HELPDESK & DIRECT CONTACT BANNER
   ========================================================= */
.apply-helpdesk {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 72px;
}

.apply-helpdesk-text h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.apply-helpdesk-text p {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
}

.apply-helpdesk-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .92rem;
  color: #ffffff;
}

.apply-contact-row svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.apply-contact-row a {
  color: #ffffff;
  font-weight: 600;
  transition: color .15s ease;
}

.apply-contact-row a:hover {
  color: var(--gold-500);
}

.apply-helpdesk-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 30px;
}

.apply-helpdesk-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.apply-helpdesk-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apply-helpdesk-info li {
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.apply-helpdesk-info li svg {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================================================
   QUICK LINKS STRIP
   ========================================================= */
.apply-resources {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.apply-resources-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 4px;
}

.apply-resources-text p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}

.apply-resources-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.apply-res-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-900);
  transition: all .2s ease;
}

.apply-res-link:hover {
  background: var(--green-900);
  color: #ffffff;
  border-color: var(--green-900);
}

.apply-res-link svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .apply-channels {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .apply-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .apply-helpdesk {
    grid-template-columns: 1fr;
    padding: 36px 30px;
  }
}

@media (max-width: 640px) {
  .apply-section {
    padding: 52px 0 68px;
  }
  .apply-card {
    padding: 30px 22px;
  }
  .apply-steps-wrapper {
    padding: 40px 20px;
  }
  .apply-steps-grid {
    grid-template-columns: 1fr;
  }
  .apply-helpdesk {
    padding: 30px 20px;
  }
  .apply-resources {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .apply-resources-links {
    width: 100%;
  }
  .apply-res-link {
    width: 100%;
    justify-content: center;
  }
}
