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

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-blue: #3b82f6;
    --dark-bg: #0f0f23;
    --darker-bg: #0a0a1a;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #f8fafc;
    --background-light: #f9fafb;
    --background-dark: #111827;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --neon-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-neon: linear-gradient(135deg, #8b5cf6, #06b6d4, #10b981);
    --gradient-dark: linear-gradient(135deg, #0f0f23, #1e1b4b, #312e81);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 92, 246, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: -2px;
}

.logo-img {
    height: 180px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-logo-text {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding-top: 220px;
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,92,246,0.2)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite alternate;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    background: linear-gradient(45deg, var(--primary-color), var(--neon-pink));
    animation-delay: 0s;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 85%;
    background: linear-gradient(45deg, var(--secondary-color), var(--neon-green));
    animation-delay: 2s;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
}

.element-3 {
    width: 40px;
    height: 40px;
    top: 80%;
    left: 20%;
    background: linear-gradient(45deg, var(--neon-green), var(--accent-color));
    animation-delay: 4s;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 80%;
    background: linear-gradient(45deg, var(--neon-pink), var(--primary-color));
    animation-delay: 1s;
    box-shadow: 0 0 50px rgba(236, 72, 153, 0.4);
}

.element-5 {
    width: 50px;
    height: 50px;
    top: 40%;
    left: 5%;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    animation-delay: 3s;
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.4);
}

.element-6 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 90%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green));
    animation-delay: 5s;
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.4);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 1; 
    }
}

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

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    to { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

.hero-badge i {
    color: var(--neon-green);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.highlight {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.feature-item i {
    color: var(--neon-green);
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn i {
    transition: transform 0.3s ease;
}

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

.btn-primary {
    background: var(--gradient-neon);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.hero-graphic {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-orb {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 3;
}

.orb-inner {
    width: 100%;
    height: 100%;
    background: var(--gradient-neon);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

.orb-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

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

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.light-beam {
    position: absolute;
    width: 6px;
    height: 150px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.8), rgba(6, 182, 212, 0.4), transparent);
    transform-origin: bottom center;
    animation: beam 3s ease-in-out infinite;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.beam-2 {
    transform: rotate(60deg);
    animation-delay: 0.5s;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.8), rgba(16, 185, 129, 0.4), transparent);
}

.beam-3 {
    transform: rotate(120deg);
    animation-delay: 1s;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.8), rgba(245, 158, 11, 0.4), transparent);
}

.beam-4 {
    transform: rotate(180deg);
    animation-delay: 1.5s;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.8), rgba(236, 72, 153, 0.4), transparent);
}

.beam-5 {
    transform: rotate(240deg);
    animation-delay: 2s;
    background: linear-gradient(to bottom, rgba(236, 72, 153, 0.8), rgba(59, 130, 246, 0.4), transparent);
}

.beam-6 {
    transform: rotate(300deg);
    animation-delay: 2.5s;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.4), transparent);
}

@keyframes beam {
    0%, 100% { opacity: 0.4; transform: scaleY(1) rotate(var(--rotation, 0deg)); }
    50% { opacity: 1; transform: scaleY(1.5) rotate(var(--rotation, 0deg)); }
}

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

