/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #000000;
  background-color: #000000;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
nav {
  position: fixed;
  top: -6px;
  left: 0;
  width: 100%;
  height: 55px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px 0 20px;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  flex: 1;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  padding: 6px 8px;
  border: 1px solid transparent;
}

nav a:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 3px;
  margin-right: 10px;
  padding: 8px;
  border: none;
  transition: background-color 0.2s ease;
}

.hamburger span {
  background-color: #fff;
  height: 2px;
  width: 18px;
}

.hamburger:hover {
  background-color: #fff;
}

.hamburger:hover span {
  background-color: #000;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 48px;
  margin-right: 25px;
  right: 10px;
  width: 220px;
  background-color: #161616;
  padding: 4px 0;
  display: none;
  flex-direction: column;
  border-radius: 5px;
  z-index: 1001;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu a {
  position: relative;
  color: white;
  line-height: 22px;
  border-radius: 4px;
  margin-right: 5px;
  margin-left: 4px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  text-align: left;
}

.mobile-menu a.divider::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 10px;
  right: 10px;
  height: 1px;
  background-color: #3d3d3d;
}

.mobile-menu a:hover {
  background-color: white;
  color: black;
}
.touch {
  margin-top: 15px;
}
.menu-icons {
  display: flex;
}

.menu-icons img {
  width: 18px;
  cursor: pointer;
  transition: none;
  padding: 0;
}

/* Footer */
footer {
  margin-top: 120px;
  background: #000000;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 35px;
  box-sizing: border-box;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-center {
  text-align: center;
}

.footer-right {
  display: flex;
  align-items: center;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.back-text {
  display: inline-block;
}

.back-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

footer a {
  color: white;
  text-decoration: none;
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
  .back-text {
    display: none;
  }

  .back-arrow {
    width: 28px;
    height: 28px;
  }

  .back-link:hover .back-arrow {
    border-color: white;
    stroke: black;
    background-color: white;
    padding: 8px;
    border-radius: 5px;
  }

  .footer-left {
    margin-left: -5px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .footer-right {
    margin-right: -10px;
    font-size: 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    color: white;
    padding: 15px 15px;
    text-decoration: none;
    font-size: 1.4rem;
    text-align: center;
    margin: 10px 0;
    border-radius: 0;
    transition: all 0.2s ease;
  }

  .mobile-menu a:hover {
    background-color: white;
    color: black;
    border-radius: 4px;
  }
  .touch {
    margin-top: 20px !important;
  }
  .menu-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .menu-icons img {
    width: 22px;
    margin: 0;
    cursor: pointer;
    padding: 0;
  }
}
.footer-left-icon {
  display: none; /* hidden by default */
}
.footer-left-icon img {
  width: 25px;
  height: 25px;
}

@media (max-width: 375px) {
  .navbar-left a:last-child {
    display: none;
  }
}
