/* 主样式文件 - 从原HTML提取的所有样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Inter', 'Segoe UI', 'Microsoft JhengHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 全屏导航栏 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(13, 27, 42, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    z-index: 1001;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo i {
    margin-right: 12px;
    color: var(--accent);
    font-size: 2rem;
}

/* 如果使用图片作为 logo（本地文件），调整尺寸与间距 */
.logo img.site-logo {
    margin-right: 12px;
    width: 48px;
    height: auto;
    display: block;
    border-radius: 4px;
}
/* 页脚 logo 的样式（与头部一致或可单独调整） */
.footer-logo img.site-logo { width: 42px; height: auto; margin-right: 10px; vertical-align: middle; border-radius:4px; }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.8rem;
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 40px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--highlight);
}

.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a.active::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    z-index: 1001;
    transition: all 0.3s;
}

.mobile-toggle:hover {
    color: var(--accent);
}

/* 轮播图区域 */
.carousel {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    /* each slide will set --bg-image via its .slide-N class */
}

/* ::before: holds the actual background image so we can apply filters */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* C 方案：去饱和、偏暖、轻微模糊并稍微暗化 */
    filter: blur(1.2px) brightness(0.88) saturate(0.75) hue-rotate(-12deg);
    will-change: filter;
}

/* ::after: warm overlay to further mute blues and improve text contrast */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* warm, semi-transparent overlay */
    background: linear-gradient(rgba(30,18,6,0.12), rgba(13,27,42,0.78));
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeInUp 1.2s ease-out;
}

.carousel h1 {
    font-size: 3.4rem; /* 缩小整体标题以避免单词换行并减弱视觉冲突 */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

/* 确保轮播标题及其内部链接不显示下划线（用户要求移除下划线） */
.carousel h1, .carousel h1 a, .slide-content a, .carousel .highlight {
    text-decoration: none;
}
  /* 防止单字换行（例如"企/业"被拆开）。只禁止换行，不改变字号 */
  .no-break { white-space: nowrap; }
  @media (max-width: 576px) { .no-break { white-space: normal; } }

.carousel h1 .highlight {
    color: var(--accent);
    position: relative;
}
/* 去掉 highlight 的下划线样式（用户要求） */
.carousel h1 .highlight { text-decoration: none; }
.carousel h1 .highlight::after { display: none !important; }

.carousel p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    line-height: 1.7;
    color: white;
}

.carousel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 轮播图左右箭头放在两侧 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

/* 轮播图底部控制区域 */
.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.carousel-indicators {
    display: flex;
    gap: 15px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

.carousel-autoplay {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-autoplay:hover {
    background-color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: white;
    padding: 16px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    background-color: #0093c6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3);
}

.btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

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

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* 向下滚动指示器 */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--accent);
}

/* 服务部分 */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 800px;
    margin: 30px auto 0;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.7;
}

.services {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300b4d8' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 27, 42, 0.2), rgba(214, 219, 224, 0.7));
    z-index: 1;
}

.service-image-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    position: relative;
    z-index: 2;
}

