/* JiSu云网站主样式 */

/* 全局样式 */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

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

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

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 卡片样式 */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
}

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

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* 进度条样式 */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* 流程项目样式 */
.process-item {
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.process-item h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 世界地图样式 */
.world-map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-marker {
    position: absolute;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 客户评价样式 */
.testimonial-item {
    padding: 2rem;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.testimonial-item h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-item .text-muted {
    font-size: 0.9rem;
}

/* 轮播指示器样式 */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    margin: 0 0.25rem;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}





/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #1f2937, #374151);
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .process-item {
        margin-bottom: 2rem;
    }
    
    .world-map-container {
        max-width: 100%;
    }
    
    .map-marker {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 内容宽度优化 */
.row {
    margin-left: auto;
    margin-right: auto;
}

/* 限制最大内容宽度 */
.hero-section .container-fluid {
    max-width: 1600px !important;
}

#services .container-fluid {
    max-width: 1600px !important;
}

#about .container-fluid {
    max-width: 1600px !important;
}

/* 优化卡片网格布局 */
.card {
    max-width: 100%;
}

/* 确保图片不会过宽 */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* 优化文字行长度，提高可读性 */
.lead {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 优化按钮组间距 */
.btn-group {
    gap: 1rem;
}

/* 优化表单宽度 */
.form-control {
    max-width: 100%;
}

/* 响应式文本大小调整 */
@media (min-width: 1400px) {
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .hero-section .lead {
        font-size: 1.75rem;
    }
}

@media (max-width: 1400px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.5rem;
    }
}

/* 内容集中化优化 */
.hero-section .row {
    max-width: 1400px;
    margin: 0 auto;
}

#services .row {
    max-width: 1400px;
    margin: 0 auto;
}

#about .row {
    max-width: 1400px;
    margin: 0 auto;
}

/* 优化服务卡片间距 */
#services .card {
    margin-bottom: 2rem;
}

/* 优化流程步骤布局 */
.process-item {
    max-width: 320px;
    margin: 0 auto;
}

/* 优化优势区域布局 */
#advantages .row {
    max-width: 1400px;
    margin: 0 auto;
}

/* 优化地图区域 */
#global-coverage .row {
    max-width: 1100px;
    margin: 0 auto;
}

/* 优化客户评价区域 */
#testimonials .row {
    max-width: 1100px;
    margin: 0 auto;
}





/* 优化合作品牌区域 */
#partners .row {
    max-width: 1100px;
    margin: 0 auto;
}

/* 优化页脚布局 */
footer .row {
    max-width: 1400px;
    margin: 0 auto;
}

/* 全屏显示优化 */
.container-fluid {
    padding-left: 40px !important;
    padding-right: 40px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

@media (max-width: 1400px) {
    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
        max-width: 1400px !important;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* 确保横幅区域全屏显示 */
.hero-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* 优化服务区域的全屏显示 */
#services {
    width: 100% !important;
}

/* 确保地图区域全屏显示 */
#global-coverage {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* 优化页脚全屏显示 */
footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

