/* Custom CSS for Little Explorers Kindergarten */

/* Google Fonts (Optional, if you want specific fonts not in Tailwind defaults) */
/* @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&family=Poppins:wght@400;600;700&display=swap'); */

/* body {
    font-family: 'Quicksand', sans-serif; 
}

h1, h2, h3, .font-bold, .font-extrabold {
    font-family: 'Poppins', sans-serif; 
} */

/* Basic Custom Animations for Hero Section */
@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-down {
    animation: fade-in-down 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
}

.animate-fade-in-right {
    animation: fade-in-right 0.8s ease-out 0.4s forwards;
}

/* Aspect Ratio for iframe if Tailwind's aspect-ratio plugin isn't used */
.aspect-w-16 {
    position: relative;
    width: 100%;
}

.aspect-h-9 {
    padding-bottom: 56.25%; /* 9 / 16 * 100 */
    height: 0;
}

.aspect-w-16 iframe,
.aspect-h-9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hero Slider Specific Styles */
.slider-slide {
    opacity: 0;
    visibility: hidden;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative; /* Keep active slide in normal flow for content positioning */
}

/* Reapply animations to active slider content */
.slider-slide.active .animate-fade-in-down {
    animation: fade-in-down 0.8s ease-out forwards;
}
.slider-slide.active .animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
}
.slider-slide.active .animate-fade-in-right {
    animation: fade-in-right 0.8s ease-out 0.4s forwards;
}

.slider-pagination-dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-pagination-dot.active {
    background-color: white;
}
