/* Custom animations */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0A99E0, #2563eb);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #0A99E0, #1d4ed8);
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-md {
        backdrop-filter: blur(12px);
    }
    .backdrop-blur-sm {
        backdrop-filter: blur(4px);
    }
}

/* Gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

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

/* Portfolio item hover effect */
.portfolio-item {
    overflow: hidden;
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Team member hover effect */
.team-member img {
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.team-member:hover img {
    filter: grayscale(0%);
}

/* Button hover effects */
button, .btn {
    transition: all 0.3s ease;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0.5;
}

/* Process step connector */
.process-step {
    position: relative;
}

/* Testimonial card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Stats animation on scroll */
.stat-number {
    transition: all 0.5s ease;
}

/* Footer links */
footer a {
    transition: color 0.3s ease;
}

/* Hero section gradient animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet-specific adjustments */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    /* Adjust service cards for tablets */
    .service-card {
        padding: 1.5rem;
    }
    
    /* Team member spacing on tablets */
    #team-grid {
        gap: 2rem;
    }
    
    /* Footer adjustments for tablets */
    footer .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Utility classes */
.container {
    max-width: 1280px;
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
}
