/* ── Achiever Section ── */
.achiever-filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.achiever-filter-btns .filter-btn {
    padding: 8px 22px;
    border: 2px solid #c552a0;
    border-radius: 30px;
    background: transparent;
    color: #c552a0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.achiever-filter-btns .filter-btn:hover,
.achiever-filter-btns .filter-btn.active {
    background: #c552a0;
    color: #fff;
}

/* Grid — simple uniform grid, all cards same height */
.achiever-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.achiever-grid-item {
    width: calc(25% - 12px);
}

@media (max-width: 1199px) { .achiever-grid-item { width: calc(33.333% - 11px); } }
@media (max-width: 767px)  { .achiever-grid-item { width: calc(50% - 8px); } }
@media (max-width: 480px)  { .achiever-grid-item { width: 100%; } }

/* Card */
.achiever-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: default;
}

.achiever-card img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.achiever-card:hover img {
    transform: scale(1.04);
}

/* Year badge — top-left corner */
.achiever-card .achiever-year {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* LinkedIn icon — top-right corner */
.achiever-card .linkedin-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c552a0;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.achiever-card .linkedin-btn:hover {
    background: #c552a0;
    color: #fff;
}

/* Bottom overlay — name + designation */
.achiever-card .achiever-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    color: #fff;
}

.achiever-card .achiever-info h6 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.achiever-card .achiever-info span {
    font-size: 12px;
    opacity: 0.85;
}

/* hidden category items */
.achiever-grid-item.hidden {
    display: none;
}

/* ── Reward cards — portrait/letter images, no crop ── */
[data-filter-section="reward"] .achiever-card img {
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #f8f8f8;
}

/* ── Gallery Masonry Grid ── */
.gallery-masonry {
    columns: 4;
    column-gap: 14px;
}

@media (max-width: 1199px) { .gallery-masonry { columns: 3; } }
@media (max-width: 767px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 480px)  { .gallery-masonry { columns: 1; } }

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 14px;
}

.gallery-masonry-item.hidden {
    display: none;
}

.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-card .gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-info {
    opacity: 1;
}

.gallery-card .gallery-info h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}
