/* =============================================================
   affiliation-page.css
   Page-specific styles for affiliation.html
   Requires: style.css (global) loaded first
   ============================================================= */

/* ── PAGE BANNER (affiliation-specific image + height) ────── */
.page-banner {
  min-height: 400px;
  background: linear-gradient(
      135deg,
      rgba(7, 28, 50, 0.96) 0%,
      rgba(11, 42, 74, 0.88) 55%,
      rgba(18, 61, 106, 0.75) 100%
    ),
    url('https://images.unsplash.com/photo-1529390079861-591de354faf5?w=1600&q=80')
    center / cover no-repeat;
  padding-bottom: 64px;
}

.banner-content { max-width: 720px; }

.page-banner .banner-sub { margin-bottom: 28px; }


/* ── QUICK STATS BAR ─────────────────────────────────────── */
/* (stat-item, stat-num, stat-lbl defined in global;
    only the 2-col mobile override is affiliation-specific) */
@media (max-width: 1024px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
}


/* ── INTRO SECTION ───────────────────────────────────────── */
.intro-section { padding: 90px 0; background: var(--white); }

.intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro-inner p { margin-bottom: 18px; font-size: 1.15rem; }
.intro-inner p:last-child { margin-bottom: 0; }

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.pillar {
  background: var(--offwhite);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: all 0.3s;
}
.pillar:hover { background: var(--gold-pale); transform: translateY(-4px); box-shadow: 0 8px 28px rgba(11,42,74,0.1); }
.pillar-icon { width: 56px; height: 56px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.pillar-icon i { color: var(--gold); font-size: 1.2rem; }
.pillar h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.pillar p { font-size: 0.95rem; margin: 0; line-height: 1.6; }


/* ── ACADEMIC AFFILIATION SECTION ───────────────────────── */
.academic-section { padding: 90px 0; background: var(--offwhite); }

.academic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.academic-text p { margin-bottom: 18px; }

.affil-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(200, 164, 77, 0.25);
  border-radius: 6px;
  padding: 24px 28px;
  margin-top: 28px;
  box-shadow: 0 2px 16px rgba(11,42,74,0.07);
}
.affil-badge-icon { width: 64px; height: 64px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.affil-badge-icon i { color: var(--gold); font-size: 1.8rem; }
.affil-badge-text h4 { font-family: 'Jost', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.affil-badge-text p { font-size: 0.9rem; margin: 0; color: #6B7280; line-height: 1.5; }
.affil-badge-text span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 6px; font-family: 'Jost', sans-serif; }
.affil-badge-text span i { font-size: 0.6rem; }

/* Visual box (right column) */
.academic-visual {
  background: var(--navy);
  border-radius: 8px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.academic-visual::before { content: '✝'; position: absolute; right: -30px; bottom: -30px; font-size: 14rem; color: rgba(255,255,255,0.03); font-family: serif; }
.av-cross { font-size: 3rem; color: var(--gold); margin-bottom: 16px; display: block; }
.av-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.av-sub { font-family: 'Crimson Text', serif; font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 24px; }
.av-divider { width: 50px; height: 2px; background: var(--gold); margin: 0 auto 20px; }
.av-partner { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); font-family: 'Jost', sans-serif; }
.av-partner-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-top: 4px; }


/* ── ELIGIBILITY SECTION ─────────────────────────────────── */
.eligibility-section { padding: 90px 0; background: var(--white); }

.elig-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.elig-text p { margin-bottom: 20px; }

.elig-list { display: flex; flex-direction: column; gap: 14px; }
.elig-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--offwhite);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  transition: all 0.25s;
}
.elig-item:hover { background: var(--gold-pale); transform: translateX(4px); }
.elig-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.elig-icon i { color: var(--gold); font-size: 1rem; }
.elig-item h5 { font-family: 'Jost', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.elig-item p { font-size: 0.88rem; margin: 0; line-height: 1.5; color: #6B7280; }

.elig-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.elig-note p { font-size: 1rem; margin: 0; color: #4B5563; }


/* ── BENEFITS SECTION (dark / navy) ─────────────────────── */
.benefits-section {
  padding: 90px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.benefits-section::before { content: '✝'; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); font-size: 22rem; color: rgba(255,255,255,0.02); font-family: serif; pointer-events: none; }

.benefits-header { text-align: center; margin-bottom: 56px; position: relative; }
.benefits-header .section-tag { color: var(--gold-light); }
.benefits-header .section-tag::before { background: var(--gold-light); display: none; }
.benefits-header .section-title { color: var(--white); }
.benefits-header p { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,164,77,0.15);
  border-radius: 6px;
  padding: 30px 26px;
  transition: all 0.3s;
}
.benefit-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(200,164,77,0.4); transform: translateY(-4px); }
.benefit-card-icon { width: 52px; height: 52px; background: rgba(200,164,77,0.12); border: 1px solid rgba(200,164,77,0.25); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.benefit-card-icon i { color: var(--gold); font-size: 1.2rem; }
.benefit-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
.benefit-card p { font-size: 0.95rem; color: rgba(255,255,255,0.55); margin: 0; line-height: 1.65; }


/* ── PROCESS / TIMELINE SECTION ─────────────────────────── */
.process-section { padding: 90px 0; background: var(--offwhite); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header p { max-width: 560px; margin: 0 auto; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(200,164,77,0.2)); transform: translateX(-50%); }

.tl-item { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; align-items: start; margin-bottom: 48px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-left { text-align: right; padding-right: 40px; padding-top: 8px; }
.tl-right { padding-left: 40px; padding-top: 8px; }
.tl-center { display: flex; flex-direction: column; align-items: center; }

.tl-num { width: 56px; height: 56px; background: var(--navy); border: 3px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--offwhite); }
.tl-connector { width: 2px; flex: 1; background: rgba(200,164,77,0.2); min-height: 60px; }

.tl-box { background: var(--white); border-radius: 6px; padding: 24px 26px; box-shadow: 0 2px 16px rgba(11,42,74,0.08); border-bottom: 3px solid var(--gold); transition: all 0.3s; }
.tl-box:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(11,42,74,0.12); }
.tl-step-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-family: 'Jost', sans-serif; }
.tl-box h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.tl-box p { font-size: 0.95rem; margin: 0; line-height: 1.65; }

