   @charset "utf-8";
 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    h3,ul,li,ol,a { list-style: none; text-decoration: none; }
    body {
        font-family: 'Microsoft YaHei', sans-serif;
    }
    header {
        width:100%; 
        background:rgba(0,0,0,0.1); 
        position: relative;
        z-index: 999;
    }
    .head_top {
    width: 100%;
    height: 25px;
    background-color: #af0e20;
    display: flex;
    justify-content: center;
    }

    .head {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        max-width: 1600px;
        margin: 0 auto;
    }
    
    .head_fh { width: 100%; max-width: 1600px; position: relative;}
    .head_fh h3 { width:204px; line-height: 39px; text-align: center; font-size: 16px; font-weight: 400; font-family: "微软雅黑"; color: #fff; position: absolute; right: 0; top: 0; background: url(../images/index_fhydy.png) no-repeat center top;}
    .head_fh h3 a { color: #fff;}
    .logo {
       
        margin: 5px 0px;
        -webkit-box-flex: 0; 
            -ms-flex: 0 1 30%; 
                flex:0 1 30%; 
        display: -webkit-box; 
        display: -ms-flexbox; 
        display: flex; 
        -webkit-box-align: center; 
            -ms-flex-align: center; 
                align-items: center; 
    }
    .logo img { width: 100%; height:auto; }

   
    /* 导航样式 */
    nav { width: 100%; max-width:1160px; margin:0 auto;}

    .nav-links, .submenu {
        list-style: none;
    }

    .nav-links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: distribute;
        -ms-flex-pack: distribute;
        justify-content: space-between;
        position: relative;
    }

    .nav-links > li {
        position: relative;
    }

    .nav-links li a {
        color: #000000;
        text-decoration: none;
        padding: 15px 20px;
        display: block;
        font-size: 1.125rem;
        transition: background 0.3s;
        white-space: nowrap;
        position: relative;
    }

    .nav-links li a:hover {
        border-bottom: 3px solid #7d000e;
    }

    /* 下拉菜单样式 */
    .submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.8);
        min-width: 130px;
        text-align:center;
        display: none;
        z-index: 100;
        box-shadow: 0 2px 5px #830210;
    }

    .submenu li {
        border-bottom: 1px solid #b10013;
        position: relative;
    }

    .submenu li a {
        font-size:18px;
        position: relative;
    }

    .submenu .submenu {
        top: 0;
        left: 100%;
        transform: translateX(0px);
    }

    /* 有子菜单的项添加箭头 */
    .nav-links li.has-submenu > a::after {
        content: "›";
        margin-left: 5px;
        display: inline-block;
        -webkit-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
                transform: rotate(90deg);
        position: absolute;
        right: 2px;
        font-size: 18px;
        line-height: 1;
        top:24px;
        
    }

    .submenu li.has-submenu > a::after {
        -webkit-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    /* 鼠标悬停显示子菜单 */
    .nav-links li:hover > .submenu,
    .submenu li:hover > .submenu {
        display: block;
    }

    /* 汉堡菜单按钮 */
    .hamburger {
        display: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1000;
    }

    .hamburger div {
        width:30px;
        height:4px;
        background:hsl(180, 100%, 100%);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
        .submenu {
            min-width: 180px;
        }

        .logo {
            -webkit-box-flex: 0;
                -ms-flex: 0 1 53%;
                    flex: 0 1 53%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
        }
        nav {border-top:none;} 
        
        /* 移动端导航容器 */
        .nav-links {
            display: none;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            width: 100%;
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(255, 255, 255, 0.8);
            z-index: 999;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        
        }

        .nav-links.active {
            display: block; /* 关键修复：兼容模式下使用display:block替代flex */
            max-height: 1000px;
            transition: max-height 0.5s ease-in;
        }

        .nav-links > li {
            border-bottom: 1px solid #ffb9c0;
            position: relative;
        }

        .nav-links li a {
            padding: 12px 20px;
        }

        /* 移动端下拉菜单 */
        .submenu {
            position: static;
            display: none;
            background: rgba(180, 1, 1, 0.1);
            box-shadow: none;
            padding-left: 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            transform: translateX(0px);
            text-align: left;
        }

        .submenu .submenu {
            padding-left: 20px;
        }

        .submenu.active {
            display: block;
            max-height: 1000px;
            transition: max-height 0.5s ease-in;
        }

        /* 移动端箭头样式 */
        .nav-links li.has-submenu > a::after {
            -webkit-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                    transform: rotate(0deg);
            transition: -webkit-transform 0.3s;
            transition: transform 0.3s;
            transition: transform 0.3s, -webkit-transform 0.3s;
            right: 20px;
        }

        .nav-links li.has-submenu > a.active::after {
            -webkit-transform: rotate(90deg);
                -ms-transform: rotate(90deg);
                    transform: rotate(90deg);
        }

        .hamburger {
            display: block;
            order: 2;
        }

        .logo {
            order: 1;
            margin: 0 auto;
        }

        .search {
            order: 3;
        }

        /* 汉堡菜单动画 */
        .hamburger.active div:nth-child(1) {
            -webkit-transform: rotate(-45deg) translate(-5px, 6px);
                -ms-transform: rotate(-45deg) translate(-5px, 6px);
                    transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active div:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active div:nth-child(3) {
            -webkit-transform: rotate(45deg) translate(-5px, -6px);
                -ms-transform: rotate(45deg) translate(-5px, -6px);
                    transform: rotate(45deg) translate(-5px, -6px);
        }
    }
    
    @media (max-width: 768px) {
        .head {
            padding: 10px;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
                -ms-flex-flow: row wrap;
                    flex-flow: row wrap;
        }

        .logo { width: 80%; -webkit-box-flex: 0; -ms-flex: 0 1 80%; flex: 0 1 80%; }


    }
    


/*bannear*/ 

/* 基础样式 - 兼容所有浏览器 */
.banner-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    _height: 600px; /* IE6固定高度，避免vh单位问题 */
}
.banner-list {
    position: relative;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.banner-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    *display: none;
}
.banner-item.active {
    display: block;
    *display: block;
}
.banner-item img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
.banner-control {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.banner-dots {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 5px;
    background-color: #333;
    background-color: rgba(0,0,0,0.5);
    border-radius: 20px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000);
}
.banner-dots span {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    margin: 0 2px;
    border-radius: 50%;
}
.banner-dots span.active {
    background-color: #fff;
    color: #333;
}
.banner-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 10;
}
.banner-arrow {
    position: absolute;
    width: 40px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #333;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-top: -30px; /* 垂直居中修正 */
}
.banner-arrow-prev {
    left: 20px;
}
.banner-arrow-next {
    right: 20px;
}

/* 现代浏览器动画 - 优化过渡时间 */
.modern .banner-item {
    opacity: 0;
    display: block !important;
    transform: scale(1.1);
    transition: opacity 0.8s ease-in-out, transform 4s ease-out; /* 减少过渡时间 */
    z-index: 0;
}
.modern .banner-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* IE兼容模式专用样式（解决跳动核心） */
.ie-compat .banner-item {
    /* 禁用缩放动画，改用淡入淡出避免跳动 */
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    transition: none !important;
    transform: none !important;
}
.ie-compat .banner-item.active {
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.ie-compat .banner-list {
    /* 固定容器尺寸，避免重绘时尺寸变化 */
    height: 100% !important;
    overflow: hidden;
}

/* 加载指示器 */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 100;
}



