.banner-desc-box {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: right;
    max-width: 800px;
    color: #fff;
}

@media(min-width:768px) and (max-width:1365px) {
    .main {
        /*overflow: hidden;*/
    }
}

@media(max-width: 767px) {
    .banner-desc-box {
        width: 90%;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main {
        overflow: unset;
    }
}

.banner-desc-box-title {
    font-size: 48px;
    font-weight: bold;
}

@media(max-width: 767px) {
    .banner-desc-box-title {
        font-size: 1em;
    }

    .banner-desc-box-title h1 {
        font-size: 20px;
    }
}

.banner-desc-box-content {
    font-size: 18px;
}

@media(max-width: 767px) {
    .banner-desc-box-content {
        font-size: 14px;
    }
}

.banner-desc-box-button {
    font-size: 16px;
    background-color: #565656;
    color: #fff;
    width: 140px;
    height: 47px;
    border-radius: 8px;
    margin-right: 0;
    margin-left: auto;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width: 767px) {
    .banner-desc-box-button {
        width: 100px;
        height: 30px;
        font-size: 12px;
        margin-top: 10px;
    }
}

.banner-desc-box-button .button-text-original,
.banner-desc-box-button .button-text-hover {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.banner-desc-box-button .button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    height: 24px;
}

.banner-desc-box-button:hover .button-text-original {
    transform: translateY(-100%);
}

.banner-desc-box-button:hover .button-text-hover {
    transform: translateY(0);
}

.button-text-wrapper {
    display: inline-block;
    height: 24px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.luxury-packaging-section {
    /*padding-top: 100px;*/
    /*background: #fff;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    align-items: center;
    color: #fff;
    width: 90%;
}

@media(min-width:768px) and (max-width:1365px) {
    .luxury-packaging-section {
        padding: 80px 0 0;
        /*position: static;*/
        /*transform: translate(0,0);*/
        /*width: 100%;*/
    }
}

.main-title {
    font-size: 50px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 20px;
    /*color: #000;*/
}

@media(min-width:768px) and (max-width:1365px) {
    .main-title {
        font-size: 32px;
    }
}

.sub-title {
    font-size: 20px;
    line-height: 2;
    /*color: #666;*/
    margin-bottom: 30px;
}

@media(min-width:768px) and (max-width:1365px) {
    .sub-title {
        font-size: 16px;
    }
}

.btn-row-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media(max-width:767px){
    .btn{
        font-size: 14px;
    }
}

.btn-custom-primary {
    background: var(--base-color);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background: var(--base-color);
    color: #fff;
    border: none;
}

.btn-custom-primary:focus-visible {
    outline: none;
}

.btn-custom-outline-dark {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-custom-outline-dark:hover {
    /*background: #fff;*/
    color: #fff;
}

.btn-custom-outline-dark:focus-visible {
    outline: none;
}

.btn:hover {
    transform: translateY(-2px);
    font-weight: 700;
}

.btn:focus-visible {
    outline: none;
}

.btn:active {
    outline: none;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    .luxury-packaging-section {
        padding: 40px 0;
        position: static;
        transform: translate(0,0);
        width: 100%;
    }
    .luxury-packaging-section h1 {
        color: #0d0d0d;
    }
    .luxury-packaging-section p {
        color: #0d0d0d;
    }
    .btn-custom-outline-dark {
        background: transparent;
        color: #000;
        border: 1px solid #000;
    }
    .main-title {
        font-size: 24px;
    }

    .sub-title {
        font-size: 14px;
    }

    .btn-row-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/**
 * 等宽按钮样式
 * @author XuZhenxing
 */
.btn-equal-width {
    width: 200px;
    text-align: center;
    display: inline-block;
}

/* 响应式设计 - 手机样式 */
@media (max-width: 767px) {
    .btn-equal-width {
        width: 100%;
    }
}

/* 响应式设计 - 平板样式 */
@media (min-width: 768px) and (max-width: 1366px) {
    .btn-equal-width {
        width: 230px;
        font-size: 14px;
    }
}

/* 响应式设计 - PC样式 */
@media (min-width: 1366px) {
    .btn-equal-width {
        width: 240px;
    }
}

/* 无限滚动start */
/* Partners Section */
.partners-section {
    /*padding-top: 100px;*/
    text-align: center;
}

@media(max-width:767px){
    .partners-section{
        /*padding: 40px 0;*/
    }
}

.partners-section .container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
}

.partners-section .section-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin-bottom: 15px;
}

.partners-section .section-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
    /* row-gap column-gap */
}

