
#header-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent; /* Start with transparent */
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth background and transform transition */
  display: flex;
  flex-direction: column;
}

#header-custom.scrolled {
  background: white; /* Change to white when scrolled */
}

#header-custom.hide {
  transform: translateY(-100%); /* Hide the header */
}

#header-custom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  flex-wrap: nowrap;
  background: #C2EBFF;
}





#header-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    flex-wrap: nowrap;

}

#header-custom .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

#header-custom .dropdown {
  position: relative;
  display: inline-block;
}

#header-custom .dropdown-menu {
  display: none;
  position: absolute;
  left: -10%;
  min-width: 300px;
  z-index: 1000;
  padding-top: 1rem;

}


#header-custom .dropdown a{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#header-custom .dropdown img{
  width: 16px;
}


#header-custom .dropdown img {
  width: 16px;
  transition: transform 0.3s ease;
}

/* Hover Effect on Desktop */
#header-custom .dropdown:hover img {
  transform: rotate(180deg);
}

/* Toggle for Mobile when dropdown is open */
#header-custom .dropdown.open img {
  transform: rotate(180deg);
}



#header-custom .bg {
  display: flex;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex-direction: column;
  border-radius: 16px;
  padding: 1rem;
  min-width: 200px;
}

#header-custom .dropdown-menu a {
  display: block;
  padding: 0.5rem ;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
 
}



#header-custom .dropdown-menu a:hover {

  text-decoration: underline;
}

#header-custom .dropdown:hover .dropdown-menu {
  display: block;
}



#header-custom .mobile-toggle{
  display: none;
}

#header-custom .content a:hover {
    text-decoration: underline;
  }


@media (max-width: 928px) {
  #header-custom .container {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  #header-custom .dropdown {
  
  width: 100%;
}


#header-custom .dropdown-menu{
  padding-left: 0 !important;
}
#header-custom .mobile-toggle{
    display: flex;
  } 

  #header-custom .content {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    align-items: start;
  }

  #header-custom .content a,
  #header-custom .dropdown .dropdown-toggle {
    width: 100%;
  }

 #header-custom .content{
    padding-bottom: 1rem;
  }

   

  #header-custom .dropdown-menu {
    position: static;
    padding-left: 1rem;
  }

  #header-custom .dropdown:hover .dropdown-menu {
    display: none; /* disable hover on mobile */
  }

  #header-custom .dropdown.open .dropdown-menu {
    display: block;
  }

  #header-custom .cta {
    display: none;
  }

  




  #header-custom.mobile-active .content {
    display: flex;
  }
}

/* Promise Banner Styles */
.promise-banner {
  background-color: #08C3F4;
  width: 100%;
  padding: 12px 0;
  position: relative;
  z-index: 998;
  flex-shrink: 0;
}

.promise-banner a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.banner-content .chevron {
  font-weight: bold;
  font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-content {
    font-size: 14px;
    padding: 0 16px;
  }
  
  .banner-content .chevron {
    font-size: 16px;
  }
}


