:root {
    /* Digital Prism - Light Theme */
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    /* Slate 50 */
    --text-color: #0f172a;
    /* Slate 900 */
    --text-muted: #475569;
    /* Slate 600 */

    /* Brand Colors - Iridescent */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-glow: rgba(99, 102, 241, 0.25);
    --secondary-color: #ec4899;
    /* Pink 500 */
    --accent-color: #06b6d4;
    /* Cyan 500 */
    --highlight: #f1f5f9;

    /* Modern Glass */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-highlight: rgba(255, 255, 255, 0.5);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --border-radius: 24px;
    /* Super rounded, friendly look */
    --container-width: 1200px;
}

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

html {
    /* scroll-behavior: smooth; Removed to allow Custom JS Control */
    font-size: 16px;
}

/* Dynamic Background */
body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
}

/* Mesh Gradient Background */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    z-index: -2;
    filter: blur(40px);
    animation: meshFlow 15s ease infinite alternate;
}

@keyframes meshFlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Scroll Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* 3D Tilt Card Base */
.tilt-card {
    transition: transform 0.1s ease-out;
    /* Fast transition for smooth mouse following */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-content {
    transform: translateZ(20px);
}

/* Button Shine Effect */
.btn-glow,
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-glow::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.btn-glow:hover::after,
.btn-primary:hover::after {
    left: 100%;
}

/* Logo Glitch Effect on Hover */
.logo:hover .logo-icon {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--secondary-color);
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

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

/* Floating Animation Refined */
@keyframes float {

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

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(135deg, white 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite alternate;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.04"/%3E%3C/svg%3E');
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Light border */
    padding: 1rem 0;
}

/* Glass Card Updates - Enhanced Visibility */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    /* Higher opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    /* Subtle colored border */
    padding: 1.5rem;
    border-radius: 20px;
    width: 220px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    transition: transform 0.3s ease;
    z-index: 5;
}

.glass-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
    z-index: 10;
}

.card-content h4 {
    color: var(--text-color);
    font-weight: 700;
}

/* Uniform Card Spacing & Sync Animation */
.card-1 {
    top: 5%;
    right: 35%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 37.5%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
    /* Sync */
}

.card-3 {
    top: 70%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
    /* Sync */
}

.icon-gradient {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Orbs - Adjusted for contrast */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    /* Pink */
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation: float 8s infinite alternate;
}

.orb-2 {
    display: block;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    /* Cyan */
    bottom: 10%;
    right: 15%;
    animation: float 10s infinite alternate-reverse;
}

/* Slider Tags - Flat & Straight */
.slider-3d-wrap {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    margin-bottom: 4rem;
    /* Removed 3D perspective for straight look */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-3d-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollFlat 30s linear infinite;
    /* Straight - No Tilt */
    transform: rotateX(0deg) rotateZ(0deg);
}

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

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

.slider-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.slider-tag i {
    color: var(--primary-color);
}

.slider-tag:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
}

/* Buttons */
.btn-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.btn-outline:hover {
    background: white;
    border-color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: spin 10s linear infinite;
}

.logo-icon.small {
    font-size: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Pill Badge */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.dot-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Buttons */
.btn-glow,
.btn-outline,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.btn-glow {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-muted);
}

.btn-primary {
    background: white;
    color: black;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #e5e5e5;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.card-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 10s infinite alternate;
    opacity: 0.1;
    /* Very subtle center glow */
}

.orb-2 {
    display: none;
    /* Simplify to single center glow for monochrome */
}



/* Services Section */
.services {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

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

.service-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-8px);
    background: rgba(34, 211, 238, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
    /* Glow on hover */
}

.service-box.featured {
    background: linear-gradient(145deg, rgba(255, 77, 109, 0.1), rgba(0, 0, 0, 0));
    border-color: rgba(255, 77, 109, 0.3);
}

.badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Icons */
.service-icon,
.icon-box {
    color: var(--primary-color);
    background: rgba(34, 211, 238, 0.1);
    border-radius: 8px;
    /* Sharper */
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.service-list li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.process-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.process-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.step {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
}

.step:hover {
    border-color: var(--primary-color);
}

.step-idx {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--glass-border);
    /* Subtle background number */
    line-height: 1;
    margin-bottom: 1rem;
}

