/* General Layout */
html, body {
    margin: 0;
    height: 100%;
    background-image: url('/pdf/tech-img.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.slider-container {
    display: block;
    width: 100%;
    max-width: 1300px;
    height: 570px;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}

/* Arrows */
.arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0px;
    color: white;
    cursor: pointer;
    z-index: 9;
    user-select: none;
}

.arrow-left {
    left: 10px;
    border-top: 15px solid transparent;
    border-right: 30px solid #081327;
    border-bottom: 15px solid transparent;
}

.arrow-right {
    right: 10px;
    border-top: 15px solid transparent;
    border-left: 30px solid #081327;
    border-bottom: 15px solid transparent;
}

/* Spinner */
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #081327;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.show {
    z-index: 999;
    display: block !important;
    visibility: visible !important;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Slider */
.slider {
    display: block;
    width: 800px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    line-height: 270px;
    color: white;
}

.slide {
    display: inline-block;
    width: 80%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0) scale3d(.4, .4, 1);
    transition: transform 0.3s ease-in-out 0s, z-index .2s ease-in-out .1s;
    background-color: #2C2A40;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.prev-2 {
    transform: translate3d(-105%, -50%, 0) scale3d(.4, .4, 1);
    z-index: 1;
    opacity: 0.5;
}

.slide.prev-1 {
    transform: translate3d(-85%, -50%, 0) scale3d(.6, .6, 1);
    z-index: 2;
}

.slide.next-1 {
    z-index: 2;
    transform: translate3d(-15%, -50%, 0) scale3d(.6, .6, 1);
}

.slide.next-2 {
    z-index: 1;
    transform: translate3d(5%, -50%, 0) scale3d(.4, .4, 1);
    opacity: 0.5;
}

.slide.active {
    z-index: 3;
    transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
    box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slider {
        width: 90%;
        height: 80%;
    }

    .slide {
        width: 90%;
        height: 100%;
        transform: translate3d(-50%, -50%, 0) scale3d(.6, .6, 1);
    }
}

@media (max-width: 480px) {
    .slider {
        width: 100%;
        height: 80%;
    }

    .slide {
        width: 90%;
        height: 100%;
        transform: translate3d(-50%, -50%, 0) scale3d(.7, .7, 1);
    }

    .arrow-left, .arrow-right {
        font-size: 0px;
    }
}
.pdf-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 85%;
    margin-top: 20px;
}.pdf-list h2{
    padding-left: 25px;
    font-weight: 700;
}
.pdf-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /*justify-content: space-between;*/
}

.pdf-column {
    width: 23%; /* This allows 4 columns with some gap */
    box-sizing: border-box;
}
.pdf-column a{
text-decoration: none !important;
}
/*.pdf-thumbnail {*/
/*    margin: 10px;*/
/*    text-align: center;*/
/*    padding-top: 10px;*/
/*    box-shadow: 5px 5px 5px 5px #00000021;*/
/*    max-height: 225px;*/
/*    height: 100%;*/
/*    overflow: hidden;*/
/*}*/
#pdfSearch{border-radius: 29px;
    width: 92%;padding: 10px;}
.pdf-thumbnail {
    margin: 20px 10px;
    text-align: center;
    padding-top: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 225px;
    height: 185px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.pdf-thumbnail:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Slight increase in shadow intensity */
}

.pdf-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for the image */
    transition: opacity 0.3s ease;
}

.pdf-thumbnail img:hover {
    opacity: 0.8; /* Slight fade effect on image hover */
}

.pdf-thumbnail p {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize; /* Capitalize each word */
    letter-spacing: 0.5px;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.pdf-thumbnail p:hover {
    color: #007BFF; /* Change text color on hover */
}

.toimage img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    width: 18%;
}

.heading-text {
    text-align: center;
    font-weight: bold;
}

.pdf-thumbnail p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .pdf-column {
        width: 48%; /* Adjust to fit 2 columns on tablets and smaller screens */
    }
}

@media (max-width: 480px) {
    .pdf-column {
        width: 100%; /* Adjust to single column on mobile */
    }

    .toimage img {
        width: 12%; /* Adjust the PDF preview image size for better visibility on mobile */
    }
}
#pdfPagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pdf-pagination-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pdf-pagination-controls button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.pdf-pagination-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pdf-page-info {
    font-weight: 500;
    color: #333;
}

