/* Global Styles */
:root {
    --primary-color: #00a8ff;
    --secondary-color: #0097e6;
    --accent-color: #00d2d3;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #151515;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --neon-shadow: 0 0 20px rgba(0, 168, 255, 0.4);
    --card-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg);
    position: relative;
    overflow-x: hidden;
}

/* Clean Dark Theme Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    z-index: -1;
}

/* Section Backgrounds */
.hero, .services, .about, .contact {
    position: relative;
    z-index: 1;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.05), transparent);
    opacity: 0.5;
    z-index: -1;
}

/* Remove all the complex animations and backgrounds */
.background-grid,
.particles,
.stars,
.nebula,
.shooting-star {
    display: none;
}

/* Simplified Card Hover Effects */
.service-card:hover, .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

/* Simplified Section Headers */
.services h2, .about h2, .contact h2 {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* Clean Hero Section */
.hero-content {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .hero-content, .service-card, .about-content, .contact-container {
        background: rgba(5, 5, 5, 0.9);
    }
}

/* Global Styles */
:root {
    --primary-color: #00a8ff;
    --secondary-color: #0097e6;
    --accent-color: #00d2d3;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #151515;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --neon-shadow: 0 0 20px rgba(0, 168, 255, 0.4);
    --neon-glow: 0 0 25px rgba(0, 168, 255, 0.6);
    --card-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
    --animation-speed: 6s;
    --hover-lift: 20px;
    --glow-strength: 0 0 30px;
    --float-distance: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 168, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 211, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    z-index: -1;
    will-change: transform;
}

/* Dynamic Grid Background */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate3D 60s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 168, 255, 0.2),
        rgba(0, 210, 211, 0.2),
        rgba(0, 168, 255, 0.2),
        transparent
    );
    animation: gridPulse 4s ease-in-out infinite;
}

/* Enhanced Particle System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at center,
        rgba(0, 168, 255, 0.8) 0%,
        rgba(0, 210, 211, 0.4) 50%,
        transparent 100%
    );
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: floatParticle 8s ease-in-out infinite;
    box-shadow: 
        0 0 15px rgba(0, 168, 255, 0.4),
        0 0 30px rgba(0, 168, 255, 0.2);
}

/* Enhanced Background Animations */
@keyframes backgroundPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes rotate3D {
    0% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: perspective(1000px) rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(0, 168, 255, 0.4);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateZ(0) translateX(0) translateY(0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateZ(100px) translateX(50px) translateY(-30px) scale(1.5);
        opacity: 0.8;
    }
    50% {
        transform: translateZ(200px) translateX(0) translateY(-60px) scale(2);
        opacity: 1;
    }
    75% {
        transform: translateZ(100px) translateX(-50px) translateY(-30px) scale(1.5);
        opacity: 0.8;
    }
}

/* Section Stars */
.section-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: sectionTwinkle var(--twinkle-duration) infinite;
}

.section-star::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
    opacity: 0;
    animation: sectionStarGlow var(--twinkle-duration) infinite;
}

.section-shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8), 
        rgba(0, 168, 255, 0.4) 20%,
        transparent
    );
    animation: sectionShootingStar 4s linear infinite;
    transform: rotate(-45deg);
}

@keyframes sectionTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

@keyframes sectionStarGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes sectionShootingStar {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(-45deg);
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        transform: translateX(200%) translateY(200%) rotate(-45deg);
        opacity: 0;
    }
}

/* Section Nebula */
.section-nebula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 168, 255, 0.1), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(0, 210, 211, 0.1), transparent 40%);
    filter: blur(30px);
    opacity: 0.3;
    animation: sectionNebulaFloat 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes sectionNebulaFloat {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* Enhanced Section Backgrounds */
.services::before, .about::before, .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 168, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 211, 0.08) 0%, transparent 40%);
    animation: sectionBgMove 15s linear infinite;
    z-index: -1;
}

/* Enhanced 3D Cards */
.service-card, .feature, .info-item {
    transform-style: preserve-3d;
    perspective: 1000px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover, .feature:hover, .info-item:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: rgba(0, 168, 255, 0.3);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 168, 255, 0.2);
}

/* Enhanced Section Animations */
@keyframes sectionBgMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Enhanced Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(20px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) translateZ(40px) rotateX(2deg) rotateY(2deg);
    }
}

/* Enhanced Particle Effects */
.particles {
    opacity: 0.7;
}

.particle {
    background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
    width: 6px;
    height: 6px;
}

/* Enhanced Card Content */
.service-card i, .feature i, .info-item i {
    transform: translateZ(30px);
    transition: all 0.3s ease;
}

