/* Existing styles remain unchanged */

/* Language Switching */
.lang-en {
    display: block;
}

/* Show Chinese when lang-zh class is on the body */
body.lang-zh .lang-zh {
    display: block;
}

body.lang-zh .lang-en {
    display: none;
}

/* Show English when lang-en class is on the body */
body.lang-en .lang-en {
    display: block;
}

body.lang-en .lang-zh {
    display: none;
}

/* Header styling */
.header-top {
    text-align: center;
    padding: 20px 0;
    background-color: #004080;  /* Dark blue background for the logo area */
}

.header-logo {
    max-width: 300px;  /* Enlarging the logo by 1.5 times */
    height: auto;
}

/* Flexbox for navigation and language switch alignment */
.nav-container {
    display: flex;
    justify-content: center;  /* Centralize the navigation bar */
    align-items: center;
    background-color: #004080;  /* Dark blue background for navigation */
    padding: 15px;
    position: relative;
}

.nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;  /* Align navigation items horizontally */
    justify-content: center;  /* Keep nav links centered */
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;  /* White text for navigation */
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f8d568;  /* Gold hover effect */
}

/* Language button aligned to the right */
.language-switch {
    position: absolute;
    right: 20px;
}

.language-switch button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    background-color: #004080;  /* Dark blue button */
    color: #ffffff;
    border: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.language-switch button:hover {
    background-color: #f8d568;  /* Gold hover */
    color: #004080;  /* Dark blue text on hover */
}

/* Hero section */
.hero-section {
    background-color: #004080;  /* Dark blue background for the hero section */
    padding: 50px 0;
    text-align: center;
    color: #ffffff;  /* White text for hero section */
}

.hero-section img {
    max-width: 100%;
    height: auto;
}

.hero-section h2 {
    font-size: 2.5em;
    margin-top: 20px;
    color: #ffffff;  /* White heading text */
}

.hero-section p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #ffffff;  /* White text for hero section */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us, Philosophy, Services, Portfolio sections */
section {
    padding: 50px 0;
    text-align: center;
}

h2 {
    font-size: 2em;
    color: #004080;  /* Consistent dark blue for section headings */
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    color: #555555;  /* Natural dark gray for text */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Special styling for Expert team and Global network sentences */
.about-overview ul {
    list-style-type: disc;  /* Bullet points */
    padding-left: 20px;  /* Indentation for bullets */
    text-align: left;  /* Left-align the text */
    margin: 20px auto;
    max-width: 800px;
}

.about-overview ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #000000;  /* Black text for sentences */
}

.services-overview ul li::marker {
    color: #004080;  /* Natural dark blue for bullet points */
}

/* Special styling for Expert team and Global network sentences */
.services-overview ul {
    list-style-type: disc;  /* Bullet points */
    padding-left: 20px;  /* Indentation for bullets */
    text-align: left;  /* Left-align the text */
    margin: 20px auto;
    max-width: 800px;
}

.services-overview ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #000000;  /* Black text for sentences */
}

.services-overview ul li::marker {
    color: #004080;  /* Natural dark blue for bullet points */
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004080;  /* Dark blue for consistency */
    color: #ffffff;  /* White text */
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #f8d568;  /* Gold hover effect */
    color: #004080;  /* Dark blue text on hover */
}

/* Footer styles */
footer {
    background-color: #004080;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1em;
    color: #ffffff; 
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Optimization */
@media (max-width: 767px) {
    .nav-links {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center; /* Center items */
    }

    .nav-links li {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 10px; /* Space between items */
    }

    .language-switch {
        position: relative; /* Adjust position for mobile */
        margin-top: 10px; /* Add margin for spacing */
    }

    section {
        padding: 30px 0; /* Reduce padding for mobile */
    }

    h2 {
        font-size: 1.5em; /* Smaller heading size on mobile */
    }

    p {
        font-size: 1em; /* Smaller paragraph size on mobile */
    }

    .hero-section {
        padding: 30px 0; /* Reduce padding for mobile */
    }
}
