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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ff0000;
    --accent-hover: #ff3333;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-1: rgba(255, 0, 0, 0.15);
    --gradient-2: rgba(255, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

/* Hide default cursor on all interactive elements */
a, button, .service-card, .portfolio-card, .cta-button, .nav-links a, 
.portfolio-link, .contact-email, .social-link, .footer-links a,
.footer-social-link, .menu-toggle {
    cursor: none !important;
}

html {
    background-color: var(--bg-primary);
}

main {
    background-color: transparent;
}

/* Custom Cursor - Simple Red Arrow */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.cursor-arrow {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 32px solid #000000;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    will-change: transform;
}

.cursor-arrow::before {
    content: '';
    position: absolute;
    top: -17px;
    left: -30px;
    width: 0;
    height: 0;
    border-left: 30px solid #ff0000;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
}

/* Cursor hover states */
.custom-cursor.hover .cursor-arrow {
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-cursor.click .cursor-arrow {
    transform: translate(-50%, -50%) scale(0.9);
}

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

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

.logo-container {
    height: 45px;
    z-index: 1001;
    margin-left: 0;
    display: block;
    text-decoration: none;
    cursor: none;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-right: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    overflow: hidden;
    width: 0;
    transition: width 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: transparent;
}

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

/* Global Background - spans entire page */
.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-background {
    display: none;
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: float 20s infinite ease-in-out, pulseOrb 4s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
    transition: transform 0.1s ease-out;
}

@keyframes pulseOrb {
    0%, 100% {
        opacity: 0.2;
        filter: blur(60px);
    }
    50% {
        opacity: 0.35;
        filter: blur(50px);
    }
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: 10%;
    left: 5%;
    animation: float 20s infinite ease-in-out, moveOrb1 25s infinite ease-in-out;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--gradient-2);
    top: 85%;
    right: 5%;
    animation: float 20s infinite ease-in-out, moveOrb2 30s infinite ease-in-out;
    animation-delay: 5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    top: 50%;
    right: 10%;
    animation: float 20s infinite ease-in-out, moveOrb3 22s infinite ease-in-out;
    animation-delay: 10s;
}

@keyframes moveOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, 50px) scale(1.2);
    }
    50% {
        transform: translate(200px, -50px) scale(0.8);
    }
    75% {
        transform: translate(50px, -100px) scale(1.1);
    }
}

@keyframes moveOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-150px, -100px) scale(1.3);
    }
    66% {
        transform: translate(-50px, 150px) scale(0.9);
    }
}

