.navbar {
  display: flex;
  position: absolute;
  justify-content: center;
  width: 100%;
  font-family: "Outfit", sans-serif;
  z-index: 1000;
  transition: all 0.3s ease;

  &.sticky {
    background: rgba(6, 50, 111, 0.95);
    backdrop-filter: blur(10px);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-container {
    display: flex;
    align-items: center;
    min-height: 80px;
    max-width: 1200px;
    width: 100%;
    gap: 8px;
    padding: 0 20px;

    .logo {
      height: 80px;

      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }

    .menu-desktop-group {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 8px;

      .nav-menu {
        flex: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;

        .nav-item-link {
          height: 32px;
          display: flex;
          padding: 0 8px;
          align-items: center;
          color: #fff;
          text-decoration: none;
          font-size: 14px;
          text-transform: uppercase;
          font-weight: 500;
          transition: all 0.3s ease;
          position: relative;

          &:hover {
            color: #ffd700;
          }

          &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #ffd700;
            transition: width 0.3s ease;
          }

          &:hover:after {
            width: 80%;
          }

          &.start-now {
            background: #ffd700;
            color: #0a1128;
            padding: 0 16px;
            border-radius: 6px;
            margin-left: 8px;
            font-weight: 600;

            &:after {
              display: none;
            }

            &:hover {
              background: #ffed4e;
              transform: translateY(-2px);
              box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
            }
          }
        }
      }

      .social-icons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
      }
    }
  }
}
.icon-container {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;

  &:hover {
    transform: scale(1.1);
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .navbar {
    .nav-container {
      .nav-menu {
        .nav-item-link {
          font-size: 12px;
          padding: 0 4px;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .navbar {
    .nav-container {
      padding: 0 10px;
      min-height: unset !important;

      .logo {
        width: 100px;
        height: 60px;
      }

      .nav-menu {
        gap: 4px;

        .nav-item-link {
          font-size: 10px;
          padding: 0 2px;

          &.start-now {
            padding: 0 8px;
          }
        }
      }

      .social-icons {
        gap: 4px;

        .icon-container {
          width: 24px;
          height: 24px;
        }
      }
    }
  }
}

/* Hamburger Button - Hidden on Desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger Animation when open */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide-out Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -178px;
  width: 178px;
  height: 100vh;
  height: 100dvh;
  background-color: #00143BB2;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 75px 24px 16px;
}

/* Mobile Navigation Links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  height: 32px;
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  transition: opacity 0.2s ease;
}

.mobile-nav-item:hover {
  opacity: 0.8;
}

/* Mobile Menu Divider */
.mobile-menu-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 8px 0;
}

/* Language Selector */
.desktop-language-selector, .language-selector {
  position: relative;
  padding: 0 8px;
}

.language-btn, .desktop-language-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  gap: 4px;
}

.desktop-language-text, .language-text {
  flex: 1;
  text-align: left;
  font-family: "Outfit", sans-serif;
}

.caret-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.language-btn[aria-expanded="true"] .caret-icon, .desktop-language-btn[aria-expanded="true"] .caret-icon {
  transform: rotate(180deg);
}

/* Language Dropdown */
.desktop-language-dropdown, .language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 20, 59, 0.9);
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.desktop-language-dropdown.active, .language-dropdown.active {
  max-height: 100px;
  opacity: 1;
}

.language-option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.language-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Social Icons */
.mobile-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media screen and (max-width: 1024px) {
  .navbar {
    height: 60px;
  }

  .nav-container {
    justify-content: space-between;
    padding: 0 16px;
  }

  .logo {
    width: 100px;
    height: 52px;
  }

  /* Hide desktop navigation */
  .nav-menu,
  .social-icons {
    display: none;
  }

  /* Show hamburger button */
  .hamburger-btn {
    display: flex;
  }
  .menu-desktop-group {
    display: none !important;
  }

  /* Enable mobile menu and overlay */
  .mobile-menu-overlay,
  .mobile-menu {
    display: block;
  }
  .language-selector {
    width: 100%;
    padding: 0 !important;

    .language-btn {
      font-size: 12px !important;
    }
  }
}

/* Mobile Small - 360px and below */
@media screen and (max-width: 480px) {
  .nav-container {
    padding: 0 16px 0 0;
  }

  .logo {
    width: 120px;
    height: 52px;
  }
}

/* Large Desktop - Wider spacing */
@media screen and (min-width: 1440px) {
  .nav-container {
    padding: 0 40px;
  }

  .nav-menu {
    gap: 24px;
  }
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}
