/* Navbar Styles */
:root {
  --primary--color: #00668d;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
}

.logo p {
  color: var(--Primary, #00668d);
  font-family: "Russo One";
  font-size: 48px;
  line-height: 132%;
  letter-spacing: -0.96px;
}

.nav-links-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  padding-bottom: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--Text-Heading, #1e1e1e);
  font-family: Roboto;
  font-weight: 500;
  line-height: 164%;
  text-transform: capitalize;
  position: relative;
  padding-bottom: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary--color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.current::after {
  width: 100%;
  background-color: var(--primary--color);
}

.nav-links a.current {
  color: var(--primary--color);
  font-weight: bold;
}

.nav-links a:hover {
  color: var(--primary--color);
}

.nav-buttons {
  display: flex;
  gap: 24px;
}

.signin-btn,
.signup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 8px 16px;
  font-family: Roboto;
  font-weight: 500;
  line-height: 164%;
  text-transform: capitalize;
}

.signin-btn {
  border: 1px solid #ffb222;
  color: #1e1e1e;
}

.signup-btn {
  background: #ffb222;
  color: #000;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  transition: right 0.3s ease;
  z-index: 20;
  overflow-x: auto;
  white-space: nowrap;
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
  height: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #3d3a34;
  border-radius: 4px;
  border: 1px solid #ffffff;
}

.sidebar.show {
  right: 0;
}

.sidebar li {
  width: 100%;
  margin-bottom: 16px;
}

.sidebar a {
  width: 100%;
  color: var(--Text-Heading, #1e1e1e);
  font-family: Roboto;
  font-weight: 500;
  line-height: 164%;
  text-transform: capitalize;
  padding: 8px 16px;
  transition: background-color 0.3s;
  display: block;
}

.sidebar a.current {
  color: var(--primary--color);
  font-weight: bold;
  background-color: rgba(0, 102, 141, 0.1);
  border-left: 4px solid var(--primary--color);
}

.sidebar a:hover {
  background-color: #f0f0f0;
}

.sidebar li:first-child a {
  text-align: right;
  padding-right: 0;
}

.menu-button {
  display: none;
}

/* Responsive Styles */
@media only screen and (min-width: 1200px) and (max-width: 1365px) {
  nav {
    gap: 24px;
  }

  .nav-links {
    display: flex;
    gap: 24px;
  }

  .logo p {
    font-size: 24px;
  }
}

@media only screen and (max-width: 1199px) {
  .nav-links-container {
    display: block;
  }

  .nav-links,
  .nav-buttons {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .logo p {
    font-size: 32px;
  }
}

@media only screen and (max-width: 400px) {
  .sidebar {
    width: 100%;
  }

  .logo p {
    font-size: 20px;
  }
}