/* ===== HEADER STYLES ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: transparent;
  z-index: 99999;
  transition: all 0.5s ease;
  padding-top: 15px;
  padding-bottom: 15px;
  transform: translateY(0);
}

/* Header with background when scrolled */
.header.scrolled {
  background-color: #307abd;
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease;
}

.contact_btn {
  background-color: var(--white-color);
  color: var(--blue-heading);
  z-index: 1;
}

/* Header hidden state */
.header.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Header visible state */
.header.header-visible {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  height: auto;
  max-width: 150px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ================= NAV ================= */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-bottom: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  /* padding:5px 0; */
}

/* Hover */
/* .main-nav a:hover{
  color:var(--blue-heading);
} */

/* ================= DROPDOWN ARROW ================= */
.dropdown-arrow {
  font-size: 12px;
  transition: transform .3s ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ================= DROPDOWN MENU ================= */
.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background: #111;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  border-radius: 6px;
  padding: 10px 0;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
}

.dropdown a:hover {
  background: #222;
}

/* Show dropdown */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*----------------------- mega menu--------------------------------- */

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1051;
  margin-left: 55px;
}

/* DOTS - default visible */
.menu-icon-svg .menu-dot {
  fill: white;
  transition: all 0.6s ease;
  transform-origin: center;
}

/* X - default hidden */
.menu-icon-svg .menu-close-line {
  stroke: var(--white-color);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  transform-origin: center;
  transition: all 0.6s ease;
}

/* ACTIVE STATE */
.menu-toggle-btn.active .menu-dot {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle-btn.active .menu-close-line {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.offcanvas.offcanvas-end {
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.5s ease,
    opacity 0.4s ease;
}

.offcanvas.show {
  transform: translateX(0);
  opacity: 1;
}

/* Offcanvas must stay scrollable on small screens */
.offcanvas {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-top: 10em;
}

.offcanvas-body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.mobile-menu-wrap {
  position: relative;
  padding-top: 8px;
  padding-bottom: 24px;
}

.mobile-menu-close {
  position: absolute;
  top: 0;
  right: 0;
}

.mobile-menu-list,
.mobile-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu-list li,
.mobile-submenu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu-list a,
.mobile-submenu-list a {
  display: block;
  text-decoration: none;
  color: var(--white-color);
  padding: 13px 0;
  font-size: 17px;
  line-height: 24px;
}

.mobile-menu-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu-accordion .accordion-item {
  background: transparent;
  border: 0;
}

.mobile-menu-accordion .accordion-button {
  padding: 13px 0;
  background: transparent;
  color: var(--white-color);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  font-size: 17px;
  line-height: 24px;
}

.mobile-menu-accordion .accordion-button::after {
  filter: invert(1);
  opacity: 0.9;
}

.mobile-menu-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
}

.mobile-menu-accordion .accordion-body {
  padding: 0;
}

.mobile-submenu-list a {
  font-size: 15px;
  line-height: 22px;
  opacity: 0.9;
  padding: 10px 0 10px 14px;
}

.mobile-submenu-list li:last-child {
  border-bottom: 0;
}

.mobile-contact-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
}

/* Fullscreen */
.offcanvas-full {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100% !important;
}
