
.primary{
  color: #00b8de;
}

.secondary{
  color: #002e6e;
}

html {
  scroll-behavior: smooth;
}

/* STICKY HEADER */

  header.js-sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
} 



/* === BASE NAVIGATION === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nav-container { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 15px 20px;
  color: white;
  /* border-radius: 10px; */
  z-index: -1;
}
#logo{
  width: 300px;
  height: 80px;
}


.menu-toggle {
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none;
}


/* === MOBILE SIDEBAR NAVIGATION === */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: #222;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.8s ease;
}

.sidebar.active {
  right: 0;
}

.sidebar .close-btn {
  text-align: right;
  font-size: 24px;
  color: white;
  cursor: pointer;
  margin-bottom: 20px;
}

.sidebar .nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar .nav-links li {
  position: relative;
  border-bottom: 1px solid #444;
}

.sidebar .nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar .nav-links a:hover {
  background: #333;
}

/* Mobile dropdown animation */
.dropdown-menu {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  background: #000;
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.dropdown.open .dropdown-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  margin-left: 20px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* === OVERLAY EFFECT === */
#overlay, #overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}
#overlay2.active {
  opacity: 1;
  pointer-events: all;
}

/* === DESKTOP NAVIGATION === */
.desktop-nav {
    display: none;
}

@media (min-width: 769px) {
  .menu-toggle,
  #mobile-nav,
  #menu-toggle,
  #mobile-nav2,
  #menu-toggle2
   {
    display: none;
  }

  .desktop-nav{
  z-index: 1000;
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0 20px;
  }

  .desktop-nav .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 10px;
    gap: 20px;
  }

  .desktop-nav .nav-links li {
    position: relative;
    list-style: none;
  }

  .desktop-nav .nav-links a {
    color: white;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }

  .desktop-nav .nav-links a:hover {
    background-color: #444;
  }

  .desktop-nav .dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .desktop-nav .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .desktop-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    min-width: 160px;
    z-index: 999;
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);

    /* Override mobile styles */
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    transition: none;
  }

  .desktop-nav .dropdown:hover .dropdown-menu {
    display: block;
  }

  .desktop-nav .dropdown-menu li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: white;
  }

  .desktop-nav .dropdown-menu li a:hover {
    background: #444;
    text-decoration: none;
  }
}

/* === MOBILE OVERRIDE === */
@media (max-width: 768px){
  .menu-toggle {
    display: block;
  }
  #logo{
  width: 280px;
}
}


