@media (min-width: 768px) {
    .neosolax-jrproperty-download-section {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: stretch; /* Ensures all cards have the same height */
    }

    .property-card {
        flex: 1;
        transition: flex 0.4s ease-in-out, background 0.3s ease-in-out;
        overflow: hidden;
        position: relative;
        background: #f5f5f5;
        height: 383px;
    }

    .property-card .card-main-img {
        filter: brightness(0.5);
    }


    /* First item has a blue background */
    .property-card:first-child {
        flex: 2; /* Make the first card initially wider */
    }


    /* Image styling */
    .property-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease-in-out;
    }

    .image-wrapper-neos {
        position: relative;
        height: 100%;
    }

    .info {
        position: absolute;
        bottom: 10px;
        left: 10px;
        color: white;
        padding: 10px;
        border-radius: 5px;
    }

    .info h3 {
        color: #fff;
        font-weight: bold;
    }

    .info p {
        color: #fff;
    }

    /* Button Styling */
    .download-btn {
        padding: 10px 15px;
        border: none;
        background: #031e45;
        color: #fff;
        cursor: pointer;
        transition: background 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    }

    /* Hover Effect */
    .neosolax-jrproperty-download-section:hover .property-card {
        flex: 1;
    }

    .neosolax-jrproperty-download-section:hover .property-card:hover {
        flex: 2;
    }

    /* Change button color to blue when a card is hovered */
    .neosolax-jrproperty-download-section .property-card:hover .download-btn {
        background: #ABAEB5 !important;
        color: #fff!important;
        border: none;
    }

    /* Reset first child's button color when hovering over other items */
    .neosolax-jrproperty-download-section:hover .property-card:first-child .download-btn {
        background: #031e45;
        color: #fff!important;
        border: none;
    }

    /* Ensure consistent spacing */
    .neosolax-jrproperty-download-section .wpb_wrapper {
        display: flex;
        gap: 20px;
    }

    .image-wrapper-neos .sold-by-img {
        top: 0;
        background-size: 100px 50px;
        position: absolute;
        display: block;
        width: 100px;
        height: 50px;
        right: 30px;
        bottom: 25px;
        z-index: 9;
        transform: rotate(14.5deg);
    }

    .neosolax-jr-contact-form h2 {
        margin-bottom: 28px !important;
    }
}

