/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Inter', 'Source Han Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;

}

.btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1E3A8A;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    margin-top: 30px;
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 15px 0; */
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 2px;
}

.logo span {
    font-size: 12px;
    color: #6B7280;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1E3A8A;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F97316;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.quote-btn {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.quote-btn:hover {
    background: linear-gradient(135deg, #EA580C, #DC2626);
    transform: translateY(-2px);
}

.quote-btn::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switch {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #D1D5DB;
    background: white;
    color: #6B7280;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 100%;
}

.lang-btn.active,
.lang-btn:hover {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
}

.contact-info {
    display: flex;
    gap: 8px;
    color: #1E3A8A;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

/* 主横幅样式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.mySwiperHero,
.mySwiperHero .swiper-wrapper,
.mySwiperHero .swiper-slide {
    width: 100%;
    height: 100%;
}

.mySwiperHero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 遮罩层 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.6));
    z-index: 1; /* 正值，保证在图片上方 */
}

/* hero 内容文字 */
.hero-content {
    position: relative;
    z-index: 2; /* 文字在遮罩层上方 */
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF, #F3F4F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator i {
    font-size: 24px;
    color: white;
    opacity: 0.7;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务介绍样式 */
.services {
    padding: 100px 0;
    background: #F9FAFB;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #F97316, #EA580C);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 16px;
}

.service-description {
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #374151;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F97316;
    font-weight: bold;
}

/* 公司优势样式 */
.advantages {
    padding: 100px 0;
    background: white;
}

.advantages-content {
    display: grid;
    gap: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #6B7280;
    font-weight: 500;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 28px;
    color: white;
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 12px;
}

.advantage-item p {
    color: #6B7280;
    line-height: 1.6;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #F9FAFB;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-description p {
    margin-bottom: 20px;
    color: #374151;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1E3A8A;
    font-weight: 500;
}

.feature-item i {
    color: #F97316;
    font-size: 18px;
}


.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 在线询价样式 */
.quote {
    padding: 100px 0;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.quote-info .section-title,
.quote-info .section-subtitle {
    color: white;
    text-align: left;
}

.quote-info .section-title::after {
    left: 0;
    transform: none;
    background: #F97316;
}

.quote-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.quote-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.quote-feature i {
    color: #F97316;
    font-size: 20px;
}

.quote-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E3A8A;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background: #F9FAFB;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 8px;
}

.contact-details p {
    color: #6B7280;
    margin-bottom: 4px;
}

.contact-map {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.google-map {
    height: 400px;
    width: 100%;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.map-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    background: #F3F4F6;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* 底部样式 */
.footer {
    background: #1F2937;
    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-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 12px;
}

.footer-logo p {
    color: #9CA3AF;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3B82F6;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #F3F4F6;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3B82F6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #9CA3AF;
}

.footer-contact i {
    color: #3B82F6;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright p {
    color: #9CA3AF;
    margin-bottom: 8px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    transform: translateY(-2px);
}

/* 在线客服 */
.online-service {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.service-btn {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
    text-decoration: none;
}

.service-btn:hover {
    background: linear-gradient(135deg, #EA580C, #DC2626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        gap: 15px;
    }

    .contact-info span {
        display: none;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .quote-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 1;
    }

    .contact-map {
        order: 2;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .back-to-top,
    .online-service {
        bottom: 20px;
        right: 20px;
    }

    .online-service {
        bottom: 80px;
    }

    .service-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .quote-form {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    #currentLang {
        display: none;
    }
}

.language-switch {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: #f3f4f6;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 999;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu .lang-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-menu .lang-btn:hover,
.dropdown-menu .lang-btn.active {
    background: #F3F4F6;
    color: #1E3A8A;
}


.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* Swiper 左右箭头默认灰色 */
.swiper-button-next,
.swiper-button-prev {
    color: #ccc; /* 默认灰色 */
    width: 44px;
    height: 44px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* 鼠标悬停变白色 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #fff;
}
