/**
 * eMudhra Top Header Styles
 * All styles scoped under .emudhra-top-nav to prevent conflicts with emSigner
 */

/* ========================================
   FIX HORIZONTAL OVERFLOW ISSUE
   ======================================== */

/* Fix Bootstrap row negative margins causing overflow */
.emudhra-top-nav .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

/* Constrain mega menu dropdown width to viewport */
.emudhra-top-nav .emudhra-nav-dropdown--lg {
  max-width: calc(100vw - 40px);
}

/* ========================================
   DUAL HEADER SCROLL BEHAVIOR (Zoho-like)
   ======================================== */

/* Main header container */
#header {
  position: relative;
  transition: transform 0.3s ease-in-out;
}

/* eMudhra header transitions */
.emudhra-top-nav {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(0);
  opacity: 1;
}

/* Hide eMudhra header when scrolling */
.emudhra-top-nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* emSigner header - initially static, becomes sticky when active */
.emsigner-india-header {
  position: relative;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

/* emSigner header sticky behavior */
.emsigner-india-header.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  animation: slideDown 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Slide down animation for sticky header */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Prevent layout shift when emSigner header becomes fixed */
#header.scroll-up .emsigner-india-header.sticky-active ~ * {
  margin-top: 0;
}

/* STICKY TOP HEADER */
.emudhra-top-nav.ems-sticky-top {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.emudhra-top-nav.ems-sticky-top.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.1);
}

/* NAVBAR TOGGLER - Mobile hamburger button (matches emSigner) */
.emudhra-top-nav .navbar-toggler {
  border: none !important;
  background: transparent;
}

.emudhra-top-nav .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

@media (min-width: 992px) {
  .emudhra-top-nav .navbar-toggler {
    display: none;
  }
}

/* BRAND LOGO */
.emudhra-top-nav .ems-headerlogo-wrappr {
  display: flex;
  align-items: center;
}

.emudhra-top-nav .qx-brandlogo {
  z-index: 999;
  display: block;
}

.emudhra-top-nav .qx-brandlogo img {
  height: 38px;
}

@media (max-width: 767px) {
  .emudhra-top-nav .qx-brandlogo img {
    width: 100%;
    max-height: 30px;
  }
}

.emudhra-top-nav .ems-brandlogo img {
  height: 18px;
}

@media (min-width: 768px) {
  .emudhra-top-nav .ems-brandlogo img {
    height: 25px;
  }
}

/* NAVIGATION HEADER */
.emudhra-top-nav.ems-navheader.navbar {
  padding-block: .6rem;
  background-color: #ffffff !important;
}

@media (min-width: 768px) {
  .emudhra-top-nav.ems-navheader.navbar {
    padding-inline: .5rem;
  }
}

.emudhra-top-nav .ems-navheader__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .emudhra-top-nav .ems-navheader__container {
    padding-inline: 1.2rem;
  }
}
.emudhra-top-nav.ems-navheader.navbar .header-flex-end {
    gap: 25px;
}
.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link {
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  line-height: 140%;
  position: relative;
  padding: 0.5rem 1rem;
}

.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link:before {
  content: "\ea17";
  font-family: boxicons;
  font-size: 18px;
  padding-left: 4px;
  position: absolute;
  width: 18px;
  right: 0px;
  top: 8px;
}

.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link.open.active {
  font-weight: 500 !important;
}

.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link.open.active:before {
  content: "\ea24";
}
@media (max-width: 991px) {
.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link:before{
top: 30%;
}
.emudhra-top-nav.ems-navheader .box-icon-none .emudhra-nav-link:before{
  content: none;
}
}
@media (max-width: 991px) {
  .emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link {
    font-size: 16px;
    padding: 21px 0px;
    display: flex;
    width: 100%;
  }
}

.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link:hover {
  color: #111928;
  transition: color 0.3s ease-in-out;
}

.emudhra-top-nav.ems-navheader.navbar .emudhra-nav-link.active {
  color: #111928;
}

/* NAVIGATION LIST */
.emudhra-top-nav .ems-navlist {
  display: flex;
}

@media (max-width: 991px) {
  .emudhra-top-nav .ems-navlist {
    width: 100%;
    height: calc(100vh - 180px);
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    z-index: 10000 !important;
    position: relative;
  }

  .emudhra-top-nav .ems-navlist::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 992px) {
  .emudhra-top-nav .ems-navlist {
    gap: 25px;
    margin: 0 auto;
  }
}

.emudhra-top-nav .ems-navlist .emudhra-nav-item-header:first-of-type .emudhra-nav-link {
  border-top: 0;
}

