/* ICWT 2026 Core Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@500;700;900&display=swap');

/* ICWT 2026 Base Themes */
:root[data-theme="light"] {
    --bg-main: #eef2f7;
    --bg-card: linear-gradient(103deg, #e3edf7, #ffffff);
    --accent-cyan: #00bac4;
    --accent-purple: #8200d6;
    --text-main: #1a1c1e;
    --text-dim: #5a5a6a;
    --accent-gold: #ffb800;
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-light: -6px -6px 10px 0px #f5f9fc30;
    --shadow-dark: 4px 3px 15px 0px rgba(127, 163, 199, 0.3);
    --shadow-hover: 0px 46px 77px 0px rgba(10, 43, 83, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-glow: rgba(0, 247, 255, 0.1);
    --glass-border: rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] {
    --bg-main: #050507;
    --bg-card: linear-gradient(315deg, #2c2c2c, #000000);
    --accent-cyan: #00f7ff;
    --accent-purple: #9d00ff;
    --text-main: #f8f8f2;
    --text-dim: #9494a8;
    --accent-gold: #ffcc00;
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-light: -6px -6px 14px 0px rgba(255, 255, 255, 0.02);
    --shadow-dark: 4px 3px 20px 0px rgba(0, 0, 0, 0.8);
    --shadow-hover: 0px 46px 77px 0px rgba(0, 247, 255, 0.1);
    --nav-bg: rgba(5, 5, 7, 0.4);
    --glass-bg: rgba(0, 0, 0, 0.25);
    --glass-glow: rgba(255, 255, 255, 0.05);
}

:root {
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --section-padding: 40px 5% 80px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}


/* Uniform Section Scroll Behavior with strict containment */
section[id] {
    scroll-margin-top: 120px;
    padding-bottom: 80px;
    /* Increased bottom padding to prevent overlap */
    position: relative;
    overflow: hidden;
    /* Clips any decorative bleeds */
    width: 100%;
}



/* Global Persistent Mesh Background */
.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
    /* Subtle persistent ambiance */
}

@media (max-width: 1024px) {
    .global-background {
        opacity: 1;
    }
}


.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    animation: orbFloatGlobal 25s infinite alternate ease-in-out;
}

.orb-c1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: -20%;
    left: -10%;
    animation-duration: 30s;
}

.orb-c2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    bottom: -10%;
    right: -10%;
    animation-duration: 35s;
    animation-delay: -7s;
}

.orb-c3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: 30%;
    left: 40%;
    opacity: 0.4;
    animation-duration: 28s;
    animation-delay: -14s;
}

.orb-c4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    top: 60%;
    right: 30%;
    opacity: 0.3;
    animation-duration: 40s;
}

/* Removed global-background fixed layer to move to body-flow system */

@keyframes orbFloatGlobal {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@media (max-width: 768px) {
    .bg-orb {
        filter: blur(140px);
        /* Restore deep blur for premium feel */
        opacity: 0.5;
        /* Balanced for full-opacity container */
        aspect-ratio: 1/1;
    }

    .orb-c1 {
        width: 350px;
        height: 350px;
        top: -5%;
        left: -10%;
    }

    .orb-c2 {
        width: 400px;
        height: 400px;
        bottom: 5%;
        right: -10%;
    }

    .orb-c3 {
        width: 300px;
        height: 300px;
        top: 30%;
        left: 0%;
        opacity: 0.4;
    }

    .orb-c4 {
        width: 350px;
        height: 350px;
        bottom: 20%;
        left: 30%;
        opacity: 0.3;
    }
}




h1,
h2,
h3,
.heading-font {
    font-family: 'Outfit', sans-serif;
}



/* Utilities - iOS 2026 Future Glass */
.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(210%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(210%) brightness(1.1);
    box-shadow: 
        var(--shadow-light), 
        var(--shadow-dark),
        inset 0 0 0 1px var(--glass-glow); /* Subtle Inner Bevel */
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transition: var(--transition-smooth);
    overflow: hidden;
    
    /* Spotlight Variables */
    --mouse-x: 50%;
    --mouse-y: 50%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Glass Material Layers: Spotlight Only (Clean Mirror) */
.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    /* Clean Spotlight Radius */
    background-image: 
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 50%);
    opacity: 0.1;
}

