/* navbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 1.6;
    background: #FFF;
}

.navbar {
    width: 100%;
    max-width: 1800px;
    background-color: #FFF;
    padding: 0;
    margin: 0 auto;
    height: 130px; /* Chiều cao cố định của navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #0002;
}

.navbar-content {
    width: 100%;
    max-width: 1720px;
    height: 100%; /* Đảm bảo .navbar-content chiếm toàn bộ chiều cao của .navbar */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Giữ khoảng cách giữa logo và links */
    padding: 0 40px;
    box-sizing: border-box;
}

.navbar-logo {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-logo a {
    height: 100%; /* Giúp thẻ a chiếm toàn bộ chiều cao của .navbar-content (và do đó là .navbar) */
    width: auto; /* Giữ tỷ lệ khung hình của ảnh */
    display: flex; /* Sử dụng flexbox để căn giữa ảnh nếu cần */
    align-items: center; /* Căn giữa ảnh theo chiều dọc trong thẻ a */
    padding-right: 24px; /* Thêm khoảng cách bên phải để tách biệt với navbar-links */
}

.navbar-logo a img {
    height: auto; /* Đảm bảo ảnh tự điều chỉnh chiều cao */
    max-height: 150px; /* Giới hạn chiều cao tối đa của ảnh */
    width: auto; /* Giữ tỷ lệ khung hình */
}
.navbar-links {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 0 50px 0 0;
}

.navbar-links a {
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 24px;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
    background: #FF69B4;
    color: #FFF;
}

.navbar-links.active:hover {
    background-color: #FF69B4;
    color: #000;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 24px;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    white-space: nowrap;
    display: block;
}

.dropbtn:hover {
    background: #FF69B4;
    color: #fff;
}

.dropbtn.active {
    background: #FF69B4;
    color: #000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: normal;
    border-radius: 0;
    transition: background 0.2s;
    white-space: nowrap
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: #FF69B4;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    border: solid rgb(0, 0, 0);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
    vertical-align: middle;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.dropdown:hover .arrow {
    border-color: #000;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #FFF 70%, #F5F5F5 128%);
    color: #001F3F;
    font-size: 16px;
    padding: 20px 0 0 0;
    margin-top: 40px;
    border-top: 5px solid #FF69B4;
    border-radius: 10px 10px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    padding: 0 0 5px 0;
}

.footer-logo {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: auto;
    text-align: center;
}

.footer-logo img {
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0;
}

.footer-logo p {
    font-size: 20px;
    color: #FF69B4;
    text-align: center;
    width: 100%;
    margin-top: -50px;
}

.footer-col {
    padding: 0 0 5px 0;
    flex: 1 1 200px;
}

.footer-title {
    color: #001F3F;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-list,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list a {
    color: #001F3F;
    text-decoration: none;
    transition: color 0.2s;
    text-decoration: underline;
}

.footer-list a:hover {
    color: #FF69B4;
}

.footer-bottom {
    border-top: 1px solid #FF69B4;
    margin-top: 30px;
    padding: 14px 0;
    text-align: center;
    color: #000;
    font-size: 14px;
}

/* icon */
.footer-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 0px;
    min-width: 150px;
}

.footer-text {
    padding-left: 10px;
    text-align: left;
}

.footer-text p {
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
    margin: 0;
    line-height: 1.5;
}

.footer-text a {
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
    margin: 0;
    line-height: 0.5;
}


@media (max-width:1890px) {

    .navbar-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 80px;
        padding: 10px 20px;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;

    }

    .navbar-logo img {
        height: 48px;
        margin-bottom: 10px;
    }

    .navbar-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
        width: auto;
    }

    .navbar-links a {
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-logo {
        margin-bottom: 0;
    }
}

