:root {
    --bg-color: #f8faff;
    /* Light/White Background */
    --text-color: #1e293b;
    /* Dark Blue-Gray Text */
    --primary-blue: #0b5394;
    --primary-blue-rgb: 11, 83, 148;
    --secondary-blue: #e0f2fe;
    /* Light Blue Accent */
    --accent-cyan: #0b5394;
    /* Recycled Primary for consistency or slightly lighter */
    --accent-cyan-rgb: 11, 83, 148;
    --glass-bg: #ffffff;
    --glass-border: rgba(11, 83, 148, 0.1);
    --card-hover-bg: #ffffff;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --card-shadow: 0 20px 40px -5px rgba(11, 83, 148, 0.15);
    /* Stronger global shadow */
}

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

html {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    overscroll-behavior: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    overscroll-behavior: none;
}

#what-we-do {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem;
    /* Increased top padding to clear navbar */
    overflow: hidden;
    height: 100svh;
    /* Target viewport height */
    max-height: 100svh;
    background: #f8faff;
}

/* Animated aurora / gradient mesh background */
#what-we-do::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    background:
        radial-gradient(circle 400px at 15% 30%, rgba(11, 83, 148, 0.35) 0%, transparent 70%),
        radial-gradient(circle 350px at 85% 25%, rgba(100, 60, 200, 0.25) 0%, transparent 70%),
        radial-gradient(circle 300px at 70% 80%, rgba(56, 189, 248, 0.20) 0%, transparent 70%),
        radial-gradient(circle 320px at 20% 75%, rgba(139, 92, 246, 0.20) 0%, transparent 70%);
    animation: aurora-drift 20s ease-in-out infinite alternate;
    filter: blur(60px);
}

@keyframes aurora-drift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(5%, -3%) rotate(2deg) scale(1.02);
    }

    50% {
        transform: translate(-3%, 5%) rotate(-1deg) scale(0.98);
    }

    75% {
        transform: translate(4%, 2%) rotate(1.5deg) scale(1.03);
    }

    100% {
        transform: translate(-2%, -4%) rotate(-2deg) scale(1);
    }
}

/* Ambient Canvas */
#ambient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}

/* Premium Floating Navbar */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    padding: 0.8rem 2rem;
    z-index: 9999;
    background: transparent;
    transition: all 0.3s ease;
}

.premium-nav.scrolled {
    background: transparent;
    padding: 0.5rem 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    /* Positioning context for absolutely-centered nav links */
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    transition: color 0.35s ease-in-out;
    margin-top: -11px;
    min-width: 160px;
    /* Prevent nav links from shifting when brand text collapses */
}

.logo-image {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.35s ease-in-out;
    object-fit: contain;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.35s ease-in-out;
    transform-origin: left center;
    margin-right: 2px;
}

.brand-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    max-width: 150px;
    font-weight: 800;
    transition: opacity 0.35s ease-in-out, max-width 0.35s ease-in-out, margin 0.35s ease-in-out;
    transform-origin: left center;
}

.brand-green {
    color: #2d8c2d;
    transition: color 0.35s;
}

.brand-blue {
    color: #ffffff;
    transition: color 0.35s;
}

.premium-nav.scrolled .brand-green {
    color: #137213;
}

.premium-nav.scrolled .brand-blue {
    color: #0b5394;
}

.premium-nav.scrolled .brand-icon {
    transform: translateX(0) scale(1.15);
    /* Slightly larger when text disappears */
}

.premium-nav.scrolled .brand-text {
    opacity: 0;
    max-width: 0;
    margin-left: -8px;
}

.nav-links-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.35rem;
    border-radius: 50px;
    gap: 0.5rem;
    /* Absolutely center in the navbar — immune to logo/actions width changes */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.sliding-pill {
    position: absolute;
    top: 0.35rem;
    /* Match container padding */
    left: 0;
    /* Will be set via JS */
    height: calc(100% - 0.70rem);
    background: var(--primary-blue);
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    /* Keep behind text */
    pointer-events: none;
}

.nav-link {
    text-decoration: none;
    color: #1a362d;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: color 0.3s ease;
    /* Only animate text color */
}

.nav-link.active,
.nav-link:hover {
    color: #ffffff;
}

/* Clever trick: when another tab is hovered, make the old active tab dark again */
.nav-links-container:hover .nav-link.active:not(:hover) {
    color: #1a362d;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #ffffff;
    color: #1a362d;
    padding: 0.6rem 1rem 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-contact-btn:hover {
    background: #f8fafc;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: #f97316;
    border-radius: 50%;
    display: inline-block;
}

.menu-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    color: #1a362d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle-btn:hover {
    background: #f8fafc;
}

/* Hamburger Animation */
.menu-toggle-btn svg path {
    transition: transform 0.3s ease-in-out;
}

.menu-toggle-btn svg path:nth-child(1) {
    transform-origin: 12px 9px;
}

.menu-toggle-btn svg path:nth-child(2) {
    transform-origin: 12px 15px;
}

.menu-toggle-btn.open svg path:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.menu-toggle-btn.open svg path:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* Responsive Navbar */
@media (max-width: 992px) {
    .nav-links-container {
        display: none;
    }

    .nav-links-container.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2.4rem);
        background: #ffffff;
        border-radius: 20px;
        padding: 1rem;
        box-shadow: 0 15px 40px rgba(11, 83, 148, 0.15);
        z-index: 1000;
        gap: 0.5rem;
    }

    .nav-links-container.open .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        color: #1a362d;
    }

    .nav-links-container.open .nav-link.active {
        background: var(--primary-blue);
        color: #ffffff;
    }

    .nav-links-container.open .nav-link:hover:not(.active) {
        background: #f1f5f9;
        color: var(--primary-blue);
    }

    .nav-links-container.open .sliding-pill {
        display: none;
    }

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

    .contact-info-column {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .premium-nav {
        padding: 1rem 1.2rem;
    }

    .premium-nav.scrolled {
        padding: 0.5rem 1.2rem;
    }

    .nav-contact-btn {
        display: none;
    }
}


/* Hero Section Refactor */
.hero-blue-section {
    position: relative;
    background-color: var(--primary-blue);
    min-height: 100svh;
    height: auto;
    /* allow growth */
    display: flex;
    align-items: flex-start;
    /* Changed from center to respect padding-top */
    justify-content: center;
    padding: 20rem 2rem 6rem;
    /* Further increased top padding */
    overflow: hidden;
}

.hero-white-container {
    background: #ffffff;
    border-radius: 40px;
    padding: 3rem;
    /* Reduced padding to shrink height */
    width: 100%;
    max-width: 2000px;
    /* Further increased max-width */
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    /* Ensure centering */
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

/* Ensure inner container fits */
.hero-blue-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -2px;
    background: linear-gradient(to right,
            #1e293b 20%,
            #0b5394 40%,
            #1e293b 60%,
            #1e293b 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Highlight text override for visibility */
.highlight-text {
    -webkit-text-fill-color: var(--primary-blue);
    background: none;
}

/* Shine Animation */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}


/* Subtitle */
.subtitle {
    font-size: 1.1rem;
    color: #c6cfdd;
    /* Slate 600 */
    margin-bottom: 1.5rem;
}

#our-works .subtitle {
    color: #ffffff;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto;
    border-radius: 2px;
}

/* Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    /* Slightly tighter gap */
}

.card {
    /* Fallback */
    border-radius: 24px;
    padding: 2.5rem 2rem;
    /* No backdrop filter needed for solid white */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--card-shadow);
    /* Spotlight specific variables to be updated by JS */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Spotlight Effect Layer - Subtle Light Blue */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(11, 83, 148, 0.05),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

/* Border Glow Spotlight */
.card::before {
    display: none;
    /* Remove dark border glow */
}



.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(11, 83, 148, 0.15);
    /* Soft Blue Shadow */
    border-color: transparent;
    background: #ffffff;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-blue-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: 0.3s;
}

.card:hover .icon-wrapper {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 10px 20px rgba(11, 83, 148, 0.3);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.card p {
    color: #64748b;
    /* Slate 500 */
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    background: #f1f5f9;
    /* Slate 100 */
    border: 1px solid transparent;
    border-radius: 20px;
    color: #475569;
    /* Slate 600 */
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: 0.3s;
}

.tech-badge:hover {
    background: rgba(11, 83, 148, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}


/* Hero Section Variables */
:root {
    --hero-primary-rgb: 11, 83, 148;
    --hero-glow-rgb: 224, 242, 254;
    /* Light Blue Glow */
    --hero-bg-dark: #f8faff;
    /* Light BG */
    --hero-glass-bg: rgba(255, 255, 255, 0.8);
    --hero-glass-border: rgba(11, 83, 148, 0.1);
    --hero-font-main: 'Outfit', sans-serif;
    --hero-text-color: #1e293b;
}

/* Hero Section Layout */
/* Hero Section Layout (Cleaned) */
.hero-blue-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100svh;
    /* Force viewport height */
    min-height: 700px;
    /* Minimum accessible height */
    background: radial-gradient(circle at 50% 50%, #0b5394 0%, #022c5e 100%);
    /* More Intense/Darker Blue Edge for contrast */
    overflow: hidden;
    font-family: var(--hero-font-main);
    color: var(--hero-text-color);
    padding: 2rem;
    box-sizing: border-box;
}

.hero-blue-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* Reduced gap */
    width: 100%;
    z-index: 10;
    align-items: center;
}

/* Left Side Content */
.hero-blue-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    z-index: 20;
    text-align: left;
}

.hero-blue-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-blue-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0f172a;
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-blue-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* CTA Button */
.hero-blue-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease-in, box-shadow 0.3s ease, background 0.3s ease;
    width: fit-content;
    box-shadow: 0 10px 25px -10px rgba(11, 83, 148, 0.5);
}

.hero-blue-cta.revealed {
    opacity: 1;
}

.hero-blue-cta.revealed:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(11, 83, 148, 0.6);
}

.hero-blue-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-blue-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(11, 83, 148, 0.6);
}

.hero-blue-cta:hover::before {
    left: 100%;
}

.hero-blue-cta i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.hero-blue-cta:hover i {
    transform: translateX(5px);
}

/* Product Showcase - Futuristic 3D Layout */
.hero-blue-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    /* Essential for 3D effect */
}

/* Robot Container */
#robot-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.showcase-container {
    display: none;
    /* Hide old container if it still exists somehow, though I removed it from HTML */
}

.showcase-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* Smooth parallax */
}

/* Device Common Styles - Light Theme */
.device {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    /* More opaque to reduce blue bleed */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Reduced Blue Shadow, back to neutral/subtle */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.device-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #ffffff;
    /* Solid white screen bg */
}

.device-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateZ(20px);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Text Slider */
.hero-text-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: auto;
    /* flexible height */
    /* Remove fixed height to allow expansion if needed, but min-height keeps layout stable */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    min-height: 100%;
    width: 100%;
    flex: 1;
}

.hero-blue-content.slide {
    min-width: 100%;
    flex: 0 0 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    /* Restore flex from original class */
    flex-direction: column;
    justify-content: center;
}

