/* Main CSS */

/* General overrides */
:root {
    --bs-primary: #ff4d00;
    --bs-secondary: #002b49;
    --bs-dark: #111;
    --accent-orange: #ff4d00;
    --accent-blue: #0a3d91;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --card-radius: 1.75rem;
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
    --header-height: 80px;
    --hero-bg-dark: #000b1d;
    --hero-bg-mid: #0a1628;
}

/* Native smooth scrolling — hardware-accelerated, no JS overhead */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    /* No padding-top — header overlays the dark hero */
}



/* ========================================
   HEADER — Transparent → Glassmorphism
========================================= */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1300px;
    z-index: 1000;
    border-radius: 100px;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%); */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, width 0.4s ease, border-radius 0.4s ease, top 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.site-header.header--scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
}

.header-nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    display: block;
    height: 50px;
    width: auto;
    transition: filter 0.3s ease;
    /* Removed filter: brightness(0) invert(1); to show the new colored logo */
}

/* Center Nav */
.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-menu li a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0d2c5e;
    /* Default dark navy for light theme */
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

/* Home page hero override — keep white until scroll */
body.home .site-header:not(.header--scrolled) .header-menu li a {
    color: #0f172a;
    /* Deep Dark Slate for Pearl Hero */
    font-weight: 500;
}

body.home .site-header:not(.header--scrolled) .btn-pill--primary {
    /* Keep primary button visible */
}

.site-header.header--scrolled .header-menu li a {
    color: #0d2c5e;
    font-weight: 600;
}

.header-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.header-menu li a.active::after {
    width: 100%;
}

@media (hover: hover) {
    .header-menu li a:hover::after {
        width: 100%;
    }
}

.header-menu li a i {
    font-size: 0.6rem;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-menu li a.active {
    color: var(--accent-orange);
}

@media (hover: hover) {
    .header-menu li a:hover {
        color: var(--accent-orange);
    }
}

.site-header.header--scrolled .header-menu li a.active {
    color: var(--accent-orange);
}

@media (hover: hover) {
    .site-header.header--scrolled .header-menu li a:hover {
        color: var(--accent-orange);
    }
    
    .header-menu li a:hover i {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* Dropdown specific styles */
.dropdown-menu {
    display: block !important;
    /* Overrides Bootstrap's hidden default */
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(2);
    -webkit-backdrop-filter: blur(30px) saturate(2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    will-change: backdrop-filter, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    padding: 1.2rem 0;
    list-style: none;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

/* Invisible bridge to prevent hover loss when moving mouse from link to dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block !important;
    padding: 0.6rem 2rem !important;
    color: #0d2c5e !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    color: var(--accent-orange) !important;
    background: rgba(255, 90, 54, 0.05) !important;
}

.mobile-dropdown {
    list-style: none;
    padding-left: 1.5rem; /* Distinct elegant indentation */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Clean non-overlapping gap */
    max-height: 0; /* Collapsed by default! */
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-dropdown li a {
    font-size: 1.25rem !important; /* Premium readable sizing */
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.2rem 0 !important;
}

.mobile-dropdown li a.active {
    color: var(--accent-orange, #ff4c00) !important;
    padding-left: 6px !important;
}

@media (hover: hover) {
    .mobile-dropdown li a:hover {
        color: var(--accent-orange, #ff4c00) !important;
        padding-left: 6px !important;
    }
}

/* Parent mobile dropdown trigger link styles */
.mobile-nav-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

@media (hover: hover) {
    .mobile-nav-menu li.menu-item-has-children > a:hover .mobile-dropdown-toggle {
        background: rgba(255, 76, 0, 0.12);
        color: var(--accent-orange, #ff4c00);
    }
}

/* CTA Button — Solid Orange Pill */
.header-cta {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-orange);
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.5rem;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    transition: all 0.35s ease;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.header-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .header-cta:hover {
        background: #e64500;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 77, 0, 0.45);
    }

    .header-cta:hover i {
        transform: translate(2px, -2px);
    }
}

/* Mobile Toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.header-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #000000; /* Consistently black across all mobile viewports/templates! */
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: center;
}

.site-header.header--scrolled .header-toggle span {
    background: #000000; /* Consistently black on sticky scroll states! */
}

/* While active (menu is open), transition spans to black for perfect visibility against the translucent white header pill */
.header-toggle.active span {
    background: #000000 !important;
}

/* Hamburger → X animation */
.header-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   MOBILE NAV OVERLAY (Improved Premium Design)
   ========================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 11, 29, 0.98); /* Premium obsidian background */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: flex-start; /* Start from top to prevent vertical clipping */
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto; /* Enable native vertical scrolling for overflowing lists */
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    width: 100%;
    max-width: 500px;
    padding: 120px 40px 60px; /* Safe distance from the fixed header top bar */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left; /* Left-aligned for elegant premium readability */
    transform: translateY(-20px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active .mobile-nav-inner {
    transform: translateY(0);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Spacious, non-overlapping gaps */
}

.mobile-nav-menu li {
    width: 100%;
    margin: 0;
}

.mobile-nav-menu li a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem; /* Slightly reduced font size for premium balanced look */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    width: 100%;
    padding: 0.2rem 0;
}

/* Elegant left slide active/hover animation */
.mobile-nav-menu li a.active {
    color: var(--accent-orange, #ff4c00);
    padding-left: 8px; /* Refined micro-interaction instead of translating full block */
}

@media (hover: hover) {
    .mobile-nav-menu li a:hover {
        color: var(--accent-orange, #ff4c00);
        padding-left: 8px;
    }
}

/* Beautiful modern CTA Button inside mobile menu */
.mobile-nav-cta {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--accent-orange, #ff4c00); /* Premium contrast button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 76, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
}

.mobile-nav-cta i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .mobile-nav-cta:hover {
        background: #e03d00;
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(255, 76, 0, 0.4);
        color: #ffffff;
    }

    .mobile-nav-cta:hover i {
        transform: translateX(4px);
    }
}


/* ========================================
   FOOTER (Premium Dark Glassmorphism)
========================================= */
.site-footer {
    background: #0a0f18;
    /* Deep rich dark background */
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    /* Hide the under glow overflow */
    color: #f0f0f0;
}

/* Vibrant Underglow Orb */
.site-footer::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.footer-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 54, 0.8), rgba(0, 212, 255, 0.8), transparent);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-brand {
    flex: 0 0 auto;
    max-width: 280px;
}

.footer-tagline {
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.footer-tagline-dark {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-tagline-accent {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: -0.5px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #8b96a8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.social-linkedin {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
}

.social-linkedin:hover {
    background: #004182;
    color: #ffffff;
    border-color: #004182;
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
}

.social-x {
    background: #000000;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-x:hover {
    background: #222222;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Footer Link Columns */
.footer-links {
    flex: 0 0 auto;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.85rem;
}

.footer-links ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a0aabf;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
    /* subtle nudge effect on hover */
}


/* ========================================
   FIRST VIEWPORT (100vh)
   Immersive dark hero + CTA
========================================= */
.first-viewport {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 50%, #d1d7e0 100%);
    /* Pearl Gradient */
}

/* Decorative glow orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
}

.hero-orb--blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 61, 145, 0.25) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--teal {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb--orange {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.08) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(15px, -20px);
    }

    50% {
        transform: translate(-10px, 15px);
    }

    75% {
        transform: translate(20px, 10px);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Ensure content starts from top and grows down */
    flex-direction: column;
    padding: 180px 2rem 5rem;
    /* Fixed top padding to stay clear of navigation panel */
}

.hero-vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    /* Removed auto margins to prevent shifting */
    opacity: 0;
    transform: translateY(40px);
}

#engineering-model {
    margin-bottom: 2rem;
    /* Fixed bottom margin */
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    color: #0f172a;
    /* Dark Slate Title */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-accent-text {
    color: var(--accent-orange);
    font-weight: 400;
}

.hero-sup {
    font-size: 0.45em;
    top: -0.6em;
    font-weight: 400;
    position: relative;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 450;
    /* Slightly heavier weight for readability */
    color: #1e293b;
    /* Darker Slate (900 range) for maximum contrast */
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    letter-spacing: 0.1px;
}

/* Hero CTA — Ghost Pill */
.hero-cta-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 0.3px;
}

.hero-cta-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.06);
}

.hero-cta-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: translate(3px, -3px);
}

