.awards-gallery-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.awards-header {
    text-align: center;
    margin-bottom: 60px;
}

.awards-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(40, 167, 69, 0.98);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.awards-heart-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.awards-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a365d;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 800px;
}

/* ============================================================
   Masonry-style gallery grid (CSS columns).
   Adapts to any item count, preserves aspect ratios.
   ============================================================ */
.awards-gallery-grid {
    columns: 4 300px;
    column-gap: 24px;
    margin: 0 auto 40px;
    max-width: 1300px;
    padding: 0 20px;
}

.awards-photo-item {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    margin: 0 0 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    break-inside: avoid;
    background: #f5f5f5;
}

.awards-photo-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.08);
}

.awards-photo-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    min-height: 250px;
    object-fit: cover;
}

.awards-photo-item:hover .awards-photo-image {
    transform: scale(1.08);
}

/* Photo overlay: caption strip at the bottom of each item */
.photo-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: white;
    padding: 20px 16px 16px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.awards-photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Play icon overlaid on video items */
.video-play-icon::after {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

/* Scroll-to-top button */
.awards-scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgb(226, 204, 7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.awards-scroll-indicator:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.awards-scroll-arrow {
    width: 138px;
    height: 105px;
    fill: rgba(58, 117, 0, 0.98);
}

/* "See Media Gallery" button */
.see-gallery-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.see-gallery-button {
    background-color: #1a365d;
    color: white;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.see-gallery-button:hover {
    background-color: #28528c;
    transform: translateY(-2px);
}

/* ============================================================
   Lightbox
   ============================================================ */
.awards-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.awards-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.awards-lightbox-content {
    width: 95%;
    height: 95%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.awards-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.awards-lightbox-media-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 75vh;
}

.awards-lightbox-caption {
    margin-top: 10px;
    padding: 12px 24px;
    text-align: center;
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 85%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    font-weight: 500;
}

.awards-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.awards-lightbox-close:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1024px) {
    .awards-gallery-grid {
        columns: 3 260px;
        column-gap: 18px;
    }
}

@media (max-width: 768px) {
    .awards-gallery-grid {
        columns: 2 220px;
        column-gap: 16px;
    }

    .awards-title {
        font-size: 36px;
    }

    .awards-lightbox-content {
        width: 98%;
        height: 98%;
        padding: 15px;
    }

    .awards-lightbox-image {
        max-height: 80vh;
    }

    .awards-lightbox-media-container {
        max-height: 80vh;
    }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 480px) {
    .awards-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .awards-badge {
        font-size: 13px;
        padding: 9px 18px;
        gap: 6px;
    }

    .awards-gallery-section {
        padding: 40px 10px;
    }

    .awards-gallery-grid {
        columns: 1 100%;
        column-gap: 0;
        padding: 0 10px;
        margin: 0 auto 30px;
    }

    .awards-photo-item {
        margin-bottom: 16px;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .awards-photo-image {
        min-height: 300px;
    }

    .photo-overlay {
        padding: 16px 12px 12px;
        font-size: 14px;
    }

    .awards-lightbox {
        background-color: rgba(10, 20, 30, 0.95);
    }

    .awards-lightbox-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        padding: 12px;
        gap: 16px;
    }

    .awards-lightbox-image {
        max-height: 85vh;
        border-radius: 10px;
    }

    .awards-lightbox-media-container {
        max-height: 85vh;
    }

    .awards-lightbox-caption {
        font-size: 0.9rem;
        padding: 0 15px;
        max-width: 90%;
    }

    .awards-lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 36px;
    }

    .see-gallery-button {
        padding: 10px 24px;
        font-size: 15px;
    }

    .awards-scroll-indicator {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}