.hero-blue-content.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slider-controls {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(11, 83, 148, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.device:hover .device-label {
    opacity: 1;
    bottom: -40px;
}

/* Entrance Animations */
@keyframes enter-left {
    from {
        transform: translateX(-100px) translateZ(80px) rotateY(10deg);
        opacity: 0;
    }

    to {
        transform: translate(calc(0% + var(--parallax-x, 0px)), calc(-10% + var(--parallax-y, 0px))) translateZ(80px) rotateY(10deg);
        opacity: 1;
    }
}

@keyframes enter-right {
    from {
        transform: translateX(100px) translateZ(0px) rotateY(-10deg);
        opacity: 0;
    }

    to {
        transform: translate(calc(-20% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) translateZ(0px) rotateY(-10deg);
        opacity: 1;
    }
}

@keyframes enter-top {
    from {
        transform: translate(-50%, -200px) translateZ(-100px);
        opacity: 0;
    }

    to {
        transform: translate(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) translateZ(-100px);
        opacity: 1;
    }
}

.device-mobile.animate-in {
    animation: enter-left 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.device-tablet.animate-in {
    animation: enter-right 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.device-desktop.animate-in {
    animation: enter-top 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Aligned State (Slide 2) */
.hero-blue-visual.state-aligned .device {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-blue-visual.state-aligned .device-desktop {
    width: 480px;
    height: 300px;
    transform: translate(-50%, -50%) translateZ(0) !important;
    /* Center Flat */
    left: 50%;
    top: 50%;
    z-index: 2;
}

.hero-blue-visual.state-aligned .device-tablet {
    transform: translate(calc(50% + 20px), -50%) translateZ(-50px) !important;
    /* Right Side */
    right: auto;
    left: 50%;
    top: 50%;
    z-index: 1;
}

.hero-blue-visual.state-aligned .device-mobile {
    transform: translate(calc(-150% - 20px), -50%) translateZ(-50px) !important;
    /* Left Side */
    left: 50%;
    top: 50%;
    bottom: auto;
    z-index: 1;
}

/* Device Specifics */

/* Desktop - Back Layer (Brand Blue Theme) */
.device-desktop {
    width: 500px;
    height: 320px;
    top: 50%;
    left: 50%;
    /* Brand Blue Glow */
    box-shadow: 0 25px 60px -10px rgba(11, 83, 148, 0.25),
        0 0 0 1px rgba(11, 83, 148, 0.1);
    transform: translate(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) translateZ(-100px);
    z-index: 1;
}

.device-desktop .screen-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    /* Light Blue Tint */
}

/* Tablet - Middle Layer (Brand Blue Theme) */
.device-tablet {
    width: 240px;
    height: 340px;
    top: 55%;
    right: 0;
    /* Brand Blue Glow */
    box-shadow: 0 25px 50px -10px rgba(11, 83, 148, 0.3),
        0 0 0 1px rgba(11, 83, 148, 0.1);
    transform: translate(calc(-20% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) translateZ(0px) rotateY(-10deg);
    z-index: 2;
}

.device-tablet .screen-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    /* Light Blue Tint */
}

/* Mobile - Front Layer (Brand Blue Theme) */
.device-mobile {
    width: 140px;
    height: 280px;
    bottom: 0;
    left: 10%;
    /* Brand Blue Glow */
    box-shadow: 0 20px 40px -5px rgba(11, 83, 148, 0.35),
        0 0 0 1px rgba(11, 83, 148, 0.15);
    transform: translate(calc(0% + var(--parallax-x, 0px)), calc(-10% + var(--parallax-y, 0px))) translateZ(80px) rotateY(10deg);
    z-index: 3;
    border-radius: 20px;
}

.device-mobile .device-frame {
    border-radius: 18px;
    background: #ffffff;
}

.device-mobile .screen-content {
    padding: 10px;
    height: 100%;
    position: relative;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    /* Light Blue Tint */
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #ffffff;
    /* White notch */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* UI Skeletons - Light Theme */
.ui-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.ui-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

/* Colorful dots - Keeps standard UI look */
.ui-dots span:nth-child(1) {
    background: #ff5f57;
}

.ui-dots span:nth-child(2) {
    background: #febc2e;
}

.ui-dots span:nth-child(3) {
    background: #28c840;
}

.ui-bar {
    width: 60%;
    height: 6px;
    background: #e2e8f0;
    /* Light Gray */
    border-radius: 4px;
}

.ui-body {
    display: flex;
    gap: 10px;
    flex: 1;
}

.ui-sidebar {
    width: 20%;
    background: #f1f5f9;
    border-radius: 6px;
}

.ui-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ui-hero {
    height: 40%;
    background: linear-gradient(135deg, #0b5394 0%, #3b82f6 100%);
    /* Brand Blue Gradient */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(11, 83, 148, 0.2);
}

.ui-grid {
    display: flex;
    gap: 8px;
    height: 50%;
}

.ui-item {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

/* Tablet UI (CTA Blue) */
.ui-header {
    height: 15%;
    background: linear-gradient(135deg, #0b5394 0%, #3b82f6 100%);
    /* Brand Blue Gradient */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(11, 83, 148, 0.2);
}

.ui-body-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ui-row {
    height: 20px;
    background: #f1f5f9;
    border-radius: 4px;
}

.ui-row:nth-child(2) {
    width: 80%;
}

.ui-row:nth-child(3) {
    width: 60%;
}

/* Mobile UI (Action Blue) */
.ui-app-header {
    height: 25%;
    background: linear-gradient(135deg, #0b5394 0%, #3b82f6 100%);
    /* Brand Blue Gradient */
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(11, 83, 148, 0.25);
}

.ui-card-stack {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-card {
    height: 40px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    /* Light Blue border */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.ui-fab {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #0b5394;
    /* Brand Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(11, 83, 148, 0.4);
}

/* Neon Glow Background - Blue Theme */
.showcase-glows {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.showcase-glows::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    /* Pure Brand Blue Glow */
    background: radial-gradient(circle, rgba(11, 83, 148, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-blue-visual {
        width: 100%;
        /* More fluid on smaller screens */
        height: 400px;
    }

    .device-desktop {
        width: 400px;
        height: 250px;
    }

    .device-tablet {
        width: 180px;
        height: 260px;
    }

    .device-mobile {
        width: 110px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-blue-visual {
        display: none;
    }

    .showcase-stage {
        transform: none !important;
        /* Disable parallax rotation */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Stack devices vertically or simplify */
    .device-desktop {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        width: 90%;
        height: auto;
        aspect-ratio: 16/10;
        z-index: 1;
    }

    .device-tablet,
    .device-mobile {
        display: none;
        /* Hide extra devices on mobile for clarity */
    }
}

.hero-card-desc {
    display: none;
    /* Hide desc for cleaner minimal look */
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #475569;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 12px;
    width: 100%;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
}

.code-snippet span {
    display: inline-block;
}

/* Floating Orbs (Background) */
.hero-blue-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(var(--hero-primary-rgb), 0.3);
    top: 0;
    right: 0;
    animation: hero-orb-move 10s infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(var(--hero-glow-rgb), 0.2);
    bottom: 50px;
    left: 50px;
    animation: hero-orb-move 8s infinite alternate-reverse;
}

/* Animations */
@keyframes hero-float {

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

    50% {
        transform: translateY(-20px);
    }
}

@keyframes hero-orb-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-blue-section {
        align-items: center;
        height: 100svh;
        min-height: 100svh;
        padding: 2rem;
    }

    .hero-blue-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    /* Robot sits above via position:fixed — collapse the empty placeholder */
    .hero-blue-visual {
        display: none;
    }

    /* Offset text downward so robot (top of card) doesn't hide title */
    .hero-text-slider {
        padding-top: 240px;
    }

    .hero-cards-wrapper {
        width: 320px;
        height: 400px;
        transform: scale(0.9);
    }

    .hero-blue-card {
        width: 200px;
        /* Smaller cards */
        padding: 1.5rem;
    }

    .card-html {
        top: 10px;
        left: 10px;
    }

    .card-scss {
        top: 120px;
        right: 10px;
    }

    .card-js {
        bottom: 20px;
        left: 40px;
    }
}

@media (max-width: 480px) {
    .hero-cards-wrapper {
        transform: scale(0.75);
        margin-left: -20px;
        /* Center alignment compensation if needed */
    }
}

/* Very narrow phones (Galaxy Fold folded, etc.) */
@media (max-width: 380px) {
    .hero-text-slider {
        padding-top: 155px;
    }

    .hero-blue-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-blue-desc {
        font-size: 0.9rem;
    }

    .hero-blue-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* =========================================
   Features Section - Premium SaaS Design
   ========================================= */
.features-section {
    padding: 6rem 2rem;
    background: #f8faff;
    position: relative;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Premium Card Base */
.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    transition: all 0.35s ease-in-out;
    cursor: pointer;
    overflow: hidden;

    /* Soft, layered shadows for depth */
    box-shadow:
        0 1px 3px rgba(11, 83, 148, 0.04),
        0 4px 8px rgba(11, 83, 148, 0.06),
        0 10px 20px rgba(11, 83, 148, 0.08);

    /* Subtle border for definition */
    border: 1px solid rgba(11, 83, 148, 0.06);
}

/* Accent border removed per user request */

/* Calm hover lift with soft glow */
.feature-card:hover {
    transform: translateY(-6px);

    /* Enhanced soft shadows with edge glow */
    box-shadow:
        0 2px 4px rgba(11, 83, 148, 0.04),
        0 8px 16px rgba(11, 83, 148, 0.08),
        0 16px 32px rgba(11, 83, 148, 0.12),
        0 0 40px rgba(14, 165, 233, 0.08);

    border-color: rgba(11, 83, 148, 0.12);
}

/* Premium Icon Box */
.feature-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg,
            rgba(11, 83, 148, 0.06),
            rgba(14, 165, 233, 0.04));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);

    /* Subtle depth shadow */
    box-shadow:
        0 2px 8px rgba(11, 83, 148, 0.08),
        inset 0 -1px 2px rgba(11, 83, 148, 0.04);
}

/* Icon micro-animation on hover */
.feature-card:hover .feature-icon-box {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.08) rotate(3deg);

    box-shadow:
        0 4px 16px rgba(11, 83, 148, 0.2),
        0 2px 8px rgba(11, 83, 148, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Balanced Typography */
.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
    color: var(--primary-blue);
}

.feature-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Soft Tag Pills */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tags span {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;

    /* Subtle depth */
    box-shadow: 0 1px 2px rgba(11, 83, 148, 0.03);
}

.feature-card:hover .feature-tags span {
    background: rgba(11, 83, 148, 0.06);
    border-color: rgba(11, 83, 148, 0.12);
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(11, 83, 148, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   Have You Seen Our Works Section
   ========================================= */

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    /* Hide cards sliding off edges */
}

.carousel-container {
    flex: 1;
    height: 600px;
    position: relative;
    perspective: 1200px;
    /* 3D perspective for Coverflow */
    overflow: visible;
    transform-style: preserve-3d;
}

/* Track - container for cards (no rotation) */
.carousel-track {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

/* Navigation Buttons */
.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--primary-blue);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--primary-blue);
    transform: scale(1.1);
}

.nav-btn.prev {
    margin-right: 0.5rem;
}

.nav-btn.next {
    margin-left: 0.5rem;
}

/* 3D Project Card - Coverflow Styles */
.project-card {
    position: absolute;
    width: 375px;
    height: 500px;
    left: 50%;
    top: 50%;
    /* Transforms applied by JavaScript */
    background: transparent;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    /* Smooth Coverflow transitions */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.6s ease,
        box-shadow 0.3s ease;
    backface-visibility: hidden;

    /* Spotlight vars */
    --mouse-x: 50%;
    --mouse-y: 50%;

    /* 3D Reflection */
    -webkit-box-reflect: below 10px linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.15));
}


/* Hover effect - lift the card (only non-active cards) */
.project-card:hover:not(.active) .flip-card-inner {
    transform: scale(1.15) translateY(-20px);
}

.project-card:hover:not(.active) .flip-card-front {
    box-shadow: 0 20px 40px rgba(11, 83, 148, 0.3);
    border-color: var(--accent-cyan);
}

/* Spotlight effect */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(11, 83, 148, 0.1),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.project-card:hover::after {
    opacity: 1;
}

/* Front-facing cards are more prominent */
.project-card.active {
    filter: brightness(1.02);
    box-shadow:
        0 25px 60px rgba(11, 83, 148, 0.5),
        /* Deeper bottom shadow */
        0 0 20px rgba(11, 83, 148, 0.2),
        /* Glow */
        0 0 0 1px rgba(255, 255, 255, 0.1);
    /* Crisp border */
    border-color: rgba(11, 83, 148, 0.3);
    z-index: 100;
    /* Ensure it's on top */
}

/* Active card hover - keep in place, no scale/transform (only flip) */
.project-card.active:hover .flip-card-front,
.project-card.active:hover .flip-card-back {
    box-shadow: 0 20px 50px rgba(11, 83, 148, 0.35);
    border-color: var(--accent-cyan);
}



.project-image {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.project-image::after {
    display: none;
}

.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: #ffffff;
    /* Solid white to match card background */
    min-height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-bottom: 1rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.4;
    overflow: visible;
}

/* =========================================
   Clients Section
   ========================================= */

.clients-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #0a0a0f;
    opacity: 0;
    transition: opacity 1s ease;
    padding: 40px 0;
}

@media (max-height: 800px) {
    .clients-section {
        padding: 20px 0;
    }
}

@media (max-height: 600px) {
    .clients-section {
        min-height: auto;
        height: auto;
    }

    .client-card {
        height: 420px;
    }
}

.clients-section.visible {
    opacity: 1;
}

/* Background Elements */
.background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.2), black, rgba(59, 7, 100, 0.2));
}

.gradient-orb {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(96px);
}

.gradient-orb-1 {
    top: 25%;
    left: 25%;
    background-color: rgba(147, 51, 234, 0.3);
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-2 {
    bottom: 25%;
    right: 25%;
    background-color: rgba(107, 33, 168, 0.2);
    animation: float-delayed 8s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translate(-20px, 20px) scale(1.1);
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 83, 148, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 83, 148, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.vignette {
    display: none;
}

/* Content */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s ease 0.2s;
}

.clients-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.clients-header h2 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
    animation: none;
    /* Disable inherited shine animation */
}

.clients-header .subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease 0.4s;
}

.clients-header.visible .subtitle {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .clients-header h2 {
        font-size: 2rem;
    }
}

/* Carousel */
.clients-carousel-wrapper {
    position: relative;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s ease 0.4s;
}

.clients-carousel-wrapper.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 0 rgba(168, 85, 247, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-button:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(107, 33, 168, 0.3));
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow:
        0 12px 40px rgba(168, 85, 247, 0.3),
        0 0 0 4px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-button:active {
    transform: translateY(-50%) scale(1.05);
}

.nav-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-button-left {
    left: 0;
}

.nav-button-right {
    right: 0;
}

.nav-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.nav-button:hover svg {
    transform: scale(1.1);
}

.nav-button-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(168, 85, 247, 0);
    filter: blur(24px);
    transition: all 0.3s ease;
}

.nav-button:hover .nav-button-glow {
    background-color: rgba(168, 85, 247, 0.2);
}

/* Scroll Container */
.scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    padding: 24px 16px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container.grabbing {
    cursor: grabbing;
}

/* Client Card */
.client-card-wrapper {
    flex-shrink: 0;
    width: 280px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: cardEntrance 0.6s ease forwards;
}

@media (min-width: 768px) {
    .client-card-wrapper {
        width: 320px;
    }
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.client-card {
    position: relative;
    height: 460px;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        0 0 0 0 rgba(168, 85, 247, 0),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Shine Effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.client-card:hover .card-shine {
    opacity: 1;
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(168, 85, 247, 0.6) 20%,
            rgba(147, 51, 234, 0.8) 50%,
            rgba(168, 85, 247, 0.6) 80%,
            transparent 100%);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.client-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(168, 85, 247, 0.6) 20%,
            rgba(147, 51, 234, 0.8) 50%,
            rgba(168, 85, 247, 0.6) 80%,
            transparent 100%);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.client-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 24px 48px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(168, 85, 247, 0.4),
        0 0 40px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.08) 100%);
}

.client-card:hover::before,
.client-card:hover::after {
    opacity: 1;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.7), 0 0 60px rgba(147, 51, 234, 0.5);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: all 0.4s ease;
}

.client-card:hover .card-glow {
    background: linear-gradient(to bottom right, rgba(148, 163, 184, 0.05), rgba(71, 85, 105, 0.03));
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(168, 85, 247, 0.1) 0%,
            transparent 50%,
            rgba(147, 51, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.client-card:hover .card-image::before {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

.client-card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.1) saturate(1.2);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.1), transparent);
}

.card-info {
    position: relative;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(0, 0, 0, 0.98));
    backdrop-filter: blur(20px);
    padding: 24px;
    height: 220px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.name-linkedin {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.name-linkedin h3 {
    font-size: 1.375rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.client-card:hover .name-linkedin h3 {
    color: #f1f5f9;
    text-shadow: 0 2px 12px rgba(168, 85, 247, 0.4);
    transform: translateX(2px);
}

.linkedin-link {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(107, 33, 168, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(192, 132, 252, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, rgb(59, 130, 246), rgb(37, 99, 235));
    border-color: rgb(96, 165, 250);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 6px 20px rgba(59, 130, 246, 0.5),
        0 0 0 2px rgba(96, 165, 250, 0.3);
}

.linkedin-link svg {
    width: 14px;
    height: 14px;
}

.position {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.company {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    font-weight: 500;
}

/* Feedback/Testimonial */
.feedback {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feedback-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
    font-style: italic;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid rgba(148, 163, 184, 0.3);
    transition: all 0.4s ease;
    font-weight: 400;
}

.feedback-text::before {
    content: '"';
    color: rgba(168, 85, 247, 0.6);
    font-size: 1.1rem;
    font-family: Georgia, serif;
    margin-right: 4px;
}

.feedback-text::after {
    content: '"';
    color: rgba(168, 85, 247, 0.6);
    font-size: 1.1rem;
    font-family: Georgia, serif;
    margin-left: 4px;
}

.client-card:hover .feedback-text {
    border-left-color: rgba(168, 85, 247, 0.7);
    color: #e2e8f0;
    padding-left: 20px;
}

.client-card:hover .feedback-text::before,
.client-card:hover .feedback-text::after {
    color: rgba(168, 85, 247, 1);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* =========================================
   About Us Section
   ========================================= */

/* About Us Section */
.about-us-section {
    position: relative;
    padding: 6rem 2rem;
    background: #f8faff;
    /* Light BG */
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    isolation: isolate;
}

.about-us-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at center,
            rgba(248, 250, 255, 0.92) 0%,
            rgba(248, 250, 255, 0.55) 48%,
            rgba(248, 250, 255, 0) 78%);
}

/* --- Floating Decorative Orbs --- */
.about-floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-blue-rgb), 0.15), transparent 70%);
    filter: blur(40px);
}

