.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 78px;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  
}

.navbar-inner {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar-logo img {
  max-height: 100px;
}

/* DESKTOP MENU */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 2px;
}

.nav-links a,
.dropdown-trigger {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 26px;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--darkblue);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--lightgray);
}

/* DROPDOWN (DESKTOP) */
.has-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  cursor: default;
}

/* Arrow RIGHT (desktop + mobile) */
.dropdown-trigger::after,
.mobile-dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--darkblue);
  border-bottom: 1px solid var(--darkblue);
  transform: rotate(45deg);
  margin-left: 6px;
  margin-top: -4px;
}

/* Desktop dropdown fade */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  min-width: 240px;
  padding: 16px 0;
  margin-top: 10px;
  max-height: 60vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
  border: 1px solid color(srgb 0 0 0 / 0.2);

}

.dropdown-menu li {
  padding: 6px 20px;
}

.dropdown-menu a {
  font-size: 12px;
  line-height: 16px;
  padding-bottom: 4px;
  padding-top: 4px;
  text-transform: uppercase;
  color: var(--darkblue);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* SOCIAL ICONS */
.nav-social,
.mobile-social {
  display: flex;
  gap: 6px;
}

.nav-social a,
.mobile-social a {
  width: 34px;
  height: 34px;
  line-height: 13px;
  background: #ECEEF1;
  border: 2px solid #ECE9E1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--darkblue);
  font-size: 16px;
  text-decoration: none;
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300; /* ABOVE overlay */
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--darkblue);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HAMBURGER → CROSS (MOBILE FIX) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  display: none;
  z-index: 1050;
}

.mobile-overlay.active {
  display: block;
}

/* MOBILE SCROLL */
.mobile-scroll {
  max-height: 100vh;
  overflow-y: auto;
  padding: 40px 20px;
  text-align: center;
}

/* MOBILE MENU */
.mobile-links {
  list-style: none;
  padding-left: 0;  
}

.mobile-links a,
.mobile-dropdown-trigger {
  font-size: 19px;
  line-height: 24px;
  text-align: left;
  font-weight: 700;
  color: var(--darkblue);
  text-decoration: none;
}

.mobile-links li {
  margin: 20px 0 15px;
  text-align: left;
}

/* MOBILE DROPDOWN */
.mobile-dropdown {
  display: none;
  list-style: none;
  margin-top: 20px;
  padding-left: 20px;
}

.mobile-dropdown li {
  margin: 10px 0;
}

.has-dropdown.active .mobile-dropdown {
  display: block;
}

.mobile-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
/*   gap: 6px; */
padding: 0 6px 0 0;
}

/* CENTER SOCIAL ICONS ON MOBILE */
.mobile-social {
  justify-content: left;
  margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .navbar-right {
    display: none;
  }

  .hamburger {
    display: block;
  }
}


/* MOBILE CLOSE (CROSS) */
.mobile-close {
  position: fixed;
 top: 27px;
 right: 25px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300;
}

.mobile-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--darkblue);
}

.mobile-close span:first-child {
  transform: rotate(45deg);
}

.mobile-close span:last-child {
  transform: rotate(-45deg);
}
