@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body, html {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
}

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

header {
    background-color: #1e88e5;
    color: #fff;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
}

header .logo img {
    max-width: 80px;
    border-radius: 10px;
}

nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #42a5f5;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #1e88e5;
    transform: scale(1.05);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    margin: 10px 20px;
}

.hero-content {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 15px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #1e88e5;
    font-weight: 600;
}

.hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #666;
    font-weight: 400;
}

.cta-button {
    background-color: #f4511e;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

.cta-button:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

footer {
    background-color: #1e88e5;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 10px 10px 0 0;
    margin-top: auto;
    border-top: 2px solid #0d47a1;
}

/* Các phần CSS khác đã được giữ nguyên */

.trust-section {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px; /* Giảm chiều rộng để khớp với phần nội dung phía trên */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.trust-section h2 {
    font-size: 1.8em;
    color: #1e88e5;
    margin-bottom: 15px;
    font-weight: 600;
}

.trust-section p.commitment {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.bank-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Xếp theo hàng dọc */
    gap: 15px;
    align-items: center;
}

.bank-list li {
    font-size: 1.1em;
    color: #333;
    background-color: #f1f1f1;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    header .logo img {
        max-width: 60px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 5px;
    }

    nav ul li {
        margin: 5px;
    }

    .hero {
        height: 50vh;
        margin: 10px;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .cta-button {
        font-size: 1em;
        padding: 6px 15px;
    }

    .trust-section {
        padding: 20px 15px;
        margin: 15px 10px;
        max-width: 600px; /* Giữ chiều rộng nhỏ hơn cho phù hợp */
    }

    .trust-section h2 {
        font-size: 1.6em;
    }

    .trust-section p.commitment {
        font-size: 0.9em;
    }

    .bank-list {
        gap: 10px;
    }

    .bank-list li {
        padding: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    header .logo img {
        max-width: 50px;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
        padding: 0;
        width: auto;
    }

    nav ul li {
        margin: 5px;
    }

    .hero {
        height: 40vh;
        margin: 5px;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 0.8em;
    }

    .cta-button {
        font-size: 0.9em;
        padding: 5px 12px;
    }

    .trust-section {
        padding: 15px 10px;
        margin: 10px 5px;
        max-width: 100%; /* Đảm bảo phần nội dung khớp với chiều rộng màn hình nhỏ */
    }

    .trust-section h2 {
        font-size: 1.4em;
    }

    .trust-section p.commitment {
        font-size: 0.8em;
    }

    .bank-list {
        gap: 8px;
    }

    .bank-list li {
        padding: 6px 10px;
    }
}
