/* ==========================================================================
   LOCAL GEOMANIST FONT FAMILY (@font-face)
   ========================================================================== */
@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Book.ttf') format('truetype');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Black.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../assets/fonts/Geomanist/Geomanist-Ultra.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-purple: #9b51e0;
    --primary-purple-hover: #803ac2;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --font-family: 'Geomanist', system-ui, -apple-system, sans-serif;
}

/* Local Geomanist Light (Weight 300) for Specified 8 Major Headings */
.hero-1-left h1,
.glass-banner-content h2,
.case-studies .section-header h2,
.service-offerings-header h2,
.service-offerings .section-header h2,
.expertise-header h2,
.thinking-header h2,
.thinking-industry .section-header h2,
.thinking-industry h2,
.other-services .section-header h2,
.pre-footer h2,
.geomanist-light {
    font-family: 'Geomanist', system-ui, -apple-system, sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Preloader System */
.page-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #030207;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    opacity: 1;
    visibility: visible;
}

.page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
}

.preloader-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    z-index: 2;
    animation: preloaderPulse 2s ease-in-out infinite alternate;
}

.preloader-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.5) 0%, rgba(109, 40, 217, 0) 70%);
    filter: blur(25px);
    z-index: 1;
}

@keyframes preloaderPulse {
    0% { transform: scale(0.98); opacity: 0.85; }
    100% { transform: scale(1.05); opacity: 1; }
}

.preloader-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6d28d9 0%, #9b51e0 50%, #c084fc 100%);
    border-radius: 9999px;
    box-shadow: 0 0 14px rgba(155, 81, 224, 0.8);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-status {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.preloader-tag {
    color: #94a3b8;
}

.preloader-percent {
    color: #c084fc;
    font-weight: 700;
    font-family: monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.5;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Typography System */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.35rem);
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.28;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: clamp(0.925rem, 1.2vw, 1rem);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    border-radius: 9999px;
    font-weight: 400;
    font-size: 1.15rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-purple {
    background: linear-gradient(135deg, #9b51e0, #8656fe) !important;
    color: #ffffff !important;
    padding: 0.85rem 2.35rem !important;
    border-radius: 9999px !important;
    font-weight: 400 !important;
    font-size: 1.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(134, 86, 254, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #8a40d5, #7545ee) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(134, 86, 254, 0.5) !important;
}

.btn-white {
    background: #ffffff !important;
    color: #8b5cf6 !important;
    padding: 0.95rem 2.4rem !important;
    border-radius: 9999px !important;
    font-weight: 400 !important;
    font-size: 1.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.btn-white:hover {
    background: #ffffff !important;
    color: #7c3aed !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22) !important;
}

.learn-more,
.know-more {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.learn-more:hover,
.know-more:hover {
    color: var(--primary-purple);
}

/* Header & Navigation Bar (Seamless Integrated Overlay on Hero 1) */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    box-sizing: border-box;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.logo-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: none !important;
    transition: transform 0.25s ease;
}

.logo-brand:hover .logo-img {
    transform: scale(1.04);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link,
.nav-link-secondary {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #1e293b !important;
    text-decoration: none;
}

.nav-link:hover,
.nav-link-secondary:hover {
    color: #9b51e0 !important;
}

/* Active Nav Link Underline */
.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #9b51e0;
    border-radius: 2px;
    transition: width 0.25s ease;
}

/* Dropdown Menu Container (Hover Dropdown Match) */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    padding: 0.75rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1100;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155 !important;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #9b51e0 !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
    background: #f1f5f9;
    color: #9b51e0;
}

/* Warm Glassmorphism Banner Section (Positioned Directly Under Hero 1) */
.glass-banner-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5.5rem 7%;
    overflow: hidden;
    background: #110904;
}

.glass-banner-video {
    position: absolute;
    scale: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    opacity: 1;
}

.glass-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 75% 40%, rgba(255, 255, 255, 0.1) 0%, rgba(185, 85, 45, 0.35) 45%, rgba(65, 22, 10, 0.75) 100%);
    backdrop-filter: blur(44px) saturate(170%);
    -webkit-backdrop-filter: blur(44px) saturate(170%);
    pointer-events: none;
}

