/* Exhibition.css */
.banner-desc-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-desc-box-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.banner-desc-box-content {
    color: #fff;
    font-size: 16px;
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    padding: 20px 0;
    background-color: #fff;
}

.breadcrumb-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #222;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 500;
}

.home-icon {
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 16px;
    height: 16px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '';
}

/* General Section Styling */
.exhibition-showcase {
    padding: 60px 0;
    background-color: #ffffff;
    /* Light gray background for the whole section */
}

.exhibition-showcase .container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0;
}

/* Section Header */
.exhibition-showcase .section-header {
    margin-bottom: 40px;
}

.exhibition-showcase .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.exhibition-showcase .section-subtitle {
    font-size: 16px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Showcase Layout */
.showcase-layout {
    display: flex;
    gap: 30px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    /* box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08); */
}

/* Left Column: Image and Video */
.showcase-left {
    flex: 1 1 50%;
    /* Slightly more space for image/video */
    position: relative;
    /* For play button positioning */
}

@media (min-width: 768px) and (max-width: 1365px) {
    .showcase-layout {
        align-items: center;
    }
    .showcase-left {
        flex: 1 1 30%;
    }
}

.showcase-left .image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

#showcaseMainImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-left .image-container:hover #showcaseMainImage {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.play-button svg {
    fill: #ffffff;
    width: 30px;
    height: 30px;
    margin-left: 4px;
    /* Fine-tune icon position */
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Right Column: Content and Tabs */
.showcase-right {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Pushes tabs to the bottom if content is short */
}

.content-area {
    font-size: 15px;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
    /* Space between content and tabs */
    min-height: 150px;
    /* Ensure some space even if content is short */
}

.content-area p {
    margin-bottom: 0;
}

.tabs-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    /* Responsive grid for tabs */
    gap: 15px;
}

.tab-nav-item {
    background-color: #f1f3f5;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    height: 100%;
}

.tab-nav-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
}

.tab-nav-item p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.4;
}

.tab-nav-item.active {
    background-color: #e2e2e2;
    color: #ffffff;
}

.tab-nav-item.active h4,
.tab-nav-item.active p {
    color: #000;
}

.tab-nav-item:hover:not(.active) {
    background-color: #e2e6ea;
}