/* MOBILE LOGO WRAPPER */
@media (max-width: 991px) {
  .emudhra-top-nav .ems-headerlogo-wrappr-mb {
    padding: 0px 0px;
    background: #ffffff;
  }
}
@media (max-width: 991px) {
    .emudhra-top-nav.navbar .nav-link {
        font-size: 16px;
        padding: 21px 0 !important;
    }
}
/* NAV CLOSE BUTTON */
.emudhra-top-nav .emudhra-nav-close {
  z-index: 999;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 24px;
  padding: 5px 10px;
  color: #374151;
}

@media (max-width: 991px) {
  .emudhra-top-nav .emudhra-nav-close {
    display: block;
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .emudhra-top-nav  .qx-brandlogo {
        width: 122px;
        max-height: 34px;
        z-index: 999;
        display: block;
    }
}

@media (min-width: 992px) {
  .emudhra-top-nav .emudhra-nav-close {
    display: none;
  }
}

/* DROPDOWN MENUS */
.emudhra-top-nav .emudhra-nav-dropdown li {
  list-style-type: none;
}

/* IMPORTANT: Prevent ANY hover behavior on eMudhra dropdowns */
.emudhra-top-nav .emudhra-nav-item-header:hover > .emudhra-nav-dropdown,
.emudhra-top-nav .emudhra-nav-item-header:hover .emudhra-nav-dropdown,
.emudhra-top-nav li:hover > .emudhra-nav-dropdown,
.emudhra-top-nav li:hover .emudhra-nav-dropdown {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -999 !important;
}

@media (max-width: 991px) {
  .emudhra-top-nav .emudhra-nav-dropdown {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    z-index: 1 !important;
  }

  .emudhra-top-nav .emudhra-nav-item-header.open .emudhra-nav-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    pointer-events: all !important;
  }

  /* Mobile-friendly dropdown content */
  .emudhra-top-nav .emudhra-nav-dropdown .ems-h-dropdown {
    background-color: #fff;
    box-shadow: none;
    border: none;
    border-radius: 0px;
    padding: 0px 15px;
    margin: 10px 0;
  }

  /* Stack columns vertically on mobile */
  .emudhra-top-nav .emudhra-nav-dropdown .feature-container {
    flex-direction: column;
  }

  .emudhra-top-nav .emudhra-nav-dropdown .feature-container__item {
    padding: 0px 0 !important;
    border: none !important;
  }

  /* Mobile dropdown links */
  .emudhra-top-nav .emudhra-nav-dropdown .ems-drp-link {
    padding: 12px 0;
  }

  .emudhra-top-nav .emudhra-nav-dropdown .ems-drp-link-list__item {
    margin-bottom: 10px!important;
  }
}

@media (min-width: 992px) {
  .emudhra-top-nav .emudhra-nav-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0 !important;
    transition: 0.3s ease-in-out;
    pointer-events: none !important;
    width: auto;
    padding-top: 17px;
    z-index: -1 !important;
  }

  /* Explicitly prevent hover from showing dropdown */
  .emudhra-top-nav .emudhra-nav-item-header:hover .emudhra-nav-dropdown {
    opacity: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
  }

  /* Only show on click (when .open class is added) */
  .emudhra-top-nav .emudhra-nav-item-header.open .emudhra-nav-dropdown,
  .emudhra-top-nav .emudhra-nav-link.open + .emudhra-nav-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    pointer-events: all !important;
  }

  .emudhra-top-nav .emudhra-nav-dropdown--sm {
    min-width: 334px;
    max-width: 334px;
  }

  .emudhra-top-nav .emudhra-nav-dropdown--md {
    min-width: 750px;
    max-width: 750px;
  }

  .emudhra-top-nav .emudhra-nav-dropdown--lg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
  }
}

