/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: 0.938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
  white-space: no-wrap;
}

/*=============== HEADER ===============*/
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0px 0.09rem 0.54rem 0px #0000001f;
  z-index: 10;
}

.header__call-us {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: var(--brandColor);
  padding: 0.22rem 1.09rem;
}

.header__call-us > a > img {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.28rem;
}
.header__call-us > a {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 150%;
  color: var(--white);
}

/*=============== NAV ===============*/
.nav {
  height: 3.63rem;
}

.nav__logo,
.nav__burger,
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo > img {
  width: 5.31rem;
  height: 2.45rem;
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}
.nav__search-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.nav__toggle {
  position: relative;
  height: 2rem;
  width: 2rem;
}
.nav__toggle > i {
  font-size: 0.87rem;
  color: var(--brandColor);
  border: solid 1.5px var(--brandColor);
  padding: 0.35rem;
  border-radius: 0.18rem;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 100%;
    height: 100vh;
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
    background-color: #fff;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
}

.nav__link {
  color: var(--darkColor);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 150%;
  padding: 0.63rem 1.09rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  border-bottom: 0.75px solid #2d2d2d0d;
}

.nav__link:hover {
  background-color: var(--white);
  color: var(--brandColor);
}

@media screen and (min-width: 768px) {
  .nav__menu {
    height: 1.1rem;
  }
  .header__call-us {
    display: none;
  }
  .nav__contactus {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 0.28rem;
  }
  .nav__contactus-call {
    width: 4.32rem;
    height: 0.94rem;
    background-color: #d37fa0;
    color: var(--white);
    /* padding: 0.22rem 0.45rem; */
    font-size: 0.45rem;
    font-weight: 500;
    line-height: 150%;
  }
  .nav__contactus-btn {
    width: 3.37rem;
    height: 0.94rem;
    background-color: #e0a5bb;
    color: var(--white);
    padding: 0.22rem 0.45rem;
    font-size: 0.377rem;
    font-weight: 500;
    line-height: 150%;
  }

  .nav__link:hover {
    background-color: transparent;
  }
  .nav__logo > img {
    width: 5.21rem;
    height: 100%;
  }
  .nav__link {
    font-size: 0.377rem;
    border: none;
  }
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__link,
.dropdown__sublink {
  color: var(--darkColor);
  background-color: var(--white);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 150%;

  padding: 0.63rem 2.5rem;

  display: flex;
  align-items: center;
  transition: background-color 0.3s;
  border-bottom: 1.5px solid #2d2d2d0d;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  color: var(--brandColor);
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-color: var(--white);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height 0.1s ease-in;
}

/* Rotate dropdown icon */
/*.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
} */

/*=============== DROPDOWN SUBMENU ===============*/
/* .dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--white);
} */

.search-input {
  height: 1.63rem;
  width: 6.36rem;
  border: 1px solid var(--brandColor);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 0.15rem;
  padding: 0.22rem 0.45rem;
  color: #2d2d2d66;
  font-size: 0.63rem;
}

.search-input i {
  text-align: center;
  font-size: 0.72rem;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0.22rem;
}
.search-box {
  flex-grow: 1;
  display: flex;
  height: 100%;
}
.search-box input {
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 0.63rem;
  border: none;
  background-color: transparent;
}

.search-box > input::placeholder {
  color: #2d2d2d66;
  font-size: 0.63rem;
  font-weight: 400;
}

/* Scope dropdown hover behavior inside nav */
/* .dropdown__item {
  position: relative;
} */

.nav__link {
  position: relative;
  padding-bottom: 0;
  /* Increases hover area to avoid gap */
}

.dropdown__menu {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.dropdown__item:hover .dropdown__menu,
.dropdown__menu:hover {
  opacity: 1;
  padding: 0 1rem;
  visibility: visible;
}

.dropdown__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  white-space: nowrap;
  color: #2d2d2d80;
}

.dropdown__link:hover {
  background-color: #f5f5f5;
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 768px) {
  .container {
    margin-inline: 1rem;
  }
}

.nav__list {
  background-color: var(--white);
}
/* For large devices */
@media screen and (min-width: 768px) {
  .container {
    margin-inline: auto;
  }
  .search-input {
    margin-left: 1.2rem;
  }
  .nav {
    height: 2.67rem;
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0.9rem;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    font-size: 0.377rem;
    column-gap: 0.6rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
    min-width: 6rem;
    max-width: 10rem;
  }
  .dropdown__menu,
  .dropdown__submenu > li {
    border-bottom: 1px solid #2d2d2d0d;
  }
  .dropdown__link,
  .dropdown__sublink {
    font-size: 0.377rem;
    padding: 0.3rem 0.5rem 0.3rem 0.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding: 0.3rem 0.5rem 0.3rem 0.5rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: 0.5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:last-child .dropdown__menu {
    left: -3rem;
  }
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 1rem;
    pointer-events: initial;
    border-top: solid 2px var(--brandColor);
    transition: top 0.3s;
    padding: 0 0;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top 0.3s;
  }

  .search-input {
    width: 5.09rem;
    height: 0.98rem;
    padding: 0.26rem 0.45rem;
  }

  .search-box > input,
  .search-box > input::placeholder,
  .search-input i {
    font-size: 0.41rem;
  }
}

.banner__input {
  height: 2.7rem;
  width: 100%;
  margin-bottom: 0.8rem;
  color: var(--brandColor);
  border: 1px solid #d791ab;
  padding: 0.8rem 0.6rem;
  background-color: transparent;
  border-radius: 0.2rem;
}

.banner__message {
  width: 100%;
  height: 6rem;
  border: 1px solid #d791ab;
  padding: 0.2rem;
  color: var(--brandColor);

  background-color: transparent;

  margin-bottom: 1.8rem;
  padding: 0.5rem 0.6rem;
}
.banner__input2,
.banner__message2 {
  border: solid 1px #fdfdfd;
  color: #fdfdfd;
}

.banner__submit-btn {
  height: 2rem;
  width: 9.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 2.4rem;
  background-color: var(--brandColor);
  color: #fffffe;
  border: 0;
  align-self: center;
}
.banner__submit-btn2 {
  background-color: #fdfdfd;
  color: var(--brandColor);
}

.cancel-button {
  background-color: transparent;
  border: none;
  outline: none;
  color: #aba7af;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 1rem;
}

.cancel-button:hover {
  color: var(--brandClr);
}
.location-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0.75rem;
}