.service-card:hover i, .feature:hover i, .info-item:hover i {
    transform: translateZ(50px) scale(1.2);
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.service-card h3, .feature h4, .info-item p {
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.service-card:hover h3, .feature:hover h4, .info-item:hover p {
    transform: translateZ(40px);
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

/* Enhanced Section Headers */
.services h2, .about h2, .contact h2 {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(50px);
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

.services h2::after, .about h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateZ(30px);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: glowLine 2s ease-in-out infinite;
}

@keyframes glowLine {
    0%, 100% {
        opacity: 0.5;
        width: 80px;
    }
    50% {
        opacity: 1;
        width: 100px;
    }
}

/* Add this to your existing styles */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::before {
    opacity: 1;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    transform: translateZ(20px);
    animation: neonFlicker 5s infinite;
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.logo h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.5;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(transparent, rgba(0, 168, 255, 0.1), transparent);
    transform: translateY(-50%);
    transition: height 0.3s ease;
}

.nav-links li a:hover::before {
    height: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 168, 255, 0.1), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 211, 0.1), transparent 40%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 3rem 2rem;
    background: rgba(5, 5, 5, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transform: perspective(1200px);
    box-shadow: 0 0 40px rgba(0, 168, 255, 0.15);
    animation: heroFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--accent-color));
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.hero-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--text-muted);
    transform: translateZ(30px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.primary-cta {
    background: linear-gradient(45deg, #ff3366, #ff6b6b);
    color: var(--text-color);
}

.secondary-cta {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--text-color);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.primary-cta:hover i {
    transform: rotate(15deg);
}

.secondary-cta:hover i {
    transform: rotate(-15deg);
}

/* Services Section */
.services {
    padding: 6rem 1rem;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(120deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: var(--neon-shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: var(--neon-shadow);
    transform: translateZ(20px);
    position: relative;
}

.service-card i::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.service-card:hover i::after {
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transform: translateZ(15px);
}

.service-card p {
    color: var(--text-muted);
    transform: translateZ(10px);
}

/* About Section */
.about {
    padding: 6rem 1rem;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.05), transparent 70%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 20px;
}

.about h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(120deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    text-align: left;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 1rem;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(120deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 20px;
}

.contact input,
.contact textarea {
    padding: 1.2rem;
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
}

.submit-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--text-color);
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-button:hover::after {
    left: 100%;
}

.info-item {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
}

.info-item:hover {
    transform: translateX(5px) translateZ(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-item i {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
    transform: translateZ(15px);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--darker-bg), rgba(2, 2, 2, 1));
    border-top: 1px solid rgba(0, 168, 255, 0.1);
    padding: 6rem 5% 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-section a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
    transform: translateY(-3px);
}

/* Animations */
@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 15px var(--primary-color),
            0 0 25px var(--primary-color),
            0 0 45px var(--primary-color);
    }
    20%, 22%, 24%, 55% {
        opacity: 0.5;
        text-shadow: none;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shine {
    0% {
        background-position: -100% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Update Mobile Navigation */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Fix Navigation */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.95);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        height: calc(100vh - 70px);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Fix Hero Section */
    .hero-content {
        width: 90%;
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Fix CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Fix Services Section */
    .services {
        padding: 4rem 1rem;
    }

    .services h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    /* Fix About Section */
    .about {
        padding: 4rem 1rem;
    }

    .about h2 {
        font-size: 2.2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Fix Contact Section */
    .contact {
        padding: 4rem 1rem;
    }

    .contact h2 {
        font-size: 2.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    /* Fix Footer */
    .footer {
        padding: 3rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 2rem;
    }

    /* Reduce 3D Effects on Mobile */
    .hero-content, .service-card, .about-content, .contact-container, .feature {
        animation: none;
        transform: none !important;
        perspective: none;
    }

    .service-card:hover, .feature:hover {
        transform: translateY(-5px) !important;
    }

    /* Fix Background Effects */
    .background-grid, .particles {
        display: none;
    }

    /* Improve Touch Interactions */
    .cta-button, .nav-links li a, .service-card, .feature {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Fix Form Elements */
    .contact input,
    .contact textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.8rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem;
    }

    /* Fix Info Items */
    .info-item {
        text-align: center;
        margin-bottom: 1rem;
    }

    .info-item i {
        margin-bottom: 0.5rem;
    }
}

/* Additional Small Screen Fixes */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
}

/* Fix Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }

    .burger div {
        width: 25px;
        height: 3px;
        margin: 5px;
        transition: all 0.3s ease;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--accent-color));
    border-radius: 4px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--accent-color), var(--primary-color));
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: var(--text-color);
}

/* Add text gradient effect */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hue-rotate 10s linear infinite;
}

@keyframes hue-rotate {
    from {
        filter: hue-rotate(0deg);
    }
    to {
        filter: hue-rotate(360deg);
    }
}

/* Add this to your existing JavaScript */
const style = document.createElement('style');
style.textContent += `
    ${Array.from({length: 20}, (_, i) => `
        .horizontal-line:nth-child(${i + 1}) {
            top: ${i * 5}%;
            --z: ${i - 10};
        }
    `).join('')}
    
    ${Array.from({length: 20}, (_, i) => `
        .vertical-line:nth-child(${i + 21}) {
            left: ${i * 5}%;
            --z: ${i - 10};
        }
    `).join('')}
    
    ${Array.from({length: 50}, (_, i) => `
        .particle:nth-child(${i + 1}) {
            left: ${Math.random() * 100}%;
            top: ${Math.random() * 100}%;
            animation-delay: ${Math.random() * 2}s;
            transform: translateZ(${Math.random() * 100}px);
        }
    `).join('')}
`;
document.head.appendChild(style);

// Add this to your HTML right after the body tag
const backgroundHtml = `
<div class="background-grid">
    ${Array.from({length: 40}, (_, i) => 
        `<div class="${i < 20 ? 'horizontal-line' : 'vertical-line'} grid-line"></div>`
    ).join('')}
</div>
<div class="particles">
    ${Array.from({length: 50}, () => 
        '<div class="particle"></div>'
    ).join('')}
</div>
`;

document.body.insertAdjacentHTML('afterbegin', backgroundHtml);

.error {
    border-color: #ff4444 !important;
}

.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.4s ease;
}

.success-message i {
    font-size: 1.5rem;
}

.navbar-scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

@keyframes heroFloat {
    0%, 100% {
        transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(30px);
    }
    50% {
        transform: perspective(1200px) rotateX(3deg) rotateY(3deg) translateZ(50px);
    }
}

/* Enhanced 3D Animations for All Sections */
.hero-content, .service-card, .about-content, .contact-container, .feature {
    transform-style: preserve-3d;
    perspective: 1200px;
    animation: float3D 6s ease-in-out infinite;
    position: relative;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 168, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 168, 255, 0.15);
}

@keyframes float3D {
    0%, 100% {
        transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(20px);
    }
    50% {
        transform: perspective(1200px) rotateX(3deg) rotateY(3deg) translateZ(40px);
    }
}

/* Enhanced Content Depth */
.hero-content h1, .services h2, .about h2, .contact h2 {
    transform-style: preserve-3d;
    transform: translateZ(30px);
    animation: textFloat 6s ease-in-out infinite;
}

.service-card i, .feature i, .info-item i {
    transform: translateZ(40px);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% {
        transform: translateZ(30px);
    }
    50% {
        transform: translateZ(50px);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateZ(40px) scale(1);
    }
    50% {
        transform: translateZ(60px) scale(1.1);
    }
}

/* Responsive 3D Effects */
@media screen and (max-width: 768px) {
    .hero-content, .service-card, .about-content, .contact-container, .feature {
        animation: float3DMobile 6s ease-in-out infinite;
    }

    @keyframes float3DMobile {
        0%, 100% {
            transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(10px);
        }
        50% {
            transform: perspective(800px) rotateX(2deg) rotateY(2deg) translateZ(20px);
        }
    }

    @keyframes textFloat {
        0%, 100% {
            transform: translateZ(20px);
        }
        50% {
            transform: translateZ(30px);
        }
    }

    @keyframes iconFloat {
        0%, 100% {
            transform: translateZ(25px) scale(1);
        }
        50% {
            transform: translateZ(35px) scale(1.05);
        }
    }
}

/* Smooth Performance Optimizations */
.hero-content, .service-card, .about-content, .contact-container, .feature {
    will-change: transform;
    backface-visibility: hidden;
}

/* Enhanced Hover Effects */
.service-card:hover, .feature:hover {
    animation-play-state: paused;
    transform: perspective(1200px) rotateX(5deg) rotateY(5deg) translateZ(50px);
    transition: all 0.3s ease;
}

/* Enhanced 3D Floating Animation */
@keyframes enhancedFloat {
    0%, 100% {
        transform: perspective(1500px) 
                  rotateX(2deg) 
                  rotateY(2deg) 
                  translateZ(30px) 
                  translateY(0px);
        box-shadow: var(--glow-strength) rgba(0, 168, 255, 0.2);
    }
    25% {
        transform: perspective(1500px) 
                  rotateX(-2deg) 
                  rotateY(4deg) 
                  translateZ(40px) 
                  translateY(-10px);
        box-shadow: var(--glow-strength) rgba(0, 168, 255, 0.3);
    }
    50% {
        transform: perspective(1500px) 
                  rotateX(3deg) 
                  rotateY(-2deg) 
                  translateZ(50px) 
                  translateY(-20px);
        box-shadow: var(--glow-strength) rgba(0, 168, 255, 0.4);
    }
    75% {
        transform: perspective(1500px) 
                  rotateX(-1deg) 
                  rotateY(-3deg) 
                  translateZ(40px) 
                  translateY(-10px);
        box-shadow: var(--glow-strength) rgba(0, 168, 255, 0.3);
    }
}

/* Apply Enhanced Animation to Elements */
.hero-content, .service-card, .about-content, .contact-container, .feature {
    animation: enhancedFloat var(--animation-speed) ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1500px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Text Animation */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 168, 255, 0.3),
            0 0 20px rgba(0, 168, 255, 0.2),
            0 0 30px rgba(0, 168, 255, 0.1);
        transform: translateZ(30px) translateY(0);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(0, 168, 255, 0.4),
            0 0 25px rgba(0, 168, 255, 0.3),
            0 0 35px rgba(0, 168, 255, 0.2);
        transform: translateZ(50px) translateY(-5px);
    }
}

