
/* Gallery Section */
.gallery-section {
    padding: 70px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.gallery-item img,
.gallery-item video {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-item video {
    object-fit: contain;
    background: #000;
}

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 18px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    pointer-events: none;
}

.gallery-overlay h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* PDF Cards */
.pdf-card {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: linear-gradient(145deg, #ffffff, #f4f7fc);
}

.pdf-icon {
    font-size: 65px;
    color: #dc3545;
    margin-bottom: 18px;
}

.pdf-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #202b3c;
    margin-bottom: 10px;
}

.pdf-card p {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 20px;
}

.pdf-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pdf-buttons .btn {
    border-radius: 7px;
    font-size: 13px;
    padding: 9px 14px;
}

/* Video */
.video-gallery-item {
    border: 2px solid #e8edf5;
}

.video-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 767px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-item img,
    .gallery-item video {
        height: 240px;
    }

    .gallery-overlay h4 {
        font-size: 16px;
    }

    .pdf-card {
        min-height: 250px;
    }
}
