html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-y: scroll;

}

.about img {
  display: block;
  margin: 1rem auto; /* Center horizontally */
  object-fit: contain;
  width: 100%;
  max-width: 600px; /* Maintain responsiveness */
  height: auto;
}

.theBestUrologistDoctor img {
  min-height: 800px;
}

.about h2 {
  text-align: center;
  border-bottom-style: double;
  border-bottom-color: rgb(43, 245, 255, 1);
  margin: 1rem 0;
  font-size: 1.5rem;
}

.about ul {
  list-style: none;
  margin-left: 2%;
}

.about li {
  text-align: center;
  margin: 0.5rem;
  padding: 1rem;
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
  border-style: double;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about li:hover {
  color: rgb(25, 39, 51, 1);
  background-color: rgb(43, 245, 255, 1);
}

.about p {
  line-height: 1.6;
  padding: 0.5rem;
  text-align: justify;
}

.theBestUrologistClinic div {
  min-height: 300px; /* Reserve space for content */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  gap: 1.5rem;
  margin: 2%;
  padding: 2%;
  border-style: double;
  border-color: rgb(43, 245, 255, 1);
  border-width: 10px;
  background-color: #f8f9fa;
}

.theBestUrologistClinic div img {
  margin: 0 auto; /* Center horizontally */
  max-width: 75%;
  height: auto;
}

@media (max-width: 768px) {
  .about img {
    max-width: 100%;
    height: auto;
  }

  .about li {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .theBestUrologistClinic div {
    margin: 1%;
    padding: 1%;
  }

  .about h2 {
    font-size: 1.2rem;
  }
}
