@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

.gradient-bg-secondary {
    background: linear-gradient(-45deg, #a8edea, #fed6e3, #ffecd2, #fcb69f, #667eea, #764ba2);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite reverse;
}

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

/* Floating Shapes - Reduced for better focus */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    top: 15%;
    left: 5%;
    animation-delay: -2s;
}

.floating-shape:nth-child(2) {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    bottom: 25%;
    right: 10%;
    animation-delay: -4s;
}

/* Removed third floating shape to reduce distraction */

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .floating-shape {
        animation: none;
    }
    .gradient-bg, .gradient-bg-secondary {
        background: linear-gradient(-45deg, #667eea, #764ba2);
        animation: none;
    }
}

/* Service Cards */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.it-services-highlight {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.9) 0%, 
        rgba(118, 75, 162, 0.9) 25%,
        rgba(240, 147, 251, 0.9) 50%,
        rgba(245, 87, 108, 0.9) 75%,
        rgba(79, 172, 254, 0.9) 100%
    );
    position: relative;
}

.it-services-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    border-radius: inherit;
    pointer-events: none;
}

.badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tech Icons */
.tech-icon {
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
}

/* Performance Optimized CSS */
.service-card {
    will-change: transform;
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

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

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

.glow-effect {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}