/* Hero CTA — Solid Orange Variant */
.hero-btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: var(--accent-orange);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2.8rem;
    border-radius: 100px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
}

.hero-btn-orange:hover {
    background: #e64500;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.5);
}


/* ========================================
   HERO CARDS GRID (Glassmorphism)
========================================= */
.hero-cards-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(60px) saturate(2);
    -webkit-backdrop-filter: blur(60px) saturate(2);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--card-radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
}

.hero-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0.8;
}

.hero-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Card 1: Cyan Glow (THINK IT) */
.hero-glass-card:nth-child(1)::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 252, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-glass-card:nth-child(1)::after {
    background: radial-gradient(circle at 50% 0%, rgba(0, 252, 255, 0.15) 0%, transparent 60%);
}

/* Card 2: Orange Glow (BUILD IT) */
.hero-glass-card.hero-glass-card--orange-glow::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 90, 54, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-glass-card.hero-glass-card--orange-glow::after {
    background: radial-gradient(circle at 50% 0%, rgba(255, 90, 54, 0.18) 0%, transparent 60%);
}

/* Card 3: Blue Glow (START IT) */
.hero-glass-card:nth-child(3)::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(10, 61, 145, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-glass-card:nth-child(3)::after {
    background: radial-gradient(circle at 50% 0%, rgba(10, 61, 145, 0.25) 0%, transparent 60%);
}

.hero-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.glass-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    /* Deep Dark Slate */
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.glass-card-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.8rem;
}

.glass-card-subtitle--cyan {
    color: #007779;
    /* Darker Cyan for readability */
    font-weight: 600;
}

.glass-card-subtitle--peach {
    color: #925c2d;
    /* Darker Peach for readability */
    font-weight: 600;
}

.glass-card-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card-icon img {
    width: 100%;
    height: auto;
}

.glass-card-desc {
    font-size: 1rem;
    color: #334155;
    /* Darker Slate for better readability */
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}


/* ========================================
   BOTTOM STATS BAR
========================================= */
.hero-stats-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
}

.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-highlight {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-highlight--orange {
    color: #FF5A36;
}

.stat-highlight--cyan {
    color: #006EFF;
}

.stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}


/* Responsive adjustments for Hero Grid */
@media (max-width: 991px) {
    .hero-card-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .hero-stats-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-headline {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

/* ========================================
   HERO SUB-SECTION (CTA)
========================================= */
.hero-sub-section {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(0, 11, 29, 0) 0%, rgba(10, 22, 40, 0.95) 20%, #0c1a2e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-sub-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-sub-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 2rem;
    letter-spacing: 0.2px;
}

.hero-sub-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pill Buttons */
.btn-pill {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.35s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    /* Glossy top shine base */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%, rgba(0, 0, 0, 0.03) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04), inset 0 2px 10px rgba(255, 255, 255, 0.8), inset 0 -2px 5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-pill i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-pill:hover i {
    transform: translate(2px, -2px);
}

.btn-pill--primary {
    color: var(--hero-bg-dark);
    background: #fff;
    border: 1px solid #fff;
}

.btn-pill--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--hero-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-pill--ghost {
    color: #0f172a;
    /* Maximum darkness */
    background: transparent;
    border: 1.5px solid rgba(15, 23, 42, 0.4);
    /* Much more visible border */
    font-weight: 500;
}

.btn-pill--ghost:hover {
    background: rgba(15, 23, 42, 0.05);
    /* Subtle dark hover */
    border-color: rgba(15, 23, 42, 0.5);
    color: #0f172a;
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn-primary:hover {
    background-color: #e04400;
    border-color: #e04400;
}

.btn-rounded-0 {
    border-radius: 0 !important;
}


/* ========================================
   SHARED DESIGN COMPONENTS
========================================= */

/* Section Labels */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.45rem 1.4rem;
    border-radius: 2rem;
    color: #0f172a;
    /* Dark Slate */
}

.section-label--blue {
    color: var(--accent-blue);
    background: rgba(10, 61, 145, 0.08);
    border: 1px solid rgba(10, 61, 145, 0.12);
}

.section-label--orange {
    color: var(--accent-orange);
    background: rgba(255, 77, 0, 0.08);
    border: 1px solid rgba(255, 77, 0, 0.1);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #a78bfa 0%, #ff7a33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 30%, var(--accent-orange) 70%, transparent 100%);
    max-width: 120px;
    margin: 2rem auto 0;
    border-radius: 2px;
}

/* ========================================
   FOOTER TRUST BAR & ISO BADGES
========================================= */
.footer-trust-bar {
    position: relative;
    z-index: 3;
    padding: 2rem 0 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.footer-iso-badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

svg.iso-seal-custom {
    width: 80px;
    height: 80px;
}

img.iso-seal-custom {
    width: 220px;
    height: auto;
    object-fit: contain;
}


.iso-seal-custom {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.iso-seal-custom:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

@media (max-width: 768px) {
    svg.iso-seal-custom {
        width: 60px;
        height: 60px;
    }

    img.iso-seal-custom {
        width: 140px;
        height: auto;
    }
}


@media (max-width: 400px) {
    svg.iso-seal-custom {
        width: 50px;
        height: 50px;
    }

    img.iso-seal-custom {
        width: 110px;
        height: auto;
    }

    .footer-iso-badges {
        gap: 0.75rem;
    }
}


/* ========================================
   CHALLENGES SECTION (Bento Grid)
========================================= */
.challenges-section {
    position: relative;
    padding: 8rem 0;
    background: #d1d7e0;
    /* Grayish Blue consistent with Services page */
    overflow: hidden;
}

.challenges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.challenges-quote-card {
    position: relative;
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, 1);
    border-left: 3px solid #00FCFF;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.challenges-quote-icon {
    font-size: 3rem;
    color: rgba(0, 252, 255, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.challenges-quote-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    color: #0f172a;
    /* Dark Slate for quote */
    margin: 0;
    position: relative;
    z-index: 1;
}

.challenges-glass-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 55%, transparent 60%);
    transform: rotate(25deg);
    animation: quoteshine 6s infinite;
    pointer-events: none;
}

@keyframes quoteshine {
    0% {
        transform: translate(-30%, -30%) rotate(25deg);
    }

    30%,
    100% {
        transform: translate(30%, 30%) rotate(25deg);
    }
}

/* Bento Grid */
.challenges-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.challenge-glass-box {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    backdrop-filter: blur(50px) saturate(2);
    -webkit-backdrop-filter: blur(50px) saturate(2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.25);
}

.challenge-glass-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.challenge-glass-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.challenge-icon {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.challenge-glass-box h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.challenge-glass-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.challenge-glass-edge {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.challenge-glass-box:hover .challenge-glass-edge {
    opacity: 1;
}

.challenge-edge-blue {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
}

.challenge-edge-orange {
    /* Mimics the pink/orange bottom right glow */
    background: radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.22) 0%, transparent 70%);
}

.challenge-edge-teal {
    /* Mimics the cyan bottom left glow */
    background: radial-gradient(circle at 0% 100%, rgba(45, 212, 191, 0.18) 0%, transparent 70%);
}

.challenge-edge-purple {
    /* Mimics the faint purple top right glow */
    background: radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.15) 0%, transparent 60%);
}

