/* Custom Dropdown Styling */
.custom-dropdown {
  position: relative;
  width: 180px;
  font-family: Arial, sans-serif;
  margin: 0 8px;
}

.dropdown-toggle {
  width: 100%;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid #662e91;
  border-radius: 24px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #662e91;
  width: 180px;
  font-weight: bold;
}

.arrow {
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #662e91;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
  width: 180px;
}

.custom-option {
  cursor: pointer;
}

.custom-option label {
  display: block;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
  font-weight: normal;
}

.custom-option label:hover {
  background: #f0f0f0;
}

/* Hide the checkbox but keep it functional */
.change-location-select {
  display: none;
}

/* Change the background when selected */
.change-location-select:checked + label {
  background: #662e91;
  color: white;
}

/* Show dropdown when active */
.custom-dropdown.active .dropdown-menu {
  display: block;
}

.custom-dropdown.active .arrow {
  transform: rotate(180deg);
}

.tabs-location-list__filter {
  display: flex;
  flex-direction: column;
}

.on-map-dropdown {
  display: none; /* Hidden by default */
}


.custom-checkbox input {
  width: 100% !important;
}

.block-editor-block-list__layout .tabs-location__map .gm-style .gm-style-iw-c, .theme-html .tabs-location__map .gm-style .gm-style-iw-c {
  max-height: 360px !important;
  height: 360px !important;
}


/** **/

.custom-banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  flex-direction: column;
}

.bg-video,
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bg-image {
  background-size: cover;
  background-position: center;
}

.black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  color: white !important;
  margin-top: 20%;
}

.banner-content p {
  color: white !important;
}

.banner-content h1,
.banner-content h2 {
  font-size: 3.5rem;
}

.banner-content h3 {
  font-size: 3rem;
}

.banner-content h1, 
.banner-content h2, 
.banner-content h3 {
  text-align: center;
  line-height: 120%;
  margin-bottom: 1rem;
  color: white !important;
}

.section-links-wrapper {
  display: none;
  gap: 2rem;
  flex-wrap: wrap;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: 1440px;
  left: 0;
  right: 0;
  margin: 20px auto;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
}

.section-links-half {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.section-links-half.its-full {
  justify-content: end;
  align-items: end;
  margin-right: 0;
  margin-left: auto;
}

.section-links-half.is-first {
  justify-content: end;
}

.section-links-half.is-last {
  justify-content: start;
}

.section-links-half a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  margin: 0 1.5rem;
  transition: all 0.3s ease;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media screen and (min-width: 1440px) {
  
  .section-links-half a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 600px) {
  .banner-content h1, 
  .banner-content h2, 
  .banner-content h3 {
    font-size: 2.5rem;
  }
}

.container-banner {
  max-width: 1352px;
}

/* Overlay menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1000;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Close button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Menu links */
/* Toggle Button */

/* Mobile menu (slide down or from side) */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  max-height: 0;
  background: white;
  overflow: hidden;
  /* transition: max-height 0.4s ease; */
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  max-height: 600px; /* or more if needed */
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  float: right;
  margin: 1rem;
  cursor: pointer;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  background: #5b3378;
}

.mobile-menu-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 14px;
  margin-bottom: 1rem;
}

.mobile-menu-nav a:hover {
  color: #fff;
}

.mobile-menu-wrap {
  display: flex;
  z-index: 9;
  position: fixed;
  transition: all 0.3s ease;
  /*transition: background-color 0.3s ease, box-shadow 0.3s ease; */
  opacity: 1;
  transform: translateY(0%);
  inset: 0% 0% auto;
  width: 100%;
  max-width: 100%;
  top: 25px;
  margin: 0;
  padding: .3rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.mobile-menu-wrap .logo-landing {
  width: 100%;
}

.mobile-menu-wrap .logo-landing img {
  height: 50px;
  width: auto;
}

.mobile-menu-wrap.scrolled {
  background: #5b3378;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 0;
}

.mobile-menu-toggle {
  display: block;
  z-index: 1001;
  background: none;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  position: absolute;
  width: auto;
  right: 20px;
  margin-top: -8px;
  transition: all .5s ease-in-out;
}

/* Hide mobile menu on desktop */
@media screen and (min-width: 1300px) {
  .mobile-menu,
  .mobile-menu-toggle,
  .mobile-menu-wrap {
    display: none;
  }

  .section-links-wrapper {
    display: flex;
  }
}

/* Show toggle button only on mobile */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-wrap {
    display: flex;
  }

  .section-links-half {
    display: none;
  }
}

