* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

header {
  background-color: #005b96; /* Blue */
  padding: 20px 0;
}

header h1 {
  text-align: center;
  color: white;
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 15px;
}

nav ul li a:hover, .active {
  background-color: #007bb5;
  border-radius: 5px;
}

.hero {
  background-color: #007bb5; /* Lighter Blue */
  text-align: center;
  padding: 80px 20px;
  color: white;
}

.hero h2 {
  font-size: 40px;
}

.hero p {
  font-size: 20px;
}

section {
  padding: 40px 20px;
}

footer {
  background-color: #005b96; /* Dark Blue */
  color: white;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 5px 0;
}

ul {
  list-style-type: none;
}

ul li {
  margin: 10px 0;
}

a {
  color: #005b96;
}

a:hover {
  text-decoration: underline;
}
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.appointment-form input,
.appointment-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.appointment-form button {
  padding: 12px;
  background-color: #005b96;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.appointment-form button:hover {
  background-color: #007bb5;
}
header h1 {
  margin-bottom: 20px;
}
.appointment-form button {
  margin-bottom: 40px;
}
#appointment h2 {
  margin-top: 30px;  /* Space above the heading */
  margin-bottom: 30px;  /* Space below the heading */
}
/* For screens smaller than 768px (Tablets and small screens) */
@media (max-width: 768px) {
  /* Navigation bar adjustments */
  nav ul {
    text-align: center;
    padding-left: 0;
  }

  nav ul li {
    display: inline-block;
    margin: 10px 15px;
  }

  /* Create a second row for the nav items on mobile */
  nav ul li:nth-child(n+4) {
    clear: both; /* Start the next row */
  }

  /* Hero section adjustments */
  .hero h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  /* Appointment form adjustments */
  .appointment-form {
    max-width: 100%; /* Allow form to take up the full width */
    margin: 20px;
  }

  .appointment-form input,
  .appointment-form textarea {
    width: 100%; /* Make the input fields take the full width */
  }

  /* Adjust the header text size */
  header h1 {
    font-size: 24px;
  }

  /* Adjust spacing for the sections */
  section {
    padding: 20px;
  }

  footer {
    padding: 10px 0;
  }
}

/* For screens smaller than 480px (Phones) */
@media (max-width: 480px) {
  /* Adjust the navigation links' font size */
  nav ul li a {
    font-size: 16px;
    padding: 10px 15px;
  }

  /* Hero text adjustment */
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  /* Appointment form button adjustment */
  .appointment-form button {
    font-size: 14px;
    padding: 10px;
  }

  /* Footer text adjustments */
  footer p {
    font-size: 14px;
  }
}
.appointment-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}
header h1 {
  padding: 0 15px;
}
.gallery {
  padding: 40px 20px;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #005b96;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.clinic-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 20px;
  box-sizing: border-box;
}

.highlight-item {
  flex: 1 1 calc(25% - 20px); /* 4 items per row on large screens */
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.highlight-item img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.highlight-item h3 {
  font-size: 1.1rem;
  margin: 8px 0 4px;
}
.highlight-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* Two items per row on screens 768px or less */
@media (max-width: 768px) {
  .highlight-item {
    flex: 1 1 calc(50% - 20px);
  }
}
