@import url("../css/main.css");
/* style for top strips */

.header__top__strip {
  background-color: var(--color-gray);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.header__top__links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: auto;
  display: flex;
  justify-content: end;
  gap: 1rem;
  color: white;

  li {
    font-weight: 600;
    font-size: 0.9rem;
  }

  li:not(:last-child)::after {
    content: "|";
    margin-left: 0.5rem;
    color: #6c757d;
  }
}

/* header middle strip */
.header__middle__strip {
  border-bottom: 1px solid var(--color-border);
  .contact__links {
    color: var(--color-yellow);
  }
}

.navbar-nav > li a {
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.dropdown-toggle::after {
  content: "\f078"; /* Font Awesome chevron-down */
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  border: none !important; /* remove default arrow */
  margin-left: 0.5rem;
  font-size: 0.6rem;
}

.nav-item > .nav-link {
  color: white;
  background: #000;
}
.nav-item > .nav-link:hover {
  color: var(--color-yellow);
}

.nav-item > .dropdown-menu {
  z-index: 99999;
  background: #000;
  border-radius: 0;
  li {
    padding: 0.4rem 0;
  }
  .dropdown-item {
    color: white;
  }
  .dropdown-item:hover {
    color: var(--color-yellow);
    border-left: 3px solid var(--color-yellow);
    background: #000;
  }
}

.nav-item a {
  font-size: 0.8rem !important;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }

  .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* search */

.Hotbg {
  height: 40px;
  border-radius: 40px;
  padding: 6px;
  display: flex;
  align-items: center;
  width: auto;
  max-width: 50px;
  transition: max-width 0.4s ease;
}

.Hotbg {
  max-width: 240px;
}

.Hotbg .Hotbg-txt {
  width: 200px;
  padding: 0 6px;
}

.Hotbg .Hotbg-btn {
  background: #66666630;
  color: black;
}

.Hotbg-btn {
  color: #e84118;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2f3640;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  color: azure;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.Hotbg-btn > i {
  font-size: 16px;
}

.Hotbg-txt {
  border: none;
  background: none;
  outline: none;
  padding: 0;
  color: black;
  font-size: 16px;
  transition: 0.4s;
  line-height: 40px;
  width: 0px;
  flex-grow: 1;
}

/* Override Bootstrap styles */
.Hotbg .input-group {
  display: flex;
  width: 100%;
  align-items: center;
}

.Hotbg .form-control {
  background: transparent;
  border: none;
  box-shadow: none;
  color: azure;
  padding: 0;
}

.Hotbg .btn-outline-secondary {
  background: transparent;
  border: none;
  padding: 0;
}

/* Accordion styling for mobile dropdowns */
.mobile-dropdown .dropdown-menu {
  position: static !important;
  transform: none !important;
  float: none;
  width: 100%;
  margin-top: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.mobile-dropdown .dropdown-toggle::after {
  float: right;
  margin-top: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid #e9ecef;
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
}

.mobile-nav-link:hover {
  background-color: #000;
}

.mobile-nav-link.collapsed .fa-chevron-down {
  transform: rotate(0deg);
}

.mobile-nav-link .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.dropdown-item:last-child {
  border-bottom: none;
}
