*{
    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;
}
/* Contact Main */
.contact-main {
    background-color: #f9fafc;
}

.contact-main h1 {
    font-size: 40px;
    font-weight: 700;
    color: #535353;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #0376be;
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #0376be;
    box-shadow: 0 0 0 0.2rem rgba(3, 118, 190, 0.25);
}

.contact-form .btn-primary {
    background-color: #0376be;
    border-color: #0376be;
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 12px;
    transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #025c94;
}

.contact-info {
    background-color: #0376be;
    color: #0376be;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.contact-info p i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.social-icons .icon {
    width: px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons .icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.contact-map:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Styles (Giữ nguyên hoặc chỉnh sửa nếu cần) */
.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: 250px;
}

.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: 10px;
    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;
    }
}