/* General Container Styling */
.pdf-carousel-container {
    position: relative;
    padding: 40px;
    /* margin: 40px 0; */
    overflow: hidden;
}

/* Carousel Wrapper */
.pdf-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

/* Carousel Items */
.pdf-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 10px 0;
}

.pdf-carousel-item {
    flex: 0 0 calc(50% - 14px);
    min-width: calc(50% - 14px);
    box-sizing: border-box;
}

/* Card Styling */
.pdf-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Title Styling */
.pdf-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

/* Dates Styling */
.pdf-dates {
    margin-bottom: 15px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.pdf-dates p {
    margin: 5px 0;
}

/* Download Button Styling */
.download-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 6px 6px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
}

.download-pdf:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.download-icon {
    font-size: 1.2em;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2c3e50;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.carousel-nav:hover {
    background: #34495e;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .pdf-carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .pdf-carousel-container {
        padding: 0 30px;
    }

    .pdf-carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .pdf-card {
        padding: 15px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
}

@media screen and (max-width: 480px) {
    .pdf-carousel-container {
        padding: 0 20px;
    }

    .pdf-title {
        font-size: 14px;
    }

    .pdf-dates {
        font-size: 12px;
    }

    .download-pdf {
        padding: 6px 6px;
        font-size: 12px;
    }
}