/* find */
.find-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.find-item {
    display: flex;
    flex-direction: column;
}
.find-item h3 {
    font-weight: bold;
}
.find-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* related */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}
.related-item {
    display: flex;
    flex-direction: column;
}
.related-item h3 {
    font-weight: bold;
}
.related-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}
.normal-swiper-item {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    position: relative;
}
.normal-swiper-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}
.normal-swiper-item-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
.normal-swiper-item-content h3 {
    font-size: 16px;
    color: #FFFFFF;
}
.normal-swiper-item-content p {
    display: none;
    font-size: 14px;
    color: #FFFFFF;
}
.normal-swiper-item-content a {
    margin-top: auto;
    color: #FFFFFF;
}
.normal-swiper-item-content:hover {
    background-color: rgba(255, 255, 255, 0.6);
}
.normal-swiper-item-content:hover h3 {
    font-size: 16px;
    color: #000;
}
.normal-swiper-item-content:hover p {
    display: block;
    font-size: 14px;
    color: #000;
}
.normal-swiper-item-content:hover a {
    color: #000;
}
.normal-swiper-button-prev, .normal-swiper-button-next {
    border: 1px solid #f1f1f1;
    border-radius: 50%;
    width: 44px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #f1f1f1;
}
.normal-swiper-button-prev::after, .normal-swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
/* question */
.work-list-box {
    margin-top: 60px;
    display: flex;
    border-radius: 20px;
    border: 1px solid #999;
    justify-content: space-between;
}

.work-list-box-left {
    width: 100%;
    min-width: 50%;
    padding: 50px;
}
@media (max-width: 767px) {
    .work-list-box {
        flex-direction: column-reverse;
    }
    .work-list-box-left {
        padding: 20px;
    }
}
.work-title {
    text-align: left;
}
.work-list-box-nav {
    width: 100%;
    min-width: 50%;
    display: flex;
    /*gap: 20px;*/
    flex-direction: column;
}
.work-list-box-nav-item {
    /*border-left: 2px #e9e9e9 solid;*/
    color: #848484;
    transition: transform 0.3s ease;
    /* height: 35px; */
    padding: 15px 0;
    border-bottom: 1px solid #999;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
}
.work-list-box-nav-item:first-child {
    border-top: 1px solid #999;
}
.work-list-box-nav-item.active::after {
    transition: transform 0.3s;
    transform: rotate(-45deg);
}
.work-list-box-nav-item.active h4 {
    color: #000;
}
.work-list-box-nav-item-content {
    width: 100%;
    min-height: 33px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.grid {
    display: grid;
    grid-template-rows: 0fr;
    transition: .3s;
    overflow: hidden;
}
.grid div {
    min-height: 0;
}
.work-list-box-nav-item.active .grid {
    grid-template-rows: 1fr;
}
.work-list-box-nav-item-content p {
    margin: 0;
}
.work-list-box-nav-number {
    font-size: 22px;
    font-family: SailecBold;
    color: #4e5956;
    width: 30px;
    display: flex;
    align-items: start;
}
.work-list {
    overflow: hidden;
}
.work-item {
    border-radius: 20px;
}
.work-item img {
    width: 100%;
    height: auto;
    /*border: 1px solid #666;*/
    border-radius: 10px;
    object-fit: cover;
}
.work-list-box-nav-item-line {
    width: 2px;
    height: 100%;
    background: #e9e9e9;
    position: absolute;
    left: 0;
    top: 0;
}
.work-list-box-nav-item-line-active {
    background: linear-gradient(to bottom, #0033A1 50%, #e9e9e9 50%);
    background-size: 100% 200%;
    animation: changeColor 5s forwards;
}

.work-list-box-nav-item::after {
    transition: transform 0.3s;
    content: '+';
    font-weight: bold;
    transform: rotate(0deg);
    font-size: 26px;
}

@media (max-width: 767px) {
    .work-list-box-nav-item-content h4 {
        font-size: 18px;
    }
}
/* manage */
.manage-section {
    display: flex;
    gap: 100px;
    padding-bottom: 100px;
    background-color: #F9F9F9;
}
.manage-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.manage-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: #FFFFFF;
    height: 250px;
    border-radius: 10px;
}
.manage-item:nth-child(even) {
    top: 50px;
    position: relative;
}
.manage-item-title {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
}
.manage-item-title span {
    font-size: 30px;
    font-weight: bold;
}
.manage-item-title h3 {
    margin-bottom: 0;
    font-weight: bold;
}
@media (max-width: 767px) {
    .manage-section {
        flex-direction: column;
        gap: 50px;
    }
    .manage-container {
        width: auto;
    }
    .title {
        margin-bottom: 10px;
    }
    .manage-item:nth-child(even) {
        top: 0;
    }
}
/* form */
.visit-form {
    width: 70% !important;
}
@media (max-width: 767px) {
    .visit-form {
        width: auto !important;
    }
}


/* introduction section */
.introduction-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.introduction-top {
    display: flex;
    gap: 30px;
    align-items: center;
}
.introduction-bottom {
    display: flex;
}
.introduction-left {
    width: 50%;
    aspect-ratio: 3/2;
    position: relative;
}
.introduction-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.introduction-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.introduction-title h2 {
    color: #FFBB0E;
    font-size: 32px;
    margin-top: 20px;
}
.introduction-content {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    gap: 30px;
}
.introduction-content-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    /*width: 40%;*/
}
.introduction-content-item h3 {
    color: #FFBB0E;
    margin-bottom: 0;
}
.introduction-content-item img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

