/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  /* padding: 10px; */
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 6px;
}

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

.hamburger.active div:nth-child(1) {
  transform: translateY(6px) rotate(45deg) translateX(0px);
  transition: transform 0.3s;
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
  transition: transform 0.3s;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.logo-container img {
  width: 200px;
  margin-right: 1rem;
}

.logo-container p {
  font-size: 3rem;
}

.logo-container-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container button {
  display: none;
}

.links-container {
  display: flex;
}

.links-container a {
  color: var(--color-text);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.2rem;
  transition: color 0.3s ease-in-out;
}

.links-container a:hover {
  color: #9d9d9d;
}

.btn-container {
  display: flex;
  gap: 1rem;
}

.btn-container a {
  background-color: var(--color-purple);
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.btn-container a:hover {
  background-color: rgb(127, 57, 166);
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  /* padding: 10px; */
  display: inline-block;
}

/* Hide dropdown by default */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-dist-bg);
  border: 1px solid var(--color-bg);
  min-width: 220px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

/* Dropdown links */
.dropdown-menu a {
  padding: 10px;
  text-decoration: none;
  color: var(--color-text);
  display: block;
  font-size: 1rem;
}

.dropdown-menu a:hover {
  background: var(--color-dist-bg);
}

/* SHOW on hover (desktop) */
.nav-item:hover .dropdown-menu {
  display: flex;
}

.mobile-dot {
  display: none;
}

/* FOOTER */
footer {
  background: var(--color-bg);
  box-shadow:
    0 -2px 4px 0 rgba(0, 0, 0, 0.1),
    0 -3px 10px 0 rgba(0, 0, 0, 0.09);
}
.footer-container {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 1rem;
  padding: 2rem 1rem;
  margin: 0 auto;
}

.lg-footer-box img {
  width: 300px;
}

.lg-footer-box {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 2rem;
  display: none;
}

.lg-footer-box p {
  width: 70%;
  color: #6e6e6e;
  font-size: 1rem;
  line-height: 1.5;
}

.lg-footer-box a {
  background-color: rgb(244, 244, 244);
  border: 1px solid rgb(228, 228, 231);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #000;
}

.sm-footer-box {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0.5rem;
}

.sm-footer-box a {
  text-decoration: none;
}

.sm-footer-box a:hover {
  text-decoration: underline;
}

.footer-box-title {
  font-weight: bold;
  font-size: 1.4rem;
}

.footer-box-sub {
  color: #6e6e6e;
  font-size: 0.8rem;
}

.below-footer {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  background: var(--color-bg);
}

.below-footer a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.5rem;
  font-size: 0.7rem;
}

.below-footer a:hover {
  text-decoration: underline;
}

.below-footer p {
  color: var(--color-text);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .dropdown-menu {
    position: static;
    display: flex;
    border: none;
    padding-left: 15px;
    background-color: var(--color-bg);
  }

  .dropdown-menu a {
    padding: 0.4rem 0;
    font-size: 1rem;
  }

  .logo-container {
    justify-content: space-between;
    padding: 0.6rem 0 1rem 0;
  }

  .logo-container img {
    width: 150px;
    margin-right: 1rem;
  }

  .logo-container p {
    font-size: 2rem;
  }

  .logo-container button {
    display: block;
  }

  .links-container {
    margin-top: 1rem;
    gap: .5rem;
  }

  .btn-container {
    margin-top: 1rem;
    margin-left: 0.5rem;
  }

  .btn-container a {
    padding: .8rem 1.4rem;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    width: 100%;
  }

  .lg-footer-box {
    display: block;
  }

  .lg-footer-box img {
    display: block;
    margin: 0 auto;
  }

  .lg-footer-box,
  .sm-footer-box {
    width: 90%;
    align-items: start;
    padding: 0;
  }

  .lg-footer-box p {
    width: 100%;
  }

  #contact {
    padding: 1rem;
    align-items: start;
    height: 100%;
  }

  .contact-box {
    width: 100%;
    padding: 1rem;
  }
}
