/* HEADER WRAPPER */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* TOP HEADER */
.header-top {
  background: #34ad54;
  padding: 8px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top__right {
  display: flex;
  gap: 15px;
}

.header-top__social-link {
  color: white;
  font-size: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-top__social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

/* MAIN HEADER */
.header-main {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main__left {
  display: flex;
  align-items: center;
}

.header-main__logo {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.header-main__right {
  display: flex;
  align-items: center;
}

/* DESKTOP NAVIGATION */
.header-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
}

.header-nav__item {
  position: relative;
}

.header-nav__link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 72px;
}

.header-nav__link:hover {
  color: #34ad54;
}

.header-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #34ad54;
  transition: width 0.3s ease;
}

.header-nav__link:hover::after {
  width: 100%;
}

/* ACTIVE STATES */
.header-nav__link.active {
  color: #34ad54;
  font-weight: 600;
}

.header-nav__link.active::after {
  width: 100%;
}

.header-nav__dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.header-nav__item--dropdown.show .header-nav__dropdown-icon {
  transform: rotate(180deg);
}

/* DROPDOWN MENU */
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1002;
  list-style: none;
}

.header-nav__item--dropdown.show .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown__link {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-dropdown__link:hover {
  background: #f8f9fa;
  color: #34ad54;
  padding-left: 25px;
}

.header-dropdown__link.active {
  background: #f0f9e8;
  color: #34ad54;
  font-weight: 600;
  border-left: 3px solid #34ad54;
}

/* MOBILE NAVIGATION */
.header-mobile {
  display: none;
}

.header-mobile__toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

.header-mobile__sidebar {
  position: fixed;
  top: 120px;
  left: -300px;
  width: 300px;
  height: calc(100vh - 120px);
  background: white;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.header-mobile__sidebar.show {
  left: 0;
}

.header-mobile__overlay {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.header-mobile__overlay.show {
  opacity: 1;
  visibility: visible;
}

.header-mobile-nav {
  padding: 20px 0;
  list-style: none;
}

.header-mobile-nav__item {
  border-bottom: 1px solid #f0f0f0;
}

.header-mobile-nav__link {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-mobile-nav__link:hover {
  background: #f8f9fa;
  color: #34ad54;
  padding-left: 35px;
}

.header-mobile-nav__link.active {
  background: #f0f9e8;
  color: #34ad54;
  font-weight: 600;
  border-left: 4px solid #34ad54;
}

.header-mobile-nav__item--dropdown .header-mobile-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-mobile-nav__dropdown-icon {
  transition: transform 0.3s ease;
}

.header-mobile-nav__item--dropdown.show .header-mobile-nav__dropdown-icon {
  transform: rotate(180deg);
}

.header-mobile-dropdown {
  background: #f8f9fa;
  display: none;
  list-style: none;
}

.header-mobile-nav__item--dropdown.show .header-mobile-dropdown {
  display: block;
}

.header-mobile-dropdown__link {
  display: block;
  padding: 12px 45px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.header-mobile-dropdown__link:hover {
  background: white;
  color: #34ad54;
  padding-left: 55px;
}

.header-mobile-dropdown__link.active {
  background: white;
  color: #34ad54;
  font-weight: 600;
  border-left: 3px solid #34ad54;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  body {
    padding-top: 72px;
  }

  .header-top {
    display: none;
  }

  .header-main__left {
    order: 2;
    justify-content: center;
    flex: 1;
  }

  .header-main__right {
    order: 3;
  }

  .header-nav {
    display: none;
  }

  .header-mobile {
    display: block;
    order: 1;
  }

  .header-mobile__sidebar {
    top: 72px;
    height: calc(100vh - 72px);
  }

  .header-mobile__overlay {
    top: 72px;
  }
}