/* Stagger grid layout for bento feel */
.challenges-cards-grid {
    padding-bottom: 2rem;
}

.challenge-glass-box.delay-1,
.challenge-glass-box.delay-3 {
    transform: translateY(2rem);
}

.challenge-glass-box.delay-1:hover,
.challenge-glass-box.delay-3:hover {
    transform: translateY(1.5rem) scale(1.02);
}

@media (max-width: 991px) {
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .challenges-cards-grid {
        padding-bottom: 0;
    }

    .challenge-glass-box.delay-1,
    .challenge-glass-box.delay-3 {
        transform: none !important;
    }

    .challenge-glass-box.delay-1:hover,
    .challenge-glass-box.delay-3:hover {
        transform: translateY(-8px) scale(1.02) !important;
    }
}

@media (max-width: 767px) {
    .challenges-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .challenges-content {
        text-align: center;
    }

    .challenges-content .svc-heading,
    .challenges-content .svc-subheading {
        text-align: center !important;
    }

    .challenges-quote-card {
        padding: 1.5rem;
    }

    .challenges-quote-card p {
        font-size: 1.1rem;
    }

    /* Engineering Model Responsive */
    .eng-model-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* ========================================
   ENGINEERING INTELLIGENCE MODEL
========================================= */
.engineering-model-section {
    position: relative;
    padding: 8rem 0;
    background: #d1d7e0;
    overflow: hidden;
}

.eng-model-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    max-width: 1200px !important;
    margin-top: 4rem;
}

.eng-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.35) 100%);
    backdrop-filter: blur(30px) saturate(2);
    -webkit-backdrop-filter: blur(30px) saturate(2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 10px 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.eng-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.eng-glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1), 0 0 50px rgba(56, 128, 255, 0.1), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.eng-glass-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.06) 55%, transparent 60%);
    transform: translateX(-30%) rotate(0deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 10;
}

.eng-glass-card:hover .eng-glass-shine {
    transform: translateX(20%) rotate(0deg);
}

@media (max-width: 991px) {
    .eng-model-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE — V3 Light Unified Background, Modern Cards
═══════════════════════════════════════════════════════════ */

/* ── Page Wrapper — Premium Textured Canvas ── */
.svc-page-wrapper {
    position: relative;
    background: #d1d7e0;
    /* More pronounced grayish tone to make white cards pop */
    overflow: clip;
    min-height: 100vh;
    z-index: 1;
}

/* Subtle background grain for premium material feel */
.svc-page-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: overlay;
}

/* Vibrant Frosted Glassmorphism Background Blobs — Maximized Color Presence */
.svc-page-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    /* Slightly sharper to concentrate color */
    opacity: 0.9;
}

.svc-page-blob--1 {
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(250, 62, 23, 0.40) 0%, transparent 40%);
    /* Intense Blue #14288F */
    top: -10%;
    left: -15%;
    animation: orbFloat 25s ease-in-out infinite;
}

.svc-page-blob--2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(250, 62, 23, 0.40) 0%, transparent 75%);
    /* Intense Orange #FA3E17 */
    bottom: -15%;
    right: -5%;
    animation: orbFloat 30s ease-in-out infinite reverse;
}

.svc-page-blob--3 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(167, 93, 255, 0.25) 0%, transparent 70%);
    /* More present Purple */
    top: 20%;
    right: 15%;
    animation: orbFloat 22s ease-in-out infinite;
}

.svc-page-blob--4 {
    width: 800px;
    height: 800px;
    /* background: radial-gradient(circle, rgba(0, 232, 200, 0.18) 0%, transparent 70%); */
    background: radial-gradient(circle, rgba(146, 74, 148, 0.18) 0%, transparent 70%);
    /* Refreshing Teal center */
    bottom: 10%;
    left: 10%;
    animation: orbFloat 28s ease-in-out infinite reverse;
}

/* ── Hero ── */
.svc-hero-v3 {
    position: relative;
    z-index: 2;
    padding: 12rem 0 4rem;
    text-align: center;
}

.svc-hero-v3__inner {
    max-width: 780px;
    margin: 0 auto;
}

.svc-pill {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff5a00;
    background: rgba(255, 90, 0, 0.08);
    border: 1px solid rgba(255, 90, 0, 0.18);
    padding: 0.5rem 1.6rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #0f172a;
    /* Dark Slate for high contrast */
}