.about-orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: about-float 20s infinite ease-in-out;
}

/* Who We Are Background Canvas */
#who-we-are-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content but above some backgrounds */
    opacity: 0.9;
    pointer-events: none;
    /* Let clicks pass through */
}

/* Ensure container is above canvas */
.about-container {
    position: relative;
    z-index: 5;
}

.about-orb-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation: about-float 15s infinite ease-in-out reverse;
}

.about-orb-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation: about-float 18s infinite ease-in-out;
}

@keyframes about-float {

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

    50% {
        transform: translate(20px, 30px);
    }
}

/* Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.about-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(11, 83, 148, 0.2);
    border-color: #0b5394;
    background: #ffffff;
}

/* About Hero Headers */
.about-hero-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #1e293b, #0b5394);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    color: #475569;
    font-style: italic;
    opacity: 0.9;
}

/* Footer Theme Update (Light Mode) */
.main-footer {
    background-color: #f8faff;
    /* Light background */
    color: #475569;
    /* Dark text */
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(11, 83, 148, 0.1);
    text-align: center;
    font-size: 0.95rem;
}

.footer-social h3 {
    color: #0f172a;
    /* Dark heading */
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: #e0f2fe;
    /* Light blue bg */
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 20px rgba(11, 83, 148, 0.3);
}

.footer-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-divider {
    background: rgba(11, 83, 148, 0.1);
}

/* Scroll Animations for Bottom Cards */
.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-stat-icon {
    color: #0b5394;
    margin-bottom: 1rem;
    transform: scale(1.2);
    display: flex;
    justify-content: center;
}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: #1e293b;
    font-family: var(--font-heading);
}

.about-stat-value::after {
    content: '+';
    font-size: 2rem;
    margin-left: 0.25rem;
    color: #0b5394;
}

.about-stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Feature Cards */
.about-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.about-feature-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 3rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
}

.about-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(11, 83, 148, 0.15);
    border-color: #0b5394;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b5394;
}

.about-card-text {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-card-text strong {
    color: #1e293b;
    font-weight: 600;
}

.about-accent-text {
    color: #0b5394;
    font-weight: 700;
}



/* --- RIC Featured --- */
.about-ric-featured {
    background: linear-gradient(135deg, rgba(11, 83, 148, 0.05), rgba(224, 242, 254, 0.5));
    border: 1px solid rgba(11, 83, 148, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-ric-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(11, 83, 148, 0.05), transparent 70%);
    border-radius: 50%;
}

.about-ric-content {
    position: relative;
    z-index: 2;
}

.about-ric-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-ric-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid rgba(11, 83, 148, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5394;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(11, 83, 148, 0.1);
}

.about-ric-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0b5394;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-ric-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0;
}

.about-ric-text {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-ric-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-ric-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
}

.about-ric-feature-item svg {
    color: #0b5394;
    flex-shrink: 0;
}

.about-ric-visual {
    position: relative;
    z-index: 2;
}

.about-ric-visual svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(var(--primary-blue-rgb), 0.3));
}

/* --- Enhanced Scroll Animations --- */
.about-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scale + Fade */
.about-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Blur to Focus */
.about-blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 1s ease;
}

.about-blur-in.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Slide from Left */
.about-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from Right */
.about-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.about-delay-1 {
    transition-delay: 0.1s;
}

.about-delay-2 {
    transition-delay: 0.2s;
}

.about-delay-3 {
    transition-delay: 0.3s;
}

.about-delay-4 {
    transition-delay: 0.4s;
}

