.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;
}

/* Certification Logos Section Styles */
.certification-logos-section {
    padding: 40px 0;
}

.certification-logos-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    /* Logos之间的间距 */
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    /* 默认宽度，将在媒体查询中调整 */
}

.logo-img {
    width: 80px;
    /* Logo图片宽度 */
    height: 80px;
    /* Logo图片高度 */
    object-fit: contain;
    /* 保持图片比例 */
    margin-bottom: 10px;
    border-radius: 50%;
    /* 使图片呈圆形 */
    background-color: #fff;
    /* 图片背景色，如果图片是透明的 */
    padding: 5px;
    /* 轻微内边距，使logo看起来更好 */
}

.logo-name {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .logos-container {
        gap: 40px;
    }

    .logo-item {
        width: 120px;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .logo-name {
        font-size: 13px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .logos-container {}

    .logo-item {
        width: 120px;
    }

    .logo-img {
        width: 110px;
        height: 110px;
    }

    .logo-name {
        font-size: 14px;
    }
}

/* Styles for New Interactive Certification Display Section */
.interactive-certification-display {
    padding: 50px 0;
}

.interactive-certification-display .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.interactive-layout {
    display: flex;
    gap: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
}

.tabs-column {
    flex: 0 0 500px;
    /* Fixed width for the tabs column */
    overflow-y: auto;
    max-height: 550px;
    /* Adjust as needed, should accommodate image height */
    padding-right: 15px;
    /* Space for scrollbar if needed */
    position: relative;
}

.interactive-tab-item {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.interactive-tab-item:last-child {
    margin-bottom: 0;
}

.interactive-tab-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.interactive-tab-item .tab-description {
    font-size: 13px;
    color: #8f8f8f;
    line-height: 1.6;
    transition: color 0.3s ease;
    /* display: none; by default in HTML, JS handles showing */
}

.interactive-tab-item.active {
    background-color: #e9e9e9;
    /* Slightly darker for active tab background */
}

.interactive-tab-item.active h4 {
    color: #000;
    /* Highlight active tab title */
}

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

.tab-scroll-indicator,
.tab-scroll-indicator-up {
    position: sticky;
    left: 50%;
    right: 0;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transform: translateX(-50%);
}

.tab-scroll-indicator {
    bottom: 0;
    background: #F3EDE9;
    width: 48px;
    height: 48px;
    border-radius: 100%;
}

.tab-scroll-indicator-up {
    top: 0;
    background: #F3EDE9;
    width: 48px;
    height: 48px;
    border-radius: 100%;
}

.tab-scroll-indicator span,
.tab-scroll-indicator-up span {
    font-size: 20px;
    color: #000;
    pointer-events: none;
    border-radius: 100%;
}

.image-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    /* Light background for image area */
    border-radius: 6px;
    min-height: 500px;
    /* Match roughly with tab column max-height */
    padding: 50px 0;
}

#interactiveCertificateImage {
    max-width: 100%;
    max-height: 520px;
    /* Slightly less than column height to allow padding */
    object-fit: contain;
    border-radius: 4px;
}

/* Responsive adjustments for the new section */
@media (max-width: 991px) {

    /* Tablet */
    .interactive-layout {
        flex-direction: column;
        padding: 20px;
    }

    .tabs-column {
        flex: 0 0 auto;
        /* Allow tabs to take natural height */
        max-height: 350px;
        /* Adjust max-height for smaller screens */
        margin-bottom: 20px;
        padding-right: 0;
    }

    .image-column {
        min-height: 350px;
        /* Adjust height */
    }

    #interactiveCertificateImage {
        max-height: 330px;
    }
}

@media (max-width: 767px) {

    /* Mobile */
    .interactive-layout {
        padding: 15px;
    }

    .tabs-column {
        max-height: 300px;
    }

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

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

    .interactive-tab-item .tab-description {
        font-size: 12px;
    }

    .image-column {
        min-height: 280px;
    }

    #interactiveCertificateImage {
        max-height: 260px;
    }
}

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