.location-form__heading {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  line-height: 130% !important;
  color: var(--brandColor) !important;
  width: 15rem;
  margin-bottom: 0.4rem !important;
  margin-top: 0;
}
.location-form__heading > span {
  color: #c7527f !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
  padding: 0 !important;
  position: relative;
  border-radius: 0.6rem !important;
}

.location-form__call-btn {
  margin-top: 1.2rem;
  text-decoration: none !important;
  color: #c7527f;
  font-size: 0.8rem;
  font-weight: 600;
}
.location-form__call-btn span span {
  color: var(--brandColor) !important;
}

.location-form__or-text {
  margin-top: 1.2rem;
  margin-bottom: 0 !important;
  font-weight: 600 !important;
  align-self: center;
}

@media screen and (min-width: 768px) {
  .banner__input {
    height: 0.88rem;
    margin-bottom: 0.25rem;
    border: 1px solid #d791ab;
    padding: 0.18rem 0.22rem;
    color: var(--brandClr);
    font-size: 0.375rem;
    font-weight: 400;
    border-radius: 0.08rem;
    background-color: transparent;
  }

  .banner__message {
    height: 2.45rem;
    margin-bottom: 0.25rem;
    border: 1px solid #d791ab;
    padding: 0.2rem;
    border-radius: 0.08rem;
    font-size: 0.375rem;
    background-color: transparent;
  }
  .banner__input2,
  .banner__message2 {
    border: solid 1px#fffffe;
    color: #fdfdfd;
  }

  .banner__input::placeholder,
  .banner__message::placeholder {
    font-size: 0.375rem;
    font-weight: 400;
    color: #b0b0b0;
  }
  .banner__input2::placeholder,
  .banner__message2::placeholder {
    color: #fdfdfd99;
  }
  .banner__input2:focus,
  .banner__message2:focus {
    border: solid 1px #fdfdfd;
  }

  .banner__submit-btn {
    height: 1rem;
    width: 4.7rem;
    font-size: 0.37rem;
    background-color: var(--brandColor);
    color: #fff;
    border: 0;
    border-radius: 0.9rem;
    align-self: center;
    margin-top: 0.4rem;
  }
  .banner__submit-btn2 {
    background-color: #fffffe;
    color: var(--brandColor);
  }

  .cancel-button {
    right: 1rem;
    top: 0.3rem;
    font-size: 0.5rem;
  }
  .location-form {
    padding: 0.4rem 0.8rem 0.925rem 0.8rem;
  }

  .location-form__heading {
    font-size: 0.41rem !important;
    margin-bottom: 0.8rem !important;
    width: 8.04rem !important;
  }
  div:where(.swal2-container) div:where(.swal2-popup) {
    border-radius: 0.3rem !important;
  }
  .location-form__call-btn,
  .location-form__or-text {
    margin-top: 0.6rem;
    font-size: 0.4rem;
    align-self: center;
    margin-bottom: 0 !important;
  }
}

/* NAV TABS */
.doctorPopup {
  position: absolute;
  width: 18.72rem;
  height: 36rem;
  top: 0;
  left: -0.1rem;
  background-color: white;
  padding: 0.5rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--brandColor);
  box-shadow: 0 4px 16px 0 #e8e8e8ff;
}

@media screen and (min-width: 768px) {
  .doctorPopup {
    width: 35.8rem;
    /* height: 8rem; */
    height: auto;
    padding: 0;
    top: 2.5rem;
    left: 0;
    /* position: relative; */
  }

  .doctorPopup::-webkit-scrollbar {
    display: none;
  }

  .doctorPopup::after {
    content: "";
    height: 0.5rem;
    width: 2.8rem;
    background: white;
    position: absolute;
    top: -0.5rem;
    left: 22.5rem;
    z-index: 12;
    background: var(--brandClr);
  }
}

