:root {
  --primary: #ff5a5f;
  --dark: #1f2937;
}

/* Base resets or utilities matching your original code */
body.no-scroll {
  overflow: hidden;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
 
 
 
  z-index: 1000;
  font-family: Inter, Segoe UI, sans-serif;
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8em;
  font-weight: 800;
  text-decoration: none;
  color: black;
  flex: 1;

  div{
    width: 100px;
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }

  h1{
    align-items: center;
    color: white;
    font-weight: 800;
    line-height: .9;
    font-size: .8em;
  }
  h1:nth-child(2){
    font-size: .77em;
  }
  p{
    font-size: 10px;
    color: white;
  }

}

.logo span {
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.nav-item {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: white;
  transition: all 0.4s;
}

.nav-item:hover {
  color: white;
  font-style: italic;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.login-btn {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
  padding: 0.6rem 1.3rem;
  background-color: white;
  font-weight: 700;
  border-radius: 50px;
  
  transition: all 0.2s;
}

.login-btn:hover {
    transition: all .4s ease-in-out;
  background-color: rgba(255, 225, 0, 0.95);
  color: black;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* ==========================
   SHARED OVERLAY (Desktop default)
========================== */
.mega-overlay {
  position: fixed;
  top: 100px;
  left: 50%;
  width: min(1300px, 95vw);
  transform: translateX(-50%) translateY(20px) scale(.98);
  opacity: 0;
  visibility: hidden;
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  color: black;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .18);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s;
  z-index: 999;
  font-family: Inter, Segoe UI, sans-serif;
}

.mega-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 0s;
}

.overlay-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(188, 188, 188, 0.2); /* White semi-transparent circle */
  border: none;
  color: var(--primary);                          /* White icon */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2001;                         /* Ensure it sits above mobile elements */
}

.overlay-header {
  margin-bottom: 2rem;
}

.overlay-title {
  font-size: 2.8em;
  font-weight: 900;
  margin-bottom: .3rem;
}

.overlay-description {
  font-size: 1.05em;
  color:black;
  max-width: 700px;
}

.overlay-divider {
  height: 1px;
  background: rgba(133, 133, 133, 0.15);
  margin: 2rem 0;
}

/* ==========================
   3 COLUMN GRID
========================== */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.mobile-menu-section {
  margin-bottom: 2.5rem;
}

.mobile-section-title {
  display: none;
  font-size: 1.8rem;
  font-weight: 800;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.column-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  opacity: .7;
}

.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  text-decoration: none;
  font-size: 1.25em;
  font-weight: 600;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.menu-link .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .25s, transform .25s;
}

.menu-link:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================
   RESPONSIVE DESIGN (Mobile)
========================== */
@media(max-width:900px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .logo, .nav-actions {
    flex: initial;
  }

  .mega-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    padding: 4.5rem 2rem 3rem 2rem;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .3s, visibility 0s linear .4s;
    z-index: 2000;
  }

  .mega-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .overlay-close {
    display: flex;
  }

  .overlay-header {
    display: none;
  }

  .overlay-divider {
    display: none;
  }

  .columns {
    display: block;
  }

  .mobile-section-title {
    display: block;
  }

  .column-title {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.85;
  }
}