.glass-banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.glass-banner-content h2 {
    font-size: clamp(2.15rem, 3.8vw, 3.75rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2.75rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.btn-talk-expert {
    background: #ffffff !important;
    color: #8b5cf6 !important;
    padding: 0.95rem 2.4rem;
    border-radius: 9999px;
    font-weight: 400;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-talk-expert:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
    background: #ffffff !important;
    color: #7c3aed !important;
}

/* Hero Section 1 (Exact Reference Match with Giant SVG Logo Mask Video) */
.hero-1 {
    display: flex;
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    min-height: 88vh;
    position: relative;
    color: #1d1d1f;
    overflow: hidden;
}

.hero-1-left {
    flex: 1;
    max-width: 580px;
    z-index: 2;
    position: relative;
}

.hero-1-left h1 {
    color: #111111;
    font-size: clamp(2.5rem, 4.2vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 350;
    letter-spacing: -0.02em;
}

.hero-1-left p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 480px;
}

.btn-purple-pill {
    background: linear-gradient(135deg, #9b51e0, #8656fe);
    color: #ffffff !important;
    padding: 0.85rem 2.35rem;
    border-radius: 9999px;
    font-weight: 400;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(134, 86, 254, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-purple-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(134, 86, 254, 0.48);
    background: linear-gradient(135deg, #8b48ce, #7845f0);
}

.hero-1-right {
    position: absolute;
    right: 22px;
    top: 0;
    width: 58vw;
    max-width: 960px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-mask-container {
    width: 92%;
    height: 128%;
    position: relative;
    mask-image: url('../image/r-system.svg');
    -webkit-mask-image: url('../image/r-system.svg');
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    overflow: hidden;
}

.hero-mask-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    transform: scale(1.1);
    transform-origin: 94% 102%;
}

/* Hero Section 2 Bento Grid (Harmonized RSi Brand Style) */
.hero-2-white {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    background-color: #ffffff;
    position: relative;
}

.bento-hero-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* LEFT COLUMN STYLES */
.bento-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    padding-right: 1.5rem;
}

.bento-hero-top-block {
    display: flex;
    flex-direction: column;
}

.pill-title-badge {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pill-dot {
    color: var(--primary-purple);
    font-size: 1rem;
}

.bento-hero-main-title {
    font-size: clamp(2.3rem, 3.5vw, 3.1rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.bento-hero-subtext {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.bento-hero-partner-logos {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bento-partner-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.bento-logo-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bento-logo-item {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    opacity: 0.85;
}

/* RIGHT COLUMN BENTO CARDS GRID */
.bento-hero-right-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bento-card {
    border-radius: 28px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

/* TOP LARGE PURPLE FLUID CARD (RSi Purple Theme) */
.bento-card-top-purple {
    background: linear-gradient(135deg, #6d28d9 0%, #8656FE 50%, #9b51e0 100%);
    min-height: 260px;
}

.orb-purple {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(25px);
    pointer-events: none;
}

.bento-card-content h3 {
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 0.85rem;
    max-width: 440px;
}

.bento-card-content p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    max-width: 420px;
}

.bento-circle-arrow-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.bento-circle-arrow-btn:hover {
    transform: scale(1.1);
    background: #0f172a;
    color: #ffffff;
}

/* BOTTOM ROW (2 CARDS) */
.bento-hero-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* BOTTOM LEFT DARK SLATE CARD (RSi Obsidian Theme) */
.bento-card-bottom-blue {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(155, 81, 224, 0.25);
    min-height: 240px;
}

.orb-blue {
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
}

.bento-card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.bento-pill-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

.bento-circle-arrow-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}

.bento-circle-arrow-sm:hover {
    transform: scale(1.1);
}

.bento-card-bottom-content h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.bento-card-bottom-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

/* BOTTOM RIGHT SOFT LAVENDER CARD (RSi Light Purple Theme) */
.bento-card-bottom-pink {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid rgba(134, 86, 254, 0.2);
    color: #0f172a;
    min-height: 240px;
}

.orb-pink {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(134, 86, 254, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
}

.bento-card-bottom-pink .bento-pill-tag {
    background: #ffffff;
    color: #6d28d9;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.08);
}

.bento-card-bottom-pink .bento-metric-number {
    color: #6d28d9;
}

.bento-card-bottom-pink .bento-card-bottom-content p {
    color: #475569;
}

.real-avatar-stack {
    display: flex;
    align-items: center;
}

.real-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-left: -8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.real-avatar-img:first-child {
    margin-left: 0;
}

.bento-metric-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

/* Card 1: Soft Light Grey Card */
.card-light-grey {
    background-color: #eef0f4;
    color: #0f172a;
    min-height: 440px;
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-inner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plus-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    font-size: 1.2rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-metric-block {
    margin-top: auto;
}

.metric-large {
    font-size: clamp(2.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.card-subtext {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
    max-width: 26ch;
}

/* Card 2 – Rich purple gradient */
.card-purple-glow {
    background: linear-gradient(160deg, #6d22e8 0%, #9b3ff7 55%, #b96ef9 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.card-purple-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.avatar-stack { display: flex; }

.avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -9px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.2s;
}
.avatar:first-child { margin-left: 0; }

.arrow-circle-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.35);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.arrow-circle-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1) rotate(10deg);
}

.purple-orb-animated {
    position: absolute;
    bottom: -70px; right: -70px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    animation: orbPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1);   opacity: 0.6; }
    50%       { transform: scale(1.2); opacity: 1;   }
}

.card-subtext-muted {
    color: rgba(255,255,255,0.78) !important;
    max-width: 24ch;
}

/* Right column stack */
.grid-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Card 3 – Soft slate with floating orb */
.card-soft-slate {
    background: #eef0f6;
    border: 1px solid rgba(15,23,42,0.06);
    color: #0f172a;
}

.gc-top    { flex: 1.45; }
.gc-bottom { flex: 1; }

.orb-card  { position: relative; overflow: hidden; }

.orb-graphic {
    position: absolute;
    top: -30px; right: -30px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9B5DE5 0%, #c4b5fd 45%, transparent 70%);
    filter: blur(20px);
    opacity: 0.65;
    animation: orbFloat 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-14px); }
}

/* Card 4 – Dark */
.card-dark-slate {
    background-image: radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    color: #ffffff;
    flex: 1;
    padding: 1.75rem 2rem;
}

.card-metric-block.flex-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.metric-large-white {
    font-size: clamp(2.5rem, 3.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.card-subtext-white {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.hero-2 h2 {
    color: #ffffff;
    font-size: 2.35rem;
    line-height: 1.35;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Case Studies Light Mode */
.case-studies {
    padding: 6.5rem 6%;
    background-color: #ffffff;
    color: #0f172a;
    position: relative;
    overflow: hidden;
}
 
.case-glow-orb-1,
.case-glow-orb-2,
.case-tech-grid,
.case-bg-canvas {
    display: none;
}

.case-studies .section-header {
    max-width: 820px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.case-studies .section-header h2 {
    color: #0f172a;
}
 
.case-studies .section-header p {
    color: #4b5563;
}
 
.case-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}
 
.case-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}
 
.case-card:hover {
    border-color: rgba(155, 81, 224, 0.3);
    box-shadow: 0 16px 40px rgba(155, 81, 224, 0.15);
    transform: translateY(-4px);
}

.case-card.large {
    grid-row: span 2;
    height: 100%;
}

.case-card .case-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.4s ease;
}

.case-card:hover .case-img {
    transform: scale(1.04);
}
 
.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}
 
.case-card .tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(90, 95, 115, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.7rem 1.25rem;
    border-radius: 15px;
    font-size: 0.82rem;
    font-weight: 500;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card .tag::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--specular-angle, 0deg), transparent 0%, rgba(255, 255, 255, 0.95) 15%, transparent 30%, transparent 50%, rgba(255, 255, 255, 0.95) 65%, transparent 80%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    animation: specularRotate 4s linear infinite;
}

.case-card:hover .tag::before {
    opacity: 1;
}

.case-card:hover .tag {
    background: rgba(110, 115, 140, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

@property --specular-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes specularRotate {
    0% {
        --specular-angle: 0deg;
    }
    100% {
        --specular-angle: 360deg;
    }
}
 
.card-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
}
 
.card-content h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
 
.card-content .learn-more {
    color: #ffffff;
    text-decoration: underline;
}


.card-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
}

.card-content h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-content .learn-more {
    color: #c084fc;
}

.center-btn {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Service Offerings Premium UI */
.service-offerings {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    background: #f8fafc;
    color: #0f172a;
    position: relative;
    box-sizing: border-box;
}

.service-offerings-header {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

/* .service-offerings-header .eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
    display: inline-block;
} */

.service-offerings-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.service-offerings-header p {
    color: #64748b;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.6;
}

/* Apple-Style Interactive Feature Showcase Component */
.apple-showcase-container {
    display: grid;
    grid-template-columns: 410px 1fr;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1240px;
    margin: 0 auto;
}

/* Left Accordion List */
.apple-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Base Non-Expanded Pill Button */
.apple-accordion-item {
    background: #f5f5f7;
    border-radius: 9999px;
    padding: 0.85rem 1.4rem;
    border: 1.5px solid transparent;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.apple-accordion-item:hover {
    background: #e8e8ed;
    transform: translateX(4px);
}

.apple-accordion-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.apple-accordion-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
    flex-shrink: 0;
}

.apple-accordion-item:hover .apple-accordion-icon {
    transform: scale(1.1);
}

.apple-accordion-title-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.3;
}

.apple-accordion-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: #86868b;
    margin-left: auto;
}

/* EXPANDED ACTIVE ACCORDION ITEM (Apple Watch Style) */
.apple-accordion-item.active {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 1.5rem 1.6rem;
    border: 1.5px solid rgba(134, 86, 254, 0.35);
    box-shadow: 0 12px 32px rgba(134, 86, 254, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.apple-accordion-item.active:hover {
    transform: none;
}

.apple-accordion-item.active .apple-accordion-header {
    margin-bottom: 0.85rem;
}

.apple-accordion-item.active .apple-accordion-icon {
    background: linear-gradient(135deg, #8656FE, #9b51e0);
    color: #ffffff;
}

.apple-accordion-item.active .apple-accordion-title-text {
    font-size: 1.08rem;
    font-weight: 400;
    color: #0f172a;
}

.apple-accordion-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    animation: fadeInDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-accordion-media {
    display: none;
}

.apple-accordion-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.apple-accordion-desc strong {
    color: #0f172a;
    font-weight: 500;
}

/* Right Stage Card (Pure Apple Visual Showcase) */
.apple-stage-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-stage-img-wrapper {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #0f172a;
    border-radius: 28px;
}

.apple-stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-stage-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.apple-stage-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 3;
    pointer-events: none;
    border-radius: 0 0 28px 28px;
}

.apple-stage-bottom-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.apple-stage-bottom-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.apple-stage-bottom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.38rem 0.95rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.glass-pill:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* High-Contrast Mobile Accordion Glass Pills */
.mobile-accordion-tags .glass-pill {
    background: rgba(109, 40, 217, 0.08) !important;
    color: #6d28d9 !important;
    border: 1px solid rgba(109, 40, 217, 0.2) !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    padding: 0.35rem 0.8rem !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
}

.mobile-accordion-tags .glass-pill:hover {
    background: rgba(109, 40, 217, 0.15) !important;
    color: #5b21b6 !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EXIQO Section */
.exiqo-section {
    background: #09090b;
    color: #ffffff;
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.exiqo-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
}

.exiqo-content {
    max-width: 580px;
    position: relative;
    z-index: 2;
}

.exiqo-content h2 {
    color: #a855f7;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
}

.exiqo-content h3 {
    color: #ffffff;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.exiqo-content p {
    color: #cbd5e1;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Expertise Section */
.expertise {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    text-align: center;
    background-color: #ffffff;
    position: relative;
}

.expertise-header {
    max-width: 820px;
    margin: 0 auto 3rem;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.expertise-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.expertise-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Unified Apple-Style Segmented Control Bar for Tech Tabs */
.tech-tabs-outer-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
}

.tech-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9999px;
    padding: 4px;
    backdrop-filter: blur(12px);
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.02);
    cursor: grab;
    user-select: none;
}

.tech-tabs-wrapper.active-drag {
    cursor: grabbing;
    scroll-behavior: auto;
}

.tech-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tech-tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.52rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    flex-shrink: 0;
}

.tech-tab-btn:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.tech-tab-btn.active {
    background: #ffffff;
    color: #6d28d9;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(109, 40, 217, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tech-tab-btn:active {
    transform: scale(0.96);
}

/* Concentric Semi-Circle Arc Arena */
.orbital-arena {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 440px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
}

/* SVG Semi-Circle Backgrounds */
.orbital-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: filter 0.4s ease;
}

.orbital-svg.pulse-wave {
    filter: drop-shadow(0 0 12px rgba(155, 81, 224, 0.5));
}

/* Nodes Container */
.orbital-nodes-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Perfect Circular Orbiting Badges (Logo only inside circle) */
.orbital-node {
    position: absolute;
    pointer-events: auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(155, 81, 224, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(155, 81, 224, 0.16), 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    user-select: none;
    z-index: 5;
}

.orbital-node:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    border-color: var(--primary-purple);
    box-shadow: 0 16px 36px rgba(155, 81, 224, 0.32);
    z-index: 20;
}

.orbital-node:active {
    transform: translate(-50%, -50%) scale(0.95) !important;
}

.orbital-node-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.orbital-node:hover .orbital-node-icon {
    transform: scale(1.1);
}

/* Floating Custom Hover Tooltip */
.orbital-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.38rem 0.85rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
}

.orbital-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.orbital-node:hover .orbital-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Central Category Title inside inner semi-circle */
.orbital-center-hub {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

.center-hub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: -0.015em;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(109, 40, 217, 0.2);
    display: inline-block;
}

/* Mobile Tech Container (Hidden on Desktop) */
.mobile-tech-container {
    display: none !important;
}

@media (max-width: 768px) {
    .orbital-arena {
        height: 460px;
    }
    .ring-outer { width: 680px; height: 680px; }
    .ring-mid { width: 480px; height: 480px; }
    .ring-inner { width: 300px; height: 300px; }
    .orbital-node {
        width: 78px;
        height: 78px;
        padding: 6px 4px;
    }
    .orbital-node-icon { width: 30px; height: 30px; margin-bottom: 2px; }
    .orbital-node-label { font-size: 0.65rem; max-width: 68px; }
    .center-hub-title { font-size: 0.95rem; }
}

/* Thinking Industry */
.thinking-industry {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Ambient color mesh background so backdrop-filter produces real glass refraction */
.thinking-industry::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.thinking-industry::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.flex-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.flex-header h2 {
    font-weight: 300 !important;
    font-family: 'Geomanist', system-ui, -apple-system, sans-serif !important;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.flex-header p {
    color: #64748b;
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.6;
}

.thinking-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.thinking-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.45s ease,
                background 0.45s ease;
}

/* Glowing top accent border on hover */
.thinking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), #9333ea, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.thinking-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 50px -10px rgba(124, 58, 237, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 #ffffff;
    border-color: rgba(124, 58, 237, 0.35);
}

.thinking-card:hover::before {
    opacity: 1;
}

.thinking-card .card-img-container {
    position: relative;
    height: 270px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #0f172a;
}
.card-img-container{
    margin-bottom: 0.5rem;
}

.thinking-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.thinking-card:hover img {
    transform: scale(1.06);
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0) 50%);
    pointer-events: none;
}

/* Glassmorphism Tags */
.thinking-card .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tag-dark {
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tag-video {
    background: rgba(124, 58, 237, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* Video Card Specific Styling */
.thinking-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.video-card.is-playing .thinking-card-video,
.video-card:hover .thinking-card-video {
    opacity: 1;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.15);
    transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
    background: rgba(15, 23, 42, 0.05);
}

.video-play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-purple);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-left: 3px;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.thinking-card:hover .video-play-btn,
.video-play-btn:hover {
    transform: scale(1.15);
    background: var(--primary-purple);
    color: #ffffff;
    animation: pulse-ring 1.8s infinite;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    z-index: 4;
}

/* Card Body & Typography */
.thinking-card-body {
    padding: 1.1rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.thinking-card h3 {
    padding: 0;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.38;
    margin-bottom: 0.5rem;
    color: #0f172a;
    transition: color 0.3s ease;
}

.thinking-card:hover h3 {
    color: var(--primary-purple);
}

.thinking-card-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.thinking-card .learn-more {
    padding: 0;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.thinking-card .arrow-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thinking-card:hover .arrow-icon {
    transform: translateX(6px);
}

/* Other Services Carousel */
.other-services {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    background-color: #ffffff;
    position: relative;
}

.section-subtext {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    max-width: 620px;
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carousel-nav .nav-btn {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--primary-purple);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.carousel-nav .nav-btn:hover {
    background-color: var(--primary-purple);
    color: #ffffff;
    border-color: var(--primary-purple);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.services-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    overflow: visible;
    padding: 1.25rem 0 2rem 0;
}

.carousel-card {
    background: #ffffff;
    padding: 2.2rem 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease,
                background 0.35s ease;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8656FE, #9b51e0, #ec4899);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

/* Refined Apple-Style Clean Light Hover Effect */
.carousel-card:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 20px 42px -10px rgba(134, 86, 254, 0.18), 0 0 0 1px rgba(134, 86, 254, 0.35);
    border-color: rgba(134, 86, 254, 0.4);
    z-index: 10;
}

.carousel-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(134, 86, 254, 0.08);
    border: 1px solid rgba(134, 86, 254, 0.15);
    color: #8656FE;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover .icon-box {
    background: linear-gradient(135deg, #8656FE 0%, #9b51e0 100%);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 22px rgba(134, 86, 254, 0.3);
}

.carousel-card h3 {
    font-size: 1.18rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    transition: color 0.35s ease;
}

.carousel-card:hover h3 {
    color: #6d28d9;
}

.carousel-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.carousel-card .know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8656FE;
    text-decoration: none;
    transition: color 0.35s ease;
    margin-top: auto;
}

.carousel-card:hover .know-more {
    color: #6d28d9;
}

.carousel-card .link-arrow {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover .link-arrow {
    transform: translateX(6px);
}



/* Pre Footer */
.pre-footer {
    position: relative;
    background-color: #030207;
    text-align: center;
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 450px;
}

.gradient-blinds-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    mix-blend-mode: lighten;
}

.gradient-blinds-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.pre-footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pre-footer h2 {
    color: #ffffff;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* Footer */
.footer {
    background-color: #09050d;
    color: #94a3b8;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    padding-left: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    padding-right: calc(max(2rem, (100% - 1280px) / 2 + 2rem));
    font-size: 0.875rem;
    box-sizing: border-box;
}
 
.footer-top {
    margin-bottom: 3.5rem;
}
 
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}
 
.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg);
}
 
.footer-brand p {
    max-width: 860px;
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}
 
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 4.5rem;
}
 
.link-column {
    position: relative;
}
 
/* @media (min-width: 993px) {
    .link-column:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 0;
        right: -1.25rem;
        height: 100%;
        width: 1px;
        background: rgba(255, 255, 255, 0.08);
    }
} */
 
.link-column h4 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}
 
.link-column ul {
    list-style: none;
}
 
.link-column li {
    margin-bottom: 0.85rem;
}
 
.link-column a {
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
 
.link-column a:hover {
    color: #ffffff;
    opacity: 1;
}
 
.highlight-link {
    color: var(--primary-purple) !important;
    font-weight: 500;
    opacity: 1 !important;
}
 
.highlight-link:hover {
    color: var(--primary-purple-hover) !important;
}
 
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e1b26;
    padding-top: 2rem;
}
 
.legal-links {
    display: flex;
    gap: 2.25rem;
}
 
.legal-links a {
    transition: color 0.2s ease;
}
 
.legal-links a:hover {
    color: #ffffff;
}
 
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
 
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
 
.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}
 
@media (max-width: 768px) {
    .footer-brand {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Mobile Navigation Menu Toggle & Drawer System */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header:not(.scrolled) .mobile-menu-btn {
    color: #ffffff;
}

.header.scrolled .mobile-menu-btn {
    color: #0f172a;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #09050d;
    color: #ffffff;
    z-index: 1999;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-drawer-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.mobile-drawer-close:hover {
    background: rgba(155, 81, 224, 0.4);
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f1f5f9;
    transition: color 0.2s ease;
    text-decoration: none;
    display: block;
}

.mobile-nav-link:hover {
    color: #c084fc;
}

.mobile-sub-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid rgba(155, 81, 224, 0.3);
}

.mobile-sub-links a {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-sub-links a:hover {
    color: #ffffff;
}

.btn-mobile-contact {
    margin-top: 1.5rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #6d28d9 0%, #9b51e0 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(109, 40, 217, 0.4);
}

/* ==========================================================================
   FULL PAGE RESPONSIVE MEDIA QUERIES (DESKTOP / TABLET / MOBILE)
   ========================================================================== */

/* ==========================================================================
   OPTIMIZED MOBILE & TABLET RESPONSIVE SYSTEM (iPhone / Android / Tablet)
   ========================================================================== */

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
    .header .main-nav,
    .header .header-right .nav-link-secondary,
    .header .header-right .lang-selector,
    .header .header-right a {
        display: none !important;
    }

    .header .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
    }

    .header .header-right .search-btn {
        display: inline-flex !important;
        color: #111111 !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        color: #111111 !important;
    }

    .header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 1.15rem 5% !important;
        box-shadow: none !important;
        border-bottom: none !important;
        background: transparent !important;
    }

    .header.scrolled {
        position: fixed !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
        padding: 0.85rem 5% !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    }

    .hero-1 {
        display: flex !important;
        flex-direction: column !important;
        padding: 5rem 6% 3.5rem !important;
        min-height: auto !important;
        position: relative !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .hero-1-right {
        order: 1 !important;
        position: relative !important;
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        width: 108% !important;
        max-width: 108% !important;
        height: 380px !important;
        margin: -1rem 0 -4rem -4% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    .hero-mask-container {
        width: 100% !important;
        height: 100% !important;
        mask-size: 100% 100% !important;
        -webkit-mask-size: 100% 100% !important;
        mask-position: center top !important;
        -webkit-mask-position: center top !important;
    }

    .hero-mask-video {
            width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right bottom !important;
    transform: scale(1.15) !important;
    transform-origin: center bottom !important;
    }

    .hero-1-left {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        background: #fff;
        padding-top: 20px;
    }

    .hero-1-left h1 {
        font-size: clamp(2.1rem, 7vw, 2.85rem) !important;
        line-height: 1.22 !important;
        margin-bottom: 1.25rem !important;
        font-weight: 300 !important;
        color: #111111 !important;
        font-family: 'Geomanist', system-ui, -apple-system, sans-serif !important;
    }

    .hero-1-left p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
        color: #475569 !important;
    }

    .glass-banner-section {
        padding: 5.5rem 1.5rem 4.5rem !important;
        min-height: 480px !important;
    }

    .glass-banner-content {
        max-width: 100% !important;
    }

    .glass-banner-content h2 {
        font-size: clamp(1.95rem, 6.2vw, 2.75rem) !important;
        line-height: 1.28 !important;
        margin-bottom: 2.5rem !important;
        font-weight: 300 !important;
    }

    .hero-2-white {
        padding: 3rem 1.25rem;
    }

    .bento-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bento-hero-left {
        padding-right: 0;
    }

    .bento-hero-main-title {
        font-size: clamp(1.5rem, 4.8vw, 2rem);
        line-height: 1.25;
    }

    .bento-hero-subtext {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .apple-services-showcase {
        padding: 3rem 1.25rem;
    }

    .apple-showcase-container {
        display: block;
    }

    .apple-stage-card {
        display: none !important;
    }

    .mobile-accordion-media {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .mobile-img-wrapper {
        width: 100%;
        height: 210px;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    }

    .mobile-accordion-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-accordion-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* EXiQO Mobile Split: Top Black Background Content & Bottom Video */
    .exiqo-section {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        min-height: auto !important;
        background: #030207 !important;
        overflow: hidden !important;
    }

    .exiqo-content {
        order: 1 !important;
        padding: 3rem 1.25rem 2.25rem !important;
        background: #030207 !important;
        max-width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .exiqo-bg-video {
        position: relative !important;
        order: 2 !important;
        width: 100% !important;
        height: 380px !important;
        object-fit: cover !important;
        object-position: right bottom !important;
        display: block !important;
        transform: scale(1.38) !important;
        transform-origin: center center !important;
        top: auto !important;
        left: auto !important;
    }

    .exiqo-video-overlay {
        display: none !important;
    }

    .expertise {
        padding: 3.5rem 1.25rem 2rem !important;
    }

    .expertise-header {
        margin-bottom: 2rem !important;
    }

    .expertise-header h2 {
        font-size: clamp(1.75rem, 5.5vw, 2.25rem) !important;
        margin-bottom: 0.75rem !important;
    }

    .expertise-header p {
        font-size: 0.95rem !important;
    }

    .tech-tabs-outer-container {
        padding: 0 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .tech-tabs-wrapper {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 5px 8px !important;
        border-radius: 9999px !important;
        width: 100% !important;
    }

    .tech-tab-btn {
        padding: 0.45rem 1.05rem !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .orbital-arena {
        display: none !important;
    }

    .mobile-tech-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.85rem !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .mobile-tech-row {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .mobile-tech-sq-btn {
        width: 72px !important;
        height: 72px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1.5px solid rgba(155, 81, 224, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 13px !important;
        box-shadow: 0 6px 20px rgba(155, 81, 224, 0.08) !important;
        cursor: pointer !important;
        transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
        outline: none !important;
    }

    .mobile-tech-sq-btn.active,
    .mobile-tech-sq-btn:active {
        background: #ffffff !important;
        border-color: #9b51e0 !important;
        box-shadow: 0 8px 24px rgba(155, 81, 224, 0.28), 0 0 0 3px rgba(155, 81, 224, 0.2) !important;
        transform: scale(1.08) !important;
    }

    .mobile-tech-sq-logo {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain !important;
        pointer-events: none !important;
    }

    .mobile-tech-label-badge {
        margin-top: 0.75rem !important;
        background: rgba(155, 81, 224, 0.08) !important;
        border: 1.5px solid rgba(155, 81, 224, 0.25) !important;
        padding: 0.55rem 1.4rem !important;
        border-radius: 9999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(155, 81, 224, 0.1) !important;
    }

    #mobileTechLabelText {
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        color: #6d28d9 !important;
        letter-spacing: 0.01em !important;
        transition: opacity 0.15s ease, transform 0.15s ease !important;
    }

    .thinking-industry {
        padding: 4rem 1.25rem 3rem !important;
    }

    .thinking-industry .flex-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.25rem !important;
        margin-bottom: 2.5rem !important;
    }

    .thinking-industry .flex-header h2 {
        font-size: clamp(1.85rem, 6vw, 2.5rem) !important;
        line-height: 1.25 !important;
    }

    .thinking-industry .flex-header p {
        font-size: 0.95rem !important;
    }

    .thinking-industry .flex-header a,
    .thinking-industry .flex-header .purple-circle-btn,
    .thinking-industry .flex-header .explore-insights-btn {
        align-self: flex-start !important;
        margin-top: 0.5rem !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
    }

    .thinking-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .other-services {
        padding: 4rem 1.25rem 3rem !important;
    }

    .other-services .flex-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .other-services .flex-header h2 {
        font-size: clamp(1.85rem, 6vw, 2.5rem) !important;
        line-height: 1.25 !important;
    }

    .other-services .flex-header h2 br {
        display: none !important;
    }

    .other-services .section-subtext {
        font-size: 0.95rem !important;
    }

    .services-carousel {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding: 0.5rem 0 1.5rem !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .services-carousel::-webkit-scrollbar {
        display: none !important;
    }

    .services-carousel .carousel-card {
        flex: 0 0 86% !important;
        max-width: 86% !important;
        scroll-snap-align: center !important;
        border-radius: 20px !important;
    }

    .pre-footer {
        padding: 3.5rem 1.25rem;
        min-height: auto;
    }

    .footer {
        padding: 3rem 1.25rem 1.75rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
        margin-bottom: 2.5rem;
    }
}

/* Mobile Phones (<= 640px) - 1 Card Per View Scrollable Carousels */
@media (max-width: 640px) {
    /* 1. Case Studies Section - 1 Card Per View Carousel */
    .case-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        -webkit-overflow-scrolling: touch;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .case-card,
    .case-card.large,
    .case-card.small {
        flex: 0 0 88% !important;
        width: 88% !important;
        min-width: 88% !important;
        max-width: 88% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        height: 380px !important;
        box-sizing: border-box !important;
    }

    /* 2. Other Services Section - 1 Card Per View Carousel */
    .services-carousel,
    .other-services-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        -webkit-overflow-scrolling: touch;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .services-carousel .carousel-card,
    .other-services-carousel .carousel-card,
    .carousel-card {
        flex: 0 0 86% !important;
        width: 86% !important;
        min-width: 86% !important;
        max-width: 86% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        box-sizing: border-box !important;
    }

    /* 3. EXiQO AI Section - 1 Card Per View Carousel */
    .exiqo-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        -webkit-overflow-scrolling: touch;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .exiqo-card {
        flex: 0 0 88% !important;
        width: 88% !important;
        min-width: 88% !important;
        max-width: 88% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        box-sizing: border-box !important;
    }

    /* 4. Bento Hero Bottom Row - 1 Card Per View Carousel */
    .bento-hero-bottom-row {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding-bottom: 0.75rem !important;
        -webkit-overflow-scrolling: touch;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .bento-card-bottom-blue,
    .bento-card-bottom-pink {
        flex: 0 0 88% !important;
        width: 88% !important;
        min-width: 88% !important;
        max-width: 88% !important;
        scroll-snap-align: center !important;
    }

    .hero-1 {
        padding: 5.75rem 1.25rem 3rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.22;
    }

    .hero-content p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .pill-title-badge {
        font-size: 0.7rem;
    }

    .bento-hero-main-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .bento-hero-subtext {
        font-size: 0.88rem;
    }

    .bento-card {
        padding: 1.35rem;
        border-radius: 20px;
        min-height: auto;
    }

    .bento-card-top-purple h3 {
        font-size: 1.15rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    .bento-card-top-purple p {
        font-size: 0.85rem;
    }

    .bento-card-bottom-blue h4,
    .bento-card-bottom-pink h4 {
        font-size: 1.05rem;
    }

    .bento-metric-number {
        font-size: 2rem;
    }

    .bento-logo-list {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .bento-logo-item {
        font-size: 0.95rem;
    }

    .apple-stage-card {
        height: 320px;
        border-radius: 18px;
    }

    .apple-stage-bottom-overlay {
        padding: 1.1rem;
    }

    .apple-stage-bottom-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .glass-pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;

    }

    .pre-footer h2 {
        font-size: 1.55rem;
        line-height: 1.28;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }
}