.about-delay-5 {
    transition-delay: 0.5s;
}

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

    .about-feature-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .about-card-illustration {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .about-ric-featured {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-ric-visual {
        order: -1;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* =========================================
   Contact Us Section
   ========================================= */
/* =========================================
   Clients Section (Light Theme Fix)
   ========================================= */
.clients-section {
    background: #f8faff;
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.clients-header h2 {
    color: #0f172a;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.clients-header .subtitle {
    color: #64748b;
}

/* =========================================
   Contact Us Section (2-Column Redesign)
   ========================================= */
.contact-section.white-bg {
    background: #ffffff;
    padding: 4rem;
    max-width: 1400px;
    margin: 4rem auto;
    border-radius: 48px;
    box-shadow: 0 20px 40px -10px rgba(11, 83, 148, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header-center .section-title {
    color: #0b5394;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column: Form */
.form-header h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0b5394;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.1);
}

.phone-input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.phone-input-group .country-code {
    padding: 0 1rem;
    color: #64748b;
    font-weight: 600;
    background: #f1f5f9;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
}

.phone-input-group input {
    border: none;
    background: transparent;
    border-radius: 0;
}

.form-actions {
    margin-top: 1rem;
}

.submit-btn {
    background: #0b5394;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #084074;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 83, 148, 0.2);
}

/* Right Column: Info Card */
.contact-info-card {
    background: #0b1c36;
    /* Deep Blue from Reference */
    color: white;
    padding: 3rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #38bdf8;
    /* Cyan accent */
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

.social-connect-box p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.social-icons-row {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #38bdf8;
    color: #0b1c36;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section.white-bg {
        padding: 2rem;
        margin: 2rem 1rem;
    }
}

/* =========================================
   Footer
   ========================================= */
.main-footer {
    background-color: #020202;
    color: #94a3b8;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-address p {
    margin: 0.25rem 0;
    color: var(--accent-cyan);
    /* Cyan from theme */
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-phone {
    color: var(--accent-cyan);
    font-weight: 500;
}

.footer-social h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(var(--primary-blue-rgb), 0.3);
    /* Muted blue background */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--accent-cyan);
    transform: translateY(-3px);
    color: #000;
}

.footer-bottom {
    margin-top: 3rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 2rem;
    max-width: 800px;
}

.brand-highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* =========================================
   Back to Top Button
   ========================================= */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-cyan);
    color: #000;
    /* Dark icon for contrast on bright cyan */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    color: #fff;
}

@media (max-width: 768px) {

    .contact-section,
    .main-footer {
        padding: 3rem 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}

/* Feature Grid Layout — Enhanced */
.features-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8faff 0%, #f0f9ff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: -2rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.highlight-text {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(11, 83, 148, 0.12);
    z-index: -1;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}




.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #38bdf8);
    border-radius: 2px;
    margin: 1.5rem auto 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 3.5rem auto 0;
}

/* --- Feature Card Base --- */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Top gradient border deleted per user request */

/* Subtle background tint layer — fades in on hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 83, 148, 0.03) 0%, transparent 60%);
}

.feature-card:hover::after {
    opacity: 1;
}

/* Ensure card content sits above the tint */
.feature-icon-box,
.feature-content {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -8px rgba(11, 83, 148, 0.14),
        0 6px 12px -4px rgba(11, 83, 148, 0.06);
    border-color: rgba(11, 83, 148, 0.15);
}

/* --- Icon Box --- */
.feature-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.08) rotate(-3deg);
    background: linear-gradient(135deg, var(--primary-blue), #0ea5e9);
    color: white;
    box-shadow: 0 8px 20px -4px rgba(11, 83, 148, 0.3);
}

/* --- Per-Card Top Borders & Hover Tints --- */

/* Card 1: Mobile — Indigo */
.feature-card:nth-child(1)::before {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.feature-card:nth-child(1)::after {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
}

.feature-card:nth-child(1):hover .feature-icon-box {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.35);
}

.feature-card:nth-child(1) .feature-tags span {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
}

/* Card 2: Web — Cyan */
.feature-card:nth-child(2)::before {
    background: linear-gradient(90deg, #0284c7, #22d3ee);
}

.feature-card:nth-child(2)::after {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
}

.feature-card:nth-child(2):hover .feature-icon-box {
    background: linear-gradient(135deg, #0284c7, #22d3ee);
    box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.35);
}

.feature-card:nth-child(2) .feature-tags span {
    background: rgba(14, 165, 233, 0.08);
    color: #0284c7;
}

/* Card 3: Services — Emerald */
.feature-card:nth-child(3)::before {
    background: linear-gradient(90deg, #059669, #34d399);
}

.feature-card:nth-child(3)::after {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
}

.feature-card:nth-child(3):hover .feature-icon-box {
    background: linear-gradient(135deg, #059669, #34d399);
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.35);
}

.feature-card:nth-child(3) .feature-tags span {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

/* Card 4: Cloud — Amber */
.feature-card:nth-child(4)::before {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.feature-card:nth-child(4)::after {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

.feature-card:nth-child(4):hover .feature-icon-box {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.35);
}

.feature-card:nth-child(4) .feature-tags span {
    background: rgba(245, 158, 11, 0.08);
    color: #b45309;
}

/* --- Content --- */
.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
    color: var(--primary-blue);
}

.feature-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* --- Tags --- */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.85rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover .feature-tags span {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* Rounded Section Backgrounds (Mutmiz Style) */
.rounded-section {
    border-radius: 48px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    width: calc(100% - 4rem);
}

.light-blue-bg {
    background: #f0f9ff;
    /* Very light blue matching Mutmiz middle section */
}

/* Specific Cleanup for Our Works in Light Mode */
#our-works {
    margin-top: 0;
    padding-top: 4rem;
    border-radius: 48px;
    /* Adjust padding if needed */
}



#our-works .section-title,
#our-works .highlight-text {
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

#our-works .subtitle {
    color: #dfe4eb;
}

/* Wide CTA Banner (Contact Section) */
.contact-section.blue-bg {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    border-radius: 48px;
    margin: 4rem 2rem;
    /* Distinct margin */
    box-shadow: 0 25px 50px -12px rgba(11, 83, 148, 0.25);
}

.contact-section .contact-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-section .contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Update Contact Form for Blue Background */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #0f172a;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form button[type="submit"] {
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Adjustments */
footer {
    background: #f8faff;
    /* Match main bg */
    padding-top: 0;
}

/* Mobile Adjustments for Rounded Sections */
@media (max-width: 768px) {
    .rounded-section {
        margin: 1rem auto;
        width: calc(100% - 2rem);
        border-radius: 24px;
        padding: 3rem 1.25rem;
    }

    .contact-section .contact-title {
        font-size: 2rem;
    }
}

/* --- Hero Animations --- */

/* Typewriter Cursor */
.hero-blue-title {
    border-right: 3px solid transparent;
    display: inline-block;
    /* Keep cursor next to text */
}

.hero-blue-title.typing {
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-blue)
    }
}

/* Floating Card Entrance Animation */
.hero-blue-card {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Keep hover transitions */
}

.hero-blue-card.animate-in {
    animation: card-slide-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes card-slide-up {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsiveness for Hero */
@media (max-width: 992px) {
    .hero-blue-section {
        height: auto;
        min-height: 100vh;
        padding: 7rem 1rem 3rem;
        align-items: flex-start;
    }

    .hero-white-container {
        padding: 2.5rem 1.5rem;
        border-radius: 30px;
    }

    .hero-blue-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-blue-content {
        align-items: center;
        text-align: center;
    }

    .hero-blue-title {
        font-size: 2.5rem;
    }

    .hero-blue-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-blue-visual {
        height: 380px;
        width: 100%;
        max-width: 100%;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
    }

    .phone-frame {
        transform: scale(0.9) rotate(0deg);
        /* Remove tilt on mobile */
    }

}

@media (max-width: 768px) {
    .hero-blue-section {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-blue-container {
        gap: 2rem;
    }

    .hero-blue-visual {
        height: 320px;
    }

    .hero-blue-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-blue-section {
        padding: 3.5rem 1rem 2rem;
    }

    .hero-blue-container {
        gap: 1rem;
    }

    .hero-blue-visual {
        height: 280px;
    }

    .hero-blue-title {
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
    }

    .hero-blue-desc {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .hero-white-container {
        padding: 1.25rem 1rem;
        margin-top: 0;
    }
}

/* S23 Specific Extreme Mobile Tuning */
@media (max-width: 380px) {
    .hero-blue-section {
        padding: 0.25rem 1rem 1.5rem;
        /* Pulled rigidly up against header */
    }

    .hero-blue-container {
        gap: 0.25rem;
    }

    .hero-blue-visual {
        height: 250px;
        /* Keep robot structurally contained securely */
    }

    .hero-blue-title {
        font-size: 1.45rem;
        margin-bottom: 0.25rem;
    }

    .hero-blue-desc {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .hero-white-container {
        padding: 0.75rem 1rem;
        /* Conserve internal height */
    }
}

/* =========================================
   NEW CLIENTS FEEDBACK SECTION STYLES
   ========================================= */

.client-feedback-wrapper {
    --client_form_purple: #6a0dad;
    --client_form_purple_light: #8b31d8;
    --client_form_purple_dark: #4b0082;
    --client_form_black: #000000;
    --client_form_white: #ffffff;
    --client_form_card_bg: #f5f0ff;
    --client_form_gray_light: #f8f9fa;
    --client_form_gray_medium: #e9ecef;
    --client_form_shadow: rgba(106, 13, 173, 0.15);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--client_form_black) 0%, #1a0033 100%);
    color: var(--client_form_white);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Animated Background Particles */
.client_form_bg_particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.client_form_particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.3) 0%, transparent 70%);
    animation: float_particle 20s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes float_particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50px, 150px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(-150px, -50px) scale(1.1);
        opacity: 0.5;
    }
}

/* Testimonials Section - NOW FIRST */
.client_form_section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.client_form_section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: blob_move 20s ease-in-out infinite;
    transform-origin: center;
}

.client_form_section::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 49, 216, 0.1) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    animation: blob_move_reverse 25s ease-in-out infinite;
    transform-origin: center;
}

@keyframes blob_move {

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

    33% {
        transform: translate(50px, -80px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 60px) scale(0.9);
    }
}

@keyframes blob_move_reverse {

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

    33% {
        transform: translate(-60px, 70px) scale(0.9);
    }

    66% {
        transform: translate(40px, -50px) scale(1.1);
    }
}

.client_form_container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side */
.client_form_left {
    position: sticky;
    top: 100px;
}

.client_form_heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--client_form_white) 0%, var(--client_form_purple_light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.client_form_description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
}

.client_form_nav_buttons {
    display: flex;
    gap: 20px;
}

.client_form_nav_btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--client_form_purple);
    background: rgba(106, 13, 173, 0.1);
    color: var(--client_form_white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.client_form_nav_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--client_form_purple);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.client_form_nav_btn:hover::before {
    width: 100%;
    height: 100%;
}

.client_form_nav_btn:hover {
    border-color: var(--client_form_purple_light);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.4);
}

.client_form_nav_btn span {
    position: relative;
    z-index: 1;
}

.client_form_nav_btn:active {
    transform: scale(0.95);
}

/* Right Side - Cards Container */
.client_form_right {
    position: relative;
    height: 600px;
}

.client_form_cards_wrapper {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    scroll-behavior: smooth;
}

.client_form_cards_wrapper::-webkit-scrollbar {
    width: 8px;
}

.client_form_cards_wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.client_form_cards_wrapper::-webkit-scrollbar-thumb {
    background: rgba(106, 13, 173, 0.5);
    border-radius: 10px;
}

.client_form_cards_wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(106, 13, 173, 0.7);
}

.client_form_cards_container {
    position: relative;
    width: 100%;
    padding: 0;
}

.client_form_card {
    background: var(--client_form_card_bg);
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    box-shadow: 0 10px 40px var(--client_form_shadow);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    animation: client_form_fade_in 0.6s ease-out forwards;
}

/* Stagger effect for cards */
.client_form_card:nth-child(1) {
    animation-delay: 0.1s;
}

.client_form_card:nth-child(2) {
    animation-delay: 0.2s;
}

.client_form_card:nth-child(3) {
    animation-delay: 0.3s;
}

