body {
    margin: 0;
    overflow: hidden;
    /* Hide default scrollbar */
}

.content {
    overflow-y: auto;
    height: calc(100vh);
}

.content::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for webkit browsers */
}

.custom-scrollbar {
    position: fixed;
    top: 104px;
    left: clamp(10px, calc(0.625rem + ((1vw - 7.68px) * 3.6458)), 52px);
    width: 6px;
    height: calc(100% - 104px);
    background-color: #E5E5E5;
    z-index: 997;
    border-radius: 10px;
}

/* Ensure scrollbar is above other content */


.scrollbar-thumb {
    position: fixed;
    top: 104px;
    width: 6px;
    height: 50px;
    /* Set height of the scrollbar thumb */
    background-color: #789060;
    border-radius: 10px;
}


body {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.background {
    background: #E9D3BB;
    margin: 0;
}

nav {
    display: flex;
    width: 100%;
    height: 104px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: #83a9a8;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.11);
    position: fixed;
    top: 0;
    z-index: 998;
}

nav p {
    color: #FFF;
    font-family: Lexia;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;


}

nav> :first-child {
    padding-left: clamp(20px, calc(1.25rem + ((1vw - 8px) * 7.0536)), 99px);
    display: block;
    text-align: center;

}

nav> :last-child {
    padding-right: clamp(20px, calc(1.25rem + ((1vw - 8px) * 7.0536)), 99px);
    display: block;
    text-align: center;
}

.title {
    color: #FFF;
    font-family: Lexia;
    font-size: clamp(32px, calc(2rem + ((1vw - 7.68px) * 1.3889)), 48px);
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    padding-top: 34px;
    margin-bottom: 8px;
    margin-top: 0;
}

.title-div {
    padding-left: 69px;
}

.sub-title {
    color: #FFF;
    font-family: Nunito;
    font-size: clamp(18px, calc(1.125rem + ((1vw - 7.68px) * 0.5208)), 24px);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    padding: 0;
    padding-right: 24px;
}

.title-bg {
    background: #83a9a8;
    width: 100%;
    height: 159px;
    margin: 0;
    padding: 0;
    position: sticky;
    z-index: 998;
}

.container {
    display: flex;
    width: 100%;
    justify-content: center;

}

.categories {
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
    column-gap: 40px;
    margin-top: 89px;
    margin-bottom: 250px;
    justify-content: center;
    max-width: 100%;
}

.category {
    max-width: 544px;
    max-height: 662px;
    align-items: center;
    flex: 0 0 auto;

}

.cat-img {
    width: 524px;
    height: 524px;
    margin-bottom: 18px;
    border: solid 10px #6A9EA3;
    object-fit: cover;
    object-position: center top;

}

.cat-title {
    color: #000;
    font-family: "Abhaya Libre";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0;

}

.page-banner {
    margin-top: 149px;
    width: 100%;
    height: 232px;
    background-color: #6A9EA3;
    opacity: 0.8;
}

.page-banner div {
    position: relative;
    max-width: 100%;
    height: 150px;
    top: 44px;
    left: clamp(75px, calc(4.6875rem + ((1vw - 7.68px) * 12.5868)), 220px);

}

.page-banner h1 {
    color: #FFF;
    font-family: Lexia;
    font-size: 121px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;

}

.page-items {
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 203px;
    margin-top: 130.5px;
    margin-bottom: 130.5px;
    justify-content: center;

}

.page-items img {
    width: 424px;
    height: 315px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 13.5px;
    border: solid 7px #6A9EA3;
}

.item-title {
    color: #000;
    font-family: Nunito;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 9px;
}

.item {
    max-width: 431px;
}

.item-info {
    margin: 0;
    padding: 0;
    color: #000;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;

}

.item-info p {
    padding: 0;
    margin: 0;
}

.item-info>:last-child {
    margin-top: 20px;
}

.item-banner {
    width: 100%;
    height: 404px;
    position: relative;
    top: 0;
}

.item-banner img {
    object-fit: cover;
    width: inherit;
    height: inherit;
}

.item-banner-title {
    position: absolute;
    top: 170px;
    width: 100%;
    height: 167px;
    background: rgba(106, 158, 163, 0.8);
    display: flex;
    align-items: center;
}

.item-banner-title h1 {
    color: #FFF;
    font-family: inter-variable, sans-serif;
    font-size: clamp(48px, calc(3rem + ((1vw - 7.68px) * 6.3368)), 121px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    padding: 0;
    padding-left: clamp(50px, calc(3.125rem + ((1vw - 7.68px) * 4.3403)), 100px);
    padding-top: 10px;
}

.person-banner {
    width: 100%;
    height: 406px;
    position: relative;
    top: 0;
}

.person-img {
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    width: clamp(200px, calc(12.5rem + ((1vw - 7.68px) * 9.2882)), 307px);
    height: clamp(200px, calc(12.5rem + ((1vw - 7.68px) * 9.2882)), 307px);
    position: absolute;
    top: 127.69px;
    left: clamp(50px, calc(3.125rem + ((1vw - 7.68px) * 4.3403)), 100px);
    border: 7px solid #fff;
    z-index: 100;

}

.person-banner-title {
    position: absolute;
    top: 173px;
    width: 100%;
    height: 233px;
    background: rgba(106, 158, 163, 0.8);
    display: flex;
    align-items: center;
}

.person-banner-title h1 {
    color: #FFF;
    font-family: inter-variable, sans-serif;
    font-size: clamp(48px, calc(3rem + ((1vw - 7.68px) * 6.3368)), 121px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    padding: 0;
    padding-left: clamp(280px, calc(17.5rem + ((1vw - 7.68px) * 14.3229)), 445px);
    padding-top: 10px;
}

.personi {
    width: 250px;
    position: absolute;
    min-height: 50px;
    top: 350px;
    right: 60px;
    padding: 24px;
    background: #789060;
    overflow: hidden;
    /* Ensures content doesn't show outside bounds */
    transition: height 1s ease;
    /* Smooth height transition */
}

.personi .fom-content {
    display: none;
    /* Initially hidden, but takes up space */
    opacity: 0;
    transition: display 0s, opacity 0.5s linear;
}

.find-out-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.personi p {
    color: #FFF;
    font-family: Nunito;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    width: 500px;
}






.information {
    margin-top: 68.5px;
    padding-left: clamp(50px, calc(3.125rem + ((1vw - 7.68px) * 4.3403)), 100px);
    padding-right: clamp(50px, calc(3.125rem + ((1vw - 7.68px) * 4.3403)), 100px);

}

.information-people {
    margin-top: 90px !important;
    padding-left: clamp(50px, calc(3.125rem + ((1vw - 7.68px) * 4.3403)), 100px);
}

.information-people p,
.information p {
    color: #000;
    font-family: Nunito;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    padding: 0;
}

.date {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.calendar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.calendar img {
    width: 44px;
    height: 44px;
}

.info {
    display: inline-flex;

    gap: 24px;
    max-width: 1618px;
}

.info img {
    width: 44px;
    height: 44px;

}

.images {
    display: flex;
    height: 309px;
    width: 100%;
    gap: 81px;
    flex-shrink: 0;
    margin-top: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-bottom: 100px;
}

.images img {
    width: 399px;
    height: 295px;
    border: solid 7px #6A9EA3;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
}

.images>:first-child {
    margin-left: clamp(121px, calc(7.5625rem + ((1vw - 7.68px) * 4.3403)), 171px);
}

.images>:last-child {
    margin-right: clamp(121px, calc(7.5625rem + ((1vw - 7.68px) * 4.3403)), 171px);
}

.images::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for webkit browsers */
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.overlay-content {
    text-align: center;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
}




#overlay-image {
    max-width: 100%;
    /* Set the maximum width to 100% */
    max-height: 100%;
    /* Set the maximum height to 100% */
    width: auto;
    /* Set the width to auto to maintain aspect ratio */
    height: auto;
    /* Adjust the maximum height as needed */
    margin-bottom: 20px;
    /* Adjust the margin as needed */
    object-fit: contain;
}

#overlay-caption {
    max-width: 100%;
    font-family: sofia-pro, sans-serif;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: clamp(20px, calc(1.25rem + ((1vw - 7.68px) * 3.559)), 61px);
    right: clamp(35px, calc(2.1875rem + ((1vw - 7.68px) * 5.0347)), 93px);
    width: 56px;
    height: 56px;

    color: #fff;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(30px, calc(1.875rem + ((1vw - 7.68px) * 1.7361)), 50px);
    height: clamp(30px, calc(1.875rem + ((1vw - 7.68px) * 1.7361)), 50px);
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#prev-btn {
    left: clamp(10px, calc(0.625rem + ((1vw - 7.68px) * 12.934)), 159px);
}

#next-btn {
    right: clamp(10px, calc(0.625rem + ((1vw - 7.68px) * 12.934)), 159px);
}

.overlay-trigger {
    cursor: pointer;
    /* Add cursor pointer for the thumbnail images */
    transition: transform 0.2s ease-in-out;
    /* Add a smooth transition for better visual feedback */



}

@media (max-width: 768px) {
    nav {
        height: 57px;
    }

    nav p {
        font-size: 28px;
    }

    nav> :first-child,
    nav> :last-child {
        img {
            width: 75%;
        }

    }

    .custom-scrollbar {
        top: 57px;
        height: calc(100% - 57px);
    }

    .scrollbar-thumb {
        top: 57px;
    }

    .title-bg {
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .title {
        font-size: 28px;
    }

    .sub-title {
        display: none;
    }

    .title-div {
        margin: 0;
        padding: 0;
        text-align: center;


        h1 {
            padding: 0;
            margin: 0;

        }
    }


    .categories {
        margin-bottom: 150px;
    }

    .category {
        max-width: calc(100% - 50px);
        height: auto;
        aspect-ratio: 544 / 662;
    }

    .cat-img {
        max-width: calc(100% - 20px);
        height: auto;
        aspect-ratio: 524 / 524;
    }

    .page-banner {
        margin-top: 75px;
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: center;

        div {
            height: auto;
            text-align: center;
            top: 0px;
            left: 0px;
        }

        h1 {
            font-size: 40px;
        }

    }

    .page-items {
        margin-top: 60px;
        row-gap: 50px;
        max-width: calc(100% - 14px);
        margin-bottom: 60px;
    }

    .page-items img {
        aspect-ratio: 424 / 315;
        height: auto;
        max-width: calc(100% - 14px);

    }

    .item {
        max-width: calc(100% - 75px);
        height: auto;
    }

    .item-title {
        font-size: 24px;
    }

    .item-info {
        font-size: 16px;
    }

    .item-banner {
        height: 300px;
    }

    .item-banner-title {
        height: 124px;
        top: 120px;

        h1 {
            font-size: 32px;
        }
    }

    .information {
        margin-top: 30px;
        padding-left: 30px;
        padding-right: 30px;

        p {
            font-size: 18px;
        }
    }

    .information-people {
        margin-top: 40px !important;
    }

    .calendar img,
    .date img,
    .info img {
        width: 33px;
        height: 33px;

    }

    .date {
        margin-bottom: 30px;
    }

    .calendar {
        margin-bottom: 30px;
    }

    .images {
        gap: 30px;
        height: fit-content;

        img {
            aspect-ratio: 399 / 295;
            width: 275px;
            height: auto;
        }

        ;
    }



    .images>:first-child {
        margin-left: 40px;

    }

    .images>:last-child {
        margin-right: 40px;

    }

    .person-banner {
        height: 200px;
    }

    .person-img {
        width: 125px;
        height: 125px;
        top: 85px;
        left: unset;
        right: 20px;
        border-width: 3px;
    }

    .person-banner-title {
        height: 100px;
        top: 100px;
        justify-content: start;


        h1 {
            font-size: 32px;
            padding-left: 0;
            margin-left: 30px;
            max-width: 160px;
        }
    }

    .personi {
        display: none;
    }

    ;

}