/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0078d7;
    color: white;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #005a9e;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid #0078d7;
    color: #0078d7;
}

.btn-outline:hover {
    background: #0078d7;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #0078d7;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #0078d7;
}

/* 导航栏样式 */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo h1 {
    color: #0078d7;
    font-size: 24px;
    margin-right: 50px;
}

nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-item > a {
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item > a.active {
    color: #0078d7;
    font-weight: bold;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0078d7;
    transition: width 0.3s;
}

.nav-item > a:hover::after {
    width: 100%;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 确保所有下拉菜单默认隐藏 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 600px;
    z-index: 1000;
    transition: all 0.3s;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 600px;
    z-index: 1000;
    transition: all 0.3s;
}

.dropdown-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
}

.tab.active {
    color: #0078d7;
    border-bottom: 2px solid #0078d7;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: flex;
}

.dropdown-column {
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #eee;
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h3 {
    font-size: 14px;
    color: #0078d7;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dropdown-column a {
    display: block;
    font-size: 14px;
    padding: 8px 0;
    color: #666;
    transition: all 0.3s;
}

.dropdown-column a:hover {
    color: #0078d7;
    padding-left: 5px;
}

/* 解决方案菜单特殊样式 - 水平排列 */
.solutions-menu {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.solutions-menu .dropdown-column {
    flex: 1;
    border-right: 1px solid #eee;
    padding: 0 15px;
}

.solutions-menu .dropdown-column:last-child {
    border-right: none;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* 轮播图样式 */
/* .banner {
    background: linear-gradient(135deg, #1e5799, #207cca);
    color: white;
    padding: 100px 0;
    position: relative;
}

.slider {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slide p {
    font-size: 18px;
    margin-bottom: 30px;
} */

/* 产品分类样式 */
.products {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.product-card {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0078d7;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0078d7;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #0078d7;
    padding-left: 5px;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #0078d7;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .nav-item {
        margin: 0 10px;
    }
    
    .dropdown-menu {
        min-width: 300px;
    }
    
    .dropdown-column {
        flex: 1 1 50%;
        border-right: none;
        margin-bottom: 20px;
    }
    
    .solutions-menu {
        flex-direction: column;
    }
    
    .solutions-menu .dropdown-column {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .solutions-menu .dropdown-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .slide h2 {
        font-size: 28px;
    }
    
    .slide p {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 轮播图样式 */
.banner {
    background: #1e9980;
    /* background: linear-gradient(135deg, #1e9980, #20cab3); */
    color: white;
    padding: 100px 0;
    position: relative;
}

.slider {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: none;
    animation: fade 1.5s;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide-content {
    padding: 20px 0;
}

.slide.active {
    display: block;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.slide h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slide p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cloud-providers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.provider-logo {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* 轮播导航按钮 */
.slider-nav {
    text-align: center;
    margin-top: 30px;
}

.slider-dot {
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: #fff;
    transform: scale(1.2);
}
.slider-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}
/* 轮播导航提示 */
.slider-nav-hint {
    text-align: center;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-style: italic;
}



/* 云迁移服务页面样式 */
.migration-page {
    padding: 50px 0;
}

.migration-content {
    max-width: 1000px;
    margin: 0 auto;
}

.migration-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 40px;
}

.migration-card h2 {
    color: #0078d7;
    margin-bottom: 20px;
    font-size: 32px;
    text-align: center;
}

.migration-card p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.service-section {
    margin: 40px 0;
}

.service-section h3 {
    color: #0078d7;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0078d7;
    font-size: 24px;
}

.service-section h3 i {
    margin-right: 10px;
}

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

.service-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.service-item h4 {
    color: #0078d7;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-item li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #0078d7;
}

.consultation-cta {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #0078d7, #1e9980);
    border-radius: 10px;
    color: white;
}

.consultation-cta h3 {
    color: white;
    margin-bottom: 20px;
}

.consultation-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 150px;
    padding: 12px 20px;
    font-size: 16px;
}

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

.cta-buttons .btn-outline:hover {
    background: white;
    color: #0078d7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .nav-item {
        margin: 0 10px;
    }
    
    .migration-card {
        padding: 20px;
    }
    
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}