/* Nav Bar Desktop Styles */
.navbar {
  background-color: var(--color-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  z-index: 9999;
  border-bottom: 1px solid #999;
}

.nav-logo {
  width: 150px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.nav-link {
  transition: 0.7s ease;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 400;
  font-size: 1.2rem;
}

.nav-item {
  list-style: none !important;
}

.nav-link:hover {
  color: #999;
}

.bar {
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-text);
  background-color: var(--color-text);
  width: 30px;
  height: 2px;
  border-radius: 0.5rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  display: none;
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer - Desktop Styles */
footer,
.footer-row {
  width: 100%;
}

footer {
  padding: 1rem 10rem;
  background-color: #121212;
  color: #fff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.footer-qtr {
  width: 23%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.footer-logo {
  width: 100%;
}

.dark-map-wrapper {
  width: 100%;
  height: 250px; /* Adjust to your footer layout */
  border-radius: 8px;
  overflow: hidden;
}

.qtr-title {
  letter-spacing: 0.2rem;
  font-weight: bolder;
  font-size: 1.2rem;
}

.footer-content {
  color: #cdcbcb;
  text-decoration: none;
}

.footer-half {
  width: 50%;
  display: flex;
  justify-content: start;
  gap: 1rem;
  border-top: 1px solid #cdcbcb;
  border-bottom: 1px solid #cdcbcb;
  padding: 1rem 0;
}

.footer-half img {
  width: 150px;
}

.footer-full {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

/* TABLET STYLES */
@media (max-width: 1033px) {
  /* Footer - Tablet Styles */
  footer {
    padding: 2rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Navbar - Tablet Styles */
  .hamburger {
    display: block;
    visibility: visible;
  }

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

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 84px;
    gap: 0;
    flex-direction: column;
    background-color: var(--color-lt-bg);
    width: 100%;
    align-items: start;
    text-align: center;
    transition: 0.3s;
    opacity: 0.97;
    padding-left: 2rem;
  }

  .navbar {
    padding: 0.5rem 0.7rem;
  }

  .navbar h1 {
    font-size: 1.5rem;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-text {
    display: none;
  }

  .nav-menu.active {
    left: 0;
  }

  /* Footer - Mobile Styles */
  footer {
    padding: 1rem;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-qtr,
  .footer-half {
    width: 100%;
  }

  .footer-qtr {
    margin-bottom: 1rem;
  }

  .footer-row:nth-child(2) {
    flex-direction: row;
    text-align: center;
  }

  .footer-half {
    align-items: center;
    flex-direction: column;
  }

  .footer-full {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .menu-social-icons {
    justify-content: center;
  }

  .privacy-tc {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
}
