/* ============================================================
   NAYAKAAM PRODUCTIONS — Luxury Dark Agency Aesthetic
   Deep Black, Gold Accents, High-End Cinematic Look
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Core Colors */
    --bg-primary: #0D0D0D;   /* Deep Black */
    --bg-secondary: #1A1A1A; /* Charcoal Section Bg */
    --bg-card: #2A2A2A;      /* Dark Grey Card */
    --bg-card-hover: #333333;
    --bg-surface: #0D0D0D;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #BFBFBF;
    --text-muted: #8C8C8C;

    /* Accent Colors (Luxury Red) */
    --accent-cyan: #FF0000;    /* Primary Red */
    --accent-magenta: #E60000; /* Soft Red */
    --accent-purple: #CC0000;  /* Darker Red */
    --accent-gradient: linear-gradient(135deg, #FF0000, #E60000);
    --accent-gradient-hover: linear-gradient(135deg, #E60000, #CC0000);

    /* Glow/Shadow Effects (Premium Red Glow) */
    --glow-cyan: 0 8px 32px rgba(255, 0, 0, 0.2);
    --glow-magenta: 0 8px 32px rgba(230, 0, 0, 0.2);
    --glow-purple: 0 8px 32px rgba(255, 0, 0, 0.1);

    /* Border */
    --border-subtle: #3A3A3A;
    --border-accent: rgba(255, 0, 0, 0.3);

    /* Sizing */
    --header-height: 120px; /* Increased from 72px */
    --section-padding: 120px;
    --container-max: 1280px;

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
}

/* ===== PRELOADER (CINEMATIC VERSION) ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        url('Shadows%20%26%20Caffeine.jfif');
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.35);
    opacity: 0.9;
    transform: scale(1.1); /* Prevents white edges from blur */
}

.preloader-content {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.preloader-circle {
    width: 520px; /* Increased from 380px */
    height: 520px; /* Increased from 380px */
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.9) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9),
        inset 0 0 40px rgba(255, 0, 0, 0.05);
    overflow: hidden;
}

.preloader-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.5) 0%, transparent 70%);
    filter: blur(30px);
    animation: core-pulse-cinematic 3s infinite ease-in-out;
}

.preloader-logo {
    width: 360px; /* Increased from 240px */
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
}

@keyframes core-pulse-cinematic {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0.75; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 112.5%; /* 1rem = 18px */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.04;
    z-index: 9999;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
    /* Stronger background for immediate visibility */
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    height: 90px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1001;
}

.logo-text {
    display: none;
}

.logo-img {
    height: 110px; /* Even bigger for impact */
    width: auto;
    object-fit: contain;
    transition: all 0.4s var(--ease-out);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-2deg);
}

.mobile-logo {
    height: 90px;
    width: auto;
    margin-bottom: 30px;
}

.logo-dot {
    display: none;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem; /* Slightly larger */
    font-weight: 600; /* Bolder */
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase; /* More professional/premium */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s var(--ease-out);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-accent);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.cta-btn:hover {
    background: rgba(255, 0, 0, 0.08); /* Light Red */
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-1px);
}

.cta-sparkle {
    font-size: 0.75rem;
    animation: sparkle-rotate 3s linear infinite;
}

@keyframes sparkle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(30px);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-cta {
    margin-top: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 0, 0, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(26, 26, 26, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(230, 0, 0, 0.08) 0%, transparent 50%);
    animation: gradient-shift 8s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 32px;
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fade-up 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 10vw, 7.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    margin-bottom: 28px;
    animation: fade-up 0.8s var(--ease-out) 0.4s both;
}

.hero-line {
    display: block;
}

.hero-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 48px;
    animation: fade-up 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fade-up 0.8s var(--ease-out) 0.8s both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CINEMATIC HERO ENHANCEMENTS ===== */
.hero.cinematic {
    background: transparent;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: none;
    pointer-events: none;
    opacity: 1;
    filter: brightness(0.9) contrast(1.1);
}

@media (min-aspect-ratio: 16/9) {
    .hero-bg-video {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-bg-video {
        width: 177.78vh;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.2), var(--bg-primary));
    z-index: 1;
}

/* ===== INTERACTIVE NODE SECTION ===== */
.interactive-node-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.interactive-node-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.interactive-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
}

.interactive-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 32px;
}

.highlight-text {
    color: #a78b71;
}

.interactive-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-solid-white {
    background: #fff;
    color: #000;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-body);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    display: inline-block;
}

.btn-solid-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-bordered-white {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s var(--ease-out);
    display: inline-block;
}

.btn-bordered-white:hover {
    background: #fff;
    color: #000;
}