.partners-logo-grid img {
    max-height: 40px;
    /* Adjust based on average logo height */
    max-width: 130px;
    /* Adjust based on average logo width */
    object-fit: contain;
    /* opacity: 0.7; */
    transition: opacity 0.3s ease;
}

.partners-logo-grid img:hover {
    opacity: 1;
}

.brand-box {
    width: 100%;
    /*max-width: 1360px;*/
    max-width: 1680px;
    margin: auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12%, rgb(0, 0, 0) 88%, rgba(0, 0, 0, 0) 100%);
}

.brand-box-row {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*overflow: hidden;*/
    /*white-space: nowrap; !* 防止换行 *!*/
    /*mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12%, rgb(0, 0, 0) 88%, rgba(0, 0, 0, 0) 100%);*/
    position: relative;
    /*right: -130px;*/
    height: 50px;
}

@media(max-width:767px) {
    .brand-box-row{
        height: 30px;
    }
}

.brand-box-row-img {
    position: absolute;
    right: -130px;
    width: 130px;
    height: 50px;
    object-fit: contain;
}

.brand-box-row-2 {
    white-space: nowrap;
    /* 防止换行 */
    position: relative;
    height: 430px;
}

.brand-box-row img {
    height: 30px;
    /*animation: 30s scroll-left linear infinite normal;*/
    /*margin-right: 15px;*/
}

.brand-box-row-item {
    border-radius: 12px;
    border: 0px solid #333;
    padding: 10px;
    width: 100px;
    min-width: 400px;
    /*height: 100px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: -600px;
    /*margin-right: 10px;*/
    /*-webkit-animation: 130s scroll linear infinite normal;*/
    /*animation: 30s scroll-right linear infinite normal;*/
}

.brand-box-row-item img {
    width: 80%;
    height: 400px;
}
.brand-box-row-item p {
    color: #000;
    font-size: 16px;
}


.brand-list-1 {
    width: 100%;
    max-width: 1360px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
    grid-auto-rows: min-content;
}

.brand-list-2 {
    width: 100%;
    max-width: 1360px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 20px;
    grid-auto-rows: min-content;
}

.brand-list-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #e3e3d3;
    border-radius: 6px;
    overflow: hidden;
}

.brand-list-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-desc {
    width: 100%;
    max-width: 1360px;
    margin: 40px auto;
}

.brand-list {
    overflow: hidden;
    width: 100%;
    max-width: 1360px;
    margin: 40px auto;
    position: relative;
    padding: 0 40px;
}

/* 无限滚动end */

/* Brothersbox Overview Section */
/**
 * Brothersbox Overview 区域样式
 * @author XuZhenxing
 */
.brothersbox-overview-section {
    /*padding-top: 100px;*/
    background: #fff;
}

.overview-content {
    padding-right: 40px;
}



.overview-title {
    font-size: 36px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
    line-height: 2;
}

.tab-navigation {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #000;
}

