body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    color: white;
    width: 100%;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 40px;
    margin-right: 10px;
}

header nav {
    flex-grow: 1;
    text-align: center;
    position: relative;
}

header nav a {
    color: white;
    margin: 0 60px; /* Increase margin to create more space between items */
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

header .dropdown {
    display: inline-block;
    position: relative;
}

header .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap; /* 确保项目在一行显示 */
}

header .dropdown-content a {
    color: white;
    padding: 20px 14px; /* 调整填充 */
    text-decoration: none;
    display: block; /* 改为 inline-block 以水平排列项目 */
    text-align: left;
}

header .dropdown-content a:hover {
    background-color: #575757;
}

header .dropdown:hover .dropdown-content {
    display: block;
}

header .lang-switch {
    margin-left: auto;
}

header .lang-switch a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

header .lang-switch a:hover {
    text-decoration: underline;
}


.slideshow {
    position: relative;
    width: 80%;;
    margin: auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    display: none;
}

.slides img.active {
    display: block;
}

.navigation-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}
.container {
    width: 80%;
    margin: 20px auto; /* 使container居中 */
}

.content-box {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.content-box img {
    width: 45%;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 8px;
}

.text-content {
    width: 55%;
}

.text-content h2 {
    font-size: 24px;
    margin: 0 0 10px;
    line-height: 1.2;
}

.text-content h2 span {
    font-weight: bold;
    font-size: 32px;
    display: block;
}

.text-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.learn-more:hover {
    background-color: #0056b3;
}


.round-imgs {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    width: 80%; /* 设置总宽度为页面的60% */
    margin: 20px auto; /* 水平方向居中 */
}


.round-imgs div {
    text-align: center;
}

.round-imgs img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

footer {
    background-color: #333; /* 背景颜色 */
    padding: 20px;
    text-align: center;
    width: 100%; /* 确保footer宽度为100% */
    margin-top: auto; /* 将footer推到页面底部 */
}

footer span, footer a {
    font-size: 16px; /* 根据需要调整字体大小 */
    color: white; /* 根据需要调整文字颜色 */
    text-decoration: none; /* 去掉链接的下划线 */
}

footer a:hover {
    text-decoration: underline; /* 鼠标悬停时显示下划线 */
}

.contact-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.email-icon {
    width: 24px; /* 根据需要调整图标大小 */
    height: 24px; /* 根据需要调整图标大小 */
    margin-right: 10px;
}

.gallery-container {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin:20;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
}

.card .info {
    padding: 15px;
}

.card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.card p {
    color: #666;
    margin: 5px 0 15px;
}

.card button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.card button:hover {
    background-color: #c0392b;
}

.card a {
    text-decoration: none;
    color: inherit;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #e74c3c;
    color: white;
}

.pagination span {
    pointer-events: none;
}

.contact {
    display: flex;
    justify-content: space-around; /* 横向排列，并平均分布 */
    align-items: center; /* 垂直居中 */
    margin-top: 20px;
}

.contact a {
    text-decoration: none; /* 取消文字的下划线 */
}

.contact div {
    text-align: center;
    margin: 0 20px;
}

.contact img {
    width: 50px; /* 调整图标大小 */
    height: 50px;
    display: block;
    margin: 0 auto 10px; /* 图标居中 */
}

.contact span {
    display: block;
    font-size: 16px;
    color: #333; /* 根据需要调整文字颜色 */
    margin-top: 5px;
}
