/* ===== Awards gallery (site theme: navy #162767 / teal #1dacac) ===== */
.awards-gallery{padding: 80px 0 100px;background: #ffffff;}

.awards-grid{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.awards-thumb{
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 7 / 5;
    border-radius: 12px;
    background: #dcdde6;
    box-shadow: 0 6px 20px rgb(22 39 103 / 1%);
}
.awards-thumb img{
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.awards-thumb::after{
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(22,39,103,.55));
    opacity: 0; transition: opacity .3s ease;
}
.awards-zoom{
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-secondary-color);
    color: #fff;
    font-size: 16px;
    transform: translateY(8px);
    opacity: 0;
    transition: .3s ease;
}
.awards-thumb:hover img, .awards-thumb:focus-visible img{ transform: scale(1.06); }
.awards-thumb:hover::after, .awards-thumb:focus-visible::after{ opacity: 1; }
.awards-thumb:hover .awards-zoom, .awards-thumb:focus-visible .awards-zoom{ transform: none; opacity: 1; }
.awards-thumb:focus-visible{ outline: 3px solid var(--accent-secondary-color); outline-offset: 3px; }
.awards-empty{ text-align: center; font-size: 18px; padding: 60px 0; }

/* touch devices: zoom icon hamesha dikhe */
@media (hover: none){ .awards-zoom{ opacity: 1; transform: none; } }

@media (max-width: 991px){
    .awards-gallery{ padding: 60px 0 70px; }
    .awards-grid{ gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 575px){
    .awards-grid{ gap: 12px; grid-template-columns: repeat(2, 1fr); }
    .awards-thumb{ border-radius: 10px; }
}

/* ===== Lightbox ===== */
.alb[hidden]{ display: none; }
.alb{
    position: fixed; inset: 0; z-index: 99999;
    display: grid; grid-template-rows: auto 1fr auto auto;
    background: #080d24;
    color: #fff; font-family: var(--default-font);
    animation: albIn .25s ease;
}
@keyframes albIn{ from{ opacity: 0 } to{ opacity: 1 } }

.alb-top{
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; padding-top: max(14px, env(safe-area-inset-top));
}
.alb-count{ font-size: 15px; opacity: .8; letter-spacing: .04em; }
.alb-tools{ display: flex; gap: 10px; }

.alb-btn{
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 17px; color: #fff;
    background: rgba(255,255,255,.12); transition: background .2s ease;
}
.alb-btn:hover{ background: var(--accent-secondary-color); }
.alb-btn:focus-visible{ outline: 3px solid var(--accent-secondary-color); outline-offset: 2px; }

.alb-nav{ position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 52px; height: 52px; }
.alb-prev{ left: 18px; }
.alb-next{ right: 18px; }

.alb-stage{
    position: relative; min-height: 0; overflow: auto;
    display: flex; padding: 0 76px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.alb-img{
    margin: auto; display: block; user-select: none; -webkit-user-drag: none;
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; cursor: zoom-in;
    border-radius: 4px; box-shadow: 0 10px 50px rgba(0,0,0,.5);
    transition: opacity .25s ease;
}
.alb-img.is-loading{ opacity: 0; }
/* actual / real size: image apni asli pixel size me, scroll/pan se dekho */
.alb.is-actual .alb-img{ max-width: none; max-height: none; cursor: zoom-out; }

.alb-spinner{
    position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px;
    border: 3px solid rgba(255,255,255,.25); border-top-color: var(--accent-secondary-color);
    border-radius: 50%; animation: albSpin .8s linear infinite; display: none;
}
.alb.is-busy .alb-spinner{ display: block; }
@keyframes albSpin{ to{ transform: rotate(360deg) } }

.alb-caption{ text-align: center; padding: 12px 20px 4px; min-height: 1.4em; font-size: 16px; font-weight: 500; }

.alb-thumbs{
    display: flex; gap: 8px; padding: 10px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
    overflow-x: auto; justify-content: safe center; scrollbar-width: thin;
}
.alb-thumbs button{
    flex: 0 0 auto; width: 70px; height: 52px; padding: 0; border: 2px solid transparent;
    border-radius: 6px; overflow: hidden; cursor: pointer; background: #222; opacity: .55;
    transition: opacity .2s ease, border-color .2s ease;
}
.alb-thumbs button img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.alb-thumbs button:hover{ opacity: .9; }
.alb-thumbs button[aria-selected="true"]{ opacity: 1; border-color: var(--accent-secondary-color); }
.alb-thumbs button:focus-visible{ outline: 3px solid var(--accent-secondary-color); outline-offset: 1px; }

@media (max-width: 767px){
    .alb-stage{ padding: 0 8px; }
    .alb-nav{ width: 42px; height: 42px; font-size: 15px; background: rgba(8,13,36,.55); }
    .alb-prev{ left: 8px; } .alb-next{ right: 8px; }
    .alb-thumbs button{ width: 56px; height: 42px; }
    .alb-caption{ font-size: 14px; }
}
@media (prefers-reduced-motion: reduce){
    .alb, .alb-img, .awards-thumb img{ animation: none; transition: none; }
}
body.alb-open{ overflow: hidden; }
