.mega-menu-overlay {
    background: rgba(38, 34, 98, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: none !important;
}

.mega-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================== */
/* Mega Menu Container (Eleks Smooth Drop)    */
/* ========================================== */
.mega-main-container {
    /* Layout & Positioning (Moved from HTML) */
    position: fixed;
    top: 77px;
    left: 7.5%;
    width: 85%;
    background-color: #ffffff;
    z-index: 50;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* Tailwind shadow-2xl */
    
    border-radius: 0 0 30px 30px;
    border-top: 1px solid #9CA3AF;
    
    /* Hidden state */
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out !important;
}

.mega-main-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ========================================== */
/* Layout Paddings & Radius                   */
/* ========================================== */
.mega-sidebar {
    border-radius: 0 0 0 30px;
    padding: 30px; 
}

.mega-column-padding {
    padding-top: 30px;
    padding-left: 0px;
    padding-right: 0px;
}

/* ========================================== */
/* Default Typography (1601px & up)           */
/* ========================================== */
.mega-heading-main { font-size: 32px; font-weight: 300; letter-spacing: -0.5px; margin-bottom: 32px; }
.mega-menu-flex { display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 50px; }
.mega-link-main { font-size: 18px; font-weight: 300; letter-spacing: -0.5px; display: flex; align-items: center; gap: 16px; transition: opacity 0.3s ease; }
.mega-link-main:hover { opacity: 0.8; color: #C68AFE;}
.mega-sub-heading { font-size: 24px; font-weight: 300; letter-spacing: -0.5px; margin-bottom: 24px; }
.mega-view-all:hover{
  color: #000;
}
/* Sub Links (Text color & hover moved from HTML) */
.mega-sub-links { 
    color: #000000;
    font-size: 16px; 
    font-weight: 300; 
    line-height: 34px; 
    letter-spacing: -0.5px; 
    display: block; 
    transition: color 0.3s ease; 
}
.mega-sub-links:hover { 
    color: #5C5CE0; 
}

.mega-view-all { 
    font-size: 18px; 
    font-weight: 500; 
    letter-spacing: -0.5px; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    margin-top: 30px; 
    border-bottom: 1px solid #5C5CE0;
}
.mega-card-heading { font-size: 24px; font-weight: 300; letter-spacing: -0.5px; margin-top: 20px; margin-bottom: 12px; text-transform: capitalize; }
.mega-card-divider { background: #9CA3AF; height: 1px; width: 100%; margin: 50px 0; }


/* ========================================== */
/* Main Navigation Link Active State & Dot    */
/* ========================================== */
.nav-main-link {
    position: relative;
    color: #262262; 
    transition: color 0.2s ease;
}

/* 10x10 Circle Dot Setup */
.nav-main-link::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #5C5CE0; 
    border-radius: 50%; 
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px; 
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.nav-main-link:hover {
    color: #5C5CE0;
}
.nav-main-link:hover::after {
    opacity: 1;
}

li.active .nav-main-link {
    color: #5C5CE0 !important;
}
li.active .nav-main-link::after {
    opacity: 1;
}

/* ========================================== */
/* Mega Menu - Right Side Box (Industries)    */
/* ========================================== */
.mega-right-box {
    padding: 30px;
}

.mega-right-heading {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 8px; /* Heading aur description ke beech slight gap */
}

.mega-right-desc {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 30px; /* 187.5% */
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}


/* ========================================== */
/* Mega Menu - Products Styles                */
/* ========================================== */

/* Typography */
.mega-product-desc {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.5px;
}

.mega-product-heading {
    color: #262262;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.5px;
}

/* Padding Classes */
.mega-product-box-top {
    padding: 30px 30px 50px 30px; /* Top, Right, Bottom, Left */
}

.mega-product-box-bottom {
    padding: 20px 30px 30px 30px; 
}

.mega-product-card {
    padding: 30px;
}

/* 3rd Column Image Wrapper (For your custom ::after) */
.product-img-wrapper {
    display: block;
}

.product-card-hover {
    cursor: pointer;
}

/* Image Wrapper */
.product-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Main Image */
.product-feature-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 1. Parent pe hover hone se Image Scale hogi */
.product-card-hover:hover .product-feature-img {
    transform: scale(1.1);
}

/* ========================================== */
/* Bottom Left Overlay Boxes                  */
/* ========================================== */
.insidetrackq, .insidehyper {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: 255px;
    height: 61px;
    border-radius: 0 50px 0 0; /* Top Right Curve */
}

/* Box 1: TrackIQ Background */
.insidetrackq {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
    background-blend-mode: overlay, normal;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Box 2: Hyperstruck Background */
.insidehyper {
    background: rgba(38, 34, 98, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Logo Setup */
.product-overlay-logo {
    margin-left: 16px;
    height: 24px;
    width: auto;
}

/* ========================================== */
/* Arrow Circle & Icon Transitions            */
/* ========================================== */
.arrow-circle3 {
    width: 32.398px;
    height: 32.398px;
    border-radius: 50%;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.product-card-hover:hover .arrow-circle3 {
    background-color: #262262;
}

/* SVG Arrows */
.arrow-white {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arrow-gradient {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-card-hover:hover .arrow-white {
    opacity: 1;
}

.product-card-hover:hover .arrow-gradient {
    opacity: 0;
}

/* ========================================== */
/* Mega Menu - Clients Specific Styles        */
/* ========================================== */

/* Logos Box Flex Layout */
.client-logos-box {
    display: flex;
    width: 100%; 
    height: 360px;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 50px 80px; 
    flex-wrap: wrap;
    padding: 30px;
}

/* Vertical Flex Box for Stats */
.client-stats-box {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 70px;
}

/* Big Stat Number Style */
.mega-stat-number {
    font-size: 62px;
    font-style: normal;
    font-weight: 200;
    line-height: 72px; /* 116.129% */
    letter-spacing: -2.48px;
}

/* Stat Sub-Text Style */
.mega-stat-text {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
    margin-top: 8px; 
}

/* ========================================== */
/* Mega Menu - About Us Specific Styles       */
/* ========================================== */

/* Sub Headings */
.mega-about-sub-heading {
    color: #5C5CE0;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Process Boxes Padding */
.mega-process-box {
    padding: 30px;
}

/* Process Box Heading */
.mega-process-heading {
    color: #000;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.5px;
}

/* Process Box Description */
.mega-process-desc {
    color: #000;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.5px;
}

/* Separator Lines (Row and Column wise) */
.mega-process-border-b {
    border-bottom: 1px solid rgba(156, 163, 175, 0.50);
}

.mega-process-border-r {
    border-right: 1px solid rgba(156, 163, 175, 0.50);
}
