/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Layout Spacing Variables */
    --section-padding-y: clamp(80px, 12vw, 120px);
    --section-padding-x: clamp(20px, 5vw, 80px);
    --grid-gap-lg: clamp(40px, 8vw, 80px);
    --grid-gap-md: clamp(25px, 5vw, 40px);
    --grid-gap-sm: clamp(15px, 3vw, 25px);

    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00ffd5;
    --accent-glow: rgba(0, 255, 213, 0.3);
    --accent-gradient: linear-gradient(135deg, #00ffd5, #00ff88);
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(5, 5, 5, 0.8);
    --border-radius: 12px;
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --animation-smooth: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

img,
video,
iframe,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
    background: var(--bg-primary);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    transition: background 0.3s, color 0.3s;
    text-align: Left;
}

/* Lenis Smooth Scroll Core CSS */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Custom Scrollbar & Selection */
::-webkit-scrollbar {
    width: 8px;
    background-color: var(--bg-primary);
}

::-webkit-scrollbar-track {
    background-color: var(--bg-primary);
    box-shadow: inset 0 0 0 10px var(--bg-primary);
    border: none;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-cyan);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #00ff88;
}

::selection {
    background: var(--accent-glow);
    color: var(--accent-cyan);
}

.no-scroll {
    overflow: hidden !important;
}

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-cyan);
    z-index: 99999;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 0.1s ease-out;
}




/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    padding: 24px clamp(20px, 5vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s var(--animation-smooth);
    will-change: background, padding, box-shadow;
    transform: translateZ(0);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    padding: 15px clamp(20px, 5vw, 80px);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 255, 213, 0.15);
}

.company-logo {
    text-decoration: none;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--accent-cyan);
    animation: accentColorCycle 8s infinite;
}

.logo-image {
    height: clamp(35px, 6vw, 45px);
    width: auto;
    display: block;
}


.nav-links {
    display: flex;
    gap: clamp(25px, 3vw, 45px);
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.nav-links a.active {
    color: var(--accent-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 213, 0.5);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}



/* Hamburger Toggle Redesign */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    padding: 0 12px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background: rgba(0, 255, 213, 0.08);
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.15);
}

.menu-toggle span {
    height: 2px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

/* Staggered lines */
.menu-toggle span:nth-child(1) { width: 22px; }
.menu-toggle span:nth-child(2) { width: 14px; }
.menu-toggle span:nth-child(3) { width: 22px; }

/* Expand on hover */
.menu-toggle:hover span {
    background: var(--accent-cyan);
    width: 22px;
}

/* Active State (X) */
.menu-toggle.active {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.2);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 22px;
    background: var(--accent-cyan);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 22px;
    background: var(--accent-cyan);
}




.top-padding {
    padding-top: var(--section-padding-y) !important;
}




/* Shared keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--animation-smooth), transform 1s var(--animation-smooth);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}




/* ========================================
   BUTTONS (Branded to #00FF88)
   ======================================== */
.cta-group {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 2s ease-out 0.6s forwards;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-btn i {
    font-size: 1.1em;
}

.cta-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 8px 24px rgba(0, 255, 213, 0.2);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 255, 213, 0.4);
    filter: brightness(1.1);
}

/* Specific overrides for Careers page hero */
.hero-content h1.hero-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p.hero-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.cta-secondary:hover {
    background: rgba(0, 255, 213, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.2);
    border-color: #00ff88;
    color: #00ff88;
}


/* ========================================
   HERO-PAGE — Shared styles (about/services/contact/careers)
   ======================================== */
.hero-page {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: #010101;
}

.hero-page canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ========================================
   PARTICLE BURST HERO — Portfolio Page
   ======================================== */
.hero-burst {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: #010101;
}

#burst-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform: translateZ(0);
    will-change: transform;
}

.hero-burst-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 30%, transparent 80%);
    z-index: 10;
    pointer-events: none;
}

.hero-burst-content {
    max-width: 780px;
    padding: 0 30px;
    pointer-events: all;
}

.hero-burst-btns {
    justify-content: center;
}

/* ========================================
   3D HERO SECTION
   ======================================== */
.hero-3d {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 72% 50%, rgba(0, 255, 213, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0, 80, 255, 0.05) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(120, 0, 255, 0.04) 0%, transparent 65%),
        #020202;
}

/* Animated aurora nebula behind the canvas */
.hero-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 55% 45% at 75% 50%, rgba(0, 255, 213, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 35% 55% at 85% 25%, rgba(0, 100, 255, 0.05) 0%, transparent 60%);
    animation: auroraShift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Secondary slow aurora pulse */
.hero-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 40% 35% at 65% 60%, rgba(100, 0, 255, 0.045) 0%, transparent 65%),
        radial-gradient(ellipse 30% 40% at 90% 70%, rgba(0, 200, 255, 0.04) 0%, transparent 60%);
    animation: auroraShift2 16s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraShift {
    0% {
        opacity: 0.6;
        transform: scale(1) translateX(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateX(-15px);
    }

    100% {
        opacity: 0.7;
        transform: scale(0.98) translateX(10px);
    }
}

@keyframes auroraShift2 {
    0% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.08) translateY(12px);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.96) translateY(-8px);
    }
}

#hero-canvas,
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
}

#hero-particles {
    z-index: 1;
    pointer-events: none;
}

#globe-container {
    position: absolute;
    top: 0;
    left: 40%;
    /* Offset to the right */
    width: 60%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    opacity: 0.8;
}

@media (max-width: 991px) {
    #globe-container {
        left: 0;
        width: 100%;
        opacity: 0.4;
        /* Dim it more when it's behind text on smaller screens */
    }
}

#globe-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.3);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

#globe-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

#globe-toast i {
    color: var(--accent-cyan);
    animation: spin 2s linear infinite;
}

.globe-label {
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 213, 0.3);
}

/* Globe tooltip removed by request */
.hero-3d-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--section-padding-x);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, transparent 80%);
    z-index: 10;
    pointer-events: none;
}

.hero-3d-content {
    max-width: 680px;
    pointer-events: all;
    transform: translateZ(0);
}

.hero-3d-content .hero-subtitle {
    margin: 0 0 40px 0;
    padding: 0;
}

.hero-3d-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 213, 0.07);
    border: 1px solid rgba(0, 255, 213, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.hero-3d-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: heroDotPulse 2s infinite;
}

@keyframes heroDotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
}

.hero-accent {
    display: block;
}

.hero-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 auto 40px;
    max-width: 700px;
    padding: 0 clamp(15px, 3vw, 20px);
}

.hero-3d-actions {
    justify-content: flex-start;
}

/* Scroll Indicator */


@media (max-height: 750px) {
    .hero-3d-scroll {
        display: none;
    }
}

.hero-3d-scroll span {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 7px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 14px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-3d-overlay {
        justify-content: center;
        text-align: center;
        background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 60%, transparent 100%);
        padding: 0 clamp(10px, 4vw, 20px);
    }

    .hero-3d-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        padding: 0;
    }

    .hero-3d-actions {
        justify-content: center;
        width: 100%;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

.hero-tech {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #020202;
    overflow: hidden;
    padding-top: 100px;
}

/* Perspective Grid Background */
.hud-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(0, 255, 213, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 213, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center center;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

.hud-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 255, 213, 0.03) 50%,
            transparent 100%);
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.hero-tech-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 213, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* HUD Brackets */
.hud-bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-cyan);
    z-index: 11;
    opacity: 0.6;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.hero-tech-content {
    text-align: center;
    max-width: 900px;
}