@media (min-width: 992px) {
  .emudhra-top-nav .emudhra-nav-dropdown--lg {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  .emudhra-top-nav .emudhra-nav-dropdown--lg {
    width: 1266px;
  }
}

@media (min-width: 1400px) {
  .emudhra-top-nav .emudhra-nav-dropdown--lg {
    width: 1266px;
  }
}

@media (min-width: 992px) {
  /* Main scrollable container for Products dropdown */
  .emudhra-top-nav .emudhra-nav-dropdown--lg .feature-container {
    height: clamp(400px, 60vh, 600px);
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .emudhra-top-nav .emudhra-nav-dropdown--lg .feature-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  /* Keep these elements at 100% height for gray background to extend fully */
  .emudhra-top-nav .emudhra-nav-dropdown--lg .megamenu-tab-content-wrapper,
  .emudhra-top-nav .emudhra-nav-dropdown--lg .megamenu-lists,
  .emudhra-top-nav .emudhra-nav-dropdown--lg .gray,
  .emudhra-top-nav .emudhra-nav-dropdown--lg .megamenu-tab-wrapper {
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .emudhra-top-nav .emudhra-nav-dropdown--lg .feature-container {
    height: clamp(450px, 60vh, 600px);
    overflow-y: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .emudhra-top-nav .emudhra-nav-dropdown--lg .feature-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
}

.emudhra-top-nav .emudhra-nav-dropdown--sm .ems-drp-link-list__item {
  width: 100%;
  margin-bottom: 20px;
}

.emudhra-top-nav .emudhra-nav-dropdown--md .ems-drp-link-list__item {
  width: 680px;
}

/* NAV ITEM HEADER */
.emudhra-top-nav .emudhra-nav-item-header {
  position: relative;
}

.emudhra-top-nav .emudhra-nav-item-header:first-child {
  position: unset !important;
}

.emudhra-top-nav .emudhra-nav-item-header:nth-child(2) {
  position: unset !important;
}

.emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link {
  position: relative;
}

@media (max-width: 991px) {
  .emudhra-top-nav .mb-accordion::after {
    content: url("../images/icons/down-arrow.svg") !important;
    right: 2px;
    top: 50%;
    transform: translateY(-50%) rotate(0);
    transition: 0s !important;
  }
}

@media (max-width: 767px) {
  .emudhra-top-nav .mb-accordion.open::after {
    transform: translateY(-50%) rotate(-180deg) !important;
  }
}

@media (max-width: 767px) {
  .emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link {
    border-top: 1px solid #E5E7EB;
  }
}

.emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link.open.active {
  font-weight: 700 !important;
}

.emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link::after {
  position: absolute;
  content: "";
  transition: 0.4s ease-in-out;
  z-index: 9;
}

@media (min-width: 992px) {
  .emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link::after {
    width: 0;
    height: 4px;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    background-color: #6875F5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
 .emudhra-top-nav .common-backdrop {
    padding: 35px 25px 25px 25px;
}
.emudhra-top-nav .ems-h-dropdown .feature-container__item.common-backdrop{
  border-right: 1px solid #ddd;

}
.emudhra-top-nav .ems-h-dropdown .feature-container__item.common-backdrop:nth-child(2){
  border: none;

}
  .emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link.open.active::after {
    width: 24px;
    opacity: 0;
  }
.blogs_pro img {
    border-radius: 20px;
    min-height: 70px;
}
  .emudhra-top-nav .emudhra-nav-item-header .emudhra-nav-link:hover::after {
    width: 23px;
    opacity: 1;
  }
}

/* HEADER DROPDOWN */
.emudhra-top-nav .ems-h-dropdown {
  padding: 0;
}

@media (min-width: 992px) {
  .emudhra-top-nav .ems-h-dropdown {
    background-color: #ffffff;
    box-shadow: 0px 4px 40px 0px rgba(28, 100, 242, 0.08);
    border-radius: 12px;
    border: 1px solid #FEECDC;
  }
}

.emudhra-top-nav .ems-h-dropdown__head h3,
.emudhra-top-nav .ems-h-dropdown__head .h3 {
  color: #9CA3AF;
  font-size: 14px !important;
}

@media (min-width: 768px) {
  .emudhra-top-nav .ems-h-dropdown__head h3,
  .emudhra-top-nav .ems-h-dropdown__head .h3 {
    font-size: 16px !important;
  }
}

/* MEGAMENU TABS */
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists {
  display: flex;
  height: 100%;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper {
  background: #f6f5ff;
  height: 100%;
  width: 100%;
  padding: 30px 0px 36px 24px;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li {
  cursor: pointer;
  padding: 12px 15px;
  font-size: 15px;
  font-weight: 500;
  color: #1C64F2;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li span,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li span {
  display: inline-block;
  line-height: 1.4;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li:hover,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li:hover {
  background: #fffdf8;
  color: #000;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li.active,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li.active {
  background: #fff;
  border-left-color: #007bff;
  color: #007bff;
  font-weight: 600;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li.active:after,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li.active:after {
  content: "\ea1d";
  font-family: boxicons;
  color: #495057;
  font-weight: 500;
  font-size: 1rem;
  position: absolute;
  width: 18px;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 992px) {
  .emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .products-tabs li.active:after,
  .emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .gray .megamenu-tab-wrapper .industry-tabs li.active:after {
    content: "\ea17";
    right: 25px;
  }
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list {
  flex: 1;
  padding: 42px 20px 20px;
  border-right: 1px solid #ddd;
  height: 100%;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper #industry-tabs-content .industry-tab-content {
  display: none;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper #industry-tabs-content .industry-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper #tabs-content .products-tab-content {
  display: none;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper #tabs-content .products-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .product-hero {
  margin-bottom: 20px;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .product-hero .title .main-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px !important;
  color: #222;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .product-hero .title .sub-title {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .product-hero .hero-visual img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FEATURE CARDS */
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card {
  display: block;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: #333;
  height: 100%;
  transition: all 0.3s ease;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card .md-flex {
  display: flex;
  gap: 15px;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card .md-flex img {
  width: 22px;
  height: 22px;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card .md-flex h5,
.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card .md-flex .h5 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card p {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card:hover {
  border-color: #1C64F2;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list .megamenu-content-wrapper .feature-cards .feature-card:hover p {
  color: #1C64F2;
}

@media (max-width: 992px) {
  .emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list {
    border-right: 0px;
  }
}

@media (max-width: 768px) {
  .emudhra-top-nav .megamenu-tab-content-wrapper .megamenu-lists .megamenu-list {
    padding: 10px 20px 20px;
    border-right: 0px;
  }
}

/* SUB BRAND */
.emudhra-top-nav .sub_brand .brand-mark {
  max-height: 46px;
}

@media (min-width: 1200px) {
    .emudhra-top-nav .h-caseStudy-listWrap {
        width: 100%;
    }
}
@media (min-width: 1200px) {
    .emudhra-top-nav .ems-drp-link-lg__item {
        margin-bottom: 30px;
    }
}
@media (min-width: 1200px) {
   .emudhra-top-nav .feature-container__item:nth-child(odd) {
        padding-right: 0px;
        padding-left: 0px;
    }
}
/* FEATURE CONTAINER */
.emudhra-top-nav .feature-container {
  display: flex;
}
@media (min-width: 992px) {
    .emudhra-top-nav .feature-container__item:nth-child(even) {
        padding: 30px 15px 20px 20px;
    }
}
@media (min-width: 992px) {
    .emudhra-top-nav .feature-container__item:nth-child(even) {
        border-left: 0px;
    }
}
/* LOGIN BUTTONS */
.emudhra-top-nav .ems-h-login {
  gap: 15px;
}

/* MOBILE-ONLY CONTACT BUTTON */
@media (max-width: 991px) {
  .emudhra-top-nav .d-md-none .ems-btn-login-h-mb {
    display: inline-block;
  }
}

@media (min-width: 992px) {
  .emudhra-top-nav .d-md-none {
    display: none !important;
  }
}

/* NAVBAR COLLAPSE POSITIONING - Simple absolute (matches eMudhra main site) */
@media (max-width: 767px) {
  .emudhra-top-nav .navbar-collapse {
    position: fixed;
    left: 0;
    right: 0;
    background: var(--white);
    background: #ffffff;
    padding: 10px 20px 40px 20px;
    z-index: 10000 !important;
    top: 0px;
    bottom: 0;
    overflow-y: auto;
    min-height: 100vh;
  }

  .emudhra-top-nav .navbar-collapse .emudhra-nav-link {
    color: #000000;
  }

  .emudhra-top-nav .navbar-collapse .emudhra-nav-link.active {
    color: var(--secondary) !important;
  }
}

/* COUNTRY LIST */
.emudhra-top-nav .country-list li:hover {
  background-color: #f8f8f8;
}
.emudhra-top-nav .industry-common{
    position: relative;
    background-image: linear-gradient(353deg, rgb(243, 242, 255), #dce3fe);
    border-radius: var(--radius20);
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    display: block;
    text-align: left;
    width: 100%;
}
.emudhra-top-nav .industry-common p{
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}
.emudhra-top-nav .industry-common .ems-arrow{
    right: 18px;
    top: 30px;
 }
 .industry-swiper img {
    width: 100%;
    border-radius: 16px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   FALLBACK TAB HIDING RULES
   Forces non-active product tabs to be hidden
   =========================================== */

/* Hide all product tab content by default */
.emudhra-top-nav .products-tab-content,
.emudhra-top-nav .tab-content.products-tab-content,
.emudhra-top-nav #tabs-content > div {
  display: none !important;
}

/* Show only the active tab */
.emudhra-top-nav .products-tab-content.active,
.emudhra-top-nav .tab-content.products-tab-content.active,
.emudhra-top-nav #tabs-content > div.active {
  display: block !important;
}

/* Same for industry tabs */
.emudhra-top-nav .industry-tab-content {
  display: none !important;
}

.emudhra-top-nav .industry-tab-content.active {
  display: block !important;
}
