/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 语言切换器 */
.language-switcher {
    background-color: #f5f5f5;
    padding: 8px 0;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
}

.language-switcher .lang-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 4px 12px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-switcher .lang-btn.active {
    background-color: #1a3a6c;
    color: white;
    border-color: #1a3a6c;
}

.language-switcher .lang-btn:hover:not(.active) {
    background-color: #e9e9e9;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 22px;
    color: #1a3a6c;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: #666;
}

/* 导航栏 */
.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a3a6c;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a3a6c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #c8102e;
    color: white;
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #a00d25;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1a3a6c;
    border: 2px solid #1a3a6c;
}

.btn-outline:hover {
    background-color: #1a3a6c;
    color: white;
}

/* 通用部分标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a3a6c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8102e;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

/* 公司简介部分 */
.intro-section {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.intro-image {
    flex: 1;
}

.image-placeholder {
    background-color: #f0f0f0;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #666;
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    color: #1a3a6c;
}

/* 服务部分 */
.services-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 36px;
    color: #1a3a6c;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a3a6c;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #c8102e;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 地址部分 */
.locations-section {
    padding: 80px 0;
    background-color: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-header {
    background-color: #1a3a6c;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.location-header i {
    font-size: 24px;
    margin-right: 15px;
}

.location-header h3 {
    font-size: 22px;
}

.location-body {
    padding: 25px;
}

.location-body p {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

/* 页脚样式 */
.footer {
    background-color: #1a3a6c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c8102e;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-description {
    color: #bbb;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-info i {
    margin-right: 12px;
    color: #c8102e;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #c8102e;
    transform: translateY(-3px);
}

.newsletter-text {
    color: #bbb;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: #c8102e;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #a00d25;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* 关于页面样式 */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.company-overview {
    margin-bottom: 60px;
}

.company-overview h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 20px;
}

.company-overview p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.company-mission {
    background-color: #f5f7fa;
    padding: 60px 0;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text {
    flex: 1;
}

.mission-values {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-item i {
    font-size: 36px;
    color: #1a3a6c;
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 18px;
    color: #1a3a6c;
    margin-bottom: 10px;
}

/* 产品页面样式 */
.products-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #1a3a6c;
    color: white;
    border-color: #1a3a6c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.product-image i {
    font-size: 60px;
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    background-color: #eef2ff;
    color: #1a3a6c;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-link {
    color: #c8102e;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.product-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* 移民咨询页面样式 */
.immigration-section {
    padding: 80px 0;
    background-color: white;
}

.service-detail {
    margin-bottom: 60px;
}

.service-detail h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 30px;
    text-align: center;
}

.language-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.language-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-tab.active {
    color: #1a3a6c;
    border-bottom-color: #c8102e;
}

.language-content {
    display: none;
}

.language-content.active {
    display: block;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eee;
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #1a3a6c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    flex: 1;
}

.step-content h4 {
    font-size: 20px;
    color: #1a3a6c;
    margin-bottom: 15px;
}

.step-content p {
    color: #555;
    line-height: 1.7;
}

/* 商务合作页面样式 */
.business-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.business-service {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.business-service h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.business-service p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #c8102e;
}

.feature-item h4 {
    color: #1a3a6c;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-item p {
    font-size: 16px;
    margin-bottom: 0;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-item i {
    font-size: 24px;
    color: #1a3a6c;
    margin-right: 20px;
    margin-top: 5px;
}

.info-content h4 {
    font-size: 20px;
    color: #1a3a6c;
    margin-bottom: 10px;
}

.info-content p {
    color: #555;
    line-height: 1.6;
}

.map-container {
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
}

.contact-form-container {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a6c;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #c8102e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #a00d25;
}

/* 公司介绍页面特有样式 */
.company-history {
    margin-top: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eee;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 60px;
    font-weight: 700;
    color: #1a3a6c;
    flex-shrink: 0;
    margin-right: 20px;
    text-align: right;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 25px;
    width: 20px;
    height: 2px;
    background-color: #eee;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 25px;
    width: 10px;
    height: 10px;
    background-color: #c8102e;
    border-radius: 50%;
    z-index: 1;
}

/* 移民咨询页面样式补充 */
.language-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.language-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-tab.active {
    color: #1a3a6c;
    border-bottom-color: #c8102e;
}

.language-content {
    display: none;
}

.language-content.active {
    display: block;
}

.process-steps {
    counter-reset: step-counter;
}

.step-number {
    position: relative;
}

.step-number::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FAQ样式 */
.faq-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f5f7fa;
    border-left: 4px solid #1a3a6c;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
}

/* 商务合作页面样式补充 */
.business-intro {
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cooperation-form {
    background-color: #1a3a6c;
    color: white;
    padding: 60px 40px;
    border-radius: 8px;
    margin-top: 80px;
    text-align: center;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        width: 50px;
        font-size: 14px;
    }
    
    .timeline-content::before {
        left: -15px;
    }
    
    .timeline-item::before {
        left: 15px;
    }
    
    .cooperation-form {
        padding: 40px 20px;
    }
}

/* 添加到css/style.css文件末尾 */
.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .map-container iframe {
        height: 300px;
    }
}

    /* 公司图片样式 */
    .company-image {
        width: 100%;
        max-width: 500px;  /* 最大宽度 */
        height: auto;      /* 高度自动调整，保持比例 */
        border-radius: 8px; /* 圆角 */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 阴影 */
        object-fit: cover;  /* 图片填充方式 */
    }
    
    /* 响应式调整 */
    @media (max-width: 768px) {
        .company-image {
            max-width: 350px;  /* 移动端更小 */
        }
    }