.client_form_card:nth-child(4) {
    animation-delay: 0.4s;
}

.client_form_card:nth-child(5) {
    animation-delay: 0.5s;
}

.client_form_card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes client_form_fade_in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Glass Hover Effect */
.client_form_card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 2px solid var(--client_form_purple);
    box-shadow:
        0 25px 60px rgba(106, 13, 173, 0.35),
        0 0 20px rgba(106, 13, 173, 0.2),
        inset 0 0 30px rgba(106, 13, 173, 0.05);
}

.client_form_card_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.client_form_profile_pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--client_form_purple);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.2);
}

.client_form_profile_info {
    flex: 1;
}

.client_form_name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 5px;
}

.client_form_role {
    font-size: 0.95rem;
    color: var(--client_form_purple);
    font-weight: 500;
}

.client_form_linkedin_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(106, 13, 173, 0.1);
    border: 2px solid var(--client_form_purple);
    color: var(--client_form_purple);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client_form_linkedin_link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--client_form_purple);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.client_form_linkedin_link:hover::before {
    width: 100%;
    height: 100%;
}

.client_form_linkedin_link:hover {
    border-color: var(--client_form_purple_light);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.client_form_linkedin_icon {
    width: 20px;
    height: 20px;
    fill: var(--client_form_purple);
    position: relative;
    z-index: 1;
    transition: fill 0.3s ease;
}

.client_form_linkedin_link:hover .client_form_linkedin_icon {
    fill: var(--client_form_white);
}

.client_form_feedback {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a3566;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.client_form_feedback::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--client_form_purple);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* Client Logos Section - NOW SECOND */
.client_form_logos_section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(106, 13, 173, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.client_form_logos_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: blob_move_logos 22s ease-in-out infinite;
    transform-origin: center;
}

.client_form_logos_section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 49, 216, 0.15) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    animation: blob_move_reverse_logos 28s ease-in-out infinite;
    transform-origin: center;
}

.client_form_logos_blob_extra {
    position: absolute;
    top: 30%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.1) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: blob_move_logos_extra 18s ease-in-out infinite;
    transform-origin: center;
}

@keyframes blob_move_logos {

    0%,
    100% {
        transform: translateX(-50%) translate(0, 0) scale(1);
    }

    33% {
        transform: translateX(-50%) translate(60px, -70px) scale(1.15);
    }

    66% {
        transform: translateX(-50%) translate(-40px, 80px) scale(0.85);
    }
}

@keyframes blob_move_reverse_logos {

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

    33% {
        transform: translate(-70px, 90px) scale(0.9);
    }

    66% {
        transform: translate(50px, -60px) scale(1.2);
    }
}

@keyframes blob_move_logos_extra {

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

    50% {
        transform: translate(80px, -100px) scale(1.1);
    }
}


.client_form_logos_container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.client_form_logos_heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--client_form_white) 0%, var(--client_form_purple_light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.client_form_logos_subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    font-weight: 300;
}

/* Marquee Container */
.client_form_marquee_wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client_form_marquee_track {
    display: flex;
    gap: 30px;
    animation: client_form_marquee_scroll 30s linear infinite;
    width: fit-content;
}

.client_form_marquee_track:hover {
    animation-play-state: paused;
}

@keyframes client_form_marquee_scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client_form_logo_item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    min-width: 220px;
    min-height: 120px;
    flex-shrink: 0;
    opacity: 0;
    animation: client_form_logo_appear 0.6s ease-out forwards;
}

/* Stagger effect for logos */
.client_form_logo_item:nth-child(1) {
    animation-delay: 0.1s;
}

.client_form_logo_item:nth-child(2) {
    animation-delay: 0.15s;
}

.client_form_logo_item:nth-child(3) {
    animation-delay: 0.2s;
}

.client_form_logo_item:nth-child(4) {
    animation-delay: 0.25s;
}

.client_form_logo_item:nth-child(5) {
    animation-delay: 0.3s;
}

.client_form_logo_item:nth-child(6) {
    animation-delay: 0.35s;
}

.client_form_logo_item:nth-child(7) {
    animation-delay: 0.4s;
}

.client_form_logo_item:nth-child(8) {
    animation-delay: 0.45s;
}

.client_form_logo_item:nth-child(9) {
    animation-delay: 0.5s;
}

.client_form_logo_item:nth-child(10) {
    animation-delay: 0.55s;
}

.client_form_logo_item:nth-child(11) {
    animation-delay: 0.6s;
}

.client_form_logo_item:nth-child(12) {
    animation-delay: 0.65s;
}

@keyframes client_form_logo_appear {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.client_form_logo_item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(106, 13, 173, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.6s;
}

.client_form_logo_item:hover::before {
    opacity: 1;
    animation: client_form_logo_shine 1.5s ease-in-out infinite;
}

.client_form_logo_item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--client_form_purple);
    box-shadow:
        0 20px 60px rgba(106, 13, 173, 0.4),
        0 0 15px rgba(106, 13, 173, 0.3);
}

.client_form_logo_text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--client_form_white);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@keyframes client_form_logo_shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .client_form_container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .client_form_left {
        position: static;
    }

    .client_form_heading {
        font-size: 2.5rem;
    }

    .client_form_logos_heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .client_form_heading {
        font-size: 2rem;
    }

    .client_form_description {
        font-size: 1rem;
    }

    .client_form_right {
        height: 500px;
    }

    .client_form_card {
        padding: 30px;
        margin: 15px;
    }

    .client_form_nav_btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .client_form_logo_item {
        min-width: 180px;
        padding: 30px 40px;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .hero-blue-section {
        padding: 10rem 1rem 3rem;
        /* Slightly less top padding on very small screens if possible, but enough to clear nav */
    }

    .hero-white-container {
        padding: 1.5rem 1rem;
        border-radius: 24px;
    }

    .hero-blue-title {
        font-size: 2rem;
    }

    .premium-nav {
        padding: 0.8rem 1rem;
    }

    .premium-nav.scrolled {
        padding: 0.5rem 1rem;
    }
}

/* Code Screen Styling */
.code-screen {
    background: transparent;
    /* Removed background for clean look */
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    text-align: left;
    /* Ensure code aligns left */
}

.code-header {
    height: 30px;
    background: transparent;
    /* Transparent header */
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: none;
    /* Remove border for cleaner look */
    flex-shrink: 0;
}

.code-dots {
    display: flex;
    gap: 6px;
    opacity: 0.8;
    /* Make dots slightly subtle */
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dots .red {
    background: #ff5f56;
}

.code-dots .yellow {
    background: #ffbd2e;
}

.code-dots .green {
    background: #27c93f;
}

.code-title {
    margin-left: 15px;
    color: #64748b;
    /* Darker slate for title */
    font-size: 12px;
}

.code-time {
    width: 100%;
    text-align: center;
    color: #64748b;
    /* Darker slate for time */
    font-size: 12px;
    font-weight: 600;
}

.code-body {
    flex: 1;
    padding: 15px;
    overflow: hidden;
    color: #334155;
    /* Dark Slate Text */
    font-size: 12px;
    line-height: 1.5;
}

.code-body pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
}

/* Syntax Highlighting - Darker for Light Background */
.pastel-purple {
    color: #7c3aed;
}

/* Violet 600 */
.pastel-blue {
    color: #2563eb;
}

/* Blue 600 */
.pastel-green {
    color: #16a34a;
}

/* Green 600 */
.pastel-yellow {
    color: #d97706;
}

/* Amber 600 */
.pastel-orange {
    color: #ea580c;
}

/* Orange 600 */
.pastel-pink {
    color: #db2777;
}

/* Pink 600 */
.pastel-cyan {
    color: #0891b2;
}

/* Cyan 600 */
.pastel-white {
    color: #334155;
}

/* Slate 700 (Dark text) */
.pastel-comment {
    color: #94a3b8;
    font-style: italic;
}

/* Muted Blue-Gray */

/* Adjust text size for smaller screens */
.tablet-screen .code-body {
    font-size: 10px;
    padding: 10px;
}

.mobile-screen .code-body {
    font-size: 9px;
    padding: 8px;

}

/* =========================================
   Reveal on Scroll Animation
   ========================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   CUBE SLIDER STYLES
   ========================================= */

/* Grid Layout: Details Left, Cube Right */
.cube-structure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

/* LEFT PANEL: Details */
.cube-details-panel {
    max-width: 600px;
    text-align: left;
    padding-left: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cube-details-panel h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.cube-details-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
}

/* Tech Stack */
.cube-meta-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cube-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cube-tech-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Links */
.cube-links {
    display: flex;
    gap: 15px;
}

.cube-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}



.cube-link-btn.live {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cube-link-btn.live:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

/* RIGHT PANEL: Swiper Cube */
.cube-swiper {
    position: relative;
    width: 400px;
    height: 490px;
}

.cube-swiper .swiper-slide {
    position: relative;
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    user-select: none;
    overflow: hidden;
    border-radius: 20px;
}

.cube-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive Adjustments */
@media (max-width: 1050px) {
    .cube-swiper {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 930px) {
    .cube-structure-grid {
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        gap: 40px;
        text-align: center;
    }

    .cube-details-panel {
        text-align: center;
        padding: 0 20px;
        margin: 0 auto;
    }

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

    .cube-tech-stack {
        justify-content: center;
    }
}

@media (max-width: 470px) {
    .cube-swiper {
        width: 300px;
        height: 400px;
    }
}

/* ==========================================
   CIRCULAR REVEAL OVERLAY
   ========================================== */

/* Ensure cube-swiper has position context */
.cube-swiper {
    position: relative !important;
}

/* Overlay container - hidden by default */
.cube-hover-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.7s ease-in-out;
    box-shadow: inset 0 0 30px rgba(102, 126, 234, 0.1);
}

/* Expand circle on hover */
.cube-swiper:hover .cube-hover-reveal {
    clip-path: circle(150% at 100% 0%);
}

/* Content container */
.reveal-content {
    text-align: center;
    padding: 20px;
}

/* Title styling */
.reveal-title {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Team grid */
.reveal-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
}

/* Individual member */
.reveal-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Avatar circle */
.reveal-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.reveal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Member name */
.reveal-name {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reveal-title {
        font-size: 1.2rem;
    }

    .reveal-avatar {
        width: 60px;
        height: 60px;
    }


    .reveal-name {
        font-size: 0.8rem;
    }
}

/* ===============================================
   CLIENTS FEEDBACK SECTION (STICKY STACK)
   =============================================== */

/* Main 400vh Sticky Track - Provides vertical space for scrolling */
.testimonials-section {
    position: relative;
    height: 400vh;
    margin: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f8faff 0%, #e0f2fe 100%);
}

/* Sticky Wrapper - Pins to viewport */
.testimonials-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Hide scrollbar explicitly */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-sticky-wrapper::-webkit-scrollbar {
    display: none;
}

/* Client Feedback Section */
.client_form_section {
    position: relative;
    width: 100%;
    padding: 0 2rem;
    z-index: 10;
}

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

/* Container Layout */
.client_form_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Left Side - Text Content */
.client_form_left {
    position: sticky;
    top: 100px;
    /* Sticky title for nice effect */
    z-index: 20;
}

.client_form_heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #0b5394;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.client_form_description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    max-width: 500px;
}

/* Right Side - Cards Container */
.client_form_right {
    position: relative;
    height: 500px;
    max-height: 55vh;
    /* Ensure it doesn't overflow small screens */
    display: flex;
    align-items: center;
    justify-content: center;
}