.tech-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: white;
    backdrop-filter: blur(15px);
    animation: icon-float 4s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.tech-icon:hover {
    transform: translateY(-8px) scale(1.15) rotate(3deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.icon-1 {
    top: 15%;
    left: 15%;
    background: linear-gradient(135deg, #ee0000, #ff4444);
    border-color: rgba(238, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(238, 0, 0, 0.4);
    animation-delay: 0s;
}

.icon-2 {
    top: 15%;
    right: 15%;
    background: linear-gradient(135deg, #326ce5, #4285f4);
    border-color: rgba(50, 108, 229, 0.5);
    box-shadow: 0 0 20px rgba(50, 108, 229, 0.4);
    animation-delay: 0.5s;
}

.icon-3 {
    top: 50%;
    left: 5%;
    background: linear-gradient(135deg, #3776ab, #ffd43b);
    border-color: rgba(55, 118, 171, 0.5);
    box-shadow: 0 0 20px rgba(55, 118, 171, 0.4);
    animation-delay: 1s;
}

.icon-4 {
    top: 50%;
    right: 5%;
    background: linear-gradient(135deg, #ff9900, #232f3e);
    border-color: rgba(255, 153, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.4);
    animation-delay: 1.5s;
}

.icon-5 {
    bottom: 15%;
    left: 15%;
    background: linear-gradient(135deg, #0db7ed, #384d54);
    border-color: rgba(13, 183, 237, 0.5);
    box-shadow: 0 0 20px rgba(13, 183, 237, 0.4);
    animation-delay: 2s;
}

.icon-6 {
    bottom: 15%;
    right: 15%;
    background: linear-gradient(135deg, #68217a, #9d4edd);
    border-color: rgba(104, 33, 122, 0.5);
    box-shadow: 0 0 20px rgba(104, 33, 122, 0.4);
    animation-delay: 2.5s;
}

.icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

.icon-5 {
    top: 50%;
    left: 5%;
    animation-delay: 1.5s;
}

.icon-6 {
    top: 50%;
    right: 5%;
    animation-delay: 2.5s;
}

@keyframes icon-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-15px) rotate(10deg); 
        opacity: 1; 
    }
}

@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 8rem 0 6rem 0;
    background: var(--background-light);
    position: relative;
    z-index: 10;
    margin-top: -4rem;
}

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

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.image-placeholder {
    width: 250px;
    height: 250px;
    background: var(--gradient-neon);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

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

.service-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #ee0000, #ff4444);
    box-shadow: 0 10px 30px rgba(238, 0, 0, 0.3);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #326ce5, #4285f4);
    box-shadow: 0 10px 30px rgba(50, 108, 229, 0.3);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #0db7ed, #06b6d4);
    box-shadow: 0 10px 30px rgba(13, 183, 237, 0.3);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateY(-2px);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: var(--text-primary);
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.portfolio-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.portfolio-visual {
    height: 240px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.project-graphic {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kubernetes Platform Graphics */
.kubernetes-graphic {
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
}

.k8s-nodes {
    position: relative;
    width: 200px;
    height: 200px;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #326ce5, #4285f4);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(50, 108, 229, 0.5);
    animation: node-pulse 3s ease-in-out infinite;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.k8s-connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.6), rgba(6, 182, 212, 0.6));
    height: 2px;
    border-radius: 1px;
    animation: data-flow 2s linear infinite;
}

.conn-1 { 
    width: 60px; 
    top: 25%; 
    left: 25%; 
    transform: rotate(45deg); 
}

.conn-2 { 
    width: 60px; 
    top: 75%; 
    right: 25%; 
    transform: rotate(-45deg); 
}

.conn-3 { 
    width: 80px; 
    top: 50%; 
    left: 50%; 
    transform: translateX(-50%) translateY(-50%); 
}

@keyframes data-flow {
    0% { box-shadow: 0 0 0 rgba(139, 92, 246, 0.5); }
    50% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.8); }
    100% { box-shadow: 0 0 0 rgba(139, 92, 246, 0.5); }
}

.cloud-logos {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.cloud-logo {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.aws { background: linear-gradient(135deg, #ff9900, #ff7700); }
.azure { background: linear-gradient(135deg, #0078d4, #005a9e); }
.gcp { background: linear-gradient(135deg, #4285f4, #34a853); }

/* CI/CD Pipeline Graphics */
.pipeline-graphic {
    background: linear-gradient(135deg, #0f0f23 0%, #1e1b4b 50%, #312e81 100%);
}

.pipeline-flow {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: step-glow 2s ease-in-out infinite;
}

.step-1 { animation-delay: 0s; }
.step-2 { animation-delay: 0.7s; }
.step-3 { animation-delay: 1.4s; }

@keyframes step-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.8); }
}

.flow-step i {
    font-size: 1.5rem;
    color: var(--neon-green);
}

.flow-step span {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}

.flow-arrow {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
    animation: arrow-flow 2s linear infinite;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--secondary-color);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@keyframes arrow-flow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.pipeline-timer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--neon-green);
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: timer-blink 1s ease-in-out infinite;
}

@keyframes timer-blink {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Monitoring Dashboard Graphics */
.monitoring-graphic {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.dashboard-container {
    width: 90%;
    height: 80%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-area {
    position: relative;
    height: 60%;
    margin-bottom: 15px;
}

.chart-line {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--secondary-color), var(--neon-pink));
    animation: chart-draw 3s ease-in-out infinite;
}

@keyframes chart-draw {
    0% { width: 0%; }
    100% { width: 80%; }
}

.chart-bars {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.bar {
    width: 12px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: bar-grow 2s ease-in-out infinite;
}

.bar-1 { height: 30px; animation-delay: 0s; }
.bar-2 { height: 45px; animation-delay: 0.2s; }
.bar-3 { height: 25px; animation-delay: 0.4s; }
.bar-4 { height: 40px; animation-delay: 0.6s; }

@keyframes bar-grow {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.metrics-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tag {
    display: inline-block;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kubernetes-tag {
    background: linear-gradient(135deg, #326ce5, #4285f4);
    box-shadow: 0 4px 15px rgba(50, 108, 229, 0.3);
}

.devops-tag {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.monitoring-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .logo-img {
        height: 150px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero {
        padding-top: 170px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1500;
    }

    .navbar.scrolled .nav-menu {
        top: 70px;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

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

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

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

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

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

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

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

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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