
.pg-slider-container {
    position: relative;
    width: 80%;
    margin: 50px auto;
    top:-25vw;
    margin-bottom:-20vw;
}

.pg-slider-wrapper {
    overflow: hidden;
    padding: 10px;
}

.pg-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* 3 slides of 4 cards each */
}

.pg-card {
    width: 23%;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
}

.pg-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pg-card-content {
    padding: 15px;
}

.pg-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.pg-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pg-view-more {
    display: inline-block;
    padding: 10px 15px;
    background-color: #002147;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.pg-view-more:hover {
    background-color: #edb830;
    color: #2c3e50;
}

.pg-slider-buttons {
    margin-top: 20px;
    align-items: center;
}

.pg-slider-buttons button {
    background-color: #002147;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin: 5px;
    align-self: center;
    justify-content: center;
    align-items: center;
}

.pg-slider-buttons button:hover {
    background-color: #edb830;
    color: #2c3e50;
}


/*Responsiveness*/

/* Responsive Adjustments */
@media (min-width: 1025px) {
    .pg-card { width: 23%; } /* 4 cards per row */
}

@media (max-width: 1024px) {
    .pg-card { width: 48%; } /* 2 cards per row */

    .pg-slider-container {
        width: 80%;
        margin-top: 35vw;
    }
}
@media (min-width:748px){
    .pg-slider-container {
        margin-top: 35vw;
    }
}

@media (max-width: 600px) {
    .pg-card { width: 100%; } /* 1 card per row */
}
