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

body {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    line-height: 1.6;
    color: #a0d8ef;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 153, 0, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(0, 204, 255, 0.02) 49%, rgba(0, 204, 255, 0.02) 51%, transparent 52%);
    z-index: -1;
    pointer-events: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(10, 14, 26, 0.95) 0%, rgba(26, 31, 46, 0.95) 50%, rgba(15, 20, 25, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid #007acc;
    box-shadow: 0 2px 20px rgba(0, 122, 204, 0.3);
    animation: navbar-shake 10s ease-in-out infinite;
}

@keyframes navbar-shake {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-2px); }
    94% { transform: translateX(2px); }
    96% { transform: translateX(-1px); }
    98% { transform: translateX(1px); }
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007acc 20%, #ff9900 50%, #007acc 80%, transparent 100%);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
    position: relative;
    animation: logo-crazy-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-crazy-glow {
    0% { 
        text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
        transform: scale(1) rotate(0deg);
    }
    25% { 
        text-shadow: 0 0 20px rgba(255, 153, 0, 0.8), 0 0 30px rgba(0, 204, 255, 0.6);
        transform: scale(1.05) rotate(1deg);
    }
    50% { 
        text-shadow: 0 0 15px rgba(255, 0, 255, 0.7), 0 0 25px rgba(0, 255, 0, 0.5);
        transform: scale(1.02) rotate(-1deg);
    }
    75% { 
        text-shadow: 0 0 25px rgba(255, 255, 0, 0.9), 0 0 35px rgba(255, 0, 0, 0.4);
        transform: scale(1.08) rotate(0.5deg);
    }
    100% { 
        text-shadow: 0 0 30px rgba(0, 255, 255, 1), 0 0 40px rgba(255, 153, 0, 0.8);
        transform: scale(1.1) rotate(-0.5deg);
    }
}

.nav-logo .logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #a0d8ef;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border: 1px solid transparent;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 204, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    color: #00ccff;
    border-color: #007acc;
    box-shadow: 0 0 15px rgba(0, 122, 204, 0.4);
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.6);
    animation: nav-item-dance 0.5s ease-in-out;
}

@keyframes nav-item-dance {
    0% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-3px) scale(1.1) rotate(2deg); }
    50% { transform: translateY(-1px) scale(1.05) rotate(-1deg); }
    75% { transform: translateY(-2px) scale(1.08) rotate(1deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}

.nav-menu a:hover::before {
    opacity: 1;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, #0a0e1a 0%, #1a2332 30%, #0f1924 70%, #0a0e1a 100%),
        radial-gradient(ellipse at top left, rgba(0, 122, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 153, 0, 0.1) 0%, transparent 50%);
    color: #a0d8ef;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(0, 204, 255, 0.03) 101px,
            rgba(0, 204, 255, 0.03) 102px
        );
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>') no-repeat center center;
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.highlight {
    color: #ff9900;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
    font-weight: 800;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ff9900 50%, transparent 100%);
    animation: highlight-glow 2s ease-in-out infinite alternate;
}

@keyframes highlight-glow {
    0% { opacity: 0.5; transform: scaleX(0.8); }
    100% { opacity: 1; transform: scaleX(1.2); }
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9900 0%, #ffaa00 100%);
    color: #0a0e1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ffcc00 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.4), 0 0 20px rgba(255, 153, 0, 0.3);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

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

.btn-secondary {
    background: transparent;
    color: #00ccff;
    border-color: #007acc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 204, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 204, 255, 0.1);
    color: #00ccff;
    border-color: #00ccff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 204, 0.3), 0 0 15px rgba(0, 204, 255, 0.5);
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.6);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.horst-image {
    position: relative;
    z-index: 2;
}

.horst-image img {
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons .float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 6s ease-in-out infinite;
}

.floating-icons .float-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icons .float-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-icons .float-icon:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.floating-icons .float-icon:nth-child(4) {
    bottom: 10%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ccff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #007acc 50%, transparent 100%);
    animation: section-underline 2s ease-in-out infinite alternate;
}

@keyframes section-underline {
    0% { width: 40px; opacity: 0.6; }
    100% { width: 80px; opacity: 1; }
}

.section-header p {
    font-size: 1.1rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%),
        radial-gradient(circle at 70% 30%, rgba(0, 122, 204, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 153, 0, 0.05) 0%, transparent 50%);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(0, 204, 255, 0.02) 101px,
            rgba(0, 204, 255, 0.02) 102px
        );
    pointer-events: none;
}

.experience-timeline {
    position: relative;
    padding-left: 20px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007acc 0%, #00ccff 50%, #007acc 100%);
    opacity: 0.7;
}

.experience-item {
    position: relative;
    margin-bottom: 40px;
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.85) 0%, rgba(15, 20, 25, 0.85) 100%);
    border: 1px solid #007acc;
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    padding: 25px;
    margin-left: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 15px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff9900 0%, #ffaa00 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 153, 0, 0.6);
    z-index: 2;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007acc 20%, #00ccff 50%, #007acc 80%, transparent 100%);
    animation: experience-scan 3s linear infinite;
}

