/* ============================================================
   Student Loan Sweepstakes — About Us Page
   ============================================================ */

/* ── Navbar override: always solid on this page ───────────── */
.navbar.navbar-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-smoke);
  box-shadow: var(--shadow-sm);
}
.navbar.navbar-solid .navbar-brand .logo-white { display: none; }
.navbar.navbar-solid .navbar-brand .logo-dark { display: block; }
.navbar.navbar-solid .navbar-brand .brand-name {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar.navbar-solid .nav-center a { color: var(--color-graphite); }
.navbar.navbar-solid .nav-center a:hover { color: var(--brand-green-dark); }
.navbar.navbar-solid .nav-center a.nav-active {
  color: var(--color-phantom);
  font-weight: var(--fw-bold);
}
.navbar.navbar-solid .nav-right .btn-ghost {
  color: var(--color-graphite);
  border-color: var(--color-smoke);
}
.navbar.navbar-solid .nav-right .btn-ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}
.navbar.navbar-solid .nav-mobile-toggle { color: var(--color-phantom); }

/* ── About Hero ───────────────────────────────────────────── */
.about-hero {
  background: var(--brand-gradient);
  color: var(--color-white);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.about-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 80%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero .container {
  position: relative;
  z-index: 2;
}
.about-hero h1 {
  font-size: 3rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-base);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.about-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 36rem;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}
.about-hero-chips {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.about-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.95);
}
.about-hero-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Our Story Section ────────────────────────────────────── */
.about-story {
  padding: var(--section-py) 0;
}
.about-story-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.about-story-text h2 {
  font-size: 2.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-phantom);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}
.about-story-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-graphite);
  margin-bottom: var(--space-lg);
}
.about-story-text p:last-child {
  margin-bottom: 0;
}
.about-story-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.about-value-card {
  background: var(--color-card);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--brand-green);
}
.about-value-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.about-value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-phantom);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-value-card h3 {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-phantom);
}
.about-value-card p {
  font-size: 0.9375rem;
  color: var(--color-graphite);
  line-height: 1.65;
}

/* ── Stats Row ────────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}
.about-stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
}
.about-stat-value {
  font-size: 1.75rem;
  font-weight: var(--fw-extrabold);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}
.about-stat-label {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-graphite);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Team Photo Section ───────────────────────────────────── */
.about-team-photo {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.about-team-photo .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.about-team-photo .section-title h2 {
  font-size: 2.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-phantom);
  margin-bottom: var(--space-sm);
}
.about-team-photo .section-title p {
  font-size: 1.0625rem;
  color: var(--color-graphite);
  max-width: 36rem;
  margin: 0 auto;
}
.team-photo-placeholder {
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--color-smoke);
  border-radius: var(--radius-xl);
  background: var(--color-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-steel);
}
.team-photo-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-smoke);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-photo-placeholder span {
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-steel);
}
.team-photo-caption {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-graphite);
  font-style: italic;
}

/* ── Founding Members ─────────────────────────────────────── */
.about-founders {
  padding: var(--section-py) 0;
}
.about-founders .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.about-founders .section-title h2 {
  font-size: 2.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-phantom);
  margin-bottom: var(--space-sm);
}
.about-founders .section-title p {
  font-size: 1.0625rem;
  color: var(--color-graphite);
}
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.founder-card {
  background: var(--color-card);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--brand-blue);
}
.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-phantom);
}
.founder-avatar.avatar-green {
  background: linear-gradient(135deg, rgba(23,254,155,0.2), rgba(23,254,155,0.08));
  border: 2px solid rgba(23,254,155,0.4);
}
.founder-avatar.avatar-blue {
  background: linear-gradient(135deg, rgba(36,178,251,0.2), rgba(36,178,251,0.08));
  border: 2px solid rgba(36,178,251,0.4);
}
.founder-avatar.avatar-teal {
  background: linear-gradient(135deg, rgba(23,254,155,0.15), rgba(36,178,251,0.15));
  border: 2px solid rgba(23,254,155,0.3);
}
.founder-card h3 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-phantom);
  margin-bottom: var(--space-xs);
}
.founder-title {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-base);
  display: inline-block;
}
.founder-bio {
  font-size: 0.9375rem;
  color: var(--color-graphite);
  line-height: 1.65;
}

/* ── Partnerships ─────────────────────────────────────────── */
.about-partnerships {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.about-partnerships .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.about-partnerships .section-title h2 {
  font-size: 2.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-phantom);
  margin-bottom: var(--space-sm);
}
.about-partnerships .section-title p {
  font-size: 1.0625rem;
  color: var(--color-graphite);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.partner-card {
  background: var(--color-card);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--brand-green);
}
.partner-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-base);
}
.partner-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-phantom);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.partner-label {
  display: inline-block;
  background: var(--brand-gradient);
  color: var(--color-phantom);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.partner-card h3 {
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--color-phantom);
  margin-bottom: var(--space-sm);
}
.partner-card p {
  font-size: 0.875rem;
  color: var(--color-graphite);
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 7rem 0 3.5rem;
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .about-hero-subtitle {
    font-size: 1rem;
  }
  .about-story-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .about-story-text h2,
  .about-founders .section-title h2,
  .about-team-photo .section-title h2,
  .about-partnerships .section-title h2 {
    font-size: 1.75rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-base);
  }
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 1.75rem;
  }
  .about-hero-chips {
    flex-direction: column;
    align-items: center;
  }
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Photo Cycler ─────────────────────────────────────────── */
.photo-cycler {
  position: relative;
  width: 100%;
  height: 100%;
}
.photo-cycler img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}
.photo-cycler img.photo-active {
  opacity: 1;
}

/* ── Team Photo Frame ─────────────────────────────────────── */
.team-photo-frame {
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  background: var(--color-bg);
}

/* ── Founder Photo Frame ──────────────────────────────────── */
.founder-photo-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--color-cloud);
  position: relative;
  background: var(--color-bg);
  flex-shrink: 0;
}

/* ── Partner Logo Img ─────────────────────────────────────── */
.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