.glass:hover::after {
    opacity: 0.2;
}

/* Prismatic Inner Edge Highlight (Refractive Glass) */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px; /* Slightly thicker for light refraction */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(0, 247, 255, 0.2) 25%, 
        transparent 50%, 
        rgba(157, 0, 255, 0.2) 75%, 
        rgba(255, 255, 255, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    filter: saturate(1.5);
}

.glass:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px) scale(1.01);
}

/* Light Mode Visibility Optimization */
[data-theme="light"] .glass {
    backdrop-filter: blur(40px) saturate(250%) brightness(1.05) contrast(1.05);
    -webkit-backdrop-filter: blur(40px) saturate(250%) brightness(1.05) contrast(1.05);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.03),
        0 1px 3px rgba(0, 247, 255, 0.1),
        inset 0 0 1px 1px var(--glass-glow);
}

/* Dark Mode "Flashlight" Spotlight Optimization */
[data-theme="dark"] .glass::after {
    /* Precise Circular Light (Radius Based) */
    background-image: 
        radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 80%);
    mix-blend-mode: screen;
}

[data-theme="dark"] .glass:hover::after {
    opacity: 0.4; /* Stronger "torch" light on hover */
}

[data-theme="light"] .glass::after {
    background-image: 
        radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.3) 0%, rgba(0, 247, 255, 0.1) 60%, transparent 100%);
    opacity: 0.15;
}


.neon-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass > * {
    position: relative;
    z-index: 10; /* Above all material layers */
    transform: translateZ(40px);
    transition: transform 0.2s ease-out;
}

/* Liquid Glass Variant (User Request) */
.liquid-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.liquid-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* Add Liquid Spotlight */
.liquid-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-image: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.2), transparent 70%);
}

.liquid-glass:hover::after {
    opacity: 1;
}

.liquid-glass:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    padding: 12px 32px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 247, 255, 0.3);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    margin: 0 auto 32px auto;
    box-shadow: var(--shadow-light), var(--shadow-dark);
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-secondary {
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* Navbar - High Performance Dynamic Island */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    /* Standardized to flex to prevent layout thrashing on scroll */
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 92%;
    max-width: 1400px;
    left: 50%;
    top: 0;
    transform: translate3d(-50%, 0, 0);
    /* Hardware accelerated positioning */
    padding: 30px 15px;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        padding 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        max-width 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        background 0.6s ease;
    will-change: transform, padding, max-width;
}


@media (max-width: 1024px) {
    .nav-container {
        width: 100%;
        max-width: 100vw;
        padding: 15px;
        left: 0;
        transform: none;
    }
}



nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background: transparent;
    transform: translateX(-50%);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
    transform-origin: center top;
    will-change: transform, border-radius, background;
}

nav.scrolled .nav-container {
    max-width: 1240px;
    height: 64px;
    padding: 0 20px;
    top: 0;
    /* Keep top 0 and use transform for the shift */
    transform: translate3d(-50%, 15px, 0);
    /* Jitter-free GPU positioning */
    display: flex;
    align-items: center;
    justify-content: space-between;
}


nav.scrolled .btn-primary {
    padding: 10px 24px;
    font-size: 0.85rem;
    white-space: nowrap !important;
    flex-shrink: 0;
}

nav.scrolled .nav-links {
    gap: 12px;
    /* Significant reduction for a tight island look */
}

nav.scrolled .nav-links li {
    padding: 0 5px;
}

nav.scrolled::before {
    width: 92%;
    max-width: 1240px;
    height: 64px;
    top: 15px;
    background: var(--nav-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 247, 255, 0.08);
    /* Subtle glass highlight */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    justify-self: start;
    display: flex;
    position: relative;
    padding: 5px;
    z-index: 10;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    justify-self: center;
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img,
.footer-info img {
    height: 42px;
    transition: var(--transition-smooth);
}

.menu-footer {
    display: none;
    /* Hidden on desktop */
}



.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* Gap is now handled by equal-width li padding */
    list-style: none;
    position: relative;

    margin: 0;
    padding: 0;
}