@media screen and (min-width: 768px) {
  .departments {
    display: flex;
    /* height: 8rem; */
  }

  .departments > .department-items {
    /* width: 50%; */
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
  }

  .departments > .department-items:nth-child(1) {
    border-right: 1px solid violet;
  }
}

.goBackBtn {
  background: none;
  border: none;
  font-size: 0.727rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
  line-height: 1.5;
}

.department-title {
  display: flex;
  align-items: center;
  cursor: pointer;
  /* padding: 0.3rem 0 0 0; */
  /* font-weight: bold; */
  color: var(--brandColor);
  font-size: 0.45rem;
  font-weight: 500;
  font-style: Medium;
  line-height: 150%;
  letter-spacing: -2%;
  white-space: nowrap;
}


@media screen and (max-width: 768px) {
  .department-title {
     padding: 0.63rem 0 0 0;
     font-weight: 400;
     font-size: 0.72rem;
  }
}

.department-list,
.doctor-list {
  list-style: none;
  padding-left: 0.1rem;
  /* display: none; */
}

.department-list {
  list-style: none;
  padding-left: 15px;
  /* display: none; */
  /* height: 18rem; */
}

ul .department-list.show {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.department-list li {
  width: 6rem;
}

.doctor-list {
  list-style: none;
  padding-left: 15px;
  display: none;
  font-size: 0.636rem;
  color: var(--brandColor);
  font-weight: 500;
}

.show {
  display: flex !important;
  flex-direction: column;
}

.doctor-list li {
  margin-top: 0.54rem;
}

.doctor-list li a {
  font-weight: 500;
  font-style: Medium;
  /* font-size: 0.3rem; */
  line-height: 120%;
  letter-spacing: 2%;
  /* text-transform: uppercase; */
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  color: #2d2d2d;
  /* text-decoration: underline; */
  white-space: nowrap;
  padding-left: 0.2rem;
}
.doctor-list li a:hover {
  color: var(--brandColor);
}

@media screen and (min-width: 768px) {
  .department-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    /* gap: 0.2rem; */
    max-height: none;
    height: auto;
  }

  .department-list li {
    width: 33%;
    /* border: 1px solid violet; */
  }

  .district-title {
    font-size: 0.415rem;
    padding: 0 !important;
    display: flex;
    padding-right: 0.9rem !important;
    white-space: no-wrap;
    width: 5rem;
  }

  .state-title i {
    display: none;
    /* hide arrow icon on desktop */
  }

  .doctor-list {
    font-size: 0.301rem;
    padding-left: 0;
  }
}

@media screen and (min-width: 768px) {
  .department-list-small {
    display: none !important;
  }

  .department-list-big {
    display: flex !important;
    /* make columns */
    flex-direction: row !important;
    /* space between columns */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: initial;
  }

  .department-list-big > div {
    width: 33.33%;
    /* each column takes 1/3 */
    box-sizing: border-box;
  }

  .department-list-big li {
    width: auto !important;
    /* let list items size naturally */
  }

  .doctor-list li {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .department-list-big {
    display: none !important;
  }
  .departmentlist {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  /* .nav__link.active {
    color: #fff;
    background-color: #007bff;
    font-weight: bold;
  } */
}

.departmentList {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.departmentList li {
  width: auto !important;
  font-size: 2px !important;
}

.departmentlist {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.2rem;
  max-height: none;
  height: auto;
}

@media screen and (max-width: 768px) {
  .departments {
    display: flex;
    flex-direction: column;
    width: 100vw;
  }
}

.departmentList .doctors-departments:last-child .about-link {
  color: var(--brandColor);
}

@media screen and (min-width: 768px) {
  /* A_Z CANCERS */
  .blogContainer {
    display: flex;
    flex-direction: column;
  }
  .common-cancers-container {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
  }
  .cancerslist {
    display: flex;
    flex-direction: column;
  }
  .cancerType {
    width: fit-content;
  }
  .cancertypescontainer {
    padding: 0.622rem 0 0 1.5rem;
  }
  .cancertypescontainer__right-container {
    padding: 0 0 0 1.5rem;
  }
  .blog-title {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0rem 0 0rem 0;
    /* font-weight: bold; */
    color: #2d2d2d;
    font-size: 0.45rem;
    font-weight: 500;
    font-style: Medium;
    line-height: 150%;
    letter-spacing: -2%;
    white-space: nowrap;
  }
  .blog-list li {
    font-size: 0.377rem;
    font-weight: 500;
  }
  .blog-list li a {
    color: #2d2d2d;
  }
  .blog-list li a:hover {
    color: var(--brandColor);
  }
}
@media screen and (max-width: 768px) {
  .blog-list li a {
    color: #2d2d2d;
    font-size: 0.54rem;
  }
}
