/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    font-family: Unbounded-custom, "Noto Sans", "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif, dnp-shuei-gothic-gin-std, "游ゴシック Medium", YuGothic, 游ゴシック体, "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif;
    font-size: 14px;
    line-height: 1.25em;
}

@keyframes fadeIn {
    0% {
        filter: grayscale(100%);
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        filter: grayscale(0%);
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}
.hf1{
    width: 1400px;
}

a:hover {
    color: #666;
}

ul {
    list-style: none;
}

/* 头部样式 */
header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    transition: all 0.3s ease;
    text-transform: uppercase;

}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-nav .nav-ul {
    display: flex;
    font-weight: 700;
    font-size: 12px;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 30px;
    left: -20px;
    display: block;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #000;
    padding-left: 25px;
}

/* 添加动画效果 */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* 为每个菜单项添加延迟 */
.dropdown-menu li:nth-child(1) {
    transition-delay: 0.05s;
}

.dropdown-menu li:nth-child(2) {
    transition-delay: 0.1s;
}

.dropdown-menu li:nth-child(3) {
    transition-delay: 0.15s;
}

.dropdown-menu li:nth-child(4) {
    transition-delay: 0.2s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateY(0);
}

.dropdown-toggle {
    position: relative;
    padding-right: 15px;
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown:hover .dropdown-toggle.hoverA::before {
    transform: scaleX(1);
}

.hoverA::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hoverA:hover::before {
    transform: scaleX(1);
}

.hoverA.active::before {
    transform: scaleX(1);
}

.language-selector {
    margin-left: 20px;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle span.active:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle span.active:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单样式 */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .dropdowns {
        height: 37.5px;
    }

    .main-nav li {
        display: block;
        margin-left: 0;
    }

    .main-nav li {
        margin: 10px 0;
        margin-left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f5f5f5;
        border-radius: 4px;
        margin: 10px 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown.active .dropdown-toggle.hoverA::before {
        transform: scaleX(1);
    }



    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown.active .dropdown-menu li:nth-child(1) {
        animation-delay: 0.05s;
    }

    .dropdown.active .dropdown-menu li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .dropdown.active .dropdown-menu li:nth-child(3) {
        animation-delay: 0.15s;
    }

    .dropdown.active .dropdown-menu li:nth-child(4) {
        animation-delay: 0.2s;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu li a {
        padding: 10px 20px 10px 30px;
        font-size: 14px;
    }

    .dropdown-toggle::after {
        right: -15px;
    }
}

/* 主要内容区域 */
main {
    padding: 0 0 50px 0;
}

/* 轮播图样式 */
.hero-section {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
}

/* 轮播图样式 */
.title-section {
    width: 100%;
    text-align: center;
}
.title-section h1
{
    color: #2e7d32;
    font-size: 34px;
}
.title-section p
{
    margin-top: 10px;
    text-align: left;
    font-size: 24px;
}
.title-section div
{
    width: 70%;
    height: 400px;
    margin-left: 15%;
    margin-top: 5%;

}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slide {
    display: none;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}



.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.logo-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 15px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot,
.dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.info-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.item {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.info-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-card .image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
    animation-fill-mode: forwards;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item .info-card {
    opacity: 0;
}

.item.animate:nth-child(odd) .info-card:first-child {
    animation: slideInLeft 1s ease-in-out;
    animation-fill-mode: forwards;
}

.item.animate:nth-child(odd) .info-card:last-child {
    animation: slideInRight 1s ease-in-out;
    animation-fill-mode: forwards;
}

.item.animate:nth-child(even) .info-card:first-child {
    animation: slideInRight 1s ease-in-out;
    animation-fill-mode: forwards;
}

.item.animate:nth-child(even) .info-card:last-child {
    animation: slideInLeft 1s ease-in-out;
    animation-fill-mode: forwards;
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card img:hover {
    transform: scale(1.05);
}

.imageCard {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.info-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.arrow {
    margin-left: 10px;
}

.left {
    margin-right: 10px;
    transform: rotate(180deg);
}

/* 页脚样式 */
footer {
    background-color: #000;
    color: #fff;
    padding: 50px 0;
}

footer a {
    color: #fff;
}

.footer-logo svg {
    height: 72px;
}

footer a:hover {
    color: #ccc;
}


.footer-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 12px;
}

svg:not([fill]) {
    fill: currentColor;
}

.footer-menu {
    margin-right: 80px;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-menu li {
    margin-right: 15px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex: 1;
    justify-content: space-between;
    margin-bottom: 40px;
}

.social-icon {
    font-size: 0;
    color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.logo-small {
    width: 100px;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .info-card .image {
        height: 250px;
    }

    .info-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .item {
        flex-direction: column;
    }

    .item:nth-child(even) {
        flex-direction: column;
    }

    .info-card {
        min-width: 100%;
        padding: 20px;
    }

    .info-card .image {
        height: 300px;
        max-width: 100%;
    }

    .main-nav li {
        margin-left: 15px;
    }

    .logo-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-policy {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .info-section .container {
        flex-direction: column;
    }

    .item {
        margin-bottom: 20px;
    }

    .info-card {
        padding: 15px;
    }

    .info-card .image {
        height: 250px;
    }

    .footer-nav {
        flex-direction: column;
    }

    .footer-menu ul {
        flex-direction: column;
    }

    .footer-menu li {
        margin-bottom: 15px;
        /* text-align: center; */
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-policy {
        margin-top: 20px;
    }

    .slide-caption h2 {
        font-size: 28px;
    }
}

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

    .info-card {
        padding: 15px 0;
    }

    .info-card h2 {
        font-size: 22px;
    }

    .info-card .image {
        height: 200px;
    }

    .slide-caption h2 {
        font-size: 24px;
    }

    .slide-caption p {
        font-size: 14px;
    }

    .prev,
    .next {
        padding: 10px;
        font-size: 14px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}

@media (max-width: 480px) {
    .info-card .image {
        height: 180px;
    }

    .info-card h2 {
        font-size: 20px;
    }

    .info-card p {
        font-size: 14px;
    }

    .social-icon {
        margin-right: 20px;
    }

    .slide-caption {
        padding: 10px;
    }

    .slide-caption h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .slide-caption p {
        font-size: 12px;
    }
}

#skip-links{
    width: 100%;
    background-color: black;
}
#skip-links a{
    color: white;
}
#skip-links {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#skip-links a: focus{
    position: static;
    width: auto;
    height: auto;
}