/* About Page Styles */
.about-section {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  height: 400px;
  background-image: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.about-content p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.values-section {
  padding: 4rem 0;
  background-color: var(--white);
}

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

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.value-card p {
  color: var(--gray-600);
}

.team-section {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-member-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.team-member-info {
  padding: 1.5rem;
  text-align: center;
}

.team-member-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.team-member-info p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Animation */
.about-content, .about-image {
  animation: fadeIn 0.8s ease-out;
}

.value-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.value-card:nth-child(2) {
  animation-delay: 0.2s;
}

.value-card:nth-child(3) {
  animation-delay: 0.4s;
}

.team-member {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.team-member:nth-child(2) {
  animation-delay: 0.2s;
}

.team-member:nth-child(3) {
  animation-delay: 0.4s;
}

.team-member:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    height: 300px;
    order: -1;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content h2 {
    font-size: 1.75rem;
  }
  
  .about-image {
    height: 250px;
  }
}
