/* Shared header and footer styles */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
}

.topbar {
  padding: 9px 0;
  color: #fff;
  background: #36a06b;
  font-size: .9375rem;
}

.top-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .55);
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.socials a {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: inherit;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: .8125rem;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--green);
}

.socials a::before {
  display: none;
}

.socials i {
  display: inline-block;
  line-height: 1;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.navbar-brand img {
  width: min(390px, 58vw);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.navbar-toggler {
  display: none;
  width: 44px;
  height: 38px;
  padding: 0;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
}

.navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #222;
  box-shadow: 0 7px 0 #222, 0 -7px 0 #222;
}

.navbar-collapse {
  display: flex;
  flex-basis: auto;
  flex-grow: 1;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

.nav-link {
  display: block;
  position: relative;
  padding: 8px 10px;
  color: #2e2e2e;
  font-size: 1.0625rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-nav-actions {
  display: none;
}

.nav-search {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-left: 14px;
  place-items: center;
  color: #222;
  background: transparent;
  border: 0;
  font-size: 1.55rem;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.nav-search:hover {
  color: var(--green);
  transform: scale(1.06);
}

.search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1029;
  padding: 42px 0 34px;
  background: #eef6fb;
  box-shadow: 0 22px 44px rgba(31, 62, 80, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.sticky-header.search-open .search-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-dropdown-inner {
  position: relative;padding-top: 50px;
}

.search-close {
  position: absolute;
  top: -24px;
  right: 20px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #2f3336;
  border: 0;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  width: min(1480px, calc(100vw - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 3px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 22px 46px rgba(85, 115, 130, .14);
}

.search-input-wrap input {
  flex: 1;
  min-width: 0;
  color: #2d3540;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.search-input-wrap input::placeholder {
  color: #5f6673;
}

.search-input-wrap button {
  display: inline-grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: #c93412;
  border: 0;
  border-radius: 50%;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.search-input-wrap button:hover {
  background: #e96e00;
  transform: scale(1.04);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  width: min(1480px, calc(100vw - 40px));
  margin: 34px auto 0;
}

.search-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  padding: 10px 28px;
  color: #2f3742;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(83, 110, 124, .08);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.search-tags a:hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-2px);
}

.site-footer {
  padding-top: 88px;
  color: #d7d7d7;
  background: #1d1d1d;
}

.site-footer h3 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.5rem;
}

.footer-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-list i {
  color: #fff;
  font-size: 1.25rem;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #d7d7d7;
  transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover {
  padding-left: 5px;
  color: var(--lime);
}

.qr-area {
  display: flex;
  gap: 72px;
  justify-content: center;
  text-align: center;
}

.qr-box {
  display: block;
  width: 140px;
  height: 140px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 8px;
}

.footer-socials {
  justify-content: center;
  margin-top: 24px;
}

.copyright {
  margin-top: 58px;
  padding: 22px 0;
  color: #c8c8c8;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: auto;
    padding: 16px 0;
  }

  .navbar > .container {
    flex-wrap: wrap;
  }

  .sticky-header {
    position: sticky;
  }

  .navbar-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 100px);
  }

  .mobile-nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .nav-search-mobile {
    width: 40px;
    height: 40px;
    margin-left: 0;
    font-size: 1.35rem;
  }

  .navbar-nav {
    width: min(100%, 1530px);
    margin: 0 auto;
    padding: 14px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .navbar-toggler {
    display: inline-block;
    position: static;
    flex: 0 0 44px;
    z-index: 10;
    transform: none;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1031;
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 4px solid rgba(17, 147, 79, .45);
    box-shadow: 0 18px 34px rgba(28, 46, 38, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transform-origin: top;
    transition: max-height .38s cubic-bezier(.22, .61, .36, 1), opacity .26s ease, transform .38s cubic-bezier(.22, .61, .36, 1), visibility .38s ease;
    pointer-events: none;
  }

  .navbar-collapse.collapse {
    display: block;
  }

  .navbar-collapse.show {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-search-item {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .qr-area {
    justify-content: flex-start;
    gap: 32px;
  }

  .search-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px !important;
    width: 100% !important;
    min-height: auto;
    margin: 10px auto 20px;
    padding: 5px 10px;
    font-size: .9rem;
  }

  .search-tags a {
    padding: 5px 0 !important;
  }

  .search-input-wrap {
    min-height: auto !important;
  }

  .search-dropdown {
    padding: 30px 0 5px;
  }

  .search-input-wrap button {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
  }

  .search-input-wrap input {
    height: 50px;
  }

  .copyright {
    margin-top: 15px;
    padding: 10px 0;
    font-size: .95rem;
  }

  .footer-list li {
    margin-bottom: 8px;
  }

  .site-footer .gy-5 {
    --bs-gutter-y: 0rem !important;
  }

  .endMeun{display: none}
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 220px;
    height: 56px;
  }
}
