.main-hero {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%), url("../../assets/banners/about-us-banner-min.png") center / cover no-repeat;
    height: 100vh;
    padding: 32px 0px;
    display: flex;
    align-items: flex-end;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);
}

.hero-header {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-header>h1 {
    width: 60%;
    font-family: Urbanist, sans-serif;
    font-size: 3.14rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

.hero-header>p {
    width: 50%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
    color: #ffffff;
}

.gallery-section {
    background: #ffffff;
}

.gallery-section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 50px;
}

.gallery-section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-section-header>h2 {
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.gallery-section-header>p {
    width: 70%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #000;
}

.accordion {
    width: 100%;
    /* overflow: hidden; */
    overflow: visible;
}

.accordion-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox: show thin scrollbar */

    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    padding: 16px 0 20px;
    border-bottom: 1px solid #e4e7f2;
}

.accordion-tabs::-webkit-scrollbar {
    height: 5px; /* slim bar */
}

.accordion-tabs::-webkit-scrollbar-track {
    background: #eef1fb;
    border-radius: 999px;
}

.accordion-tabs::-webkit-scrollbar-thumb {
    background: #b8c2dd;
    border-radius: 999px;
    border: 1px solid #eef1fb;
}

.accordion-tabs::-webkit-scrollbar-thumb:hover {
    background: #d7d9de;
}

.accordion-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid #e1e4f0;
    background: #f9fbff;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 320px; /* control tab width here */
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.accordion-tab-all {
    flex: 0 0 150px; /* narrower width just for "All Events" tab */
    justify-content: center;
}

.accordion-tab.active {
    background-color: #141E47;
    border-color: #141E47;
    color: #fff;
    box-shadow: 0 10px 25px rgba(20, 30, 71, 0.24);
    transform: translateY(-2px);
}

.accordion-tab-thumb {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accordion-tab-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.accordion-tab-title {
    font-family: Urbanist, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.accordion-tab-meta {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #4b4f63;
}

.accordion-tab.active .accordion-tab-title,
.accordion-tab.active .accordion-tab-meta {
    color: #fff;
}

.accordion-content-container {
    display: block;
}

.accordion-content {
    display: none;
    padding: 32px 0 0;
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    border: 1px solid #e8ebf3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    break-inside: avoid;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.gallery-meta {
    display: none;
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef1fb, #dde2f1);
    color: #141E47;
    font-family: Urbanist, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox-figure {
    margin: 0;
    max-width: min(92vw, 1200px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-figure > img {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

#lightboxCaption {
    color: #fff;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.26);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    border-radius: 12px;
    font-size: 1.9rem;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media screen and (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
    .gallery-section-header>p {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .main-hero {
        background: linear-gradient(180deg, rgba(137, 137, 137, 0) 0%, #000000 100%), url("../../assets/banners/about-us-banner-min.png") center / cover no-repeat;
        padding: 0px;
        align-items: center;
    }

    .hero-header {
        padding: 40px;
    }

    .hero-header>h1,
    .hero-header>p {
        width: 100%;
    }

    .gallery-section-inner {
        padding: 64px 20px;
    }

}

@media screen and (max-width: 430px) {
    .main-hero {
        padding: 0px;
    }

    .hero-header {
        padding: 20px;
    }

    .hero-header>h1 {
        font-size: 2.617rem;
    }

    .gallery-section-header>h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        column-count: 1;
    }

    .accordion-tabs {
        gap: 10px;
        padding-bottom: 8px;
    }

    .accordion-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-nav {
        width: 36px;
        height: 54px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
    }

    .lightbox-figure > img {
        max-height: 74vh;
    }
}
