:root {
  --call-to-action: #b2aa7e;
  --background: #f5f5f5;
  --accsent-color: #39464f;
}
* {
  max-width: 100% !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}
:target h1 {
  box-shadow: 0px 0px 1px rgb(0 2 0 / 20%);
}
body {
  margin: 0;
}
.nav {
  width: 100%;
  background-color: var(--background);
  position: relative;
  padding: 10px 0;
  box-shadow: 1px 1px 1px 1px #b9b9b9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav > .nav-header {
  display: inline;
}
.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: black;
  padding: 10px 10px 10px 10px;
}
.nav > .nav-btn {
  display: none;
}
.link {
  color: black;
  gap: 8px;
  font-weight: bold;
  display: flex !important;
  text-decoration: none;
  align-items: center;
}
.nav > .nav-links {
  display: flex;
  float: right;
  align-items: center;
  font-size: 18px;
  gap: 15px;
  padding-right: 25px;
}
.nav > .nav-links > a,
.nav > .nav-links > div {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: black;
  font-weight: bold;
}
.nav > .nav-links > a:hover,
.nav > .nav-links > div:hover {
  border-radius: 15px;
  background-color: var(--call-to-action);
}
.nav > #nav-check {
  display: none;
}
#nav-logo > img {
  width: auto;
  padding-left: 29px;
  height: 50px;
}
.livechat {
  display: flex !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#header {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  background-color: var(--background);
}
.location,
.whatsapp {
  display: block;
}
.inloaction,
.inwhatsapp {
  display: none !important;
}
.sticky {
  position: sticky;
  top: 0;
  width: 100%;
}
.sticky img {
  height: 30px !important;
}
.banner {
  background-image: url(./image/hospital/banner.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 900px;
}
.banner-text {
  width: 50%;
  padding-top: 50px;
  padding-left: 50px;
}
.banner-text h1 {
  font-size: 50px;
  font-weight: bold;
}
.banner-text p {
  font-size: 20px;
  font-weight: bold;
  color: var(--call-to-action);
  padding-right: 30px;
  line-height: 1.7;
  width: 70%;
}
.department {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  background-color: var(--background);
  flex-direction: column;
}
.doc-details h3 {
  color: #000000ad;
}
.doctor-para-head {
  font-size: 24px;
  color: #000000c7;
}
.doctor-para-para {
  line-height: 1.5;
}
.dep-head {
  text-align: center;
  line-height: 1.7;
  text-decoration-color: var(--call-to-action) !important;
  font-size: 42px;
  text-decoration: underline;
  font-weight: 500;
  text-underline-offset: 10px;
}
.dep-para {
  font-size: 21px;
  max-width: 70% !important;
  margin: auto;
  line-height: 1.7;
}
.w-full {
  width: 100%;
}
.mt-100 {
  margin-top: 100px;
}
.doctors {
  margin-top: 90px !important;
  width: 80%;
  justify-content: center;
  margin: auto;
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}
.doctor {
  height: 500px;
  overflow-y: scroll;
  width: 300px;
  padding: 37px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 1px 1px 1px 1px var(--call-to-action);
  border-radius: 15px;
  border: 1px solid #00000040;
}
.doctor::-webkit-scrollbar {
  width: 0;
  background-color: #f5f5f5;
}
.doctor img {
  border-radius: 50%;
}
.doc-details {
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
  }
  .banner-text {
    display: none;
  }
  #header {
    display: none;
  }
  .location,
  .whatsapp {
    display: none;
  }
  .inlocation,
  .inwhatsapp {
    display: block !important;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
    margin-right: 20px;
  }
  .nav > .nav-btn > label:hover,
  .nav #nav-check:checked ~ .nav-btn > label {
    background-color: var(--background);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid black;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: var(--background);
    height: 0;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: 60vh;
    overflow-y: auto;
  }
  .banner {
    height: 150px;
  }
  .doctors {
    grid-template-columns: repeat(1, 1fr);
  }
  .doctor {
    width: 100%;
  }
  .dep-head {
    font-size: 7.5vw;
    margin-bottom: 5vw;
  }
  .mt-100 {
    margin-top: 30px;
  }
  .dep-para {
    width: 100%;
    max-width: 100% !important;
    font-size: 16px;
    line-height: 1.7;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .doctors {
    grid-template-columns: repeat(2, 1fr);
  }
}
