
@media(min-width:768px) and (max-width:1365px) {
    .main {
        overflow: hidden;
    }
}

@media(max-width: 767px) {
    .banner-desc-box {
        width: 100%;
        padding: 20px;
    }
}
.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;
}

@media(min-width:768px) and (max-width:1365px) {
    .luxury-packaging-section {
        padding: 80px 0 0;
    }
}

/* form */

.factory-form {
    width: 100%;
    max-width: 1300px;
    padding: 45px 0;
    display: flex;
}

.factory-form-title {
    /*width: 230px;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.factory-form-container {
    width: 70%;
    margin: auto;
}

@media(max-width:767px) {
    .factory-form-container {
        width: auto;
    }
}


.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: #FF99D3;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background: #FF99D3;
    color: #fff;
    border: none;
}

.btn-custom-primary:focus-visible {
    outline: none;
}

.btn-custom-outline-dark {
    background: transparent;
    color: #000;
    border: 1px solid #18191B;
}

.btn-custom-outline-dark:hover {
    background: #fff;
    color: #000;
}

.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;
    }

    .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: 40px 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 */

.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: #FF99D3;
    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;
    /*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: #000;
    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;
}

@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: #FF99D3;
}
.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;
    }
}

/* product categories */

.packaging-section {
    width: 100%;
    /*padding: 50px 20px;*/
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.packaging-section-content {
    display: flex;
}
.packaging-section-title {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    margin: 0 auto;
}

.packaging-section-title p {
    font-size: 18px;
}

.fcs-tabs-nav {
    width: 40%;
    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 */
    border-right: 5px dashed var(--base-color);
    margin-right: 70px;
}

.fcs-tabs-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /*flex-wrap: wrap;*/
    /* Allow tabs to wrap on smaller screens */
    /*justify-content: center;*/
    gap: 15px;
    /* Gap between tab items */
}

.fcs-tab-item {
    display: flex;
    /*width: 200px;*/
    height: 90px;
    /*padding: 12px 25px;*/
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    line-height: 1;
    color: #000;
    /*white-space: break-spaces;*/
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: left;
    gap: 50px;
    /*border: 1px solid #CCCCCC;*/
}

@media (max-width: 767px) {
    .fcs-tabs-nav {
        width: 100%;
        border-right: none;
        border-bottom: 5px dashed var(--base-color);
    }
    .packaging-section-content {
        flex-direction: column;
        gap: 20px;
    }
    .fcs-tabs-list {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .fcs-tab-item {
        gap: 10px;
    }
}
.fcs-tab-item p {
    width: 60%;
}
.fcs-tabs-img {
    width: 75px;
    height: 75px;
    overflow: hidden;
}
.fcs-tabs-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.fcs-tab-item:hover {
    /*background-color: #FFBB0E;*/
    color: #000;
}
.fcs-tab-item:hover img,.fcs-tab-item.active img {
    position: relative;
    left: -150px;
    filter: drop-shadow(150px 0 var(--base-color));
}

.fcs-tab-item.active {
    color: var(--base-color);
    font-weight: bold;
}
.fcs-tab-item:hover p {
    color: var(--base-color);
    font-weight: bold;
}

.fcs-content-area {
    /* Styles for the content area if needed */
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    /*padding: 0 20px;*/
}

.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(3, 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: 1;
    /* 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;
    border-radius: 10px;
}

.fcs-item-title {
    font-size: 16px;
    color: #000;
    /*margin: 15px 15px 8px 15px;*/
    text-align: center;
    font-weight: 400;
}
.fcs-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 15px 15px 15px;
}

/* contact-us-section */
.contact-us-section {
    height: 200px;
    border-radius: 20px;
    background-color: var(--base-color);
    justify-content: center;
    display: flex;
    padding: 0 80px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.contact-us-section h2 {
    color: #FFFFFF;
    font-size: 40px;
    width: 80%;
    text-align: left;
    margin: auto;
}
.contact-us-section .normal-button-wrapper {
    font-size: 25px;
}
@media (max-width: 767px) {
    .contact-us-section {
        flex-direction: column;
        padding: 50px 20px;
        gap: 20px;
    }
    .contact-us-section h2 {
        font-size: 24px;
        text-align: center;
        width: 100%;
    }
}
/* why-choose-us-section */
.why-choose-us-section {
    display: flex;
    gap: 120px;
}

.why-choose-us-left {
    flex: 0.44;
}
.why-choose-us-right {
    flex: 0.56;
}
.why-choose-us-left h2,.why-choose-us-left p {
    margin-bottom: 60px;
}

.why-choose-us-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
}
.why-choose-us-right-item {

}
.why-choose-us-right-item span {
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    padding-left: 26px;
    font-weight: bold;
    font-size: 34px;
    color: var(--base-color);
    font-style: italic;
    width: 100px;
    height: 100px;
    border-radius: 5px 5px 25px 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.why-choose-us-right-item h3 {
    font-weight: 600;
    font-size: 31px;
    margin-bottom: 40px;
}
.why-choose-us-container {
    display: flex;
    gap: 120px;
    height: 500px;
}
.why-choose-us-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    min-width: 100%;
    min-height: 100%;
    transform:translate(-50%,-50%);
}
.why-choose-us-item {
    position: relative;
    overflow:hidden;
    border-radius: 10px;
}
@media (max-width: 767px) {
    .why-choose-us-container {
        flex-direction: column;
    }
    .why-choose-us-section {
        flex-direction: column;
        gap: 50px;
    }
    .why-choose-us-left h2, .why-choose-us-left p {
        margin-bottom: 30px;
    }
    .why-choose-us-right {
        gap: 15px;
        row-gap: 30px;
    }
    .why-choose-us-right-item h3 {
        font-size: 20px;
    }
    .why-choose-us-right-item span {
        margin-bottom: 30px;
        width: 80px;
        height: 80px;
        padding-left: 20px;
        font-size: 26px;
    }
}

/* 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-container .title h2 {
    margin-bottom: 100px;
}

.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 {
    margin: auto;
    width: 90%;
    /*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: 560px;
    object-fit: cover;
    border-radius: 10px;
}

.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;
}

/* question */
.work-list-box {
    margin-top: 60px;
    display: flex;
    gap: 80px;
    /*border-radius: 20px;*/
    /*border: 1px solid #999;*/
    justify-content: space-between;
}

.work-list-box-left {
    flex: 0.4;
}
@media (max-width: 767px) {
    .work-list-box {
        flex-direction: column;
        gap: 30px;
    }
    .testimonials-section-product {
        margin: 0;
    }
}
.work-title {
    text-align: left;
    margin-bottom: 100px;
}
.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: #c5c5c5;
    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.active::after {
    transition: transform 0.3s;
    transform: rotate(-45deg);
}
.work-list-box-nav-item.active {
    border-bottom: 1px solid var(--base-color);
}
.work-list-box-nav-item h3 {
    margin-bottom: 0;
}
.work-list-box-nav-item.active h3 {
    color: var(--base-color);
    font-weight: bold;
}
.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;
    flex: 0.6;
}
.work-item {
    border-radius: 20px;
}
.work-item img {
    width: 100%;
    height: 440px;
    /*border: 1px solid #666;*/
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 40px;
}
.work-item h3 {
    color: var(--base-color);
    font-weight: bold;
    font-size: 32px;
}
.work-item p {
    margin-bottom: 20px;
}
.work-item .normal-button {
    font-size: 24px;
    border: 1px solid red;
    color: red;
}
.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 {
        min-height: auto;
    }
    .work-list-box-nav-item-content h3 {
        font-size: 18px;
    }
    .work-title {
        margin-bottom: 20px;
    }
}

