.center-content{
    text-align:center;
}
body {
    font-family: Arial, sans-serif;
    background-color:#ffffff;
    /* text-align: center; */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.container_cards_only {
    padding: 40px;
    background-color: white;
    gap:0px;
}
.h2_Cards {
    padding-top:20px;
    font-size: 30px;
    color:#ffffff;
    font-family:'Poppins-500',sans-serif;
}
.sub-text {
    color: #ffffff;
    margin-bottom: 30px;
}
.deals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.deal-card {
    background-color: #ffffff ;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Left side cards animation */
.deal-card.left.show {
    opacity: 1;
    transform: translateX(0);
}

/* Right side cards animation */
.deal-card.right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Animation for sliding in */
.deal-card.left {
    transform: translateX(-100px); /* Move left cards from left */
}

.deal-card.right {
    transform: translateX(100px); /* Move right cards from right */
}
.deal-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.deal-card:hover img {
    transform: scale(1.2);
}

.deal-content {
    padding: 15px;
}
.deal-content h3 {
    font-family: 'Poppins-500',sans-serif;
    color: #3B3131;
    margin: 0;
    padding-bottom:5px;
    /* font-size: 790px; */
}
.deal-content p {
    color: #3B3131;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}
.price {
    font-size: 18px;
    color: #ff6600;
    font-weight: bold;
}
.featured {
    position: absolute;
    background: green;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    top: 10px;
    left: 10px;
}
.card-wrapper {
    position: relative;
}

/* Hover effect for desktop users */
@media (hover: hover) {
    .deal-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease-in-out;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .deals {
        flex-direction: column;
        align-items: center;
    }
    .deal-card {
        height:400px;
        width: 100%;
    }

    .deal-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 22px;
    }
    .sub-text {
        font-size: 14px;
    }
    .deal-content p {
        font-size: 13px;
    }
    .price {
        font-size: 16px;
    }
}