.step:hover .step-idx {
    color: rgba(255, 77, 109, 0.2);
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact / CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-card {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border: 1px solid var(--glass-border);
    color: white;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.cta-visual {
    position: relative;
}

.flower-abstract {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse-glow 5s infinite ease-in-out;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-col h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.link-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-content {
    position: relative;
    z-index: 20;
    /* Ensure text is above floating cards */
}

/* Footer Link Hover Fix */
.link-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.legal a {
    color: var(--text-muted);
    text-decoration: none;
}

/* Animations */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes float {

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

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

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* @keyframes fadeUpAnim removed in favor of transition */

/* Mobile Responsive */
/* Tablet & Small Desktop (max-width: 900px) */
@media (max-width: 900px) {
    :root {
        --container-width: 100%;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        height: 350px;
        /* Reduced height */
        margin-top: 2rem;
        transform: scale(0.9);
    }

    .floating-cards {
        width: 80%;
        /* Constrain width to keep cards visible */
        margin: 0 auto;
    }

    .card-1 {
        right: auto;
        left: 5%;
        top: 10%;
    }

    .card-2 {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 40%;
    }

    .card-3 {
        right: 5%;
        top: 70%;
    }

    .process-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        /* Stack steps */
    }

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .flower-abstract {
        display: none;
        /* Hide abstract shape on mobile to save space */
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin: 1rem auto 0;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3 cols on tablet */
        gap: 1rem;
        text-align: left;
    }

    /* Mobile Nav Drawer */
    .mobile-toggle {
        display: flex;
        z-index: 10000;
        /* Ensure button is above drawer */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: auto;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 9000;
        gap: 2rem;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2.25rem;
        /* Smaller heading */
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-glow,
    .btn-outline {
        width: 100%;
        /* Full width buttons */
    }

    .stats-row {
        flex-wrap: wrap;
        /* Stack stats if needed */
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Single column */
    }

    .footer-links {
        grid-template-columns: 1fr;
        /* Stack footer links on very small screens */
        text-align: center;
        gap: 2rem;
    }

    .link-col {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 6rem;
        /* Space for mobile browser bars */
    }

    .legal {
        justify-content: center;
    }
}

/* Specialized VR Logo Design for 'OO' */
.vr-eyes {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-shadow: 0 0 12px var(--primary-glow);
    font-weight: 800;
}

/* Digital Pupil / Lens Glint Effect */
.vr-eyes::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    width: calc(100% - 10px);
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px #fff;
    opacity: 0.9;
    mix-blend-mode: overlay;
    animation: blink 4s infinite;
}

@keyframes blink {

    0%,
    96%,
    100% {
        transform: translateY(-50%) scaleX(1);
    }

    98% {
        transform: translateY(-50%) scaleX(0.1);
    }
}

/* Tech Stack Section */
.tech-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

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

.tech-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tech-category h4 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.tech-pill:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.15);
}

.tech-pill i {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* 3D Tech Slider */
.slider-container-3d {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 3rem auto;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-3d-content {
    position: relative;
    width: 80%;
    /* Card Width container */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.tech-card-3d {
    position: absolute;
    width: 320px;
    height: 420px;
    /* Increased height */
    background: rgba(255, 255, 255, 0.05);
    /* Very light glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    /* Increased top/bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Changed from center to ensure top isn't cut off */
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Card States */
.tech-card-3d.active {
    transform: translateX(0) scale(1.1) translateZ(50px);
    z-index: 10;
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.tech-card-3d.next {
    transform: translateX(200px) scale(0.8) translateZ(-50px) rotateY(-15deg);
    z-index: 5;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
}

.tech-card-3d.prev {
    transform: translateX(-200px) scale(0.8) translateZ(-50px) rotateY(15deg);
    z-index: 5;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
}

/* Hidden cards (if more than 3) */
.tech-card-3d {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.tech-card-3d.active,
.tech-card-3d.prev,
.tech-card-3d.next {
    opacity: 1;
    /* Override opacity from generic rule */
    pointer-events: auto;
}


/* Card Content */
.card-icon-3d {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-card-3d h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    /* Reduced margin */
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.tech-list span {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: 0.3s;
}

.tech-card-3d.active .tech-list span:hover {
    background: rgba(14, 165, 233, 0.1);
    color: white;
    transform: translateX(5px);
}

.tech-list i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

/* Navigation Controls */
/* Navigation Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 50;
    pointer-events: none;
    /* Allow clicks to pass through empty space */
    padding: 0 1rem;
    /* Adjust distance from edges */
}

.nav-btn {
    pointer-events: auto;
    /* Re-enable clicks */
    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%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

@media (max-width: 768px) {
    .slider-container-3d {
        height: 450px;
    }

    .tech-card-3d {
        width: 280px;
        height: 350px;
    }

    .tech-card-3d.next {
        transform: translateX(50px) scale(0.8) translateZ(-100px);
        opacity: 0.4;
    }

    .tech-card-3d.prev {
        transform: translateX(-50px) scale(0.8) translateZ(-100px);
        opacity: 0.4;
    }
}