
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin-left: 10%;
    margin-right: 10%;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

header {
    background: #35424a;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
    position: fixed;
    width: 80%;
    top: 0;
    z-index: 1000;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .highlight,
header .current a {
    color: #e8491d;
    font-weight: bold;
}

header a:hover {
    color: #cccccc;
    font-weight: bold;
}

#showcase {
    min-height: 400px;
    background: url('https://static.app.minxian.gov.cn/file/20250113/871a1773ef06beb60a6d61d9fbf58f48.png') no-repeat;
    text-align: right;
    color: #9d9daf;
    margin-top: 300px;
}

#showcase h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

#showcase p {
    font-size: 20px;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    background: #e8491d;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background: #ff6a3c;
}

#about,
#services,
#portfolio,
#team,
#contact {
    padding: 40px 0;
}

#about {
    background: #f4f4f4;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 30px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

#services .services-container {
    display: flex;
    justify-content: space-between;
}

.service-box {
    flex-basis: 30%;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-box img {
    width: 80px;
    margin-bottom: 15px;
}

#portfolio .portfolio-items {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
}

.portfolio-item {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 300px;
    height: 200px;
    border-radius: 5px;
    display: block;
}

#team .team-members {
    display: flex;
    justify-content: space-between;
}

.team-member {
    flex-basis: 22%;
    text-align: center;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact form input,
#contact form textarea {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
}

footer {
    background: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

/* 动画效果相关的CSS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: 1s ease-out 0s 1 slideInFromLeft;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.service-box {
    transition: transform 0.3s ease-in-out;
}

.service-box:hover {
    transform: translateY(-10px);
}

html {
    scroll-behavior: smooth;
}