.nav-links li {
    flex: 1;
    text-align: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    transition: var(--transition-smooth);
    z-index: 1;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-cyan);
    transform: translateY(-2px);
    opacity: 1;
    font-weight: 700;
}

[data-theme="light"] .nav-links li a:hover,
[data-theme="light"] .nav-links li a.active {
    color: var(--accent-purple);
    opacity: 1;
}

.nav-indicator {
    position: absolute;
    height: 40px;
    background: linear-gradient(90deg, rgba(0, 247, 255, 0.1), rgba(130, 0, 214, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

[data-theme="light"] .nav-indicator {
    background: linear-gradient(90deg, rgba(130, 0, 214, 0.15), rgba(0, 247, 255, 0.15));
    border: 1px solid rgba(130, 0, 214, 0.1);
}

[data-theme="dark"] .nav-indicator {
    background: linear-gradient(90deg, rgba(0, 247, 255, 0.15), rgba(130, 0, 214, 0.15));
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-cyan);
}

.theme-toggle {
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    box-shadow: var(--shadow-light), var(--shadow-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    margin: 0 15px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.theme-toggle img {
    height: 22px;
    width: 22px;
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 5% 100px 5%;
    background: transparent;
    /* Always transparent to show global mesh */
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}


.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 48px;
}

/* Removed local .mesh-bg as it's now global */

/* Floating Trust Cards */
.floating-card {
    position: absolute;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
    animation: floatAnim 6s ease-in-out infinite;
}

.floating-card.c1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.c2 {
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.floating-card.c3 {
    bottom: 20%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Dynamic Text Swapper */
.text-swapper {
    display: inline-flex;
    flex-direction: column;
    height: 1.1em;
    vertical-align: middle;
    overflow: hidden;
    position: relative;
    padding-right: 5px;
    transform: translateY(-0.08em);
    /* Moves the text slightly higher to match sentence flow */
}

.text-swapper span {
    display: block;
    height: 1.1em;
    line-height: 1.1em;
    animation: slideText 8s infinite;
}

@keyframes slideText {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-1.1em);
    }

    50%,
    70% {
        transform: translateY(-2.2em);
    }

    75%,
    95% {
        transform: translateY(-3.3em);
    }

    100% {
        transform: translateY(0);
    }
}

/* Scroll Down Prompt */
.scroll-prompt {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: fadeInOut 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-main);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* eCommerce Signature Showcase */
.ecom-signature-card {
    display: flex;
    gap: 60px;
    padding: 60px;
    margin: var(--section-padding);
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    perspective: 2000px;
}

.ecom-reverse {
    flex-direction: row-reverse;
}


.ecom-graphics,
.ecom-content {
    flex: 1;
}

.ecom-graphics {
    position: relative;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
}

.ecom-visual-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ecom-animated-visual {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: ecomFloat 6s infinite alternate ease-in-out;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 40px;
}

/* Theme-Aware Toggles */
[data-theme="light"] .theme-dark-only {
    display: none;
}

[data-theme="dark"] .theme-light-only {
    display: none;
}

/* Refined Glow per Theme */
[data-theme="dark"] .ecom-animated-visual {
    animation: ecomFloat 6s infinite alternate ease-in-out, ecomDarkGlow 4s infinite alternate ease-in-out;
}

[data-theme="light"] .ecom-animated-visual {
    animation: ecomFloat 6s infinite alternate ease-in-out, ecomLightGlow 4s infinite alternate ease-in-out;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes ecomFloat {
    0% {
        transform: translateY(0) rotate(-0.5deg);
    }

    100% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes ecomDarkGlow {
    0% {
        filter: drop-shadow(0 20px 40px rgba(0, 247, 255, 0.15));
    }

    100% {
        filter: drop-shadow(0 30px 60px rgba(157, 0, 255, 0.3));
    }
}

@keyframes ecomLightGlow {
    0% {
        filter: drop-shadow(0 20px 40px rgba(0, 186, 196, 0.1));
    }

    100% {
        filter: drop-shadow(0 30px 60px rgba(130, 0, 214, 0.2));
    }
}

.ecom-signature-card:hover .ecom-animated-visual {
    transform: translateZ(60px) rotateX(4deg) rotateY(-4deg);
}

.ecom-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.f-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.f-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.f-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.f-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.4;
}

.f-item:hover .f-icon {
    transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 1200px) {
    .ecom-signature-card {
        flex-direction: column !important;
        /* Fixed: was using grid properties on a flex container */
        text-align: center;
        gap: 20px;
        padding: 40px 20px;
    }

    .ecom-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .f-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .ecom-animated-visual {
        max-width: 300px;
        /* Scaled down for mobile focus */
    }

    .ecom-content div[style*="display: flex"] {
        justify-content: center !important;
        width: 100%;
    }
}


@media (max-width: 768px) {

    .ecom-signature-card,
    .ecom-reverse {
        margin: 20px auto;
        width: calc(100% - 40px);
        min-width: 0;
        flex-direction: column !important;
        /* Force vertical stack */
    }

    .ecom-graphics {
        order: -1;
        /* Ensure 3D visual is always on top for mobile */
        margin-bottom: 30px;
    }

    .ecom-features {
        gap: 24px;
        width: 100%;
    }
}




/* Creative Space-Filling About Redesign */
.about-section {
    position: relative;

    /* Tightened for single-screen view */

    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    overflow: hidden;
    background: transparent;
}

/* Background Brand Watermark */
.about-watermark {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    font-size: 15vw;
    font-weight: 950;
    color: transparent;
    -webkit-text-stroke: 1px var(--glass-border);
    white-space: nowrap;
    z-index: -2;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: -5px;
    opacity: 0.08;
    user-select: none;
}

@media (max-width: 1024px) {

    .about-watermark,
    .footer-watermark {
        display: none;
    }
}


.about-section .section-title {
    margin: 0 0 10px 0;
    /* Tighter bottom margin */
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.about-section .badge-pill {
    margin: 0 0 8px 0;
    /* Align left and reduce bottom margin */
}

.about-section .section-title h2 {
    margin-top: 0;
    font-size: 3.2rem;
    /* Slightly smaller for density */
    line-height: 1.1;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem !important;
        /* Scaled down for mobile elegance */
        padding: 0 5%;
    }

    .section-subtitle {
        font-size: 1rem !important;
        padding: 0 10%;
    }
}


/* Removed local orbs as backgrounds are now global */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }

    .about-mission,
    .about-dna,
    .about-graphics,
    .about-stats {
        width: 100% !important;
        grid-column: auto !important;
        order: unset !important;
    }

    .about-card {
        padding: 30px 20px !important;
    }

    .about-graphics {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px 0 !important;
    }

    .logo-3d {
        max-width: 180px !important;
        /* Large centerpiece focal point */
        filter: drop-shadow(0 10px 30px rgba(0, 247, 255, 0.2));
    }

    .about-stats {
        display: flex !important;
        flex-direction: row !important;
        /* Success Matrix Row */
        gap: 12px !important;
        padding: 20px !important;
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        border-radius: 30px;
    }

    .stat-box {
        flex: 1;
        padding: 10px !important;
        text-align: center;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .stat-box h4 {
        font-size: 2.2rem !important;
        margin-bottom: 5px !important;
    }

    .about-dna {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .about-dna .dna-icon {
        margin-bottom: 20px !important;
    }

    .about-dna div {
        text-align: center !important;
    }
}







@media (min-width: 1024px) {
    .about-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto;
    }
}


.about-card {
    position: relative;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-10px);
}

/* Specific Card Layouts */
.about-mission {
    grid-column: span 5;
    grid-row: span 1;
    /* Removed redundant background/border to allow .glass through */
}

.about-mission h3 {
    font-size: 1.8rem;
    /* Smaller for density */
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.about-graphics {
    grid-column: span 4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-3d {
    width: 100%;
    max-width: 320px;
    /* Scaled down for height */
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
    animation: float3DHigh 6s ease-in-out infinite alternate;
    transition: var(--transition-smooth);
    object-fit: contain;
}

.logo-3d:hover {
    transform: scale(1.08) rotate(5deg);
    filter: drop-shadow(0 30px 60px rgba(0, 247, 255, 0.3));
}

@keyframes float3DHigh {
    0% {
        transform: translateY(0) rotate(0deg) scale(1.0);
    }

    100% {
        transform: translateY(-25px) rotate(8deg) scale(1.05);
    }
}

.about-stats {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.stat-box {
    padding: 30px;
    text-align: center;
}

.stat-box h4 {
    font-size: 2.8rem;
    /* Smaller for density */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.about-dna {
    grid-column: span 12;
    flex-direction: row !important;
    align-items: center;
    gap: 30px;
    padding: 25px 40px;
    /* Reduced for better height */
}

.dna-icon {
    flex-shrink: 0;
    width: 70px;
    /* Scaled down */
    height: 70px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 247, 255, 0.2);
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(130, 0, 214, 0.4);
    }
}

/* Bento Grid (Original) */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    padding: var(--section-padding);
}

.bento-item {
    position: relative;
    overflow: hidden;
    padding: 40px;
    text-align: center;
}

.bento-item:hover {
    transform: translateY(-10px);
}

.bento-item.large {
    grid-column: span 2;
}

/* Professional Digital Solutions HUB */
.section-title {
    text-align: center;
    margin-bottom: 24px;
    /* Tighter for density */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-title h2 {
    font-size: 3rem;
    /* Standardized sizing */
    margin-bottom: 4px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-title .badge-pill {
    margin-bottom: 5px;
    margin-top: 8px;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.5;
}

/* Professional Digital Solutions HUB */
.solutions-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 5%;
}

.solution-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    min-height: 320px;
    justify-content: flex-start;
    gap: 20px;
}

.solution-card.large {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.solution-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.solution-visual img {
    height: 120px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 247, 255, 0.15));
    transition: var(--transition-smooth);
    transform: translateZ(30px);
    border-radius: 20px;
    object-fit: contain;
}

.solution-visual.small img {
    height: 100px;
}

.solution-card:hover .solution-visual img {
    transform: translateY(-15px) scale(1.05) rotate(5deg);
    filter: drop-shadow(0 30px 60px rgba(130, 0, 214, 0.4));
}

.solution-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.solution-card.large .solution-info {
    max-width: 450px;
}

.solution-info .tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(90deg, rgba(0, 247, 255, 0.1), rgba(130, 0, 214, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    width: fit-content;
}

.solution-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.solution-info p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.feature-bullets {
    list-style: none;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-bullets li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.feature-bullets span {
    color: var(--accent-cyan);
    font-weight: 900;
}

/* Growth Grid (Marketing Tiles) */
.growth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 20px auto 40px auto;
    padding: 0 5%;
}

.growth-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    text-align: left;
    min-height: 100px;
}

.growth-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    border-radius: 12px;
    /* Remove box look */
}

.growth-card:hover .growth-icon img {
    transform: scale(1.2) rotate(-10deg);
}

.growth-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 800;
}

