
section h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-dark-blue);
  margin-bottom: 1rem;
}

section h2 {
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  text-align: center;
  align-self: center;
}

section h2::after {
  position: absolute;
  content: "";
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  height: 7px;
  width: 75%;
  background-color: var(--color-primary);
}

section p {
  font-size: 1.2rem;
  color: var(--color-black);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Team Section Styles */
.team .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.team-member {
  background: var(--color-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--color-primary);
}

.team-member h3 {
  color: var(--color-dark-blue);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--color-black);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.team-member a {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.team-member a:hover {
  background-color: var(--color-secondary);
}

/* Responsive styles for team section */
@media (max-width: 768px) {
  .team-member {
    width: 100%;
    max-width: 300px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  section {
    flex-direction: column;
    text-align: center;
  }

  section .container {
    align-items: center;
  }
}
