/* Header Widget Styles */
.elementor-location-header {
  position: absolute !important;
  width: 100%;
  z-index: 99;
}

.navbar {
  padding-inline: 0 !important;
}

.btn-close {
  width: 3rem;
  height: 3rem;
}

.page-id-3 .site-main,
.page-id-502 .site-main {
  padding-top: 14rem;
}

.page-id-3 .navbar,
.page-id-502 .navbar {
  background-color: var(--e-global-color-primary);
}

.page-id-3 .navbar-nav,
.page-id-502 .navbar-nav {
  display: none;
}

.scrolled {
  background-color: inherit;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #fff;
}

/* .elementor-location-header .container {
  max-width: calc(100% - 200px);
  align-items: flex-start;
} */

.nav-line {
  height: 0.4rem;
  width: 4vw;
  margin-bottom: 0.5rem;
  display: flex;
  background-color: #f7f4ec;
  border-radius: 7px;
  max-width: 50px;
}

.offcanvas {
  background-color: #f7f4ec;
}

.nav-minimal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: nowrap;
}

.nav-minimal .nav-minimal .nav-link {
  display: inline-block;
  position: relative;
  padding: 0 2rem 0 0;
}

.nav-minimal a {
  font-size: clamp(3rem, 2.7143rem + 1.4286vw, 4rem) !important;
  color: inherit !important;
  padding-block-end: 1em;
  display: block;
}

.offcanvas.offcanvas-end {
  width: 50%;
}

@media (min-width: 1200px) {
  .offcanvas-end {
    max-width: 35vw;
    padding: 5rem;
  }
}

@media (min-width: 992px) {
  .offcanvas-end {
    max-width: 50vw;
    padding: 5rem;
  }
}

.offcanvas-end {
  width: 100%;
  padding: 2.5rem;
  border: 0;
}

.ebp-custom-header-1 {
  padding: 0;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  position: relative;
  width: 100%;
  z-index: 1000;
}

/* .ebp-custom-header-1 .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
} */

/* Logo Styles */
.ebp-custom-header-1 .header-logo {
  height: auto;
  width: 100%;
  /* max-width: 250px; */
  transition:
    opacity 0.3s ease,
    max-width 0.3s ease;
}

.ebp-custom-header-1 .scrolled .header-logo {
  max-width: 250px;
  transition: max-width 0.3s ease;
}

.ebp-custom-header-1 .scrolled {
  padding-block: 1rem;
  transition: padding-block 0.3s ease;
}

.header-logo:hover {
  opacity: 0.8;
}

/* Navigation Styles */
.header-navigation {
  display: flex;
  justify-content: flex-end;
  color: #fff;
  background-color: #004c40 !important;
  width: fit-content;
  margin-left: auto;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  box-shadow: 5px 4px 0 #fff;
  border: 0.5px solid;
}

.header-navigation a {
  color: #fff !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  opacity: 0.7;
}

/* CTA Button Styles */
.header-cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.header-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.offcanvas {
  padding-inline: 1rem;
}

.offcanvas-header {
  padding-block: 0;
}

.offcanvas-body {
  display: flex;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding-block: 2rem;
  transition: all 0.3s ease;
}

.side-cta {
  position: fixed;
  right: 0;
  top: 22%;
  writing-mode: sideways-rl;
  background: var(--e-global-color-primary);
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.side-cta a {
  color: #f7f4ec;
  height: 100%;
  width: 100%;
  display: inline-block;
  padding: 1.5rem 1rem;
  line-height: 1;
  text-transform: uppercase;
}

#toc-nav {
  justify-content: center;
}

@media (max-width: 1440px) {
  .ebp-custom-header-1 .header-logo {
    height: auto;
    width: 27vw;
    max-width: 300px;
    transition: opacity 0.3s ease;
  }
}

@media (max-width: 991px) {
  .nav-line {
    min-width: 2.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .ebp-custom-header-1 .row {
    flex-direction: column;
    gap: 1rem;
  }

  .header-navigation {
    justify-content: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .col-auto {
    text-align: center;
  }

  .offcanvas.offcanvas-end {
    width: 100%;
  }

  .ebp-custom-header-1 .header-logo {
    width: 170px;
  }

  /* .nav-line {
	min-width: 30px;
	height: 3px;
} */

  .navbar {
    padding: 22px 5px;
  }
}