.client_form_cards_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.client_form_cards_container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hide scrollbars globally for these elements */
.client_form_right,
.client_form_cards_wrapper,
.client_form_cards_container,
.testimonial-card {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.client_form_right::-webkit-scrollbar,
.client_form_cards_wrapper::-webkit-scrollbar,
.client_form_cards_container::-webkit-scrollbar,
.testimonial-card::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

/* Individual Testimonial Cards - Stacked Absolutely */
.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fill the container */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px -10px rgba(11, 83, 148, 0.15);
    border: 1px solid rgba(11, 83, 148, 0.1);
    box-sizing: border-box;
    transform-origin: top center;

    transform-origin: top center;

    /* Allow scrolling if content is too long, but hide bar */
    overflow-y: auto;

    /* Animation Initial State */
    will-change: transform, opacity;
}

/* Visible State */
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Interactive State (Added after reveal) */
.testimonial-card.interactive {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover Effect */
.testimonial-card.interactive:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px -5px rgba(11, 83, 148, 0.2);
    border-color: rgba(11, 83, 148, 0.3);
    z-index: 5;
}

/* Card Content Layout */
.testimonial-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0b5394;
}

.testimonial-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b5394;
    margin: 0 0 0.25rem 0;
}

.testimonial-info p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .client_form_container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .client_form_left {
        position: relative;
        /* Unstick on mobile */
        top: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .client_form_description {
        margin: 0 auto;
    }

    .client_form_heading {
        font-size: 2.8rem;
    }

    .testimonial-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }

    .client_form_heading {
        font-size: 2.2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}



/* ===============================================
   LOGO MARQUEE SECTION
   =============================================== */

.client_form_logos_section {
    padding: 4rem 2rem;
    background: #ffffff;
    overflow: hidden;
}

.client_form_logos_container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.client_form_logos_heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b5394;
    margin-bottom: 0.5rem;
}

.client_form_logos_subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* Marquee Section Wrapper - Full Width Breakout */
.client_form_marquee_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;

    /* Gradient Fade Mask at edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client_form_marquee_track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.client_form_marquee_item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(11, 83, 148, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.client_form_marquee_item:hover {
    background: rgba(11, 83, 148, 0.1);
    transform: scale(1.05);
}

.client_form_marquee_item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}

.client_form_marquee_item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* Pause on hover */
.client_form_marquee_wrapper:hover .client_form_marquee_track {
    animation-play-state: paused;
}

/* =========================================
   RESTORED LOGO SECTION CSS
   ========================================= */

/* Logo Section Container */
.client_form_logos_section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(11, 83, 148, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Logo Section Heading */
.client_form_logos_heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #0b5394;
    /* Solid blue color */
    letter-spacing: -1px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Logo Section Subtitle */
.client_form_logos_subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 60px;
    font-weight: 300;
    text-align: center;
}

/* Logo Container */
.client_form_logos_container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Glass Shine Logo Cards */
.client_form_logo_item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(11, 83, 148, 0.05);
    /* Subtle blue shadow */
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    display: flex;
    /* Flex to align icon and text */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    /* Important for shine effect */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover Lift */
.client_form_logo_item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(11, 83, 148, 0.15);
    border-color: #0b5394;
}

/* Shine Effect (Pseudo-element) */
.client_form_logo_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    /* Start off-screen left */
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

/* Animate Shine on Hover (or auto if preferred, but hover is nice) */
.client_form_logo_item:hover::before {
    animation: glass_shine 0.75s;
}

@keyframes glass_shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Icon Styling */
.client_form_logo_icon {
    font-size: 2rem;
    color: #0b5394;
    transition: transform 0.3s ease;
}

.client_form_logo_item:hover .client_form_logo_icon {
    transform: scale(1.1);
}

/* Text Styling */
.client_form_logo_text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #334155;
    white-space: nowrap;
}

/* ===============================================
   LENIS SMOOTH SCROLL
   =============================================== */
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;
}

/* Extra animated blob for logo section */
.client_form_logos_blob_extra {
    position: absolute;
    top: 30%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(11, 83, 148, 0.08) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: blob_move_logos_extra 18s ease-in-out infinite;
    transform-origin: center;
}

@keyframes blob_move_logos_extra {

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

    50% {
        transform: translate(80px, -100px) scale(1.1);
    }
}

/* ENSURE HEADINGS ARE VISIBLE */
.client_form_heading {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 50 !important;
    position: relative !important;
}

/* Background Animation Canvas Styles */
#ambient-canvas,
#works-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#what-we-do,
#our-works {
    position: relative;
    z-index: 1;
}

#our-works {
    position: relative;
    z-index: 1;
}

/* Fix for blue line glitch on hero title */
/* =========================================
   PREMIUM FOOTER STYLES
   ========================================= */
.premium-footer {
    background-color: #0f172a;
    /* Dark Slate Blue */
    color: #cbd5e1;
    /* Light Slate Text */
    /* Light Slate Text */
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(11, 83, 148, 0.2) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.premium-footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* CTA Section */
.footer-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    color: #94a3b8;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), #0ea5e9);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
    background: linear-gradient(135deg, #0ea5e9, var(--primary-blue));
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    /* Solid, subtle line */
    width: 100%;
    margin-top: 2rem;
    /* Added to balance spacing */
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal columns to bring Contact closer */
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.premium-footer .brand-highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.footer-desc {
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 83, 148, 0.4);
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links-col ul,
.footer-contact-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col li {
    margin-bottom: 0.8rem;
}

.footer-links-col a,
.footer-contact-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links-col a:hover {
    color: #0ea5e9;
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-list i {
    color: #0ea5e9;
    margin-top: 4px;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        margin: 0 auto;
    }

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

/* Fix for blue line glitch on hero title */
.hero-blue-title,
.hero-blue-content {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


.hero-blue-title::after,
.hero-blue-title::before {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}


/* =========================================
   OUR WORKS SLIDER (New Layout)
   ========================================= */

#our-works-slider {
    width: 100%;
    max-width: 1000px;
    /* narrowed from full 1200px container */
    margin: 0 auto;
    /* centered horizontally */
    height: 100%;
    min-height: 500px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    background: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#our-works-slider .left-column {
    width: 50%;
    position: relative;
    overflow: hidden;
}

#our-works-slider .card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    box-shadow: none;
    /* override old card shadow if any */
}

#our-works-slider .card.active {
    transform: translateY(0);
    opacity: 1;
}

#our-works-slider .left-column .card:nth-child(odd) {
    background: white;
    color: #111;
}

#our-works-slider .left-column .card:nth-child(even) {
    background: #e6f2ff;
    color: #111;
}

#our-works-slider .left-column h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

#our-works-slider .left-column p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.8;
}

#our-works-slider .left-column .card-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

#our-works-slider .left-column .meta-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

#our-works-slider .left-column .meta-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    min-width: 100px;
}

#our-works-slider .left-column .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#our-works-slider .left-column .tech-badge {
    background: rgba(11, 83, 148, 0.1);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

#our-works-slider .left-column .developer-avatars {
    display: flex;
}

#our-works-slider .left-column .dev-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    overflow: hidden;
    margin-left: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#our-works-slider .left-column .dev-avatar:first-child {
    margin-left: 0;
}

#our-works-slider .left-column .dev-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#our-works-slider .left-column .explore-btn {
    padding: 12px 24px;
    border-radius: 40px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    background: var(--primary-blue);
    color: white;
    width: fit-content;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

#our-works-slider .left-column .explore-btn:hover {
    background: #094780;
    transform: translateY(-2px);
}

/* RIGHT SIDE */
#our-works-slider .right-column {
    width: 50%;
    position: relative;
    overflow: hidden;
}

#our-works-slider .image-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

#our-works-slider .image-card.active {
    transform: translateY(0);
    opacity: 1;
}

#our-works-slider .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    #our-works-slider {
        flex-direction: column;
    }

    #our-works-slider .left-column,
    #our-works-slider .right-column {
        width: 100%;
        height: 50%;
    }

    #our-works-slider .card {
        padding: 40px;
    }

    #our-works-slider .left-column h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    #our-works-slider .left-column p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/* =========================================
   3D COVERFLOW CAROUSEL LOGIC
   ========================================= */
.dark-bg-gradient {
    background: linear-gradient(135deg, #0f0f0f, #1b1b1b) !important;
}

.text-white {
    color: #fff !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#our-works-swiper {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    perspective: 1600px;
    position: relative;
    z-index: 10;
}

#our-works-swiper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 40, 40, 0.4) 0%, rgba(255, 40, 40, 0) 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

#our-works-swiper .swiper-slide {
    width: clamp(240px, 28vw, 310px);
    height: clamp(320px, 36vw, 390px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#our-works-swiper .card {
    width: 100%;
    height: 100%;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0) !important;
    /* Soft slate/blue glass instead of stark white */
    border: 1px solid rgba(11, 83, 148, 0.1) !important;
    /* Subtle blue border */
    box-shadow: 0 10px 30px rgba(11, 83, 148, 0.1) !important;
    /* Soft blue shadow instead of harsh black */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem !important;
    color: #1e293b !important;
    /* Dark text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: grab;
}

#our-works-swiper .card:active {
    cursor: grabbing;
}

#our-works-swiper .card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 83, 148, 0.2) !important;
}

/* Badge Container */
.badge-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.glass-badge {
    background: rgba(11, 83, 148, 0.1);
    /* Primary blue tinted */
    border: 1px solid rgba(11, 83, 148, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b5394;
    /* Primary blue text */
    white-space: nowrap;
}

/* Card Content */
.works-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#our-works-swiper .card .works-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a !important;
    /* Near black */
    font-family: var(--font-heading);
}

#our-works-swiper .card .works-card-desc {
    font-size: 0.9rem;
    color: #475569 !important;
    /* Slate gray */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Footer Meta */
.card-meta-tags {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(11, 83, 148, 0.1);
    font-size: 0.8rem;
    color: #64748b !important;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

#our-works-swiper .card .card-meta-tags span {
    color: #64748b !important;
}

.custom-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 2rem;
}

.custom-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    /* Darkened for white bg */
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

.custom-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #ff4d4d;
    /* Red matching glow */
}

/* Navigation Arrows */
.glass-nav {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.glass-nav::after {
    font-size: 1.1rem !important;
    color: #ffffff !important;
}

.glass-nav:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 768px) {
    #our-works-swiper {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #our-works-swiper .swiper-slide {
        width: clamp(200px, 72vw, 260px);
        height: clamp(280px, 56vw, 340px);
    }
}

@media (max-width: 480px) {
    #our-works-swiper .swiper-slide {
        width: clamp(180px, 80vw, 230px);
        height: clamp(250px, 62vw, 300px);
    }
}


/* Our Works — Responsive Container */
#our-works {
    margin: 2rem auto !important;
    max-width: min(1400px, calc(100% - 4rem)) !important;
    border-radius: 36px !important;
    padding: 3rem 1.5rem !important;
}

@media (max-width: 1024px) {
    #our-works {
        max-width: calc(100% - 2rem) !important;
        padding: 3rem 1.25rem !important;
        border-radius: 28px !important;
    }
}

@media (max-width: 768px) {
    #our-works {
        margin: 1rem auto !important;
        max-width: calc(100% - 1.5rem) !important;
        padding: 2.5rem 1rem !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 480px) {
    #our-works {
        margin: 0.75rem auto !important;
        max-width: calc(100% - 1rem) !important;
        padding: 2rem 0.75rem !important;
        border-radius: 16px !important;
    }
}

