/* About page specific styles */

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

.about-hero {
  margin: 0;
  aspect-ratio: 16 / 12;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
}

@media (max-width: 768px) {
  .about-hero {
    aspect-ratio: 4 / 5; /* taller crop on mobile */
  }
}

.about-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.about-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

/* Mission & Vision Cards */
.mission-vision-card {
  text-align: center;
  padding: 2rem;
}

.mission-vision-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mission-vision-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.mission-vision-card p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-800);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.team-member:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.team-photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.team-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}


.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.team-role {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.team-bio {
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.skill-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--gray-100);
  color: var(--gray-800);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.team-member .social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.team-member .social-links a {
  color: var(--gray-800);
  transition: color 0.2s ease;
}

.team-member .social-links a:hover {
  color: var(--primary-color);
}

/* Values Section */
.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.value-card p {
  color: var(--gray-800);
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .about-intro h2 {
    font-size: 1.75rem;
  }

  .about-intro p {
    font-size: 1rem;
  }

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