 /* Custom Animations */
 @keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Ensure no horizontal overflow */
body, html {
  overflow-x: hidden;
  width: 100%;
}

.about-hero {
  background: linear-gradient(135deg, #007bff 0%, #00ff88 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.about-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  transform: translateY(50px);
  opacity: 0;
  animation: titleReveal 1s ease forwards 0.5s;
}

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

.section-heading {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.section-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #007bff;
  transition: width 0.3s ease;
}

.mission-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.team-member img {
  width: 100%; /* Ensure images don't overflow */
  height: auto;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

.team-member-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0,123,255,0.9);
  color: white;
  padding: 1.5rem;
  transition: bottom 0.3s ease;
}

.team-member:hover .team-member-overlay {
  bottom: 0;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #007bff;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: white;
}

.animated-underline {
  display: inline-block;
  position: relative;
}

.animated-underline:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #007bff;
  transition: width 0.3s ease;
}

.animated-underline:hover:after {
  width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-hero h1 {
      font-size: 2.5rem;
  }

  .section-heading {
      font-size: 2rem;
  }

  .mission-card {
      margin-bottom: 1.5rem;
  }

  .team-member {
      margin-bottom: 1.5rem;
  }

  .stat-number {
      font-size: 2.5rem;
  }
}

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

  .section-heading {
      font-size: 1.75rem;
  }

  .stat-number {
      font-size: 2rem;
  }
}
.social-links a {
  font-size: 1.5rem; /* Adjust size as needed */
  margin: 0 5px; /* Add spacing between icons */
  color: #333; /* Default icon color */
  transition: color 0.3s ease; /* Smooth hover effect */
}

.social-links a:hover {
  color: #007bff; /* Change color on hover */
}
