*{
    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;
}
/* Định dạng css cho phần main */
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../../assets/images/background3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* Subtle dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px); /* Slide-up effect */
    animation: fadeInUp 1s ease-out forwards;
    text-shadow: 0 2px 4px rgb(0, 0, 0); /* Subtle text shadow for depth */
}

.hero-content .subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out forwards;
    text-shadow: 0 2px 4px rgb(0, 0, 0); /* Subtle text shadow for depth */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem; /* Smaller font for mobile */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-section {
        height: 60vh; /* Shorter height for smaller screens */
    }
}

/* Định dạng chung cho footer */
.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;
    }
}