@keyframes experience-scan {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.experience-item:hover {
    transform: translateY(-5px);
    border-color: #00ccff;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(0, 122, 204, 0.3),
        inset 0 0 20px rgba(0, 204, 255, 0.1);
}

.experience-year {
    display: inline-block;
    background: linear-gradient(135deg, #007acc 0%, #00ccff 100%);
    color: #0a0e1a;
    padding: 6px 12px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
}



.experience-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00ccff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
}

.experience-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.experience-content h4 a {
    color: #ff9900;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.experience-content h4 a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ff9900 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-content h4 a:hover {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.6);
    transform: translateX(5px);
}

.experience-content h4 a:hover::before {
    opacity: 1;
}

.experience-content p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.experience-achievements {
    list-style: none;
    margin-bottom: 20px;
}

.experience-achievements li {
    padding: 8px 0;
    color: #d1d5db;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.experience-achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ccff;
    font-size: 0.8rem;
    animation: achievement-pulse 2s ease-in-out infinite alternate;
}

.experience-achievements li:nth-child(1)::before { animation-delay: 0s; }
.experience-achievements li:nth-child(2)::before { animation-delay: 0.2s; }
.experience-achievements li:nth-child(3)::before { animation-delay: 0.4s; }
.experience-achievements li:nth-child(4)::before { animation-delay: 0.6s; }

@keyframes achievement-pulse {
    0% { 
        opacity: 0.6; 
        transform: scale(1);
        color: #00ccff;
    }
    100% { 
        opacity: 1; 
        transform: scale(1.2);
        color: #ff9900;
    }
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    background: linear-gradient(135deg, #007acc 0%, #00ccff 100%);
    color: #0a0e1a;
    padding: 6px 12px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.tech-stack span:hover {
    background: linear-gradient(135deg, #00ccff 0%, #ff9900 100%);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.4);
    animation: tech-badge-dance 0.5s ease-in-out;
}

.tech-stack span:hover::before {
    left: 100%;
}

@keyframes tech-badge-dance {
    0% { transform: scale(1.05) translateY(-2px) rotate(0deg); }
    25% { transform: scale(1.1) translateY(-3px) rotate(2deg); }
    50% { transform: scale(1.08) translateY(-1px) rotate(-1deg); }
    75% { transform: scale(1.12) translateY(-4px) rotate(1deg); }
    100% { transform: scale(1.05) translateY(-2px) rotate(0deg); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%),
        radial-gradient(circle at 30% 70%, rgba(0, 122, 204, 0.08) 0%, transparent 50%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(0, 204, 255, 0.02) 51px,
            rgba(0, 204, 255, 0.02) 52px
        );
    pointer-events: none;
}

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

.service-card {
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    padding: 40px 30px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #007acc;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 204, 255, 0.05) 49%, rgba(0, 204, 255, 0.05) 51%, transparent 52%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007acc 50%, transparent 100%);
    animation: data-stream 3s linear infinite;
}

@keyframes data-stream {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 122, 204, 0.3),
        inset 0 0 30px rgba(0, 204, 255, 0.1);
    border-color: #00ccff;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(135deg, #007acc 0%, #00ccff 50%, #007acc 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    animation: icon-pulse 3s ease-in-out infinite;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9900, #00ccff, #ff9900);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-icon .service-emoji {
    font-size: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f9fafb;
}

.service-card p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card ul li {
    padding: 5px 0;
    color: #d1d5db;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0a0e1a 0%, #1a2332 30%, #0f1924 70%, #0a0e1a 100%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 153, 0, 0.08) 0%, transparent 50%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 153, 0, 0.02) 81px,
            rgba(255, 153, 0, 0.02) 82px
        );
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(15, 20, 25, 0.9) 100%);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #ff9900;
    position: relative;
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9900 0%, #ffaa00 50%, #ff9900 100%);
    animation: portfolio-scan 4s linear infinite;
}

@keyframes portfolio-scan {
    0% { transform: translateX(-100%); opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(255, 153, 0, 0.3),
        inset 0 0 25px rgba(255, 153, 0, 0.05);
    border-color: #ffaa00;
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05) rotate(1deg);
    filter: hue-rotate(45deg) brightness(1.2) saturate(1.3);
    animation: portfolio-image-crazy 1s ease-in-out;
}

@keyframes portfolio-image-crazy {
    0% { transform: scale(1.05) rotate(1deg); }
    25% { transform: scale(1.08) rotate(-1deg); }
    50% { transform: scale(1.06) rotate(2deg); }
    75% { transform: scale(1.07) rotate(-0.5deg); }
    100% { transform: scale(1.05) rotate(1deg); }
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f9fafb;
}

.portfolio-content p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    background: linear-gradient(135deg, #007acc 0%, #00ccff 100%);
    color: #0a0e1a;
    padding: 6px 14px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 2px;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: linear-gradient(135deg, #00ccff 0%, #0099cc 100%);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.4);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%),
        radial-gradient(circle at 80% 20%, rgba(0, 122, 204, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 153, 0, 0.05) 0%, transparent 50%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 120px,
            rgba(0, 204, 255, 0.015) 121px,
            rgba(0, 204, 255, 0.015) 122px
        );
    pointer-events: none;
}

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

.testimonial-card {
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.85) 0%, rgba(15, 20, 25, 0.85) 100%);
    padding: 40px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid #007acc;
    position: relative;
    backdrop-filter: blur(10px);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007acc, #00ccff, #007acc);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: #4b5563;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(0, 122, 204, 0.3);
    border-color: #00ccff;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.stars .star {
    color: #ff9900;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(255, 153, 0, 0.6);
    animation: star-twinkle 2s ease-in-out infinite alternate;
    display: inline-block;
}

