/* ===================================================
   ABOUT PAGE STYLES
   =================================================== */

.about-hero {
  background: var(--clr-surface);
  /* Use less top padding since page-content already offsets 72px for the fixed nav */
  padding: clamp(40px, 5vw, 60px) 5% clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero .bg-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto;
}

.about-intro p {
  font-size: var(--fs-base);
  line-height: 2;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-lg);
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  max-width: 600px;
  margin: var(--sp-2xl) auto 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-text);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Services on About --- */
.about-services {
  background: var(--clr-bg);
  padding: clamp(60px, 8vw, 100px) 5%;
  text-align: center;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--dur-base) var(--ease-out);
}

.about-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-border-h);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-service-card i {
  font-size: 32px;
  color: var(--clr-text);
  margin-bottom: var(--sp-lg);
  display: block;
}

.about-service-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-md);
}

.about-service-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-dim);
  line-height: 1.7;
}

/* --- Education Timeline --- */
.timeline-section {
  background: var(--clr-bg);
  padding: clamp(60px, 8vw, 100px) 5%;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clr-border);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-2xl);
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clr-text);
  border: 3px solid var(--clr-bg);
  z-index: 1;
}

.timeline-year {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-xs);
}

.timeline-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.timeline-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-dim);
  line-height: 1.7;
}

/* --- CTA Section --- */
.about-cta {
  background: var(--clr-surface);
  padding: var(--sp-3xl) 5%;
  text-align: center;
}

.about-cta h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-md);
}

.about-cta p {
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-xl);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  /* 2-col grid at tablet before stacking to 1 on mobile */
  .about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }

  .stat-number {
    font-size: var(--fs-2xl);
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item::before {
    left: -28px;
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    gap: var(--sp-sm);
  }

  .stat-number {
    font-size: var(--fs-xl);
  }
}
