/*
  Scholars Network — students page styles
  ---------------------------------------
  Page-specific styles. Shared primitives (reset, `:root` brand tokens, base
  `body`, `html { scroll-behavior }`) live in global.css and are not redefined
  here.
*/

.dropdown-menu::before { content:""; position:absolute; top:-10px; left:0; right:0; height:10px; }

/* HERO */
.page-hero { min-height:75vh; background:linear-gradient(135deg, var(--navy) 0%, #00435C 60%, #1a3a52 100%); display:flex; align-items:center; padding:120px 5% 80px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:linear-gradient(120deg, rgba(255,255,255,0.04) 0%, transparent 70%); }
.page-hero-inner { max-width:1200px; margin:0 auto; width:100%; position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(2rem,3vw,4rem); align-items:center; }
.page-hero-inner > * { min-width:0; }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(2rem,3.5vw,3.2rem); font-weight:400; color:var(--white); line-height:1.15; margin-bottom:1.25rem; max-width:700px; }
.page-hero h1 em { font-style:normal; color:var(--gold); }
.hero-sub { font-size:1.05rem; color:rgba(255,255,255,0.7); line-height:1.7; margin-bottom:2rem; max-width:560px; }
.hero-sub.hero-sub-tight { margin-bottom:1rem; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.btn-primary { display:inline-flex; align-items:center; gap:0.5rem; background:var(--teal); color:var(--white); padding:0.85rem 2rem; border-radius:8px; font-size:0.95rem; font-weight:600; text-decoration:none; transition:background 0.2s,transform 0.2s; }
.btn-primary:hover { background:var(--teal-lt); transform:translateY(-1px); }
.btn-outline-light { display:inline-flex; align-items:center; gap:0.5rem; border:1.5px solid rgba(255,255,255,0.3); color:var(--white); padding:0.85rem 2rem; border-radius:8px; font-size:0.95rem; font-weight:600; text-decoration:none; transition:border-color 0.2s; }
.btn-outline-light:hover { border-color:rgba(255,255,255,0.6); }

.hero-stats { display:flex; gap:clamp(0.75rem,1.2vw,1.25rem); margin-top:1.15rem; margin-bottom:1.35rem; flex-wrap:nowrap; align-items:stretch; }
.hero-stat-item { flex:1 1 auto; background:rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.28); border-radius:12px; padding:1.1rem 1rem; text-align:center; backdrop-filter:blur(16px); }
.hero-stat-num { font-family:'Playfair Display',serif; font-size:clamp(1.3rem,1.75vw,1.7rem); font-weight:700; color:var(--gold); display:block; line-height:1; white-space:nowrap; }
.hero-stat-label { font-size:0.82rem; color:rgba(255,255,255,0.75); margin-top:0.4rem; line-height:1.35; white-space:nowrap; }

/* VIDEO */
.video-section {
  background: var(--mist);
  padding: 5rem 5%;
  border-bottom: 1px solid var(--border);
}
.video-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 2rem;
  background: var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* OPPORTUNITIES */
.opps-section { padding:5rem 5%; max-width:1200px; margin:0 auto; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.6rem); font-weight:400; line-height:1.2; letter-spacing:0; margin-bottom:1rem; }
.section-lead { font-size:1.05rem; color:var(--gray); max-width:560px; line-height:1.7; margin-top:-0.5rem; margin-bottom:1.2rem; }

/* Tab UI */
.tab-bar { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:2rem; }
.tab-btn { padding:0.55rem 1.1rem; border-radius:100px; border:1.5px solid var(--border); background:var(--white); color:var(--gray); font-size:0.82rem; font-weight:600; cursor:pointer; transition:all 0.2s; }
.tab-btn.active, .tab-btn:hover { background:var(--navy); color:var(--white); border-color:var(--navy); }

.tab-panel { display:none; }
.tab-panel.active { display:block; }

