/* About Page Specific Styles */

.about-hero {
  height: 50vh;
  min-height: 300px;
  background-image: url('https://images.pexels.com/photos/1451299/pexels-photo-1451299.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  margin-top: 76px;
}

.about-hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-section {
  padding: 5rem 0;
}

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

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-content h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.about-content p {
  margin-bottom: 1.5rem;
}

.mission-vision {
  padding: 5rem 0;
  background-color: var(--light);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.mission-card, .vision-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.mission-card h3, .vision-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.team-section {
  padding: 5rem 0;
}

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

.team-member {
  text-align: center;
}

.team-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--light);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media screen and (max-width: 768px) {
  .about-hero {
    height: 40vh;
  }
  
  .about-hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 576px) {
  .about-hero h1 {
    font-size: 2rem;
  }
}