body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* ==========================================================================
   HEADER MAIN STRUCTURE
   ========================================================================== */

.wl-header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 1000;
}

.wl-header-inner {
  background: #333333;
  border-radius: 999px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 5px 25px 0px #00000040;
  gap: 20px;
}

.wl-logo {
  flex-shrink: 0;
}

.wl-logo img {
  height: 32px;
  display: block;
}

/* ==========================================================================
   NAVIGATION LINKS & BUTTONS
   ========================================================================== */

.wl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
}

.wl-nav>a,
.wl-nav>div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.wl-nav a,
.wl-desktop-login a,
.mobile-header a {
  text-decoration: none !important;
}

.desktop-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  transition: .25s ease;
  white-space: nowrap;
  border-radius: 12px;
}

.desktop-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #FF4000;
  transition: .25s ease;
  transform: translateX(-50%);
  border-radius: 10px;
}

.desktop-title:hover::after,
.desktop-title.active::after {
  width: 70%;
}

.desktop-title.active {
  font-weight: 700;
}

.wl-desktop-login {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-light {
  padding: 9px 24px;
  border-radius: 999px;
  color: #FF4000;
  font-weight: 600;
  transition: .25s ease;
  background: #FFFFFF;
}

.btn-light:hover {
  background: #fff5f1;
}

.btn-highlight {
  padding: 10px 22px;
  border-radius: 999px;
  background: #FF4000;
  color: #fff;
  font-weight: 600;
  transition: .25s ease;
}

.btn-highlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 64, 0, .25);
}

/* ==========================================================================
   DROPDOWN BASE & CONSISTENT BOX SIZES (FIXED)
   ========================================================================== */

.mega-wrap,
.feature-wrap,
.solutions-wrap,
.company-wrap {
  position: relative;
}

/* Products, Solutions aur Company dropdown boxes ki size uniform ki hai */
.mega-menu,
.solutions-menu,
.company-menu {
  position: absolute;
  top: 52px !important;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #363332f2;
  border-radius: 16px !important;
  padding: 8px !important;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
  z-index: 100;
  min-width: 240px !important;
  max-width: 240px !important;
}

.mega-menu {
  display: block !important;
}

.mega-left {
  width: 100% !important;
  border-right: none !important;
  padding-right: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 2px !important;
}

.feature-menu {
  position: absolute;
  top: 52px !important;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #363332f2;
  border-radius: 16px !important;
  padding: 8px !important;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
  z-index: 100;
  min-width: 520px !important;
  max-width: 550px !important;
}

/* Hover triggers */
.mega-wrap:hover .mega-menu,
.feature-wrap:hover .feature-menu,
.solutions-wrap:hover .solutions-menu,
.company-wrap:hover .company-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   DROPDOWN ITEMS, FONTS & SPACING (FIXED)
   ========================================================================== */

.mega-item,
.feature-group a,
.solutions-group a,
.company-item {
  display: flex;
  align-items: center;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  transition: .25s ease;
  color: #fff;
  text-decoration: none;
}

.mega-item:hover,
.feature-group a:hover,
.solutions-group a:hover,
.company-item:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Fonts styling coordination sabhi dropdown links ke liye */
.mega-menu strong,
.solutions-group a,
.feature-group a span,
.company-item {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Structural groups adjustments */
.solutions-group,
.company-left {
  display: flex;
  flex-direction: column;
  gap: 2px !important;
}

.feature-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 4px !important;
}

.feature-group a {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-group a.active {
  background: #000;
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE & RESPONSIVE LAYOUT
   ========================================================================== */

.desktop-header {
  display: block;
}

.mobile-header {
  display: none;
}

@media(max-width:768px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    width: 90%;
    margin: auto;
    background: #333333;
    border-radius: 30px;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  }

  .mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
  }

  .mobile-logo {
    width: 90px;
    display: block;
  }

  .mobile-btn {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #fff;
  }

  .mobile-panel {
    position: fixed;
    top: 76px;
    left: 5%;
    width: 90%;
    height: 0;
    overflow: hidden;
    background: #333333;
    transition: .35s ease;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  }

  .mobile-panel.active {
    height: 60vh;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .menu-screen {
    position: absolute;
    width: 100%;
    min-height: 100%;
    left: 100%;
    top: 0;
    background: #333333;
    transition: .3s ease;
    padding: 20px 20px 20px;
    box-sizing: border-box;
  }

  .menu-screen.active {
    left: 0;
  }

  .menu-link,
  .menu-item,
  .itemBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    gap: 10px;
  }

  .itemBox h5 {
    margin: 0;
    font-size: 15px;
  }

  .itemBox p {
    margin: 4px 0 0;
    font-size: 11px;
    color: #777;
  }

  .back-btn {
    padding: 10px 0 18px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
  }

  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }

  .mob-login {
    text-align: center;
    color: #FF4000;
    border-radius: 999px;
    padding: 12px;
    font-weight: 700;
    background: #fff;
  }

  .mob-signup {
    text-align: center;
    background: #FF4000;
    color: #fff;
    border-radius: 999px;
    padding: 12px;
    font-weight: 700;
  }
}

