* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.body-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: white;
    display: inline;
    margin: 0;
}

/* 头部样式 */
.header {
    position: absolute;
    top: 0;
    height: 60px;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: auto;
    height: 40px;
}

/* Add a wrapper for the buttons */
.button-group {
    display: flex;
    gap: 10px; /* Space between buttons */
}

/* Style for buttons */
.contact-btn {
    background: linear-gradient(45deg, #2852ff, #2852ff);
    color: white;
    border: none;
    padding: 12px 24px;
    margin-top: 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* 主体区域1 */
.hero-section {
    height: 600px;
    position: relative;
    margin-top: 0px;
    background-image: url('../images/hero/background.png');
    background-size: cover; /* Scales the image to cover the entire area */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    overflow: hidden;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-section .container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content img {
    max-width: 80%; /* Scales image to fit within 80% of container width */
    max-height: 80%; /* Scales image to fit within 80% of container height */
    object-fit: contain; /* Maintains aspect ratio without cropping */
}

/* 服务项目 */
.service-section {
    padding: 80px 0;
    background-image: url('../images/service/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.projects-info {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
    gap: 30px;
}

.projects-info img {
    max-width: 80%; /* Scales image to fit within 80% of container width */
    max-height: 80%; /* Scales image to fit within 80% of container height */
    object-fit: contain; /* Maintains aspect ratio without cropping */
}


.service-showcase {
    padding: 80px 0;
}

.service-showcase p {
    max-width: 600px;
    text-align: center;
    font-size: 20px;
    color: white;
    margin: 0 auto 40px auto; /* Centers the <p> and adds bottom margin */
}

.swiper {
    width: 90%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 100px; /* Adjusted for more space */
}

.swiper-slide img {
    width: 90%;
    height: auto; /* Changed to auto to maintain original aspect ratio */
    object-fit: contain; /* Changed to contain to show full image */
    display: block;
    margin: 20px auto 0;
    border-radius: 15px;
}

.swiper-wrapper {
    padding: 10px 0;
    align-items: center;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    background: white !important;
    margin: 0 8px;
}

.swiper-pagination-bullet-active {
    background: #007bff !important;
}

.swiper-slide {
    margin-right: 20px;
}

.swiper-slide:last-child {
    margin-right: 0;
}




/* 底部区域 */
.footer {
    background: #1a1a2e; /* Dark background consistent with site theme */
    color: white;
    padding: 50px 0;
    font-family: Arial, sans-serif; /* Consistent typography */
}

.container {
    max-width: 1200px; /* Matches typical container width */
    margin: 0 auto;
    padding: 0 20px; /* Adds horizontal padding */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px; /* Adds spacing between columns */
}

.footer-left {
    flex: 1;
    min-width: 200px; /* Ensures logo and button don’t get too cramped */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: auto;
    height: 40px;
    filter: brightness(1.2); /* Slightly brightens logo for contrast */
}

.footer-contact-btn {
    background: linear-gradient(45deg, #2852ff, #4a7bff); /* Gradient for visual appeal */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

.footer-contact-btn:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 12px rgba(40, 82, 255, 0.4); /* Subtle shadow */
}

.footer-column {
    flex: 1;
    min-width: 150px; /* Prevents columns from shrinking too much */
    margin: 0 10px; /* Horizontal spacing */
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #64b5f6; /* Light blue for headers, matching site accents */
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li,.footer-column li a {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    transition: color 0.2s ease; /* Smooth color transition */
}

.footer-column li:hover {
    color: #fff; /* Brightens on hover for interactivity */
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #aaa; /* Lighter gray for less emphasis */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
    padding-top: 20px;
}

/* 在线客服样式 */
.online-support {
    position: fixed;
    bottom: 50px; /* 距离底部50px */
    right: 25px; /* 距离右侧25px */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center;
    background-color: rgba(26, 26, 46, 0.3);
    padding: 15px; /* 增加内边距 */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* 阴影效果 */
    z-index: 3000; /* 确保在最上层 */
}

.icons {
    display: flex;
    flex-direction: column; /* 垂直排列图标 */
    gap: 15px; /* 图标之间的垂直间距 */
}

.telegram-icon1, .telegram-icon2 {
    width: 64px; /* 图标宽度 */
    height: 64px; /* 图标高度 */
    background-image: url('../images/tg.png'); /* Telegram图标 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer; /* 鼠标悬停时显示手型 */
    transition: transform 0.3s ease; /* 悬停效果过渡 */
}

.support-text {
    margin-top: 15px; /* 与图标的间距 */
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center; /* 文字居中 */
}

/* 悬停效果 */
.telegram-icon1:hover, .telegram-icon2:hover {
    transform: scale(1.1); /* 悬停时放大 */
}



/* 响应式设计 */
@media (max-width: 768px) {

    /*底部区域*/
    .footer-content {
        flex-direction: column;
        align-items: center; /* Centers content on mobile */
        text-align: center;
        gap: 30px;
    }

    .footer-left {
        margin-bottom: 30px; /* Adds spacing between sections */
    }

    .footer-column {
        margin: 15px 0; /* Vertical spacing for columns */
    }

    .footer-logo {
        justify-content: center; /* Centers logo on mobile */
    }

    .footer-contact-btn {
        width: 100%; /* Full width for better tap target */
        max-width: 200px; /* Limits button width */
    }

    .features-section {
        height: 2000px !important;
    }

    .features-body {
        height: 2080px !important;
        margin-top: 0 auto;
        left: 0px;
        right: 0px;
        width: 100%;
    }

    /* 调整 hero-content 内的顺序 */
    .hero-left {
        order: 2;
        flex: 0 0 auto;
    }

    .hero-right {
        order: 1;
        width: 100%;
        text-align: center;
        height: auto;
        flex: 0 0 auto;
    }

    .platform-icons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
