*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    position: relative;
    height: 100%;
    margin: auto;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f8f2f0;
}


header {
    background: #fff;
    padding: 0px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.logo img {
    height: 90px; /* Tăng kích thước logo nếu cần */
    margin-right: 10px;
    vertical-align: middle; /* Giữ logo căn giữa theo chiều dọc */
}


nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #535353;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0376be;
}

nav ul li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    background: #fff;
    top: 35px;
    left: 0;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown li {
    display: block;
    padding: 10px;
}

.dropdown li a {
    display: block;
    padding: 10px;
    font-size: 1em;
    text-transform: none;
    color: #535353;
}

.dropdown li a:hover {
    background: #0376be;
    color: white;
}

.icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icons a {
    text-decoration: none;
    color: #535353;
    font-size: 1.5em;
    transition: color 0.3s ease-in-out;
}

.icons a:hover {
    color: #0376be;
}
.search-box {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 0px 5px;
    margin-right: 5px;
    margin-left: 55px;
    
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    color: #535353;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 0px 5px;
    margin-right: 5px;
    margin-left: 55px;
}
.search-box form {
    display: flex;
    align-items: center;
    margin: 0; /* Xóa margin mặc định của form */
}
.search-box input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    color: #535353;
}

.search-box i {
    color: #535353;
    font-size: 1em;
}
.search-box button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    display: flex;
    align-items: center;
}
/* New Styles for Tabs and Lists */
.top h1 {
    text-transform: uppercase;
    font-size: 40px;
    font-weight: bold;
    color: #535353;
    margin-bottom: 20px;
    text-align: center;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    font-weight: 600;
    color: #535353;
    border: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

.nav-tabs .nav-link:hover {
    border-bottom: 2px solid #0376be;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #0376be;
    color: #0376be;
}
.tab-content {
    min-height: 600px; /* Đặt chiều cao tối thiểu cho nội dung tab */
}

.tab-pane {
    min-height: 600px; /* Đảm bảo mỗi tab pane có cùng chiều cao tối thiểu */
}
.main-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item {
    display: flex;
    background: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 33%;
    height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

.news-content {
    width: 67%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #535353;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #0376be;
}

.news-description {
    font-size: 0.9rem;
    color: #535353;
    line-height: 1.4;
    margin: 0;
}
/* Định dạng chung cho footer */
.col p {
    color: #ffffff;
    margin-bottom: 10px;
    text-align: justify;
    transition: all 0.3s ease-in-out;
}

.col p:hover {
    color: #ffffff;
    transform: none;
}
.footer-top {
    background-color:  #0376be; ;
    color: #ffffff;
    padding: 40px 0;
}

.footer-top .container {
    max-width: 1200px;
    margin: auto;
}

.footer-top .row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-top .col {
    flex: 1;
    min-width: 250;
}

.footer-top img {
    border-radius: 15px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.footer-top img:hover {
    transform: none;
}

.footer-top h3 {
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-top p {
    margin: 5px 0;
}

.footer-top a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
}

.footer-top a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-top i {
    margin: 8px;
    transition: transform 0.3s ease-in-out;
}

.footer-top a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    background-color: #0376be;
    padding: 15px 0;
    color: #ffffff;
    font-weight: bold;
}

.footer-bottom span {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-main .row {
        flex-direction: column;
    }

    .contact-form,
    .contact-info,
    .contact-map {
        margin-bottom: 20px;
    }
}