@keyframes moveOrb3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-80px, 80px) scale(1.15);
    }
    50% {
        transform: translate(80px, -80px) scale(0.85);
    }
    75% {
        transform: translate(-40px, -40px) scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Light Spears - Removed */
/* .light-spear {
    position: absolute;
    width: 3px;
    height: 300px;
    background: linear-gradient(to bottom, 
        rgba(255, 0, 0, 1) 0%,
        rgba(255, 50, 50, 0.9) 20%,
        rgba(255, 0, 0, 0.7) 40%,
        rgba(255, 0, 0, 0.4) 60%,
        rgba(255, 0, 0, 0.2) 80%,
        transparent 100%);
    transform-origin: center bottom;
    filter: blur(2px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8),
                0 0 60px rgba(255, 0, 0, 0.6),
                0 0 100px rgba(255, 0, 0, 0.4),
                inset 0 0 20px rgba(255, 0, 0, 0.5);
    animation: pulseSpear 3s infinite ease-in-out;
}

.light-spear::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 0, 0, 0.6) 50%,
        transparent 100%);
    filter: blur(3px);
    animation: pulseCore 2s infinite ease-in-out;
}

.light-spear::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 0, 0, 1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseSpear {
    0%, 100% {
        opacity: 0.7;
        filter: blur(2px);
    }
    50% {
        opacity: 1;
        filter: blur(1px);
    }
}

@keyframes pulseCore {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 1;
    }
}

.spear-1 {
    top: 10%;
    left: 15%;
    animation: rotateSpear 6s infinite ease-in-out, moveSpear1 8s infinite ease-in-out;
    animation-delay: 0s;
}

.spear-2 {
    top: 60%;
    right: 20%;
    animation: rotateSpear 7s infinite ease-in-out, moveSpear2 9s infinite ease-in-out;
    animation-delay: 2s;
}

.spear-3 {
    bottom: 20%;
    left: 30%;
    animation: rotateSpear 8s infinite ease-in-out, moveSpear3 10s infinite ease-in-out;
    animation-delay: 4s;
}

.spear-4 {
    top: 30%;
    right: 35%;
    animation: rotateSpear 5s infinite ease-in-out, moveSpear4 7s infinite ease-in-out;
    animation-delay: 1s;
}

@keyframes moveSpear1 {
    0%, 100% {
        top: 10%;
        left: 15%;
    }
    50% {
        top: 25%;
        left: 25%;
    }
}

@keyframes moveSpear2 {
    0%, 100% {
        top: 60%;
        right: 20%;
    }
    50% {
        top: 45%;
        right: 30%;
    }
}

@keyframes moveSpear3 {
    0%, 100% {
        bottom: 20%;
        left: 30%;
    }
    50% {
        bottom: 35%;
        left: 20%;
    }
}

@keyframes moveSpear4 {
    0%, 100% {
        top: 30%;
        right: 35%;
    }
    50% {
        top: 50%;
        right: 25%;
    }
}

 */

/* Fog Lights - Volumetric atmospheric effect */
.fog-light {
    position: fixed;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
        rgba(255, 0, 0, 0.25) 0%,
        rgba(255, 0, 0, 0.12) 30%,
        rgba(255, 0, 0, 0.06) 50%,
        transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    opacity: 0.4;
    animation: driftFog 25s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
    transition: transform 0.1s ease-out;
}

.fog-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle,
        rgba(255, 0, 0, 0.5) 0%,
        rgba(255, 0, 0, 0.25) 40%,
        transparent 70%);
    filter: blur(30px);
    border-radius: 50%;
    animation: pulseFogCore 4s infinite ease-in-out;
}

.fog-light::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 0, 0, 0.5) 50%,
        transparent 80%);
    filter: blur(15px);
    border-radius: 50%;
    animation: pulseFogCenter 3s infinite ease-in-out;
}

@keyframes driftFog {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(150px, -100px) scale(1.2);
        opacity: 0.45;
    }
    50% {
        transform: translate(-100px, 150px) scale(0.9);
        opacity: 0.35;
    }
    75% {
        transform: translate(200px, 100px) scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

@keyframes pulseFogCore {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes pulseFogCenter {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.fog-1 {
    top: 15%;
    left: 8%;
    animation: driftFog 20s infinite ease-in-out;
    animation-delay: 0s;
}

.fog-2 {
    top: 65%;
    right: 12%;
    animation: driftFog 28s infinite ease-in-out;
    animation-delay: 4s;
}

.fog-3 {
    top: 80%;
    left: 20%;
    animation: driftFog 24s infinite ease-in-out;
    animation-delay: 8s;
}

.fog-4 {
    top: 45%;
    right: 25%;
    animation: driftFog 22s infinite ease-in-out;
    animation-delay: 2s;
}

.fog-5 {
    top: 75%;
    left: 45%;
    animation: driftFog 26s infinite ease-in-out;
    animation-delay: 6s;
}

.fog-6 {
    top: 35%;
    left: 35%;
    animation: driftFog 23s infinite ease-in-out;
    animation-delay: 3s;
}

.fog-7 {
    top: 55%;
    left: 60%;
    animation: driftFog 21s infinite ease-in-out;
    animation-delay: 7s;
}

.fog-8 {
    top: 25%;
    right: 40%;
    animation: driftFog 24s infinite ease-in-out;
    animation-delay: 9s;
}

.fog-9 {
    top: 80%;
    left: 15%;
    animation: driftFog 22s infinite ease-in-out;
    animation-delay: 11s;
}

.fog-10 {
    top: 15%;
    right: 50%;
    animation: driftFog 26s infinite ease-in-out;
    animation-delay: 13s;
}

/* About Section Fog Lights - positioned relative to viewport */
.fog-about-1 {
    top: 25%;
    left: 18%;
    animation: driftFog 22s infinite ease-in-out;
    animation-delay: 1s;
}

.fog-about-2 {
    top: 70%;
    right: 18%;
    animation: driftFog 26s infinite ease-in-out;
    animation-delay: 5s;
}

.orb-about-1 {
    width: 220px;
    height: 220px;
    background: var(--gradient-1);
    top: 55%;
    right: 12%;
    animation: float 20s infinite ease-in-out, moveOrbAbout 24s infinite ease-in-out;
    animation-delay: 0s;
}

@keyframes moveOrbAbout {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-80px, 80px) scale(1.2);
    }
}

/* Services Section Fog Lights */
.fog-services-1 {
    top: 20%;
    right: 22%;
    animation: driftFog 24s infinite ease-in-out;
    animation-delay: 2s;
}

.fog-services-2 {
    top: 75%;
    left: 28%;
    animation: driftFog 27s infinite ease-in-out;
    animation-delay: 6s;
}

/* Contact Section Fog Lights */
.fog-contact-1 {
    top: 35%;
    left: 18%;
    animation: driftFog 25s infinite ease-in-out;
    animation-delay: 3s;
}

.fog-contact-2 {
    top: 65%;
    right: 22%;
    animation: driftFog 21s infinite ease-in-out;
    animation-delay: 7s;
}

.orb-contact-1 {
    width: 240px;
    height: 240px;
    background: var(--gradient-2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s infinite ease-in-out, moveOrbContact 28s infinite ease-in-out;
    animation-delay: 1s;
}

@keyframes moveOrbContact {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-40%, -60%) scale(1.3);
    }
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s infinite ease-in-out, moveOrb4 28s infinite ease-in-out;
    animation-delay: 0s;
}