.svc-hero-v3__accent {
    background: linear-gradient(135deg, #006EFF 0%, #ff7a33 50%, #ff5a36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    padding-right: .65rem;
    font-weight: 500;
}

/* When a background image is set via Customizer */
.svc-hero-v3--has-bg .svc-hero-v3__title {
    color: #ffffff;
}

.svc-hero-v3--has-bg .svc-hero-v3__sub {
    color: rgba(255, 255, 255, 0.85);
}

.svc-hero-v3--has-bg .svc-pill {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero optional CTA button wrapper */
.svc-hero-v3__cta-wrap {
    display: flex;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #475569;
    /* Muted slate for readability */
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Services Grid ── */
.svc-listing-v3 {
    position: relative;
    z-index: 2;
    padding: 2rem 0 6rem;
}

.svc-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ── Service Card (Frosted Glassmorphism) ── */
.svc-card-v3 {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(1.40);
    -webkit-backdrop-filter: blur(16px) saturate(1.40);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: var(--card-radius);
    padding: 3.5rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: background .2s ease, backdrop-filter .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
    z-index: 1;
}

/* Light refraction overlay layer */
.svc-card-v3::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.02));
    z-index: 2;
}

/* Micro-noise texture for physical material feel */
.svc-card-v3::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Background Index Number */
.svc-card-v3__number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 0, 0, 0.03);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    transition: all 0.6s ease;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   CONTACT US PAGE
========================================= */
.contact-page-wrapper {
    background-color: #d1d7e0 !important;
}

.contact-form-container {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
}

.form-label {
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.form-control,
.form-select {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}

.office-card {
    border: 1px solid rgba(226, 232, 240, 0.6) !important;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.office-card:hover {
    background: #ffffff !important;
    border-color: var(--accent-orange) !important;
    transform: scale(1.02);
}

.office-map iframe {
    filter: grayscale(10%) contrast(1.1);
    transition: filter 0.3s ease;
}

.office-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.section-label--blue {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 110, 255, 0.08);
    color: #006eff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    border-radius: 100px;
}

.svc-card-v3:hover .svc-card-v3__number {
    transform: translate(-10px, 10px) scale(1.05);
    color: rgba(0, 0, 0, 0.05);
}

/* Prismatic edge highlight (Chromatic aberration hint) */
.svc-card-v3__glass-edge {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* Matches parent exactly */
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
}

/* High-intensity specular shine (Wet reflection) */
.svc-card-v3__shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 35%,
            rgba(255, 255, 255, 0.2) 42%,
            rgba(255, 255, 255, 0.9) 48%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 52%,
            rgba(255, 255, 255, 0.2) 58%,
            transparent 65%);
    transform: rotate(-15deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

/* Extra hover effects removed to keep design professional as requested */

.svc-card-v3:hover {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(1.40);
    -webkit-backdrop-filter: blur(24px) saturate(1.40);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.svc-card-v3:hover .svc-card-v3__shine {
    transform: translate(10%, 10%) rotate(-5deg);
    opacity: 0.15;
}

/* Per-colour logic removed for cleaner professional design */

/* Hover outer glow per-colour */
.svc-card-v3--blue:hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.svc-card-v3--orange:hover {
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.svc-card-v3--teal:hover {
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.svc-card-v3--purple:hover {
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.svc-card-v3--coral:hover {
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.svc-card-v3--amber:hover {
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* ── Icon ── */
.svc-card-v3__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card-v3:hover .svc-card-v3__icon {
    transform: scale(1.08) translateY(-2px);
}

/* Icon colours */
.svc-card-v3--blue .svc-card-v3__icon {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.30);
}

.svc-card-v3--orange .svc-card-v3__icon {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.30);
}

.svc-card-v3--teal .svc-card-v3__icon {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.30);
}

.svc-card-v3--purple .svc-card-v3__icon {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.30);
}

.svc-card-v3--coral .svc-card-v3__icon {
    background: linear-gradient(135deg, #f87171, #dc2626);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.30);
}

.svc-card-v3--amber .svc-card-v3__icon {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.30);
}

/* ── Card Text ── */
.svc-card-v3__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.18rem;
    font-weight: 650;
    color: #0f172a;
    margin-bottom: 0.6rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.svc-card-v3__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.svc-card-v3__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    background: #111111;
    /* Mockup Dark Button */
    color: #ffffff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    width: fit-content;
    z-index: 3;
}

.svc-card-v3__cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.svc-card-v3:hover .svc-card-v3__cta {
    background: #000000;
    transform: scale(1.05);
}

.svc-card-v3__cta i {
    font-size: 0.72rem;
    transition: transform 0.3s ease;
}

.svc-card-v3:hover .svc-card-v3__cta {
    gap: 0.75rem;
}

.svc-card-v3:hover .svc-card-v3__cta i {
    transform: translateX(3px);
}

/* ── Sidebar Service List ── */
.svc-side-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 0;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    position: relative;
}

.svc-side-item .icon {
    font-size: 1.1rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.svc-side-item .title {
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.svc-side-item .arrow {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.svc-side-item:hover {
    color: #ff4d00;
    padding-left: 5px;
}

.svc-side-item:hover .icon {
    color: #ff4d00;
    transform: scale(1.1);
}

.svc-side-item.active {
    color: #ff4d00;
}

.svc-side-item.active .icon {
    color: #ff4d00;
}

.svc-side-item.active .title {
    font-weight: 700;
}

.svc-side-item.active .arrow {
    opacity: 0.6;
    transform: translateX(0);
    color: #ff4d00;
}

/* ── CTA Section ── */
.svc-cta-v3 {
    position: relative;
    z-index: 2;
    padding: 0 0 7rem;
}

.svc-cta-v3__box {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 28px;
    padding: 4.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Subtle corner glow on CTA box */
.svc-cta-v3__box::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.svc-cta-v3__box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.svc-cta-v3__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #475569;
    /* Muted Slate Text */
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.svc-cta-v3__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 2.25rem;
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.svc-cta-v3__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #ff5a00, #ff7a33);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(255, 90, 0, 0.35);
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
}

.svc-cta-v3__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 90, 0, 0.45);
    color: #fff;
}

.svc-hero-v3__title,
h1.display-3,
.display-3 {
    font-size: 3.5rem !important;
    /* 56px */
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .svc-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .svc-hero-v3 {
        padding: 6rem 0 3rem;
    }

    .svc-hero-v3__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .svc-grid-v3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .svc-hero-v3 {
        padding: 5rem 0 2rem;
    }

    .svc-hero-v3__title {
        font-size: 1.8rem;
    }

    .svc-cta-v3__box {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .svc-cta-v3__title {
        font-size: 1.5rem;
    }
}

.services-section-v2 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Noise/grain overlay for realistic glass depth */
.svc-noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Vibrant Ambient Orbs — iOS liquid color pools */
.svc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}

.svc-orb--blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 160, 255, 0.45) 0%, rgba(56, 128, 255, 0) 70%);
    top: 5%;
    right: -10%;
    animation: orbFloat 14s ease-in-out infinite;
}

.svc-orb--teal {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 232, 200, 0.38) 0%, rgba(0, 232, 200, 0) 70%);
    bottom: -5%;
    left: -8%;
    animation: orbFloat 18s ease-in-out infinite reverse;
}

