body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #f0f0f0;
    background-image: url('../image/welcome1.png');
    background-color: rgba(0, 44, 2, 0.99);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 2rem 2rem 0 2rem;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.header .logos {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
}

.header .logos img {
    height: 100px;
    width: auto;
}

.header .title p {
    margin: 0.25rem 0;
    font-weight: 500;
}

.header .title .english-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
}

.lang-card {
    width: 250px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.lang-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-5px);
}

.lang-card h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.lang-card p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #cccccc;
}

.footer {
    margin-top: 3rem;
    font-size: 0.7rem;
    color: #ffffff;
    text-align: center;
    background-color: rgba(2, 24, 0, 0.55);
    padding: 0.05rem 2rem;
    border-radius: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: 1rem;
}

@media (max-width: 920px) {
    .language-selector {
        flex-direction: column;
    }
    .lang-card {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    .main-section {
        padding: 1rem;
    }
}