/* Patent Certification Page Styles */
.patent-section {
    padding: 80px 20px;
    /* background: #ffffff; */
}

.patent-section__item {
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.patent-section__item:last-child {
    margin-bottom: 0;
}

.patent-section__header {
    text-align: left;
	/* margin-left: 60px; */
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.patent-section__header.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.patent-section__title {
	margin-left: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #0f1f2f;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.patent-section__header.is-visible .patent-section__title {
    opacity: 1;
    transform: translateX(0);
}

.patent-section__title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #0b6efd, #0a5ed9);
    border-radius: 2px;
}

.patent-section__subtitle {
    font-size: 1rem;
    color: #828282;
    margin-top: 2px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.patent-section__header.is-visible .patent-section__subtitle {
    opacity: 1;
    transform: translateX(0);
}

.patent-section__content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Certification Grid */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certification-card {
    /* background: #fff; */
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 110, 253, 0.05), rgba(11, 110, 253, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.certification-card:hover::before {
    opacity: 1;
}

.certification-card img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
}

/* International Carousel - 3 cards per row */
.international-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.international-carousel .carousel__container {
    position: relative;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: 450px;
    width: 100%;
}

.international-carousel .carousel__track {
    display: flex !important;
    position: relative;
    width: auto;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateX(0) !important;
}

.international-carousel .carousel__slide {
    flex-shrink: 0;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    box-sizing: border-box;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    min-width: auto !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

.international-carousel .certification-card {
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    position: relative;
}

.international-carousel .certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.international-carousel .certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 110, 253, 0.05), rgba(11, 110, 253, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.international-carousel .certification-card:hover::before {
    opacity: 1;
}

.international-carousel .certification-card img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 0;
    display: block;
    position: relative;
    z-index: 0;
}

/* Carousel Styles */
.certificate-carousel,
.honors-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel__container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* background: #f7f9fb; */
    padding: 30px;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.carousel__slide:hover {
    transform: translateY(-7px);
}

.carousel__slide.is-active {
    opacity: 1;
    transform: translateY(0);
}

.carousel__slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}


.carousel__caption {
    font-size: 1rem;
    color: #0f1f2f;
    text-align: center;
    font-weight: 500;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0f1f2f;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel__btn:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev {
    left: 0;
}

.carousel__btn--next {
    right: 0;
}

/* 国际认证轮播的按钮位置 */
.international-carousel .carousel__btn--prev {
    left: -10px;
}

.international-carousel .carousel__btn--next {
    right: -10px;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d0d7de;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel__dot.is-active {
    background: #0b6efd;
    width: 30px;
    border-radius: 6px;
}

.carousel__dot:hover {
    background: #0b6efd;
    opacity: 0.7;
}

/* Active Section Highlight */
.patent-section__item.is-active {
    animation: sectionHighlight 0.5s ease;
}

@keyframes sectionHighlight {
    0% {
        background: transparent;
    }
    50% {
        background: rgba(11, 110, 253, 0.05);
    }
    100% {
        background: transparent;
    }
}

.patent-section__item.is-active .patent-section__title {
    color: #0b6efd;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
	opacity: 0.6;
    backdrop-filter: blur(5px);
}

.lightbox__container {
    position: relative;
    width: 90%;
    /* max-width: 1200px; */
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000;
}

.lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #0f1f2f;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox__close:hover {
    background: #fff;
    transform: scale(1.1);
}


.lightbox__image-container {
    width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #fff; */
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

.lightbox__image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.lightbox__caption {
    font-size: 1.1rem;
    font-weight: 500;
}
.zstt{
	margin-top: 10px;
	color: #828282;
	font-size: 15px;
	text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .patent-section {
        padding: 40px 15px;
    }

    .patent-section__item {
        margin-bottom: 60px;
    }

    .patent-section__title {
        font-size: 1.5rem;
    }

    .patent-section__title::before {
        left: -15px;
        height: 25px;
    }

    .certification-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .international-carousel {
        padding: 0 50px;
    }

    .international-carousel .carousel__slide {
        grid-template-columns: 1fr !important;
        gap: 15px;
        display: block !important;
    }
    
    .international-carousel .carousel__slide .certification-card {
        width: 100%;
        margin: 0 auto;
    }

    .international-carousel .certification-card img {
        max-height: 300px;
    }

    .carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel__btn--prev {
        left: 10px;
    }

    .carousel__btn--next {
        right: 10px;
    }

    .carousel__container {
        padding: 20px;
    }

    .lightbox__close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .lightbox__container {
        width: 95%;
    }
}