.interactive-canvas {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.central-node {
    width: 40%; /* Slightly smaller for logo focus */
    max-width: 400px;
    aspect-ratio: 1; /* Square for logo focus */
    border-radius: 50%; /* Circle for central engine look */
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.central-logo-wrapper {
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.central-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5)) brightness(1.2);
    animation: pulse-logo 4s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4)) brightness(1.2); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.7)) brightness(1.4); }
}

.central-node:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(167, 139, 113, 0.2);
}

.central-node img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.node-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.node-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.central-node .node-overlay {
    display: none;
}

.satellite-node {
    position: absolute;
    padding: 20px;
    z-index: 3;
    width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: rgba(10, 10, 10, 0.85); /* Darker for better text contrast */
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 0, 0, 0.05);
    animation: float-node 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sat-icon {
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.3));
    transition: transform 0.3s var(--ease-out);
}

.sat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.satellite-node h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.sat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.satellite-node:hover {
    background: rgba(20, 5, 5, 0.95);
    border-color: #ff0000;
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    z-index: 10;
}

.satellite-node:hover h4 {
    color: #ff0000;
}

.satellite-node:hover .sat-desc {
    color: #fff;
    opacity: 1;
}

/* Precise positioning to avoid overlap */
.sat-1 { top: 0%; left: 5%; animation-delay: 0s; }
.sat-2 { top: 0%; right: 5%; animation-delay: -1.5s; }
.sat-3 { bottom: 0%; left: 5%; animation-delay: -3s; }
.sat-4 { bottom: 0%; right: 5%; animation-delay: -4.5s; }

@keyframes float-node {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.branch-line {
    fill: none;
    stroke: rgba(255, 0, 0, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 10, 5;
    animation: flow-line 20s linear infinite;
}

@keyframes flow-line {
    to { stroke-dashoffset: -100; }
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.journey-connection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#scroll-journey-path {
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.3));
    stroke-linecap: round;
    stroke-linejoin: round;
}

.branch-line {
    fill: none;
    stroke: #a78b71;
    stroke-width: 2;
    stroke-dasharray: 8 8;
    opacity: 0.6;
    animation: pulse-branch 20s linear infinite;
}

@keyframes pulse-branch {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

@media (max-width: 768px) {
    .interactive-canvas {
        height: 500px;
    }
    .central-node {
        width: 80%;
    }
    .sat-1 { top: 5%; left: 5%; }
    .sat-2 { top: 5%; right: 5%; }
    .sat-3 { bottom: 5%; left: 5%; }
    .sat-4 { bottom: 5%; right: 5%; }
}

/* ===== CLIENT LOGOS ===== */
.client-logos-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.client-logos-header {
    text-align: center;
    margin-bottom: 40px;
}

.client-logos-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.logo-track-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: logo-scroll 40s linear infinite;
    width: max-content;
}

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

.logo-item img {
    height: 32px;
    width: auto;
    filter: grayscale(1) brightness(2) contrast(0.5);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 40px)); }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: var(--section-padding) 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(255, 0, 0, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: var(--bg-card);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.portfolio-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-info {
    opacity: 1;
}

.portfolio-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===== SERVICES ENHANCEMENTS ===== */
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.7;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    opacity: 1;
}

.service-card .service-icon {
    margin-top: -30px;
    margin-left: 24px;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    font-size: 1.5rem;
}

.service-card h3 {
    padding: 24px 24px 8px;
}

.service-card p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
}
.case-studies-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
}

.case-study-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.case-study-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.case-study-card.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.case-study-card.reverse .cs-image {
    order: 2;
}

.cs-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--glow-cyan);
}

.cs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.case-study-card:hover .cs-image img {
    transform: scale(1.05);
}

.cs-client {
    display: inline-block;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cs-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cs-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cs-stats {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
}

.cs-stat {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cs-stat strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-secondary);
}

