/*header css is start from here */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 0.925rem 1.4rem;
}

.header .logo {
  display: inline-block;
  /* max-width: 24.5375rem; */
  padding: 0.625rem 0;
  width: 15rem;
}

.logo img {
  width: 100%;
}

.headers-buttons .header-button {
  padding: 0.725rem 1.65rem;
  font-size: 1.125rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0em;
  line-height: 1.8em;
  text-transform: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.3125rem;
  display: inline-block;
  color: #fff;
  /* background-color: rgba(230, 85, 152, 1); */
  font-family: "source sans pro", sans-serif !important;
}

.headers-buttons .number-btn {
  background-color: #fff;
  color: #a20062;
  border-color: #a20062;
}

.appointment-btn {
  background-color: rgba(230, 85, 152, 1);
  color: #fff;
}

.patient-portal-btn {
  background-color: #000000;
  color: #fff;
}

.location-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  flex: 1;
  justify-content: center;
  padding: 0 1.5rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}

.location-item:hover {
  color: #a20062;
}

.location-item svg {
  width: 1.875rem;
  height: 1.875rem;
  flex-shrink: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.location-address {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
}

.location-city {
  font-size: 0.95rem;
  font-weight: 400;
  color: #666;
}

.location-item:hover .location-address {
  color: #a20062;
}

.headers-buttons {
  display: flex;
  align-items: center;
  gap: 0.325rem;
}

.mammography-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: #fff5fb;
  border-bottom: 1px solid #e9c9dc;
  color: #a20062;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
  flex-wrap: wrap;
}

.mammography-banner + .header {
  margin-top: 3.8rem;
  transition: margin-top 0.3s ease;
}

.mammography-banner .banner-text {
  font-size: 0.95rem;
  color: #a20062;
}

.mammography-banner .banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  background-color: rgba(230, 85, 152, 1);
  color: #fff;
  text-decoration: none;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.25s ease;
}

.mammography-banner .banner-link:hover {
  background-color: #a20062;
}

.mammography-banner .banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #a20062;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

/* Language Dropdown Styles */
.language-dropdown-container {
  position: relative;
  margin-left: 0.7rem;
}

.language-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.65rem 1.25rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: "source sans pro", sans-serif;
}

.language-dropdown-trigger:hover {
  background-color: rgba(230, 85, 152, 1);
  color: #fadde2;
}

.language-dropdown-trigger .language-flag {
  width: 28px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
}

.language-dropdown-trigger .language-name {
  font-size: 1rem;
}

.language-dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.language-dropdown-trigger.active .language-dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.25rem 0.75rem;
  border-radius: 0.3125rem;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.language-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  color: #81004e;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 400;
}

.language-option:hover {
  background-color: #e8daed;
  color: #81004e;
}

.language-option.active {
  background-color: #f5f0f7;
  font-weight: 600;
}

.language-option .language-flag {
  width: 28px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.language-option .language-name {
  font-family: "source sans pro", sans-serif;
}

/* Language Dropdown Styles - Header Version */
.language-dropdown-container-header {
  position: relative;
  display: inline-block;
}

.language-dropdown-trigger-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.11rem 1.15rem;
  background: transparent;
  border: none;
  border-radius: 0.3125rem;
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "source sans pro", sans-serif;
}

.language-dropdown-trigger-header:hover .language-dropdown-arrow {
  stroke: white;
}

.language-dropdown-trigger-header .language-flag {
  width: 28px;
  height: 19px;
  border-radius: 2px;
  object-fit: cover;
}

.language-dropdown-trigger-header .language-name {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Open Sans Condensed", sans-serif;
  letter-spacing: 0.0625rem;
}

.language-dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  stroke: white;
}

.language-dropdown-trigger-header:hover .language-dropdown-arrow {
  stroke: white;
}

.language-dropdown-trigger-header.active .language-dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown-menu-header {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.15) 0rem 0.5rem 1rem;
  border-radius: 0.3125rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  border: 1px solid #e8daed;
}

.language-dropdown-menu-header.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mammography-banner .banner-close:hover {
  color: #652e5a;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .mammography-banner {
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .mammography-banner .banner-text,
  .mammography-banner .banner-link {
    text-align: center;
  }
}

.header-navbar {
  position: relative;
  padding: 0 1.25rem;
  background-color: #652e5a;
}

