body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.header {
  background-color: white;
  padding: 10px 0;
}
.nav-list {
  display: flex;
  gap: 30px;
  padding: 0px;
}
.nav-list li {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-items {
  text-decoration: none;
  text-align: center;
}
.nav-items p {
  font-size: 15px;
  color: black;
  font-weight: 400;
  margin: 5px 0 0 0;
  text-transform: uppercase;
}

.nav-items img {
  width: 35px;
  height: 35px;
}
.logo {
  width: 200px;
}
.logo img {
  width: 100%;
  height: auto;
}

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

.currency-dropdown {
  text-align: center;
}
.currency-text {
  color: #252525;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}
.dropdown {
  display: inline-block;
  position: relative;
}

.dd-button {
  display: inline-block;
  padding: 0px 20px 0px 0px;
  background-color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  color: #fda10a;
  font-weight: bold;
  font-size: 14px;
}

.dd-button:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fda10a;
}

.dd-input {
  display: none;
}

.dd-menu {
  position: absolute;
  top: 100%;
  border-radius: 7px;
  padding: 0;
  margin: 7px 0 0 0;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  list-style-type: none;
}

.dd-input + .dd-menu {
  display: none;
}

.dd-input:checked + .dd-menu {
  display: block;
  text-align: left;
}

.dd-menu li {
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.dd-menu li:hover {
  background-color: #f6f6f6;
}

.dd-menu li a {
  display: block;
  margin: -10px -20px;
  padding: 10px 20px;
}

.dd-menu li.divider {
  padding: 0;
  border-bottom: 1px solid #cccccc;
}

.login-btn {
  color: #890101;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 0px;
}

.signup-btn {
  background-color: #003672;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 32px;
  border: none;
  border-radius: 46px;
  cursor: pointer;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vr-line {
  background-color: #d1d1d1;
  width: 1px;
  height: 40px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
}

/* Dropdown menu styling */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* below the main link */
  left: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 10;
  overflow: hidden;
  text-align: left;
}

/* Dropdown links */
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f3f3f3;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Optional: rotate arrow on hover */
.dropdown:hover .icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  margin-left: 5px;
  color: #000000;
  margin-top: 6px;
}

.dropdown-text {
  display: flex;
  align-items: center;
}

.header-menu-icon {
  display: none;
}
.header-menu-icon svg {
  width: 30px;
  height: 30px;
  color: #000000;
  cursor: pointer;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: white;
  overflow-x: hidden;
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  border-bottom: 1px solid black;
}

.overlay-header p {
  font-size: 20px;
  font-weight: 500;
  color: black;
  margin: 0;
}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  transition: 0.3s;
  gap: 10px;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  font-size: 34px;
  cursor: pointer;
}

.overlay-content ul li {
  list-style: none;
}

.overlay-content ul li .dropdown {
  position: relative;
  display: block;
  /* text-align: center; */
}

.overlay-content ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0px 23px;
}

/* Optional: Add responsive breakpoints */
@media (max-width: 1262px) {
  .header-center {
    display: none;
  }
  .header-spacer {
    display: none;
  }
  .header-menu-icon {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-center {
    display: none;
  }
  .header-spacer {
    display: none;
  }
  .header-menu-icon {
    display: block;
  }
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
