/* Custom Styles for Ameya Smart Technologies */

html {
    scroll-behavior: smooth;
}

/* Hero Section Animated Background */
.hero-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E40AF 100%);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    animation: float 12s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #3B82F6;
    border-radius: 50%;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #06B6D4;
    border-radius: 50%;
    animation-delay: -5s;
    animation-duration: 15s;
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: #4F46E5;
    border-radius: 50%;
    animation-delay: -2s;
    animation-duration: 10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(50px, 50px) scale(1.05); }
}

/* Service Cards Custom Hover Effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

.service-icon-wrapper {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    background-color: #2563EB; /* primary */
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card:nth-child(2):hover .service-icon-wrapper {
    background-color: #4F46E5; /* secondary */
}

.service-card:nth-child(3):hover .service-icon-wrapper {
    background-color: #06B6D4; /* accent */
}

.service-card:nth-child(4):hover .service-icon-wrapper {
    background-color: #2563EB; 
}

.service-card:nth-child(5):hover .service-icon-wrapper {
    background-color: #4F46E5; 
}

.service-card:nth-child(6):hover .service-icon-wrapper {
    background-color: #06B6D4; 
}

/* Custom dot pattern background for About section */
.bg-dots {
    background-image: radial-gradient(#CBD5E1 2px, transparent 2px);
    background-size: 20px 20px;
}