.testimonials-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.testimonial-card {
    padding: 48px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.test-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.test-meta h4 {
    margin: 0;
    font-size: 1rem;
}

.test-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== PRICING ===== */
.pricing-section {
    padding: var(--section-padding) 32px;
}

.pricing-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.pricing-card:hover:not(.featured) {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    background: rgba(26, 26, 26, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.price-tag {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    flex: 1;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    margin-right: 12px;
}

@media (max-width: 992px) {
    .case-study-card, .case-study-card.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fade-up 0.8s var(--ease-out) 1s both;
}

@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: none; /* Save space on small mobile heights */
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.875rem;
}

.whatsapp-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn span {
    display: block;
}

@media (max-width: 600px) {
    .whatsapp-btn span {
        display: none;
    }
    .whatsapp-btn {
        padding: 14px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient-hover);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    padding: 14px 24px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ===== STATS MARQUEE ===== */
.stats-marquee {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    position: relative;
}

.stats-marquee-label {
    position: absolute;
    left: 32px;
    z-index: 10;
    background: var(--bg-secondary);
    padding-right: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.stat-item {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.stat-item strong {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-right: 4px;
}

.stat-divider {
    color: var(--text-muted);
    font-size: 0.5rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== GRAND BACKGROUND WRAPPER (Who We Are → Trusted By Global Leaders) ===== */
.grand-bg-wrapper {
    position: relative;
    background:
        /* Top: dark-to-transparent overlay for image 1 */
        linear-gradient(to bottom,
            rgba(13,13,13,1) 0%,
            rgba(13,13,13,0.55) 8%,
            rgba(13,13,13,0.55) 50%,
            rgba(13,13,13,0.75) 55%,
            rgba(13,13,13,0.55) 60%,
            rgba(13,13,13,0.55) 92%,
            rgba(13,13,13,1) 100%
        ),
        /* Image 1 for top half, Image 2 for bottom half — combined via stacked backgrounds */
        url('Background/hand%20pick%201.jpeg') top / cover no-repeat,
        url('Background/hand%20pick%202.jpeg') bottom / cover no-repeat;
    background-attachment: fixed, fixed, fixed;
    overflow: hidden;
}

/* Pseudo element: overlay the bottom half with image 4 only from 50% down */
.grand-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            transparent 0%,
            transparent 45%,
            rgba(13,13,13,0.6) 50%,
            rgba(13,13,13,0.55) 55%,
            transparent 60%,
            transparent 100%
        ),
        url('Background/hand%20pick%202.jpeg') center / cover no-repeat;
    background-attachment: fixed, fixed;
    mix-blend-mode: normal;
    opacity: 1;
    /* Only show in bottom half */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 65%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 65%, black 100%);
    pointer-events: none;
    z-index: 0;
}

/* Make all inner bg wrappers transparent so grand-bg shows through */
.grand-bg-wrapper .multi-section-bg,
.grand-bg-wrapper .services-diff-bg,
.grand-bg-wrapper .partner-bg,
.grand-bg-wrapper .immersion-brands-bg {
    background: transparent !important;
    background-image: none !important;
}

/* Ensure inner content sits above the pseudo-element */
.grand-bg-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Mobile: disable fixed attachment */
@media (max-width: 768px) {
    .grand-bg-wrapper {
        background-attachment: scroll, scroll, scroll;
    }
    .grand-bg-wrapper::after {
        background-attachment: scroll, scroll;
    }
}



/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background: var(--accent-cyan);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights-section {
    padding: var(--section-padding) 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: stretch;
}

/* Featured Card (Large) */
.highlight-card.featured {
    grid-column: span 8;
    grid-row: span 2;
}

.highlight-card {
    grid-column: span 4;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible; /* For 3D tilt */
    cursor: pointer;
    transition: transform 0.1s ease-out; /* Smooth tilt */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.highlight-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.highlight-card:hover .highlight-card-inner {
    border-color: var(--accent-cyan);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 20px rgba(255, 0, 0, 0.1);
}

/* Floating Numbers */
.card-num-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 0, 0, 0.08);
    line-height: 1;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    transition: all 0.6s var(--ease-out);
}

.highlight-card:hover .card-num-bg {
    transform: translateY(10px) scale(1.1);
    -webkit-text-stroke: 1px rgba(255, 0, 0, 0.15);
}

.highlight-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    z-index: 2;
}

.highlight-card.featured .highlight-card-image {
    aspect-ratio: 16 / 9;
}

.highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.highlight-card:hover .highlight-card-image img {
    transform: scale(1.1);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13, 13, 13, 0.8) 100%);
    z-index: 3;
}

.highlight-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) translateZ(50px);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 10;
    transition: all 0.4s var(--ease-spring);
}

.highlight-card:hover .highlight-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateZ(50px);
}

.highlight-play-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    margin-left: 4px;
}

.highlight-card-content {
    padding: 32px;
    position: relative;
    z-index: 5;
    background: var(--bg-card);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateZ(30px);
}

.card-category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.highlight-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #fff;
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-card-title {
    color: var(--accent-magenta);
}