.abs-link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

/** 

  .section-links-wrapper.scrolled {
  position: fixed;
  transition: all .5s ease-in-out;
  opacity: 1;
  transform: translateY(0%);
  inset: 0% 0% auto;
  background: #662e91;
  width: 100%;
  max-width: 100%;
  top: 0;
  margin: 0;
}

**/

.banner-arrow {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  margin-left:-20px;
  width: 30px;
  height: 30px;
  z-index: 9;
  bottom: 2rem;
 
  /**
   * Dark Arrow Down
   */
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiB3aWR0aD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuNzA3MSA0LjI5Mjg5QzE2LjA5NzYgNC42ODM0MiAxNi4wOTc2IDUuMzE2NTggMTUuNzA3MSA1LjcwNzExTDEwLjcwNzEgMTAuNzA3MUMxMC4zMTY2IDExLjA5NzYgOS42ODM0MiAxMS4wOTc2IDkuMjkyODkgMTAuNzA3MUw0LjI5Mjg5IDUuNzA3MTFDMy45MDIzNyA1LjMxNjU4IDMuOTAyMzcgNC42ODM0MiA0LjI5Mjg5IDQuMjkyODlDNC42ODM0MiAzLjkwMjM3IDUuMzE2NTggMy45MDIzNyA1LjcwNzExIDQuMjkyODlMMTAgOC41ODU3OUwxNC4yOTI5IDQuMjkyODlDMTQuNjgzNCAzLjkwMjM3IDE1LjMxNjYgMy45MDIzNyAxNS43MDcxIDQuMjkyODlaTTE1LjcwNzEgMTAuMjkyOUMxNi4wOTc2IDEwLjY4MzQgMTYuMDk3NiAxMS4zMTY2IDE1LjcwNzEgMTEuNzA3MUwxMC43MDcxIDE2LjcwNzFDMTAuMzE2NiAxNy4wOTc2IDkuNjgzNDIgMTcuMDk3NiA5LjI5Mjg5IDE2LjcwNzFMNC4yOTI4OSAxMS43MDcxQzMuOTAyMzcgMTEuMzE2NiAzLjkwMjM3IDEwLjY4MzQgNC4yOTI4OSAxMC4yOTI5QzQuNjgzNDIgOS45MDIzNyA1LjMxNjU4IDkuOTAyMzcgNS43MDcxMSAxMC4yOTI5TDEwIDE0LjU4NThMMTQuMjkyOSAxMC4yOTI5QzE0LjY4MzQgOS45MDIzNyAxNS4zMTY2IDkuOTAyMzcgMTUuNzA3MSAxMC4yOTI5WiIgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
  background-size: contain;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* mobile banner fix */

.header-banner__image.show-mobile {
  display: none;
  visibility: hidden;
}

.header-banner__image.show-desktop {
  display: block;
  visibility: visible;
}

@media only screen and (max-width: 768px) {
  .header-banner__image.show-desktop {
    display: none;
    visibility: hidden;
  }

  .header-banner__image.show-mobile {
    display: block;
    visibility: visible;
  }

  .header-banner.block--custom-header-banner {
    display: flex !important; 
    align-items: end !important;
    justify-content: end !important;
  }

  .header-banner__container {
    padding-top: 0 !important;
    padding-bottom: 30px;
  }

 .header-banner__content h2 {
    font-size: 25px !important;
    line-height: 1.2em !important;
  }
}