/* Apply Enhanced Text Animation */
.hero-content h1, .services h2, .about h2, .contact h2 {
    animation: textGlow var(--animation-speed) ease-in-out infinite;
}

/* Enhanced Hover Effects */
.service-card:hover, .feature:hover {
    transform: 
        perspective(1500px) 
        rotateX(10deg) 
        rotateY(10deg) 
        translateZ(var(--hover-lift))
        scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.5);
}

/* Enhanced Icon Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: translateZ(40px) scale(1) rotate(0deg);
        color: var(--primary-color);
    }
    50% {
        transform: translateZ(60px) scale(1.2) rotate(10deg);
        color: var(--accent-color);
    }
}

.service-card i, .feature i {
    animation: iconPulse 4s ease-in-out infinite;
}

/* Enhanced Button Hover */
.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 168, 255, 0.3);
}

/* Enhanced Background Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    background: linear-gradient(
        45deg, 
        rgba(0, 168, 255, 0.1), 
        rgba(0, 210, 211, 0.1), 
        rgba(0, 168, 255, 0.1)
    );
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

/* Mobile Optimizations */
@media screen and (max-width: 768px) {
    :root {
        --animation-speed: 4s;
        --hover-lift: 10px;
        --float-distance: 20px;
    }

    @keyframes enhancedFloat {
        0%, 100% {
            transform: perspective(1000px) 
                      rotateX(1deg) 
                      rotateY(1deg) 
                      translateZ(10px);
        }
        50% {
            transform: perspective(1000px) 
                      rotateX(-1deg) 
                      rotateY(-1deg) 
                      translateZ(20px);
        }
    }
}