.header-navbar ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-navbar .language-dropdown-container-header {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.language-dropdown-menu-header {
  left: auto;
  right: 0;
}

.header-navbar ul li a {
  padding: 1.65rem 1.25rem;
  display: inline-block;
  color: white;
  position: relative;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.header-navbar ul li p {
  padding: 1.65rem 1.25rem;
  display: inline-block;
  color: white;
  position: relative;
  font-size: 1.125rem;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
}

.header-navbar ul li p::before,
.header-navbar ul li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  width: 0%;
  background-color: #000;
  transition: 0.3s;
}

.header-navbar ul li p:hover,
.header-navbar ul li a:hover {
  background-color: rgba(230, 85, 152, 1);
  color: #fadde2;
}

.header-navbar ul li a:hover::before {
  width: 100%;
}

.header-navbar ul li p:hover::before {
  width: 100%;
}

/* dropdown css i written here */
.drop-list,
.drop-list-hover {
  position: relative;
}

.drop-down {
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.25rem 0.75rem;
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  visibility: hidden;
  width: 11.7125rem;
  background-color: #fff;
  z-index: 4;
  transition:
    all 0.5s ease-in-out,
    max-height 0.5s ease-in-out,
    opacity 0.5s ease-in-out;
}

.drop-down.drop-down-about {
  left: -1.5rem;
}

.locations-dropdown {
  width: 18rem;
}

.max-width-list {
  width: 17.8rem;
}

.drop-list-hover:hover .drop-down:not(.inner-drop) {
  max-height: 700px;
  opacity: 1;
  overflow: visible;
  padding: 0.625rem;
  visibility: visible;
}

.sub-drop-list-hover:hover .inner-drop {
  max-height: 500px;
  opacity: 1;
  overflow: visible;
  padding: 0.625rem;
  visibility: visible;
}

.drop-list-hover .outer-drop .sub-drop-list-hover {
  position: relative;
}

.drop-list-hover .outer-drop .sub-drop-list-hover .inner-drop {
  position: absolute;
  top: -0.625rem;
  left: 103%;
  z-index: 5;
}

.drop-down ul {
  flex-direction: column;
  align-items: stretch;
}

.drop-down ul li a {
  color: #81004e;
  display: block;
  padding: 0.9rem 1.2rem;
  transition: 0.3s ease-in-out;
  text-transform: unset;
}

.drop-down ul li a::before {
  display: none;
}

.drop-down ul li a:hover {
  background-color: #e8daed;
  border-radius: 0.3125rem;
  color: #81004e;
}

.drop-list-hover .locations-dropdown p {
  color: #e65598;
  font-weight: 400;
  font-size: 0.725rem;
  line-height: 1.0625rem;
  letter-spacing: 0%;
  text-transform: capitalize;
  padding: unset;
  position: unset;
}

.drop-list-hover .locations-dropdown p:hover {
  background-color: unset;
  color: rgba(230, 85, 152, 1);
}

.menue-toggle-btmn {
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin-left: auto;
  display: none;
}

.brg-menue {
  width: 2.275rem;
  height: 1.575rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
}

.bar {
  width: 100%;
  height: 0.5rem;
  background-color: #cacaca;
  border-radius: 0.3125rem;
  transition: 0.3s;
}

.active-btn .bar:nth-child(1) {
  transform: rotate(45deg) translate(-0.1875rem, -0.0625rem);
  transform-origin: 4% 6%;
}

.active-btn .bar:nth-child(2) {
  opacity: 0;
}

.active-btn .bar:nth-child(3) {
  transform: rotate(-45deg) translate(0, -0.0625rem);
  transform-origin: 2% 88%;
}

.header-navbar .drop-list::before,
.header-navbar .drop-list::before {
  content: "+";
  position: absolute;
  top: 13px;
  font-size: 28px;
  left: 13px;
  font-weight: 700;
  color: #000;
}

.drop-for-mobile {
  display: none;
}

/*header responsive css is start from here */
/* 
@media screen and (max-width: 800px) {
  .drop-for-mobile {
    display: block;
  }
  .drop-list-hover {
    display: none;
  }
  .logo {
    padding: 3.125rem 0.625rem;
  }

  .header {
    max-height: 5.975rem;
    overflow: hidden;
    transition: 0.4s;
  }

  .header.show-header {
    max-height: 70.25rem;
    overflow: auto;
  }

  .menue-toggle-btmn {
    display: block;
  }

  .header-navbar ul {
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
    text-align: start;
  }

  .header-navbar ul li {
    border-bottom: 1px solid #80808026;
  }

  .header-navbar {
    padding: 0;
    background-color: rgb(250 221 225);
    position: static;
  }

  .language-dropdown-container-header {
    position: static;
    margin: 0;
  }

  .top-header {
    padding: 0.925rem;
    flex-direction: column-reverse;
  }

  .headers-buttons {
    width: 100%;
  }
  .header-navbar ul li a,
  .drop-down ul li a {
    display: block;
    color: #f293d8;
    font-size: 18px;
    padding-left: 40px;
    position: relative;
  }

  .drop-down {
    position: unset;
    box-shadow: unset;
    padding: unset;
    width: unset;
    background-color: transparent;
    z-index: 1;
  }
  .drop-list .drop-down {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }
  .drop-down {
    display: block;
  }
  .sublistActive .drop-down {
    max-height: 500px;
    opacity: 1;
  }
  .header-navbar .sublistActive::before,
  .header-navbar .sublistActive::before {
    content: "-";
  }
  .header-navbar ul li a:hover {
    background-color: unset;
    color: #f293d8;
  }
  .header-navbar ul li a::before {
    background-color: #e8cfd2;
  }
}

@media screen and (max-width: 568px) {
  .headers-buttons .header-button:nth-child(3) {
    display: none;
  }
  .top-header {
    padding: 1.125rem 0.925rem 0.925rem 0.925rem;
    flex-direction: column-reverse;
  }
} */