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

:root {
    /* Bold Tech Palette */
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(139, 92, 246, 0.3), 0 4px 6px -2px rgba(139, 92, 246, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(139, 92, 246, 0.4), 0 10px 10px -5px rgba(139, 92, 246, 0.2);
    --shadow-2xl: 0 25px 50px -12px rgba(139, 92, 246, 0.5);
    --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 30%, #7c3aed 60%, #a78bfa 100%);
    --glow: 0 0 20px rgba(139, 92, 246, 0.5);
}

[data-theme="dark"] {
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --border-color: #374151;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 60%, #4c1d95 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Navigation - Glass Morphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 106, 167, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 106, 167, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.7);
    border-bottom: 1px solid rgba(0, 106, 167, 0.2);
}

.navbar.scrolled {
    box-shadow: 0 8px 32px var(--shadow);
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.9);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* Light Mode Logo - visible in light theme */
.logo-icon-light {
    display: block;
}

.logo-icon-dark {
    display: none;
}

[data-theme="dark"] .logo-icon-light {
    display: none;
}

[data-theme="dark"] .logo-icon-dark {
    display: block;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.9));
    }
}

/* Light mode glow animation */
.logo-icon-light {
    animation: logoGlowLight 3s ease-in-out infinite;
}

@keyframes logoGlowLight {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(8, 145, 178, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(8, 145, 178, 0.8));
    }
}

/* Dark mode glow animation */
.logo-icon-dark {
    animation: logoGlowDark 3s ease-in-out infinite;
}

@keyframes logoGlowDark {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.9));
    }
}

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

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0891b2;
    letter-spacing: -1px;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 8px rgba(8, 145, 178, 0.4);
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.logo:hover .logo-text {
    text-shadow: 0 0 12px rgba(8, 145, 178, 0.7);
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0891b2;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 2px;
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* Dark mode logo text colors */
[data-theme="dark"] .logo-text {
    color: #06b6d4;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

[data-theme="dark"] .logo:hover .logo-text {
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
}

[data-theme="dark"] .logo-subtitle {
    color: #06b6d4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-controls-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 0;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 4px;
    border: 2px solid var(--border-color);
}


[data-theme="dark"] .language-switcher {
    background: var(--bg-light);
    border-color: var(--border-color);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover {
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.lang-btn.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.lang-btn.active:hover {
    color: white;
    background: var(--gradient-1);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--text-dark);
    stroke: var(--text-dark);
    fill: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .theme-toggle svg {
    color: var(--text-dark);
    stroke: var(--text-dark);
}

.theme-toggle:hover svg {
    color: white;
    stroke: white;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .menu-toggle span {
    background: var(--text-dark);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-color);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--primary-color);
}

/* Hero Section - Bold & Geometric */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--radial-gradient-1, radial-gradient(circle, rgba(0, 106, 167, 0.3) 0%, transparent 70%));
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--radial-gradient-2, radial-gradient(circle, rgba(254, 204, 0, 0.3) 0%, transparent 70%));
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay, linear-gradient(135deg, rgba(0, 61, 91, 0.95) 0%, rgba(0, 106, 167, 0.95) 50%, rgba(0, 120, 191, 0.95) 100%));
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 25s infinite ease-in-out;
    border: 1px solid rgba(var(--primary-color-rgb, 0, 106, 167), 0.2);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    transform: rotate(-30deg);
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 25%;
    animation-delay: 10s;
    transform: rotate(60deg);
}

.shape-4 {
    width: 180px;
    height: 180px;
    top: 35%;
    right: 35%;
    animation-delay: 15s;
    transform: rotate(-45deg);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(40px, -40px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 950px;
    margin: 0 auto;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 1s ease 0.3s both;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.btn {
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.05);
    border-color: white;
}

.btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    stroke: currentColor;
    fill: none;
}

.btn-primary svg {
    stroke: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary svg {
    stroke: white;
    color: white;
}

.btn:hover svg {
    transform: translateX(6px);
}


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

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 5px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

/* Section Background Animations */
.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.section-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb, 0, 106, 167), 0.08);
    backdrop-filter: blur(20px);
    animation: sectionFloat 20s infinite ease-in-out;
    border: 1px solid rgba(var(--primary-color-rgb, 0, 106, 167), 0.15);
}

.section-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.section-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: -3%;
    animation-delay: 7s;
    animation-duration: 30s;
}

.section-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
    animation-duration: 22s;
}

.section-gradient {
    position: absolute;
    border-radius: 50%;
    animation: sectionPulse 15s infinite ease-in-out;
    opacity: 0.4;
}

.section-gradient-1 {
    width: 500px;
    height: 500px;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb, 0, 106, 167), 0.2) 0%, transparent 70%);
    animation-delay: 0s;
}

