/* style.css – professional, sporty, with robust footer & slider */
/* FULLY UPDATED with enhanced About page styling, values grid, scholar milestones, KAS impact,
   and all original styles preserved. No omissions. */

:root {
  --primary: #e14725;
  --secondary: #1a3668;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f5f7fa;
  --gray-300: #d0d5dd;
  --gray-500: #667085;
  --gray-700: #344054;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --transition: all 0.2s ease;

  /* light mode defaults */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-100);
  --text-primary: var(--black);
  --text-secondary: var(--gray-700);
  --border-light: var(--gray-300);
  --nav-bg: rgba(255,255,255,0.9);
  --footer-bg: var(--gray-100);
}

body.dark-mode {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #eaeef2;
  --text-secondary: #b0b8c5;
  --border-light: #2e2e2e;
  --nav-bg: rgba(18, 18, 18, 0.95);
  --secondary: #8a9fd5;
  --gray-100: #1e1e1e;
  --gray-300: #333333;
  --gray-500: #a0a0a0;
  --gray-700: #cccccc;
  --white: #1a1a1a;
  --black: #f0f0f0;
  --footer-bg: #0f0f0f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}

h1, h2, h3, .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* navigation */
.navbar {
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---------- DARK MODE SLIDER (toggle) ---------- */
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 70px;
  height: 34px;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.theme-switch .theme-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  border-radius: 34px;
  transition: 0.3s;
  border: 1px solid var(--border-light);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

.theme-toggle-input:checked + .slider {
  background-color: var(--secondary);
}

.theme-toggle-input:checked + .slider:before {
  transform: translateX(34px);
}

.slider-label {
  position: absolute;
  font-size: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.slider-label.light {
  left: 10px;
  color: #f39c12;
}

.slider-label.dark {
  right: 10px;
  color: #f1c40f;
}

.theme-toggle-input:checked ~ .slider-label.light {
  opacity: 0.6;
}
.theme-toggle-input:checked ~ .slider-label.dark {
  opacity: 1;
}
.theme-toggle-input:not(:checked) ~ .slider-label.light {
  opacity: 1;
}
.theme-toggle-input:not(:checked) ~ .slider-label.dark {
  opacity: 0.5;
}

/* page visibility */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* badges */
.badge {
  display: inline-block;
  background-color: var(--bg-secondary);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 70vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-content { padding: 4rem; }
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--secondary);
  margin: 1rem 0 1.5rem;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero-image {
  height: 100%;
  min-height: 400px;
  background-color: var(--gray-300);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.6s ease;
}
.hero-image img:hover { transform: scale(1.02); }

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--primary);
  transition: var(--transition);
}
.btn:hover {
  background-color: transparent;
  color: var(--primary);
}

/* stats */
.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  color: var(--gray-500);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* mission strip */
.mission-strip {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.text-primary { color: var(--primary); }
.accent { color: var(--primary); }

/* values grid (excellence, mentorship, equity, academics) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.value-card {
  background-color: var(--bg-secondary);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.value-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.value-card h4 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* executive block */
.exec-block {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--primary);
  padding: 2.5rem;
  margin: 3rem 0;
  border-radius: 0 20px 20px 0;
}
.exec-quote {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.exec-author { font-weight: 600; color: var(--primary); }
.exec-block.minimal {
  background: transparent;
  border-left: 2px solid var(--primary);
  padding: 1.5rem;
}

/* image grids */
.section-title {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 3rem 0 1.5rem;
  font-weight: 600;
}
.image-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 4rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-fig, .image-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
}
.gallery-fig img, .image-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-fig:hover img, .image-grid figure:hover img { transform: scale(1.03); }
figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

/* ========== ENHANCED ABOUT PAGE STYLES ========== */
.report-container {
  max-width: 1100px;
  background-color: var(--bg-primary);
  border-radius: 40px;
  box-shadow: var(--shadow-md);
  padding: 3rem;
  margin-top: 2rem;
  border: 1px solid var(--border-light);
}

.report-header {
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 2px dashed var(--border-light);
  padding-bottom: 2rem;
}
.report-header .page-title {
  font-size: 3rem;
  color: var(--secondary);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.report-meta {
  color: var(--gray-500);
  font-size: 1.1rem;
}
.report-meta strong { color: var(--primary); }

/* pull quote */
.report-quote {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  padding: 2rem 3rem;
  border-radius: 60px 60px 60px 20px;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-left: 6px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.report-quote i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
}
.report-quote p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary);
  font-style: italic;
  line-height: 1.4;
}

/* two-column grid for report sections */
.report-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.report-left, .report-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.report-section {
  background-color: var(--bg-secondary);
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.report-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.report-section h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}
.section-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.report-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* about stats (20+ active athletes etc) */
.about-stats {
  display: flex;
  justify-content: space-around;
  margin: 3rem 0;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-light);
}
.about-stats div {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
}
.about-stats span {
  font-weight: 800;
  color: var(--primary);
  font-size: 2rem;
  display: block;
  line-height: 1.2;
}

/* founder note (new) */
.founder-note {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: var(--secondary);
  color: white;
  padding: 2rem;
  border-radius: 40px;
  margin: 2rem 0;
}
.founder-avatar i {
  font-size: 4rem;
  color: var(--primary);
  background: white;
  padding: 1rem;
  border-radius: 50%;
}
.founder-message p {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.founder-message strong {
  color: var(--primary);
  font-size: 1.1rem;
}

/* scholarship / kas text */
.scholarship-text p, .kas-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.highlight {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  font-weight: 500;
}

/* scholar milestones (class of 2025 placements) */
.scholar-milestones {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem 0;
  border: 1px solid var(--border-light);
}
.scholar-milestones h3 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.scholar-milestones ul {
  list-style: none;
  padding: 0;
}
.scholar-milestones li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.scholar-milestones i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 1.5rem;
}

/* KAS impact (3 players selected, 80% improvement) */
.kas-impact {
  display: flex;
  gap: 2rem;
  background-color: var(--bg-secondary);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--border-light);
}
.kas-impact span {
  font-size: 1.2rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kas-impact i {
  color: var(--primary);
  font-size: 1.4rem;
}

/* ---------- ROBUST FOOTER (4 columns + bottom) ---------- */
.footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-main {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.footer-about {
  line-height: 1.6;
  opacity: 0.9;
}

.footer-heading {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* each footer item on its own line, icons aligned */
.footer-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.footer-icon {
  font-size: 1.2rem;
  min-width: 1.8rem;
  color: var(--primary);
  text-align: center;
}

.footer-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 1rem;
}

/* responsiveness */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .report-body-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 3rem 2rem; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { flex-direction: column; align-items: center; }
  .values-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 1.5rem; }
  .kas-impact { flex-direction: column; align-items: center; text-align: center; }
  .founder-note { flex-direction: column; text-align: center; }
  .report-quote { flex-direction: column; text-align: center; }
}
@media (max-width: 500px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .page-title { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}