/* Kration Marketing - Digital Agency Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');
@import url('animations.css');

:root {
    /* Synced with Hero Banner (Deep Space Blue) */
    --bg-dark: #0a0f1c;
    /* Matches Hero Base */
    --bg-card: #151a2d;
    /* Lighter Navy for cards */

    --accent-pink: #f72585;
    --accent-purple: #7209b7;
    /* Deeper Purple */
    --accent-blue: #4361ee;
    --accent-cyan: #4cc9f0;

    /* Brightened Gradient */
    --gradient-main: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    --gradient-text: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    --gradient-glow: radial-gradient(circle, rgba(67, 97, 238, 0.15) 0%, rgba(114, 9, 183, 0.05) 70%);

    /* Text */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    /* Slate 400 */

    /* Components */
    --glass-bg: rgba(15, 18, 25, 0.7);
    /* Darker Glass */
    --glass-border: rgba(255, 255, 255, 0.12);
    /* Brighter borders */
    --nav-height: 80px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;

    /* Synced with Hero Overlay */
    background-image:
        radial-gradient(circle at 15% 25%, rgba(112, 0, 255, 0.1) 0%, transparent 45%),
        /* Purple from Hero */
        radial-gradient(circle at 85% 75%, rgba(0, 240, 255, 0.1) 0%, transparent 45%),
        /* Cyan from Hero */
        /* Pink Spot (Brighter) */
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        /* Stars remain the same */
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 100% 100%, 100% 100%, 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 0 0, 0 0, 40px 60px, 130px 270px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button,
.btn {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 5s ease infinite;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

/* Secondary Button - Outline Style (Restored for alignment) */
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(76, 201, 240, 0.1);
    transform: translateY(-2px);
}

/* Glassmorphism */
/* Glassmorphism - Deep Glass Upgrade */
.glass-panel {
    background: rgba(26, 32, 57, 0.4);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Stronger Blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Highlight top */
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    /* Shadow bottom */
    border-radius: var(--border-radius);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        /* Deep shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    /* Inner glow */
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-main);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--bg-dark); - Removed to prevent dark box on gradients */
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

/* Neon Border Flow */
.neon-border {
    position: relative;
    overflow: hidden;
}

.neon-border::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            var(--accent-blue) 25%,
            var(--accent-pink) 50%,
            var(--accent-blue) 75%,
            transparent 100%);
    transform: translate(-50%, -50%);
    animation: border-flow 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::before {
    opacity: 1;
}

.neon-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-card);
    border-radius: inherit;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.mobile-toggle {
    display: none;
    background: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
    /* Animated Nebula Background */
    background: linear-gradient(45deg,
            #0a0f1c,
            #1a1a2e,
            #120f26,
            #0a0f1c);
    background-size: 400% 400%;
    animation: nebula-move 15s ease infinite;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 40%),
        repeating-linear-gradient(transparent, transparent 2px, rgba(0, 240, 255, 0.03) 2px, rgba(0, 240, 255, 0.03) 4px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    /* Ensure vertical alignment */
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Layouts */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout>div {
    flex: 1;
}

.feature-item h4 {
    margin-bottom: 5px;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    /* For Shimmer */
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: rgba(20, 25, 40, 0.4);
    overflow: hidden;
    /* Contain Shimmer */
}

/* Card Shimmer Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-25deg);
    transition: left 0.5s;
    pointer-events: none;
}

.card:hover::before {
    left: 200%;
    transition: left 0.7s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 40px -10px rgba(247, 37, 133, 0.1);
    /* Glow on hover */
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-pink);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Steps */
.process-step::before {
    background: var(--gradient-main);
    box-shadow: 0 0 10px var(--accent-pink);
}

/* Testimonial Section */
.testimonial-card {
    border-left: 4px solid var(--accent-pink);
}

.client-name {
    color: var(--accent-blue);
}

.footer a:hover {
    color: var(--accent-pink);
}

.learn-more {
    color: var(--accent-blue);
}

.learn-more:hover {
    color: var(--accent-pink);
}

/* Form */
.cta-box {
    display: flex;
    flex-wrap: wrap;
    padding: 60px;
    align-items: center;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}

/* Footer */
.footer {
    background-color: #050810;
    /* Deep Midnight Blue */
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* New Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    }

    100% {
        box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.btn-pulse {
    animation: pulse-glow 2s infinite;
}



/* --- Testimonials Slider --- */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    width: calc(350px * 6 + 120px);
    /* 6 cards + gaps */
    animation: slide 25s linear infinite;
    gap: 20px;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-slide {
    flex: 0 0 350px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.client-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 3 - 60px));
        /* Move half width */
    }
}

