/* Reset some basic styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
}

/* Background container with a shared background image */
#b-img {
	background: url('../img/banner01.png') no-repeat center center/cover;
	padding: 10px 0;
	/* Adjust padding to suit your design */
}

/* Language switch at the top */
.language-switch {
	display: flex;
	justify-content: flex-end;
	width: 60%;
	align-items: center;
	/* Ensures vertical alignment */
	color: white;
	margin: 0 auto;
	/* Adjust text color to contrast with the background */
}

.language-switch a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	margin: 10px;
	transition: color 0.3s ease;
	white-space: nowrap;
	/* Prevents text wrapping */
}

.language-switch a:hover {
	color: #FFD700;
	/* Change to any color that suits the design */
}

/* Header with logo and navigation on the same line */
header {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
	justify-content: center; /* 使 logo 和导航栏居中对齐 */
    height: 100px;
    width: 40%;
    background-color: ghostwhite;
    gap: 100px;
	border-radius: 15px;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFD700;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: ghostwhite;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    z-index: 1000;
}

.dropdown li {
    display: block;
    margin-bottom: 5px;
}

.dropdown li:last-child {
    margin-bottom: 0;
}

.dropdown a {
    padding: 8px 12px;
    display: block;
}

.dropdown a:hover {
    background-color: #FFD700;
    color: black;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
        padding: 0;
    }

    .dropdown a {
        padding-left: 20px;
    }
}

.site-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
}

.footer-logo img {
    max-height: 80px;
}

.footer-links {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    text-align: left;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.phone-number {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 5px;
}

.contact-info {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-button {
    background-color: #666;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}

.footer-qr img {
    max-height: 100px;
    border: 2px solid #fff;
    padding: 5px;
    background-color: #fff;
}

.footer-bottom {
    background-color: #222;
    color: #bbb;
    padding: 10px 0;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        margin: 20px 0;
    }

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