.card-details-reveal {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.highlight-card:hover .card-details-reveal {
    height: 110px; /* Adjust based on content */
    opacity: 1;
    margin-top: 12px;
}

.highlight-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.highlight-watch-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.watch-icon {
    width: 32px;
    height: 1px;
    background: var(--accent-cyan);
    position: relative;
    transition: width 0.3s ease;
}

.highlight-card:hover .watch-icon {
    width: 48px;
}

.watch-icon::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--accent-cyan);
    border-right: 1px solid var(--accent-cyan);
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .highlight-card.featured,
    .highlight-card {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .highlight-card.featured,
    .highlight-card {
        grid-column: span 1;
        transform: none !important; /* Disable manual tilts override */
    }
    .card-num-bg {
        font-size: 4rem;
        top: 0;
    }
    /* Fixed visibility for touch devices - no hover */
    .card-details-reveal {
        height: auto;
        opacity: 1;
        margin-top: 10px;
    }
    .highlight-card-content {
        padding: 24px;
    }
}

.highlight-no-video {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 32px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.empty-state a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== MULTI-SECTION BACKGROUND WRAPPER ===== */
.multi-section-bg {
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('Background/hand%20pick%201.jpeg');
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding) 32px;
    background: transparent;
    border: none;
    position: relative;
}

.about-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: rgba(20, 20, 20, 0.5); /* Semi-transparent to blend */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.35s var(--ease-out);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-cyan);
}

.about-stat-card.accent {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.1), rgba(0, 229, 255, 0.05));
    border-color: rgba(140, 82, 255, 0.2);
}

.about-stat-card.accent:hover {
    box-shadow: var(--glow-purple);
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ===== VISION SECTION ===== */
.vision-section {
    padding: var(--section-padding) 32px;
    background: transparent;
    border: none;
}

.vision-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: center;
}

.vision-left {
    flex: 1;
}

.vision-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.vision-right {
    flex: 1;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vision-list li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.vision-list li strong {
    color: var(--text-primary);
}

.vision-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
}

@media (max-width: 968px) {
    .vision-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding) 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== DIFFERENTIATORS SECTION ===== */
.differentiators-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.diff-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.diff-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.diff-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.expertise-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expertise-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.expertise-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.expertise-list li:last-child {
    margin-bottom: 0;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.team-image-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.team-card:hover .team-image-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    padding: 100px 32px;
    background: var(--bg-secondary);
    color: white;
    text-align: center;
}

.impact-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.impact-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 64px;
    color: white;
}

.impact-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s var(--ease-out);
}

.impact-stat:hover {
    transform: scale(1.1);
}

.impact-stat:hover .impact-number {
    color: var(--accent-magenta);
    text-shadow: var(--glow-cyan);
}

.impact-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    position: relative;
}

.impact-plus {
    color: var(--accent-cyan);
    font-size: 2.5rem;
    position: absolute;
    top: 0;
    right: -30px;
}

.impact-stat:last-child .impact-plus {
    font-size: 1.5rem;
    top: -5px;
}

.impact-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 200px;
    line-height: 1.4;
}

/* ===== PARTNER SECTION ===== */
.partner-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.partner-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out);
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
    box-shadow: var(--glow-cyan);
}

.partner-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.contact-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
}

.contact-right {
    flex: 1;
    width: 100%;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.contact-form-msg {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 968px) {
    .contact-inner {
        flex-direction: column;
    }
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.contact-info-item a {
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-cyan);
}

.contact-info-item span:not(.contact-label) {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 32px 30px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Luxury Top Border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-top {
    margin-bottom: 40px;
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 32px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-watermark {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: 12px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 0, 0, 0.05);
    text-align: center;
    margin-top: 40px;
    user-select: none;
    pointer-events: none;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-wm {
    height: 100px;
    width: auto;
    opacity: 0.1;
    margin-bottom: -20px;
    filter: brightness(2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-cyan);
    color: #fff;
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.back-to-top-sparkle {
    font-size: 1.25rem;
    animation: sparkle-rotate 4s linear infinite;
}

@keyframes sparkle-rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100000; /* Highest priority to be on top of menu */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(20px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 0, 0, 0.2);
    border: 2px solid #333;
    z-index: 100001;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-spring);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: #ff0000;
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #050505;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Vertical / Reel Adjustment */
.video-modal.is-vertical .video-modal-content {
    max-width: 450px;
}

.video-modal.is-vertical .video-modal-wrapper {
    padding-top: 177.77%; /* 9:16 aspect ratio */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav {
        display: none;
    }

    .cta-btn:not(.mobile-cta) {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-socials {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .highlights-section,
    .services-section,
    .about-section,
    .contact-section,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PARTICLE ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px) scale(0); opacity: 0; }
}

/* ===== SCROLL REVEAL (Safe-default) ===== */
.reveal {
    opacity: 1; /* Default to visible for reliability */
    transform: translateY(0);
    transition: all 0.8s var(--ease-out);
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.partner-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
    transition: transform 0.4s var(--ease-out);
}
.partner-card:hover .partner-icon {
    transform: scale(1.1) translateY(-5px);
}


/* ===== CARD SWAP SECTION ===== */
.card-swap-section {
    padding: var(--section-padding) 32px;
    background: transparent;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.card-swap-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.card-swap-container {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.card-swap-wrapper {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.cs-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 300px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    box-shadow: var(--glow-cyan);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    overflow: hidden;
}

.cs-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cs-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.cs-card:hover img {
    transform: scale(1.1);
}

.cs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.cs-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #fff;
}

.cs-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cs-card-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .card-swap-inner {
        grid-template-columns: 1fr;
    }
    .card-swap-container {
        height: 350px;
    }
    .cs-card {
        width: 320px;
        height: 240px;
    }
}

/* ===== SERVICES HUB (TECH EDITION) ===== */
.services-hub-section {
    padding: 160px 32px;
    background: #080808;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
    position: relative;
    min-height: 120vh;
    display: flex;
    flex-direction: column;
}

.hub-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 800px;
    margin: 0 auto;
    perspective: 1500px;
}

/* Concentric Background Circles */
.hub-bg-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 0;
}

.hub-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 174, 0, 0.05);
    border-radius: 50%;
}

