/* ====================================
   EX HEADER (ISOLATED SYSTEM)
==================================== */

.ex-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Container */
.ex-nav-container {
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.ex-logo {
  font-size: 24px;
  font-weight: 800;
  color: #10B981;
  text-decoration: none;
}

/* Menu */
.ex-nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ex-nav-menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
}

.ex-nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #10B981;
  transition: 0.3s;
}

.ex-nav-menu a:hover::after {
  width: 100%;
}

/* Dropdown */
.ex-dropdown {
  position: relative;
}

.ex-dropbtn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  position: relative;
  padding: 5px 0;
}

.ex-dropbtn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #10B981;
  transition: 0.3s;
}

.ex-dropbtn:hover::after {
  width: 100%;
}

.ex-dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 12px;
  left: 0;
  background: #fff;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  padding: 10px 0;
  display: none;
}

.ex-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #374151;
  text-decoration: none;
}

.ex-dropdown-menu a:hover {
  background: #f3f4f6;
}

.ex-dropdown-menu.show {
  display: block;
}

/* Search */
.ex-search-box {
  position: relative;
}

.ex-search-box input {
  padding: 10px 40px 10px 16px;
  border-radius: 30px;
  border: 1px solid #e5e7eb;
  outline: none;
  width: 220px;
  font-size: 14px;
}

.ex-search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #10B981;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

/* Hamburger */
.ex-hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Mobile */
@media(max-width:1000px){

  .ex-nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    gap: 22px;
    transition: 0.4s;
  }

  .ex-nav-menu.active {
    left: 0;
  }

  .ex-dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    margin-top: 10px;
  }

  .ex-search-box {
    margin-left: auto;
  }

  .ex-search-box input {
    width: 100%;
  }

  .ex-hamburger {
    display: block;
  }
}

/* Live Suggestion */
.ex-live-search-box {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: none;
  z-index: 999;
  max-height: 300px;
  overflow: auto;
}

.ex-live-search-box a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #374151;
  border-bottom: 1px solid #f1f1f1;
}

.ex-live-search-box a:hover {
  background: #f9fafb;
}