:root {
    --primary-color: #1145b5;
    --secondary-color: #E0E5EC;
    --accent-color: #14e278;
    --text-color: #333;
    --light-text-color: #fff;
    --dark-bg: #222;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f7f6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.clearFix:after {
    content: "";
    width: 0;
    height: 0;
    line-height: 0;
    display: block;
    clear: both;
}

.over {
    overflow: hidden;
    zoom: 1;
}

.left {
    float: left;
}

.right {
    float: right;
}

header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a .link-icon {
    width: 1em;
    height: 1em;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.nav-links a:hover .link-icon {
    transform: translateX(2px) translateY(-2px);
}

.sub-nav {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 2rem;
}

.sub-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sub-nav a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sub-nav a:hover {
    color: var(--accent-color);
}

main {
    /* Adjust based on header height */
}

section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

#banner {
    padding: 0;
    max-width: none;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    border-radius: 10px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.banner-content button {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.banner-content button:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

.banner-progress {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.progress-bar {
    width: 30px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.progress-bar.active {
    background-color: var(--accent-color);
}

#rate-search {
    background-color: var(--secondary-color);
    padding: 2rem;
    margin-top: -50px;
    /* Overlap with banner */
    position: relative;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex-grow: 1;
}

.search-inputs {
    display: flex;
    gap: 1rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
}

.search-inputs .port {
    flex-grow: 1;
    display: flex;
    position: relative;
}

.search-inputs .port input {
    border: 1px solid #ddd;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    flex-grow: 1;
}

.choose_body {
    width: 400px;
    height: 300px;
}

.choose_body p {
    font-size: 16px;
    margin-bottom: 5px;
    padding-left: 4px;
    height: 40px;
    line-height: 40px;
}

.choose_body .choose_body_div {
    max-height: 300px;
    overflow: auto;
}

.choose_body .choose_body_icon {
    margin-top: 4px;
    font-size: 26px;
    float: left;
    margin-right: 5px;
}

.choose_body .choose_body_word_zhu {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
    color: #222;
}

.choose_body .choose_body_word_fu {
    font-size: 12px;
    font-weight: 500;
    color: grey;
}

.choose_body i {
    color: --primary-color;
}

.choose_body .choose_body_hover {
    height: 100%;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.choose_body .choose_body_hover:active {
    color: --primary-color;
}

.choose_body p:active {
    color: --primary-color;
}

.choose_body .choose_body_p {
    min-height: 50px;
}

.choose_body .choose_body_p .port_parent_item {
    height: 36px;
    line-height: 36px;
    padding: 0;
    padding-left: 12px;
    cursor: pointer;
}

.choose_body .choose_body_p .port_parent_item:hover {
    background: #f5f5f5;
}

.choose_body .choose_body_p .port_children_item {
    width: 100%;
    height: 36px;
}

.choose_body .choose_body_p .port_children_item .port_children {
    padding: 0;
    padding-left: 36px;
    line-height: 36px;
    vertical-align: middle;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.choose_body .choose_body_p .port_children_item .port_children:hover {
    background: #f5f5f5;
}

.choose_body .choose_body_p .port_children_item .port_children .line {
    width: 24px;
    height: 100%;
    position: relative;
    margin-right: 4px;
}

.choose_body .choose_body_p .port_children_item .port_children .line .line_center {
    position: absolute;
    width: 100%;
    height: 50%;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    left: 0;
    top: 0;
}

.choose_body .choose_body_p .port_children_item .port_children .line_notLast {
    border-left: 1px solid #ccc;
}

.choose_body .choose_body_p .port_children_item .port_children .line_notLast .line_center {
    border-left: none;
}

.choose_body .choose_body_p .port_children_item .port_children .other_info {
    max-width: 300px;
}


/*  */



.search-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #0d3a9a;
}

.contact-info {
    margin-left: 2rem;
    font-size: 0.9rem;
    position: relative;
}

.contact-info #add_service {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
}
.tip{
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.data-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.data-card h3 {
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 0.5rem;
}

.data-card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.data-card span {
    display: block;
    padding: 0 1.5rem 1rem;
    font-style: italic;
    color: #999;
}

.card-link {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--accent-color);
}

.hot-search-list {
    padding: 0 1.5rem 1.5rem;
}

.hot-search-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.hot-search-list li:last-child {
    border-bottom: none;
}

#interactive-globe {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding: 6rem 2rem;
    max-width: none;
}

#interactive-globe .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.globe-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.globe-features {
    width: 30%;
}

.feature-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.globe-features.left .feature-item {
    text-align: right;
    padding-right: 2rem;
    border-right: 2px solid var(--primary-color);
}

.globe-features.right .feature-item {
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid var(--primary-color);
}

.globe-placeholder {
    width: 40%;
    height: 500px;
    position: relative;
}

.globe-placeholder canvas {
    width: 100% !important;
    height: 100% !important;
}

#customer-profiles {
    background-color: var(--secondary-color);
}

.profile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.profile-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.profile-card ul {
    list-style: none;
}

.profile-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.profile-card li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.text-center-section {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 5rem 2rem;
    max-width: none;
}

.text-center-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.text-center-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.text-center-section button {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.text-center-section button:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

#advantages {
    background-color: #fff;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.advantage-item .advantage-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.advantage-item .advantage-icon svg {
    width: 48px;
    height: 48px;
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #666;
}

#partners {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.logo-wall {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: calc(250px * 16);
    /* 8 logos * 2 */
    animation: scroll 30s linear infinite;
}

.logo-wall img {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-wall img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
    }
}

#news {
    background-color: #fff;
}

.news-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.news-content p {
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

#about {
    background-color: var(--secondary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-company,
.about-founder {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-company h3,
.about-founder h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-company p,
.about-founder p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-founder h4 {
    font-size: 1.5rem;
}

.values {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.values p {
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding: 4rem 2rem 0;
    max-width: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-text-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.qr-codes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.qr-codes img {
    width: 80px;
    height: 80px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--light-text-color);
    transition: all 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--primary-color);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
    }

    .sub-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .globe-container {
        flex-direction: column;
    }

    .globe-features {
        width: 80%;
        text-align: center !important;
        border: none !important;
        padding: 0 !important;
    }

    .globe-placeholder {
        width: 80%;
        height: 400px;
        margin: 2rem 0;
    }
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #banner {
        height: 60vh;
    }

    #rate-search {
        width: 90%;
        margin: -50px auto 0;
        padding: 0rem 0rem 1.5rem 0rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .search-inputs {
        flex-direction: column;
        width: 100%;
    }

    .contact-info {
        margin-top: 1rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qr-codes {
        justify-content: center;
    }
}

.feature-item h4 a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.feature-item h4 a:hover {
    color: #fff;
    text-decoration: underline;
}

.link-icon {
    width: 1em;
    height: 1em;
    transition: transform 0.3s ease;
}

.feature-item h4 a:hover .link-icon {
    transform: translateX(2px) translateY(-2px);
}

.footer-links h4 a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-links h4 a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links h4 a:hover .link-icon {
    transform: translateX(2px) translateY(-2px);
}