/* Clinic Section */
.clinic {
  background: #f9f2f6; /* soft light pink background */
  padding: 20px 20px;
  text-align: center;
}

.clinic h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #800040; /* deep maroon */
  position: relative;
  display: inline-block;
}

.clinic h2::after {
  content: "";
  display: block;
  width: 300px;
  height: 3px;
  background: #800040;
  margin: 10px auto 0;
  border-radius: 2px;
}

.clinic p {
  max-width: 90%;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}


/* Doctor Section */
.doctor-section {
  background: #fbf8f7; /* soft light pink */
  padding: 40px 20px;
}

.doctor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  gap: 40px;
}

.doctor img {
  width: 400px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.doctor-details {
  flex: 1;
  min-width: 300px;
}

.doctor-details h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  margin-top: 15px;
  color: #800040; /* deep maroon */
}
.doctor-details h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #800040; /* deep maroon */
}

.doctor-details p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

.doctor-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doctor-details ul li {
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  color: #555;
}

.doctor-details ul li::before {
  content: "✔";
  color: #800040;
  font-weight: bold;
  margin-right: 10px;
}

/* Our Team Section */
.team {
  background: #fbf8f7;
  text-align: center;
  padding: 20px 20px;
}

.team h2 {
  font-size: 3rem;
  margin-top: 0px;
  margin-bottom: 15px;
  color: #800040;
}

.team p {
  max-width: 90%;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.team-members img {
  width: 400px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.team-members img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .doctor {
    flex-direction: column;
    text-align: center;
  }

  .doctor img {
    width: 220px;
  }

  .doctor-details h2 {
    font-size: 1.5rem;
  }

  .team h2 {
    font-size: 1.6rem;
  }
  .developer-credit{
    font-size: 0.8rem;
  }
}
