/* 
 * CSS Animations for domain.com
 */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Hero elements fade in sequence */
.hero h2 {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero p {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero .btn {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1s;
}

/* Pulse Animation for CTA */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 180, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 180, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 180, 0, 0);
    }
}

.btn-primary:hover {
    animation: pulse 1.5s infinite;
}

/* Testimonial animations removed as requested - fixed cards */

/* Service Card Hover Animation */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Form Input Focus Animation */
.form-control:focus {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* FAQ Accordion Animation */
.faq-question {
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #004b70;
}

/* Animation for section entry */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
