/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.navbar .logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    cursor: pointer;
}

.date-weather {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    flex: 1;
    margin: 0 20px;
}

.date-info {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.date-info span {
    margin-right: 10px;
}

.weather-info {
    display: flex;
    align-items: center;
}

.weather-info i {
    margin-right: 5px;
    color: #3498db;
}

.weather-info #weather-desc {
    margin-right: 10px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo h1 {
    font-size: 14px;
    font-weight: bold;
    color: #3498db;
    margin: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #3498db;
}

.dropdown-menu a::after {
    display: none;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* 英雄区样式 */
.hero {
    padding: 140px 0 80px;
    background-color: #f0f8ff;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 2;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.cta-button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

.hero-carousel {
    flex: 3;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.carousel-control {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: rgba(52, 152, 219, 1);
}

/* 轮播图提示框样式 */
.carousel-tooltip {
    position: absolute;
    background-color: transparent;
    color: #34495e;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-align: center;
}

.carousel-tooltip.show {
    opacity: 1;
}

/* 通用部分样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 10px auto;
    border-radius: 2px;
}

/* 关于我们样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品中心样式 */
.products {
    background-color: #f5f5f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.product-card p {
    margin: 0 20px 20px;
    color: #666;
    flex-grow: 1;
}

.product-button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 20px 20px;
    align-self: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 20px;
    color: #2c3e50;
}

.product-card p {
    margin: 0 20px 20px;
    color: #666;
}

.product-button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 20px 20px;
}

.product-button:hover {
    background-color: #2980b9;
}

/* 服务项目样式 */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* 确保在大屏幕上显示5列服务卡片 */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 确保4个服务卡片在大屏幕上均匀显示 */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.service-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px;
}

.service-card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card ul {
    margin-top: auto;
    text-align: left;
    width: 100%;
}

.login-link {
    margin-top: 20px;
    font-weight: bold;
}

.login-link a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    font-size: 30px;
    color: #3498db;
}

.service-card h3 {
    font-size: 18px;
    margin: 15px 0;
    color: #2c3e50;
}

.service-card p {
    color: #666;
}

/* 服务卡片链接样式 */
.service-card h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.service-card h3 a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 联系我们样式 */
.contact {
    background-color: #f5f5f5;
}

.contact-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item i {
    font-size: 20px;
    color: #3498db;
    margin-top: 5px;
}

.contact-item p {
    color: #333;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #2980b9;
}