.opps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.opp-card { border:1.5px solid var(--border); border-radius:14px; padding:1.5rem; transition:border-color 0.2s,box-shadow 0.2s,transform 0.2s; background:var(--white); text-decoration:none; color:inherit; display:block; }
.opp-card:hover { border-color:var(--teal); box-shadow:0 8px 30px rgba(13,124,102,0.1); transform:translateY(-3px); }
.opp-card-header { display:flex; flex-direction:column; gap:0.4rem; margin-bottom:0.75rem; }
.opp-employer { min-width:0; font-size:0.85rem; font-weight:700; color:var(--navy); line-height:1.35; }
.opp-states { display:inline-flex; align-items:center; gap:0.4rem; align-self:flex-start; padding:0.22rem 0.55rem; border-radius:999px; background:var(--sky); color:var(--teal-lt); font-size:0.72rem; font-weight:700; line-height:1.35; }
.opp-states span { color:var(--gray); font-size:0.66rem; text-transform:uppercase; letter-spacing:0.05em; }
.opp-amount { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:400; color:var(--teal); margin-bottom:0.25rem; }
.opp-term { font-size:0.8rem; color:var(--gray); }
/* TESTIMONIALS */
.testimonials-section { background:var(--sky); padding:5rem 0; }
.testimonials-inner { max-width:1200px; margin:0 auto; padding:0 5%; }
.t-carousel { position:relative; max-width:1200px; margin:2.5rem auto 0; padding:0 5%; }
.t-viewport { overflow:hidden; }
.t-track { display:flex; gap:1.25rem; transition:transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94); will-change:transform; }
.t-btn { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:var(--white); border:1.5px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,0.1); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:1.3rem; color:var(--navy); z-index:2; transition:background 0.2s,color 0.2s,box-shadow 0.2s; line-height:1; }
.t-btn:hover { background:var(--navy); color:var(--white); box-shadow:0 4px 20px rgba(0,0,0,0.2); }
.t-prev { left:calc(5% - 54px); }
.t-next { right:calc(5% - 54px); }
.testimonial { flex:0 0 auto; min-width:0; }

/* FAQ */

.cta-section { background:var(--teal); padding:4rem 5%; text-align:center; }
.cta-section h2 { font-family:'Playfair Display',serif; font-size:clamp(1.6rem,3vw,2.4rem); font-weight:400; color:var(--white); margin-bottom:0.75rem; }
.cta-section p { color:rgba(255,255,255,0.8); font-size:1rem; margin-bottom:2rem; }
.cta-section .btn-primary { background:var(--white); color:var(--teal); }@media(max-width:1024px) {
  .page-hero-inner { grid-template-columns:1fr; gap:2.5rem; }
  .opps-grid { grid-template-columns:repeat(2,1fr); }
  .testimonials-grid { grid-template-columns:repeat(2,1fr); }

}
@media(max-width:640px) {
  .hero-stats { flex-wrap:wrap; gap:1.25rem 2rem; }

  .tab-bar {
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    margin-bottom:1.5rem;
    padding-bottom:0.2rem;
    scroll-padding-inline:0.25rem;
    -webkit-overflow-scrolling:touch;
  }
  .tab-bar::-webkit-scrollbar { display:none; }
  .tab-btn {
    flex:0 0 auto;
    white-space:nowrap;
  }
  .opps-grid { grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }

}

