

.image-showcase {
    padding: 60px 20px;
    width: 100%;
}

.showcase-container {
    display: flex;
    justify-content: center; /* Center the single card on mobile */
    align-items: center;
}

/* --- MOBILE STYLES (Default) --- */

/* Hide the 2nd and 3rd cards on mobile */
.showcase-card:nth-child(2),
.showcase-card:nth-child(3) {
    display: none;
}

/* Make the single visible card larger on mobile */
.showcase-card {
    width: 80%;
    max-width: 320px;
}

/* This inner div GUARANTEES a perfect circle shape */
.card-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

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

/* Content styling (image and overlay) */
.card-inner img,
.card-inner .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}


/* ================================================= */
/* BIG SCREEN STYLES (768px and wider)               */
/* ================================================= */
@media (min-width: 768px) {
    .showcase-container {
        justify-content: space-around; /* Space out the three cards */
        gap: 20px;
    }

    /* Bring back the 2nd and 3rd cards */
    .showcase-card:nth-child(2),
    .showcase-card:nth-child(3) {
        display: block;
    }

    /* Adjust the size for a three-column layout */
    .showcase-card {
        width: 30%;
        max-width: 280px;
    }
}