:root {
    --bg-deep: #000000;
    --bg-elevated: #0a0a0a;
    --bg-glass: rgba(10, 10, 10, 0.75);

    /* IntelliCoreX Custom Branding */
    --brand-purple: #6a00c4;
    --brand-pink: #ff007f;
    --brand-gradient: linear-gradient(90deg, var(--brand-purple), var(--brand-pink));

    --text-primary: #ffffff;
    /* --text-secondary: #9f9f9f; */
      --text-secondary: #ffffff; 
    --text-muted: #5a5a5a;
    --stroke: rgba(255, 255, 255, 0.08);
    --stroke-heavy: rgba(255, 255, 255, 0.18);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
}

::selection {
    background: var(--brand-purple);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-purple);
}

/* Utilities */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-animated {
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* .text-gradient-solid {
    color: var(--brand-pink);
} */

.text-secondary-custom {
    color: var(--text-secondary);
}

.bg-elevated {
    background: var(--bg-elevated);
}

.bg-deep {
    background: var(--bg-deep);
}

.border-dark-custom {
    border-color: var(--stroke) !important;
}

.section-padding {
    padding: 40px 0;
}

.tracking-mega {
   letter-spacing: 0px;
    text-transform: capitalize;
    font-size: 24px;
    font-weight: 500;
}

/* Typography */
.section-title,
.hero-title,
h1,
h2,
h3,
h4,
h5 {
    /*font-family: var(--font-heading);*/
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 700;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
}

/* Dynamic Borders & Hovers */
.border-hover-gradient {
    transition: var(--transition-smooth);
    border: 1px solid var(--stroke);
}

.border-hover-gradient:hover {
    
    border-color: white;
    /* transform: translateY(-3px); */
    box-shadow: 0 15px 40px rgba(255, 0, 127, 0.1);
}

.hover-bg-gradient {
    transition: var(--transition-smooth);
}

.hover-bg-gradient:hover {
    background: rgba(106, 0, 196, 0.05);
    border-color: var(--brand-purple) !important;
}

/* Navbar */
.navbar-global {
    height: 88px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    z-index: 7777;
}

.navbar-global.scrolled {
    height: 70px;
    background: rgba(0, 0, 0, 0.95);
    /*border-bottom: 1px solid var(--stroke);*/
}

.navbar-global .nav-link {
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    /* text-transform: uppercase; */
    margin: 0 8px;
    letter-spacing: 0.1em;
    position: relative;
}

.navbar-global .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: 0.3s ease;
}

.navbar-global .nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-accenture,
.btn-outline-custom,
.btn-outline-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.15em;
    font-size: 18px;
    padding: 16px 36px;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.btn-accenture {
    background: var(--brand-gradient);
    color: #fff;
}

.btn-accenture:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 18px 45px rgba(255, 0, 127, 0.3);
}

.btn-outline-custom {
    border: 1px solid var(--stroke-heavy);
    color: #fff;
    background: transparent;
}

.btn-outline-custom:hover,
.btn-outline-small:hover {
    border-color:#fff;
    color: #fff;
    background: rgba(164, 9, 255, 0.1);
}

.btn-outline-small {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 12px 24px;
    font-size: 11px;
}

/* Hero */
.hero-section {
    min-height: 68vh;
    display: flex;
    align-items: center;
    position: relative;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 0;
}

.grid-mask {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 90%);
    z-index: 1;
}

.hero-title {
    font-size: clamp(3.5rem, 4.5vw, 7.5rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
}

.hero-side-card,
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(18px);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mini-stat {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
}

.mini-stat h3 {
    font-size: 1.7rem;
    margin-bottom: 5px;
    color: #fff;
}

.mini-stat span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Marquee / Infinite Ticker */
.marquee-wrap {
    overflow: hidden;
    position: relative;
}

.marquee-content {
    width: max-content;
}

.marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 80px;
    color: var(--text-secondary);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Cards & Icons */
.stats-card,
.service-card,
.insight-card,
.feature-mini-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 40px;
    height: 100%;
}

.service-icon,
.feature-mini-card i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(106, 0, 196, 0.15);
    color: var(--brand-pink);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link i {
    margin-left: 6px;
    transition: 0.3s;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
    color: var(--brand-pink);
}

/* About visual */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
}