/* inline SVG illustrations used across cards */
.illustration {
    width: 68px;
    height: 68px;
    display: block;
    color: var(--accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
/* larger framed image instead of small circular icon */
.card-img {
    width: 120px;
    height: 120px;
    display: block;
    object-fit: cover;
    border-radius: 12px; /* framed with rounded corners */
    box-shadow: 0 10px 24px rgba(13,27,42,0.12);
}

.service-content {
    padding: 40px 35px;
}

.service-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    font-size: 1rem;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--secondary);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 运输网络部分 */
.network {
    padding: 120px 0;
    background-color: white;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.network-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 12px;
    background-color: var(--gray);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.network-card:hover {
    background-color: white;
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.network-icon {
    width: 140px;
    height: 140px;
    background-color: rgba(0, 180, 216, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--accent);
}

.network-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* 优势部分 */
/* 优势部分 */
.advantages {
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
}

.advantages-grid {
    display: grid;
    /* 默认移动端：1列 */
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

/* 平板端：2列 */
@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 桌面端：固定3列布局（3+3） */
@media (min-width: 1024px) {
    .advantages-grid {
        /* 固定3列布局 */
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        
        /* 可选：限制容器最大宽度，确保6个卡片在两行中整齐排列 */
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.advantage-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(0, 180, 216, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent);
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
/* 关于我们部分 */
.about {
    padding: 120px 0;
    background-color: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 700;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}
.about-image .about-hero {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(13,27,42,0.12);
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 联系我们部分 */
.contact {
    padding: 100px 0;
    background-color: var(--gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 700;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-text p {
    color: #666;
    margin-bottom: 0;
}

.contact-form {
    background-color: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

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

/* 页脚 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 100px 0 40px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent), var(--highlight));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 15px;
    color: var(--accent);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

/* QR code icons (replace file paths in HTML to match your desktop filenames) */
.social-icons a img.qr-icon {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--accent);
    width: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 联系区小地图样式（嵌入 contact-info） */
.contact-map .contact-map-inner {
    width: 280px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(13,27,42,0.08);
}

.contact-map .map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 假期面板：手机风格底部浮动卡片，带选项卡 */
.side-holidays {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 320px;
    max-width: calc(100% - 40px);
    background: white;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(13,27,42,0.18);
    z-index: 2000;
    overflow: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.side-holidays.closed {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.side-holidays .header {
    padding: 10px 12px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    color: white;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.side-holidays .tabs {
    display: flex;
    gap: 6px;
    margin-left: 8px;
}

.side-holidays .tab-btn {
    background: rgba(255,255,255,0.12);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight:600;
}

.side-holidays .tab-btn.active {
    background: white;
    color: var(--primary);
}

.side-holidays .header .title-wrap { display:flex; align-items:center; gap:8px; }

.side-holidays .content {
    padding: 12px 14px 16px;
    max-height: 420px;
    overflow: auto;
    background: linear-gradient(180deg,#fff,#fbfdff);
}

/* 日历网格样式（30天） - 已注释，临时禁用日历显示
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding-top: 6px;
}

.calendar-day {
    background: #fafbff;
    border-radius: 8px;
    padding: 10px 8px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 6px 14px rgba(11,22,40,0.04);
    position: relative;
    font-size: 0.95rem;
    color: #222;
}

.day-number {
    font-weight: 700;
    font-size: 1.05rem;
}

.day-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: white;
    font-weight: 700;
}

.day-badge.holiday { background: #e74c3c; } /* 假 - 红色 */
.day-badge.work { background: #1e90ff; }    /* 班 - 蓝色 */

.calendar-month { font-size: 0.95rem; margin-bottom: 8px; color: #333; display:flex; justify-content:space-between; align-items:center; }
*/

/* 聊天组件样式 */
.chat-widget { background: white; padding: 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.chat-window { height: 300px; overflow-y: auto; border: 1px solid rgba(0,0,0,0.06); border-radius: 8px; padding: 12px; background: #fbfdff; }
.chat-window .message { max-width: 82%; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; line-height: 1.4; box-shadow: 0 6px 14px rgba(11,22,40,0.04); }
.chat-window .message.user { margin-left: auto; background: linear-gradient(90deg,#00b4d8,#0093c6); color: white; }
.chat-window .message.ai { margin-right: auto; background: #fff; color: #222; border: 1px solid rgba(0,0,0,0.04); }
.chat-window .meta { font-size:0.78rem; color: #777; margin-top:6px; }
.chat-input-row { display:flex; gap:8px; margin-top:12px; }
.chat-input-row input.form-control { flex:1; padding:10px 12px; border-radius:8px; border:1px solid #ddd; }
.chat-input-row button.btn { padding:10px 16px; border-radius:8px; }
@media (max-width:600px) {
    .chat-window { height: 220px; }
    .chat-widget { padding: 12px; }
}

/* 在移动端让面板横向拉满底部，模拟手机面板 */
@media (max-width: 480px) {
    .side-holidays { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

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

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.4);
}

/* 合作厂商 / 合作伙伴（示例占位 LOGO，后续可替换为真实图片） */
.partners { padding: 48px 0; background: linear-gradient(180deg,#f8fbff,#f6f9ff); }
.partners .section-title h2 { color: var(--primary); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items:center; margin-top:18px; }
.partner-card { display:flex; align-items:center; justify-content:center; background: #fff; padding: 18px; border-radius:10px; box-shadow: 0 8px 20px rgba(13,27,42,0.04); }
.partner-card img { max-width: 100%; height: 56px; object-fit:contain; }

/* 响应式设计 */
@media (max-width: 1200px) {
    .carousel h1 {
        font-size: 3.2rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .carousel h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 25px 0;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .services, .network, .advantages, .about, .contact {
        padding: 80px 0;
    }
    
    .service-content {
        padding: 30px 25px;
    }
    
    .about-content, .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .carousel h1 {
        font-size: 2.3rem;
    }
    
    .carousel p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .carousel-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 200px;
    }

    /* 地图与侧边日历适配 */
    .map-wrapper { height: 320px; }
    .side-holidays { width: 220px; right: 12px; }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .carousel-controls {
        bottom: 20px;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .carousel-arrow.prev {
        left: 20px;
    }
    
    .carousel-arrow.next {
        right: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .copyright {
        flex-direction: column;
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .carousel h1 {
        font-size: 2rem;
    }
    
    .slide-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .carousel-buttons {
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-arrow.prev {
        left: 10px;
    }
    
    .carousel-arrow.next {
        right: 10px;
    }
    
    .carousel-controls {
        flex-direction: column;
        bottom: 10px;
        gap: 15px;
    }
    
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