.hub-bg-circle-1 { width: 300px; height: 300px; }
.hub-bg-circle-2 { width: 500px; height: 500px; }
.hub-bg-circle-3 { width: 700px; height: 700px; }

.hub-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hub-line {
    stroke: #ffae00;
    stroke-width: 1.5;
    fill: none;
    opacity: 0.3;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px; /* Increased from 240px to prevent text wrapping */
    height: 280px; /* Increased to keep circular aspect ratio */
    background: radial-gradient(circle, rgba(255, 174, 0, 0.2) 0%, transparent 70%);
    border: 1px solid rgba(255, 174, 0, 0.3);
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffae00;
    padding: 20px;
    box-shadow: 0 0 60px rgba(255, 174, 0, 0.1), inset 0 0 30px rgba(255, 174, 0, 0.05);
    backdrop-filter: blur(5px);
}

.hub-center-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px #ffae00);
}

.hub-center h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    white-space: nowrap; /* Forces one line */
}

.hub-center p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.hub-node {
    position: absolute;
    width: 200px;
    padding: 24px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-align: center;
    z-index: 4;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}

.hub-node:hover {
    border-color: rgba(255, 174, 0, 0.5);
}

.hub-node-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-node-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 174, 0, 0.2));
}

.hub-node h3 {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.hub-node p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.node-1 { top: 20%; left: 20%; }
.node-2 { top: 20%; left: 80%; }
.node-3 { top: 80%; left: 20%; }
.node-4 { top: 80%; left: 80%; }

.initialize-sequence {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 10;
}

.initialize-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    margin: 10px auto 0;
}

/* ===== DIFFERENTIATORS (CARD STACK) ===== */
.differentiators-section {
    padding: 160px 32px;
    background: #050505;
    overflow: hidden;
}

.diff-stack-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.diff-text-content {
    max-width: 500px;
}