.tab-item {
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-label {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

@media(min-width:768px) and (max-width:1365px) {
    .tab-label {
        font-size: 16px;
    }
}

.tab-item.active .tab-label {
    color: #000;
    font-weight: bold;
}

.tab-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-item.active .tab-underline {
    opacity: 1;
}

.tab-content {
    margin-bottom: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.overview-tab-description {
    font-size: 18px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
}

@media(min-width:768px) and (max-width:1365px) {
    .overview-tab-description {
        font-size: 16px;
    }
}

@media(max-width:767px){
    .overview-tab-description{
        font-size: 14px;
    }
}

.scale-subitems {
    margin-top: 20px;
}

.scale-subitem {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.scale-subitem:hover {
    text-decoration: none;
    color: var(--base-color);
    transform: translateX(5px);
}

.subitem-label {
    color: #333;
    font-weight: 500;
    margin-right: 10px;
}

.subitem-arrow {
    color: #666;
    margin: 0 10px;
}

.subitem-value {
    color: #666;
}

.btn-about-us {
    background: var(--base-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}
@media(min-width:768px) and (max-width:1365px) {
    .btn-about-us {
        font-size: 14px;
    }
}

@media(max-width:767px){
    .btn-about-us{
        font-size: 14px;
    }
}

.btn-about-us:hover {
    background: var(--base-color);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
}

.overview-image-container {
    position: relative;
    padding-left: 40px;
}

.product-showcase {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-tab-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.5s ease;
    opacity: 0;
    position: absolute;
    transform: scale(0.9);
}

@media(min-width:768px) and (max-width:1365px) {
    .overview-tab-image {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
}

.overview-tab-image.active {
    opacity: 1;
    transform: scale(1);
}



/* 响应式设计 - 手机样式 */
@media (max-width: 767px) {
    .brothersbox-overview-section {
        /*padding: 40px 0;*/
    }

    .overview-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .overview-title {
        font-size: 24px;
    }

    .tab-navigation {
        gap: 20px;
        flex-wrap: wrap;
    }

    .tab-label {
        font-size: 14px;
    }

    .overview-image-container {
        padding-left: 0;
    }

    .product-showcase {
        height: 270px;
    }
}

/* 响应式设计 - 平板样式 */
@media (min-width: 767px) and (max-width: 1366px) {
    .brothersbox-overview-section {
        padding: 0px 0 60px;
    }

    .overview-content {
        padding-right: 20px;
    }

    .overview-title {
        font-size: 30px;
    }

    .tab-navigation {
        gap: 30px;
    }

    .overview-image-container {
        padding-left: 0px;
    }

    .product-showcase {
        height: 500px;
    }
}

/* 响应式设计 - PC样式 */
@media (min-width: 1366px) {
    /*.brothersbox-overview-section {*/
    /*    padding: 100px 0;*/
    /*}*/

    .overview-title {
        font-size: 32px;
    }

    .product-showcase {
        height: 450px;
    }
}

/* Quality Section */

.quality-container {
    /*max-width: 1300px;*/
    max-width: 1680px;
    margin: 0 auto;
    padding: 0;
}

.quality-title {
    font-size: 32px;
    font-weight: 700;
    /*color: #000;*/
    margin-bottom: 50px;
    text-align: center;
}

.quality-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-top: 90px;*/
    flex-direction: column;
}

@media(min-width:768px) and (max-width:1365px) {
    .quality-row {
        margin-top: 40px;
    }
}

.tab-list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin: auto;
}

.quality-tab-item {
    color: #000;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

@media(min-width:768px) and (max-width:1365px) {
    .quality-tab-item {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .tab-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-tab-item{
        font-size: 14px;
    }
}

.quality-tab-item-active {
    border: 1px solid #D8D8D8;
    border-radius: 999px;
}

.quality-tab-content {
    width: 100%;
    /*max-width: 1360px;*/
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    gap: 50px;
}

@media(min-width:768px) and (max-width:1365px) {
    .quality-tab-content {
        gap: 20px;
    }
}

@media(max-width:767px){
    .quality-tab-content{
        flex-direction: column;
    }
}

.quality-tab-content-img {
    width: 50%;
    height: auto;
    background: #eeeeee;
    overflow: hidden;
}

.quality-tab-content-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-tab-content-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding-left: 50px;
}

@media(min-width:768px) and (max-width:1365px) {
    .quality-tab-content-text {
        padding-left: 0;
        gap: 10px;
    }
}

@media(max-width:767px){
    .quality-tab-content-text{
        padding-left: 0;
    }
}

.quality-tab-content-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--base-color);
}

.quality-tab-content-text p {
    font-size: 18px;
    color: #000;
    line-height: 2;
}

/* Quality Section Tablet Styles */
@media (min-width: 768px) and (max-width: 1365px) {
    .quality-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .quality-subtitle {
        font-size: 15px;
        margin-bottom: 50px;
    }

    .quality-row {
        flex-direction: column;
        gap: 30px;
    }

    .quality-tabs {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .quality-content {
        order: 1;
        width: 100%;
    }

    .quality-tab-content-img {
        width: 100%;
        max-width: 350px;
        height: 300px;
        margin: 0 auto;
    }

    .quality-tab-content-text h3 {
        font-size: 24px;
        text-align: left;
    }

    .quality-tab-content-text p {
        font-size: 16px;
        text-align: left;
    }
}

/* Quality Section Mobile Styles */
@media (max-width: 767px) {
    .tab-content {
        flex-direction: column;
    }

    .quality-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .quality-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .quality-row {
        flex-direction: column;
        gap: 25px;
        margin-top: 40px;
    }

    .quality-tabs {
        order: 2;
        width: 100%;
    }

    .quality-content {
        order: 1;
        width: 100%;
    }

    .quality-tab-content-img {
        width: 100%;
        height: auto;
    }

    .tab-content-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .quality-tab-content-text h3 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }

    .quality-tab-content-text p {
        font-size: 14px;
        text-align: center;
        padding: 0 15px;
        line-height: 2;
    }
}

/* Turn Ideas Into Reality Section Styles */
.turn-ideas-reality-section {
    /*padding-top: 100px;*/
    overflow: hidden;
}

@media (max-width: 767px) {
    .turn-ideas-reality-section {
        padding: 0 15px;
    }
}

.tir-container {
    max-width: 1300px;
    /* Max width for the container */
    margin: 0 auto;
    padding: 0;
    position: relative;
    /* For swiper navigation positioning */
}

.tir-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

@media(max-width:767px){
    .tir-header{
        margin-bottom: 40px;
    }
}

.tir-header-content {
    width: 100%;
    text-align: center;
    /* Limit width of text content */
}

.tir-main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    /*color: #000;*/
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-main-title {
        font-size: 30px;
    }
}

.tir-subtitle {
    font-size: 18px;
    color: #000;
    line-height: 2;
    margin: 0;
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-subtitle {
        font-size: 16px;
    }
}

.tir-view-more-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.tir-view-more-btn:hover {
    background-color: #d9d9d9;
    border-color: #d9d9d9;
    color: #333;
}

.tir-swiper {
    padding-bottom: 10px;
    /* Adjusted padding as pagination is removed */
}

.tir-slide {
    text-align: left;
}

.tir-slide-image-wrapper {
    width: 100%;
    /* aspect-ratio: 3 / 4; /* Or your desired aspect ratio */
    /* height: 350px; /* Or a fixed height if you prefer */
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #e9e9e9;
    /* Placeholder if image is missing */
}
.tir-slide:hover p {
    color: var(--base-color);
}
.tir-slide-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-slide-image-wrapper img {
        height: 300px;
    }
}

.tir-slide-title {
    font-size: 18px;
    color: #000;
    margin: 0;
    padding: 0 5px;
    /* Some padding if text is close to edges */
    line-height: 2;
    text-align: center;
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-slide-title{
        font-size: 16px;
    }
}

@media(max-width:767px){
    .tir-slide-title{
        font-size: 14px;
    }
}

/* Swiper Navigation Buttons - COMMENTED OUT */
/*
.tir-button-prev,
.tir-button-next {
    color: #000;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.tir-button-prev::after,
.tir-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.tir-button-prev {
    left: -15px;
}

.tir-button-next {
    right: -15px;
}
*/

/* Swiper Pagination - COMMENTED OUT */
/*
.tir-pagination .swiper-pagination-bullet {
    background-color: #aaa;
    opacity: 0.7;
}

.tir-pagination .swiper-pagination-bullet-active {
    background-color: #000;
    opacity: 1;
}
*/

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .tir-container {
        padding: 0 20px;
        /* Reverted padding as nav buttons are removed */
    }

    /* Navigation button positioning adjustments removed as buttons are removed */
    /*
    .tir-button-prev {
        left: 5px;
    }
    .tir-button-next {
        right: 5px;
    }
    */
}