.tech-tag-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tech-line {
    height: 1px;
    width: 40px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.tech-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.main-heading-box {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-tech-title {
    font-size: clamp(50px, 12vw, 110px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -5px;
    line-height: 0.9;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.text-glow {
    color: var(--accent-cyan);
    text-shadow: 0 0 30px var(--accent-glow);
}

.glitch-line {
    height: 4px;
    width: 100%;
    background: var(--accent-cyan);
    margin-top: 10px;
    opacity: 0.2;
    position: relative;
}

.glitch-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    background: #fff;
    left: 10%;
    animation: glitchMove 4s infinite linear;
}

@keyframes glitchMove {
    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

.hero-tech-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-tech-desc {
    font-size: clamp(15px, 2.5vw, 18px);
    color: #666;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-tech-actions {
    margin-bottom: 60px;
}

.tech-btn {
    padding: 18px 45px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border-radius: 4px;
}

.tech-btn.primary {
    background: var(--accent-gradient);
    color: #000;
    border: none;
}

.tech-btn.primary:hover {
    background: #00ff88;
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 213, 0.3);
}

.tech-btn.secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.tech-btn.secondary:hover {
    border-color: #00ff88;
    color: #00ff88;
    transform: translateY(-5px);
    background: rgba(0, 255, 213, 0.05);
}

/* Data Display */
.hud-data-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 150px;
}

.data-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 1px;
}

.data-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.data-progress {
    height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.data-value {
    font-size: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Scroll Animation */
.tech-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 4px;
    color: #444;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    animation: arrowDown 2s infinite;
}

.scroll-arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@media (max-width: 768px) {
    .hero-tech-container {
        padding: 40px 20px;
    }

    .hud-data-display {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .data-item {
        align-items: center;
    }

    .hero-tech-title {
        letter-spacing: -2px;
    }
}


.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Specific Staggers */
.industry-card,
.process-card,
.tech-category,
.portfolio-card,
.service-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card.active,
.process-card.active,
.tech-category.active,
.portfolio-card.active,
.service-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SECTIONS (Global)
   ======================================== */
.section {
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(50px, 10vw, 80px);
    position: relative;
    z-index: 1;
}

/* Premium Pretitle with Lines */
.pretitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pretitle-line {
    width: 40px;
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.5;
    flex-shrink: 0;
}

.section-pretitle {
    color: var(--accent-cyan);
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-title {
    font-size: clamp(32px, 7vw, 60px);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #00ffd5 0%, #0088ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s linear infinite !important;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Animated Underline */
.heading-underline {
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 32px;
}

.underline-animated {
    height: 100%;
    background: linear-gradient(90deg, #00ffd5, #00ff88, #00ffd5);
    animation: underlineSlide 3s ease-in-out infinite;
}

@keyframes underlineSlide {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.accent-text {
    color: var(--accent-cyan);
    animation: accentColorCycle 4s infinite !important;
    display: inline-block;
}

.highlight-text {
    color: var(--accent-cyan);
    font-weight: 600;
    animation: accentColorCycle 4s infinite !important;
    display: inline-block;
}

@keyframes accentColorCycle {

    0%,
    100% {
        color: #00ffd5;
        text-shadow: 0 0 15px rgba(0, 255, 213, 0.6);
    }

    50% {
        color: #0088ff;
        text-shadow: 0 0 15px rgba(0, 136, 255, 0.6);
    }
}

.section-desc,
.section-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}


/* ========================================
   SOCIAL MEDIA & SCROLL TOP (Global)
   ======================================== */
.social-media {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.social-icon i {
    font-size: 20px;
    line-height: normal;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s;
    z-index: -1;
}

.social-icon:hover::before {
    transform: scale(1.5);
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:not(.visible) {
    transform: translateY(20px);
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 255, 213, 0.5);
    background: var(--accent-cyan);
    color: #000;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.scroll-top:hover svg {
    transform: translateY(-2px);
}

/* ========================================
   FOOTER (Global)
   ======================================== */
.main-footer {
    background: #000;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    font-size: 16px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-text {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.footer-logo {
    height: clamp(40px, 6vw, 50px);
    width: auto;
    margin-bottom: 15px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col p {
    color: #888;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-col p i {
    margin-right: 12px;
    color: var(--accent-cyan);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.footer-col h3 {
    font-size: clamp(16px, 3vw, 18px);
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--accent-cyan);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 30px 20px 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ========================================
   ANIMATIONS & RESPONSIVE
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active,
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 0;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered entrance animation for links */
    .nav-links.active li:nth-child(1) { transition-delay: 0.10s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.20s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.30s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.40s; }

    .nav-links a {
        font-size: 28px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        letter-spacing: 1px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent-cyan);
        text-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
    }

    /* Hide the default underline animation from desktop on mobile */
    .nav-links a::after {
        display: none;
    }

    .service-item,
    .contact-wrapper,
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-col h3::after {
        left: 0;
        transform: none;
    }

    .footer-links {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }
}

/* Fix for focuses */
a:focus,
button:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Theme Toggle Styles */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

/* Light Mode Variables */
[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --card-bg: rgba(0, 0, 0, 0.03);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   TECH STACK (Home)
   ======================================== */
.tech-stack {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.tech-categories {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-category {
    margin-bottom: clamp(50px, 10vw, 80px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.tech-label {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 30px);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-item:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.05);
    transform: translateY(-4px);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.1);
}

.tech-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.tech-name {
    font-weight: 600;
}

/* ========================================
   INDUSTRIES (Home)
   ======================================== */
.industries {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000;
    position: relative;
}

.industries-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--grid-gap-lg);
    align-items: start;
}

.industries-content {
    text-align: left;
}

.industries-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    color: #fff;
    margin-bottom: clamp(20px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
}

.industries-content p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.8;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--grid-gap-md);
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.industry-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.03);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 213, 0.1);
}

.industry-icon {
    font-size: clamp(30px, 6vw, 40px);
    margin-bottom: 20px;
    color: #fff;
    transition: color 0.3s;
}

.industry-card:hover .industry-icon {
    color: var(--accent-cyan);
}

.industry-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.ai-development {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.ai-development .section-header {
    text-align: center;
    margin-bottom: clamp(60px, 10vw, 80px);
    position: relative;
    z-index: 2;
}

.ai-development .section-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.ai-development .section-desc {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: clamp(16px, 3vw, 20px);
    max-width: 800px;
    margin: 0 auto;
}

.ai-background-glow {
    position: absolute;
    width: min(800px, 90vw);
    height: min(800px, 90vw);
    background: radial-gradient(circle, rgba(0, 255, 213, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.ai-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 10vw, 120px);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .ai-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ai-visual-section {
        order: 2;
    }

    .ai-content {
        order: 1;
    }
}

/* AI Visual Section with Floating Badges */
.ai-visual-section {
    position: relative;
}

.ai-image-container {
    position: relative;
    border-radius: 30px;
    overflow: visible;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.ai-image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.2), rgba(0, 204, 163, 0.1));
    border-radius: 40px;
    filter: blur(40px);
    opacity: 0.6;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.ai-image-container img {
    width: 100%;
    min-height: 500px;
    height: 100%;
    display: block;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 213, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
    transition: transform 0.4s ease;
    object-fit: cover;
    object-position: center;
}

.ai-image-container:hover img {
    transform: scale(1.02);
}

/* Floating Animated Badges */
.ai-floating-badge {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.95), rgba(0, 204, 163, 0.95));
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.4);
    animation: floatBadge 3s ease-in-out infinite;
    font-weight: 700;
    color: #000;
    font-size: clamp(12px, 2vw, 14px);
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ai-floating-badge i {
    font-size: 16px;
    color: #000;
}

.badge-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30%;
    left: -20px;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .ai-floating-badge {
        padding: 8px 15px;
        font-size: 11px;
    }

    .badge-1 {
        top: 5%;
        right: 5px;
    }

    .badge-2 {
        bottom: 35%;
        left: -10px;
    }

    .badge-3 {
        bottom: 5%;
        right: 5%;
    }

    .ai-image-container,
    .ai-image-container img {
        min-height: 350px;
    }
}

/* AI Content Section */
.ai-content {
    text-align: center;
}

.ai-label {
    display: inline-block;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 213, 0.3);
}

.ai-content h2 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-align: left;
}

.gradient-text {
    background: linear-gradient(135deg, #00ffd5, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

.ai-subtitle {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: clamp(16px, 3vw, 20px);
    text-align: left;
    line-height: 1.4;
}

.ai-content p {
    text-align: left;
    margin-bottom: 35px;
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* AI Features Grid */
.ai-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.15);
}

.ai-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.2), rgba(0, 204, 163, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 255, 213, 0.3);
}

