/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 08 2025 | 16:47:19 */
.custom-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 per row */
    gap: 20px;
    justify-items: center; /* Ensures the cards are centered */
    padding: 10px;
    box-sizing: border-box;
}

/* Adjust grid for 4 or 5 cards */
@media (min-width: 1024px) {
    .custom-card-container {
        grid-template-columns: repeat(4, 1fr); /* 4 per row */
    }

    .custom-card-container:has(.custom-card:nth-child(n+5)) {
        grid-template-columns: repeat(3, 1fr); /* Center 4 or 5 cards */
    }
}

.custom-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.custom-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}

.custom-card p {
    color: #666;
    margin: 5px 0;
}

/* Image styles */
.custom-card .card-img {
    overflow: hidden;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border: 4px solid gold;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-card .card-img:hover img {
    transform: scale(1.1);
}

/* Tablet: 2 cards per row */
@media (max-width: 992px) {
    .custom-card-container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

/* Mobile: 1 card per row */
@media (max-width: 600px) {
    .custom-card-container {
        grid-template-columns: 1fr; /* 1 per row */
    }
}