.growth-card p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .solutions-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-card.large {
        grid-column: span 2;
    }

    .growth-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .solutions-matrix,
    .growth-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .solution-card {
        padding: 15px;
        min-height: 250px;
        gap: 12px;
    }

    .solution-card.large {
        grid-column: span 2;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .solution-info h3 {
        font-size: 1.1rem;
    }

    .solution-info p {
        font-size: 0.8rem;
    }

    .feature-bullets {
        display: none;
        /* Hide bullets on narrow mobile 2-col to save space */
    }

    .solution-visual img,
    .solution-visual.small img {
        height: 70px;
    }
}


@media (max-width: 640px) {

    /* Maintain 2 columns unless extremely narrow */
    .solutions-matrix,
    .growth-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: var(--section-padding);
}

.price-card {
    padding: 48px;
    text-align: center;
    position: relative;
}

.price-card.premium {
    border: 2px solid var(--accent-purple);
}

.price-val {
    font-size: 3rem;
    font-weight: 900;
    margin: 24px 0;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.price-features li {
    margin-bottom: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: "✓";
    color: var(--accent-cyan);
}

/* Footer */
footer {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 80px 5%;
    border-top: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 64px;
    position: relative;
    z-index: 5;
    /* Removed heavy background to allow mesh show through */
}

.footer-info p {
    color: var(--text-dim);
    margin-top: 24px;
}

.footer-links h4 {
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 40px 5%;
    }

    .about-mission,
    .about-stats,
    .about-dna,
    .about-graphics {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about-watermark {
        font-size: 35vw;
        opacity: 0.05;
    }

    .about-graphics {
        order: -1;
        margin-bottom: 20px;
    }

    .about-mission h3 {
        font-size: 1.75rem;
    }
}

/* Projects Premium Slider */
.projects-slider {
    padding: 60px 20px 100px 20px !important;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible !important;
}

.project-slide {
    padding: 0 15px;
}

.project-card {
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.project-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 1;
    transition: var(--transition-smooth);
}

.project-info {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    display: block;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 950;
    color: white;
    margin-bottom: 12px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 300px;
}

.project-card .btn-text {
    color: white;
    border-bottom: 2px solid var(--accent-purple);
    padding-bottom: 4px;
}

.project-card .btn-text:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Pagination for Projects */
.projects-slider .swiper-pagination-bullet {
    background: var(--text-dim);
}

.projects-slider .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

@media (max-width: 768px) {
    .floating-card {
        padding: 6px 10px;
        border-radius: 12px;
        gap: 6px;
        animation: floatAnimMobile 6s ease-in-out infinite;
        z-index: 1;
        pointer-events: none;
    }

    .floating-card h6 {
        font-size: 0.7rem;
    }

    .floating-card p {
        display: none;
    }

    /* Top Right Empty Zone */
    .floating-card.c1 {
        top: calc(22% - 20px);
        right: 10px;
        left: auto;
        animation-delay: 0s;
    }

    /* Mid Left Empty Zone */
    .floating-card.c2 {
        top: 45%;
        left: -35px;
        right: auto;
        animation-delay: -2s;
    }

    /* Bottom Right Empty Zone */
    .floating-card.c3 {
        bottom: 5%;
        right: 15px;
        left: auto;
        animation-delay: -4s;
    }

    @keyframes floatAnimMobile {

        0%,
        100% {
            transform: translateY(0) rotate(0deg) scale(0.65);
        }

        50% {
            transform: translateY(-15px) rotate(2deg) scale(0.65);
        }
    }

    .project-card {
        height: 400px;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 20px 5%;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        order: 3;
        /* Grouped on the right after theme toggle */
    }


    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        order: 2;
        margin-left: auto;
        /* Pushes theme switch and hamburger to the right */
        padding-right: 15px;
    }

    .nav-actions .btn-primary {
        display: none;
        /* Hide primary CTA on mobile header for minimalist island look */
    }



    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        /* Default Dark Mode Look */
        background: linear-gradient(135deg, rgba(5, 5, 7, 0.98), rgba(130, 0, 214, 0.6), rgba(0, 247, 255, 0.3));
        backdrop-filter: blur(15px) saturate(210%);
        -webkit-backdrop-filter: blur(15px) saturate(210%);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 15%;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        will-change: transform;
        z-index: 1050;
        border-left: none;
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
    }

    /* Light Mode Specific Overlay Aesthetic */
    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
    }

    [data-theme="light"] .nav-links li a {
        color: #1a1a1a;
    }

    [data-theme="light"] .menu-footer p {
        color: #444;
    }

    .nav-links.active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: all;
    }






    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        margin: 15px 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Delay for Menu Items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.6s;
    }

    .nav-links li a {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.5px;
        color: var(--text-main);
        font-family: 'Outfit', sans-serif;
        text-decoration: none;
        display: block;
        transition: transform 0.3s ease;
    }

    .nav-links li a:active {
        transform: scale(0.95);
        color: var(--accent-cyan);
    }

    .menu-footer {
        display: block;
        margin-top: 40px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
        transition-delay: 0.8s;
        width: 100%;
    }

    .nav-links.active .menu-footer {
        opacity: 0.6;
        transform: translateY(0);
    }

    .menu-footer p {
        font-size: 0.9rem;
        margin-bottom: 8px;
        color: var(--text-main);
    }

    nav.scrolled .nav-container {
        padding: 0 20px;
        width: calc(100% - 30px);
        top: 0;
        /* Forced 0 to use transform logic */
        left: 50%;
        transform: translate3d(-50%, 15px, 0);
        /* Jitter-free mobile island */
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    nav.scrolled::before {
        width: calc(100% - 30px);
        height: 64px;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--nav-bg);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border-radius: 100px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(0, 247, 255, 0.08);
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    }




    .nav-indicator {
        display: none;
        /* Only for desktop island */
    }

    .bento-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-item.large {
        grid-column: span 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Testimonials Premium Slider */
.testimonials-slider {
    padding: 60px 20px 100px 20px !important;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible !important;
    /* Allow cards to not be clipped during transitions */
}

.testimonials-slider .card-wrap {
    padding: 20px;
    height: auto;
}

.testi-card {
    padding: 40px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    background: rgba(0, 247, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 100px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    backdrop-filter: blur(10px);
}

.testi-card .stars {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testi-card .text {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 30px;
    opacity: 0.9;
}

.testi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-cyan);
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.testi-user h6 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-main);
}