.diff-stack-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.interactive-stack {
    position: relative;
    width: 320px;
    height: 420px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.stack-card {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: grab;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
    will-change: transform, opacity;
}

.stack-card:active {
    cursor: grabbing;
}

.stack-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stack-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Gradients for cards */
.card-grad-1 { background: linear-gradient(135deg, #8B0000 0%, #0D0D0D 100%); }
.card-grad-2 { background: linear-gradient(135deg, #DC143C 0%, #1a0a0a 100%); }
.card-grad-3 { background: linear-gradient(135deg, #6B0F1A 0%, #0D0D0D 100%); }
.card-grad-4 { background: linear-gradient(135deg, #8B2500 0%, #0D0D0D 100%); }
.card-grad-5 { background: linear-gradient(135deg, #9B1B30 0%, #1a0a0a 100%); }
.card-grad-6 { background: linear-gradient(135deg, #722F37 0%, #0D0D0D 100%); }

.stack-hint {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .diff-stack-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .diff-text-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .diff-text-content h2 {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .interactive-stack {
        width: 280px;
        height: 380px;
    }
}

/* ===== SERVICES & DIFFERENTIATORS WRAPPER ===== */
.services-diff-bg {
    background-image: linear-gradient(to bottom, #000, rgba(5, 5, 5, 0.8) 15%, rgba(5, 5, 5, 0.8) 85%, #000), url('Background/image%202.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.services-hub-section,
.differentiators-section {
    background: transparent !important;
    border: none !important;
}

/* ===== IMPACT & CONTACT WRAPPER ===== */
.impact-contact-bg {
    background-image: linear-gradient(to bottom, #000, rgba(5, 5, 5, 0.85) 15%, rgba(5, 5, 5, 0.85) 85%, #000), url('Background/image%203.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.impact-section,
.contact-section {
    background: transparent !important;
    border: none !important;
}/* ===== CIRCULAR SHOWCASE GALLERY ===== */
.circular-showcase-section {
    padding: 100px 32px;
    background: transparent;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.circular-gallery-container {
    width: 100%;
    height: 700px;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: grab;
}

.circular-gallery-container:active {
    cursor: grabbing;
}

.circular-gallery-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .circular-gallery-container {
        height: 500px;
    }
}/* ===== BRANDS IMAGE TRAIL ===== */
/* ===== BRANDS TICKER ===== */
.brands-ticker-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.brands-ticker-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 32px;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    /* Gradient Edge Fade */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.ticker-item img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.5);
    transition: all 0.4s ease;
}

.ticker-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.ticker-logo-alt {
    height: 60px !important;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .ticker-item {
        padding: 0 40px;
    }
    .ticker-item img {
        height: 30px;
    }
}
/* ===== IMMERSION & BRANDS BACKGROUND ===== */
.immersion-brands-bg {
    background-image: linear-gradient(to bottom, #000, rgba(10, 10, 10, 0.8) 15%, rgba(10, 10, 10, 0.8) 85%, #000), url('Background/image5.jfif');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
}

.circular-showcase-section, 
.brands-trail-section {
    background: transparent !important;
}
/* ===== SECTION DIVIDERS ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent
    );
    margin: 0;
    position: relative;
    z-index: 10;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 20px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(5px);
}/* ===== HIGHLIGHTS BACKGROUND ===== */
.highlights-bg {
    background: #050505;
    position: relative;
    padding: 80px 0;
}

.highlights-section {
    background: transparent !important;
}

/* ===== PARTNER BACKGROUND ===== */
.partner-bg {
    background-image: linear-gradient(to bottom, #000, rgba(5, 5, 5, 0.8) 15%, rgba(5, 5, 5, 0.8) 85%, #000), url('Background/hand%20pick%202.jpeg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.interactive-node-section {
    background: transparent !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS & FIXES
   ============================================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 768px) {
    /* Global Background Fix for Mobile (Fixed backgrounds are buggy on mobile) */
    .multi-section-bg,
    .services-diff-bg,
    .impact-contact-bg,
    .immersion-brands-bg,
    .partner-bg {
        background-attachment: scroll !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem !important;
    }
    
    /* Interactive Hubs & Canvas Fixes */
    .interactive-canvas, 
    .hub-container {
        height: 600px; /* Force a reasonable height */
        transform: scale(0.8);
        transform-origin: center center;
        overflow: visible;
    }

    .central-node, .hub-center {
        width: 180px;
        height: 180px;
    }

    .satellite-node, .hub-node {
        width: 160px;
        padding: 15px;
        font-size: 0.8rem;
    }

    /* Reposition nodes for narrow screens to avoid overlap */
    .node-1, .sat-1 { top: 10%; left: 10%; }
    .node-2, .sat-2 { top: 10%; left: 90%; }
    .node-3, .sat-3 { top: 90%; left: 10%; }
    .node-4, .sat-4 { top: 90%; left: 90%; }

    /* SVG Lines Hidden on Mobile to reduce clutter if needed, or scaled */
    .connection-lines, .hub-svg {
        opacity: 0.2;
    }

    /* Circular Gallery */
    .circular-gallery-container {
        height: 400px !important;
    }

    /* Card Stacks */
    .interactive-stack {
        width: 260px;
        height: 360px;
    }

    .stack-card {
        padding: 24px;
    }

    .stack-card-content h3 {
        font-size: 1.4rem;
    }

    /* Visibility and Spacing */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2.2rem !important;
    }
}

/* Further Section Responsiveness */
@media (max-width: 992px) {
    .about-inner, 
    .vision-inner,
    .expertise-grid,
    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 48px;
    }

    .highlight-card.featured,
    .highlight-card {
        grid-column: span 12 !important;
        grid-row: auto !important;
    }

    .about-left, .vision-left {
        text-align: center;
    }

    .vision-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Header Fixes */
    .nav, .header-inner .cta-btn {
        display: none !important;
    }

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

    /* Padding adjustments */
    .about-section, .vision-section, .highlights-section, .expertise-section {
        padding: 60px 24px !important;
    }

    /* Stats Marquee */
    .stat-item {
        font-size: 0.9rem;
    }

    /* Footer Fixes */
    .footer-inner {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .expertise-card {
        padding: 30px 20px;
    }
}

/* ===== DIGITAL WALLET SECTION ===== */
.wallet-section {
    padding: var(--section-padding) 32px;
    background: #051810; /* Solid Dark Forest Green as requested */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wallet-inner {
    width: 100%;
    max-width: var(--container-max);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wallet-interaction-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wallet-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(21, 50, 40, 0.8) 0%, rgba(5, 24, 16, 1) 70%);
    pointer-events: none;
}

.wallet-wrapper {
    position: relative;
    width: 320px;
    height: 224px;
    perspective: 1000px;
    z-index: 10;
}

@media (min-width: 768px) {
    .wallet-wrapper {
        width: 384px;
        height: 256px;
    }
}

/* Cards Stack */
.wallet-cards-area {
    position: absolute;
    inset: 0 24px;
    perspective: 1000px;
    transform-style: preserve-3d;
    pointer-events: none;
}

.wallet-card {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform-origin: bottom center;
    transition: filter 0.3s ease;
}

/* Card Content */
.card-content {
    position: relative;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Space Grotesk', monospace;
    z-index: 2;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-chip {
    width: 40px;
    height: 28px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(4px);
    position: relative;
}

.card-chip::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.card-wifi {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transform: rotate(90deg);
}

.card-middle {
    margin-top: auto;
    margin-bottom: 20px;
}

.card-number {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2px;
}

.card-value {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-brand {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -1px;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Card Visual Effects */
.card-noise {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    mix-blend-mode: overlay;
    pointer-events: none;
}

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wallet-card:hover .card-shine {
    opacity: 1;
}

/* Specific Card Themes */
.gold-card {
    background: linear-gradient(135deg, #E6C685 0%, #A88B4D 50%, #6C5528 100%);
    color: #3E2C0F;
}

.silver-card {
    background: linear-gradient(135deg, #E2E2E2 0%, #9CA3AF 50%, #4B5563 100%);
    color: #1A1A1A;
}

/* Wallet Holder */
.wallet-holder-front {
    position: absolute;
    inset: 0;
    background: #141414;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.9);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
}

.wallet-leather {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    mix-blend-mode: multiply;
}

.wallet-stitching {
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0.5;
    pointer-events: none;
}

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

.balance-label {
    display: block;
    color: #5C7066;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.balance-amount {
    color: #E0E0E0;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.wallet-slot-shadow {
    position: absolute;
    top: 0;
    inset: 0 32px;
    height: 4px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 0 8px 8px;
    filter: blur(1px);
}

.wallet-holder-back {
    position: absolute;
    inset: 0;
    background: #080808;
    border-radius: 16px;
    z-index: 0;
    transform: translateY(12px) translateZ(-10px) scale(0.98);
}

/* Hint */
.wallet-hint {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(136, 160, 150, 0.4);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hint-arrow {
    font-size: 0.8rem;
}

.wallet-hint.active .hint-arrow {
    animation: bounce 1s infinite;
}

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

/* ===== PARTNER CARDS (Why Partner With Us wallet) ===== */
.partner-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 20px;
    gap: 16px;
    z-index: 2;
    text-align: center;
}

.partner-card-icon {
    width: 80px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.partner-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wallet-card:hover .partner-card-icon {
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    transform: scale(1.08);
}

.partner-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partner-card-tag {
    font-size: 0.55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.6;
}

.partner-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
}

.partner-card-desc {
    font-size: 0.7rem;
    line-height: 1.5;
    opacity: 0.75;
    margin: 0;
    max-width: 200px;
}

.partner-card-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Card colour themes */
.partner-card-1 {
    background: linear-gradient(135deg, #1a0a0a 0%, #4a0808 50%, #8B0000 100%);
    color: #f8e8e8;
}
.partner-card-2 {
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1a3a 50%, #1a3a6a 100%);
    color: #e8eef8;
}
.partner-card-3 {
    background: linear-gradient(135deg, #0a1a0a 0%, #0d2d0d 50%, #1a4a1a 100%);
    color: #e8f4e8;
}
.partner-card-4 {
    background: linear-gradient(135deg, #1a1400 0%, #3a2d00 50%, #6a5200 100%);
    color: #f8f2e0;
}

/* Wallet size override for 4 cards */
.wallet-wrapper {
    height: 260px;
}

/* Progress dots */
.wallet-dots {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    align-items: center;
    justify-content: center;
}

.wallet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.wallet-dot.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(255,0,0,0.5);
    width: 24px;
    border-radius: 4px;
}

/* ===== PILLAR SECTION (Why Partner With Us — Clean Redesign) ===== */
.pillar-section {
    padding: var(--section-padding) 32px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Ambient red glow top-center */
.pillar-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,0,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pillar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Header */
.pillar-header {
    text-align: center;
    margin-bottom: 80px;
}

.pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin: 16px 0 24px;
}

.pillar-title-accent {
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid: 4 columns on desktop, 2 on tablet, 1 on mobile */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual Card */
.pillar-card {
    position: relative;
    background: #111111;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.pillar-card:hover {
    border-color: rgba(255,0,0,0.35);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 30px rgba(255,0,0,0.08);
}

/* Big faded number */
.pillar-card-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.pillar-card:hover .pillar-card-num {
    color: rgba(255,0,0,0.12);
}

/* SVG illustration */
.pillar-card-illustration {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.pillar-card-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.85) saturate(0.7);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.pillar-card:hover .pillar-card-illustration img {
    filter: brightness(1) saturate(1);
    transform: scale(1.06) translateY(-4px);
}

/* Red accent bar */
.pillar-card-bar {
    width: 36px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin-bottom: 20px;
    transition: width 0.4s ease;
}

.pillar-card:hover .pillar-card-bar {
    width: 60px;
}

/* Text */
.pillar-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pillar-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.pillar-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.pillar-card:hover .pillar-card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Hover background sweep */
.pillar-card-hover-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom center, rgba(255,0,0,0.06) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 20px;
}

.pillar-card:hover .pillar-card-hover-bg {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    .pillar-title {
        font-size: 2.5rem;
    }
    .pillar-card-desc {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== VISIBILITY UTILITIES ===== */
@media (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE OVERRIDES ===== */

/* Large Tablets & Small Desktops (under 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 100px;
        --section-padding: 80px;
    }

    .logo-img { height: 80px; }
    
    .vision-inner, .contact-inner {
        flex-direction: column;
        gap: 40px;
    }

    .vision-left, .vision-right, .contact-left, .contact-right {
        width: 100%;
    }

    .hero-title { font-size: clamp(2.5rem, 12vw, 5rem); }
}

/* Tablets (under 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
        --section-padding: 60px;
    }

    .logo-img { height: 50px; }
    .mobile-logo { height: 60px; }

    .nav { display: none; } /* Hide desktop nav, use mobile menu */
    .mobile-menu-btn { display: flex; }

    .section-header, 
    .interactive-header, 
    .about-left, 
    .about-right, 
    .contact-left, 
    .contact-right {
        text-align: center;
    }

    .about-inner, .contact-inner {
        flex-direction: column;
        align-items: center;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
        width: 100%;
    }

    .services-grid, .expertise-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        gap: 40px;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Devices (under 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }
    
    .logo-img { height: 40px; }

    .hero-title { font-size: 2.25rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.5; }
    
    .about-stats-grid, 
    .services-grid, 
    .diff-grid, 
    .expertise-grid, 
    .team-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .about-stat-number { font-size: 1.8rem; }
    .impact-number { font-size: 2.5rem; }
    
    .section-tag { font-size: 0.65rem; letter-spacing: 1px; }
    .section-title { font-size: 1.75rem; }

    .cta-btn { padding: 8px 16px; font-size: 0.75rem; }
    
    .contact-info-item {
        margin-bottom: 24px;
    }
}



/* ===== CUSTOM SUCCESS MODAL ===== */
.custom-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.4s var(--ease-out); }
.custom-modal.active { opacity: 1; pointer-events: all; }
.custom-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); }
.custom-modal-content { 
    position: relative; 
    width: 90%; 
    max-width: 450px; 
    background: linear-gradient(145deg, #1A1A1A, #0D0D0D); 
    border: 1px solid rgba(255, 0, 0, 0.4); 
    border-radius: var(--radius-xl); 
    padding: 50px 40px; 
    text-align: center; 
    transform: translateY(40px) scale(0.95); 
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 50px rgba(255, 0, 0, 0.1); 
    overflow: hidden;
}
.custom-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.05), transparent 70%);
    pointer-events: none;
    animation: rotate-glow 10s linear infinite;
}
@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.custom-modal.active .custom-modal-content { transform: translateY(0) scale(1); }
.custom-modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--text-muted); cursor: pointer; transition: color 0.3s ease; line-height: 1; }
.custom-modal-close:hover { color: var(--accent-cyan); }
.success-icon-wrapper { margin-bottom: 24px; display: flex; justify-content: center; }
.success-icon-circle { width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 0, 0, 0.1); border: 2px solid var(--accent-cyan); display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); box-shadow: var(--glow-cyan); }
.success-icon-circle svg { width: 40px; height: 40px; }
.modal-title { font-family: var(--font-display); font-size: 2rem; color: var(--text-primary); margin-bottom: 16px; }
.modal-text { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.1rem; line-height: 1.6; }
.modal-btn { width: 100%; padding: 16px; font-size: 1rem; }