.ai-feature-text h4 {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ai-feature-text p {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.ai-feature-text {
    text-align: left;
}

/* AI CTA Section */
.ai-cta-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.ai-cta-section .cta-btn {
    padding: 18px 45px;
    font-size: clamp(14px, 2.5vw, 16px);
}

.ai-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(12px, 2vw, 14px);
    color: var(--text-secondary);
    font-style: italic;
}

.ai-note i {
    color: var(--accent-cyan);
    font-size: 16px;
}

/* ========================================
   PRECISION-CRAFTED SOLUTIONS (Redesigned)
   ======================================== */
.pcs-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000000;
    position: relative;
    overflow: hidden;
}



/* --- Glowing orbs --- */
.pcs-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: pcsPulse 8s ease-in-out infinite;
}

.pcs-orb-1 {
    width: min(600px, 80vw);
    height: min(600px, 80vw);
    background: radial-gradient(circle, rgba(0, 255, 213, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.pcs-orb-2 {
    width: min(500px, 70vw);
    height: min(500px, 70vw);
    background: radial-gradient(circle, rgba(0, 180, 255, 0.07) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation-delay: 4s;
}

@keyframes pcsPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* --- Section header override --- */
.pcs-header {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 80px);
    position: relative;
    z-index: 2;
}



/* --- Bento Grid --- */
.pcs-bento-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: clamp(16px, 2.5vw, 24px);
    position: relative;
    z-index: 2;
}

/* Intro card spans 2 columns */
.pcs-card--intro {
    grid-column: span 2;
}

/* Visual card spans 1 col & 2 rows */
.pcs-card--visual {
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .pcs-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pcs-card--intro {
        grid-column: span 2;
    }

    .pcs-card--visual {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .pcs-bento-grid {
        grid-template-columns: 1fr;
    }

    .pcs-card--intro,
    .pcs-card--visual {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* --- Cards base --- */
.pcs-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.12);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(8px);
}

.pcs-card:hover {
    border-color: rgba(0, 255, 213, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 213, 0.08);
}

/* Glow on hover */
.pcs-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: radial-gradient(ellipse at top left, rgba(0, 255, 213, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pcs-card:hover .pcs-card-glow {
    opacity: 1;
}

.pcs-card-glow--strong {
    background: radial-gradient(ellipse at center, rgba(0, 255, 213, 0.15) 0%, transparent 70%);
    opacity: 0.5;
}

/* --- Intro card specifics --- */
.pcs-card--intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.06) 0%, rgba(0, 20, 20, 0.6) 100%);
}

.pcs-card-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pcs-intro-text {
    font-size: clamp(15px, 2.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.pcs-intro-text strong {
    color: #fff;
    font-weight: 700;
}

.pcs-cta {
    align-self: flex-start;
    padding: 16px 36px;
    font-size: clamp(13px, 2vw, 15px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pcs-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.25);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    align-self: flex-start;
    text-transform: uppercase;
}

.pcs-card-badge i {
    font-size: 14px;
}

/* --- Feature cards --- */
.pcs-card--feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pcs-feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.18), rgba(0, 180, 255, 0.08));
    border: 1px solid rgba(0, 255, 213, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.pcs-card--feature:hover .pcs-feature-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.3), rgba(0, 180, 255, 0.15));
}

.pcs-feature-title {
    font-size: clamp(16px, 2.5vw, 19px);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pcs-feature-desc {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* --- Visual card --- */
.pcs-card--visual {
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
}

.pcs-visual-badges {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 30px;
    pointer-events: none;
    /* Allow interaction with background if any, but badges will override this */
}

.pcs-badge {
    position: absolute;
    pointer-events: auto;
    /* Re-enable pointer events for the badges themselves */
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00ffd5 0%, #00ccff 50%, #00ffaa 100%);
    background-size: 200% 200%;
    color: #000;
    font-weight: 800;
    font-size: clamp(13px, 2.2vw, 15px);
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 25px rgba(0, 255, 213, 0.3),
        0 0 15px rgba(0, 255, 213, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation:
        pcsFloat 4s ease-in-out infinite,
        gradientShift 6s ease-in-out infinite alternate;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    overflow: hidden;
    width: fit-content;
    z-index: 10;
}

.pcs-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.pcs-badge:hover {
    transform: translateY(-8px) scale(1.08) !important;
    box-shadow:
        0 20px 40px rgba(0, 255, 213, 0.5),
        0 0 25px rgba(0, 255, 213, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 100;
    animation: none;
    /* Pause floating to allow scale to work */
}

.pcs-badge:hover::after {
    left: 150%;
}

.pcs-badge i {
    font-size: 18px;
    color: #000;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.pcs-badge:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.pcs-badge:nth-child(2) {
    top: 45%;
    right: 10%;
    animation-delay: 1.5s;
}

.pcs-badge:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 3s;
}

@media (max-width: 768px) {
    .pcs-visual-badges {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        position: relative;
        padding: 40px 20px;
        pointer-events: auto;
    }

    .pcs-badge {
        position: static;
        width: fit-content;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes pcsFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* --- Counter animation helper --- */
.pcs-stat-number.counting {
    display: inline-block;
}


/* ========================================
   FUTURE WORK SECTION (Modern Minimalist)
   ======================================== */
.future-work {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000;
    position: relative;
    overflow: hidden;
}

.future-work .section-header {
    text-align: center;
    margin-bottom: clamp(60px, 10vw, 80px);
    position: relative;
    z-index: 2;
}

.future-work .section-title {
    font-size: clamp(36px, 7vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.future-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .future-wrapper {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-lg);
    }
}

/* Future Visual Section */
.future-visual-section {
    position: relative;
}

.future-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.15);
    transition: all 0.4s ease;
}

.future-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 255, 213, 0.25);
}

.future-image-container img {
    width: 100%;
    min-height: 500px;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {

    .future-image-container,
    .future-image-container img {
        min-height: 350px;
    }
}

/* Future Content Section */
.future-content {
    text-align: left;
}

.future-label {
    display: inline-block;
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.future-content h2 {
    font-size: clamp(36px, 7vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.future-content p {
    margin-bottom: 45px;
    font-size: clamp(15px, 2.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Future Highlights - Clean Number Display */
.future-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 45px;
    padding: 35px 0;
    border-top: 1px solid rgba(0, 255, 213, 0.15);
    border-bottom: 1px solid rgba(0, 255, 213, 0.15);
}

@media (max-width: 768px) {
    .future-highlights {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 0;
    }
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 900;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #00ffd5, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-label {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.future-features-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
}

.future-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.future-feature:hover {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.15);
}

.future-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.2), rgba(0, 204, 163, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 255, 213, 0.3);
}

.future-feature-text h4 {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.future-feature-text p {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.future-list i {
    color: var(--accent-cyan);
    font-size: 20px;
    min-width: 20px;
}

.future-list span {
    flex: 1;
}

.future-content .cta-primary {
    background: var(--accent-gradient);
    color: #000;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 100px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 255, 213, 0.2);
    transition: var(--transition);
}

.future-content .cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 255, 213, 0.4);
    filter: brightness(1.1);
}


/* ========================================
   PROCESS SECTION (Home)
   ======================================== */
.process {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.process-card {
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 20px;
    padding: clamp(30px, 5vw, 50px) clamp(20px, 4vw, 35px);
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 255, 136, 0.15);
}

.process-number {
    font-size: clamp(50px, 10vw, 80px);
    font-weight: 900;
    color: rgba(0, 255, 136, 0.1);
    margin-bottom: clamp(15px, 3vw, 20px);
    line-height: 1;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.process-card p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   ABOUT PAGE SECTIONS
   ======================================== */

/* Our Story Section */
.about-story {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.about-story .container {
    max-width: 1400px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
}

.story-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    color: var(--accent-cyan);
    margin-bottom: clamp(20px, 4vw, 30px);
    font-weight: 800;
    text-align: left;
}

.story-content p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: clamp(15px, 3vw, 20px);
    text-align: left;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
    max-height: 400px;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-secondary);
    position: relative;
}

.mission-vision .container {
    max-width: 1400px;
    margin: 0 auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 5vw, 50px);
}

.mv-card {
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 20px;
    padding: clamp(30px, 5vw, 50px);
    transition: all 0.4s ease;
    text-align: left;
}

.mv-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.mv-card h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--accent-cyan);
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 700;
}

