/* Entering China Page Chinese CSS Styles */

/* Customize container max-width for this page to make it more compact and premium, excluding the banner container */
@media (min-width: 1200px) {
    .entering-china-page .container:not(.banner-container) {
        max-width: 900px !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .entering-china-page .container:not(.banner-container) {
        max-width: 800px !important;
    }
}

/* Global Section Styles */
.section_title {
    font-size: 32px;
    color: #0f3b84;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 3px;
    padding-left: 3px; /* Offset letter-spacing to keep it perfectly centered */
}
.section_accent {
    width: 18px;
    height: 18px;
    background: url('/web_static/scenario/accent_dot.webp') no-repeat center center;
    background-size: contain;
    margin: 26px auto 40px auto;
}

/* Hero Banner Section */
.global_banner {
    position: relative;
    background: url('/web_static/scenario/entering_china_banner.webp') no-repeat center center;
    background-size: cover;
    height: 360px;
    display: flex;
    align-items: center;
    color: #fff;
}
.global_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 46, 105, 0.85) 0%, rgba(10, 46, 105, 0.5) 60%, rgba(10, 46, 105, 0.2) 100%);
    z-index: 1;
}
.global_banner .container {
    position: relative;
    z-index: 2;
}
.global_banner h1 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
    animation: fadeInLeft 1s both;
    letter-spacing: 4px;
}
.global_banner p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInLeft 1s 0.2s both;
}
.global_banner .btn-custom {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: fadeInLeft 1s 0.4s both;
}
.global_banner .btn-custom:hover {
    color: #eec31b;
}
.global_banner .btn-custom .arrow-img {
    width: 20px;
    height: 20px;
    margin-left: 14px;
    transition: transform 0.3s ease;
}
.global_banner .btn-custom:hover .arrow-img {
    transform: translateX(6px);
}

/* Section 2: Pain Points */
.section_2 {
    padding: 80px 0;
    background: #fff;
}
.pain_points_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.pain_point_card {
    background: rgb(239, 245, 251) !important;
    border-radius: 20px;
    padding: 24px 20px;
    width: calc(33.333% - 16px);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}
.pain_point_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 59, 132, 0.08);
}
.pain_point_card .icon_box {
    margin-bottom: 12px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pain_point_card p {
    font-size: 15px;
    color: #3d5475;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
}

/* Section 3: Solutions overrides - Perfect sweet spot between large home layout and narrow scenario layout */
.entering-china-page .solution_card {
    padding: 26px 20px !important;
    min-height: 235px !important;
}
.entering-china-page .solution_card .card_title {
    font-size: 20px !important;
    line-height: 1.4 !important;
}
.entering-china-page .solution_card .card_icon img {
    width: 40px !important;
    height: 40px !important;
}
.entering-china-page .solution_card .card_description {
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin-bottom: 18px !important;
    text-align: justify !important;
    text-justify: inter-ideograph !important;
    word-break: break-all !important;
}
.entering-china-page .solution_card .card_link {
    font-size: 14px !important;
}
.entering-china-page .solution_card .decor_circle {
    width: 26px !important;
    height: 26px !important;
    bottom: -7px !important;
    right: -7px !important;
}
.entering-china-page .solution_card:hover {
    border-bottom-right-radius: 55px !important;
}

/* Section 4: Phase/Steps */
.section_4 {
    padding: 80px 0;
    background: #fff;
}
.entering-china-page .section_subtitle {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    margin-top: -25px;
    margin-bottom: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
}
.steps_grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.step_card {
    flex: 1;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.step_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 55, 126, 0.2);
    background: #02377e;
    border-color: #02377e;
}
.step_card:hover h3 {
    color: #ffffff !important;
}
.step_card:hover ul li {
    color: rgba(255, 255, 255, 0.85) !important;
}
.step_card .step_img_box {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}
.step_card .step_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}
.step_card:hover .step_img_box img {
    transform: scale(1.05);
}
.step_card .step_content {
    padding: 16px 14px 20px 14px;
}
.step_card h3 {
    font-size: 18px;
    color: #0f3b84;
    font-weight: 500;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.step_card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step_card ul li {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 14px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}
.step_card ul li:last-child {
    margin-bottom: 0;
}
.step_card ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #eec31b;
}

/* Section 5: Target Business */
.section_5 {
    padding: 80px 0;
    background: #f4f6fa;
}
.suitable_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.suitable_card {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 24px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(15, 59, 132, 0.02);
}
.suitable_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 59, 132, 0.08) !important;
}
.suitable_card .icon_box {
    margin-bottom: 16px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.suitable_card p {
    font-size: 14px;
    color: #0f3b84;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Section 6: CTA Bottom Banner */
.section_6 {
    padding: 40px 0;
    background: #02377e;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section_6 h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: 6px;
    padding-left: 6px; /* Offset letter-spacing to keep it perfectly centered */
}
.section_6 p {
    font-size: 12px;
    max-width: 680px;
    margin: 0 auto 22px auto;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    letter-spacing: 0.5px;
    font-weight: 300;
}
.section_6 .btn-custom-white {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #02377e;
    font-weight: 400;
    padding: 10px 32px;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.section_6 .btn-custom-white:hover {
    background: #efc61b;
    color: #02377e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 198, 27, 0.3);
}

/* Keyframes for animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .pain_point_card {
        padding: 30px 24px;
    }
    .step_card .step_img_box {
        height: 130px;
    }
}
@media (max-width: 991px) {
    .pain_point_card {
        width: calc(50% - 12px);
        padding: 30px 30px;
    }
    .steps_grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .step_card {
        width: 100%;
        max-width: 480px;
    }
    .step_card .step_img_box {
        height: 200px;
    }
    .suitable_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .global_banner {
        height: 320px;
        text-align: center;
    }
    .global_banner h1 {
        font-size: 28px;
    }
    .global_banner p {
        font-size: 13px;
    }
    .pain_points_grid {
        max-width: 100%;
        gap: 16px;
    }
    .pain_point_card {
        width: 100%;
        max-width: 280px; /* Keep it centered and beautifully wrapped on mobile */
        min-height: auto;
        padding: 24px 20px;
    }
    .suitable_grid {
        grid-template-columns: 1fr;
    }
    .section_title {
        font-size: 26px;
    }
    .section_accent {
        margin-bottom: 30px;
    }
}
