:root {
    --primary-color: #004484;
    --secondary-color: #f8f9fa;
    --accent-color: #bc993e;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/* swiper */
.swiper {
    width: 100%;
    height: 100%;
	
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
	
}

.heads {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
}

.logo {
    display: flex;
    height: 90px;
    justify-content: space-between;
    padding: 0 60px;
    align-items: center;
}

.logo a {
    font-size: 0;
    width: 216px;
    height: 60px;
}

.logo a img {
    width: 216px;
}

.mobile-menu-btn {
    display: none;
}

.app-header {
    width: 1100px;
    display: flex;
    justify-content: space-around;
}

.app-header-nav {
    width: 950px;
}

.app-header-nav ul {
    display: flex;
    margin: 0;
}

.app-header-nav ul a {
    align-items: center;
    color: #004484;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    padding: 0 20px;
    position: relative;
    height: 40px;
}

.app-chine {
    width: 120px;
    display: flex;
    align-items: center;
}

/* 语言下拉样式 */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.lang-dropdown-toggle.lefts {
    display: none;
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    left: -21px;
    top: 151%;
    min-width: 100px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 101;
}

.lang-dropdown-menu.menu-open {
    display: block;
}

.lang-dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
}

.lang-dropdown-menu a:hover {
    background: #f5f5f5;
}

.lang-dropdown.open .lang-dropdown-menu {
    display: block;
}

/* end */
.sub-nav {
    background: #fff;
    bottom: 0;
    box-shadow: 0 8px 13px rgba(0, 0, 0, .071);
    display: none;
    font-size: 14px;
    left: 50%;
    min-width: 160px;
    padding: 10px;
    position: absolute;
    transform: translate3d(-50%, 100%, 0);
    z-index: -1;

}

.sub-nav__item {
    color: #333;
    display: block;
    padding: 5px 10px;
    text-align: center;
}

.app-header-nav ul li {
    position: relative;
}

.app-header-nav ul li .lang-dropdown-toggle {
    display: none;
}

.app-header-nav ul li:hover .sub-nav {
    display: block;
}

.sub-nav__text {
    line-height: 30px;
    font-size: 14px;
    margin: 0 auto;
    color: #333333;
}

ul a {
    text-decoration: none;
}