/* Adjust Glow effect back away from Red to subtle blue for light theme */
#our-works-swiper::before {
    background: radial-gradient(circle, rgba(11, 83, 148, 0.15) 0%, rgba(11, 83, 148, 0) 70%);
}

.custom-pagination .swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
    /* Update active dot to theme blue */
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
}

/* Adjust icon layout inside card */
#our-works-swiper .card .works-card-content>div:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.8rem !important;
}

/* =========================================
   PROJECT DETAILS MODAL STYLES
   ========================================= */
.project-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-content {
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
    border: 3px solid #000080;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #1e293b;
}

.project-modal-overlay.active .project-modal-content {
    transform: scale(1) translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #000080;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-modal-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: #0b5394;
}

.modal-icon {
    font-size: 3rem;
    color: #000080;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
    text-align: justify;
}

.modal-meta {
    background: rgba(11, 83, 148, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(11, 83, 148, 0.1);
    margin-bottom: 2rem;
}

.modal-meta p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #334155;
}

.modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #000080;
    color: #fff !important;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.modal-btn:hover {
    background: #0b5394;
    transform: translateY(-2px);
}

/* Ensure Swiper slide transitions apply to opacity, visibility and z-index smoothly */
#our-works-swiper .swiper-slide {
    transition-property: opacity, visibility, z-index, transform !important;
}

/* Ensure Swiper slide transitions apply to opacity, visibility and z-index smoothly */
#our-works-swiper .swiper-slide {
    transition-property: opacity, visibility, z-index, transform !important;
}

/* Override Grab Cursor to Default */
#our-works-swiper .swiper-slide .card {
    cursor: default !important;
}

#our-works-swiper .swiper-slide .card:active {
    cursor: default !important;
}

/* =========================================
   PROJECT DETAILS MODAL STYLES
   ========================================= */
.project-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-content {
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
    border: 3px solid #000080;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #1e293b;
}

.project-modal-overlay.active .project-modal-content {
    transform: scale(1) translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #000080;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-modal-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: #0b5394;
}

.modal-icon {
    font-size: 3rem;
    color: #000080;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
    text-align: justify;
}

.modal-meta {
    background: rgba(11, 83, 148, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(11, 83, 148, 0.1);
    margin-bottom: 2rem;
}

.modal-meta p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #334155;
}

.modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #000080;
    color: #fff !important;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.modal-btn:hover {
    background: #0b5394;
    transform: translateY(-2px);
}

/* Hide scrollbar inside the project modal */
.project-modal-content {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.project-modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

/* Bento Grid for What We Do Section */
.feature-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
    flex: 1;
}

/* Mobile Feature Slider Desktop Override */
.mobile-feature-slider {
    display: contents;
}

.feature-slider-dots {
    display: none;
}

/* =========================================
   SHORT DESKTOP / LAPTOP HEIGHT FIXES
   These media queries shrink internal paddings and margins 
   dynamically when the viewport height collapses, preventing 
   the cards from overflowing out of the GSAP pin bounds.
   ========================================= */
@media (min-width: 993px) and (max-height: 900px) {
    #what-we-do {
        padding: 6rem 2rem 2rem;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .feature-bento-grid {
        gap: 0.8rem;
    }
}

@media (min-width: 993px) and (max-height: 750px) {
    #what-we-do {
        padding: 5rem 1rem 1rem;
    }
    .feature-card {
        padding: 1.5rem 1.2rem;
    }
    .feature-bento-grid {
        gap: 0.5rem;
    }
    .feature-card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .feature-icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    .feature-icon-box i {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {

    /* Release restrictive geometric bounds on entire container to prevent component slaughter */
    #what-we-do {
        height: auto;
        min-height: 100svh;
        /* Restore full viewport coverage to prevent canvas collapse void */
        max-height: none;
        overflow-y: clip;
        overflow-x: visible !important;
        padding: 5rem 1rem 5rem;
        /* Symmetric padding to frame the centered slider */
        align-items: center;
        /* Suspend the swiper in the middle */
        justify-content: center;
    }

    .feature-bento-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    /* Transform wrapper into native swiper */
    .mobile-feature-slider {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        /* Prevent internal vertical scroll from stealing GSAP pin drag events */
        scroll-snap-type: x mandatory;
        gap: 7.5%;
        /* Scaled precisely to the inverse card centering ratio to ensure next-slides render invisibly at exactly 100% bounds */
        padding-bottom: 2rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        align-items: stretch;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        width: 100%;
        max-width: 100vw;
    }

    .mobile-feature-slider::-webkit-scrollbar {
        display: none;
    }

    .mobile-feature-slider>.feature-card,
    .mobile-feature-slider>.feature-card-slide {
        scroll-snap-align: center;
        flex: 0 0 85%;
        /* Stripped max/min bounds so 85% fluid math perfectly centers the card via 7.5% margins natively on all devices */
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .mobile-feature-slider>.feature-card-slide {
        /* For the slide-card specifically (the title block) */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .bento-center {
        min-height: 250px;
        /* Minimal height to act as a proper card slide */
        grid-column: auto !important;
        grid-row: auto !important;
        padding: 1rem;
    }

    /* Force the long multi-word title to mathematically fit inside the mobile card */
    .bento-center .center-bento-title {
        font-size: clamp(1.4rem, 8vw, 2.0rem) !important;
        /* Optimized to maximum safe width for 13-char line */
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
        line-height: 1.25;
        letter-spacing: -0.5px !important;
        /* Slight tracking squeeze to allow larger base font */
    }

    /* Destroy the animation boundary slice to prevent optical left-shift overflow bugs natively */
    .bento-center .reveal-mask {
        overflow: visible !important;
        display: block;
        /* guarantee sentences drop evenly without inline collision */
    }

    /* Auto-center the boundary slides natively in the swiper interface */
    .mobile-feature-slider>.feature-card-slide {
        margin-left: 7.5%;
    }

    .mobile-feature-slider>.feature-card:last-child {
        margin-right: 7.5%;
    }

    /* Reveal Navigation Dots */
    .feature-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        background: rgba(255, 255, 255, 0.95);
        padding: 8px 16px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        margin: -0.5rem auto 2rem;
        width: fit-content;
    }

    .feature-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #94a3b8;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .feature-dot.active {
        background: #310b65;
        /* Match mockup dark purple */
        width: 20px;
        border-radius: 4px;
    }

    .bento-center-default {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .card-swipe-arrow {
        position: absolute;
        bottom: 1rem;
        right: 0rem;
        width: 40px;
        height: 40px;
        background-color: #0b5394;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(11, 83, 148, 0.3);
        font-size: 1rem;
        z-index: 10;
        animation: swipeButtonPulse 2s infinite;
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    @keyframes swipeButtonPulse {

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

        50% {
            transform: translateX(5px);
        }
    }
}

.feature-bento-grid>.feature-card {
    border-radius: 20px;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(11, 83, 148, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-bento-grid>.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(11, 83, 148, 0.15);
}

/* Match the screenshot colors conceptually */
.bento-top-left {
    grid-column: 1;
    grid-row: 1;
    border-top-left-radius: 40px !important;
    background: #310b65 !important;
    color: white !important;
    opacity: 0;
    /* GSAP initial state */
    visibility: hidden;
}

.bento-top-left p,
.bento-top-left h3 {
    color: white !important;
}

.bento-bottom-left {
    grid-column: 1;
    grid-row: 2;
    border-bottom-left-radius: 40px !important;
    background: #1a0f5a !important;
    color: white !important;
    opacity: 0;
    /* GSAP initial state */
    visibility: hidden;
}

.bento-bottom-left p,
.bento-bottom-left h3 {
    color: white !important;
}

.bento-center {
    grid-column: 2;
    grid-row: 1 / 3;
    background: transparent;
    /* GSAP initial state */
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    /* GSAP initial state */
    position: relative;
    padding: 1.5rem;
    overflow: visible;
    /* Allow scaled text to overflow initially */
    border: 1.5px solid transparent;
    /* Invisible initially — GSAP animates it in */
}

/* Slide-up mask reveal: each line is clipped by overflow:hidden */
.reveal-mask {
    display: block;
    overflow: hidden;
    line-height: 1.2;
    padding-bottom: 0.05em;
    /* Prevents descenders from being clipped */
}

.reveal-text {
    display: block;
    transform: translateY(105%);
    /* Hidden below the mask boundary */
}

.bento-top-right {
    grid-column: 3;
    grid-row: 1;
    border-top-right-radius: 40px !important;
    background: #0f402f !important;
    color: white !important;
    opacity: 0;
    /* GSAP initial state */
    visibility: hidden;
}

.bento-top-right p,
.bento-top-right h3 {
    color: white !important;
}

.bento-bottom-right {
    grid-column: 3;
    grid-row: 2;
    border-bottom-right-radius: 40px !important;
    background: #ff7640 !important;
    color: white !important;
    opacity: 0;
    /* GSAP initial state */
    visibility: hidden;
}

.bento-bottom-right p,
.bento-bottom-right h3 {
    color: white !important;
}

.center-bento-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.0rem;
    line-height: 1.05;
    font-weight: 800;
    color: #0f1c3f !important;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 0;
    padding-top: 1rem;
    letter-spacing: 1px;
    -webkit-text-fill-color: #0f1c3f !important;
    background: none !important;
}

#robot-target-anchor {
    position: absolute;
    bottom: 10%;
    /* Pushed slightly up from the bottom edge of the card */
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 20;
}

.bento-center-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* MUST be center so that `scale: 3` transform correctly centers the text visually */
    width: 100%;
    height: 100%;
}

/* Dynamic Preview Overlays (Removed) */

/* =========================================
   PREMIUM "WHO WE ARE" SECTION - V2
========================================= */
.premium-about-section {
    position: relative;
    padding: 6rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
    /* Very light cool grey */
    overflow: hidden;
    font-family: var(--font-body);
    box-sizing: border-box;
    /* z-index: 1; */
}

/* --- Sweeping Background --- */
.about-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-sweep {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.blue-sweep {
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    top: -20%;
    right: -10%;
    animation: driftSlow 20s ease-in-out infinite alternate;
}

.cyan-sweep {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    bottom: -10%;
    left: -10%;
    animation: driftSlow 25s ease-in-out infinite alternate-reverse;
}

@keyframes driftSlow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(-50px, 30px) scale(1.1) rotate(10deg);
    }
}

.relative-z {
    z-index: 10;
    position: relative;
    width: 100%;
}

/* --- Asymmetrical Grid Container --- */
/* --- Asymmetrical Grid Container --- */
.about-asym-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    /* Left visual slightly larger */
    gap: 3rem;
    /* Reduced from 4rem */
    align-items: center;
    max-width: 1250px;
    /* Reduced max-width slightly */
    margin: 0 auto;
    width: 100%;
}

/* =========================================
   LEFT: VISUAL COLUMN
========================================= */
.about-visual-column {
    position: relative;
    padding-right: 1.5rem;
}

.visual-composition {
    position: relative;
    width: 100%;
    height: 520px;
    /* Reduced from 600px */
}

