
/* Custom CSS for WordPress Website Service */

/*
   DO NOT use inline styles or embedded CSS.
   All custom styles beyond Tailwind should be here.
*/

/* --- General Body & Font Styling --- */
body {
    font-family: 'Inter', sans-serif; /* A modern, readable sans-serif font */
    line-height: 1.6;
    color: #333;
}

/* --- Hero Section Specific Styles & Animations --- */
/* Custom background pattern for Hero Section (subtle squares/dots) */
.custom-bg-pattern {
    background-image: radial-gradient(#d3e3ff 1px, transparent 1px),
                      radial-gradient(#d3e3ff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.1; /* Very subtle */
}

/* Animated gradient background for Hero */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-shift {
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Fade In Up Animation for Hero Text */
@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInFromBottom 0.8s ease-out forwards;
    opacity: 0; /* Ensure it starts invisible */
}

.animate-fade-in-up.delay-150 {
    animation-delay: 0.15s;
}

.animate-fade-in-up.delay-300 {
    animation-delay: 0.3s;
}


/* --- Service Card Hover Effects --- */
.service-card {
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Larger shadow */
}

.service-card .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* --- How It Works Section Animation --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-in.delay-100 { animation-delay: 0.1s; }
.animate-fade-in.delay-200 { animation-delay: 0.2s; }
.animate-fade-in.delay-300 { animation-delay: 0.3s; }
.animate-fade-in.delay-400 { animation-delay: 0.4s; }


/* --- Why Choose Us Section Animations --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 0.7s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-left.delay-100 { animation-delay: 0.1s; }
.animate-slide-in-left.delay-200 { animation-delay: 0.2s; }
.animate-slide-in-left.delay-300 { animation-delay: 0.3s; }
.animate-slide-in-left.delay-400 { animation-delay: 0.4s; }
.animate-slide-in-left.delay-500 { animation-delay: 0.5s; }


/* --- Testimonial Card Animations --- */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/* --- Sticky WhatsApp Button Animation --- */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Pulse animation for CTA button */
@keyframes pulseOnce {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7); /* Green-400 with opacity */
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(110, 231, 183, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0);
    }
}

.animate-pulse-once {
    animation: pulseOnce 1.5s ease-out; /* Run once on load/scroll into view */
}


/* --- FAQ Accordion Specifics --- */
.faq-content {
    max-height: max-content;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-content.hidden {
    max-height: 0 !important; /* Ensure it collapses */
    padding-top: 0;
    padding-bottom: 0;
}

/* Styling for rotated icon */
.faq-toggle i.rotate-180 {
    transform: rotate(180deg);
}

/* Responsive navigation for mobile */
@media (max-width: 767px) {
    header nav {
        display: none; /* Hidden by default on mobile, toggled by JS */
    }
    header nav.flex {
        display: flex;
    }
}
i.fab.fa-whatsapp.text-2xl {
    font-size: 2.5rem;
    line-height: 2rem;
}