/* Response Media Query fix */
@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 300px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-300px * 3 - 60px));
        }
    }
}

/* Staggered Delay for Cards */
.grid-3 .card:nth-child(1) {
    transition-delay: 0.1s;
}

.grid-3 .card:nth-child(2) {
    transition-delay: 0.3s;
}

.grid-3 .card:nth-child(3) {
    transition-delay: 0.5s;
}

/* Visual Placeholder */
.visual-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, rgba(10, 15, 28, 0) 70%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rocket-icon {
    font-size: 8rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 30px var(--accent-cyan));
    animation: float 4s ease-in-out infinite;
}

/* Testimonial Section */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent-cyan);
    padding: 30px;
    border-radius: 8px;
    font-style: italic;
}

.client-name {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    font-style: normal;
    color: var(--accent-cyan);
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
}

.process-step::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    width: 2px;
    height: calc(100% + 20px);
    background: rgba(255, 255, 255, 0.1);
}

.process-step:last-child::after {
    display: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-box {
        padding: 30px;
        flex-direction: column;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .feature-item h4 {
        justify-content: center;
    }
}

/* Logo Styling */
.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo span {
    font-weight: 400;
}

.logo-icon {
    height: 35px;
    width: auto;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

/* --- Advanced AI Section Styles (Added) --- */
.ai-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    overflow: hidden;
}

.neural-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(112, 0, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-pan 20s linear infinite;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 70%);
}

@keyframes grid-pan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 50px;
    }
}

/* AI Section Specific Grid */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Connector Line between cards (Desktop only) */
@media (min-width: 768px) {
    .ai-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 2px;
        background: var(--accent-pink);
        box-shadow: 0 0 10px var(--accent-pink);
        z-index: 0;
        animation: pulse-line 2s infinite;
    }

    .ai-grid::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        background: var(--bg-dark);
        border: 2px solid var(--accent-pink);
        border-radius: 50%;
        z-index: 1;
        box-shadow: 0 0 15px var(--accent-pink);
    }
}

@keyframes pulse-line {
    0% {
        opacity: 0.5;
        width: 60px;
    }

    50% {
        opacity: 1;
        width: 80px;
    }

    100% {
        opacity: 0.5;
        width: 60px;
    }
}

/* Updated Holo Card for AI Section */
.holo-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Ensure cards are same height */
    height: 100%;
    justify-content: space-between;
}

.holo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-cyan);
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s;
}

.holo-card:hover::after {
    opacity: 0.6;
    animation: scan-down 2s linear infinite;
}

@keyframes scan-down {
    0% {
        top: -20%;
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        top: 120%;
        opacity: 0;
    }
}

.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Ensure content stays above the cyber-accents (z-index: 2) */
.holo-card>* {
    position: relative;
    z-index: 5;
}

.holo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.15);
}

.holo-card:hover::before {
    opacity: 1;
}

background: rgba(25, 30, 45, 0.4);
/* Darker, more contrast */
border: 1px solid rgba(0, 240, 255, 0.1);
box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

/* Cyber Accent Corners */
.holo-card::before,
.holo-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
    z-index: 2;
}

.holo-card::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    opacity: 0.5;
}

.holo-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--accent-pink);
    border-right: 2px solid var(--accent-pink);
    opacity: 0.5;
}

.holo-card:hover::before,
.holo-card:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
}

