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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #94a3b8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Simple Background Elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.05;
    background: radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 20%, rgba(100, 179, 244, 0.1) 0%, transparent 50%);
    animation: subtle-pulse 8s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.08; }
}

.code-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    padding-right: 5%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #667eea;
}

.code-line {
    animation: slideCode 15s infinite linear;
    opacity: 0.3;
}

.code-line:nth-child(2) { animation-delay: 3s; }
.code-line:nth-child(3) { animation-delay: 6s; }
.code-line:nth-child(4) { animation-delay: 9s; }
.code-line:nth-child(5) { animation-delay: 12s; }

@keyframes slideCode {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(-100px);
        opacity: 0;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    animation: bounceIn 1s ease-out;
}

.badge-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Creative Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.title-main {
    font-size: 4rem;
    animation: slideInLeft 1s ease-out;
}

.title-sub {
    font-size: 2rem;
    opacity: 0.8;
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(118, 75, 162, 0.5);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
}

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

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

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Terminal Window */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.9s both;
}

.terminal-window {
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    border: 1px solid #333;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    width: 100%;
    box-sizing: border-box;
}

.terminal-header {
    background: #2d2d2d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #444;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.btn-close {
    background: #ff5f57;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #28ca42;
}

.terminal-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    background: #1a1a1a;
    color: #00ff00;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prompt {
    color: #667eea;
    font-weight: bold;
}

.command {
    color: #fff;
}

.output {
    color: #888;
}

.output.success {
    color: #00ff00;
}

.terminal-output {
    opacity: 0;
    animation: fadeInTerminal 0.5s ease-in-out forwards;
}

.terminal-output:nth-child(2) { animation-delay: 0.8s; }
.terminal-output:nth-child(3) { animation-delay: 1.2s; }
.terminal-output:nth-child(4) { animation-delay: 1.6s; }
.terminal-output:nth-child(5) { animation-delay: 2s; }
.terminal-output:nth-child(6) { animation-delay: 2.4s; }
.terminal-output:nth-child(7) { animation-delay: 2.8s; }

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

#typed-command {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typeCommand 1.5s steps(35) 0.3s forwards;
}

@keyframes typeCommand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.cursor-blink {
    color: #00ff00;
    animation: cursorBlink 1s infinite;
    font-family: monospace;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

#current-line {
    opacity: 0;
    animation: fadeInTerminal 0.5s ease-in-out 3.2s forwards;
}


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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.server-icon {
    font-size: 15rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

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

/* Services Section */
.services {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(145deg, #3b4b63 0%, #2a3441 100%);
}

.service-card {
    opacity: 0;
    animation: cardFadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.15s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.45s; }
.service-card:nth-child(8) { animation-delay: 0.55s; }
.service-card:nth-child(9) { animation-delay: 0.65s; }

@keyframes cardFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 1rem;
    background-color: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.service-card h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* References Section */
.references {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.references::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(100, 179, 244, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: subtle-pulse 8s ease-in-out infinite;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.reference-item {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reference-item:nth-child(1) { animation-delay: 0.2s; }
.reference-item:nth-child(2) { animation-delay: 0.4s; }
.reference-item:nth-child(3) { animation-delay: 0.6s; }

.reference-logo {
    width: 100%;
    max-width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(102, 126, 234, 0.1);
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
    transition: left 0.8s;
}

.logo-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reference-logo a:hover .logo-container::before {
    left: 100%;
}

.reference-logo a:hover .logo-container::after {
    opacity: 1;
}

.reference-logo a:hover .logo-container {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
    background: linear-gradient(145deg, #2a3441 0%, #3b4b63 100%);
}

.client-logo {
    max-width: 90%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.reference-logo a:hover .client-logo {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.1);
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 18px;
}

.reference-logo a:hover .logo-overlay {
    opacity: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0f172a;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #f1f5f9;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.skill-item span {
    color: #e2e8f0;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #1e293b;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.8s;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.contact-item:hover .contact-icon::before {
    left: 100%;
}

.contact-item:hover .contact-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #7c8ae8 0%, #8b5fc7 100%);
}

.contact-details h4 {
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #94a3b8;
    margin-bottom: 0;
}

.contact-details a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
}

.contact-details a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.contact-form {
    background: #334155;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #475569;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #1e293b;
    color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

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

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .hero-container {
        gap: 3rem;
    }
}

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .title-main {
        font-size: 2.2rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        justify-content: center;
    }

    .terminal-window {
        font-size: 14px;
        margin: 0 auto;
        max-width: 100%;
        overflow-x: auto;
    }


    .code-rain {
        display: none;
    }

    .hero-visual {
        order: 1;
        margin-top: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .server-icon {
        font-size: 8rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reference-logo {
        max-width: 300px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

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

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

    .title-sub {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 10px;
        text-align: center;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

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

    .about-stats {
        flex-direction: column;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }


    .terminal-window {
        font-size: 16px;
        margin: 0;
        max-width: 100%;
        overflow-x: auto;
        box-sizing: border-box;
    }

    .terminal-body {
        padding: 15px 10px;
        font-size: 12px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .terminal-line {
        font-size: 11px;
        word-break: break-all;
    }

    .command {
        font-size: 10px;
    }

    .services,
    .about,
    .contact,
    .references {
        padding: 60px 0;
    }

    .reference-logo {
        height: 120px;
    }

}

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

    .title-main {
        font-size: 1.8rem;
    }

    .title-sub {
        font-size: 1rem;
    }

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

    .service-card {
        padding: 1rem 0.75rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .nav-menu {
        padding: 1.5rem 0;
    }

    .nav-link {
        padding: 0.75rem 0;
        display: block;
    }


    .contact-item {
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

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

.service-card,
.contact-item,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-cookie.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-cookie.btn-secondary {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-cookie.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1rem;
    }

    .cookie-text h4 {
        font-size: 1rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.hero-content,
.hero-image {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    animation-delay: 0.3s;
}

/* Language Toggle Styles */
.language-toggle {
    margin-left: 1.5rem;
}

.language-cycle-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(51, 65, 85, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.language-cycle-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.language-cycle-btn:active {
    transform: scale(0.95);
}

.current-flag {
    font-size: 1.4rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.language-cycle-btn:hover .current-flag {
    transform: scale(1.1);
}

/* Mobile navigation adjustments for language toggle */
@media (max-width: 768px) {
    .language-toggle {
        margin-left: 0;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
    }

    .nav-menu.active .language-toggle {
        order: 99;
        padding-top: 1rem;
        border-top: 1px solid rgba(51, 65, 85, 0.6);
        margin-top: 1rem;
    }
}