.svc-orb--purple {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(167, 93, 255, 0.35) 0%, rgba(167, 93, 255, 0) 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat 20s ease-in-out infinite;
}

.svc-orb--orange {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 60, 0.35) 0%, rgba(255, 122, 51, 0) 70%);
    top: -5%;
    left: 5%;
    animation: orbFloat 16s ease-in-out infinite reverse;
}


/* Section Label — Glass pill variant */
.section-label--glass {
    color: #006EFF;
    background: rgba(0, 110, 255, 0.08);
    /* Blue tint on light */
    border: 1px solid rgba(0, 110, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Section Header */
.svc-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.svc-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    color: #0f172a;
    /* Dark Slate Title */
    margin-top: 1.25rem;
    letter-spacing: -0.5px;
}

/* FIX: "Deliver" accent — bright, visible gradient on light background */
.svc-heading-accent {
    background: linear-gradient(135deg, #006EFF 0%, #ff7a33 50%, #ff5a36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-style: italic;
    padding-right: .3rem;
}

.svc-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #475569;
    /* Muted Slate Subtitle */
    margin-top: 0.75rem;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

.svc-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(86, 170, 255, 0.6) 30%, rgba(255, 122, 51, 0.6) 70%, transparent 100%);
    max-width: 100px;
    margin: 1.75rem auto 0;
    border-radius: 2px;
}

/* Cards Grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    position: relative;
    z-index: 2;
}

/* ── iOS LIQUID GLASS CARD — Light frosted ── */
.svc-card {
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--card-radius);
    padding: 2.75rem 2.5rem 2.5rem;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 0 60px rgba(255, 255, 255, 0.35);
    z-index: 1;
}

/* Anchor card: reset link defaults, maintain card layout */
a.svc-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

/* Light refraction overlay layer */
.svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.02));
    z-index: 2;
}

/* Iridescent glossy border ring */
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg,
            rgba(255, 255, 255, 1.00) 0%,
            rgba(255, 255, 255, 0.40) 20%,
            rgba(200, 220, 255, 0.15) 45%,
            rgba(255, 255, 255, 0.50) 70%,
            rgba(255, 255, 255, 0.95) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 1;
}

/* Diagonal liquid-glass shine sweep */
.svc-card-glass-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(115deg,
            transparent 32%,
            rgba(255, 255, 255, 0.12) 41%,
            rgba(255, 255, 255, 0.32) 50%,
            rgba(255, 255, 255, 0.12) 59%,
            transparent 68%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-25%) rotate(0deg);
}

/* Subtle coloured bottom bleed — light tint on light card */
.svc-card-glass-edge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
    opacity: 0.55;
    border-radius: 0 0 24px 24px;
}

/* ── Per-card light pastel tints ── */

/* Card 0 — Sky Blue */
.svc-card[data-svc-index="0"] {
    background: linear-gradient(145deg,
            rgba(220, 238, 255, 0.85) 0%,
            rgba(200, 228, 255, 0.75) 50%,
            rgba(240, 248, 255, 0.80) 100%);
}

.svc-card[data-svc-index="0"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(56, 128, 255, 0.14) 0%,
            rgba(56, 128, 255, 0.04) 60%,
            transparent 100%);
}

/* Card 1 — Warm Amber */
.svc-card[data-svc-index="1"] {
    background: linear-gradient(145deg,
            rgba(255, 245, 230, 0.85) 0%,
            rgba(255, 235, 205, 0.75) 50%,
            rgba(255, 250, 240, 0.80) 100%);
}

.svc-card[data-svc-index="1"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(255, 122, 51, 0.14) 0%,
            rgba(255, 122, 51, 0.04) 60%,
            transparent 100%);
}

/* Card 2 — Mint Teal */
.svc-card[data-svc-index="2"] {
    background: linear-gradient(145deg,
            rgba(220, 255, 248, 0.85) 0%,
            rgba(195, 250, 238, 0.75) 50%,
            rgba(235, 255, 252, 0.80) 100%);
}

.svc-card[data-svc-index="2"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(0, 200, 170, 0.14) 0%,
            rgba(0, 200, 170, 0.04) 60%,
            transparent 100%);
}

/* Card 3 — Blush Rose */
.svc-card[data-svc-index="3"] {
    background: linear-gradient(145deg,
            rgba(255, 230, 234, 0.85) 0%,
            rgba(255, 215, 222, 0.75) 50%,
            rgba(255, 242, 244, 0.80) 100%);
}

.svc-card[data-svc-index="3"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(220, 50, 70, 0.14) 0%,
            rgba(220, 50, 70, 0.04) 60%,
            transparent 100%);
}

/* Card 4 — Deep Lavender */
.svc-card[data-svc-index="4"] {
    background: linear-gradient(145deg,
            rgba(240, 230, 255, 0.85) 0%,
            rgba(225, 210, 255, 0.75) 50%,
            rgba(245, 240, 255, 0.80) 100%);
}

.svc-card[data-svc-index="4"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(167, 93, 255, 0.14) 0%,
            rgba(167, 93, 255, 0.04) 60%,
            transparent 100%);
}

/* Card 5 — Golden Amber */
.svc-card[data-svc-index="5"] {
    background: linear-gradient(145deg,
            rgba(255, 248, 220, 0.85) 0%,
            rgba(255, 238, 180, 0.75) 50%,
            rgba(255, 252, 240, 0.80) 100%);
}

.svc-card[data-svc-index="5"] .svc-card-glass-edge {
    background: linear-gradient(to top,
            rgba(255, 193, 7, 0.14) 0%,
            rgba(255, 193, 7, 0.04) 60%,
            transparent 100%);
}

/* ── Hover States ── */
.svc-card:hover {
    background: rgba(255, 255, 255, 0.220);
    backdrop-filter: blur(24px) saturate(1.40);
    -webkit-backdrop-filter: blur(24px) saturate(1.40);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.218);
}

.svc-card:hover .svc-card-glass-shine {
    transform: translateX(18%) rotate(0deg);
}

.svc-card:hover .svc-card-glass-edge {
    opacity: 0.90;
}

