/*
  Scholars Network — index (home) page styles
  -------------------------------------------
  Page-specific styles for the home page. 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 ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(35, 44, 59, 0.62);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing:0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-headline-line { white-space: normal; }
.hero-headline-short { display: block; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.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 {
  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, background 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* Roles ticker */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  width: 100%;
}

.hero-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.25rem;
}

.roles-ticker {
  overflow: hidden;
  height: 2.5rem;
  position: relative;
}

.roles-list {
  animation: ticker 30s steps(1) infinite;
}

.role-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.5rem;
  font-size: clamp(0.85rem, 3.2vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
}

.role-item::before {
  display: none;
}

@keyframes ticker {
  0%   { transform: translateY(0); }
  5%   { transform: translateY(-2.5rem); }
  10%  { transform: translateY(-5rem); }
  15%  { transform: translateY(-7.5rem); }
  20%  { transform: translateY(-10rem); }
  25%  { transform: translateY(-12.5rem); }
  30%  { transform: translateY(-15rem); }
  35%  { transform: translateY(-17.5rem); }
  40%  { transform: translateY(-20rem); }
  45%  { transform: translateY(-22.5rem); }
  50%  { transform: translateY(-25rem); }
  55%  { transform: translateY(-27.5rem); }
  60%  { transform: translateY(-30rem); }
  65%  { transform: translateY(-32.5rem); }
  70%  { transform: translateY(-35rem); }
  75%  { transform: translateY(-37.5rem); }
  80%  { transform: translateY(-40rem); }
  85%  { transform: translateY(-42.5rem); }
  90%  { transform: translateY(-45rem); }
  95%  { transform: translateY(-47.5rem); }
  100% { transform: translateY(0); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stat {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.hero-stat-num {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  margin-top: 0.2rem;
  line-height: 1.3;
  white-space: nowrap;
}

/* ─── LOGOS ────────────────────────────────────────────── */
.logos-section {
  background: var(--white);
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 2rem;
}

/* ─── AUDIENCE CARDS ───────────────────────────────────── */
.audience-section {
  padding: 5rem 5%;
  background: var(--mist);
  border-bottom: 1px solid var(--border);
}
.audience-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.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: 800;
  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;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(13,124,102,0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-icon.teal  { background: rgba(13,124,102,0.1); }
.card-icon.navy  { background: rgba(35,44,59,0.08); }
.card-icon.gold  { background: rgba(14,161,205,0.12); }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.6rem; }

.video-section {
  background: var(--sky);
  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: 48%;
  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;
}

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.how-section {
  background: var(--navy);
  padding: 5rem 5%;
  color: var(--white);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-section .section-title { color: var(--white); }
.how-section .section-lead  { color: rgba(255,255,255,0.6); }

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

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  right: 2.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--teal), rgba(255,255,255,0.1));
  pointer-events: none;
}

.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-section {
  background: var(--sky);
  padding: 5rem 0;
}

.t-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  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; }

/* ─── HIGHLIGHT ─────────────────────────────────────────── */
.highlight-section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  background: #F8FAFC; border: 1px solid var(--border,#E3E3E3);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
}

.highlight-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
}

.highlight-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}

.highlight-news-btn:hover {
  background: var(--teal-lt);
  transform: translateY(-1px);
}

.highlight-quote {
  background: #fff;
  border: 1px solid var(--border,#E3E3E3);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.quote-mark {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--teal);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 0.75rem;
}

.highlight-quote p {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.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: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-top: -0.25rem;
  margin-bottom: 1.2rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--teal);
}

.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}



/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card        { max-width: 480px; }
  .cards-grid       { grid-template-columns: repeat(2,1fr); }
  .steps            { grid-template-columns: repeat(2,1fr); }
  .steps::before    { display: none; }
  .t-prev { left: 4px; }
  .t-next { right: 4px; }
  .highlight-card   { grid-template-columns: 1fr; gap: 2rem; }

}

@media (max-width: 640px) {

  .hero-headline-line { white-space: normal; }
  .hero-grid > * { min-width: 0; }
  .hero-sub { max-width: min(100%, 18rem); }
  .cards-grid        { grid-template-columns: 1fr; }
  .steps             { grid-template-columns: 1fr; }
  .t-prev, .t-next { display: none; }
  .hero-stats        { grid-template-columns: repeat(2,1fr); }


}

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

/* ── PRODUCTS ── */
.products-section { padding:5rem 5%; background:#232C3B; color:#ffffff; }
.products-inner { max-width:1200px; margin:0 auto; }
.products-section .section-title { color:var(--white); }
.products-section .section-lead { color:rgba(255,255,255,0.65); margin-bottom:1.2rem; }
.benefits-lead-nowrap { max-width:none; white-space:nowrap; margin-top:-0.5rem; margin-bottom:1.2rem !important; }
.product-tabs { display:flex; width:max-content; background:rgba(255,255,255,0.07); border:1.5px solid rgba(255,255,255,0.15); border-radius:12px; padding:4px; gap:4px; margin-bottom:1.25rem; }
.ptab { padding:0.6rem 1.5rem; border-radius:8px; border:none; background:transparent; color:rgba(255,255,255,0.55); font-size:0.875rem; font-weight:600; cursor:pointer; transition:all 0.2s; font-family:'Inter',sans-serif; }
.ptab.active { background:var(--teal); color:var(--white); box-shadow:0 2px 10px rgba(11,126,162,0.4); }
.ptab:not(.active):hover { background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.9); }
.product-panel { display:none; }
.product-panel.active { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.product-points { display:flex; flex-direction:column; gap:1.1rem; margin-bottom:1.75rem; }
.point { display:flex; gap:0.9rem; align-items:flex-start; }
.point-check { width:20px; min-width:20px; height:20px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; margin-top:0.15rem; flex-shrink:0; }
.point-check::after { content:'✓'; font-size:0.6rem; color:#fff; font-weight:800; line-height:1; }
.point p { font-size:0.9rem; color:rgba(255,255,255,0.75); line-height:1.65; margin:0; }
.point p strong { color:#ffffff; }
.product-panel-cta { display:inline-flex; align-items:center; gap:0.5rem; background:var(--white); color:var(--navy); padding:0.72rem 1.45rem; border-radius:8px; font-size:0.9rem; font-weight:600; text-decoration:none; transition:background 0.2s,transform 0.15s; }
.product-panel-cta:hover { background:var(--sky); transform:translateY(-1px); }
.product-info-card { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:16px; overflow:hidden; }
.product-card-header { background:rgba(255,255,255,0.06); border-bottom:1px solid rgba(255,255,255,0.1); padding:1.5rem 2rem; }
.product-card-header h4 { font-size:0.75rem; font-weight:700; color:rgba(255,255,255,0.45); text-transform:uppercase; letter-spacing:0.08em; margin:0; }
.product-info-card-body { padding:1.5rem 2rem; }
.info-row { display:flex; justify-content:space-between; align-items:center; padding:0.65rem 0; border-bottom:1px solid rgba(255,255,255,0.08); font-size:0.85rem; }
.info-row:last-child { border-bottom:none; }
.info-row span:first-child { color:rgba(255,255,255,0.45); }
.info-row span:last-child { font-weight:600; color:#ffffff; }
@media(max-width:1024px) { .product-panel.active { grid-template-columns:1fr; align-items:stretch; } }
@media(max-width:640px) { .product-tabs { flex-direction:column; width:100%; } .ptab { text-align:center; } .benefits-lead-nowrap { white-space:normal; } }