/* Testimonials Section - Product Page */
.testimonials-section-product {
    background-color: #f2f2f2;
    /* Slightly different background */
    padding: 80px 20px;
    overflow: hidden;
}

.tsp-container {
    max-width: 1680px;
    /* Testimonials can be slightly narrower */
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.tsp-title {
    font-size: 36px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.tsp-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.testimonials-swiper-product {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    /* Space for navigation */
}

.testimonials-swiper-product .swiper-wrapper {
    align-items: stretch;
}

.tsp-slide {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto !important;
    align-self: stretch;
    /* Ensure consistent height */
}

.tsp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.tsp-stars {
    color: #ffc107;
    /* Gold color for stars */
    font-size: 20px;
    padding: 10px;
}

.tsp-stars span {
    margin-right: 2px;
}

.tsp-quote {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 10px;
    /* Allows quote to take available space */
}

.tsp-customer {
    display: flex;
    align-items: center;
    padding: 10px;
    /* Pushes customer info to the bottom */
}

.tsp-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.tsp-customer-details p {
    margin: 0;
    line-height: 1.4;
}

.tsp-customer-name {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
}

.tsp-customer-company {
    font-size: 14px;
    color: #777;
}

/* Swiper Navigation for Testimonials */
.tsp-button-prev,
.tsp-button-next {
    color: #e50012;
    /* Theme red for navigation */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tsp-button-prev:hover,
.tsp-button-next:hover {
    background-color: #e50012;
    color: #fff;
}

.tsp-button-prev::after,
.tsp-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.tsp-button-prev {
    left: 10px;
}

.tsp-button-next {
    right: 10px;
}


/* Product Listing Section */
.pls-container {
    /*max-width: 1300px;*/
    margin: 0 auto;
    display: flex;
    gap: 30px;
}
.pls-content-area {
    position: relative;
    flex: 1;
}
.pls-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    padding-top: 20px;
}
.pls-product-card {
    display: flex;
    /*background-color: #fff;*/
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pls-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.pls-product-card a {
    width: 100%;
}

.pls-image-placeholder {
    /*width: 100%;*/
    /*height: 220px;*/
    /* 根据实际图片比例调整 */
    /*background-color: #e9ecef;*/
    /* 占位符背景色 */
    display: flex;
    margin: 10px;
    justify-content: center;
    align-items: center;
    color: #adb5bd;
    font-size: 14px;
}
.pls-image-placeholder img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.pls-product-name {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 20px auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    text-align: center;
}
.pagination-container {
    padding: 0 15px;
}

/* faq */
.faq-section {
    padding: 60px 20px;
    background-color: #fff;
    /* White background */
}

@media (max-width: 767px) {
    .faq-section {
        padding: 40px 15px;
    }
}

.faq-container {
    max-width: 1360px;
    /* Adjusted max-width as per request */
    margin: 0 auto;
    padding: 0;
}

.faq-main-title {
    font-size: 32px;
    /*font-weight: bold;*/
    /*color: #222;*/
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    /* border-top: 1px solid #e0e0e0; */
}

.faq-item {
    /* border-bottom: 1px solid #e0e0e0; */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    transition: font-weight 0.2s ease-in-out;
}

.faq-item .faq-question-title:hover {
    font-weight: 700;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    transition: max-height 0.35s ease-in-out;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    /* Padding only when open */
}

.faq-icon {
    width: 12px;
    flex-shrink: 0;
    margin-left: 15px;
    margin-bottom: 8px;
}


/* Responsive Adjustments for FAQ */
@media (max-width: 767px) {
    .faq-main-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 17px;
        padding: 18px 0;
    }

    .faq-answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-main-title {
        font-size: 24px;
    }

    .faq-question {
        font-size: 16px;
        justify-content: space-between;
        align-items: center;
    }
}