@keyframes moveOrb4 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-30%, -70%) scale(1.2);
    }
}

.orb-5 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: 20%;
    right: 20%;
    animation: float 20s infinite ease-in-out, moveOrb5 26s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes moveOrb5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(100px, -100px) scale(1.3);
    }
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Mobile: Remove hero animation delay - only on small devices */
@media (max-width: 480px) {
    .hero-content {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .hero-title .line {
        animation: none !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--accent);
}

.hero-title .line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

.cta-button.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

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

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Sections */
.section {
    padding: 120px 40px;
    position: relative;
    background: transparent;
}

/* Mobile: Ensure all content is visible immediately and disable heavy animations - only on small devices */
@media (max-width: 480px) {
    .service-card,
    .portfolio-card,
    .stat-card,
    .about-text {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    /* Disable background animations on small devices for performance */
    .gradient-orb,
    .fog-light {
        animation: none !important;
        opacity: 0.3 !important;
    }
    
    /* Reduce number of visible background elements on small devices */
    .gradient-orb.orb-3,
    .gradient-orb.orb-4,
    .gradient-orb.orb-5,
    .gradient-orb.orb-about-1,
    .gradient-orb.orb-contact-1,
    .fog-light.fog-5,
    .fog-light.fog-6,
    .fog-light.fog-7,
    .fog-light.fog-8,
    .fog-light.fog-9,
    .fog-light.fog-10,
    .fog-light.fog-about-1,
    .fog-light.fog-about-2,
    .fog-light.fog-services-1,
    .fog-light.fog-services-2,
    .fog-light.fog-contact-1,
    .fog-light.fog-contact-2 {
        display: none !important;
    }
}

/* Medium devices (tablets, larger phones): Keep animations but optimize */
@media (min-width: 481px) and (max-width: 768px) {
    /* Reduce some background elements but keep animations */
    .gradient-orb.orb-4,
    .gradient-orb.orb-5,
    .fog-light.fog-7,
    .fog-light.fog-8,
    .fog-light.fog-9,
    .fog-light.fog-10 {
        display: none !important;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 64px;
}

.section-label {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.section-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* About Section */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text .lead {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    position: relative;
}


.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s infinite ease-in-out, moveOrb4 28s infinite ease-in-out;
    animation-delay: 0s;
}

@keyframes moveOrb4 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-30%, -70%) scale(1.2);
    }
}



.orb-5 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: 20%;
    right: 20%;
    animation: float 20s infinite ease-in-out, moveOrb5 26s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes moveOrb5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(100px, -100px) scale(1.3);
    }
}

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

.service-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    font-size: 14px;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.1);
}

.portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    position: relative;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--bg-primary);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--text-primary);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-project {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-info {
    padding: 32px;
}

.portfolio-category {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.portfolio-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 60px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {

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

@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .section {
        padding: 80px 24px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

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

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

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

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

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

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