.mv-card p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Core Values Section */
.core-values {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.core-values .container {
    max-width: 1400px;
    margin: 0 auto;
}

.core-values .section-title {
    font-size: clamp(32px, 6vw, 48px);
    color: var(--accent-cyan);
    margin-bottom: clamp(10px, 2vw, 15px);
    font-weight: 800;
    text-align: center;
}

.core-values .section-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--text-secondary);
    margin-bottom: clamp(40px, 8vw, 60px);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 4vw, 30px);
}

.value-card {
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 20px;
    padding: var(--section-padding-y) var(--section-padding-x);
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.value-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin-bottom: clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s ease;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.5));
}

.value-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--accent-cyan);
    margin-bottom: clamp(10px, 2vw, 15px);
    font-weight: 700;
}

.value-card p {
    font-size: clamp(13px, 2.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .story-content h2,
    .story-content p {
        text-align: center;
    }
}

/* ========================================
   SERVICES PAGE SECTIONS
   ======================================== */

/* Service Section */
.service-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.service-section.alt-bg {
    background: var(--bg-secondary);
}

.service-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Services Grid: two cards per row on desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: clamp(40px, 8vw, 80px);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card Redesign */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
}

#mobile-app-services {
    background: #000000 !important;
}

.service-badge {
    display: inline-block;
    padding: 7px 18px;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.service-content h3 {
    font-size: clamp(20px, 3vw, 32px);
    color: #fff;
    margin-bottom: 12px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.service-content p {
    font-size: 15px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 550px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.feature-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: #111;
    border-color: rgba(0, 255, 213, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.feature-card i {
    font-size: 20px;
    color: #fff;
    min-width: 25px;
    text-align: center;
}

.feature-info h4 {
    color: #00df9a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-info p {
    color: #777;
    font-size: 11px;
    margin-bottom: 0;
    font-weight: 500;
    text-transform: none;
}

/* CTA Project Button */
.cta-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 45px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.cta-project-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 50px rgba(0, 255, 213, 0.4);
}

.cta-project-btn i {
    font-size: 14px;
    color: #00ffd5;
    transition: transform 0.3s ease;
}

.cta-project-btn:hover i {
    color: #000;
    transform: translateX(8px);
}



@media (max-width: 991px) {
    .service-item {
        margin-bottom: 0;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .service-item .service-image,
    .service-item.reverse .service-image {
        order: -1;
        /* Image on top */
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .service-content {
        text-align: center;
        padding: 0 15px;
    }

    .service-badge {
        margin-bottom: 20px;
        padding: 8px 20px;
    }

    .service-content h3 {
        margin-bottom: 15px;
        font-size: clamp(26px, 7vw, 32px);
    }

    .service-content p {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        font-size: 15px;
    }

    .features-grid {
        gap: 10px;
        margin-bottom: 30px;
    }

    .cta-project-btn {
        margin: 0 auto;
        padding: 14px 35px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 15px;
        text-align: left;
    }

    .service-image img {
        border-radius: 15px;
    }
}


.service-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 255, 213, 0.3);
}

.service-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.1) 0%, rgba(0, 204, 163, 0.05) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(32px, 6vw, 48px);
    color: #fff;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-weight: 800;
}

.cta-section p {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    margin-bottom: clamp(30px, 6vw, 40px);
    line-height: 1.6;
}

/* Responsive Design for Services Page */
@media (max-width: 1024px) {
    /* Consolidation: Handled by 991px and global rules */
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: clamp(40px, 8vw, 60px);
    }
}

/* ========================================
   PORTFOLIO PAGE SECTIONS
   ======================================== */

/* Portfolio Section */
.portfolio-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.portfolio-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(40px, 8vw, 60px);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--section-padding-y) var(--section-padding-x);
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 600;
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #000;
    font-weight: 700;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* Portfolio Card - Premium Glassmorphism */
.portfolio-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform, box-shadow;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 255, 213, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 213, 0.1);
}

/* Portfolio Image (Live Preview) */
.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #000;
    border-bottom: 1px solid rgba(0, 255, 213, 0.1);
}

.preview-wrapper.image-preview {
    pointer-events: auto;
    width: 100%;
    height: 100%;
}

.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}


/* Live Preview Container */
.live-preview-container {
    position: absolute;
    inset: 0;
    z-index: 5;
    opacity: 1;
    /* Always visible once loaded */
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
    background: #000;
}

.portfolio-iframe {
    width: 1440px;
    height: 900px;
    border: none;
    background: #fff;
    transform-origin: 0 0;
    /* Base scaling */
    transform: scale(0.25);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    pointer-events: none;
    /* Disable interaction inside card preview */
}

/* Loader Styles */
.preview-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 6;
    transition: opacity 0.3s ease;
}

.preview-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-glass {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 213, 0.1);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Robust scaling for various widths - Recalculated based on typical card widths */
@media (min-width: 1200px) {
    .portfolio-iframe {
        transform: scale(0.3);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .portfolio-iframe {
        transform: scale(0.35);
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .portfolio-iframe {
        transform: scale(0.45);
    }
}

@media (max-width: 768px) {
    .portfolio-iframe {
        transform: scale(0.5);
        width: 1024px;
    }
}


.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background: var(--accent-cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-cyan);
}


/* Portfolio Content */
.portfolio-content {
    padding: clamp(20px, 4vw, 30px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 700;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: clamp(12px, 2vw, 15px);
}

.portfolio-content h3 {
    font-size: clamp(20px, 4vw, 26px);
    color: #fff;
    margin-bottom: clamp(10px, 2vw, 12px);
    letter-spacing: -0.5px;

    /* Truncate to 1 line */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-content p {
    font-size: clamp(14px, 2.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: clamp(15px, 3vw, 20px);
    flex-grow: 1;

    /* Truncate to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tech Tags - Always Visible */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(15px, 3vw, 20px);
    transition: all 0.4s ease;
    opacity: 1;
}

.tech-tag {
    padding: 5px 12px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.3);
    border-radius: 12px;
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: scale(1.05);
}

/* Portfolio Button - Always Visible */
.portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 30px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    width: fit-content;
    height: 48px;
    /* Fixed height for consistency between tags */
    line-height: 1;
    cursor: pointer;
}

.portfolio-btn:hover {
    background: #00ff88;
    border-color: #00ff88;
    color: #000;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.portfolio-btn i {
    transition: transform 0.3s ease;
}

.portfolio-btn:hover i {
    transform: translateX(5px);
}

/* Filter Animation */
.portfolio-card.hidden {
    display: none;
}

/* ========================================
   STORY MODERN SECTION (About Us)
   ======================================== */
.story-modern {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000;
    position: relative;
    overflow: hidden;
}

.story-modern::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300ffd5' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.story-container-modern {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.story-grid-modern {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* Content Styles */
.story-content-modern {
    position: relative;
}

.story-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 255, 213, 0.08);
    border: 1px solid rgba(0, 255, 213, 0.2);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.story-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulseGlow 2s infinite;
}

.story-title-modern {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.story-lead-modern {
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 25px;
    opacity: 0.95;
}

.story-description-modern {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Icon List */
.story-features-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 45px;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 18px;
    transition: var(--transition);
}

.feature-item-modern:hover .feature-icon-wrapper {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 213, 0.2);
}

.feature-text-modern {
    font-weight: 600;
    font-size: 15px;
}