/* 页脚样式 */
.footer {
    background: radial-gradient(circle at center, #2a4a7f, #0a192f);
    color: #fff;
    padding: 60px 0 0;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

/* 页脚底部内容样式 */
.footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 0;
}

.footer .footer-bottom p {
    color: #ffffff;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.footer .footer-bottom p:hover {
    color: #fff;
}

.footer .footer-bottom a {
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer .footer-bottom a:hover {
    color: #66a3ff;
    transform: scale(1.05);
    display: inline-block;
}

/* 网站底部版权信息样式 */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #0a192f;
    color: #ffffff;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
    color: #ffffff;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
}

/* 访问量统计样式 */
.visit-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(10, 25, 47, 0.8);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* 页脚标语样式 */
.footer .footer-slogan {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

.footer .footer-slogan p {
    color: #3498db;
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.footer-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-info p {
    color: #bdc3c7;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-social h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.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: #fff;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

/* 友情链接样式 */
.footer-social .friendship-link {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social .friendship-link a {
    color: #3498db;
    transition: all 0.3s ease;
}

.footer-social .friendship-link a:hover {
    color: #66a3ff;
    transform: scale(1.05);
    display: inline-block;
}

.footer-slogan {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #3498db;
}

.footer-slogan p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 底部IntelNewForce特效 - 参考 https://www.trae.cn/plugin */
.footer-effect {
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.effect-text {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    display: inline-block;
    position: relative;
    background: linear-gradient(90deg, #3498db, #66a3ff, #3498db);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 
        glow 2s ease-in-out infinite alternate,
        gradientShift 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.6));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(52, 152, 219, 1));
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.effect-text::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transform: scaleX(0.9);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scaleX(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scaleX(1.1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0.9);
        opacity: 0.7;
    }
}

/* 添加额外的装饰元素 */
.footer-effect::before,
.footer-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.footer-effect::before {
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.footer-effect::after {
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateY(0px);
    }
    50% {
        transform: translateY(-50%) translateY(-30px);
    }
}

/* 文字浮动动画 - 更大幅度 */
@keyframes float-text {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* 底部特效区域 - 参考 https://www.trae.cn/ */
.bottom-effect {
    width: 100%;
    min-height: 600px;
    background: radial-gradient(circle at center, #2a4a7f, #0a192f);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 150px;
    margin: 0;
    transition: box-shadow 0.5s ease;
}

.bottom-effect:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 移除额外的背景元素，使底部特效区域背景与页脚保持一致 */

.effect-container {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}





.bottom-effect .footer-effect {
    margin: 100px 0 100px;
    padding: 40px 20px;
    transition: all 0.5s ease;
    text-align: center;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 添加顶部特效 */
.bottom-effect .footer-effect .effect-top {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.6), transparent);
    border-radius: 1px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}

/* 添加额外的装饰元素 */
.bottom-effect .footer-effect .decor-top-left {
    position: absolute;
    top: 0;
    left: 10%;
    width: 12px;
    height: 12px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.bottom-effect .footer-effect .decor-top-right {
    position: absolute;
    top: 0;
    right: 10%;
    width: 12px;
    height: 12px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite reverse;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.bottom-effect:hover .footer-effect {
    transform: translateY(0);
}

.bottom-effect .footer-effect .effect-text {
    font-size: clamp(72px, 20vw, 160px);
    font-weight: 900;
    font-family: 'Arial', sans-serif;
    color: #3498db;
    letter-spacing: 10px;
    margin-bottom: 200px;
    transition: text-shadow 0.5s ease;
    display: block;
    text-align: center;
    position: relative;
    text-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
    animation: float-text 5s ease-in-out infinite;
    line-height: 1.2;
    height: auto;
    width: 100%;
    word-spacing: 10px;
}

/* 添加倒映效果 */
.bottom-effect .footer-effect .effect-text::after {
    content: 'IntelNewForce';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(52, 152, 219, 0.5);
    transform: scaleY(-1);
    opacity: 0.8;
    filter: blur(2px);
    pointer-events: none;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    letter-spacing: 10px;
    word-spacing: 10px;
    font-size: clamp(72px, 20vw, 160px);
    font-weight: 900;
    font-family: 'Arial', sans-serif;
}

.bottom-effect .footer-effect .effect-text:hover {
    text-shadow: 0 0 50px rgba(52, 152, 219, 0.7);
}

/* 添加侧边装饰元素 */
.bottom-effect .footer-effect::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 5%;
    width: 24px;
    height: 24px;
    background: rgba(52, 152, 219, 0.4);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: float-side 5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.bottom-effect .footer-effect::after {
    content: '';
    position: absolute;
    top: 70%;
    right: 5%;
    width: 24px;
    height: 24px;
    background: rgba(52, 152, 219, 0.4);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: float-side 5s ease-in-out infinite reverse;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

/* 添加额外的装饰元素 */
.bottom-effect .footer-effect .decor-top {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 16px;
    height: 16px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.bottom-effect .footer-effect .decor-bottom-left {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 12px;
    height: 12px;
    background: rgba(52, 152, 219, 0.5);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.bottom-effect .footer-effect .decor-bottom-right {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 12px;
    height: 12px;
    background: rgba(52, 152, 219, 0.5);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite reverse;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.bottom-effect .footer-effect .decor-bottom {
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 16px;
    height: 16px;
    background: rgba(52, 152, 219, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

.bottom-effect .footer-effect .decor-bottom-extra {
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 16px;
    height: 16px;
    background: rgba(52, 152, 219, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

/* 顶部装饰线 */
.bottom-effect .footer-effect .effect-top {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 1px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

/* 底部装饰线 */
.bottom-effect .footer-effect .effect-line {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 1px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scaleX(0.8);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) scaleX(1.2);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scaleX(0.8);
        opacity: 0.7;
    }
}

@keyframes float-side {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-50%) translateX(10px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-50%) translateX(-10px);
        opacity: 0.9;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(52, 152, 219, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.back-to-top:hover {
    background: rgba(52, 152, 219, 1);
    transform: translateX(-50%) translateY(-10px);
}

/* 竖行悬浮标语 */
.vertical-slogan {
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 999;
    transform: translateY(-50%);
}

.vertical-slogan p {
    font-size: 16px;
    font-weight: bold;
    color: #3498db;
    margin: 0;
    padding: 10px 15px;
    background: rgba(10, 25, 47, 0.8);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    writing-mode: vertical-rl;
    text-orientation: upright;
    transition: all 0.3s ease;
}

.vertical-slogan p:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bottom-effect {
        min-height: 380px;
        padding: 80px 0;
    }
    
    .bottom-effect .footer-effect .effect-text {
        font-size: 56px;
        letter-spacing: 2px;
    }
    
    .bottom-effect .footer-slogan p {
        font-size: 18px;
    }
    
    .bottom-effect .footer-effect::before,
    .bottom-effect .footer-effect::after {
        width: 16px;
        height: 16px;
    }
    
    .bottom-effect .footer-effect .effect-line {
        width: 120px;
        height: 4px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .back-to-top:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 480px) {
    .bottom-effect {
        min-height: 320px;
        padding: 60px 0;
    }
    
    .bottom-effect .footer-effect .effect-text {
        font-size: 40px;
        letter-spacing: 1px;
    }
    
    .bottom-effect .footer-slogan p {
        font-size: 16px;
    }
    
    .bottom-effect .footer-bottom p {
        display: block;
        margin: 10px 0;
    }
    
    .back-to-top {
        width: 35px;
        height: 35px;
        font-size: 14px;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .back-to-top:hover {
        transform: translateX(-50%) translateY(-5px);
    }
    
    .bottom-effect .footer-effect::before,
    .bottom-effect .footer-effect::after {
        display: none;
    }
    
    .bottom-effect .footer-effect .effect-line {
        width: 100px;
        height: 3px;
    }
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom p {
    display: inline-block;
    margin: 0 10px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
}

/* 移动端菜单样式 */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    /* 移动端下拉菜单 */
    .nav-links.active .dropdown {
        position: relative;
    }

    .nav-links.active .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .nav-links.active .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }

    .nav-links.active .dropdown-toggle::after {
        display: none;
    }

    .hero-content {
        order: 2;
    }

    .hero-carousel {
        order: 1;
        width: 100%;
    }

    .carousel-container {
        height: 300px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form button {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .logo {
        flex-direction: column;
        gap: 2px;
        align-items: center;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 12px;
    }
}