/* Custom animations and tech-y styles */

:root {
    --primary-blue: #2563eb;
    --accent-cyan: #06b6d4;
    --dark-navy: #1e3a8a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-glass {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo rotation on hover */
.logo-rotate {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.logo-rotate:hover {
    transform: rotate(45deg);
}

/* Custom transitions */
.transition-all {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated background gradient for hero */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Hover effect for service cards */
.group:hover .group-hover\:translate-y-[-10px] {
    transform: translateY(-10px);
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse effect for subtle tech feel */
@keyframes techPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.pulse-blue {
    animation: techPulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Hero section specific tweaks */
#home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 15;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
}
 
.square-media {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
