body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    height: 90px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 18%;
}

.logo img {
    margin-top: 7px;
    margin-bottom: 6px;
    height: auto;
    max-height: 100%;
    width: auto;
}

.icon {
    display: flex;
    align-items: center;
    margin-left: 30px;
    width: 200px;
    font-size: 16px;
}

.icon i {
    margin-right: 8px;
}

.language select {
    padding: 8px 12px;
    font-size: 16px;
    border: none;
    margin-left: 750px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7"><path fill="%23999" d="M0 0l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px 7px;
}

.language {
    display: inline-block;
    position: relative;
}

.language select:focus {
    outline: none;
    box-shadow: none;
}

/* main */
main {
    padding-top: 90px;
}

/* carousel */
.carousel {
    width: 100%;
    height: 886px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active {
    display: block;
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

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

.dot-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: inline-block;
}

.dot.active-dot,
.dot:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.content {
    position: relative;
    width: 1220px;
    margin: 40px auto 0;
    padding: 0;
    margin-bottom: 51px;
}

h2 {
    color: #070505;
    font-size: 36px;
    font-family: 'Microsoft YaHei Bold', '微软雅黑', sans-serif;
    font-weight: bold;
    min-width: 200px;
    border-bottom: 1px solid #fd6b00;
    line-height: 100px;
    margin-top: 60px;
    margin-bottom: 0px;
}

.line {
    height: 1px;
    margin-left: 200px;
    margin-top: -1px;
    margin-bottom: 28px;
    background-color: #b9b9b9;
}

.introduce p {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-size: 28px;
    color: #333333;
    line-height: 1.6;
    text-indent: 2em;
    margin: 0px;
    text-align: justify;
    text-justify: inter-word;
}

.introduce-imgs {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: center;
    padding: 30px 0 0 0;
}

.introduce-img {
    width: 390px;
    height: 200px;
}

.introduce-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#carousel2 {
    width: 1220px;
    height: 420px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

/* footer */
.footer {
    width: 100%;
    max-width: 1920px;
    height: 241px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #f9f9f9;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    margin-top: 17px;
    margin-bottom: 23px;
    max-height: 100px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.footer-logo-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.footer-message p {
    text-align: center;
}

.footer-text {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #c4bfc4;
    text-align: center;
}

.footer-links {
    font-family: 'Microsoft YaHei', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #797879;
    margin-top: 23px;
    margin-bottom: 0px;
    padding-bottom: 25px;
    text-align: center;
}

/* Media Queries for Mobile */
@media only screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%; 
        height: 80px; 
        background: #fff;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .header .nav {
        transform: scale(0.9); 
        transform-origin: top center; 
    }

    .logo {
        margin-left: 5%; 
    }

    .language select {
        margin-right: 5%;
    }
    .language select {
        margin-left: auto;
        margin-right: 5%;
        font-size: 14px;
    }

    main {
        padding-top: 80px;
    }

    .content {
        margin:  0;
        padding: 0;
        margin-bottom: 25px;
    }

    h2{
        font-size: 24px;
        padding-top: 10px;
        margin: 0px;
        line-height: 50px;
    }

    .carousel {
        height: 200px;
    }

    .prev, 
    .next {
        padding: 8px; 
        font-size: 12px; 
    }

    .dot-container {
        position: absolute;
        bottom: 3px;
        width: 100%;
        text-align: center;
    }

    #carousel2 {
        height: 200px;
    }
    .content {
        width: 90%;
        padding: 10px;
    }

    .introduce p {
        font-size: 16px;
        line-height: 1.5;
    }

    .footer {
        height: auto;
        padding: 0;
    }

    .footer-text,
    .footer-links {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%; 
        height: 90px; 
        background: #fff;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .header .nav {
        transform: scale(0.9); 
        transform-origin: top center; 
    }

    .logo {
        margin-left: 5%; 
    }

    .language select {
        margin-left: 300%;
        margin-right: 5%;
        font-size: 14px;
    }

    .carousel {
        height: 400px;
    }

    .content {
        width: 80%;
    }

    .introduce p {
        font-size: 18px;
    }

    .footer-text,
    .footer-links {
        font-size: 16px;
    }
}