.testi-user small {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-icon {
    width: 35px;
    height: 35px;
    opacity: 0.3;
}

/* Swiper Pagination Styling */
.testimonials-slider .swiper-pagination {
    bottom: 30px !important;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-dim);
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.testimonials-slider .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    opacity: 1;
}

@media (max-width: 768px) {
    .testi-card {
        padding: 30px;
        min-height: 280px;
    }
}

/* Payment Gateway */
.payment-info {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: var(--section-padding);
}

.payment-info .img {
    flex: 1;
}

.payment-info .img img {
    width: 100%;
    border-radius: 24px;
}

.payment-info .inf {
    flex: 1;
}

/* Unified Contact & Social Layout (Animated Redesign) */
.unified-contact-row {
    display: flex;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-panel,
.social-panel {
    flex: 1;
}

.contact-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card.glass {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.animated-icon {
    height: 40px;
    width: auto;
}

/* Unique Card Themes & Animations */
.card-email:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

.card-email:hover .animated-icon {
    animation: emailSlide 0.5s ease-in-out forwards;
}

.card-whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.1);
}

.card-whatsapp:hover .animated-icon {
    animation: whatsappPulse 1s infinite alternate;
}

.card-phone:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(130, 0, 214, 0.1);
}

.card-phone:hover .animated-icon {
    animation: phoneRing 0.15s infinite;
}

