/* ===============================
   NAVBAR CONTAINER
================================ */
.ip2026_navbar {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%; /* Full width */
  height: 8vh;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 5%; /* Horizontal padding */

  /* Modern Glassmorphism & Color */
  background: var(--bg-gradient);
  backdrop-filter: blur(15px); /* strong blur */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-bottom: 1px solid var(--boxShadow-color);
}

/* ===============================
   LOGO
================================ */
.ip2026_logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.ip2026_logo:active {
  transform: scale(0.95);
}

.ip2026_logo img {
  height: 64px;
  width: auto;
}

/* ===============================
   NAV LINKS (DESKTOP)
================================ */
.ip2026_nav_links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.ip2026_nav_links li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}
/* Animated Underline Effect */
.ip2026_nav_links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--text-hover);
  transition: width 0.3s ease;
}

.ip2026_nav_links li a:hover {
  color: var(--text-hover);
}

.ip2026_nav_links li a:hover::after {
  width: 100%;
}

.ip2026_mobile_btn {
  display: none; /* Hide duplicate button on desktop */
}


/* ===============================
   Drop down menu
================================ */

.ip2026_dropdown {
  position: relative;
}

.ip2026_services_toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ip2026_dropdown_menu {
  position: absolute;
  top: 120%;
  left: 0;

  background: var(--bg-gradient);
  border-radius: 10px;
  padding: 12px 0;
  width: max-content;
  min-width: 240px;
  max-width: 320px;
  list-style: none;
  box-shadow: 0 10px 25px var(--boxShadow-color);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.3s ease;
}

/* Show dropdown */

.ip2026_dropdown:hover .ip2026_dropdown_menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ip2026_dropdown_menu li a{
  display:block;
  padding:10px 20px;
  color:var(--text-color);
  font-size:15px;
  white-space: nowrap;
}

.ip2026_dropdown_menu li a:hover{
  background: var(--bg-gradient);
}

/* ===============================
   ACTION BUTTONS
================================ */

.ip2026_nav_actions {
  display: flex;
  gap: 24px;
}

/* Base styles for both */
.ip2026_nav_actions a,
.ip2026_nav_actions button {
  text-decoration: none;
  padding: 6px 12px;
  border: 2px solid var(--text-color);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  z-index: 1;
  transition: all 0.4s ease;
  cursor: pointer;
  font-size: 1rem;
}

/* --- Anchor Tag: Empty -> Fills on Hover --- */
.ip2026_nav_actions a {
  background-color: transparent;
  color: var(--text-color);
}

.ip2026_nav_actions a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.ip2026_nav_actions a:hover::before {
  left: 0;
}

.ip2026_nav_actions a:hover {
  color: var(--background-color);
  transform: scale(1.05);
}

/* --- Button: Filled -> Becomes Ghost on Hover --- */
.ip2026_nav_actions button {
  background-color: var(--text-color); /* Starts filled */
  color: var(--background-color); /* Text starts inverted */
}

/* We use the pseudo-element to "cover" the background with the page color */
.ip2026_nav_actions button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--background-color); /* Matches page background */
  transition: all 0.4s ease;
  z-index: -1;
}

.ip2026_nav_actions button:hover::before {
  left: 0;
}

.ip2026_nav_actions button:hover {
  color: var(--text-color); /* Text returns to normal */
  transform: scale(1.05);
}

/* Get Started: keep purple background + white text on hover */
.ip2026_nav_actions a.ip2026-get-started,
.ip2026_nav_actions button.ip2026-get-started {
  border-color: var(--text-hover) !important;
}

.ip2026_nav_actions a.ip2026-get-started::before,
.ip2026_nav_actions button.ip2026-get-started::before {
  background: var(--text-hover) !important;
}

.ip2026_nav_actions a.ip2026-get-started:hover,
.ip2026_nav_actions a.ip2026-get-started:focus,
.ip2026_nav_actions button.ip2026-get-started:hover,
.ip2026_nav_actions button.ip2026-get-started:focus {
  color: #ffffff !important;
  border-color: var(--text-hover) !important;
}

/* --- Global Tap Effect --- */
.ip2026_nav_actions a:active,
.ip2026_nav_actions button:active {
  transform: scale(0.95);
  opacity: 0.8;
}

/* ===============================
   hamburger MENU
================================ */
.ip2026_hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}
/* Ensure the ip2026_hamburger spans animate */
.ip2026_hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ip2026_hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px); /* Slides middle bar out */
}

.ip2026_hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Base bars need transition to look smooth */
.bar {
  transition: all 0.3s ease-in-out;
}

/* register and login section  */

/* ===============================
   AUTH POPUP STYLES
================================ */
.ip2026-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark background */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 9999; /* On top of everything */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ip2026-auth-overlay.active {
  display: flex;
  opacity: 1;
}