/* Per-card coloured outer glow on hover */
.svc-card[data-svc-index="0"]:hover {
    box-shadow:
        0 32px 72px rgba(10, 40, 120, 0.22),
        0 0 80px rgba(56, 128, 255, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.svc-card[data-svc-index="1"]:hover {
    box-shadow:
        0 32px 72px rgba(80, 30, 0, 0.20),
        0 0 80px rgba(255, 122, 51, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.svc-card[data-svc-index="2"]:hover {
    box-shadow:
        0 32px 72px rgba(0, 50, 45, 0.20),
        0 0 80px rgba(0, 200, 170, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.svc-card[data-svc-index="3"]:hover {
    box-shadow:
        0 32px 72px rgba(80, 10, 20, 0.20),
        0 0 80px rgba(220, 50, 70, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.svc-card[data-svc-index="4"]:hover {
    box-shadow:
        0 32px 72px rgba(60, 20, 100, 0.18),
        0 0 80px rgba(167, 93, 255, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.svc-card[data-svc-index="5"]:hover {
    box-shadow:
        0 32px 72px rgba(100, 80, 0, 0.18),
        0 0 80px rgba(255, 193, 7, 0.22),
        0 2px 0 rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Glossy border ring intensifies on hover */
.svc-card:hover::after {
    opacity: 1;
    background: linear-gradient(130deg,
            rgba(255, 255, 255, 1.00) 0%,
            rgba(255, 255, 255, 0.60) 20%,
            rgba(210, 230, 255, 0.25) 45%,
            rgba(255, 255, 255, 0.65) 70%,
            rgba(255, 255, 255, 1.00) 100%);
}

/* Card number — hidden */
.svc-card-number {
    display: none;
}

/* ── Card Icon ── */
.svc-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.svc-card:hover .svc-card-icon {
    transform: scale(1.12) translateY(-3px);
}

.svc-card-icon--blue {
    background: linear-gradient(135deg, #3d8bff, #1a5cd6);
    box-shadow: 0 8px 28px rgba(56, 128, 255, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.svc-card-icon--orange {
    background: linear-gradient(135deg, #ff8c3a, #e84d00);
    box-shadow: 0 8px 28px rgba(255, 122, 51, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.svc-card-icon--teal {
    background: linear-gradient(135deg, #00d4b0, #0aab98);
    box-shadow: 0 8px 28px rgba(0, 200, 170, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.svc-card-icon--coral {
    background: linear-gradient(135deg, #ff6b7a, #d93048);
    box-shadow: 0 8px 28px rgba(220, 50, 70, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.svc-card-icon--purple {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.svc-card-icon--amber {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 8px 28px rgba(217, 119, 6, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

/* ── Card Text — Dark on Light ── */
.svc-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d1f3c;
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 3;
    letter-spacing: -0.2px;
    line-height: 1.35;
}

.svc-card-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: #334155;
    /* Solid color instead of semi-transparent for better contrast */
    line-height: 1.8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

/* Card Learn More Link */
.svc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.83rem;
    color: rgba(15, 40, 100, 0.60);
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.3s ease, gap 0.3s ease;
    position: relative;
    z-index: 3;
}

.svc-card-link i {
    font-size: 0.78rem;
    transition: transform 0.3s ease;
}

.svc-card-link:hover {
    color: #0d1f3c;
}

.svc-card-link:hover i {
    transform: translate(4px, -4px);
}


/* ========================================
   AI-POWERED SOLUTIONS — New Stacking Cards
========================================= */
.ai-solutions-section {
    /* background: #d1d7e0; */
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
}

.ai-solutions-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 90, 54, 0.15) 0%, rgba(255, 90, 54, 0) 65%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.ai-solutions-section::after {
    content: '';
    position: absolute;
    bottom: -10vw;
    right: -10vw;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(0, 252, 255, 0.15) 0%, rgba(0, 252, 255, 0) 65%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.ai-solutions-banner {
    background: transparent;
    padding: 8rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.ai-solutions-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 77, 0, 0.08);
    pointer-events: none;
}

.ai-solutions-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.ai-solutions-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-orange);
    background: rgba(255, 77, 0, 0.12);
    padding: 0.45rem 1.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Stacking Cards Container */
.ai-solutions-cards-wrapper {
    position: relative;
    z-index: 10;
}

/* Third background blob for full vibrancy */
.ai-solutions-cards-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(10, 61, 145, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.ai-solutions-cards-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 0rem 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.ai-solution-card {
    position: relative;
    width: 100%;
    transition: transform 0.4s ease;
}

.ai-solution-card-inner {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px) saturate(2.2);
    -webkit-backdrop-filter: blur(50px) saturate(2.2);
    border-radius: var(--card-radius);
    padding: 3.5rem 2.5rem;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.6),
        inset 0 0 80px rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Add custom gradients to each card for vibrancy */
.ai-solution-card[data-card-index="0"] .ai-solution-card-inner {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(224, 242, 254, 0.9) 100%);
}

.ai-solution-card[data-card-index="1"] .ai-solution-card-inner {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.8) 0%, rgba(254, 243, 199, 0.9) 100%);
}

.ai-solution-card[data-card-index="2"] .ai-solution-card-inner {
    background: linear-gradient(135deg, rgba(245, 243, 255, 0.8) 0%, rgba(237, 233, 254, 0.9) 100%);
}

.ai-solution-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.0) 60%, rgba(255, 255, 255, 0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ai-solution-card-inner:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ai-solution-card-inner {
    cursor: pointer;
}

.ai-solution-card-inner:focus-visible {
    outline: 2px solid #ff4d00;
    outline-offset: 4px;
    border-radius: var(--card-radius);
}

.ai-solution-card-inner:hover .svc-card-link i {
    transform: translateX(4px);
}

.ai-solution-icon {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ai-solution-card-inner:hover .ai-solution-icon {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.ai-solution-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ai-solution-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .ai-solutions-cards-container {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
}

.ai-solution-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff5a36 0%, #ff2a5f 100%);
    padding: 0.25rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 90, 54, 0.25);
}


/* ========================================
   AI-ACCELERATED IMPACT — Different Stacking Cards
========================================= */
.impact-section {
    background: #fdfdfd;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: -5vw;
    left: -5vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 90, 54, 0.45) 0%, rgba(255, 90, 54, 0) 65%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.impact-section::after {
    content: '';
    position: absolute;
    bottom: -5vw;
    right: -5vw;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0) 65%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.impact-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff416c 100%);
    padding: 0.45rem 1.4rem;
    border-radius: 2rem;
    box-shadow: 0 6px 15px rgba(255, 90, 54, 0.3);
    position: relative;
    z-index: 1;
}

.impact-header h2,
.impact-header p {
    position: relative;
    z-index: 1;
}

.impact-header h2 {
    color: var(--text-dark);
}

/* Impact Stacking Cards Container */
.impact-cards-wrapper {
    position: relative;
}

.impact-cards-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Third background blob for full vibrancy */
.impact-cards-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(10, 61, 145, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.impact-card {
    position: absolute;
    width: calc(100% - 3rem);
    max-width: 1100px;
    will-change: transform, opacity, filter;
}

.impact-card-inner {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    transform: translateZ(0);
    /* Force hardware accel for backdrop filter */
    border-radius: 32px;
    padding: 1.5rem;
    /* Inner padding to float the visual block */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1.5px rgba(255, 255, 255, 0.8), inset 0 0 40px rgba(255, 255, 255, 0.5);
    border: none;
    overflow: hidden;
    min-height: 380px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    gap: 1.5rem;
    /* Gap between visual and content */
}

.impact-card-inner:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12), inset 0 0 0 1.5px rgba(255, 255, 255, 1), inset 0 0 40px rgba(255, 255, 255, 0.7);
    transform: translateY(-8px);
}

/* Alternating layout for impact cards */
.impact-card[data-impact-index="1"] .impact-card-inner {
    flex-direction: row-reverse;
}

.impact-card-visual {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impact-card[data-impact-index="0"] .impact-card-visual {
    background: linear-gradient(135deg, #0a3d91 0%, #102a5a 100%);
}

.impact-card[data-impact-index="1"] .impact-card-visual {
    background: linear-gradient(135deg, #ff5a36 0%, #ff416c 100%);
}

.impact-card[data-impact-index="2"] .impact-card-visual {
    background: linear-gradient(135deg, #1a1a24 0%, #2a2a3b 100%);
}

.impact-card-illustration {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.impact-card-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -30px;
    right: -30px;
}

.impact-card-visual::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -40px;
    left: -20px;
}

.impact-card-content {
    flex: 1;
    padding: 3rem 4rem 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.impact-card[data-impact-index="1"] .impact-card-content {
    padding: 3rem 1.5rem 3rem 4rem;
}

.impact-card-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a24;
    letter-spacing: -0.5px;
}

.impact-card-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #3b3b4f;
    margin-bottom: 1.5rem;
}

.impact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-decoration: none;
    font-size: 1.05rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.impact-card-link:hover {
    gap: 0.85rem;
    color: #ff416c;
}


/* ========================================
   RESPONSIVE
========================================= */
@media (max-width: 991.98px) {

    /* Header responsive — collapse nav at tablet */
    .header-menu {
        display: none;
    }

    .header-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Footer responsive */
    .footer-inner {
        flex-wrap: wrap;
        gap: 2.5rem;
    }

    .footer-brand {
        flex: 1 1 100%;
        max-width: none;
    }

    .footer-links {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 140px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-sub-section {
        padding: 2rem 0;
    }

    .hero-sub-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-orb--blue {
        width: 300px;
        height: 300px;
    }

    .hero-orb--teal {
        width: 200px;
        height: 200px;
    }

    .hero-orb--orange {
        width: 150px;
        height: 150px;
    }

    /* Services responsive — single column on mobile */
    .svc-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .svc-card {
        padding: 2rem 1.75rem;
    }

    .svc-card-number {
        font-size: 4rem;
    }

    .services-section-v2 {
        padding: 5rem 0 5rem;
    }

    /* Disable stacking on mobile for AI Solutions */
    .ai-solutions-cards-container {
        min-height: auto;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .ai-solution-card {
        position: relative !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .ai-solution-card-inner {
        padding: 2rem;
    }

    /* Disable stacking on mobile for Impact */
    .impact-cards-container {
        min-height: auto;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .impact-card {
        position: relative !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .impact-card-inner {
        flex-direction: column !important;
        min-height: auto;
    }

    .impact-card-visual {
        flex: 0 0 200px;
    }

    .impact-card-content {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .heading {
        font-size: 2.5rem;
    }

    .svc-heading {
        font-size: 1.75rem;
    }
}

/* ========================================
   INDUSTRY EXPERTISE
========================================= */
.industry-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.industry-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.ind-icon {
    position: relative;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow:
        0 15px 35px rgba(167, 93, 255, 0.15),
        inset 0 2px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

.ind-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(167, 93, 255, 0.4) 0%, transparent 60%);
    filter: blur(15px);
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
}

.ind-icon i {
    background: linear-gradient(135deg, #A75DFF, #FF7AE6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(167, 93, 255, 0.3));
}

.industry-glass-card h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.industry-glass-card p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   GCC ENABLEMENT
========================================= */
.gcc-timeline-row::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    z-index: 0;
}

@media (max-width: 991px) {
    .gcc-timeline-row::before {
        display: none;
    }
}

.gcc-step {
    position: relative;
    z-index: 1;
}

.gcc-number {
    width: 60px;
    height: 60px;
    background: #060c16;
    border: 2px solid rgba(255, 90, 54, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #FF5A36;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 90, 54, 0.25);
}

.glass-highlight-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(0, 252, 255, 0.3);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0, 252, 255, 0.05);
}

/* ========================================
   WHY CHOOSE US
========================================= */
.why-feature {
    background: transparent;
    padding: 1rem;
}

.why-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   GLOBAL PRESENCE
========================================= */
.location-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 2.25rem;
    border-radius: 100px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.location-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   INSIGHTS & CULTURE
========================================= */
.insight-article-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.insight-article-link:hover {
    padding-left: 15px;
    padding-right: 15px;
    border-bottom-color: var(--accent-orange);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
}

.insight-meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.insight-article h6 {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.insight-article-link:hover h6 {
    color: var(--accent-orange);
}

.insight-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.insight-article-link:hover .insight-arrow {
    color: var(--accent-orange);
}

/* Culture Gallery */
.culture-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* Flexible rows */
    gap: 20px;
}

/* The <a> tag is now the direct child of the grid */
.culture-gallery-grid>a {
    display: block;
    text-decoration: none;
}

.culture-gallery-grid>a:first-child {
    grid-column: 1 / 3;
    /* Full width row 1 */
}

.culture-gallery-grid>a:nth-child(2),
.culture-gallery-grid>a:nth-child(3) {
    grid-row: 2;
}

.culture-photo {
    background-color: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    height: 220px;
    /* Base height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-gallery-grid>a:first-child .culture-photo {
    height: 300px;
    /* Larger height for the full-width image */
}

.culture-gallery-grid>a:nth-child(2) .culture-photo,
.culture-gallery-grid>a:nth-child(3) .culture-photo {
    height: 220px;
}

.culture-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.culture-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 1;
}

.culture-caption {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   LIGHT-THEMED LIQUID GLASS (Bottom Half)
========================================= */
.light-glass-bg-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    padding-bottom: 4rem;
    z-index: 1;
}

/* Animated Orbs for Light Theme */
.light-orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.6;
    animation: floatOrbLight 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.light-orb--pink {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 200, 225, 0.8) 0%, transparent 70%);
    animation-delay: 0s;
}

.light-orb--cyan {
    top: 30%;
    right: -10%;
    background: radial-gradient(circle, rgba(200, 245, 255, 0.8) 0%, transparent 70%);
    animation-delay: -5s;
}

.light-orb--yellow {
    bottom: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 240, 200, 0.8) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatOrbLight {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, 5%) scale(0.95);
    }
}

/* Typography Helpers */
.text-slate-900 {
    color: #0f172a !important;
}

.text-slate-600 {
    color: #334155 !important;
    /* Darkened from 600 to 800 for accessibility */
}

/* Light Theme Section Label */
.light-mode-label {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: var(--accent-orange);
}

/* Light Glass Cards */
.industry-light-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    height: 100%;
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.industry-light-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.8);
}

a.industry-light-card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

/* GCC Light Adjustments */
.gcc-timeline-row--light::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}



.gcc-number--light {
    background: #fff;
    border: 2px solid rgba(255, 90, 54, 0.4);
    box-shadow: 0 10px 25px rgba(255, 90, 54, 0.15);
}

.light-glass-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px);
}

.btn-pill--ghost-light {
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    /* Darker border */
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.btn-pill--ghost-light:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #000;
}

/* Why Us Light */
.why-feature--light {
    background: transparent;
}

.why-icon-box--light {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Global Presence Light */
.location-badge--light {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 1);
    color: #0f172a !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(15px);
}

.location-badge--light:hover {
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Insights Light */
.insight-article-link--light {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.insight-article-link--light:hover {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.02), transparent);
}

.insight-arrow--light {
    color: rgba(0, 0, 0, 0.2);
}

.btn-pill--outline-primary {
    background: transparent;
    border: 2px solid #006EFF;
    color: #006EFF;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pill--outline-primary:hover {
    background: #006EFF;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 110, 255, 0.25);
}

/* ========================================
   AI Search Bar
========================================= */
.hero-ai-search-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 50;
}

.ai-search-container {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.ai-search-container.ai-search-active {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0.5rem 1.5rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.ai-search-input-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.ai-search-container:focus-within {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 110, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 110, 255, 0.1);
}

.ai-search-icon {
    font-size: 1.2rem;
    color: #006EFF;
    margin-right: 1rem;
}

.ai-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 1.05rem;
    outline: none;
}

.ai-search-input::placeholder {
    color: #64748b;
}

.ai-search-btn {
    background: #006EFF;
    border: none;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
}

.ai-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 110, 255, 0.4);
}

/* AI Response Box */
.ai-search-results {
    width: 100%;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-right: 1rem;
    text-align: left;
    color: #334155;
}

.ai-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

.ai-badge {
    background: rgba(0, 252, 255, 0.1);
    color: #006EFF;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-search-close {
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
}

/* AI Suggestions */
.ai-search-suggestions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-left: 0.5rem;
}

.ai-suggest-chip {
    font-size: 0.75rem;
    color: #475569;
    background: rgba(0, 110, 255, 0.05);
    border: 1px solid rgba(0, 110, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ai-suggest-chip:hover {
    background: rgba(0, 110, 255, 0.12);
    border-color: rgba(0, 110, 255, 0.3);
    color: #006EFF;
    transform: translateY(-2px);
}

.ai-search-close:hover {
    color: #000;
}

.ai-search-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    max-height: 65vh;
    overflow-y: auto;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00FCFF;
    border-radius: 50%;
    animation: typing 1.4s infinite both;
    margin-right: 4px;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* ========================================
   SERVICES ARCHIVE & DETAIL PAGES POLISH
========================================= */

.services-hero,
.service-detail-hero,
.case-studies-hero,
.contact-hero,
.job-hero {
    overflow: hidden;
    padding-top: 140px !important;
    /* Account for fixed header */
}

@media (max-width: 991.98px) {

    .services-hero,
    .service-detail-hero,
    .case-studies-hero,
    .contact-hero,
    .job-hero {
        padding-top: 100px !important;
    }
}

.offering-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-card:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}



.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.text-gradient {
    background: linear-gradient(135deg, #ff4c00 0%, #ff8c56 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Service Detail Content Headings */
.service-main-content h3 {
    padding-top: 3rem;
    padding-bottom: 1rem;
    color: color(srgb 0.0768 0.3791 0.58);
}

@media (max-width: 991.98px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .hero-service-icon-wrapper i {
        font-size: 6rem !important;
    }

    .location-badge {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Culture Gallery Responsiveness */
    .culture-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .culture-gallery-grid>a:first-child {
        grid-column: auto;
    }

    .culture-gallery-grid>a:first-child .culture-photo,
    .culture-gallery-grid>a:nth-child(2) .culture-photo,
    .culture-gallery-grid>a:nth-child(3) .culture-photo {
        height: 250px;
    }
}

/* Case Study Meta & Rich Text */
.case-meta-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.case-meta-item:first-child {
    border-left: none;
    padding-left: 0;
}

.case-rich-text h2,
.case-rich-text h3,
.case-rich-text h4 {
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.case-rich-text h2 {
    font-size: 2.25rem;
}

.case-rich-text h3 {
    font-size: 1.75rem;
}

.case-rich-text p {
    margin-bottom: 1.5rem;
    color: #475569;
}

.case-rich-text ul,
.case-rich-text ol,
.case-rich-text .wp-block-list {
    margin-bottom: 2.5rem !important;
    padding-left: 0 !important;
    list-style-type: none !important;
}

.case-rich-text ul li,
.case-rich-text ol li,
.case-rich-text .wp-block-list li {
    position: relative !important;
    padding-left: 2rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.6 !important;
    list-style-type: none !important;
}

.case-rich-text ul li::before,
.case-rich-text ol li::before,
.case-rich-text .wp-block-list li::before {
    content: "→" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--accent-orange) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
}

.case-rich-text strong {
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .case-meta-grid {
        flex-direction: column;
        gap: 2rem !important;
    }

    .case-meta-item {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-bottom: 1rem;
        width: 100%;
    }
}

/* Inline Styled Bullets */
.svc-bullet-arrow {
    color: var(--accent-orange);
    font-weight: 700;
    margin-right: 0.75rem;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   BLOG & INSIGHT CARDS (Premium Glassmorphism)
========================================= */
.blog-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 20px 40px rgba(0, 110, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.post-thumbnail-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.blog-card-img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    z-index: 2;
}

.read-more-btn {
    border-color: #3b82f6;
    color: #3b82f6;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.read-more-btn:hover {
    background-color: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hover-primary:hover {
    color: #3b82f6 !important;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   INDUSTRY CARD LIST ALIGNMENT
========================================= */
.industry-card ul li {
    display: flex;
    align-items: flex-start;
}

.industry-card ul li i,
.industry-card ul li span.me-2 {
    flex-shrink: 0;
    margin-top: 0.22em; /* Perfectly aligns icon/bullet vertically with text cap-height */
}

/* ========================================
   CROSS-INDUSTRY EXPERTISE BUBBLE LINKS
========================================= */
.expertise-bubble {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    text-decoration: none !important;
}

.expertise-bubble:hover {
    background-color: #fff !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12) !important;
    transform: translateY(-2px);
}

.expertise-bubble:focus-visible {
    outline: 2px solid #ff4c00;
    outline-offset: 2px;
}