.visual-box {
    border: 1px solid var(--stroke);
    border-radius: 6px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.visual-box:hover {
    transform: scale(1.03);
    border-color: var(--brand-pink);
    background: rgba(255, 0, 127, 0.05);
}

.visual-box.large {
    min-height: 160px;
}

.visual-box.wide {
    grid-column: span 2;
    min-height: 120px;
}

/* Industry grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--stroke);
    border-radius: 8px;
    overflow: hidden;
}

.industry-item {
    background: var(--bg-deep);
    padding: 65px 40px;
    transition: var(--transition-smooth);
}

.industry-item:hover {
    background: #080808;
}

/* Methodology Framework */
.framework-step {
    border-right: none !important;
    border-bottom: none !important;
}

.framework-step:last-child {
    border-right: 1px solid var(--stroke) !important;
}

@media (max-width: 991px) {
    .framework-step {
        border-right: 1px solid var(--stroke) !important;
        border-bottom: 1px solid var(--stroke) !important;
    }
}

/* Global Reach (NEW) */
.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(39, 201, 63, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(39, 201, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
    }
}

.global-card {
    padding: 25px;
    transition: var(--transition-smooth);
}

/* Terminal */
.terminal-window {
    background: #050505;
    border: 1px solid var(--stroke-heavy);
    border-radius: 8px;
    padding: 35px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.terminal-top {
    display: flex;
    gap: 8px;
}

.terminal-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-top span:nth-child(1) {
    background: #ff5f56;
}

.terminal-top span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-top span:nth-child(3) {
    background: #27c93f;
}

.custom-progress {
    height: 4px;
}

.custom-progress-bar {
    background: var(--brand-gradient);
}

/* Quote */
.border-gradient-left {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
}

.border-gradient-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--brand-gradient);
}

/* Case cards */
.case-card {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: var(--transition-smooth);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.95));
    transition: 0.5s;
}

.case-card:hover .case-overlay {
    opacity: 0.8;
    background: linear-gradient(180deg, rgba(106, 0, 196, 0.2), rgba(0, 0, 0, 0.95));
}

.case-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.case-card:hover .case-content {
    transform: translateY(0);
}

.case-tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* CTA */
.cta-panel {
    background: var(--bg-deep);
    border: 1px solid var(--stroke);
    border-radius: 8px;
    padding: 90px 40px;
}

/* Cursor */
/* @media (min-width: 992px) {

    body,
    a,
    button,
    .service-card,
    .industry-item,
    .case-card {
        cursor: none;
    }
} */

/* .cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
} */

/* .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-pink);
} */

/* .cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 0, 127, 0.5);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
} */

/* .cursor-outline.hovering {
    width: 80px;
    height: 80px;
    background: rgba(106, 0, 196, 0.1);
    border-color: var(--brand-purple);
} */

/* Responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.7rem, 12vw, 5rem);
    }
}



/* ----------------------------- */
/* ----------------------------- */
/* ==========================================================================
   ADVANCED INSIGHTS GRID (SLIDE & REVEAL EFFECT)
   ========================================================================== */
.insight-grid-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 400px;
    background-color: #111; /* Dark background so it looks good when image hides */
    text-decoration: none;
    overflow: hidden;
    padding: 40px 30px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* overflow: hidden; */
     /* Clips the background as it moves to the corner */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.6s ease;
    transform: scale(1);
    cursor: pointer;
    z-index: 1;
}
.insight-grid-card:hover {
    /* Subtle Zoom In */
    transform: scale(1.02); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Adds depth */
}

/* Background Image Layer */
.igc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    opacity: 1;
    transform: translateY(0);
    /* Changed transition to handle both movement and fading */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Gradient Overlay (Normal State) */
.igc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 85%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

/* Hover Gradient (Fades in to keep text readable) */
.igc-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,15,0.95) 0%, rgba(20,10,35,0.95) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Content Container */
.igc-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Typography */
.igc-tag {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 10px;
}

.igc-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 0;
}

/* Hidden Description (Starts right, slides left) */
.igc-hidden-desc {
    margin-top: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    opacity: 0;
    /* Starts pushed 40px to the right */
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s; 
    pointer-events: none; 
}

/* Bottom Expand Link (Also slides in from right to match text) */
.igc-expand {
    margin-top: auto;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.15s; 
}

/* =========================================
   HOVER STATES
   ========================================= */

/* Image slides DOWN (translateY 50%) and fades out */
/* 2. Apply the move + fade + blur on hover */
/* 2. Hover State - The smooth blur into the corner */

