/* About Page Specific Styles */

.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('../images/about/team-hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 0;
  margin-bottom: 4rem;
}

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

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-section {
  padding: 4rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member .role {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.team-member .bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.expertise-section {
  background: #f1f3f5;
  padding: 4rem 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise-card h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expertise-card .icon {
  width: 24px;
  height: 24px;
  color: #005ce6;
}

.expertise-card ul {
  list-style: none;
  padding: 0;
}

.expertise-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.expertise-card li::before {
  content: "•";
  color: #005ce6;
  position: absolute;
  left: 0;
}

.mission-section {
  padding: 4rem 0;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.value-card .icon {
  width: 48px;
  height: 48px;
  color: #005ce6;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

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

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

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

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Timeline section */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: #005ce6;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
  width: 50%;
  animation: slideIn 0.6s ease forwards;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-date {
  font-weight: 600;
  color: #005ce6;
  margin-bottom: 0.5rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .about-section,
  .expertise-card,
  .value-card {
    background: #1a1a1a;
    color: #fff;
  }

  .team-member,
  .expertise-card,
  .value-card {
    background: #2a2a2a;
  }

  .team-member h3,
  .expertise-card h3,
  .value-card h3 {
    color: #fff;
  }

  .team-member .role,
  .team-member .bio,
  .expertise-card li,
  .value-card p {
    color: #bbb;
  }
}