/* Action Hint Badge */
.action-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.contact-card.glass:hover .action-hint {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.contact-card.glass:hover .card-content {
    transform: translateX(-10px);
}

.card-content {
    transition: var(--transition-smooth);
}

.card-content h6 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.card-content p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Keyframes */
@keyframes phoneRing {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0);
    }
}

@keyframes whatsappPulse {
    from {
        filter: drop-shadow(0 0 2px #25D366);
        transform: scale(1);
    }

    to {
        filter: drop-shadow(0 0 10px #25D366);
        transform: scale(1.1);
    }
}

@keyframes emailSlide {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    45% {
        transform: translateX(40px);
        opacity: 0;
    }

    50% {
        transform: translateX(-40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .unified-contact-row {
        flex-direction: column;
        gap: 60px;
        padding: 0 20px;
    }
}

/* Unique Social Themes & Animations */
.card-youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
}

.card-youtube:hover .animated-icon {
    animation: youtubePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-facebook:hover {
    border-color: #1877F2;
    box-shadow: 0 0 30px rgba(24, 119, 242, 0.1);
}

.card-facebook:hover .animated-icon {
    animation: facebookTilt 0.4s ease-in-out;
}

.card-telegram:hover {
    border-color: #0088CC;
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

.card-facebook:hover .animated-icon {
    animation: facebookTilt 0.4s ease-in-out;
}

/* Keyframes for Social Media */
@keyframes youtubePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes facebookTilt {
    0% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }

    100% {
        transform: rotate(0);
    }
}

@keyframes instagramRotate {
    0% {
        transform: rotate(0) scale(1);
    }

    50% {
        transform: rotate(20deg) scale(1.2);
    }

    100% {
        transform: rotate(0) scale(1);
    }
}

@keyframes linkedinSlide {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.community-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Community & Social */
.community-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: var(--section-padding);
}

.commun-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 32px 20px;
    text-decoration: none;
    color: var(--text-main);
    min-height: 200px;
}

.commun-card:hover {
    transform: translateY(-10px);
    background: transparent; /* Removed var(--bg-card) gradient as requested */
    box-shadow: var(--shadow-hover);
}

.commun-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.commun-card .icon img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.commun-card:hover .icon img {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 1200px) {
    .community-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About Startups / Video Section */
.video-section {
    position: relative;
    padding: var(--section-padding);
    text-align: center;
}

.video-thumb {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    transition: var(--transition-smooth);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-purple);
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Horizon Slider / Top Services */
.horizon-slider {
    display: flex;
    overflow-x: auto;
    gap: 32px;
    padding: 60px 5%;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.horizon-slider::-webkit-scrollbar {
    display: none;
}

.slider-progress-container {
    width: 200px;
    height: 4px;
    background: var(--glass-border);
    margin: 40px auto 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.1s ease-out;
}

.horizon-card {
    min-width: 350px;
    padding: 60px 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.horizon-card .icon-box {
    margin-bottom: 40px;
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light), var(--shadow-dark);
}

.horizon-card h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.horizon-card p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.horizon-card:hover {
    -webkit-box-shadow: var(--shadow-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

/* Modern Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
        padding: 20px 20px 60px 20px;
    }

    .expertise-card {
        padding: 35px 25px !important;
        text-align: center;
        align-items: center;
    }

    .expertise-card .icon {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 20px auto !important;
    }

    .expertise-card .icon img {
        width: 50px !important;
        height: 50px !important;
    }

    .expertise-card h3 {
        font-size: 1.35rem !important;
        margin-bottom: 12px !important;
    }

    .expertise-card p {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
        line-height: 1.6 !important;
    }

    .expertise-footer {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding-top: 15px;
    }
}

.expertise-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    text-align: left;
    height: 100%;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.expertise-card .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-light), var(--shadow-dark);
}

.expertise-card .icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.expertise-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.expertise-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.expertise-footer span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.btn-text {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-text:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}


/* Contact Cards Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: var(--section-padding);
}

.contact-card {
    text-align: center;
    padding: 48px;
    text-decoration: none;
}

.contact-card h5 {
    color: var(--text-main);
    margin-top: 24px;
    font-size: 1.2rem;
}

/* Immersive Mesh Horizon Footer */
.mesh-horizon-footer {
    position: relative;
    padding: 120px 5% 60px 5%;
    background: var(--bg-main);
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 1000;
    color: var(--text-main);
    opacity: 0.03;
    white-space: nowrap;
    letter-spacing: -2vw;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

[data-theme='light'] .footer-watermark {
    opacity: 0.05;
}

/* --- ZENITH MINIMALIST FOOTER (Hyper-Short Re-Architecture) --- */
.neural-core-footer {
    position: relative;
    width: 100%;
    padding: 30px 5%;
    margin-top: 60px;
    background: transparent;
    overflow: hidden;
}

/* Horizontal Neon Tracing Line - Kept for Premium feel */
.neural-core-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-cyan),
            var(--accent-purple),
            transparent);
    box-shadow: 0 0 15px var(--accent-cyan);
    opacity: 0.4;
}

.footer-zenith-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.footer-logo-minimal img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 247, 255, 0.1));
}

.copyright-zenith {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 600;
}

.copyright-zenith span {
    color: var(--text-main);
    font-weight: 800;
}

@media (max-width: 600px) {
    .footer-zenith-wrap {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
