/* Custom animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blueShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

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

.animate-gradient {
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.text-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.tech-grid-bg {
    background-image: 
        linear-gradient(rgba(30, 64, 175, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 64, 175, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.subtle-pattern-bg {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(30, 64, 175, 0.15),
        0 10px 30px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.glow-blue {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.15);
}

.glow-orange {
    box-shadow: 
        0 0 20px rgba(249, 115, 22, 0.3),
        0 0 40px rgba(249, 115, 22, 0.15);
}

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

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

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle-blue {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
}

.particle-orange {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, rgba(249, 115, 22, 0.1) 70%, transparent 100%);
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.light-bg {
    background: 
        radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 25%, #f8fafc 50%, #f5f6f7 75%, #f9fafb 100%);
}

.modern-border {
    border: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    backdrop-filter: blur(10px);
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Language selector */
.language-dropdown {
    display: none;
}

.language-dropdown.show {
    display: block;
}

/* Modern button styles */
.btn-modern {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 8px 32px rgba(30, 64, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 
        0 12px 40px rgba(30, 64, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Glass effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

/* Dark glass effect for dark backgrounds */
.glass-effect-dark {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

/* Navigation text color transitions */
.nav-text-light {
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-text-light:hover {
    color: #2563eb;
}

.nav-text-dark {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.nav-text-dark:hover {
    color: #60a5fa;
}

.nav-text-active-light {
    color: #2563eb;
}

.nav-text-active-dark {
    color: #60a5fa;
}

/* Dark theme styles */
.bg-dark-800 {
    background-color: rgba(31, 41, 55, 0.8);
}

.bg-dark-900 {
    background-color: rgba(17, 24, 39, 1);
}

.border-dark-700 {
    border-color: rgba(55, 65, 81, 1);
}

.text-primary-400 {
    color: #60a5fa;
}

.text-accent-purple {
    color: #a855f7;
}

.text-accent-blue {
    color: #0ea5e9;
}

.text-accent-silver {
    color: #94a3b8;
}

.cosmic-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.enterprise-border {
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.glow-gold {
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.3),
        0 0 40px rgba(251, 191, 36, 0.15);
}

/* Font family */
body { 
    font-family: 'Inter', system-ui, sans-serif; 
}
