﻿

.card-image {
    position: relative;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: black;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration, .rating {
    position: absolute;
    bottom: 3px;
    background: black;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.duration {
    left: 10px;
}

.rating {
    right: 10px;
}

.card-content {
    padding: 8px 10px;
}

    .card-content h4 {
        font-size: 14px;
        font-weight: 400;
        margin: 5px 0;
    }

.price {
    font-size: 10px;
    color: #555;
}

    .price .current {
        color: #008000;
        font-weight: bold;
    }

    .price .original {
        text-decoration: line-through;
        margin-left: 2px;
        color: #999;
    }

    .price .discount {
        color: #008000;
        margin-left: 3px;
    }


.benefits-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
    flex-wrap: wrap; /* ensure wrapping on smaller screens */
}

.benefit-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .benefit-card .label {
        background: #333;
        color: white;
        font-weight: bold;
        padding: 5px 12px;
        border-radius: 6px;
        display: inline-block;
        margin-bottom: 12px;
    }

    .benefit-card h3 {
        font-size: 22px;
        margin: 10px 0;
    }

    .benefit-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .benefit-card img {
        margin-top: 20px;
        border-radius: 0 0 16px 16px;
        width: 100%;
        height: auto;
    }

/* Mobile Styles */
@media (max-width: 768px) {
    .benefits-section {
        flex-direction: column; /* stack cards vertically */
        align-items: center; /* center cards */
        gap: 20px; /* space between stacked cards */
    }

    .benefit-card {
        max-width: 90%; /* reduce card width on mobile */
        flex: unset; /* remove flex-grow */
    }
}