.section-gradient-2 {
    width: 400px;
    height: 400px;
    bottom: -15%;
    left: -8%;
    background: radial-gradient(circle, rgba(var(--secondary-color-rgb, 254, 204, 0), 0.15) 0%, transparent 70%);
    animation-delay: 5s;
    animation-duration: 18s;
}

@keyframes sectionFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.75;
    }
}

@keyframes sectionPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

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

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -2px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Services Section - Card Grid with Hover Effects */
.services {
    padding: 140px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .service-card {
    background: var(--bg-white);
    border-color: var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

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

.service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #111827;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .service-icon {
    color: white;
}

[data-theme="light"] .service-icon {
    color: #111827;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.15);
    box-shadow: var(--shadow-xl);
}

.service-icon svg {
    width: 56px;
    height: 56px;
    color: inherit;
}

.service-icon svg {
    fill: currentColor;
}

.service-icon svg path[fill="currentColor"],
.service-icon svg rect[fill="currentColor"],
.service-icon svg circle[fill="currentColor"] {
    fill: currentColor;
}

.service-icon svg path[stroke],
.service-icon svg line[stroke],
.service-icon svg polyline[stroke] {
    stroke: white;
    fill: none;
}

[data-theme="dark"] .service-icon svg {
    color: var(--primary-color);
}

[data-theme="light"] .service-icon svg {
    color: var(--primary-color);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.service-card:hover .service-link {
    transform: translateX(8px);
    color: var(--primary-dark);
}

    font-size: 1.1rem;
}


/* About Section */
.about {
    padding: 140px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 650px;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

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

.image-placeholder {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    border: 2px solid rgba(var(--primary-color-rgb, 0, 106, 167), 0.2);
    box-shadow: 0 20px 60px rgba(var(--primary-color-rgb, 0, 106, 167), 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.image-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(var(--primary-color-rgb, 0, 106, 167), 0.25);
    border-color: rgba(var(--primary-color-rgb, 0, 106, 167), 0.4);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    z-index: 1;
    position: relative;
}

/* Contact Section */
.contact {
    padding: 140px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

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

.contact-item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact-item {
    background: var(--bg-light);
    border-color: var(--border-color);
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .contact-icon {
    color: white;
}

[data-theme="light"] .contact-icon {
    color: #111827;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor !important;
    fill: none !important;
    color: inherit;
}

.contact-icon svg * {
    stroke: currentColor !important;
    fill: none !important;
}

[data-theme="dark"] .contact-icon svg {
    stroke: white !important;
    color: white;
}

[data-theme="light"] .contact-icon svg {
    stroke: #111827 !important;
    color: #111827;
}

.contact-details h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-family: 'Space Grotesk', sans-serif;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-light);
    border-color: var(--border-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--bg-white);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .footer {
    background: #0f172a;
    color: #f9fafb;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
}

[data-theme="light"] .footer {
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.footer-section .logo-text {
    color: #0891b2;
    text-shadow: 0 0 8px rgba(8, 145, 178, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

[data-theme="dark"] .footer-section .logo-text {
    color: #06b6d4;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.footer-section .logo-subtitle {
    color: #0891b2;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-section .logo-subtitle {
    color: #06b6d4;
}

.footer-section .logo-icon {
    width: 45px;
    height: 45px;
}

.footer-section .logo-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .footer-section .logo-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-section .logo-subtitle {
    color: var(--text-light);
}

.footer-description {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

[data-theme="dark"] .footer-description {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-description {
    color: var(--text-light);
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

[data-theme="dark"] .footer-title {
    color: #ffffff;
}

[data-theme="light"] .footer-title {
    color: var(--text-dark);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 1.05rem;
}

[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
    padding-left: 8px;
}

[data-theme="dark"] .footer-links a:hover {
    color: #ffffff;
}

[data-theme="light"] .footer-links a:hover {
    color: var(--primary-color);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .social-link {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="light"] .social-link {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-5px) rotate(10deg);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

[data-theme="dark"] .social-link:hover {
    color: #ffffff;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Reduce logo size on mobile */
    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2.5rem;
        box-shadow: var(--shadow-xl);
        transition: left 0.3s ease;
        gap: 2rem;
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(17, 24, 39, 0.98);
    }

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

    .hero {
        padding: 120px 0 80px;
    }

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

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

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

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

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

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

    .floating-shapes {
        display: none;
    }

    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-shape {
        width: 150px !important;
        height: 150px !important;
    }
    
    .section-gradient {
        width: 300px !important;
        height: 300px !important;
    }

    /* Show language switcher and theme toggle on mobile, but smaller */
    .nav-actions {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .nav-controls-group {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-actions .language-switcher {
        display: flex;
    }

    /* Reduce button sizes on mobile */
    .theme-toggle {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .language-switcher {
        padding: 2px;
        border-radius: 8px;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
        border-radius: 5px;
    }
}

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

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

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

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

}
