.tp-offcanvas-2-area {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.tp-offcanvas-2-area.opened {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 100000 !important;
}

/* Lock page scroll while menu is open */
body.offcanvas-opened,
body.offcanvas-opened html {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
}

html:has(body.offcanvas-opened) {
  overflow: hidden !important;
}

/* Compact light menu: fit full viewport, no scroll */
.tp-offcanvas-2-area.offcanvas-2-white-bg.opened,
.tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-wrapper {
  overflow: hidden !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .left-box,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .right-box {
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  scrollbar-width: none;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-2-wrapper
  .left-box::-webkit-scrollbar,
.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-2-wrapper
  .right-box::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .left-box,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-left.left-box {
  display: flex;
  flex-direction: column;
  width: 60%;
  padding: 24px 40px 24px 40px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-bg.left-box,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-bg.is-left {
  width: 60%;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .right-box,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-bg.right-box,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-bg.is-right {
  width: 40%;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-logo {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-logo img {
  width: auto;
  height: 55px;
  max-width: none;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-2-wrapper
  .left-box
  .tp-offcanvas-menu {
  padding: 0 40px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav,
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav > ul {
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav > ul > li {
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  > nav
  > ul
  > li
  > a {
  font-size: clamp(22px, 3.2vh, 34px);
  line-height: 1.15;
  color: #1c1d20;
  padding-left: 0;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  > nav
  > ul
  > li
  > a:hover {
  color: #0047ab;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu ul li .submenu {
  margin-top: 8px;
  margin-bottom: 4px;
  padding-left: 20px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  ul
  li
  .submenu
  li:not(:last-child) {
  margin-bottom: 6px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  > nav
  > ul
  > li
  > ul
  > li
  > a {
  font-size: clamp(16px, 2vh, 20px);
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-box {
  margin-top: 60px !important;
  padding: 0 80px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-title {
  margin-bottom: 24px;
  font-size: 26px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-item {
  margin-bottom: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .left-box {
    padding: 20px 28px;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-2-wrapper
    .left-box
    .tp-offcanvas-menu {
    padding: 0 16px;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-box {
    margin-top: 48px !important;
    padding: 0 40px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-logo img {
    width: auto;
    height: 55px;
    max-width: none;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-box {
    margin-top: 40px !important;
    padding: 0 32px;
  }
}

@media (max-width: 767px) {
  /* Full-screen mobile menu — show immediately, no delayed fade */
  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 100000 !important;
    background: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: block !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-bg.is-left,
  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-bg.left-box {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    height: 100% !important;
    background: #fff !important;
    transform: scale(1, 1) !important;
    transition: none !important;
    transition-delay: 0s !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-wrapper {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100001 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-left,
  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened
    .tp-offcanvas-2-wrapper
    .left-box {
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
    transition-delay: 0s !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    padding: 16px 20px 24px !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    box-sizing: border-box;
    background: #fff !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg.opened .tp-offcanvas-2-close {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
    display: block !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-left-wrap {
    margin-bottom: 8px !important;
    width: 100%;
    flex-shrink: 0;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-logo {
    margin-bottom: 0;
    max-width: calc(100% - 48px);
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-logo img {
    width: auto;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-close {
    flex-shrink: 0;
    padding: 0;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-close-btn {
    color: #1c1d20 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-close-btn svg {
    width: 22px;
    height: 22px;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 12px;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-2-wrapper
    .left-box
    .tp-offcanvas-menu {
    padding: 0 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav,
  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav > ul {
    height: auto;
    max-height: none;
    justify-content: flex-start;
    gap: 0;
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    padding-top: 20px !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu > nav > ul > li {
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-menu
    > nav
    > ul
    > li:last-child {
    border-bottom: 0;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-menu
    > nav
    > ul
    > li
    > a {
    display: block;
    position: relative;
    font-size: 20px !important;
    line-height: 1.25;
    padding: 14px 0 14px 0 !important;
    padding-left: 0 !important;
    white-space: normal;
    word-break: break-word;
    color: #1c1d20 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-menu
    > nav
    > ul
    > li
    > a::after {
    top: 16px;
    font-size: 11px;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu ul li .submenu {
    margin-top: 0;
    margin-bottom: 8px;
    padding-left: 28px;
    display: none;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg
    .tp-offcanvas-menu
    > nav
    > ul
    > li
    > ul
    > li
    > a {
    font-size: 16px;
    padding: 8px 0 !important;
    color: #555 !important;
  }

  .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-menu .tp-menu-close {
    top: 14px;
    right: 0;
  }

  /* Keep header menu button above slider while closed */
  .tp-header-14-area.header-transparent {
    z-index: 1000 !important;
  }
}

.tp-offcanvas-2-area,
.tp-offcanvas-2-area .tp-offcanvas-2-bg,
.tp-offcanvas-2-area .tp-offcanvas-2-wrapper,
.tp-offcanvas-2-area .tp-offcanvas-2-left,
.tp-offcanvas-2-area .tp-offcanvas-2-right,
.tp-offcanvas-2-area .tp-offcanvas-2-bg.is-left,
.tp-offcanvas-2-area .tp-offcanvas-2-bg.is-right,
.tp-offcanvas-2-area .tp-offcanvas-2-close,
.tp-offcanvas-2-area.opened .tp-offcanvas-2-close {
  transition-duration: 0.2s !important;
  transition-delay: 0s !important;
}

/* Hide custom cursor remnant */
#magic-cursor,
#ball {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Get In Touch — readable width (was crushed by huge padding + narrow panel) */
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-wrapper .right-box {
  padding: 40px 48px 40px 32px !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-box {
  padding: 0 !important;
  margin-top: 48px !important;
  max-width: 100%;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-title {
  color: #1c1d20 !important;
  font-size: 28px !important;
  margin-bottom: 28px !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-item {
  margin-bottom: 22px;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-info-item label {
  color: #717172 !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-2-right-info-item
  .contact-item,
.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-2-right-info-item
  > a.contact-item {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.55 !important;
  font-size: 16px !important;
  font-weight: 600;
  color: #1c1d20 !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  > nav
  > ul
  > li
  > a {
  font-size: clamp(22px, 3.2vh, 34px);
  line-height: 1.15;
  color: var(--bls-navy) !important;
}

.tp-offcanvas-2-area.offcanvas-2-white-bg
  .tp-offcanvas-menu
  > nav
  > ul
  > li
  > a
  :hover {
  font-size: clamp(22px, 3.2vh, 34px);
  line-height: 1.15;
  color: black;
}

.footer-heading {
  color: #242d62 !important;
}

.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > a::after {
  content: none !important;
  counter-increment: none !important;
}

.footer-social .social-btn {
  color: #163e73;
  transition: all 0.3s ease;
}

.footer-social .social-btn:hover {
  background: #163e73;
  border-color: #242d62;
  color: #fff !important;
}

.footer-social .social-btn:hover svg {
  color: #fff !important;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.footer-social .social-para {
  margin: 0;
  white-space: nowrap;
}

.footer-social .social-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #11101380;
  border-radius: 50%;
  color: #163e73;
  transition: all 0.3s ease;
}

.footer-social .social-btn:hover {
  background: #163e73;
  border-color: #163e73;
  color: #fff !important;
}

.footer-social .social-btn:hover .iconify {
  color: #fff !important;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}