/* Stats Counter Small */
.story-stat-mini {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.mini-stat-item {
    display: flex;
    flex-direction: column;
}

.mini-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.mini-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* Visual Side */
.story-visual-modern {
    position: relative;
    padding: 40px;
}

.story-image-main {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.story-image-main img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.story-image-main:hover img {
    transform: scale(1.05);
}

.image-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Floating Elements */
.floating-card-modern {
    position: absolute;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-top-left {
    top: 20px;
    left: -20px;
}

.card-bottom-right {
    bottom: 50px;
    right: -20px;
    animation-delay: 2s;
}

.floating-icon-box {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 10px;
}

.floating-card-modern h5 {
    font-size: 14px;
    margin-bottom: 5px;
}

.floating-card-modern p {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 1400px) {
    .card-top-left {
        left: -10px;
    }

    .card-bottom-right {
        right: -10px;
    }
}

/* Decorative Decorations */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.deco-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

/* Responsive */
@media (max-width: 1100px) {
    .story-grid-modern {
        gap: 50px;
    }
}

@media (max-width: 991px) {
    .story-grid-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-badge-modern {
        justify-content: center;
    }

    .story-features-modern {
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .feature-item-modern {
        justify-content: flex-start;
    }

    .story-stat-mini {
        justify-content: center;
    }

    .story-visual-modern {
        width: 100%;
        max-width: none;
        margin: 40px 0;
        padding: 0 40px;
        /* Safe zone for floating cards */
        box-sizing: border-box;
    }

    .card-top-left {
        top: -10px;
        left: 10px;
        /* Inside the padding zone */
        transform: scale(0.8);
    }

    .card-bottom-right {
        bottom: 20px;
        right: 10px;
        /* Inside the padding zone */
        transform: scale(0.8);
    }

    .floating-card-modern {
        padding: 10px 14px;
        background: rgba(10, 10, 10, 0.95);
        border: 1px solid rgba(0, 255, 213, 0.2);
    }
}

@media (max-width: 500px) {
    .story-features-modern {
        grid-template-columns: 1fr;
    }

    .story-stat-mini {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 213, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 213, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 213, 0);
    }
}


@media (max-width: 768px) {
    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
        text-align: center;
    }
}

/* ========================================
   CAREERS PAGE SECTIONS
   ======================================== */

/* Benefits Section */
.benefits-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.benefits-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(25px, 4vw, 35px);
}

.benefit-card {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: var(--section-padding-y) var(--section-padding-x);
    text-align: center;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.benefit-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin: 0 auto clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s ease;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.5));
}

.benefit-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--accent-cyan);
    margin-bottom: clamp(10px, 2vw, 12px);
    font-weight: 700;
}

.benefit-card p {
    font-size: clamp(13px, 2.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Jobs Section */
.jobs-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-secondary);
    position: relative;
}

.jobs-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(25px, 4vw, 35px);
}

.job-card {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: clamp(25px, 4vw, 35px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(15px, 3vw, 20px);
    gap: 15px;
}

.job-header h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: #fff;
    font-weight: 700;
    flex: 1;
}

.job-time {
    font-size: clamp(12px, 2vw, 13px);
    color: var(--text-secondary);
    white-space: nowrap;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(15px, 3vw, 18px);
}

.job-tag {
    padding: 6px 15px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.job-description {
    font-size: clamp(13px, 2.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: clamp(20px, 4vw, 25px);
    flex-grow: 1;
}

.job-apply-btn {
    display: inline-block;
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--accent-gradient);
    border: none;
    border-radius: 30px;
    color: #000;
    font-size: clamp(13px, 2.5vw, 14px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
}

.job-apply-btn:hover {
    background: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industries-wrapper {
        grid-template-columns: 1fr;
    }

    .industries-content {
        text-align: center;
    }
}

/* Culture Section */
.culture-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.culture-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.culture-section .section-subtitle {
    max-width: 900px;
    margin: 0 auto clamp(40px, 8vw, 60px);
}

/* Process Connector Styles */
.process {
    position: relative;
    z-index: 1;
}

.process-connector {
    position: absolute;
    top: 250px;
    left: 0;
    width: 100%;
    height: calc(100% - 300px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.process-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    padding: clamp(30px, 5vw, 50px) clamp(20px, 4vw, 35px);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px) scale(1.02);
}

.process-number {
    font-size: 50px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 213, 0.3);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.process-card:hover .process-number {
    -webkit-text-stroke: 1px var(--accent-cyan);
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(25px, 4vw, 35px);
}

.culture-card {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: var(--section-padding-y) var(--section-padding-x);
    text-align: center;
    transition: all 0.4s ease;
}

.culture-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.culture-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--accent-cyan);
    margin-bottom: clamp(10px, 2vw, 12px);
    font-weight: 700;
}

.culture-card p {
    font-size: clamp(13px, 2.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for Careers Page */
@media (max-width: 1024px) {

    .benefits-grid,
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .benefits-grid,
    .culture-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-time {
        white-space: normal;
    }
}

/* ========================================
   CONTACT PAGE SECTIONS
   ======================================== */

/* Contact Section */
.contact-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
}

.contact-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: clamp(30px, 5vw, 50px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 25px);
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: #0a0a0a;
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    color: #fff;
}

/* Fix for select placeholder color mimicking */
.form-group select option[value=""][disabled] {
    display: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 15px 40px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.3);
}

.submit-btn:hover {
    background: #00ff88;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 213, 0.5);
}

.submit-btn i {
    font-size: clamp(12px, 2vw, 14px);
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 25px);
}

.contact-info-card {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: clamp(25px, 4vw, 35px);
    transition: all 0.4s ease;
    text-align: center;
}

.contact-info-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 213, 0.2);
}

.contact-info-icon {
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    margin: 0 auto clamp(15px, 3vw, 20px);
    background: rgba(0, 255, 213, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: clamp(20px, 4vw, 28px);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--accent-cyan);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.5);
}

.contact-info-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: #fff;
    margin-bottom: clamp(8px, 2vw, 10px);
    font-weight: 700;
}

.contact-info-card p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-container {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
    }
}

@media (max-width: 768px) {
    .contact-info-container {
        grid-template-columns: 1fr;
        display: flex;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-secondary);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(0, 255, 213, 0.1);
}

.faq-question {
    width: 100%;
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 32px);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    font-size: 18px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 clamp(15px, 4vw, 32px) clamp(15px, 4vw, 28px);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.8;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: clamp(40px, 6vw, 60px);
    padding: clamp(30px, 8vw, 60px) var(--section-padding-x);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.faq-cta p {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.faq-cta .cta-btn {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 20px 18px;
    }

    .faq-answer.active {
        padding: 0 18px 20px;
    }

    .faq-icon {
        font-size: 16px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-cyan);
    color: #000;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
    font-weight: bold;
}

.skip-to-content:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.1);
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), #000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}

.client-details h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}


/* ========================================
   FORM VALIDATION
   ======================================== */
.error-msg {
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    height: 14px;
    /* prevent jumps */
    transition: all 0.3s;
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #ff4d4d;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.form-status.success {
    color: var(--accent-cyan);
}

.form-status.error {
    color: #ff4d4d;
}

/* ========================================
   PREMIUM PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    /* Highest z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-out, visibility 0.3s;
    /* Optimized from 0.5s to 0.3s */
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 256px;
    /* Decreased from 640px (60% smaller) */
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 255, 213, 0.5));
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.8));
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.loader-bar-wrapper {
    width: 256px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: loadProgress 1.5s ease-in-out forwards;
    /* Cosmetic progress */
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 213, 0.3);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 90%;
    width: 800px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 255, 213, 0.05);
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.5;
}

.cookie-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0, 255, 213, 0.05)" stroke-width="1"/></pattern><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    opacity: 0.5;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cookie-content h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.cookie-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 255, 213, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 213, 0.5);
}

.cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   TESTIMONIALS SECTION (Newly Added)
   ======================================== */
.testimonials {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(25px, 4vw, 35px);
}

.testimonial-card {
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 213, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.2);
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), #00ccaa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

.client-details h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}


@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   REDESIGNED SERVICES CARDS (Glassmorphism)
   ======================================== */
.service-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s ease;
    height: 100%;
}

.service-item:hover {
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Feature cards inside service items need to pop */
.service-item .feature-card {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.service-item .feature-card:hover {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
}

.service-section.alt-bg {
    background-color: #000000 !important;
}

/* ========================================
   TESTIMONIALS NAVIGATION STYLES
   ======================================== */

.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 255, 213, 0.4);
}

