/* ================ 基础样式 ================ */
:root {
    --primary-red: #ff3b30;
    --primary-green: #4caf50;
    --primary-orange: #ff6b00;
    --footer-blue: #004d40;
    --text-dark: #333333;
    --text-gray: #666666;
}

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

/* ================ 导航栏样式 ================ */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.header-slogan {
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 500;
}
.top-right-images {
    position: fixed;
    top: 20px;
    right: 100px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}
.top-right-images img {
    height: 40px;
    width: auto;
}
@media (max-width: 768px) {
    .top-right-images {
        right: 20px;
    }
    .top-right-images img {
        height: 30px;
    }
}
/* ================ 主图区域样式 ================ */
.hero-section {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================ 中心Logo区域 ================ */
.center-logo {
    max-width: 300px;
    height: auto;
    margin: 3rem auto;
    display: block;
}

/* ================ 描述文字区域 ================ */
.description-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.description-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ================ 联系方式区域 ================ */
.contact-section {
    padding: 3rem 0;
}

/* .contact-box {
    text-align: center;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
} */

.contact-box {
    text-align:center;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
    border-bottom:0.25rem var(--primary-orange) solid;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow:0.25rem 0.25rem 0.15rem 0.05rem #f0f0f0;
   }

.contact-box:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
 
}
.contact-icon i {
    color: #ffffff;
    font-size: 32px;
}

.contact-box h3 {
    font-size: 20px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-box p {
    color: var(--text-gray);
    margin: 0;
}

.contact-line {
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--primary-orange);
}

/* ================ 页脚样式 ================ */
.footer {
    background-color: var(--footer-blue);
    color: #ffffff;
    padding: 0.5rem 0;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-address {
    margin: 0;
    font-size: 16px;
}

.footer-qr {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px;
}

.footer-cert {
    width: 80px;
    height: 80px;
    margin-left: 1rem;
}

/* ================ 响应式设计 ================ */
@media (max-width: 992px) {
    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-title {
        font-size: 36px;
    }

    .description-text {
        font-size: 16px;
    }

    .contact-box {
        margin-bottom: 2rem;
    }

    .footer [class*="col-"] {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .footer-qr,
    .footer-cert {
        margin: 1rem auto;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 24px;
    }

    .header-slogan {
        font-size: 16px;
    }

    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 30px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon i {
        font-size: 24px;
    }
}

/* ================ 动画效果 ================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}