/* ===== SEEMESCHOLAR PAGE ===== */
main.scholar-main {
  padding: 0;
  min-height: 0;
}

.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--bg-light);
}

/* Dark section override — used for CSR Partners */
.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
  max-width: none;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: 0.8125rem 1.875rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.btn-ghost-white {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff !important;
}

.fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== HERO ===== */
.scholar-hero {
  background: var(--bg-dark) center / cover no-repeat;
  color: #fff;
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.scholar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.65) 55%, rgba(15, 23, 42, 0.30) 100%),
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(246, 153, 50, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(246, 97, 50, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.scholar-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 54rem;
}

.scholar-hero-inner .eyebrow {
  color: var(--primary);
}

.scholar-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #fff;
}

.scholar-hero-sub {
  font-size: clamp(1rem, 1.75vw, 1.1875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.scholar-hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ===== SECTION 2 — PLATFORM FEATURES ===== */
.scholar-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.scholar-feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.scholar-feat-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-0.125rem);
}

.scholar-feat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(246, 153, 50, 0.15),
    rgba(246, 97, 50, 0.08)
  );
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scholar-feat-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.scholar-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.scholar-feat-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
  max-width: none;
}

/* ===== SECTION 3 — CSR PARTNERS ===== */
.scholar-csr .section-title {
  color: #fff;
}
.scholar-csr .eyebrow {
  color: var(--primary);
}

.scholar-csr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.scholar-csr-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
  max-width: none;
}
.scholar-csr-body:last-child {
  margin-bottom: 0;
}

.scholar-csr-benefits {
  padding-top: 1rem;
}

.scholar-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.scholar-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}
.scholar-benefit-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary, #f66132)
  );
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    center / 65% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    center / 65% no-repeat;
}

/* ===== SECTION 4 — THE SCHOLAR JOURNEY ===== */
.scholar-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* Horizontal connector line between steps */
.scholar-steps::before {
  content: "";
  position: absolute;
  top: 1.375rem; /* centre of number circle */
  left: calc(1.375rem + 0.5rem); /* half circle width + offset */
  right: calc(1.375rem + 0.5rem);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    rgba(246, 153, 50, 0.2) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.scholar-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1.5rem 0 0;
  position: relative;
}
.scholar-step:last-child {
  padding-right: 0;
}

.scholar-step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary, #f66132)
  );
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(246, 153, 50, 0.35);
}

.scholar-step-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.scholar-step-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: none;
}

/* ===== SECTION 5 — IMPACT REPORTING ===== */
.scholar-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.scholar-impact-card {
  background: linear-gradient(
    135deg,
    rgba(246, 153, 50, 0.07),
    rgba(246, 97, 50, 0.04)
  );
  border: 1px solid rgba(246, 153, 50, 0.2);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.scholar-impact-card:hover {
  box-shadow: 0 10px 28px rgba(246, 153, 50, 0.12);
  transform: translateY(-0.125rem);
}

.scholar-impact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(246, 153, 50, 0.2),
    rgba(246, 97, 50, 0.12)
  );
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scholar-impact-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.scholar-impact-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.scholar-impact-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
  max-width: none;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 85% at 50% 0%,
      rgba(246, 153, 50, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 80% 100%,
      rgba(246, 97, 50, 0.12) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner .section-title {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .section-desc {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 2.5rem;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 80em) {
  .scholar-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 64em) {
  .scholar-csr-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .scholar-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }
  .scholar-steps::before {
    display: none;
  }
  .scholar-impact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48em) {
  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .scholar-features-grid {
    grid-template-columns: 1fr;
  }
  .scholar-steps {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .scholar-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding-right: 0;
  }
  .scholar-step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .scholar-step-content {
    display: flex;
    flex-direction: column;
  }
  .scholar-impact-grid {
    grid-template-columns: 1fr;
  }
  .scholar-hero-actions,
  .cta-banner-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner-actions {
    align-items: center;
  }
}

@media (max-width: 30em) {
  .scholar-hero {
    padding: 5rem 0 4rem;
  }
}

/* ===== BEST PAIRED WITH ===== */
.paired-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.paired-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.paired-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-0.125rem); }
.paired-icon { height: 3rem; width: auto; object-fit: contain; object-position: left; display: block; }
.paired-name { font-size: 1.0625rem; font-weight: 800; color: var(--text); }
.paired-name-see { color: var(--text); }
.paired-name-me  { color: var(--primary); }
.paired-desc { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); max-width: none; flex: 1; }
.paired-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s;
}
.paired-link:hover { gap: 0.5rem; }

@media (max-width: 64em) {
  .paired-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 30em) {
  .paired-grid { grid-template-columns: 1fr; }
}