.ip2026-auth-card {
  background: #fff;
  width: 1000px;
  max-width: 100%;
  height: 550px;
  display: flex;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ip2026-auth-overlay.active .ip2026-auth-card {
  transform: scale(1);
}

/* Close Button */
.ip2026-close-auth {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  z-index: 100;
  transition: 0.2s;
}

.ip2026-close-auth:hover {
  color: #ff4d00;
}

/* RE-USING YOUR PREVIOUS STYLES WITHIN THE CARD */
/* (Ensure these don't conflict with main site) */
.ip2026-card-left {
  width: 45%;
  background: var(--bg-gradient);
  padding: 40px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.ip2026-card-right {
  width: 55%;
  padding: 40px;
  overflow-y: auto;
  position: relative;
}
.ip2026-card-left h1 {
  font-size: 28px;
  margin: 15px 0;
}

.ip2026-card-left-img {
  width: 100%;
  height:auto
}

/* Form Elements */
.ip2026-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}
.ip2026-input-row {
  display: flex;
  gap: 15px;
}
.ip2026-input-group {
  width: 100%;
}
.ip2026-auth-form input,
.ip2026-auth-form select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  background: transparent;
}
.ip2026-auth-form input:focus {
  border-bottom: 2px solid #6c63ff;
}
.ip2026-switch-text {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  color: var(--text-color);
}
.ip2026-switch-text span {
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
}
.ip2026-social-login {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.ip2026-auth-form button {
  color: white;
  background-color: var(--text-color);
  padding: 10px 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600px;
  border: 2px solid var(--text-color);
}
.ip2026-auth-form button:hover {
  color: var(--text-color);
  background-color: white;
  box-shadow: inset var(--boxShadow-color);
  transition: all 0.4s ease-in-out;
}
.ip2026-subtitle {
  margin: 8px 0;
}

.ip2026-mobile_btn{
  display: none;
}


/* Responsive Code For Header Part */

/* =====================================
   MOBILE RESPONSIVE (<= 768px)
===================================== */
@media (max-width: 768px) {
  :root {
    --container-padding: 20px 5%;
  }

  /* ---------- NAVBAR ---------- */
  .ip2026_navbar {
    /* height: 8vh;
    padding: 0 16px; */
  }

  .ip2026_logo img {
    height: 50px;
  }

  .ip2026_nav_links {
    position: fixed;
    top: 8vh;
    left: -100%;
    width: 50%;
    height: calc(100vh - 8vh);
    background: var(--bg-gradient);
    padding-top: 5%;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
    transition: left 0.4s ease;
    z-index: 999;
    padding-left: 5%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .ip2026_nav_links li a {
    font-size: 14px;
  }
  .ip2026_nav_links li a::before {
    display: block;
  }
  .ip2026_nav_links.active {
    left: 0;
  }

  .ip2026_nav_actions {
    display: none;
  }

  .ip2026_hamburger {
    display: block;
  }
  .ip2026-mobile_btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .ip2026-mobile_btn a {
    display: block;
  }
  
  /* DROP DOWN MENU */
  .ip2026_dropdown_menu{
  position:static;
  width:100%;
  min-width: 0;
  max-width: none;
  box-shadow:none;
  padding-left:4px;

  opacity:1;
  visibility:visible;
  transform:none;

  display:block;
}



.ip2026_dropdown_menu li a{
  font-size:12px;
  white-space: normal;
  word-break: break-word;
}

  .ip2026_nav_links > li {
    width: 100%;
  }

  .ip2026_nav_links > li > a {
    display: block;
    width: 100%;
  }

  .ip2026_nav_links .ip2026_dropdown {
    width: 100%;
  }

  .ip2026_nav_links .ip2026_services_toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

    /* ---------- AUTH POPUP ---------- */
  .ip2026-auth-card {
    flex-direction: column;
    height: auto;
    width: 95%;
    border-radius: 20px;
  }
  .ip2026-card-left {
    display: none;
  }

  .ip2026-card-right {
    width: 100%;
    padding: 25px;
  }

  .ip2026-card-left-img {
    height: 160px;
    margin-top: 20px;
  }


}

/* =====================================
   TABLET RESPONSIVE (768px – 1024px)
===================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  
  /* ---------- NAVBAR ---------- */
  .ip2026_navbar {
    height: 75px;
    padding: 0 4%;
  }

  .ip2026_logo img {
    height: 60px;
  }

  .ip2026_nav_links {
    gap: 24px;
  }

  .ip2026_nav_links li a {
    font-size: 1rem;
  }

  .ip2026_nav_actions {
    gap: 20px;
  }

  .ip_order_btn {
    width: 120px;
    height: 38px;
    font-size: 14px;
  }

   /* ---------- AUTH POPUP ---------- */
  .auth-card {
    width: 90%;
    height: 600px;
  }

}