@media (max-width: 767px) {
    .tir-container {
        padding: 0;
    }

    .tir-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tir-header-content {
        max-width: 100%;
    }

    .tir-main-title {
        font-size: 24px;
    }

    .tir-subtitle {
        font-size: 14px;
    }

    .tir-view-more-btn {
        align-self: flex-start;
    }

    /* Navigation buttons hide rule removed as buttons are removed */
    /*
    .tir-button-prev,
    .tir-button-next {
        display: none;
    }
    */
    .tir-swiper {
        padding-bottom: 10px;
        /* Adjusted padding as pagination is removed */
    }
}

/* Sustainability Section */
.sustainability-section {
    margin-top: 100px;
    background-size: cover;
    background-position: center center;
    position: relative;
    color: #fff;
    height: 488px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-attachment: fixed; */
}

.sustainability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* Dark overlay for text readability */
    z-index: 1;
}

.sustainability-content {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .sustainability-content {
        color: #000;
        top: 230px;
        margin-bottom: 100px;
    }
    .sustainability-section {
        margin-bottom: 300px;
        height: 135px;
    }
}
.sustainability-title {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

@media(min-width:768px) and (max-width:1365px) {
    .sustainability-title {
        font-size: 30px;
    }
}

@media(max-width:767px){
    .sustainability-title{
        font-size: 24px;
    }
}

.sustainability-text {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media(max-width:767px){
    .sustainability-text{
        font-size: 14px;
    }
}

.sustainability-button {
    display: inline-block;
    background-color: #fff;
    color: #222;
    /* padding: 12px 40px; */
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: auto;
    height: 40px;
}

@media(max-width:767px){
    .sustainability-button{
        background-color: var(--base-color);
        font-size: 14px;
        color: #FFFFFF;
    }
}

.button-text-wrapper {
    display: inline-block;
    height: 1.2em;
    line-height: 1.2;
    overflow: hidden;
    position: relative;
}

.button-text-original,
.button-text-hover {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.sustainability-button:hover .button-text-original {
    transform: translateY(-100%);
}

.sustainability-button:hover .button-text-hover {
    transform: translateY(0);
}

.sustainability-button:hover {
    background-color: var(--base-color);
    transform: translateY(-2px);
    color: #fff;
}

/* Quote Section */
.quote-section {
    /*padding-top: 100px;*/
    /*background: #EFEFEF;*/
    /*gap: 50px;*/
    padding-left: 20px;
    padding-right: 20px;
}
.quote-box2 {
    display: flex;
    max-width: 1680px;
    margin: 0 auto;
}
.quote-pic {
    position: relative;
    margin: 80px 80px 0;
    /*width: 50%;*/
}
.quote-pic img {
    position: relative;
    width: 100%;
}
.quote-background {
    background-color: #FFF8ED;
    position: absolute;
    height: 100%;
    width: 100%;
    top: -80px;
    left: -80px;
}

.quote-container {
    /*width: 50%;*/
    max-width: 1300px;
    margin: auto;
    text-align: left;
    padding-bottom: 20px;
}

.quote-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--base-color);
    padding-bottom: 30px;
    margin: 0;
}

@media(min-width:768px) and (max-width:1365px) {
    .quote-main-title {
        font-size: 30px;
    }
}

@media(max-width:767px){
    .quote-main-title{
        font-size: 24px;
    }
}

.quote-container p {
    font-size: 18px;
    color: #000;
}

@media(min-width:768px) and (max-width:1365px) {
    .quote-container p {
        font-size: 16px;
    }
}

@media(max-width:767px){
    .quote-container p{
        font-size: 14px;
    }
    .quote-box2 {
        flex-direction: column;
        gap: 30px;
    }
}

/* Certification Section */
.certification-section {
    padding-top: 100px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.certification-header {
    display: flex;
}

.certification-header-content{
    width:100%;
    margin:auto;
    text-align: center;
    margin-bottom: 40px;
}

@media(max-width:767px){
    .certification-header-content{
        width: 100%;
    }
}

.certification-main-title{
    /*font-size: 32px;*/
    font-weight: 700;
    /*color: #000;*/
    margin-bottom: 10px;
    text-align: center;
}

@media(min-width:768px) and (max-width:1365px) {
    .certification-main-title{
        font-size: 30px;
    }
}

@media(max-width:767px){
    .certification-main-title{
        font-size: 24px;
    }
}

.certification-subtitle{
    font-size: 18px;
    color: #000;
    text-align: center;
}

.how-it-work-section {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 100px;
}
.how-it-work-box {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.how-it-work-title {
    margin-bottom: 60px;
}
.how-it-work-title h2 {
    font-size: 32px;
    font-weight: bold;
}
.how-it-work-container {
    display: flex;
    width: 100%;
    /*gap: 50px;*/
    justify-content: space-between;
    margin-bottom: 60px;
}
.how-it-work-item {
    display: flex;
    flex-direction: column;
    flex: 1 0 20%;
    align-items: center;
}
.how-it-work-item img {
    max-height: 200px;
    object-fit: contain;
}
.how-it-work-border {
    display: block;
    width: 34px;
    height: 4px;
    margin-top: 20px;
    background-color: var(--base-color);
}
.how-it-work-item h3 {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}


@media (max-width: 767px) {
    .how-it-work-section {
        width: 100%;
        margin: 0 auto;
    }
    .how-it-work-title h2 {
        font-size: 24px;
        font-weight: bold;
    }
    .how-it-work-title {
        margin-bottom: 30px;
    }
    .how-it-work-container {
        flex-direction: column;
    }
    .how-it-work-item h3 {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 30px;
    }
    .how-it-work-item img {
        max-height: none;
        width: 100%;
    }
    .brand-box-row-item {
        min-width: 400px;
    }
    .quote-section {
        flex-direction: column;
    }
    .quote-pic {
        margin: 30px;
    }
    .quote-background {
        top: 30px;
        left: 30px;
    }
}

/* Styles for New Interactive Certification Display Section */
.interactive-certification-display {
    /*padding: 100px 0;*/
}

.interactive-certification-display .container {
    max-width: 1360px;
    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: 100%;
    height:100%;
    /* 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;
    width:100%;
}

/* 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 {
        height:100%;
        max-height: 100%;
    }

    .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;
    }
}


.tab-image {
    display: none;
}

@media (max-width: 767px) {
    .tab-image {
        display: none;
    }
}

/* ================= 5. 工厂介绍 (图5) ================= */
.factory-layout { display: flex; gap: 80px; align-items: center;margin-bottom: 130px; }
.factory-visual { flex: 1; position: relative; }
.factory-img { height: 500px; border-radius: 20px; overflow: hidden;}
.factory-img img { width: 100%;height: 100%;object-fit: cover; }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(0,0,0,0.6); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 20px; transition: 0.3s;cursor: pointer;
}
.factory-img:hover .play-btn { background: var(--base-color); transform: translate(-50%, -50%) scale(1.1); }
.play-btn::after { content: '▶'; margin-left: 4px; }
.factory-badge { position: absolute;
    bottom: -30px;
    right: -30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(4, 30, 66, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid var(--base-color);
    z-index: 2;
}
.factory-badge .num { font-size: 40px; font-weight: 800; color: var(--base-color); line-height: 1; }
.factory-badge .txt { font-size: 12px; font-weight: 700; }
.factory-content { flex: 1; }
.factory-content h3 {color: var(--base-color); font-size: 14px; font-weight: bold; text-transform: uppercase;}
.factory-content h2 { line-height: 1.2; margin: 15px 0;font-weight: 800;}
.factory-content>p {color: var(--text-gray);}
.factory-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 30px 0; }
.stat-item h4 { font-size: 16px; margin-bottom: 5px; }
.stat-item p { font-size: 13px; color: var(--text-gray); }
@media (max-width: 767px) {
    .factory-layout {flex-direction: column-reverse;}
}
.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;
}

@media (max-width: 767px) {
    .video-box {
        width: 90%;
        height: 300px;
    }
    .factory-badge {
        right: 30px;
    }
}

.dialog-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 27px;
}


/* ================= 6. 核心差异对比 (图6) ================= */
/* --- 错层滑块排版 --- */
.comparison-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.comparison-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- 左侧/右侧：交互式图片滑块容器 --- */
.slider-wrapper {
    flex: 1;
    position: relative;
    /*height: 400px;*/
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(4, 30, 66, 0.1);
    background: #e5e7eb;
}

/* 图片层：必须占满容器 */
.img-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    /* 确保里面的图片(如果是img标签)按比例铺满不压缩 */
    background-size: cover;
    background-position: center;
}
.img-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底层图片 (Brothersbox 完美工艺) */
.img-after {
    background-color: var(--border-color); /* 用藏青色占位 */
    z-index: 1;
}

