
/**
 * CertiNext header styles
 * Header layout and sticky behaviour
 */
/* ========================================
   FIX HORIZONTAL OVERFLOW ISSUE
   ======================================== */
/* Fix Bootstrap row negative margins causing overflow */

/* Constrain mega menu dropdown width to viewport */


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

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

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

/* Secondary header sticky behavior */
.cnx-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 the secondary header becomes fixed */
#header.scroll-up .cnx-header.sticky-active ~ * {
  margin-top: 0;
}
/* STICKY TOP HEADER */

/* BRAND LOGO */

/* NAVIGATION HEADER */

/* NAVIGATION LIST */

/* MOBILE LOGO WRAPPER */

/* NAV CLOSE BUTTON */

/* DROPDOWN MENUS */

/* NAV ITEM HEADER */


@media (min-width: 992px) {
.blogs_pro img {
    border-radius: 20px;
    min-height: 70px;
}
}
/* HEADER DROPDOWN */

/* MEGAMENU TABS */

/* FEATURE CARDS */

.megamenu-tab-content-wrapper{
  overflow-x: hidden;
}
/* SUB BRAND */

@media (min-width: 992px) {
    .h-caseStudy-listWrap:before {
        content: "";
        border-left: 1px solid #e5e5e5;
        width: 1px;
        height: clamp(400px, 60vh, 600px);
        left: 0;
        position: absolute;
        top: -42px;
    }
}
@media (min-width: 1200px) {
    .h-caseStudy-listWrap:before {
        height: clamp(465px, 60vh, 600px);
    }
}
/* FEATURE CONTAINER */

/* LOGIN BUTTONS */

/* MOBILE-ONLY CONTACT BUTTON */

/* COUNTRY LIST */

 .industry-swiper img {
    width: 100%;
    border-radius: 16px;
}

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