/* Starry Background Effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    will-change: transform;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    will-change: transform, opacity;
}

.shooting-star {
    position: absolute;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
    animation: shootingStar 3s linear infinite;
    will-change: transform;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

@keyframes shootingStar {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(200%) translateY(200%);
        opacity: 0;
    }
}

/* Generate stars with JavaScript */
${Array.from({length: 200}, (_, i) => `
    .star:nth-child(${i + 1}) {
        width: ${Math.random() * 2 + 1}px;
        height: ${Math.random() * 2 + 1}px;
        top: ${Math.random() * 100}%;
        left: ${Math.random() * 100}%;
        --twinkle-duration: ${Math.random() * 3 + 2}s;
        animation-delay: ${Math.random() * 3}s;
    }
`).join('')}

/* Generate shooting stars */
${Array.from({length: 10}, (_, i) => `
    .shooting-star:nth-child(${i + 1}) {
        top: ${Math.random() * 50}%;
        left: ${Math.random() * 100}%;
        animation-delay: ${Math.random() * 4}s;
    }
`).join('')}

/* Add nebula effect */
.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 168, 255, 0.1), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(0, 210, 211, 0.1), transparent 40%);
    filter: blur(30px);
    opacity: 0.5;
    animation: nebulaFloat 20s ease-in-out infinite;
    z-index: -3;
}

@keyframes nebulaFloat {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* Add this to your JavaScript */
const starsHtml = `
<div class="stars">
    ${Array.from({length: 200}, () => '<div class="star"></div>').join('')}
    ${Array.from({length: 10}, () => '<div class="shooting-star"></div>').join('')}
</div>
<div class="nebula"></div>
`;

document.body.insertAdjacentHTML('afterbegin', starsHtml); 