/* ===========HEADER============== */
.custom_container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.custom_main_header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.custom_navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ==============LOGO============= */

.custom_navbar_brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.custom_brand_logo {
    width: 140px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==============MAIN MENU============== */

.custom_navbar_collapse {
  flex-grow: 1;
}

.custom_navbar_menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.custom_nav_item {
  position: relative;
}

.custom_nav_link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 29px 14px !important;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.custom_nav_link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: transparent;
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}

.custom_nav_link:hover::after,
.custom_nav_link.active::after {
    transform: scaleX(1);
    background: var(--accent);
}

.custom_nav_link:hover,
.custom_nav_link.active {
  color: var(--accent);
}

/* =============VISA TYPE DROPDOWN============ */

.custom_dropdown {
  position: relative;
}

.custom_dropdown_toggle i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.custom_dropdown_menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  margin: 5px 0 0 !important;
  padding: 8px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 9999;
}

.custom_dropdown_menu li {
  width: 100%;
}

.custom_dropdown_menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.custom_dropdown_menu .dropdown-item:hover {
  color: var(--accent);
  background: var(--bg-light-blue);
}

/* ==============DESKTOP DROPDOWN HOVER 1200px+================ */

@media (min-width: 1200px) {
    .custom_dropdown:hover .custom_dropdown_menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom_dropdown:hover .custom_dropdown_toggle i {
        transform: rotate(180deg);
    }
   .custom_nav_link::after {
        display: none;
    }
    .custom_nav_link:hover::after,
    .custom_nav_link.active::after {
        display: none;
    }

}

/* ===============WHATSAPP BUTTON================ */

.custom_whatsapp_item {
  margin-left: 8px;
}

.custom_whatsapp_btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: all 0.3s ease;
}

.custom_whatsapp_btn:hover {
  background: #005e63;
  color: #fff;
  transform: translateY(-2px);
}

.custom_whatsapp_icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 19px;
}

.custom_whatsapp_content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.custom_whatsapp_content small {
  font-size: 10px;
  opacity: 0.85;
}

.custom_whatsapp_content strong {
  font-size: 13px;
  font-weight: 600;
}

/* ================MOBILE TOGGLE================== */

.custom_navbar_toggler {
  width: 43px;
  height: 40px;
  padding: 7px 9px;
  border: 1px solid #027c83;
  border-radius: 7px;
  background: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.custom_navbar_toggler span {
  width: 100%;
  height: 2px;
  background: #027c83;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ==============TOGGLE ANIMATION=============== */

.custom_navbar_toggler.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.custom_navbar_toggler.active span:nth-child(2) {
  opacity: 0;
}

.custom_navbar_toggler.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============DESKTOP 1200px AND ABOVE================ */

@media (min-width: 1200px) {
  .custom_navbar {
    flex-wrap: nowrap;
  }

  .custom_navbar_toggler {
    display: none !important;
  }

  .custom_navbar_collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }

  .custom_navbar_menu {
    flex-direction: row;
  }
  .custom_dropdown:hover .custom_dropdown_toggle i {
        transform: rotate(180deg);
    }
   .custom_nav_link::after {
        display: none;
    }
    .custom_nav_link:hover::after,
    .custom_nav_link.active::after {
        display: none;
        background: transparent;
    }

}

/* =============TABLET + MOBILE BELOW 1200px============== */

@media (max-width: 1199.98px) {
    .custom_nav_link::after {
        display: none;
    }
    .custom_nav_link:hover::after,
    .custom_nav_link.active::after {
        display: none;
        background: transparent;
    }
    .custom_navbar {
        min-height: 75px;
    }

    .custom_navbar_toggler {
        display: flex;
    }

  .custom_navbar_collapse {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding: 8px 0 15px;
  }

.custom_navbar_collapse.show {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    padding-top: 82px;
    padding-left: 10%;
    padding-right: 10%;
    border-radius: 0px 0px 20px 20px;
    z-index: -1;
}

  .custom_navbar_menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .custom_nav_item {
    width: 100%;
  }

.custom_nav_link {
    width: 100%;
    padding: 11px 5px !important;
    white-space: normal;
    border-bottom: 1px solid #eeeeee;
}


  /* ============MOBILE DROPDOWN============= */

.custom_dropdown_menu {
    position: inherit;
    /* top: 0; */
    width: 100%;
    min-width: 0;
    max-height: 0;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    box-shadow: none;
    transform: none;
    margin: 0px !important;
    padding: 0px;
}

.custom_dropdown.show .custom_dropdown_menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: max-content;
    margin: 5px 0 8px !important;
    padding: 8px;
}

  .custom_dropdown.show .custom_dropdown_toggle i {
    transform: rotate(180deg);
  }

  /* ============WHATSAPP============ */

  .custom_whatsapp_item {
    margin: 12px 0 0;
  }

  .custom_whatsapp_btn {
    width: fit-content;
  }
}

/* ==============MOBILE============= */

@media (max-width: 575.98px) {
  .custom_container {
    padding: 0 12px;
  }

  .custom_navbar {
    min-height: 68px;
  }

  .custom_brand_logo {
    width: 120px;
  }

  .custom_whatsapp_btn {
    width: 100%;
  }
  .custom_navbar_collapse.show {
    padding: 20px;
    padding-top: 82px;
    padding-left: 4%;
    padding-right: 4%;
}

}