/* 顶层图片 (传统劣质工艺) */
.img-before {
    background-color: #9ca3af; /* 用灰色占位 */
    z-index: 2;
    /* 核心科技：使用 clip-path 裁剪，避免图片被压缩，默认裁掉右边50% */
    clip-path: inset(0 50% 0 0);
}

/* 滑块白色分割线 */
.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #ffffff;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none; /* 让鼠标穿透，不影响拖拽 */
}

/* 图片角标 */
.img-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}
.label-before {
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    z-index: 3;
}
.label-after {
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    z-index: 1;
}

/* 原生 Range Input 隐藏，用于捕获拖拽事件 */
.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    margin: 0;
    z-index: 5; /* 必须在最顶层捕获鼠标 */
    cursor: ew-resize;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 50px; /* 触控区域放大 */
    height: 100%;
    background: transparent;
    cursor: ew-resize;
}

/* 可见的中间圆形按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    z-index: 4; /* 在 input 之下，在 line 之上 */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* 让鼠标事件穿透到 input 上 */
    color: var(--border-color);
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.slider-btn::before {
    content: "↔";
}

/* --- 右侧/左侧：文字对比内容 --- */
.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.text-content h3 {
    font-family: 'Studio Feixen Serif', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--base-color);
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.cat-tag {
    align-self: flex-start;
    background: var(--base-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Studio Feixen Serif', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.block-challenge {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    margin-bottom: 25px;
}
.block-label-challenge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}
.block-challenge p {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0;
}