/* foot */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-title img {
    height: 60px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.main {
    width: 1200px;
    margin: 0 auto;
}

.news-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.news-img {
    height: 120px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 12px;
}

.news-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-excerpt {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.0;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.news-link:hover {
    text-decoration: underline;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(3px);
}

.news-category {
    display: inline-block;
    background: rgba(10, 95, 119, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.view-all-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #08455a;
}

@media (max-width: 768px) {
    .news-img {
        height: 180px;
    }
}

.swiper-top {
    position: static;
    margin-top: 90px;
}

.swiper-top h1 {
    color: #fff;
}

.swiper-top img {
    height: 328px;
    width: 100%;
}

.main-top {
    position: static;
}

.main-top h1 {
    position: absolute;
    height: 328px;
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
}

/* 关于我们 */

.company-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* 标签导航样式 */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 30px;
}

.nav-link {
    color: #555;
    font-weight: 500;
    padding: 15px 25px;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover {
    border-color: #ccc;
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--accent-color);
}

/* 标签内容样式 */
.tab-content {
    padding: 20px 0;
}

.tab-pane {
    line-height: 1.8;
}

.tab-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.tab-content p {
    margin-bottom: 15px;
    color: #444;
}

.highlight {
    background-color: rgba(10, 95, 119, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 4px 4px 0;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: '\f26a';
    font-family: 'Bootstrap Icons';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* newslist */


.article-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.section-title {
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.view-all:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.view-all i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.view-all:hover i {
    transform: translateX(3px);
}

.article-row {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.article-image {
    flex: 0 0 300px;
    margin-right: 30px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.article-image img:hover {
    transform: scale(1.05);
    transition: all 0.3s;
}

.article-content {
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-date {
    margin-right: 20px;
}

.article-category {
    background: rgba(10, 95, 119, 0.1);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333333;
    line-height: 2.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
}

.article-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.article-link:hover {
    text-decoration: underline;
}

.article-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.article-link:hover i {
    transform: translateX(3px);
}

.pagination {
    margin-top: 40px;
    justify-content: center;
}

.page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 0.6rem 1rem;
}

.page-link:hover {
    color: var(--primary-color);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.articless {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .article-image {
        flex: 0 0 250px;
        margin-right: 20px;
    }

    .article-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-all {
        margin-top: 15px;
    }

    .article-row {
        flex-direction: column;
    }

    .article-image {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .article-image img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.2rem;
    }

    .article-excerpt {
        font-size: 0.95rem;
    }
}

/* content */


.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.contact-description {
    margin-bottom: 50px;
    line-height: 1.8;
    color: #444;
}

.contact-description p {
    margin-bottom: 20px;
}

.contact-form {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(10, 95, 119, 0.15);
}

.form-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(10, 95, 119, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #08455a;
    border-color: #08455a;
    transform: translateY(-2px);
}

.required-field:after {
    content: '*';
    color: #e32;
    margin-left: 3px;
}

.form-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .heads {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        position: static;
    }

    .logo {
        padding: 0 15px;
        height: 60px;
        justify-content: center;
    }

    .logo a,
    .logo a img {
        width: 150px;
        height: 40px;
    }

    .swiper {
        height: 250px;
        margin-top: 60px;
    }

    .swiper-slide img {
        height: 100%;
    }

    .app-header {
        width: 100%;
    }

    .app-header-nav {
        width: 100%;
    }

    .app-header-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }

    .main,
    .company-intro,
    .news-container,
    .article-list,
    .contact-section,
    .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
    }

    .swiper-top img {
        height: 200px;
    }

    .main-top {
        display: none;
    }

    .main-top h1 {
        position: static;
        height: auto;
        font-size: 22px;
        padding: 10px 0;
    }

    .contact-form {
        padding: 15px;
    }

    .row {
        flex-direction: column;
    }

    .col-md-6,
    .col-lg-4,
    .col-lg-2,
    .col-lg-3,
    .col-md-4 {
        width: 100% !important;
        margin-bottom: 15px;
        padding: 0;
    }

    .form-control,
    .form-select,
    textarea.form-control {
        font-size: 15px;
        padding: 10px;
    }

    .btn-primary {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
    }

    footer {
        padding: 30px 0 15px;
    }

    footer .row {
        flex-direction: column;
        gap: 0;
    }

    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-md-4 {
        width: 100% !important;
        margin-bottom: 16px;
        padding: 0 0 8px 0;
        border-bottom: 1px solid #eee;
    }

    footer .col-lg-4:last-child,
    footer .col-lg-2:last-child,
    footer .col-lg-3:last-child,
    footer .col-md-4:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .footer-links {
        display: flex;
        gap: 6px;
        flex-direction: row;
    }

    .footer-links a {
        font-size: 12px;
        padding: 4px 0;
        margin-bottom: 8px;
    }

    .text-center {
        text-align: center !important;
        font-size: 13px;
        margin-top: 10px;
    }

    .footer-title img {
        height: 40px;
    }

    .section-title {
        font-size: 1.0rem;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }

    .section-title:after {
        width: 30px;
        height: 2px;
    }

    .contact-description {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .form-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .heads {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 10px;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
        position: fixed;
    }

    .logo {
        padding: 0;
        height: 60px;
        justify-content: flex-start;
        align-items: center;
        flex: 0 0 auto;
    }

    .logo a,
    .logo a img {
        width: 120px;
        height: 40px;
    }

    .app-header {
        flex: 0 0 auto;
        width: auto;
        position: relative;
    }

    /* 二级菜单缩进和动画 */

    .app-header-nav .sub-nav {
        display: none !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        min-width: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        z-index: auto !important;
        background: none !important;
        padding-left: 24px;
        transition: all 0.2s;
        text-align: left;
    }

    .app-header-nav .menu-open>.sub-nav {
        display: block !important;
    }

    .app-header-nav ul>li:hover .sub-nav.menu-open {
        display: block !important;
    }

    .app-header-nav ul>li.has-sub>a {
        position: relative;
        padding-right: 32px;
    }

    .app-header-nav ul>li.has-sub>a::after {
        content: '';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        display: inline-block;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23004484' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center/contain;
        transition: background 0.2s;
    }

    .app-header-nav ul>li.menu-open.has-sub>a::after {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23004484' class='bi bi-chevron-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 11.354a.5.5 0 0 0 .708 0L8 5.707l5.646 5.647a.5.5 0 0 0 .708-.708l-6-6a.5.5 0 0 0-.708 0l-6 6a.5.5 0 0 0 0 .708z'/%3E%3C/svg%3E") no-repeat center/contain;
    }

    .sub-nav__text {
        margin: 0;
    }

    /* 菜单按钮样式 */
    .mobile-menu-btn {
        display: inline-block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--primary-color);
        cursor: pointer;
        margin-left: 10px;
        position: absolute;
        top: 0px;
        right: 16px;
        font-size: 36px;
        z-index: 1100;
    }

    .app-chine {
        margin-right: 204px;
        position: absolute;
        top: -12px
    }

    /* 导航默认隐藏，弹出时显示并覆盖全屏 */
    .app-header-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        background: #fff;
        z-index: 100;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
        padding: 30px 20px;
    }

    .app-header-nav ul li {
        width: 100%;
        line-height: 3.5rem;
    }

    .app-header-nav ul li:hover .sub-nav {
        display: none !important;
    }

    .app-header-nav.active {
        display: block;
        animation: fadeIn .2s;
    }

    .app-header-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .app-header-nav ul a {
        padding: 14px 0;
        width: 90%;
        font-size: 14px;
        padding: 10px 0;
        float: left;
        color: #333333;
        height: 3.5rem;
        font-weight: 500;
    }

    .app-header-nav ul li .lang-dropdown-toggle {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .lang-dropdown-toggle.lefts {
        float: left;
    }

    /* footer 手机端适配 */
    footer {
        padding: 20px 0 10px;
    }

    .footer-title img {
        height: 32px;
    }

    .container {
        padding: 0 10px;
    }

    .row {
        flex-direction: column;
    }

    .col-lg-4,
    .col-lg-2,
    .col-lg-3,
    .col-md-4 {
        width: 100% !important;
        margin-bottom: 18px;
        padding: 0;
    }

    .text-center {
        text-align: left !important;
    }

    .wapnone {
        display: none;
    }
}