.insight-grid-card:hover .igc-bg {
    transform: translate(40%, 40%) scale(0.8); /* Moves to bottom-right corner */
    opacity: 0;
    filter: blur(20px); /* Deep blur for a "smoke" effect */
}

/* Fade in the overlay pseudo-element smoothly */
.insight-grid-card:hover .igc-overlay::after {
    opacity: 1;

}

/* Text and link slide LEFT (translateX 0) and fade in */
.insight-grid-card:hover .igc-hidden-desc,
.insight-grid-card:hover .igc-expand {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.insight-grid-card:hover .igc-expand {
    color: var(--brand-pink, #ff007f);
}

/* =========================================
   LIGHT THEME VARIANT
   ========================================= */
.igc-light {
    background-color: #f4f4f4;
}
.igc-light .igc-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0) 100%);
}
.igc-light .igc-overlay::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(245,240,250,0.95) 100%);
}
.igc-light .igc-tag,
.igc-light .igc-title {
    color: #000000;
}
.igc-light .igc-hidden-desc {
    color: #333333;
}
.igc-light .igc-expand {
    color: #000000;
}




/* ==========================================================================
   DYNAMIC HERO TEXT ANIMATION
   ========================================================================== */
.dynamic-text-wrapper {
    display: inline-block;
    overflow: hidden; /* Keeps the slide effect contained */
    vertical-align: bottom;
   
     color: white;
}

#hero-dynamic-text {
    display: inline-block;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    transform: translateY(0);
    color: white;
}

/* Classes applied by JS during the transition */
#hero-dynamic-text.fade-out {
    opacity: 0;
    transform: translateY(-20px); /* Slides up and fades out */
}

#hero-dynamic-text.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Prepares to slide up into view */
}


/* ---------------- */

/* ==========================================================================
   SWIPER.JS CUSTOMIZATION (ARROWS & DOTS)
   ========================================================================== */
.testimonialSwiper {
    /* padding-bottom: 80px;  */
    /* Space for dots */
    padding-top: 15px; 
    overflow: hidden; 
}

.testimonialSwiper .swiper-slide {
    height: auto;
}

/* --- Dots Styling --- */
.testimonialSwiper .swiper-pagination {
    bottom: 0px !important;
}

.testimonialSwiper .swiper-pagination-bullet {
    background: #555;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background: var(--brand-gradient);
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

/* --- Arrows Styling --- */
.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
    background: #000000c4;
      border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    /* box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3); */
    top: auto;
    bottom: -5px; 
    /* Aligns arrows with the dots at the bottom */
}

/* Position arrows on the sides of the dots */
.testimonialSwiper .swiper-button-prev {
    top: 55%;
    left: 10px;
}
.testimonialSwiper .swiper-button-next {
   top: 55%;
    right: 10px;
}

/* Resize the default Swiper arrow icons */
.testimonialSwiper .swiper-button-next::after,
.testimonialSwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 900;
}

/* Responsive arrow positioning for mobile */
@media (max-width: 768px) {
    .testimonialSwiper .swiper-button-prev { left: 15%; }
    .testimonialSwiper .swiper-button-next { right: 15%; }
}
/* -------------------- */

.min-vh-85{
margin-top: 60px;
}

.swiper-wrapper{
    margin-bottom: 40px;
}






/* --------------------- */


    .hero-lines{
      position:absolute;
      right:-120px;
      top:50%;
      transform:translateY(-50%);
      width:52%;
      height:85%;
      z-index:1;
      pointer-events:none;
    }

    .hero-lines span{
      position:absolute;
      display:block;
      width:2px;
      border-radius:999px;
      background:linear-gradient(to top, transparent, rgba(20,232,255,.95), rgba(161,0,255,.95), transparent);
      box-shadow:0 0 22px rgba(20,232,255,.45), 0 0 40px rgba(161,0,255,.25);
      animation:fiberWave linear infinite;
      transform-origin:bottom center;
    }

     @media (max-width: 991px){
      .hero-lines{
        width:80%;
        right:-120px;
        opacity:.55;
      }
    }

    @keyframes fiberWave {
  0% {
    transform: translateY(0) rotate(-18deg) scaleY(0.92);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-22px) rotate(10deg) scaleY(1.08);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(-18deg) scaleY(0.92);
    opacity: 0.45;
  }
}

