body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #222;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f39c12;
}

.hero {
    background-color: #555;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0;
    animation: pulse 1s infinite;
    color: #FFD700; /* 亮黄色 */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.welcome-message {
    font-size: 4rem;
    font-weight: bold;
    animation: blink 1s infinite alternate;
    color: #FFD700; /* 亮黄色 */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

.hero p {
    font-size: 1.5rem;
    margin: 20px 0 0;
    color: #FFD700; /* 亮黄色 */
}

.hero .banner {
    max-width: 90%;
    height: auto;
    margin-top: 40px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.features, .latest-news {
    padding: 40px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 10px;
    max-width: 900px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.features .slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.features .mySlides {
    display: none;
}

.features img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}