/* Alternating side layout */
.tl-item:nth-child(even) .tl-left { text-align: left; padding-left: 40px; padding-right: 0; order: 3; }
.tl-item:nth-child(even) .tl-right { text-align: right; padding-right: 40px; padding-left: 0; order: 1; }
.tl-item:nth-child(even) .tl-center { order: 2; }


/* ── APPLICATION / INQUIRY FORM SECTION ─────────────────── */
.form-section { padding: 90px 0; background: var(--white); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.form-info p { margin-bottom: 18px; }
.form-info-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.fi-item { display: flex; gap: 14px; align-items: flex-start; }
.fi-icon { width: 44px; height: 44px; background: var(--gold-pale); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fi-icon i { color: var(--gold); font-size: 1rem; }
.fi-text strong { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 3px; font-family: 'Jost', sans-serif; }
.fi-text span, .fi-text a { font-size: 0.88rem; color: #6B7280; }
.fi-text a { color: var(--gold); }

.form-card { background: var(--offwhite); border-radius: 8px; padding: 40px; }
.form-card-title { font-size: 1.3rem; color: var(--navy); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid rgba(11,42,74,0.08); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); font-family: 'Jost', sans-serif; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 11px 14px; border: 1px solid rgba(11,42,74,0.15); border-radius: 3px; font-size: 0.88rem; font-family: 'Jost', sans-serif; color: var(--navy); background: var(--white); outline: none; transition: border-color 0.2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,77,0.1); }
.fg textarea { resize: vertical; min-height: 100px; }

.upload-box { width: 100%; border: 2px dashed rgba(11,42,74,0.2); border-radius: 3px; padding: 24px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--white); }
.upload-box:hover { border-color: var(--gold); background: var(--gold-pale); }
.upload-box i { font-size: 1.8rem; color: rgba(11,42,74,0.25); margin-bottom: 8px; display: block; }
.upload-box .up-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; font-family: 'Jost', sans-serif; }
.upload-box .up-sub { font-size: 0.72rem; color: #9CA3AF; font-family: 'Jost', sans-serif; }
.upload-box input[type=file] { display: none; }

.form-section-divider { grid-column: 1 / -1; padding: 12px 0 4px; border-top: 1px solid rgba(11,42,74,0.08); margin-top: 8px; }
.form-section-divider span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-family: 'Jost', sans-serif; }

.form-actions { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.submit-btn { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); padding: 13px 30px; border-radius: 3px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; border: 2px solid var(--navy); cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif; }
.submit-btn:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.wa-btn { display: flex; align-items: center; gap: 8px; background: #25D366; color: var(--white); padding: 13px 22px; border-radius: 3px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.3s; }
.wa-btn:hover { background: #1DA851; }

.success-msg { display: none; grid-column: 1 / -1; background: var(--gold-pale); border: 1px solid rgba(200,164,77,0.4); border-radius: 4px; padding: 16px 20px; }
.success-msg.show { display: block; }
.success-msg p { font-size: 0.95rem; margin: 0; color: var(--navy); font-weight: 600; }


/* ── PARTNER NETWORK ─────────────────────────────────────── */
.network-section { padding: 90px 0; background: var(--offwhite); }
.network-inner { text-align: center; }
.network-inner .section-title { color: var(--navy); margin-bottom: 12px; }
.network-inner > p { max-width: 580px; margin: 0 auto 52px; font-size: 1.1rem; }

.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.net-card { background: var(--white); border: 1px solid rgba(11,42,74,0.08); border-radius: 6px; padding: 32px 24px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 12px rgba(11,42,74,0.05); }
.net-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(11,42,74,0.12); border-color: rgba(200,164,77,0.3); }
.net-icon { width: 64px; height: 64px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.net-icon i { color: var(--gold); font-size: 1.4rem; }
.net-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.net-card p { font-size: 0.92rem; margin: 0; line-height: 1.6; }


/* ── CTA SECTION (navy — affiliation page) ───────────────── */
.cta-section {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before { content: '✝'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 22rem; color: rgba(255,255,255,0.02); font-family: serif; pointer-events: none; }
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-cross { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; display: block; }
.cta-section .section-tag { color: var(--gold-light); justify-content: center; }
.cta-section .section-tag::before { display: none; }
.cta-section .section-title { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 12px; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .academic-grid,
  .elig-layout,
  .form-layout { grid-template-columns: 1fr; gap: 48px; }
  .benefits-grid, .network-grid { grid-template-columns: 1fr 1fr; }
  .intro-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .benefits-grid, .network-grid { grid-template-columns: 1fr; }
  .intro-pillars { grid-template-columns: 1fr; }

  /* Timeline collapses to single column */
  .timeline::before { left: 28px; }
  .tl-item { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .tl-left,
  .tl-item:nth-child(even) .tl-left { display: none; }
  .tl-center { order: 1 !important; grid-row: 1 / 3; }
  .tl-right,
  .tl-item:nth-child(even) .tl-right { order: 2 !important; padding-left: 20px; padding-right: 0; text-align: left; grid-column: 2; }
  .tl-num { width: 48px; height: 48px; font-size: 1rem; }

  .form-grid { grid-template-columns: 1fr; }
  .fg.full { grid-column: 1; }
  .form-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
}