/* ── LOAN PAYOFF CALCULATOR ── */
.calc-section { background:var(--white); padding:5rem 5%; border-top:1px solid var(--border); }
.calc-inner { max-width:900px; margin:0 auto; }
.calc-card { background:var(--white); border-radius:20px; box-shadow:0 4px 24px rgba(0,0,0,0.08); overflow:hidden; margin-bottom:2rem; }
.calc-body { padding:2.5rem; }
.calc-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-bottom:2rem; }
.calc-field label { display:block; font-size:0.8rem; font-weight:600; color:var(--gray); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:0.5rem; }
.calc-btn { width:100%; height:52px; background:var(--teal); color:var(--white); border:none; border-radius:12px; font-size:1rem; font-weight:600; font-family:'Inter',sans-serif; cursor:pointer; transition:background 0.2s; }
.calc-btn:hover { background:var(--teal-lt); }
.calc-error { display:none; align-items:center; gap:0.65rem; background:#fff1f1; border:1.5px solid #fca5a5; border-radius:10px; padding:0.75rem 1rem; margin-top:1rem; color:#b91c1c; font-size:0.875rem; font-weight:500; }
.calc-error.show { display:flex; }
.impact-viz { display:none; margin-top:1rem; background:var(--white); border:1.5px solid var(--border); border-radius:16px; padding:1.4rem 1.4rem 1.2rem; max-width:980px; margin-left:auto; margin-right:auto; }
.impact-viz.show { display:block; }
.impact-viz-title { font-size:1rem; font-weight:800; color:#334155; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:1rem; }
.impact-stack { width:100%; height:20px; border-radius:999px; overflow:hidden; background:#E3E3E3; display:flex; margin-bottom:1rem; }
.impact-seg { height:100%; min-width:2px; }
.impact-seg.sponsorship { background:#0B7EA2; }
.impact-seg.tax { background:#52803C; }
.impact-seg.interest { background:#6A67AA; }
.impact-legend { display:grid; grid-template-columns:1fr; gap:0.65rem; }
.impact-row { display:flex; align-items:center; justify-content:space-between; gap:0.8rem; font-size:0.98rem; color:#475569; }
.impact-row-left { display:flex; align-items:center; gap:0.45rem; }
.impact-dot { width:11px; height:11px; border-radius:50%; flex-shrink:0; }
.impact-dot.sponsorship { background:#0B7EA2; }
.impact-dot.tax { background:#52803C; }
.impact-dot.interest { background:#6A67AA; }
.impact-row strong { color:#1e293b; font-weight:800; font-size:1.1rem; }
.calc-note { font-size:0.78rem; color:var(--gray); padding:1.25rem 2.5rem; border-top:1px solid var(--border); }
.impact-reset-wrap { padding:0.25rem 2.5rem 1.5rem; }
.impact-reset-btn { display:inline-block; background:transparent; border:1.5px solid var(--teal); color:var(--teal); padding:0.6rem 1.5rem; border-radius:8px; font-size:0.875rem; font-weight:600; cursor:pointer; font-family:'Inter',sans-serif; transition:all 0.2s; }
.impact-reset-btn:hover { background:var(--teal); color:var(--white); }
.chart-card { display:none; background:var(--white); border-radius:20px; box-shadow:0 4px 24px rgba(0,0,0,0.08); overflow:hidden; margin-top:2rem; }
.chart-card.show { display:block; }
.chart-header { background:var(--navy); padding:1.5rem 2.5rem; color:var(--white); }
.chart-header h3 { font-family:'Playfair Display',serif; font-size:1.25rem; }
.chart-header p { font-size:0.85rem; color:rgba(255,255,255,0.6); margin-top:0.25rem; }
.chart-body { padding:1.5rem 2rem 2rem; max-width:820px; margin:0 auto; }
.chart-legend { display:flex; gap:1.5rem; margin-bottom:1.25rem; }
.chart-legend-item { display:flex; align-items:center; gap:0.5rem; font-size:0.8rem; font-weight:600; color:var(--gray); }
.legend-dot { width:12px; height:12px; border-radius:50%; }
@media(max-width:640px){ .calc-grid { grid-template-columns:1fr; } }

/* ── WEBINAR BANNER ── */
.webinar-banner { position:fixed; top:70px; left:0; right:0; z-index:99; background:var(--teal); color:var(--white); text-align:center; padding:0.55rem 1rem; font-size:0.85rem; font-weight:600; }
.webinar-banner a { color:inherit; text-decoration:none; }
.webinar-banner a:hover { text-decoration:underline; }

/* MODAL */.modal-body { padding:1.5rem; } .checkbox-grid { grid-template-columns:1fr; }