.holo-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.holo-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.3);
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* New Section Backgrounds */
/* New Section Backgrounds */
.bg-midnight {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pink Card Variant (User Request) */
/* Pink Card Variant (User Request) */
.card-pink {
    transition: all 0.4s ease;
}

.card-pink:hover {
    border-color: var(--accent-pink) !important;
    box-shadow: 0 0 25px rgba(247, 37, 133, 0.4) !important;
    transform: translateY(-5px);
}

/* Ensure Text Stays White, but Icons can glow pink if needed (standard behavior) */
.card-pink h3,
.card-pink h4 {
    color: var(--text-main) !important;
}

/* Specific Override for Icon Wrapper on Hover: Glow Pink but DON'T fill */
.card-pink:hover .holo-icon-wrapper {
    background: rgba(255, 255, 255, 0.1) !important;
    /* Slight lighten */
    box-shadow: 0 0 25px rgba(247, 37, 133, 0.5) !important;
    /* Pink Glow */
    border-color: var(--accent-pink);
}

/* Force Icon Pink Always (as per latest request) */
.card-pink .holo-icon-wrapper i {
    color: var(--accent-pink) !important;
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

/* Link Color Override: Default Blue, Pink on Hover */
.card-pink .learn-more {
    color: var(--accent-blue) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-pink .learn-more:hover {
    color: var(--accent-pink) !important;
    text-shadow: 0 0 10px var(--accent-pink);
    transform: translateX(5px);
}

.card-pink .learn-more i {
    transition: transform 0.3s ease;
}

.card-pink .learn-more:hover i {
    transform: translateX(5px);
}

/* Fix for broken closing brace in previous edit */
.holo-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
    color: var(--accent-cyan);
    /* Default Blue for normal cards */
}

.holo-card:hover .holo-icon-wrapper {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--accent-cyan);
}

/* --- Radar Map Styles --- */
.radar-map-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan));
    transform-origin: left center;
    animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.map-node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-cyan);
    z-index: 2;
}

.map-node::after {
    content: attr(data-label);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s;
}

.radar-map-container:hover .map-node::after {
    opacity: 1;
}

.map-node.delhi {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 0 20px #fff;
}

.map-node.noida {
    top: 40%;
    left: 70%;
    animation: pulse-node 2s infinite;
}

.map-node.gurgaon {
    top: 65%;
    left: 30%;
    animation: pulse-node 2s infinite 1s;
}

@keyframes pulse-node {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

/* --- City Chips --- */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.city-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.city-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.city-chip:hover::before {
    width: 300px;
    height: 300px;
}

.city-chip:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.city-chip h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.city-chip p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* --- Growth Rocket Animation --- */
.growth-rocket-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    overflow: visible;
}

.growth-graph-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.growth-graph-line svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-path {
    fill: none;
    stroke: rgba(0, 240, 255, 0.5);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px var(--accent-cyan));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-graph 4s ease-out forwards infinite;
}