/* Responsive Adjustments */
@media (max-width: 991px) {

    /* Tablet */
    .showcase-layout {
        flex-direction: column;
        padding: 25px;
    }

    .showcase-left,
    .showcase-right {
        flex: 1 1 100%;
        /* Full width for both columns */
    }

    .showcase-left .image-container {
        padding-top: 56.25%;
        /* Maintain aspect ratio */
    }

    .showcase-right {
        margin-top: 25px;
    }

    .content-area {
        min-height: auto;
        /* Adjust min height */
    }

    .exhibition-showcase .section-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {

    /* Mobile */
    .exhibition-showcase {
        padding: 40px 0;
    }

    .showcase-layout {
        padding: 20px 15px;
    }

    .tabs-navigation {
        grid-template-columns: 1fr;
        /* Single column for tabs on small screens */
    }

    .tab-nav-item {
        padding: 12px;
    }

    .tab-nav-item h4 {
        font-size: 15px;
    }

    .tab-nav-item p {
        font-size: 12px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 25px;
        height: 25px;
    }

    .exhibition-showcase .section-title {
        font-size: 24px;
    }

    .exhibition-showcase .section-subtitle {
        font-size: 15px;
    }

    .section-header {
        padding: 0 15px;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 60px 0 300px;
    background-color: #f3f3f3;
}

@media (min-width: 768px) and (max-width: 1365px) {
    .testimonials-section {
        padding: 60px 20px 300px;
    }
}

.testimonials-section .container {
    max-width: 1680px;
    /* Consistent with other sections */
    margin: 0 auto;
    padding: 0;
}

.testimonials-section .section-header {
    margin-bottom: 40px;
}

.testimonials-section .pre-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    background-color: #d9d9d9;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.testimonials-section .section-title {
    font-size: 30px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0;
}

.testimonial-grid {
    /* Masonry layout using CSS columns */
    column-gap: 25px;
    /* Space between columns */
    padding: 0;
    /* Reset padding if any */
    margin: 0;
    /* Reset margin if any */
}

.testimonial-item {
    background-color: #EBEBEB;
    /* Light grey background for cards */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    /* Space below each item */
    break-inside: avoid;
    /* Crucial for masonry: prevents items from breaking across columns */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
}

.testimonial-item .quote {
    font-size: 15px;
    color: #343a40;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-item .quote:last-of-type {
    margin-bottom: 25px;
    /* More space before author if it's the last quote */
}

.testimonial-item .author {
    display: flex;
    align-items: center;
}

.testimonial-item .author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-item .author-info .name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.testimonial-item .author-info .title {
    display: block;
    font-size: 13px;
    color: #6c757d;
}

/* Responsive Masonry Columns */
@media (min-width: 1200px) {
    .testimonial-grid {
        column-count: 4;
        /* 4 columns on large desktops */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .testimonial-grid {
        column-count: 3;
        /* 3 columns on desktops */
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .testimonial-grid {
        column-count: 2;
        /* 2 columns on tablets */
    }

    .testimonials-section .section-title {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .testimonial-grid {
        column-count: 1;
        /* 1 column on mobile */
    }

    .testimonials-section {
        padding: 40px 15px 100px;
    }

    .testimonials-section .section-title {
        font-size: 26px;
    }

    .testimonials-section .pre-title {
        font-size: 13px;
        padding: 4px 12px;
    }

    .testimonial-item {
        padding: 20px;
    }
}

/* Exhibition News Section Styles */
.exhibition-news-section {
    padding: 40px 0;
    /* Reduced padding as it visually embeds */
    margin-top: -200px;
    /* Negative margin to create the upward embed effect */
    position: relative;
    /* Needed for z-index stacking if content overlaps */
    z-index: 5;
    /* Ensure it sits correctly relative to other sections */
}

.exhibition-news-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 50px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px #D1D5DB solid;
}

.exhibition-news-section .section-header {
    margin-bottom: 30px;
}

.exhibition-news-section .section-title {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.exhibition-news-section .section-subtitle {
    font-size: 15px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 30px auto;
    /* Add bottom margin to space it from card */
    line-height: 1.6;
}

.news-card {
    background-color: #ffffff;
    padding: 10px;
}

.news-item-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.news-image-container {
    flex: 0 0 40%;
    /* Adjust flex-basis as per visual balance */
    max-width: 40%;
    border-radius: 10px;
    /* Rounded corners for image container */
    overflow: hidden;
    /* To ensure image respects border-radius */
}

.news-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.news-text-content {
    flex: 1;
    padding-left: 15px;
    /* Some spacing if image is very close */
}

.news-text-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.news-text-content .news-date {
    display: block;
    font-size: 13px;
    color: #868e96;
    margin-bottom: 12px;
}

.news-text-content .news-description {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

.more-button {
    display: inline-block;
    padding: 10px 35px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 25px;
    /* Pill shape / Elliptical */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.more-button:hover {
    background-color: #555555;
    color: #ffffff;
    border-color: #555555;
}

/* Responsive adjustments for News Section */
@media (max-width: 991px) {
    .exhibition-news-section {
        margin-top: -60px;
        /* Adjust negative margin for tablets */
    }

    .news-item-content {
        gap: 20px;
    }

    .news-text-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .exhibition-news-section {
        padding: 30px 15px;
        margin-top: -100px;
        /* Less negative margin on mobile */
    }

    .exhibition-news-section .container {
        padding: 30px 15px;
    }

    .exhibition-news-section .section-title {
        font-size: 24px;
    }

    .exhibition-news-section .section-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .news-item-content {
        flex-direction: column;
        text-align: center;
    }

    .news-image-container {
        flex-basis: auto;
        width: 100%;
        max-width: 300px;
        /* Limit image width on mobile for aesthetics */
        margin: 0 auto 20px auto;
    }

    .news-text-content {
        padding-left: 0;
    }

    .news-text-content h3 {
        font-size: 18px;
    }

    .news-text-content .news-description {
        font-size: 14px;
    }

    .more-button {
        padding: 9px 22px;
        font-size: 13px;
    }
}

/* Previous Exhibitions Gallery Section Styles */
.previous-exhibitions-gallery {
    padding: 60px 0;
    background-color: #ffffff;
    /* Or your desired background */
    overflow: hidden;
    /* To prevent any accidental overflow from the absolutely positioned track if calculations are off */
}

.previous-exhibitions-gallery .container {
    max-width: 1680px;
    /* Consistent with other main containers if desired, or adjust */
    margin: 0 auto;
    padding: 0;
    /* The gallery itself will be full-width, container is for header */
}

.previous-exhibitions-gallery .section-header {
    margin-bottom: 40px;
}

.previous-exhibitions-gallery .section-title {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.previous-exhibitions-gallery .section-subtitle {
    font-size: 15px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-scroll-outer-container {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

.gallery-scroll-track {
    position: relative;
    /* Height will be set dynamically by JS */
    will-change: transform;
}

.exhibition-gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    margin-right: 10px;
    will-change: transform;
    text-align: center;
}

.exhibition-gallery-item:last-child {
    margin-right: 0;
}

.exhibition-gallery-item img {
    width: 100%;
    height: 200px;
    /* Adjust as needed for image aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    /* Rounded corners for images */
    margin-bottom: 10px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

.exhibition-gallery-item .caption {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments for Gallery */
@media (max-width: 767px) {
    .exhibition-gallery-item {
        width: 220px;
        /* Smaller items on mobile */
        margin-right: 10px;
    }

    .exhibition-gallery-item img {
        height: 160px;
    }

    .previous-exhibitions-gallery .section-title {
        font-size: 24px;
    }

    .previous-exhibitions-gallery .section-subtitle {
        font-size: 14px;
    }
}

/* Floating Navigation Bar */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-120%);
    /* Initially hidden above */
    background-color: #f3f3f3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, visibility 0s 0.4s;
}

.floating-nav.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.floating-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    max-width: 1680px;
    margin: 0 auto;
    height: 100px;
}

@media (max-width: 767px) {
    .floating-nav-container {
        padding: 15px 15px;
        justify-content: space-between;
        gap: inherit;
    }
}

.floating-nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s, font-weight 0.3s;
}

.floating-nav-link img {
    width: 10px;
    height: 10px;
}

.floating-nav-link:hover {
    color: #000;
    font-weight: 700;
}

.floating-nav-link.active {
    font-weight: 700;
    color: #000;
}

.floating-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.site-footer {
    background: #fff !important;
}

.video-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 960px;
    height: 540px;
    position: relative;
    background: #ffffff;
}

.dialog-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 27px;
}