/* =========================
   NAVBAR
========================= */

:root{
  --xl-blue-primary: #2563eb;
  --xl-nav-bg: rgba(2, 6, 23, 0.95);
  --xl-white: #ffffff;
}

body{
  padding-top: 100px;
}

@media (max-width:1024px){

  /* body{
    padding-top: 100px;
  } */

}

.xl-nav-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;

  /* background: rgba(2, 6, 23, 0.95); */
  background: #000000;
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.xl-nav-container{
  width: min(92%, 1400px);
  margin: auto;
  height: 85px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}


/* =========================
   LOGO
========================= */

.xl-nav-logo-group{
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;

  text-decoration: none;
  cursor: pointer;
}

.xl-nav-logo-img{
  width: 50px;
  height: 50px;
  /* object-fit: contain; */
  /* border-radius: 50%; */
}

.xl-nav-logo-text{
  display: flex;
  flex-direction: column;
}

.xl-nav-brand-name{
  color: var(--xl-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.xl-nav-brand-sub{
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  margin-top: 2px;
  letter-spacing: 1px;
}

/* =========================
   NAV LINKS
========================= */

.xl-nav-links{
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.xl-nav-links li{
  position: relative;
}

.xl-nav-links a{
  position: relative;
  text-decoration: none;
  color: var(--xl-white);
  font-size: 0.98rem;
  font-weight: 500;
  transition: 0.3s ease;
  padding-bottom: 5px;
}

/* Hover */
.xl-nav-links a:hover{
  color: var(--xl-blue-primary);
}

/* Underline Hover Effect */
.xl-nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--xl-blue-primary);
  transition: 0.3s ease;
}

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

/* Active Link */
.xl-nav-links a.xl-nav-active{
  color: var(--xl-blue-primary);
}

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

/* =========================
   BUTTON
========================= */

.xl-nav-btn{
  background: var(--xl-blue-primary);
  color: white;
  border: none;
  outline: none;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.xl-nav-btn:hover{
  transform: translateY(-2px);
  background: #1d4ed8;
}

/* =========================
   HAMBURGER
========================= */

.xl-nav-toggle{
  width: 45px;
  height: 45px;
  border: none;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.xl-nav-toggle span{
  width: 70%;
  height: 3px;
  background: white;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* Hamburger Animation */

.xl-nav-toggle.active span:nth-child(1){
  transform: rotate(45deg) translate(7px, 6px);
}

.xl-nav-toggle.active span:nth-child(2){
  opacity: 0;
}

.xl-nav-toggle.active span:nth-child(3){
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================
   MOBILE NAV
========================= */

@media (max-width: 1100px){

  .xl-nav-toggle{
    display: flex;
  }

  .xl-nav-btn{
    display: none;
  }

  .xl-nav-menu{
    position: fixed;
    top: 85px;
    right: -100%;
    width: 320px;
    height: calc(100vh - 85px);

    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(14px);

    transition: 0.4s ease;
    padding: 2rem;
  }

  .xl-nav-menu.active{
    right: 0;
  }

  .xl-nav-links{
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }

  .xl-nav-links a{
    font-size: 1.1rem;
  }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 600px){

  .xl-nav-container{
    height: 75px;
  }

  .xl-nav-logo-img{
    width: 45px;
    height: 45px;
  }

  .xl-nav-brand-name{
    font-size: 0.82rem;
  }

  .xl-nav-brand-sub{
    font-size: 0.62rem;
  }

  .xl-nav-menu{
    top: 75px;
    height: calc(100vh - 75px);
    width: 100%;
  }

}



/* Disable scroll when mobile menu opens */

body.xl-nav-no-scroll{
  overflow: hidden;
}







.xl-nav-btn{
    text-decoration:none;
}

.xl-nav-btn:hover{
    text-decoration:none;
}

/* prevent active nav link styling */
.xl-nav-btn.xl-nav-active{
    border-bottom:none !important;
    color:#fff !important;
}