.block-solution {
    border-left: 2px solid var(--base-color);
    padding-left: 20px;
}
.block-label-solution {
    font-size: 12px;
    font-weight: 700;
    color: var(--base-color);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}
.block-solution p {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

/* --- 响应式 --- */
@media (max-width: 900px) {
    .comparison-row, .comparison-row:nth-child(even) {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .slider-wrapper {
        width: 100%;
        height: 320px;
    }
    .section-header h2 {
        font-size: 32px;
    }
}
/* ======================================================= */

/* =================== 定制流程 ============================ */
.split-screen-section {margin: 100px 0;padding: 0 20px; background-color: var(--bg-light);}
.split-screen-section .container { padding: 50px;}
.split-screen-container {display: flex;position: relative;   }
/* 左侧：文字滚动区 */
.text-column {width: 45%;padding: 10vh 5% 10vh 0;}
/* 单个步骤文字卡片 */
.step-card {min-height: 80vh; /* 保证每个步骤占据足够的屏幕高度，以触发滚动效果 */display: flex;flex-direction: column;
    justify-content: center;opacity: 0.3; /* 默认未激活状态为半透明 */transition: opacity 0.5s ease, transform 0.5s ease;transform: translateY(20px);}
/* 当前正在阅读的步骤（被 JS 激活的高亮状态） */
.step-card.active {opacity: 1;transform: translateY(0);}
.step-num {font-size: 16px;font-weight: bold;color: var(--base-color); margin-bottom: 10px;text-transform: uppercase;letter-spacing: 2px;}
.step-title {font-size: 34px;color: var(--text-dark); margin: 0 0 20px 0; font-weight: 800;line-height: 1.2;}
.step-desc {font-size: 18px;line-height: 1.6;color: #4b5563;}
/* 右侧：图片固定区 (Sticky) */
.media-column {width: 55%;position: relative;}
/* 固定在屏幕右侧的视窗 */
.sticky-viewport {position: sticky;top: 15vh; /* 距离屏幕顶部的高度 */height: 70vh; /* 图片视窗的高度 */border-radius: 16px;overflow: hidden;box-shadow: 0 20px 40px rgba(0,0,0,0.15);}
/* 图片层叠与淡入淡出逻辑 */
.media-bg {position: absolute;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;transition: opacity 0.8s ease-in-out; /* 丝滑的淡入淡出过渡 */
    display: flex;justify-content: center;align-items: center;font-size: 24px;font-weight: bold;color: #ffffff;text-align: center;}
/* 当前激活的图片 */
.media-bg.active {opacity: 1;z-index: 2;}
.media-bg img {width: 100%;height: 100%;object-fit: cover;}
/* 模拟 4 张不同的高级图片背景 */
/*#media-0 { background: linear-gradient(135deg, #1f2937, #111827); }*/
/*#media-1 { background: linear-gradient(135deg, #b45309, #78350f); }*/
/*#media-2 { background: linear-gradient(135deg, #047857, #064e3b); }*/
/*#media-3 { background: linear-gradient(135deg, #4338ca, #312e81); }*/

/* 响应式设计：手机端自动变为常规的上下堆叠排版 */
@media (max-width: 768px) {
    .split-screen-section { flex-direction: column; }
    .text-column, .media-column { width: 100%; padding: 0; }
    .step-num {font-size: 14px;}
    .step-title {font-size: 20px;}
    .step-desc {font-size: 14px;}
    .sticky-viewport { top: 300px; height: auto; margin-bottom: 40px; aspect-ratio: 1;}
    .step-card { min-height: auto; margin-bottom: 40px; opacity: 1; transform: none; }
    .split-screen-section .container {padding: 50px 0;}
    .split-screen-container {gap: 20px;}
}



/* ===========================================================  */

.packaging-section {
    width: 100%;
    /*padding: 100px 20px 50px;*/
}

@media(min-width:768px) and (max-width:1365px) {
    .packaging-section {
        padding: 0 15px;
    }
}

@media(max-width:767px) {
    .packaging-section {
        padding: 0 15px;
    }
}

.packaging-section-title {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.packaging-section-title h2 {
    font-weight: 700;
}

@media(min-width:768px) and (max-width:1365px) {
    .packaging-section-title h2 {
        font-size: 28px;
    }
}

@media(max-width:767px) {
    .packaging-section-title h2 {
        font-size: 24px;
    }
}

.packaging-section-title p {
    font-size: 18px;
}

@media(min-width:768px) and (max-width:1365px) {
    .packaging-section-title p {
        font-size: 16px;
    }
}


@media(max-width:767px) {
    .packaging-section-title p {
        font-size: 14px;
    }
}

.fcs-tabs-nav {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 40px;
    display: flex;
    /* For centering the ul if it doesn't fill width */
    justify-content: center;
    /* Center tabs */
}

.fcs-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* Allow tabs to wrap on smaller screens */
    justify-content: center;
    gap: 5px;
    /* Gap between tab items */
}

.fcs-tab-item {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.fcs-tab-item:hover {
    background-color: #e9e9e9;
    color: #000;
}

.fcs-tab-item.active {
    background-color: #fff;
    color: #000;
    border-bottom: 2px solid #000;
}

.fcs-content-area {
    /* Styles for the content area if needed */
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

@media(min-width:768px) and (max-width:1365px) {
    .fcs-content-area {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .fcs-content-area {
        padding: 0;
    }
}


.fcs-tab-content {
    display: none;
    /* Hide all tab content by default */
}

.fcs-tab-content.active {
    display: block;
    /* Show only the active tab content */
}

.fcs-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fcs-item-card {
    background-color: #fff;
    /* Card background */
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
    /* Optional: soft shadow for cards */
    text-align: left;
}

.fcs-item-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Maintain aspect ratio for images */
    background-color: #f0f0f0;
    /* Placeholder background for image */
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.fcs-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fcs-item-title {
    font-size: 18px;
    color: #000;
    margin: 15px 15px 8px 15px;
    text-align: center;
    font-weight: 400;
}

@media(min-width:768px) and (max-width:1365px) {
    .fcs-item-title {
        font-size: 16px;
    }
}



.fcs-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 15px 15px 15px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .fcs-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .fcs-tab-item {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .fcs-main-title {
        font-size: 28px;
    }

    .fcs-subtitle {
        font-size: 15px;
    }

    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcs-tabs-list {
        justify-content: center;
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        width: 100%;
    }

    .fcs-tabs-nav {
        padding-right: 0;
        padding-left: 0;
    }

    .fcs-tab-item {
        flex-shrink: 0;
        /* Prevent tabs from shrinking when scrolling */
    }
}

@media (max-width: 767px) {
    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Or 1fr for single column */
        gap: 15px;
    }

    .fcs-main-title {
        font-size: 24px;
    }

    .fcs-item-title {
        font-size: 14px;
    }

    .fcs-item-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcs-tab-item {
        padding: 8px 5px;
        font-size: 13px;
    }
}
/* ======================================================= */