@media (min-width: 900px) and (max-width: 1200px) {

    .navbar-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 3px 6px;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-logo img {
        height: 48px;
        margin-bottom: 0;
    }

    .navbar-links {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-end;
        width: auto;
    }

    .navbar-links a {
        padding: 3px 6px;
        font-size: 14px;
        white-space: nowrap;
    }

    .footer-content {
        flex-direction: row;
        /* Horizontal layout */
        justify-content: flex-start;
        /* Start items from the left */
        align-items: flex-start;
        /* Align content to the top */
        padding: 3px 6px;
        /* Adjust padding as needed for this range */
        flex-wrap: wrap;
        /* Allow items to wrap if there's not enough space */
    }

    .footer-logo {
        flex-basis: auto;
        width: auto;
        text-align: center;
        /* Center the logo */
    }

    .footer-logo img {
        max-height: 60px;
        /* Reduced size for medium screens */
        width: auto;
    }

    .footer-col {
        flex: 1;
        /* Allow columns to grow and shrink */
        min-width: 180px;
        /* Adjust minimum width for readability on larger screens */
        text-align: left;
        margin-bottom: 0;
    }

    .footer-title {
        padding-left: 5px;
    }

    .footer-item {
        font-size: 1em;
        margin-bottom: 8px;
        /* Slightly more spacing for larger items */
        margin-right: 15px;
        /* Slightly more horizontal spacing */
        display: flex;
        align-items: center;
        /* Vertically center icon/image with text */
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }

    .footer-item img {
        /* Larger image for footer items */
        height: 24px;
        /* Significantly larger than 12px for 768-900 range */
        width: auto;
        flex-shrink: 0;
        margin-right: 5px;
        /* Maintain small gap next to text */
    }

    .footer-item i {
        /* Larger icon font for footer items (if used) */
        font-size: 24px;
        /* Significantly larger than 12px for 768-900 range */
        flex-shrink: 0;
        margin-right: 5px;
        /* Maintain small gap next to text */
    }

    .footer-text {
        flex: 1;
        min-width: 0;
        margin-top: 0;
        margin-bottom: 0;
        line-height: inherit;
    }
}

@media (min-width: 768px) and (max-width: 900px) {

    .navbar-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0px;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-logo {
        padding-left: 5px;
    }

    .navbar-logo img {
        height: 48px;
        margin-bottom: 0;
    }

    .navbar-links {
        flex-wrap: nowrap;
        gap: 2px;
        justify-content: flex-end;
        width: auto;
    }

    .navbar-links a {
        padding: 2px 4px;
        font-size: 14px;
        white-space: nowrap;
    }

    .dropdown .arrow {
        display: none;
        /* Ẩn mũi tên */
    }

    .footer-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2.5px 5px;
        flex-wrap: wrap;
    }

    .footer-logo {
        flex-basis: auto;
        width: auto;
        text-align: center;
        /* Center the logo */
    }

    .footer-logo img {
        max-height: 50px;
        /* Further reduced size for smaller tablets */
        width: auto;
    }

    .footer-col {
        flex: 1;
        min-width: 150px;
        text-align: left;
        margin-bottom: 0;
    }

    .footer-item {
        font-size: 1em;
        margin-bottom: 5px;
        margin-right: 10px;
        display: flex;
        align-items: center;
        /* Align items vertically in the center */
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }

    .footer-item img {
        /* Targeting the image within footer-item */
        height: 10px;
        /* Even smaller height */
        width: auto;
        flex-shrink: 0;
        margin-right: 2px;
        /* Very small right margin */
    }

    .footer-item i {
        /* Targeting icon fonts within footer-item */
        font-size: 12px;
        /* Even smaller font size */
        flex-shrink: 0;
        margin-right: 2px;
        /* Very small right margin */
    }

    .footer-text {
        flex: 1;
        min-width: 0;
        margin-top: 0;
        /* Ensure no extra top margin pushing text away from the icon */
        margin-bottom: 0;
        /* Ensure no extra bottom margin */
        line-height: inherit;
    }
}


@media (max-width:600px) {

    .navbar-content {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .navbar-logo img {
        height: 48px;
        margin-bottom: 10px;
    }

    .navbar-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .navbar-links a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        width: 100vw;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

    .footer-logo img {
        max-height: 70px;
        /* Adjust logo size for mobile */
        width: auto;
    }

    .footer-col {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }
}

@media (max-width:480px) {
    .navbar {
        height: auto;
        padding-bottom: 10px;
        align-items: center;
    }

    .navbar-content {
        gap: 0px;
    }

    .navbar-links {
        gap: 8px;
        font-size: 13px;
    }

    .navbar-links a {
        padding: 5px 10px;
    }

    .footer-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 5px;
    }

    .footer-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-text p,
    .footer-text a {
        font-size: 0.8em;
        /* Adjust as needed */
    }

    .footer-logo img {
        max-height: 40px;
        /* Further adjust logo size for small mobiles */
        width: auto;
    }

    .footer-item img {
        display: none;
    }
}