/* how-to-start-project-grid */
.how-to-start-project-section {
    background-color: #F8F9FA;
}
.how-to-start-project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 50px;
    column-gap: 125px;
    padding: 0 100px;
}
.how-to-start-project-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 40px;
}
.how-to-start-project-item h3 {
    font-size: 24px;
}
.how-to-start-project-item-img::after {
    content: "";
    width: 125px;
    height: 1px;
    left: 100%;
    top: 75px;
    position: absolute;
    background-color: var(--base-color);
}
.how-to-start-project-item:nth-child(5n) .how-to-start-project-item-img::after {
    content: "";
    width: 62px;
    height: 1px;
    left: 100%;
    top: 75px;
    position: absolute;
    background-color: var(--base-color);
}
.how-to-start-project-item:nth-child(5) .how-to-start-project-item-img::before {
    content: "";
    width: 1px;
    height: 200px;
    left: calc(100% + 62px);
    top: 75px;
    position: absolute;
    background-color: var(--base-color);
}
.how-to-start-project-item:nth-child(10) .how-to-start-project-item-img::before {
    content: "";
    width: 1px;
    height: 150px;
    left: calc(100% + 62px);
    top: -74px;
    position: absolute;
    background-color: var(--base-color);
}
.how-to-start-project-item-img {
    border-radius: 100px;
    aspect-ratio: 1;
    padding: 40px;
    border: 1px solid var(--base-color);
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
}
.how-to-start-project-item-img img {
    width: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .how-to-start-project-section .title {
        margin-bottom: 50px;
    }
    .how-to-start-project-grid {
        padding: 0 20px;
        row-gap: 0;
        column-gap: 0;
    }
    .how-to-start-project-item {
        gap: 20px;
    }
    .how-to-start-project-item-img {
        width: 60px;
        height: 60px;
        padding: 15px;
    }
    .how-to-start-project-item h3 {
        font-size: 12px;
    }
    .how-to-start-project-item-img::after {
        top: 30px;
        width: calc((100vw - 340px + 5px) / 5);
    }
    .how-to-start-project-item:nth-child(5n) .how-to-start-project-item-img::after {
        top: 30px;
        width: calc((100vw - 340px + 5px) / 10);
    }
    .how-to-start-project-item:nth-child(5) .how-to-start-project-item-img::before {
        top: 30px;
        left: calc(100% + (100vw - 340px + 5px) / 10);
        height: 100px;
    }
    .how-to-start-project-item:nth-child(10) .how-to-start-project-item-img::before {
        top: -50px;
        height: 81px;
        left: calc(100% + (100vw - 340px + 5px) / 10);
    }
}
/* blog */
.blog-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.blog-title {
    display: flex;
    justify-content: space-between;
}
.blog-list {
    display: flex;
    gap: 100px;
}
.blog-item {
    width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-item img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.blog-item h3 {
    color: #0d0d0d;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 22px;
}
.blog-item p {
    color: #0d0d0d;
}
.blog-item:hover h3,.blog-item:hover p {
    color: var(--base-color);
}
.blog-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-section .normal-button {
    font-size: 16px;
    border: 1px solid red;
    color: red;
}

@media (max-width: 767px) {
    .blog-item {
        width: 100%;
        flex-direction: column;
    }
    .blog-title {
        align-items: center;
    }
    .blog-title h2 {
        margin-bottom: 0;
    }
}
