/* ===== Services Page ===== */

/* ===== Hero Banner Animation ===== */
.hero-banner-content {
    opacity: 0;
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner-content span {
    animation-delay: 0.2s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content h1 {
    animation-delay: 0.4s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content p {
    animation-delay: 0.6s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content .flex {
    animation-delay: 0.8s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ===== Services Grid ===== */
.service-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.service-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    background: rgba(135, 206, 235, 0.2);
    transform: scale(1.05) rotate(-3deg);
}

/* ===== Grid Background ===== */
.grid-bg {
    position: relative;
    overflow: hidden;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(135, 206, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135, 206, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(135, 206, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(135, 206, 235, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(135, 206, 235, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.grid-bg .container,
.grid-bg .relative.z-10 {
    position: relative;
    z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
}