/* Hero Section */
/* .hero {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  background: var(--color-secondary) url("../images/class-room-3.avif") no-repeat center/cover;
  color: var(--color-text-inverse);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.hero .subtitle {
  font-family: var(--font-family-body);
  margin-bottom: var(--space-6);
}

.mission-statement {
  color: var(--color-text-inverse);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0;
  }

  .hero .subtitle {
    font-size: var(--font-size-lg);
  }

  .mission-statement {
    font-size: var(--font-size-sm);
  }
  
} */

/* Story Section */
.story {
  background-color: var(--color-bg-secondary);
  padding: var(--space-20) 0;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story h2 {
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--space-16);
}

.timeline {
  position: relative;
  padding: var(--space-20) 0;
  /* background-color: red; */
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  height: 100%;
  background-color: var(--color-primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  /* margin: 40px 0; */
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 45%;
  transition: all var(--transition-slow);
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 55%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: var(--space-6); 
  height: var(--space-6);
  background: var(--color-accent);
  border-radius: 50%;
  top: 0;
}

.timeline-item:nth-child(odd)::before {
  right: -56px;
}

.timeline-item:nth-child(even)::before {
  left: -58px;
}

.timeline-year {
  color: var(--color-primary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.timeline-content {
  color: var(--color-text); /* Dark grey for description */
  font-family: var(--font-family-body);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
}

.timeline-content ol {
  list-style: numeric;
  list-style-position: inside;
}




/* Team Section */
.team {
  background-color: var(--color-bg);
  padding: var(--space-20) 0;
}

.team h2 {
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--space-16);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  width: 100%;
}

.team-member {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.member-photo {
  width: var(--space-24);
  height: var(--space-24);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
}

.member-name {
  color: var(--color-text); /* Dark text for name */
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.member-role {
  color: var(--color-primary); /* Use a brand green for the role for professionalism */
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
}

.member-bio {
  color: var(--color-text-secondary);
  font-family: var(--font-family-body);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-8);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--color-primary);
  /* color: var(--color-text); */
  transform: scale(1.1);
}






/* Values Section */
.values {
  background-color: var(--color-bg-secondary);
  padding: var(--space-20) var(--space-0);
}

.values h2 {
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--space-16);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-top: 60px;
}

.value-item {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border); 
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  /* width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; */
  
  background-color: var(--color-primary-light);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
  margin: 0 auto var(--space-6);
}

.value-title {
  color: var(--color-primary-dark);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
}

.value-description {
  color: var(--color-text-secondary);
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}






/* Statistics Section */
.statistics {
  background-color: var(--color-primary); 
  padding: var(--space-20) var(--space-4);
  text-align: center;
}

.statistics h2 {
  text-align: center;
  margin-bottom: var(--space-16);
  color: var(--color-accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
}

.stat-item {
  /* text-align: center; */
  /* padding: 30px; */
  /* background: rgba(255, 255, 255, 0.1); */
  /* border-radius: 15px; */
  /* backdrop-filter: blur(10px); */
  /* transition: transform 0.3s ease; */

  background-color: var(--color-primary-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg); 
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-4px); 
  box-shadow: var(--shadow-xl);
}

.stat-number {
  color: var(--color-accent); /* Yellow accent for numbers */
  font-family: var(--font-family-heading);
  font-size: var(--font-size-5xl); /* Very large and impactful */
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight); /* Keep numbers close */
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--color-text-inverse); /* White text for labels */
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .story, .team, .values, .statistics {
    padding: var(--space-10) 0;
  }

  .story h2, .team h2, .values h2, .statistics h2 {
    margin-bottom: var(--space-12);
  }

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

  .timeline-item {
    width: calc(100% - 60px);
    left: 40px !important;
    margin-bottom: var(--space-8);
  }

  .timeline-item::before {
    left: -30px !important;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .timeline {
    padding: var(--space-6) 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