@keyframes draw-graph {
    0% {
        stroke-dashoffset: 1000;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.growth-milestone {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--accent-cyan);
    z-index: 2;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fade-in-milestone 4s ease-out infinite;
}

.gm-1 {
    top: 83.3%;
    left: 6.6%;
    animation-delay: 0.5s;
}

.gm-2 {
    top: 50%;
    left: 50%;
    animation-delay: 1.5s;
}

.gm-3 {
    top: 16.6%;
    left: 93.3%;
    animation-delay: 2.5s;
}

@keyframes fade-in-milestone {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }

    40% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* --- Advanced Rocket Animation (Horizontal Orientation) --- */
.rocket-ship {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    /* Horizontal now */
    height: 40px;
    z-index: 10;
    offset-path: path('M20,250 Q150,150 280,50');
    offset-rotate: auto 0deg;
    /* Aligns Right-Pointing rocket with Path Tangent */
    animation: fly-rocket 5s ease-in-out infinite;
}

.rocket-body {
    width: 50px;
    height: 20px;
    background: linear-gradient(90deg, #e0e0e0, #fff);
    border-radius: 10px 50% 50% 10px;
    /* Rounded nose on right */
    position: relative;
    z-index: 2;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    /* Center vertically */
}

.rocket-window {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    border: 2px solid #333;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    box-shadow: 0 0 5px var(--accent-cyan);
}

.rocket-fin {
    position: absolute;
    background: var(--accent-pink);
    z-index: 1;
}

.fin-left {
    /* Top Fin */
    top: -8px;
    left: 0;
    width: 25px;
    height: 15px;
    border-radius: 10% 0 0 50%;
    transform: skewX(-20deg);
}

.fin-right {
    /* Bottom Fin */
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 15px;
    border-radius: 0 50% 10% 0;
    /* Flip shape */
    border-radius: 10% 0 0 50%;
    transform: scaleY(-1) skewX(-20deg);
}

.fin-center {
    /* Side/Rear Fin */
    top: 50%;
    left: -5px;
    width: 15px;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: #333;
}

/* Enhanced Exhaust (Horizontal) */
.exhaust-plume {
    position: absolute;
    top: 50%;
    left: -30px;
    /* Behind rocket */
    transform: translateY(-50%) rotate(-90deg);
    /* Rotate flame to point Left */
    width: 40px;
    height: 20px;
    z-index: 0;
}

.flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.8;
}

.f-1 {
    width: 16px;
    height: 30px;
    background: var(--accent-pink);
    animation: flicker-1 0.2s infinite alternate;
}

.f-2 {
    width: 10px;
    height: 20px;
    background: orange;
    animation: flicker-2 0.3s infinite alternate;
    bottom: 5px;
}

.f-3 {
    width: 6px;
    height: 10px;
    background: white;
    bottom: 12px;
}

@keyframes flicker-1 {
    0% {
        height: 30px;
        opacity: 0.8;
    }

    100% {
        height: 35px;
        opacity: 1;
    }
}

@keyframes flicker-2 {
    0% {
        height: 20px;
        opacity: 0.8;
    }

    100% {
        height: 24px;
        opacity: 1;
    }
}

@keyframes fly-rocket {
    0% {
        offset-distance: 0%;
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Smoke Particles - Horizontal */
.smoke {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: smoke-puff-h 1s infinite linear;
    width: 10px;
    height: 10px;
    left: -10px;
}

.s-1 {
    top: 5px;
    animation-delay: 0.1s;
}

.s-2 {
    top: 25px;
    animation-delay: 0.3s;
}

@keyframes smoke-puff-h {
    0% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateX(-30px) scale(2);
        opacity: 0;
    }
}

/* Smoke Particles - Simplified */
.smoke {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: smoke-puff 1s infinite linear;
    width: 10px;
    height: 10px;
    top: 20px;
}

.s-1 {
    left: -5px;
    animation-delay: 0.1s;
}

.s-2 {
    left: 15px;
    animation-delay: 0.3s;
}

@keyframes smoke-puff {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateY(30px) scale(2);
        opacity: 0;
    }
}

/* Update Graph Line */
.graph-path {
    stroke: rgba(247, 37, 133, 0.4);
    /* Pinker trace */
    stroke-width: 4;
    filter: drop-shadow(0 0 8px var(--accent-pink));
}

top: 50%;
left: 50%;
transform: translate(-120%, 120%) rotate(45deg);
width: 30px;
height: 10px;
background: linear-gradient(to right, transparent, var(--accent-cyan));
filter: blur(4px);
opacity: 0.8;
z-index: -1;
}

.result-label {
    position: absolute;
    top: 5%;
    left: 80%;
    background: rgba(10, 10, 20, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    opacity: 0;
    animation: pop-label 4s ease-out infinite;
}

@keyframes pop-label {

    0%,
    70% {
        opacity: 0;
        transform: translateY(10px);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Star Field */
.star-field {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star-field .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle-star 3s infinite alternate;
}

.s-1 {
    top: 20%;
    left: 20%;
    width: 2px;
    height: 2px;
    animation-duration: 2s;
}

.s-2 {
    top: 50%;
    left: 80%;
    width: 3px;
    height: 3px;
    animation-duration: 3s;
}

.s-3 {
    top: 80%;
    left: 30%;
    width: 2px;
    height: 2px;
    animation-duration: 2.5s;
}

.s-4 {
    top: 10%;
    left: 60%;
    width: 1px;
    height: 1px;
    animation-duration: 4s;
}

.s-5 {
    top: 70%;
    left: 90%;
    width: 2px;
    height: 2px;
    animation-duration: 1.5s;
}

@keyframes twinkle-star {
    from {
        opacity: 0.3;
        box-shadow: 0 0 0 transparent;
    }

    to {
        opacity: 1;
        box-shadow: 0 0 4px white;
    }
}

/* --- Responsive Media Queries --- */

/* Desktop & Large Tablet (Under 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 95%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .split-layout {
        gap: 30px;
    }
}

/* Tablet (Under 768px) */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
        gap: 40px;
        padding: 40px;
        text-align: center;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Mobile (Under 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 25px;
    }
}