/* Main Hero Image */
.img-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    height: 75%;
    /* Reduced from 85/80 */
    border-radius: 20px;
    /* Tighter radius */
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(11, 83, 148, 0.2);
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.img-glow {
    position: absolute;
    inset: 0;
    background: inset 0 0 100px rgba(11, 83, 148, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.img-overlap {
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 48%;
    height: 40%;
    border-radius: 16px;
    overflow: hidden;
    /* Upgraded layered shadow and pure white border for stronger visual separation */
    box-shadow: 0 30px 60px -15px rgba(11, 83, 148, 0.3), 0 0 0 1px rgba(11, 83, 148, 0.05);
    border: 6px solid #ffffff;
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.img-overlap:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Floating Stat Card */
.floating-stat-card {
    position: absolute;
    top: 8%;
    right: -2%;
    /* Enhanced glassmorphism */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(11, 83, 148, 0.15);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown {

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

    50% {
        transform: translateY(-12px);
    }
}

.stat-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-blue), #0ea5e9);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.stat-info h3 {
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #0f172a;
    font-weight: 800;
}

.stat-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
}

/* Decorative dots */
.visual-deco {
    position: absolute;
    bottom: -2%;
    left: -2%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--primary-blue) 2px, transparent 2px);
    background-size: 18px 18px;
    opacity: 0.12;
    z-index: 1;
}

/* =========================================
   RIGHT: CONTENT COLUMN
========================================= */
.about-content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-badge {
    align-self: flex-start;
    padding: 0.35rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    /* Brighter cyan tint */
    color: #0284c7;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    /* Max weight for impact */
    color: #0f172a;
    line-height: 1.1;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 1.2rem 0;
}

.about-lead b {
    color: #0f172a;
    font-weight: 700;
}

.about-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: #64748b;
    border-left: 3px solid #0ea5e9;
    /* Cyan border */
    padding-left: 1.2rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
}

/* Elegant Incubation Card */
.incubation-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 16px;
    align-items: flex-start;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #ffffff;
    /* Upgraded softer shadow */
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.incubation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), #0ea5e9);
    border-radius: 16px 0 0 16px;
    /* Soften the left bar */
}

.incubation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.12);
}

.card-icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    /* Reduced */
    background: rgba(11, 83, 148, 0.06);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    /* Reduced */
}

.card-text h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    /* Reduced */
    margin: 0 0 0.4rem 0;
    color: #0f172a;
    font-weight: 700;
}

.card-text p {
    font-size: 0.9rem;
    /* Reduced */
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* --- GSAP Animation Initial States --- */
.img-hero,
.img-overlap,
.floating-stat-card,
.about-badge,
.about-heading,
.about-lead,
.incubation-card {
    opacity: 0;
    visibility: hidden;
}

.about-quote {
    opacity: 0;
    visibility: hidden;
    border-left-color: transparent;
}

.about-quote.anim-ready {
    border-left-color: transparent;
    transition: border-left-color 0s;
}

/* Pseudo-element for animatable quote border (GSAP draws it) */
.about-quote {
    position: relative;
}

.about-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #0ea5e9;
    transform-origin: top center;
    transform: scaleY(var(--quote-border-scale, 0));
    border-radius: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .about-asym-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual-column {
        padding-right: 0;
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }

    .about-heading {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .premium-about-section {
        padding: 4rem 1.5rem 3rem;
        height: auto;
    }

    .about-asym-grid {
        gap: 2.5rem;
    }

    .visual-composition {
        height: min(90vw, 400px);
        /* Keeps aspect ratio realistic on phone width */
    }

    .floating-stat-card {
        top: -4%;
        right: 0;
        padding: 0.6rem 0.8rem;
        max-width: 180px;
    }

    .about-heading {
        font-size: 2.2rem;
    }

    .img-overlap {
        width: 60%;
        height: 48%;
        /* Adjust for mobile aspect */
    }

    .incubation-card {
        padding: 1.2rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .premium-about-section {
        padding: 3.5rem 1.2rem 2rem;
    }

    .visual-composition {
        height: min(90vw, 320px);
    }

    .floating-stat-card {
        max-width: 150px;
        padding: 0.5rem;
        top: -6%;
    }

    .floating-stat-card .stat-info h3 {
        font-size: 0.85rem;
    }

    .floating-stat-card .stat-info p {
        font-size: 0.65rem;
    }

    .about-heading {
        font-size: 1.9rem;
    }

    .about-lead {
        font-size: 0.95rem;
    }

    .about-quote {
        font-size: 0.95rem;
        padding-left: 1rem;
    }

    .incubation-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.8rem;
    }

    .incubation-card .card-text h3 {
        font-size: 1.05rem;
    }

    .incubation-card .card-text p {
        font-size: 0.85rem;
    }
}

/* ========================================= */
/* RLabz Branded Preloader                   */
/* ========================================= */
.rlabz-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #0b5394 0%, #022c5e 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* Subtle pulsing background glow */
.rlabz-preloader::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    animation: bgPulse 3s ease-in-out infinite alternate;
}

.rlabz-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

/* ─── Central Logo ─── */
.spinner-logo {
    width: 48px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #ffffff;
    padding: 14px;
    border-radius: 50%;
    box-sizing: content-box;
    animation: centerPulse 2.5s ease-in-out infinite alternate;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(0, 210, 255, 0.15);
}

/* ─── Static Track Circles (faint full circles behind arcs) ─── */
.spinner-track {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.spinner-track.track-1 {
    width: 180px;
    height: 180px;
    margin-top: -90px;
    margin-left: -90px;
}

.spinner-track.track-2 {
    width: 144px;
    height: 144px;
    margin-top: -72px;
    margin-left: -72px;
}

.spinner-track.track-3 {
    width: 110px;
    height: 110px;
    margin-top: -55px;
    margin-left: -55px;
}

/* ─── Spinning Arcs (base) ─── */
.spinner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 4px solid transparent;
}

/* Outer Decorative Dashed Ring – slow spin */
.spinner-ring.ring-outer {
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    border: 1.5px dashed rgba(255, 255, 255, 0.08);
    animation: spinCW 12s linear infinite;
}

/* Ring 1 – Outer, Cyan – 3/4 arc */
.spinner-ring.ring-1 {
    width: 180px;
    height: 180px;
    margin-top: -90px;
    margin-left: -90px;
    border-top-color: #00d2ff;
    border-right-color: #00d2ff;
    border-bottom-color: rgba(0, 210, 255, 0.25);
    animation: spinCW 1.8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.7));
}

/* Ring 2 – Middle, Green – 3/4 arc */
.spinner-ring.ring-2 {
    width: 144px;
    height: 144px;
    margin-top: -72px;
    margin-left: -72px;
    border-top-color: #2d8c2d;
    border-left-color: #2d8c2d;
    border-bottom-color: rgba(45, 140, 45, 0.25);
    animation: spinCCW 2.2s linear infinite;
    filter: drop-shadow(0 0 10px rgba(45, 140, 45, 0.7));
}

/* Ring 3 – Inner, Light Blue – 3/4 arc */
.spinner-ring.ring-3 {
    width: 110px;
    height: 110px;
    margin-top: -55px;
    margin-left: -55px;
    border-top-color: #38bdf8;
    border-right-color: #38bdf8;
    border-bottom-color: rgba(56, 189, 248, 0.25);
    animation: spinCW 1.4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
}

/* ─── Keyframes ─── */
@keyframes spinCW {
    from {
        transform: rotate(0deg);
    }

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

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

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

@keyframes centerPulse {
    0% {
        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(0, 210, 255, 0.1);
    }

    100% {
        box-shadow:
            0 0 28px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(0, 210, 255, 0.3);
    }
}

@keyframes bgPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.typing-cursor {
    font-weight: 300;
    color: #0b5394;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* =========================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ========================================= */
@media (max-width: 768px) {
    * {
        /* Disable heavy blur filters on mobile to improve scroll frame rate on low-end devices */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Provide solid background fallbacks for transparent elements since blur is removed */
    .nav-links-container,
    .glass-badge,
    .project-modal-content,
    .incubation-card,
    .floating-stat-card {
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .client_form_testimonial_card {
        background: rgba(0, 11, 36, 0.98) !important;
    }
}

/* Robot Popup */
#robot-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
    transform: translate(20px, -50%);
    z-index: 100 !important;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    will-change: left, top, opacity, transform;
}

#robot-popup.visible {
    opacity: 1;
}

.popup-bubble {
    background-color: #ffffff;
    color: var(--primary-blue);
    padding: 14px 24px;
    border-radius: 18px;
    border: 1px solid rgba(11, 83, 148, 0.5);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(11, 83, 148, 0.25);
    position: relative;
    font-size: 15px;
    white-space: nowrap;
    animation: floatPopup 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    min-height: 50px;
    display: flex;
    align-items: center;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient morphing layer */
.popup-bubble::before {
    content: '';
    position: absolute;
    inset: -1px; /* Cover border */
    background: #d6aa31; /* Same yellow as discover more button */
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.15s ease;
}

/* New CSS Element-based arrow to support seamless dark borders */
.popup-arrow {
    position: absolute;
    bottom: 16px;
    left: -7px;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(11, 83, 148, 0.5);
    border-left: 1px solid rgba(11, 83, 148, 0.5);
    transform: rotate(45deg);
    border-bottom-left-radius: 2px;
    z-index: 2;
    transition: opacity 0.15s ease;
}

/* Fixed fully docked class */
#robot-popup.fixed-sidebar-btn {
    position: fixed;
    right: 0 !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: auto;
    z-index: 9999 !important;
    cursor: pointer;
}

#robot-popup.fixed-sidebar-btn .popup-bubble {
    background-color: transparent;
    border-color: transparent; /* Smoothly fade border away */
    color: white;
    border-radius: 20px 0 0 20px;
    padding: 14px 24px; /* Matches exact padding of standard bubble to prevent left-edge jitter */
}

#robot-popup.fixed-sidebar-btn .popup-bubble::before {
    opacity: 1;
}

#robot-popup.fixed-sidebar-btn .popup-arrow {
    opacity: 0;
}

#robot-popup.fixed-sidebar-btn:hover {
    transform: translateY(-50%) scale(1.03) !important;
    transform-origin: right center;
    transition: transform 0.2s ease;
}

.desktop-text {
    display: inline-flex;
    align-items: center;
}
.mobile-text {
    display: none;
}

@media (max-width: 992px) {
    .desktop-text {
        display: none;
    }
    .mobile-text {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .popup-bubble {
        white-space: normal;
        width: 110px;       /* Decrease length */
        min-height: 70px;   /* Increase height */
        padding: 10px 14px;
        text-align: center;
        line-height: 1.3;
    }
    
    #robot-popup:not(.fixed-sidebar-btn) .popup-arrow {
        bottom: auto;
        top: 50%;
        margin-top: -7px; /* Centers the 14px arrow perfectly */
    }

    .mobile-text {
        white-space: normal;
        align-items: flex-start; /* Ensure close button aligns to top if wrapping */
    }
    .typing-target-mobile {
        display: inline-block;
        line-height: 1.25;
    }
}

.popup-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    margin-left: 2px;
    transition: background 0.2s ease;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

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

@media (max-width: 768px) {
    #robot-popup.fixed-sidebar-btn {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
        display: flex !important;
        justify-content: center !important;
    }

    #robot-popup.fixed-sidebar-btn:hover {
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    #robot-popup.fixed-sidebar-btn .popup-bubble {
        width: 100%;
        max-width: 100%;
        border-radius: 18px 18px 0 0;
        padding: 12px 18px;
        min-height: unset;
        flex-direction: row;
        justify-content: center;
        animation: none !important;
        -webkit-animation: none !important;
        animation-name: none !important;
        -webkit-animation-name: none !important;
        animation-play-state: paused !important; /* Force stop floating */
        -webkit-animation-play-state: paused !important;
    }

    #robot-popup.fixed-sidebar-btn .mobile-text {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    #robot-popup.fixed-sidebar-btn .typing-target-mobile {
        white-space: nowrap;
        text-align: left;
    }
}