body {
  margin: 0;
  background: linear-gradient(to bottom, #f2f2f2, #e0f7fa);
  color: #333;
  animation: fadeIn 1.2s ease-in;
  min-height: 100vh; /* Ensures the gradient extends to the bottom */
}

.header {
  background-color: #005f73;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: slideDown 1s ease-out;
}

.main-title {
  font-size: 3rem;
  margin: 0;
  animation: fadeIn 1.5s ease-in-out;
}

/* Welcome Section */
.welcome-container {
  text-align: center;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 5vh;
  animation: fadeInUp 1.5s ease-in-out;
}

.welcome-preheader {
  font-size: 1.5rem;
  color: #0a9396;
  margin-bottom: 0.5rem;
}

.welcome-header {
  font-size: 2.5rem;
  color: #005f73;
  margin: 0;
  padding: 0;
}

.typed-header {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #2c3e50;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite;
}

.logo {
  width: 400px;
  height: auto;
  margin: 0px;
  animation: fadeIn 2s ease-in-out;
}

.motto {
  font-size: 1.5rem;
  color: #005f73;
  margin-top: 3rem;
}

/* Mission Section */
.mission-section {
  padding: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  border-radius: 10px;
  box-shadow: none;
  animation: fadeInUp 1.5s ease-in-out;
}

.section-heading {
  font-size: 2rem;
  color: #005f73;
  text-align: center;
  margin-bottom: 1rem;
  animation: fadeIn 1.5s ease-in-out;
}

.mission-text {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

/* Impact Section */
.impact-section {
  padding: 2rem;
}

.testimonial {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  background-color: #fcfafa;
  max-width: 900px; /* Increased max-width for a larger layout */
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 2rem; /* Increased padding for a more spacious look */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  width: 350px; /* Increased width for a larger image */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Display the full image */
  border-radius: 5px; /* Slight rounding */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  flex: 1;
}

.testimonial-name {
  font-size: 1.5rem;
  color: #005f73;
  margin-bottom: -0.8rem;
}

.testimonial-location {
  font-size: 1rem;
  color: gray;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

.team-section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  background: none; /* Removed white background */
  border-radius: 10px;
  box-shadow: none; /* Removed shadow */
  animation: fadeInUp 1.5s ease-in-out;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 2rem 0;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1.5s ease-in-out;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1.5rem;
}

.team-info {
  flex: 1;
}

.team-name {
  margin: 0;
  font-size: 1.5rem;
  color: #005f73;
}

.team-bio {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #555;
}

/* Navigation Bar */
.navbar {
  background-color: #005f73;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #94d2bd;
}

.testimonial-img-container {
  width: 350px;
}

.testimonial-img-container img {
  margin-bottom: 10px;
}

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

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

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

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 20ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}