body {
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
}
.section-heading {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 20px;
}
.section-text {
  font-size: clamp(14px, 2vw, 20px);
}
.nav-cus {
  background-color: antiquewhite;
  position: fixed;
  top: 0;
  padding-left: 100px;
  height: 50px;
  width: 100%;
}
.nav-link {
  font-size: 14px;
}
.nav-link:hover {
  font-weight: bold;
}
.logo {
  position: fixed;
  top: 5px;
  left: 10px;
  height: 100px;
  border-radius: 50%;
  opacity: 50%;
}
main {
  background: linear-gradient(to bottom, white, rgb(255, 255, 136));
  padding: 100px 100px 0 100px;
  display: flex;
  flex-direction: column;
}

.welcome-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
}
.welcome-photo {
  width: 60%;
  padding-bottom: 50px;
}
.welcome-container p {
  text-align: center;
}
.service-container {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  grid-row: auto;
}

.srv-heading {
  grid-column: span 4;
  text-align: center;
}
.srv-image {
  width: 100%;
  border-radius: 10px;
}
.srv-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  /* padding: 5px; */
}
.card-heading {
  padding: 10px 0 20px 0;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  text-align: center;
}
.dental-services {
  width: 100%;
  padding-left: 15px;
  font-size: clamp(12px, 2vw, 18px);
}
.doctor-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  /* border: 1px solid black; */
}
.doctor-card {
  display: flex;
  padding-bottom: 30px;
  /* border: 1px solid black; */
}

.doctor-photo {
  width: 400px;
  border-radius: 10px;
}
.doctor-information {
  padding-left: 20px;
}
.bio-heading {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  padding-bottom: 20px;
}
.bio-text {
  font-size: clamp(12px, 2vw, 16px);
  flex: 1;
}

.staff-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-row: auto;
}
.staff-grid-container p {
  text-align: center;
}

.team-heading {
  grid-column: span 4;
  text-align: center;
}
.staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-photo {
  width: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.footer {
  display: flex;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 50px 5%;
  box-sizing: border-box;
}

.footer-section {
  flex: 1;
  padding: 0 40px;
  text-align: center;
  box-sizing: border-box;
}

.footer-section:not(:last-child) {
  border-right: 1px solid #444;
}

.footer-section h3 {
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-section p {
  line-height: 1.6;
  margin: 10px 0;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.15);
}

@media (max-width: 1200px) {
  .welcome-photo {
    width: 80%;
  }
  /* .staff-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 20px;
  } */
  .staff-grid-container,
  .service-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .team-heading,
  .srv-heading {
    grid-column: span 2;
  }
  .footer {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-section {
    width: 100%;
    padding: 30px 10px;
  }

  .footer-section:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #444;
  }
}

@media (max-width: 800px) {
  main {
    padding-top: 100px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .welcome-photo {
    width: 100%;
    padding-bottom: 10px;
  }
  .welcome-container p {
    text-align: justify;
  }
  .staff-grid-container,
  .doctor-card,
  .service-container {
    display: flex;
    flex-direction: column;
  }
  .doctor-card,
  .srv-card {
    width: 100%;
    align-items: center;
  }
  .team-heading,
  .bio-heading {
    padding-top: 20px;
    text-align: center;
  }
  .srv-image {
    width: 50%;
    align-content: center;
  }
  .dental-services {
    padding-left: 25%;
  }
  .footer {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-section {
    width: 100%;
    padding: 30px 10px;
  }

  .footer-section:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #444;
  }
}