.testimonial-nav:active {
    transform: scale(0.95);
}

.testimonials-grid {
    flex: 1;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .testimonials-wrapper {
        gap: 15px;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 14px;
    }
}

/* Testimonial Navigation Below Cards */
.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav i {
    font-size: 14px;
}

.testimonial-nav span {
    display: none;
}

.review-btn {
    width: auto !important;
    padding: 0 25px !important;
    text-decoration: none;
    justify-content: center;
}

.review-btn span {
    display: inline !important;
    margin-right: 8px;
}

.testimonial-nav:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.4);
}

.testimonial-nav:active {
    transform: translateY(-1px);
}

.testimonial-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .testimonial-navigation {
        margin-top: 40px;
        gap: 15px;
    }

    .testimonial-nav span {
        display: none !important;
    }

    .testimonial-nav {
        width: 45px;
        height: 45px;
        padding: 0;
    }

    .review-btn {
        width: 45px !important;
        padding: 0 !important;
    }

    .review-btn i {
        margin: 0;
    }
}

/* ========================================
   CLIENT LOGOS SECTION
   ======================================== */
.clients-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.clients-logos-wrapper {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-logos-track {
    display: flex;
    gap: clamp(40px, 8vw, 80px);
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.clients-logos-track:hover {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    width: clamp(120px, 15vw, 180px);
    height: clamp(60px, 8vw, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 12px;
}

.client-logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 255, 213, 0.2);
}

.client-logo-item:hover::before {
    opacity: 0.05;
}

.client-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.client-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients-logos-track {
        gap: 30px;
        animation-duration: 20s;
    }

    .client-logo-item {
        width: 100px;
        height: 50px;
        padding: 15px;
    }
}

/* ========================================
   STICKY CTA BUTTON
   ======================================== */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--accent-gradient);
    color: #000;
    padding: 16px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 255, 213, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta i {
    font-size: 18px;
    animation: rocket-bounce 2s ease-in-out infinite;
}

.sticky-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 255, 213, 0.6);
    background: linear-gradient(135deg, #00ffd5, #00ff88);
}

.sticky-cta:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes rocket-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Sticky CTA */
@media (max-width: 768px) {
    .sticky-cta {
        bottom: 20px;
        left: 20px;
        transform: translateY(100px);
        padding: 14px 24px;
        font-size: 14px;
    }

    .sticky-cta.visible {
        transform: translateY(0);
    }

    .sticky-cta:hover {
        transform: translateY(-5px) scale(1.05);
    }

    .sticky-cta span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .sticky-cta {
        padding: 12px 20px;
        font-size: 13px;
        gap: 8px;
    }

    .sticky-cta i {
        font-size: 16px;
    }
}

/* ========================================
   CASE STUDIES PAGE
   ======================================== */
.case-studies-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
}

.case-study-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(30px, 6vw, 50px);
    margin-bottom: clamp(40px, 8vw, 60px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

.case-study-card:hover {
    border-color: rgba(0, 255, 213, 0.2);
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.1);
    transform: translateY(-5px);
}

.case-study-header {
    margin-bottom: 40px;
}

.case-study-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.case-study-category {
    background: rgba(0, 255, 213, 0.1);
    color: var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 213, 0.2);
}

.case-study-date {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.case-study-title {
    font-size: clamp(24px, 5vw, 36px);
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.case-study-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-secondary);
    line-height: 1.6;
}

.case-study-content {
    display: grid;
    gap: 40px;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
    position: relative;
}

.case-study-challenge h3,
.case-study-solution h3,
.case-study-results h3 {
    font-size: clamp(20px, 4vw, 24px);
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-study-challenge h3 i,
.case-study-solution h3 i,
.case-study-results h3 i {
    font-size: 22px;
}

.case-study-challenge p,
.case-study-solution p {
    font-size: clamp(15px, 2.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-study-solution ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
}

.case-study-solution li {
    font-size: clamp(15px, 2.5vw, 17px);
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.case-study-solution li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 18px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.result-item {
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.result-item:hover::before {
    transform: scaleX(1);
}

.result-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.2);
}

.result-number {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.result-label {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-secondary);
    font-weight: 500;
}

.case-study-tech {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-tech h4 {
    font-size: clamp(16px, 3vw, 18px);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.tech-tag:hover {
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.case-studies-cta {
    text-align: center;
    padding: var(--section-padding-y) var(--section-padding-x);
    background: rgba(0, 255, 213, 0.03);
    border: 1px solid rgba(0, 255, 213, 0.1);
    border-radius: 20px;
    margin-top: 40px;
}

.case-studies-cta h2 {
    font-size: clamp(28px, 6vw, 42px);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-studies-cta p {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .case-study-card {
        padding: 25px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .result-item {
        padding: 20px 15px;
    }

    .case-study-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}




@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ENHANCED FOCUS INDICATORS
   ======================================== */
/* Global focus styles for better accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Navigation links focus */
.nav-links a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 5px;
    background: rgba(0, 255, 213, 0.1);
}

/* Button focus states */
.cta-btn:focus-visible {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(0, 255, 213, 0.2), 0 0 40px rgba(0, 255, 213, 0.6);
}

/* Form inputs focus */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(0, 255, 213, 0.1);
}

/* Card elements focus */
.portfolio-card:focus-visible,
.service-item:focus-visible,
.team-member:focus-visible,
.case-study-card:focus-visible {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 5px;
    transform: translateY(-5px);
}

/* Social icons focus */
.social-icon:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.6);
}

/* Menu toggle focus */
.menu-toggle:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 5px;
    background: rgba(0, 255, 213, 0.1);
    border-radius: 8px;
}

/* Scroll to top focus */
.scroll-top:focus-visible {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 4px;
    transform: translateY(-5px) scale(1.1);
}

/* Sticky CTA focus */
.sticky-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2), 0 15px 50px rgba(0, 255, 213, 0.6);
}

/* FAQ questions focus */
.faq-question:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
    background: rgba(0, 255, 213, 0.05);
}

/* Remove default outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   404 ERROR PAGE
   ======================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(120px, 15vw, 150px) clamp(20px, 5vw, 40px) clamp(60px, 10vw, 80px);
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Premium Card Effects */
.tech-category,
.service-item,
.portfolio-card {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.card-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-category:hover .card-sheen,
.service-item:hover .card-sheen,
.portfolio-card:hover .card-sheen {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

/* Animated 404 Number */
.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.error-digit {
    font-size: clamp(80px, 20vw, 180px);
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    animation: bounceIn 1s ease-out;
}

.error-digit:nth-child(1) {
    animation-delay: 0.1s;
}

.error-digit:nth-child(3) {
    animation-delay: 0.3s;
}

.error-zero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation-delay: 0.2s;
}

.error-circle {
    position: absolute;
    width: clamp(100px, 25vw, 200px);
    height: clamp(100px, 25vw, 200px);
    animation: rotateCircle 3s linear infinite;
}

.circle-animate {
    animation: drawCircle 2s ease-out forwards;
}

.zero-inner {
    font-size: clamp(80px, 20vw, 180px);
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }

    50% {
        transform: scale(1.05) translateY(0);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Error Text */
.error-title {
    font-size: clamp(32px, 6vw, 48px);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.error-description {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Search Box */
.error-search {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-size: 18px;
}

.search-wrapper input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.search-wrapper input::placeholder {
    color: var(--text-secondary);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 255, 213, 0.1);
}

/* Quick Links */
.error-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.error-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.error-link-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
}

.error-link-btn i {
    font-size: 16px;
}

/* Popular Pages */
.popular-pages {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.popular-pages h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-weight: 600;
}

.popular-pages ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.popular-pages li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.popular-pages li a:hover {
    background: rgba(0, 255, 213, 0.05);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.popular-pages li a i {
    font-size: 12px;
    transition: transform 0.3s;
}

.popular-pages li a:hover i {
    transform: translateX(3px);
}

/* Help Text */
.error-help {
    font-size: 14px;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 1.5s both;
}

.help-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.help-link:hover {
    text-decoration: underline;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .error-links {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .error-link-btn {
        justify-content: center;
    }

    .popular-pages ul {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* ======================================== 
   PREMIUM REDESIGNED OUR STORY SECTION 
   ======================================== */

.story-premium {
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0f 50%, #000000 100%);
    overflow: hidden;
}

/* Animated Background Orbs */
.story-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 204, 163, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatOrb2 18s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation: floatOrb3 22s ease-in-out infinite;
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, 40px) scale(1.15);
    }

    66% {
        transform: translate(40px, -40px) scale(0.85);
    }
}

@keyframes floatOrb3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 50px) scale(1.2);
    }
}

