.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    /* Adjust as needed */
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    /* Subtle overlay */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.slide-title {
    font-size: 4.3em;
    font-weight: bold;
    color: var(--text-color);
    background-color: var(--blue-color);
    padding: 10px 20px;
    z-index: 3;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out, transform 0.6s ease-out;
    transform: translateY(-20px);
    border-radius: 10px;
    transform: rotate(-90deg);
}

.slide-subtitle {
    font-size: 2.5em;
    font-weight: bold;
    padding: 10px 20px;
    margin-bottom: 30px;
    color: var(--text-color);
    background-color: var(--yellow-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 3;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.6s ease-in-out 0.2s, visibility 0.6s ease-in-out 0.2s, transform 0.6s ease-out 0.2s;
    transform: translateY(20px);
    font-family: 'Baloo', sans-serif;
    border-radius: 10px;
}

.slide-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--red-color);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.4em;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.6s ease-in-out 0.4s, visibility 0.6s ease-in-out 0.4s, transform 0.6s ease-out 0.4s, background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    z-index: 3;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    transform: scale(0.8);
    font-family: Baloo, cursive;
    font-size: 20px;
}

.slide-button i {
    margin-left: 10px;
}

.swiper-slide-active .slide-title,
.swiper-slide-active .slide-subtitle,
.swiper-slide-active .slide-button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Swiper navigation styles */
.swiper-button-prev,
.swiper-button-next {
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 0.8em;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #e64a19;
}

.swiper-pagination {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.swiper-pagination-bullet-active {
    background-color: #ffb300;
}

/* Animated Icons */
.floating-icon {
    position: absolute;
    font-size: 2.5em;
    color: #ffca28;
    /* Yellow accent */
    opacity: 0.7;
    animation: float-bob 3s infinite alternate;
    z-index: 5;
}

.icon-toy {
    top: 10%;
    left: 5%;
}

.icon-balloon {
    top: 30%;
    right: 10%;
    color: #f44336;
    animation-delay: 1s;
}

.icon-star {
    bottom: 15%;
    left: 25%;
    color: #673ab7;
    animation-delay: 0.5s;
}

.icon-heart {
    bottom: 35%;
    right: 15%;
    color: #e91e63;
    animation-delay: 1.5s;
}

.icon-puzzle {
    top: 45%;
    right: 5%;
    color: #4caf50;
    animation-delay: 2s;
}

@keyframes float-bob {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

@media(max-width:900px) {

    .icon-toy {
        top: 10%;
        left: 2%;
        width: 100px;
    }
    .icon-balloon {
        top: 70%;
        right: 3%;
        color: #f44336;
        animation-delay: 1s;
        width: 120px;
    }
    .icon-puzzle {
        top: 25%;
        right: 0%;
        color: #4caf50;
        animation-delay: 2s;
        width: 100px;
    }

    .slide-title {
        font-size: 2.7em;
        font-weight: bold;
        color: var(--text-color);
        background-color: var(--blue-color);
        padding: 10px 20px;
        z-index: 3;
        opacity: 0;
        /* Initially hidden */
        visibility: hidden;
        transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out, transform 0.6s ease-out;
        transform: translateY(-20px);
        border-radius: 10px;
        transform: rotate(-90deg);
    }
    
    .slide-subtitle {
        font-size: 1.5em;
        font-weight: bold;
        padding: 10px 20px;
        margin-bottom: 30px;
        color: var(--text-color);
        background-color: var(--yellow-color);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 3;
        opacity: 0;
        /* Initially hidden */
        visibility: hidden;
        transition: opacity 0.6s ease-in-out 0.2s, visibility 0.6s ease-in-out 0.2s, transform 0.6s ease-out 0.2s;
        transform: translateY(20px);
        font-family: 'Baloo', sans-serif;
        border-radius: 10px;
    }
    
    .slide-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--red-color);
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 1.5em;
        border-radius: 10px;
        cursor: pointer;
        transition: opacity 0.6s ease-in-out 0.4s, visibility 0.6s ease-in-out 0.4s, transform 0.6s ease-out 0.4s, background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
        z-index: 3;
        opacity: 0;
        /* Initially hidden */
        visibility: hidden;
        transform: scale(0.8);
        font-family: Baloo, cursive;
    }
}


/* ==== CATEGORY SLIDER ==== */

/* CARD CATEGORY*/
.card-category {
    margin-top: 30px;
    height: 100% !important;
    position: relative;
}

.card-category .card-dots {}

.image-category {
    height: 300px !important;
    border-radius: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: .2;
    border-radius: 20px;
}

.image-category img {
    height: 100%;
    width: 100% !important;
    object-fit: cover !important;
    opacity: 1;
    border-radius: 20px;
}

.category-body {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.category-body .category-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
}

@media(max-width:800px) {
    .category-body .category-title {
        font-size: 20px;
        font-weight: 700;
        color: white;
    }
}



/* OWL CASOUSEL */

.col-carousel {
    margin: 0 0;
}

/* owl nav */
.owl-prev span,
.owl-next span {
    border-radius: 100px;
    padding: 10px 13px;
    outline: 3px dashed white;
    color: #FFF;
}

.owl-prev span:hover,
.owl-next span:hover {
    color: #8199A3;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 0;
    height: 100%;
}

.owl-prev {
    left: 7px;
}

.owl-next {
    right: 7px;
}