.wpb-project-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers last row if it has fewer than 4 items */
    gap: 20px; /* Space between grid items */
    margin-top: 60px;
}

.wpb-project-item {
    flex: 1 1 calc(33% - 20px); 
    max-width: calc(33% - 20px);
    padding-top: 80px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.wpb-project-item-inner {
    flex-direction: column;
    justify-content: space-between; /* Pushes items apart */
    align-items: center;
    padding: 110px 0;
    border-radius: 50px;
    text-align: center;
    flex-direction: column; /* Stack items vertically */
    flex-grow: 1; /* Allows content to take up remaining space */
    justify-content: space-between; /* Pushes the button to the bottom */
}

.wpb-project-content {
    font-size: 16px;
    line-height: 28px;
    padding: 25px;
}

.wpb-project-image {
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

.wpb-project-image img {
    border-radius: 50%;
    width: 100%;
    margin: 0 auto;
}
/* .wpb-project-item:first-child .wpb-project-image img {
    object-fit: cover;
    clip-path: path("M 150 0 Q 240 20, 270 100 Q 300 180, 150 200 Q 0 180, 30 100 Q 60 20, 150 0 Z");
} */

.wpb-project-item:hover {
    transform: translateY(-5px);
}

.wpb-project-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.wpb-project-item a:hover {
    color: #005177;
}


.wpb-project-position {
    font-size: 20px;
    line-height: normal;
}

.wpb-project-read-more {
    margin-top: auto;
}

.wpb-project-btn {
    display: inline-block;
    background-color: #fff;
    text-transform: uppercase;
    color: #000;
    font-size: 18px;
    border-radius: 30px;
    padding: 5px 20px;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .wpb-project-item {
        flex: 1 1 calc(33.33% - 20px); /* 3 per row on medium screens */
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .wpb-project-item {
        flex: 1 1 100%; /* 1 per row on small screens */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .wpb-project-item {
        flex: 1 1 100%; /* 1 per row on small screens */
        max-width: 100%;
    }
}


.wpb-project-slider.slick-initialized .slick-prev, .wpb-project-slider.slick-initialized .slick-next {
    background-color: #ffe5e1;
    color: #feada2;
    top: 35%;
    border: 1px solid #ffe5e1;
}

.wpb-project-slider.slick-initialized .slick-prev:hover, .wpb-project-slider.slick-initialized .slick-next:hover {
    background-color: #feada2;
    color: #fff;
}