:root {
    /* 商务经典配色 */
    --primary: #0b3d7a; /* 深蓝色 - 专业、信任 */
    --primary-dark: #092c5a;
    --secondary: #1a5bbf; /* 蓝色 - 可靠、稳定 */
    --accent: #ffd700; /* 金色 - 卓越、品质 */
    --light: #f9f9fc; /* 浅灰蓝白 - 清新背景 */
    --dark: #333; /* 深灰 - 主要文字 */
    --gray: #666; /* 中灰 - 次要文字 */
    --light-gray: #ddd;
    --border-radius: 8px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}
ul {
    list-style: none;
}

.lang{
    position: relative;
}
.lang:hover{
    cursor: pointer;
}
.lang:hover ul{
    display: block;
}

.lang ul{
    position: absolute;
    background: #fff;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 2px #969191;
    display: none;
    width: 50px;
}
.lang ul li{
    margin-left: 0;
    margin-bottom: 5px;
}

.lang ul li img{
    width: 30px;
    height: 18px;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1001;
    display: flex;
    gap: 0.2rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    opacity: 0.95;
}

/*.lang-btn {*/
/*    background: white;*/
/*    color: var(--primary);*/
/*    border: none;*/
/*    padding: 0.5rem 1rem;*/
/*    cursor: pointer;*/
/*    font-size: 0.85rem;*/
/*    font-weight: 500;*/
/*    transition: var(--transition);*/
/*}*/

/*.lang-btn.active {*/
/*    background: var(--primary);*/
/*    color: white;*/
/*}*/

/*.lang-btn:hover:not(.active) {*/
/*    background: #f0f0f0;*/
/*}*/

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem 4rem;
    background: linear-gradient(rgba(11, 61, 122, 0.85), rgba(26, 91, 191, 0.85)),
    url('../images/p1.avif') no-repeat center center/cover;
    color: white;
    position: relative;
}

.hero-content {
    /*max-width: 800px;*/
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Section Common Styles */
.section {
    padding: 5rem 1rem;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 91, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
    font-size: 1.8rem;
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--gray);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* About Us */
.about {
    background-color: var(--light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 280px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-content {
    flex: 1;
    min-width: 280px;
}

.about-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--gray);
    text-align: justify;
}

/* Profile with Images */
.profile {
    background-color: white;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.profile-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-intro h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.profile-intro p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.profile-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.profile-image-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.profile-image-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.profile-img {
    width: 100%;
    height:100%;
    object-fit: cover;
    background-color: #f0f0f0;
    color: #999;
}

.profile-img img {
    width: 100%;
    height: 100%;
}
/*
.profile-img-content {
    padding: 1.2rem;
    text-align: center;
}*/

.profile-img-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-img-desc {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Team Section */
.team {
    background-color: var(--light);
    text-align: center;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-content {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.member-position {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    display: block;
}

.member-excerpt {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Certifications */
.certifications {
    background-color: white;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.certifications-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.certifications-intro h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.certifications-intro p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.cert-item:hover {
    transform: translateY(-6px);
}

.cert-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-content {
    padding: 1rem;
}

.cert-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.cert-org {
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.cert-date {
    font-size: 0.7rem;
    color: #888;
}

/* News Section - Text Only Layout */
.news {
    background-color: var(--light);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-title-wrapper {
    flex: 1;
    min-width: 200px;
}

.news-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.news-filter-btn {
    background: #e0e7ff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.news-filter-btn.active, .news-filter-btn:hover {
    background: var(--primary);
    color: white;
}

.news-list {
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-category {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    background: rgba(26, 91, 191, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
}

.news-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(2px);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #bbb;
    padding: 3rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-menu>li>a,.mobile-nav-menu span{
    display: block;
    color: var(--dark);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-menu>li>a:hover {
    background: #f5f5f5;
    color: var(--primary);
    padding-left: 1.8rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Translations - Hidden by default */
[data-en] { display: none; }
[data-ja] { display: none; }
[data-zh] { display: block; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-container,
    .profile-container,
    .certifications-container,
    .team-container,
    .news-list {
        padding: 0 1rem;
    }

    /*.lang-switcher {*/
    /*    top: 0.5rem;*/
    /*    right: 0.5rem;*/
    /*    flex-direction: column;*/
    /*}*/

    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 4rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .services-grid,
    .team-grid,
    .cert-grid,
    .profile-images {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        width: 100%;
        left: -100%;
    }
}