.topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 30px;
  background: rgba(37, 165, 80, 0.16);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  height: 41px;
}
.topbar .left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar .left img {
  width: 21px;
  height: 15.18px;
}
.topbar .left p {
  font-size: 13px;
  color: #003f66;
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 6px;
}
.topbar .right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #003f66;
}
.topbar .right a:hover {
  background: rgba(37, 165, 80, 0.1);
  color: #25a550;
  transform: translateY(-2px);
}
.topbar .right i {
  font-size: 16px;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 30px;
  background: #fff;
  height: 70px;
  position: relative;
}

.navbar-logo img {
  height: 40px;
  width: auto;
  max-width: 160px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #25a550;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #10559b;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: 8px;
}
.search-btn:hover {
  background: rgba(37, 165, 80, 0.1);
  color: #25a550;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger .hamburger-bar {
  width: 24px;
  height: 3px;
  background-color: #10559b;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* Search Modal Styles - Override All Other Styles */
.search-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: none !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  background: transparent !important;
}
.search-modal.is-active {
  display: flex !important;
  opacity: 1 !important;
}

.search-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #012E1D98 !important;
  backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
}

.search-modal-content {
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 100px auto 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transform: translateY(-50px) !important;
  transition: transform 0.3s ease !important;
  padding-top: 80px !important;
  z-index: 999999 !important;
}

.search-modal.is-active .search-modal-content {
  transform: translateY(0) !important;
}

.search-modal-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: 20px !important;
  background: transparent !important;
  border-bottom: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
}

.search-modal-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  color: #fff !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}
.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.search-modal-body {
  padding: 40px 40px 40px 40px !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 300px !important;
}

.search-input-container {
  position: relative !important;
  margin-bottom: 30px !important;
  width: 100% !important;
  max-width: 500px !important;
}

.search-input-icon {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  z-index: 2 !important;
}

.search-input {
  width: 100% !important;
  padding: 20px 20px 20px 60px !important;
  font-size: 18px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50px !important;
  outline: none !important;
  transition: border-color 0.3s ease !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  text-align: center !important;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  text-align: center !important;
}
.search-input:focus {
  border: 2px solid rgba(1, 46, 29, 0.5) !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.search-results {
  max-height: 400px !important;
  overflow-y: auto !important;
  width: 100% !important;
  max-width: 600px !important;
}

.search-result {
  display: flex !important;
  align-items: center !important;
  padding: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  background: transparent !important;
  margin: 0 10px !important;
  border-radius: 8px !important;
}
.search-result:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
.search-result:last-child {
  border-bottom: none !important;
}

.search-result-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  margin-right: 15px !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.search-result-content {
  flex: 1 !important;
}

.search-result-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin-bottom: 4px !important;
}

.search-result-type {
  font-size: 12px !important;
  color: #25a550 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.search-result-description {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.search-no-results {
  text-align: center !important;
  padding: 40px 20px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.search-no-results-icon {
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 20px !important;
  opacity: 0.5 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.search-no-results-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  color: #fff !important;
}

.search-no-results-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 768px) {
  .navbar {
    padding: 9px 20px !important;
  }
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    position: fixed !important;
    top: 0 !important;
    left: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: #fff !important;
    transition: left 0.3s ease-in-out !important;
    z-index: 1000 !important;
  }
  .nav-menu.is-active {
    left: 0 !important;
  }
  .nav-link {
    font-size: 24px !important;
  }
  .search-btn {
    margin-left: 0 !important;
    margin-top: 10px !important;
  }
  .hamburger {
    display: flex !important;
  }
  .hamburger.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .hamburger.is-active .hamburger-bar:nth-child(2) {
    opacity: 0 !important;
  }
  .hamburger.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .search-modal-content {
    margin: 50px 20px 0 !important;
    max-width: calc(100% - 40px) !important;
    padding-top: 70px !important;
  }

  .search-modal-body {
    padding: 30px 20px !important;
    min-height: 250px !important;
  }

  .search-input-container {
    max-width: 100% !important;
  }

  .search-input {
    font-size: 16px !important;
    padding: 15px 15px 15px 50px !important;
  }

  .search-input-icon {
    left: 15px !important;
  }

  .search-results {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px;
    height: auto;
  }

  .topbar .left,
  .topbar .right {
    width: 100%;
    justify-content: center;
  }

  .topbar .right {
    gap: 16px;
    /* margin-top: 8px; */
  }
}