.menu-screen a:active,
.menu-screen a:hover {
  color: #ffffff !important;
}

@media(max-width:1100px) {
  .wl-header-inner {
    padding: 12px 18px;
  }

  .wl-nav {
    gap: 2px;
  }

  .desktop-title {
    padding: 10px 12px;
    font-size: 14px;
  }

  .feature-menu {
    min-width: 560px;
  }
}

@media(max-width:992px) {
  .feature-menu {
    min-width: 520px;
  }
}

.mobile-panel::-webkit-scrollbar {
  width: 5px;
}

.mobile-panel::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

/* ==========================================================================
   PRODUCTS TEXT COLOR & HOVER FIX
   ========================================================================== */

.mega-menu a,
.mega-menu strong,
.productIconLink,
.productIconLink strong {
  color: #ffffff !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

.mega-item:hover a,
.mega-item:hover strong,
.mega-item:hover .productIconLink {
  color: #ffffff !important;
}

/* ==========================================================================
   FEATURES DROPDOWN VERTICAL SEPARATOR
   ========================================================================== */

.feature-group {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px 30px !important;
  position: relative;
}

.feature-group::after {
  content: "";
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
}

.feature-group a {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

@media(max-width: 768px) {
  .feature-group::after {
    display: none !important;
  }
}

.wl-nav a {
  color: #ffffff;
}

.mega-item.active {
  background: #000;
}

.solutions-group a.active {
  background: #000;
}

.company-item.active {
  background: #000;
}

@media(max-width:768px) {
  .mobile-panel {
    position: fixed;
    top: 100px;
    left: 5%;
    width: 90%;
    height: 0;
    overflow: hidden;
    transition: cubic-bezier(0.4, 0, 0.2, 1) .3s;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  }

  .menu-link,
  .menu-item,
  .itemBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    margin-bottom: 6px;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: #fff;
    text-decoration: none !important;
    font-weight: 500;
    transition: background 0.2s ease;
    cursor: pointer;
  }

  .menu-item:active,
  .itemBox:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .itemBox h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
  }

  .back-btn {
    padding: 12px 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-block;
  }

  .chevron-right {
    display: inline-block;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    width: 6px;
    height: 6px;
    transform: rotate(-45deg);
    margin-right: 4px;
  }
}

@media (max-width: 768px) {
  .wortal-hero-viewport .ticker-text:hover,
  .wortal-hero-viewport .ticker-text:active,
  .wortal-hero-viewport .ticker-text:focus {
    background: var(--text-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .wortal-hero-viewport .ticker-text {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  .menu-item {
    color: #ffffff !important;
  }
}

.mobile-auth .mob-login:hover,
.mobile-auth .mob-login:active {
  color: #FF4000 !important;
}

.app-download-wrapper {
  position: relative;
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.download-btn,
.download-btn:hover,
.download-btn:focus {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 5px;
  width: 168px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 67px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.download-btn span,
.download-btn span:hover,
.download-btn span:focus {
  width: 125px;
  height: 18px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #212121;
}

.icon-phone {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 7px;
  position: absolute;
  width: 168px;
  height: auto;
  right: 0;
  top: calc(100% + 8px);
  filter: drop-shadow(-4px 7px 13px rgba(0, 0, 0, 0.25));
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.qr-card.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qr-image-container {
  width: 168px;
  height: 168px;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scan-badge {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8.98px 10px;
  gap: 8.98px;
  width: 168px;
  height: 35.97px;
  background: #FFFFFF;
  border-radius: 8px;
  box-sizing: border-box;
}

.scan-badge span {
  font-style: normal;
  font-weight: 500;
  font-size: 14.37px;
  line-height: 18px;
  text-align: center;
  color: #333333;
  white-space: nowrap;
}

.icon-scan {
  width: 17.97px;
  height: 17.97px;
  flex-shrink: 0;
}

.qr-close-btn,
.qr-close-btn:hover {
  box-sizing: border-box;
  position: absolute;
  width: 23px;
  height: 23px;
  right: -6px;
  top: -6px;
  background: #FF4000;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.mega-menu::before,
.feature-menu::before,
.solutions-menu::before,
.company-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  height: 15px;
  background: transparent;
  z-index: -1;
}

.wl-nav a:hover, .wl-nav a:focus, .wl-nav a:active{
    color: #ffffff;
}
