/* Custom styles for the header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 99;
  background-color: var(--custom-dark-blue);
  padding: 0 !important;
}

.sticky-top {
  position: fixed !important; /* Fix the header at the top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.backdrop-blur-4 {
  backdrop-filter: blur(4px);
}

.header_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header_left a img {
  max-width: 75%;
  width: 100%;
}

.header_right {
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
  justify-content: flex-end;
  margin-left: auto;
}

.header_rightTopContent {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.header_rightTopContent p {
  margin-bottom: 0;
  font-size: 0.75rem !important;
  line-height: 1rem;
  color: var(--white);
  gap: 0.5rem;
  display: flex;
}

.header_rightTopContent p a {
  line-height: 1rem;
  color: var(--white);
  text-decoration: underline;
  font-size: 0.7rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease-in-out; /* Smooth transition for background color */
}

/* menus css */

.navbar {
  padding: 0;
}

.navbar-nav {
  gap: 2rem;
}
nav ul {
  list-style: none; /* Remove default list styling */
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul li {
  position: relative;
  color: #fff;
  /* margin-bottom: 0.4rem; */
}

nav ul li:hover::before {
  position: absolute;
  content: "";
  background-color: var(--blue-color);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
}

nav ul li a {
  display: block;
  /* padding: 10px 15px; */
  text-decoration: none; /* Remove underline */
  color: #fff;
  transition: background-color 0.3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.nav-item .dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Show dropdown when .show class is added */
.nav-item .dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  padding: 0.5rem 0;
  background: transparent;
  border: 0;
}

/* Dropdown Icon Styling */
.dropdown-icon {
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  color: white;
}

ul.dropdown-menu li {
  margin-bottom: 0.4rem;
}

.nav-item .dropdown-menu .dropdown-item {
  line-height: 2;
  position: relative;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  padding: 0;
}

.nav-link {
  color: #fff !important;
  padding: 1.25rem 0 !important;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  font-weight: 400;
  font-size: 1rem;
}

nav ul li:hover > .dropdown-menu {
  opacity: 1; /* Fade in */
  transform: translateY(0);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  left: 0;
  right: 0;
  width: 100%;
  position: fixed !important;
  max-width: 76rem;
  top: 88px;
  animation: none;
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Return to the original position */
  transition: opacity 0.3s ease, transform 0.3s ease;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
}

ul.dropdown-menu li:hover::before {
  display: none;
}

.dropdown-item:active {
  background-color: #f1f1f1;
  color: #333;
}

.nav-item .dropdown-menu .dropdown-item:hover {
  color: var(--blue-color);
  background-color: transparent;
  padding-left: 0.75rem;
  position: relative;
  font-weight: 500;
}

.nav-item .dropdown-menu .dropdown-item:hover::before {
  position: absolute;
  left: 0px;
  top: 0px;
  display: none;
  height: 100%;
  width: 2px;
  content: "";
  background-color: #e5e7eb;
  display: block;
}

.header_rightTopContent a {
  font-size: 0.7rem;
}

.header_rightTopContent a img {
  width: 14%;
  margin-right: 2px;
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.headerBtns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.headerBtns a {
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #fff;
}

.headerBtns a:hover {
  background-color: var(--pure-orange);
  border-color: var(--pure-orange);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.btnclose {
  background-color: transparent;
  padding: 5px;
  width: 40px;
  height: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 5.5rem;
}

.btnclose i {
  font-weight: 600;
  color: var(--white);
  font-size: 1.2rem;
}

/* enquiry-header start */
.enquiry-header .header_right {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
}

.enquiry-header a.toll-free {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--white);
}

.enquiry-header a.signUp_Btn {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--white);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background-color: var(--pure-orange);
  border-radius: 0.5rem;
}

.enquiry-header a.signUp_Btn:hover {
  background-color: var(--blue-color);
}

/* enquiry-header end */
