body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #0b0b0b, #1a0938, #3b0a64);
    color: gold;
}

.pdf-gallery-section {
    padding: 30px 10px; /* reduced by 50% */
    text-align: center;
}

.gallery-title {
    font-size: clamp(12px,1.5vw,20px); /* reduced by ~50% */
    text-transform: uppercase;
    letter-spacing:1px;
    color: gold;
    margin-bottom:10px; /* reduced by 50% */
    text-shadow:0 0 10px rgba(255,215,0,0.8); /* reduced shadow */
}

.gallery-desc {
    font-size: clamp(6.5px,0.9vw,8.5px); /* reduced by 50% */
    color: #ddd;
    line-height:1.7;
    text-align: justify;
    margin-bottom: 10px; /* reduced by 50% */
}

.highlight { color: #ffd700; }

/* Scroll Wrapper */
.scroll-wrapper { position: relative; margin-bottom:20px; } /* reduced by 50% */
.scroll-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0; /* reduced */
}
.scroll-container::-webkit-scrollbar { height:4px; } /* reduced by 50% */
.scroll-container::-webkit-scrollbar-thumb { background: gold; border-radius:2px; }

.scroll-content {
    display: flex;
    gap: 10px; /* reduced by 50% */
}

/* PDF Card */
.pdf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius:6px; /* reduced by 50% */
    min-width:140px; /* reduced by 50% */
    max-width:190px; /* reduced by 50% */
    padding:5px; /* reduced by 50% */
    transition: transform 0.3s, box-shadow 0.3s;
    height:210px; /* reduced by 50% */
}

.pdf-card:hover {
    transform: scale(1.05);
    box-shadow:0 0 12px rgba(255,215,0,0.6); /* reduced shadow */
}

.pdf-name {
    font-size: 0.5rem; /* reduced by 50% */
    font-weight:600;
    margin-bottom:5px; /* reduced by 50% */
    color:#ffd700;
    text-align:center;
}

.pdf-embed {
    width:100%;
    flex-grow:1;
    border-radius:3px; /* reduced by 50% */
    border:none;
    object-fit: contain;
}

.btn-view {
    margin-top:5px; /* reduced by 50% */
    background:#ff8a00;
    border:none;
    padding:4px 6px; /* reduced by 50% */
    color:#fff;
    font-weight:600;
    border-radius:3px; /* reduced by 50% */
    cursor:pointer;
    transition:0.3s;
}

.btn-view:hover { background:#e52e71; }

.scroll-btn {
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    background: rgba(255,215,0,0.7);
    border:none;
    color:#000;
    font-size:1rem; /* reduced by 50% */
    cursor:pointer;
    padding:0 6px; /* reduced by 50% */
    border-radius:3px; /* reduced by 50% */
    z-index:10;
    transition:0.3s;
}

.scroll-btn:hover { background: rgba(255,215,0,1); }
.scroll-btn.left { left:0; }
.scroll-btn.right { right:0; }

.no-pdfs { color:#aaa; text-align:center; padding:10px; font-size:0.5rem; } /* reduced by 50% */

@media screen and (max-width: 768px) {
    .pdf-card { min-width:100px; max-width:140px; height:150px; } /* reduced by 50% */
    .pdf-embed { height:100%; }
}