/* ================================== */

/* Ensure all slides in the expertise carousel have the same height */
.expertiseSwiper .swiper-slide {
  height: auto;
}

.expertiseSwiper .insight-grid-card {
  height: 450px; /* Adjust based on your design preference */
  margin-bottom: 15px; /* Space for pagination dots */
}

/* Fix for navigation buttons visibility */
.expertiseSwiper .swiper-button-next,
.expertiseSwiper .swiper-button-prev {
  color: #fff;
  background: rgba(0,0,0,0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.expertiseSwiper .swiper-button-next:after,
.expertiseSwiper .swiper-button-prev:after {
  font-size: 18px;
}




/* ===================== */


/* ===========service only menu header==================== */
/* --- Mega Menu Dark Layout --- */
.mega-dropdown .mega-menu {
    background-color: #000000 !important; /* Deep Dark Background */
    border-top: 1px solid var(--border-dark-custom) !important;
    padding: 0 !important;
}

/* Sidebar Tab Styling */
.mega-tabs-list .nav-link {
    display: flex;
    align-items: center;
    padding: 25px 30px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #999999 !important; /* Muted Inactive Text */
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-dark-custom) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Active Tab: Solid White Box */
.mega-tabs-list .nav-link.active {
    background-color: var(--tn-white-color) !important;
    /* color: #a100ff !important;         */

}

/* Right Side Spacing & Text */
.mega-tab-content {
    display: none;
    padding: 20px 60px !important; /* Large Spacing for Luxury Look */
    min-height: 430px;
}

.mega-tab-content.active {
    display: block;
    animation: fadeInSlide 0.4s ease;
}

.service-link-item h6 {
    color: var(--tn-white-color) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
}
.service-link-item h5{
font-size: 16px !important;
    font-weight: 400 !important;
}
.service-link-item{
color: white;
}
.service-link-item p {
    color: #888888 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}


/* COMMON STYLE for h5 + h6 */
.service-link-item h6,
.mega-service-header h5 {
    color: var(--tn-white-color);
    font-size: 18px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* underline base */
.service-link-item h6::after,
.mega-service-header h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg,#00c6ff,#0072ff);
    transition: width 0.3s ease;
}

/* hover */
.service-link-item h6:hover::after,
.mega-service-header h5:hover::after {
    width: 100%;
}

/* ACTIVE */
.service-link-item h6.active-service::after,
.mega-service-header h5.active-service::after {
    width: 100%;
}


.nav-link.active-service {
    color: #00c6ff !important;
    position: relative;
}

.nav-link.active-service::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg,#00c6ff,#0072ff);
}







/* Bottom CTA Link */
.mega-tab-content .text-gradient-solid {
    letter-spacing: 2px;
    font-size: 12px;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-menu-inner1{
    padding: 20px 40px !important;
}

/* Featured Header Box inside Mega Menu */
.mega-service-header {
    /* background-color: #f8fafd;  */
    /* Very light blue/grey box */
    border-radius: 4px;
    /* padding-top: 10px; */
    margin-bottom: 20px;
    transition: background 0.3s ease;
}


.mega-service-header a {
    text-decoration: none !important;
    display: block;
}

.mega-service-header h5 {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .mega-service-header:hover h5 {
    
    color: #070707 !important; 
} */


.mega-service-header p {
    color: #6d6d6d !important;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 80%;
}

/* .mega-service-header:hover {
    background-color: #f0f4f9;
   
} */

/* Hover effect for the arrow */
/* .mega-service-header h5 i {
    transition: transform 0.3s ease;
} */

.mega-service-header:hover h5 i {
    transform: translateX(5px);
}


/* --- Mobile Responsiveness (Max-width: 991px) --- */
@media (max-width: 991.98px) {
    .mega-menu {
        max-height: 80vh; /* Limits height on mobile for scrolling */
        overflow-y: auto;
        background-color: #111111 !important;
    }

    .mega-menu-inner .row.g-0 {
        flex-direction: column; /* Stack sidebar and content */
    }

    /* Sidebar becomes a scrollable horizontal bar or stacked list */
    .col-lg-3.border-end {
        border-right: none !important;
        border-bottom: 1px solid var(--border-dark-custom) !important;
    }

    .mega-tabs-list {
        padding: 10px 0 !important;
    }

    .mega-tabs-list .nav-link {
        padding: 15px 20px !important;
        font-size: 13px !important;
    }

    /* Content Area Adjustments */
    .mega-tab-content {
        padding: 10px 13px !important;
    }

    .mega-service-header {
        padding: 14px;
        margin-bottom: 14px;
    }

    .mega-service-header p {
        max-width: 100%; /* Full width on mobile */
        font-size: 14px;
    }

    .service-link-item h6 {
        font-size: 14px !important;
    }

    /* Grid becomes 1 column on very small screens */
    .mega-tab-content .row.g-5 {
        --bs-gutter-y: 2rem; /* Reduce gap for mobile */
    }
}



@media (max-width: 991.98px) {
    /* 1. Ensure the main navbar collapse doesn't cut off */
    .navbar-collapse {
        max-height: 85vh; /* Leaves room for the top bar */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 2. Make the Mega Menu containers scrollable */
    .mega-menu {
        max-height: 60vh; /* Set a height limit for the inner content */
        overflow-y: auto !important;
        overflow-x: hidden;
        display: none; /* Controlled by your JS/Bootstrap */
        padding-bottom: 20px;
    }

    /* 3. Show menu when parent is open/active */
    .nav-item.dropdown:hover > .mega-menu,
    .nav-item.dropdown.show > .mega-menu {
        display: block;
    }

    /* 4. Fix for the Country Dropdown scroll */
    .country-main-wrapper {
        max-height: 300px;
        overflow-y: auto !important;
    }

    /* 5. Ensure the Service Tabs layout doesn't break scroll */
    .mega-menu-inner1 .row {
        display: flex;
        flex-direction: column;
    }
    .mega-tab-content {
   
    min-height: 100%;
}
}


/* Mobile Close Button Styles */
@media (max-width: 991.98px) {
    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1rem;
        z-index: 1060; /* Higher than the menu content */
        padding: 5px;
        line-height: 1;
    }

    /* Adjust the navbar collapse to ensure padding for the close button */
    .navbar-collapse {
        padding-top: 60px; /* Moves menu items down so they don't overlap the 'X' */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000; /* Matching your dark theme */
    }
}


@media (max-width: 991.98px) {
.mega-menu-inner1 {
    padding: 16px 0px !important;
}

}


.location-list li a{
    color: white;
}

/* =================================== */


.swiper-pagination{
    display: none;
}

/* .company-spacing{
    padding: 150px 0px;
} */
@media (max-width: 748px) {
.h-cta{
    height: 200px !important;
}
.navbar-collapse {
      
        height: 130vh !important;
        
    }
    .navbar-global .nav-link{
        margin: 11px 8px !important;
    }
    .navbar-nav .nav-link i, .dropdown-toggle-custom i {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.85;
    padding: 1px 22px;
}
    .navbar-collapse {
         height: 75vh !important; 
    }
    .leader-text{
       text-align: left !important; 
    }
     .fs-5 {
    font-size: 1.0rem !important;
}   
.fs-4 {
    font-size: calc(1.1rem + .2vw) !important;
}
h3 {
    font-size: calc(1rem + 0.6vw);
}
.hide{
    display:none;
}
    .btn-flat-standard{
        width: 89% !important;
        text-align: left !important ;
    } 
        .modern-ref-title {
        font-size: 2.1rem !important;
    }
    .mega-service-header h5 {
   
    font-size: 18px;
    
}
.Strategic{
  margin-top: 140px !important; 
}
.form-check-input{
       width: 32px !important;
    height: 19px; 
}
.btn-flat-standard-contact{
    width: 43% !important;
}
}





/* Container link */
.mega-service-header h5{
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* Underline effect */
.mega-service-header h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* adjust spacing */
    width: 0%;
    height: 1.7px;
    background: white; /* or your theme color */
    transition: width 0.4s ease;
}

/* Hover animation */
.mega-service-header h5:hover::after {
    width: 100%;
}




.footer-links li {
    list-style: none;
}

.footer-links li a {
    position: relative;
    display: inline-block; /* IMPORTANT */
    text-decoration: none;
}

.footer-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1.5px;
    background: #fff;
    transition: width 0.4s ease;
}

.footer-links li a:hover::after {
    width: 100%;
}

/* Make full link clickable area */
.service-link-item {
    display: block;
    text-decoration: none;
}

/* H6 base style */
.service-link-item h6 {
    position: relative;
    display: inline-block;
    color: #fff;
}

/* Underline effect */
.service-link-item h6::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.4s ease;
}

/* Trigger underline when hovering parent link */
.service-link-item:hover h6::after {
    width: 100%;
}

/* Optional: smooth text hover effect */
.service-link-item:hover h6 {
    opacity: 0.9;
}



/* --------------------- */
/* SECTION */
.company-bg {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

/* VIDEO */
.company-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* OVERLAY */
.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* adjust */
  
    z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.company-bg .container {
    position: relative;
    z-index: 2;
}

.mignow img{
    filter: invert();
}














/* ------------------------ */


/* ===============================
   PURPLE SUB HEADER
================================ */
.sub-header {
    position: sticky;
    top: 70px; /* height of main navbar */
    width: 100%;
    background: linear-gradient(90deg, #4b0082, #6a0dad);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 10px 0px;
}

/* Text */
.sub-header-left span {
    color: #fff;
    font-weight: 600;
}

/* Menu */
.sub-header-menu {
    list-style: none;
    gap: 30px;
}

.sub-header-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.sub-header-menu li a:hover {
    opacity: 0.7;
}

/* ===============================
   SCROLL BEHAVIOR
================================ */

/* Hide main header on scroll */
.header-hide {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

/* Make purple bar stick to top */
.sub-header.sticky-active {
    top: 0;
}

.navbar-global {
    height: 70px;
    transition: transform 0.4s ease;
}


/* ===============================
   MOBILE (<= 767px)
================================ */
@media (max-width: 767px) {

    .sub-header {
        top: 60px; /* smaller navbar */
        padding: 10px 0;
    }

    .sub-header-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #2d0066;
        padding: 15px 20px;
        display: none;
        gap: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .sub-header-menu.show {
        display: flex;
    }

    .sub-header-menu li a {
        font-size: 15px;
        padding: 8px 0;
        display: block;
    }
}

/* ===============================
   TABLET (768px - 991px)
================================ */
@media (min-width: 768px) and (max-width: 991px) {

    .sub-header {
        top: 65px;
    }

    .sub-header-menu {
        gap: 20px;
    }

    .sub-header-menu li a {
        font-size: 13px;
    }
    
}

/* ===============================
   SCROLL EFFECT
================================ */
.header-hide {
    transform: translateY(-100%);
}

.sub-header.sticky-active {
    top: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}







/* MOBILE PURPLE BAR */
.purple-mobile-bar {
    background: #4b0082;
    position: relative;
    z-index: 999;
    position: sticky;
    top: 2px;
    width: 100%;
    background: linear-gradient(90deg, #4b0082, #6a0dad);
    z-index: 999;
    transition: all 0.3s ease;
}

/* Top clickable row */
.purple-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    
}

/* Dropdown menu */
.purple-mobile-menu {
    display: none;
    flex-direction: column;
    background: #111;
}

.purple-mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

/* Hover effect */
.purple-mobile-menu a:hover {
    background: rgba(255,255,255,0.05);
}

/* Active state */
.purple-mobile-bar.active .purple-mobile-menu {
    display: flex;
}

/* Rotate arrow */
.purple-mobile-bar.active .toggle-icon {
    transform: rotate(180deg);
}

/* Smooth transition */
.toggle-icon {
    transition: transform 0.3s ease;
}


.purple-mobile-menu {
    display: none;
}
.justify{
       text-align: justify; 
}

.radius img{
border-radius: 18px;
}
.modern-banner-image img{
   border-radius: 18px!important; 
}

.radius{
   border-radius: 18px ; 
}
.position-sticky  .radius{
    border-radius: 18px;
}
.rounded
 {
   border-radius: 1.25rem !important;
 }
 .tracking-mega1{
     font-size: 18px;
 }
 .tracking-mega {
    letter-spacing: 0px;
    text-transform: capitalize;
    font-size: 21px;
 }
@media (max-width: 767px) {
    .sub-header {
        display: none;
    }
     .tracking-mega {
    letter-spacing: 0px;
    text-transform: capitalize;
    font-size: 18px;
 }
     .tracking-mega1{
     font-size: 12px;
 }
    .brand-logo img {
    max-height: 53px !important;
    width: auto;
}
.lifecycle-step {
    position: relative;
    padding: 3rem 2rem;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 192px !important;
}

    }

    @media (min-width: 1200px) {
    .display-5 {
        font-size: 2.5rem;
    }
}