/* ===== CSS Variables ===== */
:root {
    --primary-blue: #00D4FF;
    --primary-cyan: #00FFC6;
    --primary-green: #00FF88;
    --dark-bg: #0a1628;
    --darker-bg: #050a14;
    --text-light: #ffffff;
    --text-gray: #b0b8c4;
    --card-bg: rgba(10, 22, 40, 0.8);
    --border-color: rgba(0, 212, 255, 0.2);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 50px;
    height: 50px;
    position: relative;
}

.fox-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    object-fit: contain;
}

/* SVG-specific styles (for backward compatibility) */
.fox-head {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.glow-eye {
    animation: blink 4s ease-in-out infinite;
}

.circuit-line {
    stroke-dasharray: 5, 5;
    animation: circuitMove 3s linear infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .pixelx {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.logo-text .systems {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.circuit-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    opacity: 0.3;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 136, 0.03) 2px, rgba(0, 255, 136, 0.03) 4px);
    animation: circuitShift 20s linear infinite;
}

/* ===== Animated Background Elements ===== */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.particle-1 { top: 10%; left: 10%; animation: floatParticle 15s ease-in-out infinite; }
.particle-2 { top: 20%; left: 80%; animation: floatParticle 18s ease-in-out infinite 2s; }
.particle-3 { top: 40%; left: 20%; animation: floatParticle 12s ease-in-out infinite 1s; }
.particle-4 { top: 60%; left: 70%; animation: floatParticle 20s ease-in-out infinite 3s; }
.particle-5 { top: 80%; left: 30%; animation: floatParticle 14s ease-in-out infinite 2.5s; }
.particle-6 { top: 30%; left: 50%; animation: floatParticle 16s ease-in-out infinite 1.5s; }
.particle-7 { top: 50%; left: 90%; animation: floatParticle 19s ease-in-out infinite 4s; }
.particle-8 { top: 70%; left: 15%; animation: floatParticle 13s ease-in-out infinite 2s; }
.particle-9 { top: 15%; left: 60%; animation: floatParticle 17s ease-in-out infinite 3.5s; }
.particle-10 { top: 85%; left: 75%; animation: floatParticle 15s ease-in-out infinite 1s; }
.particle-11 { top: 45%; left: 5%; animation: floatParticle 21s ease-in-out infinite 4.5s; }
.particle-12 { top: 25%; left: 95%; animation: floatParticle 14s ease-in-out infinite 2.3s; }

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-green), transparent);
    bottom: 20%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -10s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-cyan), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 22s;
    animation-delay: -5s;
}

/* Animated Shapes */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid;
    opacity: 0.15;
    animation: rotateShape 20s linear infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    border-color: var(--primary-blue);
    top: 20%;
    left: 20%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-duration: 15s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-color: var(--primary-cyan);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 60%;
    right: 25%;
    animation-duration: 18s;
    animation-direction: reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    border-color: var(--primary-green);
    top: 80%;
    left: 60%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-duration: 22s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    border-color: var(--primary-cyan);
    top: 35%;
    right: 60%;
    border-radius: 50%;
    animation-duration: 12s;
    animation-direction: reverse;
}

/* Circuit Lines SVG */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawCircuit 8s ease-in-out infinite;
}

.circuit-path:nth-child(2) {
    animation-delay: 2s;
}

.circuit-path:nth-child(3) {
    animation-delay: 4s;
}

.circuit-path:nth-child(4) {
    animation-delay: 6s;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-visual {
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: gradientShift 5s ease infinite;
    background-size: 200% auto;
}

.hero-subtitle {
    display: block;
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-cyan);
    box-shadow: 0 5px 20px rgba(0, 255, 198, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 198, 0.4);
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.card-3 {
    bottom: 20%;
    left: 15%;
    animation: floatCard 7s ease-in-out infinite;
    animation-delay: -4s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-cyan);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: var(--text-gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-plus {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuitMove 10s linear infinite;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.info-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 136, 0.2));
    border-radius: 10px;
}

.info-text h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.info-text p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(5, 10, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-top: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-cyan);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-gray);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

@keyframes circuitMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes circuitShift {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatCard {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -15px) rotate(2deg); }
    66% { transform: translate(-10px, -10px) rotate(-2deg); }
}

@keyframes scrollWheel {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; top: 20px; }
    100% { opacity: 0; top: 20px; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Animated Background Keyframes ===== */
@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(-30px, -20px) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(100px, -80px) scale(1.2);
        opacity: 0.6;
    }
    66% {
        transform: translate(-80px, 100px) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.25;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.15;
    }
}

@keyframes drawCircuit {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.98);
        width: 100%;
        padding: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }
}

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

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

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

