/* ===== DESKTOP NAVBAR ===== */
.desktop-nav {
  background-color: #000 !important;
  padding: 30px 05px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

.nav-item {
  font-family: Verdana, Geneva, Tahoma, sans-serif;

  color: rgb(255, 255, 255);
  padding: 9px;
  font-size: 14px;
  cursor: pointer;
  position: static; /* Changed from relative to static */
}

.nav-item:hover {
  color: red;
}

/* .nav-item::after {
    content: "\25BE";
    font-size: 10px;
    margin-left: 5px;
  } */

/* COMMON DROPDOWN */
.dropdown {
  position: absolute; /* Use fixed for consistent position across all nav items */
  top: 65px; /* Adjust based on navbar height */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1520px;
  background: #fff;
  display: none;
  color: #000;
  padding: 30px;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Show dropdown when nav-item is hovered */
.nav-item:hover .dropdown {
  display: flex;
}

.dropdown-column {
  flex: 1;
}
.dropdown-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.dropdown-column a {
  display: block;
  color: #000;
  text-decoration: none;
  margin: 15px 0;
  font-size: 15px;
}
.dropdown-column a:hover {
  color: royalblue;
}

.dropdown-image {
  width: 300px;
}
.dropdown-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== MOBILE NAVBAR ===== */
.mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: #000 !important;
  color: white !important;
  padding: 15px 20px;
}

.menu-icon {
  font-size: 38px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000 !important;

  color: white !important;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .close-btn {
  font-size: 24px;
  text-align: right;
  cursor: pointer;
}

.accordion-item {
  border-top: 1px solid gray !important;
  padding: 15px 0;
  background-color: #000 !important;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 22px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 16px;
  padding-left: 10px;
}

.accordion-content a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #ccc;
  border-bottom: 1px solid wheat;
  padding: 10px 0px;
}

.accordion-item.active .accordion-content {
  max-height: 460px;
}

/* ===== RESPONSIVE RULES ===== */
@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }
}

.dropdown-image img {
  width: 100%;
  height: auto;
}
.mobile-nav a img {
  width: 100%;
  height: 80px;
}
