section[id] {
    scroll-margin-top: 110px;
}

/* Hide scrollbar for gallery slider */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Accordion transition for smooth opening */
.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    /* Increased to accommodate detailed content */
    opacity: 1;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Lightbox Styles */
#lightboxModal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1010;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #fb923c;
    text-decoration: none;
    cursor: pointer;
}

.prev-lightbox,
.next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

.next-lightbox {
    right: 25px;
}

.prev-lightbox {
    left: 25px;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    background-color: rgba(0, 0, 0, 0.82);
    color: #fb923c;
}

.lightbox-video-container {
    position: relative;
    width: 85%;
    max-width: 900px;
    margin: auto;
    aspect-ratio: 16 / 9;
}

.lightbox-video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }

    .prev-lightbox,
    .next-lightbox {
        padding: 10px;
        font-size: 18px;
    }
}