/* ===== Custom animations for Services ===== */
@keyframes glowText {
    0%,
    100% {
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    }

    50% {
        text-shadow: 0 0 40px rgba(0, 255, 0, 0.25);
    }
}

@keyframes videoPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.section-title .title-accent {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00ff80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowText 2s ease-in-out infinite;
}

.service-view-btn i {
    transition: transform 0.4s ease;
}

.service-card:hover .service-view-btn i {
    transform: rotate(-45deg);
}

/* Service subtitle: match title alignment on large screens */
#services .service-subtitle-mobile-hidden {
    text-align: center;
    max-width: 100%;
}

@media (max-width: 768px) {
    #services .service-subtitle-mobile-hidden,
    #services .service-subtitle-mobile-hidden * {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .section-title .title-primary,
    .section-title .title-accent {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .service-card .relative.h-60 {
        height: 160px;
    }

    .service-card .p-6 {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}
