body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#hero {
    background-image: url('https://images.unsplash.com/photo-1559592413-71659a2c4b5a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-item {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    max-width: 100%;
    height: 175px; /* Set fixed height */
    object-fit: cover; /* Ensure image covers the area */
}

#tien-len .grid-item img {
    height: auto;
    object-fit: unset;
}

.grid-item h3 {
    font-size: 1.2rem;
    margin: 1rem;
}

.grid-item p {
    margin: 0 1rem 1rem;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
}
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-button {
    background-color: #555;
    color: white;
    border: 1px solid #777;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9rem;
}

.lang-button.active {
    background-color: #007bff;
    border-color: #007bff;
}

.play-tien-len-link-container {
    text-align: center;
    margin-top: 1.5rem; /* Add some space above the link */
}

.play-tien-len-link-container a {
    display: inline-block; /* Allows padding and margin to work */
    font-size: 2rem; /* Make it big */
    font-weight: bold;
    color: #007bff; /* A distinct color */
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.play-tien-len-link-container a:hover {
    background-color: #007bff;
    color: white;
}