/* .bg-holiday-img {
    background: url(../assets/imgs/holidayimg.webp) no-repeat center center / cover;
} */
.bg-holiday-img {
    background: url("../assets/imgs/holidayimg.webp") no-repeat center center / cover;
}

.holiday-trip-cards {
    margin: 50px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* align-content: center; */
    flex-wrap: wrap;
    gap: 30px;

}

.holiday-card {
    border-radius: 30px 30px 0px 0px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);

    height: 100%;


}

.holiday-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    /* Slow down the zoom effect */


}

.holiday-card:hover img {
    transform: scale(1.05);
}

.holiday-card h3 {
    /* background-color: rgba(255, 255, 255, 0.8); Semi-transparent white background */
    background-color: white;
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    padding: 13px;
    z-index: 1;
    font-size: var(--font-size-xxl);
    text-align: center;
    font-weight: bold;
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Slow down opacity and movement */

}

.holiday-card p {
    color: white;
    position: absolute;
    /* Position it absolutely within the card */
    bottom: 10px;
    /* Adjust as needed */
    top: -10px;
    left: 0;
    right: 0;
    padding: 10px;
    /* Add some padding for better appearance */
    z-index: 1;
    /* Ensure it is above the image */
    transform: translateY(30px);
    transition: opacity 1s ease, transform 0.6s ease;
    opacity: 0;
    /* Initially hidden */
}

/* Dark overlay effect */
.holiday-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(68, 67, 67, 0.7);
    /* Dark overlay */
    opacity: 0;
    /* Initially hidden */
    transition: opacity 1s ease;
    /* Slow down the overlay fade-in */
    z-index: 0;
    /* Behind other content */
}

.holiday-card:hover::after {
    opacity: 1;
    /* Show overlay on hover */
}

.holiday-card:hover h3 {
    transform: translateY(20px);
    opacity: 0;
    /* Hide text on hover */
}

.holiday-card:hover p {
    opacity: 1;
    /* Show paragraph on hover */
    transform: translateY(20px);
    /* Slide to original position */
}

@media (max-width: 768px) {

  
    .holiday-trip-cards {

        justify-content: space-around !important;
    }}