/* Particle Grid */
.story-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1.5s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 50%;
    animation-delay: 3s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation-delay: 4.5s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.6;
    }
}

/* Container */
.story-container-premium {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
    position: relative;
    z-index: 2;
}

.story-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
    align-items: center;
}

/* ========== VISUAL SIDE ========== */
.story-visual-premium {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 30px;
    overflow: visible;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.frame-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.3), rgba(0, 204, 163, 0.3), rgba(0, 255, 213, 0.2));
    border-radius: 40px;
    filter: blur(40px);
    opacity: 0.6;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame:hover .image-container {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 213, 0.5);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
    filter: brightness(0.95) contrast(1.1);
}

.image-frame:hover .image-container img {
    transform: scale(1.08);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 255, 213, 0.15), transparent 60%);
    mix-blend-mode: overlay;
    opacity: 0.7;
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, #00ffd5 0%, #00ff88 100%);
    padding: 25px 35px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 255, 213, 0.4), 0 0 40px rgba(0, 204, 163, 0.3);
    z-index: 10;
    animation: floatBadge 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.badge-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.badge-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    position: relative;
    z-index: 1;
}

.badge-year-large {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.badge-divider {
    width: 2px;
    height: clamp(24px, 4vw, 30px);
    background: rgba(0, 0, 0, 0.3);
}

.badge-label-large {
    font-size: clamp(11px, 2vw, 14px);
    font-weight: 800;
    letter-spacing: 2px;
}

/* Corner Accents */
.corner-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid;
    border-image: linear-gradient(135deg, #00ffd5, #00ff88) 1;
    z-index: 5;
}

.corner-tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
    animation: cornerPulse 2s ease-in-out infinite;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
    animation: cornerPulse 2s ease-in-out infinite 1s;
}

@keyframes cornerPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Timeline Visual */
.timeline-visual {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: timelineFadeIn 0.8s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes timelineFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #00ffd5, #00ff88);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.6);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 30px rgba(0, 204, 163, 0.8);
    }
}

.timeline-label {
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========== CONTENT SIDE ========== */
.story-content-premium {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header */
.content-header-premium {
    margin-bottom: 40px;
}

.pretitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pretitle-line {
    width: 40px;
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.5;
    flex-shrink: 0;
}

.story-pretitle-premium {
    color: var(--accent-cyan);
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.story-heading-premium {
    font-size: clamp(32px, 7vw, 60px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, #00ffd5 0%, #00ff88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.heading-underline {
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 32px;
}

.underline-animated {
    height: 100%;
    background: linear-gradient(90deg, #00ffd5, #00ff88, #00ffd5);
    animation: underlineSlide 3s ease-in-out infinite;
}

@keyframes underlineSlide {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

/* Glass Card */
.story-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: clamp(30px, 4vw, 45px);
    margin-bottom: 50px;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;
}

.story-glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 213, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.glass-card-glow {
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.story-glass-card:hover .glass-card-glow {
    opacity: 1;
}

.lead-text-premium {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
}

.body-text-premium {
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.body-text-premium:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: var(--accent-cyan);
    font-weight: 600;
    position: relative;
}

.body-text-premium strong {
    color: #fff;
    font-weight: 700;
}

.body-text-premium em {
    color: var(--accent-cyan);
    font-style: normal;
    font-weight: 600;
}

/* Stats Grid */
.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 213, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.2), rgba(0, 204, 163, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 3vw, 22px);
    color: var(--accent-cyan);
    transition: all 0.4s;
}

.stat-card-premium:hover .stat-icon {
    background: linear-gradient(135deg, #00ffd5, #00ff88);
    color: #000;
    transform: rotateY(360deg);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.stat-plus,
.stat-percent {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--accent-cyan);
    font-weight: 800;
    margin-left: 2px;
}

.stat-label {
    font-size: clamp(10px, 1.5vw, 11px);
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 213, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card-premium:hover .stat-glow {
    opacity: 1;
}

/* CTA Button */
.story-cta-premium {
    margin-top: 20px;
}

.story-cta-premium .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.story-cta-premium .cta-btn i {
    transition: transform 0.3s;
}

.story-cta-premium .cta-btn:hover i {
    transform: translateX(5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .story-grid-premium {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .story-grid-premium {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .story-visual-premium {
        max-width: 600px;
        margin: 0 auto;
    }

    .story-content-premium {
        text-align: center;
    }

    .pretitle-wrapper {
        justify-content: center;
    }

    .heading-underline {
        margin: 0 auto 24px;
    }

    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .story-premium {
        padding: var(--section-padding-y) var(--section-padding-x);
    }

    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-visual {
        flex-direction: column;
        gap: 30px;
    }

    .premium-badge {
        bottom: -15px;
        right: -15px;
        padding: 20px 25px;
    }

    .badge-year-large {
        font-size: 20px;
    }

    .badge-label-large {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* ======================================== 
   REDESIGNED MISSION & VISION SECTION 
   ======================================== */
.mission-vision-new {
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    background: #050505;
    overflow: hidden;
}

.mission-vision-new .container {
    max-width: 1400px;
    margin: 0 auto;
}

.mv-blob-1,
.mv-blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.mv-blob-1 {
    top: -100px;
    right: -100px;
}

.mv-blob-2 {
    bottom: -100px;
    left: -100px;
}

.mv-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.mv-card-new {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-card-new:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 213, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 213, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    margin-bottom: 30px;
}

.card-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.card-line {
    width: 40px;
    height: 3px;
    background: var(--accent-cyan);
    margin-bottom: 25px;
    border-radius: 2px;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

.card-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.mv-card-new:hover .card-glow {
    opacity: 1;
}

/* ======================================== 
   REDESIGNED CORE VALUES SECTION 
   ======================================== */
.core-values-new {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
}

.core-values-new .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header-new {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-pretitle {
    color: var(--accent-cyan);
    letter-spacing: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title-new {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle-new {
    color: var(--text-secondary);
    font-size: 18px;
}

.values-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.value-card-new {
    perspective: 1000px;
}

.value-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.value-card-new:hover .value-inner {
    transform: rotateX(5deg) rotateY(10deg);
    border-color: rgba(0, 255, 213, 0.4);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.value-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    transform: translateZ(20px);
}

.value-icon-box {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 213, 0.1);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 24px;
    transition: all 0.5s;
}

.value-card-new:hover .value-icon-box {
    background: var(--accent-cyan);
    color: #000;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: var(--accent-cyan);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s;
}

.value-card-new:hover .icon-glow {
    opacity: 0.3;
}

.value-index {
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transition: all 0.5s;
}

.value-card-new:hover .value-index {
    color: rgba(0, 255, 213, 0.08);
}

.value-inner h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.value-inner p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    transform: translateZ(10px);
}

.value-border {
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s;
    border-radius: 3px 3px 0 0;
}

.value-card-new:hover .value-border {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .mv-grid-new {
        grid-template-columns: 1fr;
    }
}



/* ======================================== 
   LIGHTBOX STYLES 
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    /* Above modal */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    z-index: 1;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    background: #ff4d4d;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Glass Console Terminal Header */
.console-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.console-dot.red {
    background: #ff5f56;
}

.console-dot.yellow {
    background: #ffbd2e;
}

.console-dot.green {
    background: #27c93f;
}

.console-title {
    margin-left: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Contact Console Refinements */
.glass-console .contact-form-container {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.contact-form textarea {
    min-height: 150px;
    resize: none;
}

/* Form Row Spacing */
.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 255, 213, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent-cyan);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 25px;
    opacity: 0;
}

.faq-answer.active {
    max-height: 300px;
    padding: 0 25px 25px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   PROJECT MODAL SYSTEM
   ======================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1;
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

.project-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image-col {
    position: relative;
    width: 100%;
    min-height: 200px;
    max-height: 40vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.modal-image-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.4);
    opacity: 0.6;
    z-index: -1;
    transform: scale(1.1);
}

.modal-image-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Prevent cropping */
    position: relative;
    z-index: 1;
    opacity: 1;
    /* Full visibility */
}

.modal-content-col {
    padding: clamp(30px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 213, 0.05);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 800;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.1);
}

.modal-header-section {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
    margin-bottom: 10px;
}

.modal-content-col h2 {
    font-size: clamp(28px, 5vw, 42px);
    color: #fff;
    line-height: 1.1;
    margin-top: 15px;
    font-weight: 800;
}

.modal-grid-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.modal-info-section h4 {
    color: var(--accent-cyan);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-info-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0;
}

.modal-tech-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--glass-border);
}

.modal-tech-item:hover {
    background: rgba(0, 255, 213, 0.05);
    border-color: var(--accent-cyan);
    color: #fff;
    transform: translateY(-2px);
}

.modal-content-col .cta-primary {
    width: fit-content;
    padding: 14px 30px;
    font-size: 15px;
    margin-top: 10px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin: 10px 0;
    width: 100%;
    grid-column: 1 / -1;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: zoom-in;
}

.gallery-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .modal-grid-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .modal-image-col {
        height: 250px;
        max-height: 35vh;
    }

    .modal-content-col {
        padding: 25px 15px;
    }

    .modal-content-col h2 {
        font-size: clamp(22px, 5vw, 28px);
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}


/* ========================================
   LIGHTBOX OVERLAY
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition);
    font-size: 18px;
}

.lightbox-nav:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }
}

.featured-projects {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-primary);
}

.featured-projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-content-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.portfolio-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.portfolio-card-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    margin-top: auto;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.portfolio-btns-row {
    display: flex;
    gap: 15px;
}

/* Removed redundant .portfolio-btn override to maintain consistency */

.icon-right {
    margin-left: 8px;
}

.featured-projects-actions {
    text-align: center;
    margin-top: 60px;
}

.view-all-projects-btn {
    padding: 15px 40px;
    border-radius: 100px;
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 900px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 28px;
    z-index: 99998;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 40px rgba(0, 255, 213, 0.08);
}

.cookie-banner.show {
    bottom: 24px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-accept {
    background: var(--accent-gradient);
    color: #000;
    border-color: var(--accent-cyan);
}

.cookie-accept:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--glass-border);
}

.cookie-decline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   NAVBAR MEGA MENU
   ======================================== */
.nav-dropdown {
    position: relative;
}

.nav-mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 280px;
    background: rgba(10, 10, 10, 0.97);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 213, 0.05);
    z-index: 1000;
}

.nav-mega-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--glass-border);
}

.nav-dropdown:hover .nav-mega-menu,
.nav-dropdown:focus-within .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease;
    text-align: left !important;
}

.mega-item:hover {
    background: rgba(0, 255, 213, 0.07);
}

.mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 255, 213, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 14px;
    flex-shrink: 0;
}

.mega-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px;
}

.mega-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mega-text small {
    font-size: 11px;
    color: var(--text-secondary);
}

/* ========================================
   MODERN INDUSTRIES REDESIGN
   ======================================== */
.industries {
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    overflow: hidden;
    background: #050505;
}

.industries::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 213, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--grid-gap-md);
    margin-top: 60px;
}