.stars .star:nth-child(1) { animation-delay: 0s; }
.stars .star:nth-child(2) { animation-delay: 0.2s; }
.stars .star:nth-child(3) { animation-delay: 0.4s; }
.stars .star:nth-child(4) { animation-delay: 0.6s; }
.stars .star:nth-child(5) { animation-delay: 0.8s; }

@keyframes star-twinkle {
    0% { 
        opacity: 0.7; 
        transform: scale(1) rotate(0deg); 
        filter: hue-rotate(0deg);
    }
    25% { 
        opacity: 1; 
        transform: scale(1.2) rotate(45deg); 
        filter: hue-rotate(90deg);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.1) rotate(90deg); 
        filter: hue-rotate(180deg);
    }
    75% { 
        opacity: 1; 
        transform: scale(1.3) rotate(180deg); 
        filter: hue-rotate(270deg);
    }
    100% { 
        opacity: 0.8; 
        transform: scale(1) rotate(360deg); 
        filter: hue-rotate(360deg);
    }
}

.testimonial-content p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 5px;
}

.author-info span {
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0a0e1a 0%, #1a2332 30%, #0f1924 70%, #0a0e1a 100%),
        radial-gradient(ellipse at center, rgba(0, 122, 204, 0.15) 0%, transparent 70%);
    color: #a0d8ef;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(0, 204, 255, 0.03) 61px,
            rgba(0, 204, 255, 0.03) 62px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 153, 0, 0.02) 81px,
            rgba(255, 153, 0, 0.02) 82px
        );
    pointer-events: none;
}

.contact .section-header h2,
.contact .section-header p {
    color: #00ccff;
}

.contact .section-header p {
    color: #a0d8ef;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item .contact-icon {
    font-size: 1.5rem;
    color: #ff9900;
    margin-top: 5px;
    display: block;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.6);
    animation: icon-glow 3s ease-in-out infinite alternate;
}

@keyframes icon-glow {
    0% { text-shadow: 0 0 5px rgba(255, 153, 0, 0.4); }
    100% { text-shadow: 0 0 15px rgba(255, 153, 0, 0.8), 0 0 25px rgba(255, 153, 0, 0.4); }
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form {
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    padding: 40px;
    border-radius: 0;
    backdrop-filter: blur(15px);
    border: 1px solid #007acc;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007acc 20%, #00ccff 50%, #007acc 80%, transparent 100%);
    animation: form-scan 4s linear infinite;
}

@keyframes form-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #007acc;
    border-radius: 0;
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.6) 0%, rgba(15, 20, 25, 0.6) 100%);
    color: #a0d8ef;
    font-size: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    backdrop-filter: blur(5px);
    position: relative;
}

.form-group input::before,
.form-group select::before,
.form-group textarea::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #007acc, #00ccff, #007acc);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(160, 216, 239, 0.6);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ccff;
    background: 
        linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    box-shadow: 
        0 0 15px rgba(0, 204, 255, 0.4),
        inset 0 0 10px rgba(0, 204, 255, 0.1);
    color: #00ccff;
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.3);
}

.form-group select option {
    color: #333;
    background: white;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.crazy-submit {
    animation: submit-button-dance 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.crazy-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: button-shine 2s ease-in-out infinite;
}

@keyframes submit-button-dance {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.02) rotate(0.5deg); }
    50% { transform: scale(1.05) rotate(-0.5deg); }
    75% { transform: scale(1.03) rotate(0.3deg); }
}

@keyframes button-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Footer */
.footer {
    background: 
        linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%),
        radial-gradient(ellipse at 50% 0%, rgba(0, 122, 204, 0.1) 0%, transparent 70%);
    color: #a0d8ef;
    padding: 60px 0 20px;
    position: relative;
    border-top: 2px solid #007acc;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007acc 20%, #ff9900 50%, #007acc 80%, transparent 100%);
    animation: footer-scan 5s linear infinite;
}

@keyframes footer-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ff9900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.footer-logo .logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
}

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

.footer-section ul li {
    padding: 8px 0;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00ccff;
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.5);
    transform: translateX(5px);
}

.footer-section ul li .footer-icon {
    margin-right: 10px;
    width: 15px;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #007acc 0%, #00ccff 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding-top: 10px;
}

.footer-bottom a:hover {
    color: #00ccff;
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.5);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1f2937;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        border-bottom: 1px solid #4b5563;
    }

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

    .hamburger {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
