*,
::after,
::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, PingFangSC-Regular, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    color: #494d55;
}

img {
    vertical-align: bottom;
}

ul {
    list-style-type: none;
}

a {
    color: #494d55;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    color: #003e9f;
}

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

.w {
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
header {
    background-color: #004098;
    padding: 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

img {
    width: 100%;
    height: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.logo {
    width: 500px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0 50px;
    opacity: 0;
    animation: slideInLeft 2s ease forwards;
}

.logo-img {
    width: 350px;
    margin-left: 120px;
    opacity: 0;
    animation: slideInLeft 2s ease forwards;
    animation-delay: 0.5s;
}

.footer {
    background-color: rgba(0, 64, 152, 0.95);
    color: #fff;
    font-size: 16px;
}

.footer .w {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 0;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.address-row {
    margin-bottom: 15px;
    line-height: 1.6;
}

.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
    width: 100%;
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qrcode-section {
    text-align: center;
    min-width: 150px;
}

.qrcode {
    width: 120px;
    height: 120px;
    background-color: #fff;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1f3a;
    font-weight: bold;
    border-radius: 5px;
}

.public-account {
    font-size: 16px;
    font-weight: bold;
}

.header-image {
    width: 780px;
    margin-top: 20%;
    opacity: 0;
    animation: slideInLeft 2s ease forwards;
    animation-delay: 1s;
}

.banner-text {
    display: flex;
    flex-direction: column;
    position: relative;
    height: calc(100vh - 4%);
    margin-bottom: 40px;
    margin-top: 200px;
}

.text-item {
    position: absolute;
    overflow: hidden;
    width: 90%;
}

.text-item:nth-child(1) {
    top: 0;
    left: 5%;
    z-index: 2;
}

.text-item:nth-child(2) {
    bottom: 0;
    right: 5%;
    z-index: 1;
}

/* 渐显动画效果 */
.text-item img {
    position: relative;
    display: block;
    opacity: 0;
    animation: reveal 3s ease-in-out forwards;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 第一个图片延迟 */
.text-item:nth-child(1) img {
    animation-delay: 1.5s;
}

/* 第二个图片延迟 */
.text-item:nth-child(2) img {
    animation-delay: 3.5s;
}



.box {
    background: url(../images/zhanguan/indexbody-bg.jpg) no-repeat;
    background-size: cover;
    padding: 50px;
    position: relative;
}

.modules {
    display: flex;
    justify-content: space-between;
    padding: 30px 3% 100px;
    gap: 20px;
}

.module {
    background: url(../images/zhanguan/bj.jpg) no-repeat;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
}

.module1 {
    background: url(../images/zhanguan/bj1.jpg) no-repeat;
}

.module2 {
    background: url(../images/zhanguan/bj2.jpg) no-repeat;
}

.module3 {
    background: url(../images/zhanguan/bj3.jpg) no-repeat;
}

.module4 {
    background: url(../images/zhanguan/bj4.jpg) no-repeat;
}

.module5 {
    background: url(../images/zhanguan/bj5.jpg) no-repeat;
}

.module.animated {
    opacity: 1;
    transform: translateY(0);
}

.module:hover {
    transform: translateY(-10px);
}

.module-icon {
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: 600;
}

.module h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 18px;
}

.module p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.footer-image {
    margin-top: 30px;
}

/* 新增布局样式 */
.header-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-section {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-section {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

/* 调整banner-text位置 */
.banner-text {
    margin-top: 0;
}

/* 调整logo-container位置 */
.logo-container {
    width: 100%;
    align-items: start;
}

.logo {
    margin: 0 0 30px;
}

.logo-img {
    margin-left: 0;
    margin-bottom: 30px;
}

.header-image {
    margin-top: 0;
    width: 100%;
}

.header {
    background: url('../images/zhanguan/banner1.jpg') no-repeat center center/cover;
    height: 1300px;
    position: relative;
    margin-bottom: 60px;
}

.header1 {
    background: url('../images/zhanguan/banner2.jpg') no-repeat center center/cover;
    height: 1700px;
    position: relative;
    margin-bottom: 60px;
}

.header2 {
    background: url('../images/zhanguan/banner3.jpg') no-repeat center center/cover;
    height: 1500px;
    position: relative;
    margin-bottom: 60px;
}

.header3 {
    background: url('../images/zhanguan/banner4.jpg') no-repeat center center/cover;
    height: 1600px;
    position: relative;
    margin-bottom: 60px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    transition: all 0.3s ease;
}

.logo1 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    width: 500px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px 20px;
}

.nav-links a.active {
    color: #fff;
    border-bottom: #fff 2px solid;

}

.nav-links a:hover {
    color: #fff;
    border-bottom: #fff 2px solid;

}

.navbar.scrolled {
    background: rgba(0, 64, 152, 0.95);
}

.banner-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.banner-content1 {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.image-container {
    margin: 50px auto;
}

.image-container h2 {
    font-size: 28px;
    margin: 50px 0 20px;
    color: #754800;
    text-align: center;
}

.imgBox {
    background: url('../images/zhanguan/bg1.jpg') no-repeat center center/cover;
    padding: 30px 0;
    background-attachment: fixed;
}

/* 三列图片布局 */
.three-column {
    background: url('../images/zhanguan/bg2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.three-column h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.column {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.column:hover {
    transform: translateY(-10px);
}

.column img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bj {
    background: url('../images/zhanguan/bg3.jpg') no-repeat center center/cover;
    padding: 60px 0 30px;
    background-attachment: fixed;
    margin-bottom: 30px;
}

.bj1 {
    background: url('../images/zhanguan/bg4.jpg') no-repeat center center/cover;
    padding: 60px 0;
    background-attachment: fixed;
}

.bj2 {
    background: url('../images/zhanguan/bg5.jpg') no-repeat center center/cover;
    padding: 60px 0;
    background-attachment: fixed;
}

.bj3 {
    background: url('../images/zhanguan/bg6.jpg') no-repeat center center/cover;
    padding: 60px 0;
    background-attachment: fixed;
}

.bj4 {
    background: url('../images/zhanguan/bg7.jpg') no-repeat center center/cover;
    padding: 200px 0 98px;
    background-attachment: fixed;
}

/* 新增动画样式 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.image-zoom {
    overflow: hidden;
    border-radius: 8px;
}

.image-zoom img {
    transition: transform 0.7s ease;
}

.image-zoom:hover img {
    transform: scale(1.05);
}

/* 进度条 */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(to right, #c39364, #004098);
    width: 0%;
    transition: width 0.2s ease;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 64, 152, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0, 64, 152, 1);
    transform: translateY(-5px);
}

/* 图片描述样式 */
.image-caption {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 15px;
    font-style: italic;
}

.title h1 {
    font-size: 40px;
    line-height: 2;
    color: #003e9f;
    white-space: nowrap;
    overflow: hidden;
}

.title p {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    color: #8d6700;
    font-weight: 600;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
    animation-delay: 1s;
    animation-fill-mode: both;
    margin-top: 30px;
}

.line {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #003ac3, #e74c3c, #003ac3);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: underline-flow 3s linear infinite;
}

.imgbox1 {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.imgbox1 img {
    width: 49%;
}

.img7 {
    position: relative;
    margin: 30px auto 8%;
}

.img18 {
    position: absolute;
    left: 12%;
    bottom: -20%;
    width: 1100px;
    height: auto;
    animation: slideInLeft 2s ease forwards;
    opacity: 0;
    animation-delay: 2s;
}

.time1 {
    animation: slideInLeft 2s ease forwards;
    opacity: 0;
}

/* 初始状态：只设置 opacity 和位置 */
.animateL,
.animateR {
    opacity: 0;
}

/* 当加上 .animated 后，才开始动画 */
.animateL.animated {
    animation: slideInLeft 1s ease forwards;
}

.animateR.animated {
    animation: slideInRight 1s ease forwards;
}

.gallery {
    display: flex;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.txt {
    text-indent: 2em;
    font-size: 18px;
    line-height: 2;
}

.image-card {
    position: relative;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.image-card1 {
    position: relative;
    height: 240px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.image-card2 {
    position: relative;
    height: 500px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.image-card2:hover,
.image-card1:hover,
.image-card:hover {
    transform: translateY(-5px);
}

.image-card1 img,
.image-card img,
.image-card2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover img,
.image-card1:hover img,
.image-card2:hover img {
    transform: scale(1.1);
}

.columnBox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    text-align: left;
}

.image-card:hover .overlay,
.image-card1:hover .overlay,
.image-card2:hover .overlay {
    opacity: 1;
}

.overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    color: #fff;
}

.image-card:hover .overlay p,
.image-card1:hover .overlay p,
.image-card2:hover .overlay p {
    transform: translateY(0);
}

.titleBj {
    background: url(../images/zhanguan/p39.jpg) no-repeat center / cover;
    padding: 20px;
    color: #fff;
    font-size: 18px;
    line-height: 2;
    text-indent: 2rem;
    margin-top: -30px;
}

.blueBj {
    background-color: rgb(0, 70, 168);
    margin: 30px auto;
    padding: 60px 0;
}

.blueBj h1 {
    color: #fff;
}

.blueBj p {
    color: #fff;
    line-height: 30px;
    font-size: 18px;
    margin: 20px 0 40px;
}

.subhead {
    background-color: #0055b8;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 30px 0;
}

.subhead::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #0055b8;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.subhead1 {
    background-color: #ffffff;
    color: #6d3800;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 30px 0;
}

.subhead1::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #ffffff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 20px;
}

th,
td {
    border: 1px solid #8e5000;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #d2b48c;
    color: #fff;
}

tr {
    background-color: #fffcf9;
}

tr:nth-child(even) {
    background-color: #f5e6ca;
}

.vision-text {
    font-size: 24px;
    line-height: 2;
    color: #fff;
    opacity: 0;
    animation: text-fade-in 6s ease forwards;
    text-indent: 2em;
}

@keyframes text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    margin: 1.5rem 0;
    opacity: 0;
    transform: scaleX(0.3);
    animation: divider-expand 2s ease forwards;
    animation-delay: 2s;
}

@keyframes divider-expand {
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 新增：居右文字样式+动画 */
.right-text {
    text-align: right;
    font-size: 24px;
    color: #ffcc00;
    line-height: 2;
    font-weight: 500;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateX(30px);
    animation: right-text-fade 1.5s ease forwards;
    animation-delay: 3.5s;
}

@keyframes right-text-fade {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 定义动画 */
@keyframes reveal {
    0% {
        opacity: 0;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 打字动画 */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes underline-flow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}