.industry-card {
    position: relative;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.industry-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 213, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 213, 0.1);
}

.industry-card:hover .industry-card-glow {
    opacity: 1;
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 255, 213, 0.1);
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.3);
}

.industry-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-name {
    color: var(--accent-cyan);
}

.industry-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-md);
    }

    .industry-card {
        padding: 30px 20px;
    }
}

/* ========================================
   FOOTER GLOW REDESIGN
   ======================================== */
.main-footer {
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 213, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-links a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 6px;
}

/* Animated Social Icons with Brand Colors */
.social-icon {
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:nth-child(1):hover {
    color: #0a66c2;
    transform: translateY(-3px) scale(1.15);
}

/* LinkedIn */
.social-icon:nth-child(2):hover {
    color: #1877f2;
    transform: translateY(-3px) scale(1.15);
}

/* Facebook */
.social-icon:nth-child(3):hover {
    color: #e7e7e7;
    transform: translateY(-3px) scale(1.15);
}

/* Twitter/X */
.social-icon:nth-child(4):hover {
    color: #e1306c;
    transform: translateY(-3px) scale(1.15);
}

/* Instagram */
.social-icon:nth-child(5):hover {
    color: #ff0000;
    transform: translateY(-3px) scale(1.15);
}

/* YouTube */

/* ========================================
   PORTFOLIO FILTER TABS
   ======================================== */
.portfolio-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #000;
    font-weight: 600;
}

.portfolio-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-card.hidden {
    display: none;
}

/* ========================================
   STORY MODERN SECTION (About Us)
   ======================================== */
.story-modern {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #000;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    text-align: left;
}

.story-modern::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300ffd5' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.story-container-modern {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.story-grid-modern {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* Content Styles */
.story-content-modern {
    position: relative;
    text-align: left;
}

.story-lead-modern {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 25px;
    opacity: 0.95;
    text-align: left;
}

.story-description-modern {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: left;
}

/* Icon List */
.story-features-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 45px;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 18px;
    transition: var(--transition);
}

.feature-item-modern:hover .feature-icon-wrapper {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 213, 0.2);
}

.feature-text-modern {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

/* Stats Counter Small */
.story-stat-mini {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.mini-stat-item {
    display: flex;
    flex-direction: column;
}

.mini-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.mini-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* Visual Side */
.story-visual-modern {
    position: relative;
    padding: 20px;
}

.story-image-main {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-image-main img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.story-image-main:hover img {
    transform: scale(1.05);
}

.image-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Floating Elements - Repositioned to be more "attached" */
.floating-card-modern {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 213, 0.2);
    padding: 15px 20px;
    border-radius: 20px;
    z-index: 10;
    animation: smoothFloat 4s ease-in-out infinite;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

@keyframes smoothFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-top-left {
    top: 10%;
    left: -10px;
}

.card-bottom-right {
    bottom: 10%;
    right: -10px;
    animation-delay: 1.5s;
}

.floating-icon-box {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 8px;
    font-size: 14px;
}

.floating-card-modern h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.floating-card-modern p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

/* Decorative Decorations - Subtle Background items */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.deco-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
}



@keyframes smoothFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-top-left {
    top: 10%;
    left: -10px;
}

.card-bottom-right {
    bottom: 10%;
    right: -10px;
    animation-delay: 1.5s;
}

.floating-icon-box {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 8px;
    font-size: 14px;
}

.floating-card-modern h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.floating-card-modern p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

/* Decorative Decorations - Subtle Background items */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.deco-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
}

/* Reference Matching Card Layout for existing Service Items */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    margin: 0;
    width: 100%;
    height: 100%;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {

    .service-item,
    .service-item.reverse {
        flex-direction: column;
    }
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d0d0f;
    /* Matches outer or image might be bare */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Reset badge for the new context */
.service-content .service-badge {
    align-self: flex-start;
    padding: 7px 18px;
    background: transparent;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-content h3 {
    text-align: left;
    margin-top: 10px;
}

.service-content p {
    text-align: left;
    margin-left: 0;
}

.service-content .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.service-content .feature-card {
    background: #09090b;
    /* Inner card */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* distinct border */
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.service-content .feature-card:hover {
    border-color: rgba(0, 255, 204, 0.3);
    background: #0d0d0f;
}

.service-content .cta-project-btn {
    align-self: flex-start;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .features-grid,
    .service-content .features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: clamp(15px, 4vw, 24px);
    }
}
