/* Header Styles - Inspired by Báo Giá AI page */
:root {
    --header-orange-500: #f97316;
    /* Cam chính - tương ứng với Tailwind orange-500 */
    --header-orange-600: #ea580c;
    /* Cam đậm - tương ứng với Tailwind orange-600 */
    --header-orange-300: #fdba74;
    /* Cam nhạt - tương ứng với Tailwind orange-300 */
    --header-orange-100: #ffedd5;
    /* Cam nhạt hơn - tương ứng với Tailwind orange-100 */
    --header-orange-50: #fff7ed;
    /* Cam nhạt nhất - tương ứng với Tailwind orange-50 */
    --header-gray-900: #111827;
    /* Xám đậm - tương ứng với Tailwind gray-900 */
    --header-gray-800: #1f2937;
    /* Xám đậm - tương ứng với Tailwind gray-800 */
    --header-gray-700: #374151;
    /* Xám - tương ứng với Tailwind gray-700 */
    --header-gray-600: #4b5563;
    /* Xám - tương ứng với Tailwind gray-600 */
    --header-gray-500: #6b7280;
    /* Xám - tương ứng với Tailwind gray-500 */
    --header-gray-400: #9ca3af;
    /* Xám nhạt - tương ứng với Tailwind gray-400 */
    --header-gray-300: #d1d5db;
    /* Xám nhạt - tương ứng với Tailwind gray-300 */
    --header-gray-200: #e5e7eb;
    /* Xám nhạt - tương ứng với Tailwind gray-200 */
    --header-gray-100: #f3f4f6;
    /* Xám nhạt - tương ứng với Tailwind gray-100 */
    --header-gray-50: #f9fafb;
    /* Xám nhạt nhất - tương ứng với Tailwind gray-50 */
    --header-white: #ffffff;
    /* Trắng */
    --header-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --header-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --header-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --header-shadow-lg: 0 12px 40px rgba(249, 115, 22, 0.2);
    --header-transition: all 0.3s ease;
    --header-border-radius: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 100%);
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
}

/* Announcement Banner */
.announcement-banner {
    background-color: var(--header-gray-900);
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    color: var(--header-white);
    width: 100%;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Điều chỉnh vị trí header khi announcement banner ẩn */
.main-header.announcement-hidden {
    top: 0;
}

.announcement-banner a {
    text-decoration: none;
    color: var(--header-orange-300);
    font-weight: 500;
    margin-left: 8px;
    position: relative;
    transition: var(--header-transition);
}

.announcement-banner a:hover {
    color: var(--header-orange-500);
    text-decoration: underline;
}

/* Main Header */
.main-header {
    background-color: var(--header-gray-900);
    background-color: #fff5f5;
    height: 70px;
    width: 100%;
    position: fixed;
    top: 40px;
    /* Đặt header dưới announcement banner */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 calc(5% + 15px) 0 calc(5% + 15px);
    /* Căn lề trái và phải giống với banner */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--header-transition);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.main-header>.logo-container {
    flex: 0 0 auto;
    min-width: 0;
    /* Cho phép co lại khi cần thiết */
}

.main-header>.nav-container,
.main-header>.contact-btn {
    flex: 0 0 auto;
}

/* Right side container for navigation and contact button */
.main-header .right-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    /* Cho phép co lại khi cần thiết */
}

/* Thay đổi màu sắc khi cuộn trang */
.main-header.scrolled {
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
}

/* Thay đổi màu chữ logo khi cuộn */
.main-header.scrolled .logo-text {
    color: var(--header-orange-500);
}

.main-header.scrolled .logo-tagline {
    color: var(--header-gray-300);
}

/* Thay đổi màu chữ menu khi cuộn */
.main-header.scrolled .nav-menu a {
    color: var(--header-gray-300);
}

.main-header.scrolled .nav-menu a:hover,
.main-header.scrolled .nav-menu a.active {
    color: var(--header-orange-500);
}

/* Thay đổi màu nút liên hệ khi cuộn */
.main-header.scrolled .contact-btn {
    border-color: var(--header-gray-300);
    color: var(--header-gray-300);
}

.main-header.scrolled .contact-btn:hover {
    border-color: var(--header-orange-500);
    color: var(--header-white);
}

/* Thay đổi màu menu toggle khi cuộn */
.main-header.scrolled .menu-toggle-bar {
    background-color: var(--header-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled .menu-toggle:hover .menu-toggle-bar {
    background-color: var(--header-orange-500);
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
}





/* Logo Section */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    max-width: 100%;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.05), rgba(249, 115, 22, 0.01));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 8px;
}

.logo-container:hover::before {
    opacity: 1;
}

.logo-image {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    /* Ngăn logo bị co lại */
}

.logo-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo-container:hover .logo-image::after {
    opacity: 1;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 111, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo-image img {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 4px 8px rgba(255, 111, 0, 0.5));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-width: 0;
    /* Cho phép co lại khi cần thiết */
    flex: 1;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--header-orange-500), #ff8c42);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-container:hover .logo-text {
    letter-spacing: 0.5px;
    transform: translateY(-1px);
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--header-orange-500), #ff8c42);
    transition: width 0.4s ease;
    opacity: 0.7;
}

.logo-container:hover .logo-text::after {
    width: 100%;
}

.logo-tagline {
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    margin: 4px 0 0 0;
    line-height: 1;
    letter-spacing: 0.5px;
    opacity: 1;
    transition: all 0.4s ease;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-container:hover .logo-tagline {
    color: var(--header-orange-500);
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.nav-container {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    /* Cho phép co lại khi cần thiết */
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    /* Ngăn các mục menu xuống dòng */
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
    white-space: nowrap;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: black;
    text-decoration: none;
    transition: var(--header-transition);
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.nav-menu a:hover {
    color: var(--header-orange-500);
}

.nav-menu a.active {
    color: var(--header-orange-500);
    font-weight: 600;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--header-orange-500);
    top: 50%;
    left: -12px;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--header-orange-500), var(--header-orange-600));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Contact Button */
.contact-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--header-orange-500);
    background-color: transparent;
    border: 2px solid var(--header-orange-500);
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    margin-left: 25px;
    flex-shrink: 0;
    /* Ngăn nút bị co lại */
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--header-orange-500), var(--header-orange-600));
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.contact-btn:hover {
    color: var(--header-white);
    border-color: var(--header-orange-600);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.contact-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-toggle-bar {
    width: 22px;
    height: 2px;
    background-color: var(--header-gray-900);
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.menu-toggle-bar:nth-child(1) {
    width: 16px;
    margin-left: -6px;
}

.menu-toggle-bar:nth-child(3) {
    width: 16px;
    margin-left: 6px;
}

.menu-toggle:hover .menu-toggle-bar {
    background-color: var(--header-orange-500);
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.3);
}

/* Class để thay đổi màu menu toggle khi menu được mở */
.menu-toggle.active .menu-toggle-bar {
    background-color: var(--header-orange-500);
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.3);
}

.menu-toggle:hover .menu-toggle-bar:nth-child(1) {
    width: 22px;
    margin-left: 0;
}

.menu-toggle:hover .menu-toggle-bar:nth-child(3) {
    width: 22px;
    margin-left: 0;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 24, 39, 0.98);
    z-index: 2000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
    padding: 0;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2001;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-bar {
    width: 24px;
    height: 2px;
    background-color: var(--header-white);
    border-radius: 4px;
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.close-bar:first-child {
    transform: rotate(45deg);
}

.close-bar:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover {
    background-color: rgba(249, 115, 22, 0.1);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.3);
}

.mobile-menu-close:hover .close-bar {
    background-color: var(--header-orange-500);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

/* Mobile Menu Logo */
.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.mobile-menu-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 111, 0, 0.3));
    flex-shrink: 0;
}

.mobile-menu-logo>div {
    flex: 1;
    min-width: 0;
}

.mobile-menu-logo-text {
    margin-top: 3px;
}

.mobile-menu-logo h2 {
    font-size: 15px;
    color: var(--header-white);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: normal;
    word-wrap: break-word;
}

.mobile-menu-logo p {
    font-size: 12px;
    color: var(--header-orange-500);
    margin: 4px 0 0;
    font-weight: 500;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    letter-spacing: 0.2px;
}

/* Mobile Menu Links */
.mobile-menu-links {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu-links li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-links li a {
    font-size: 18px;
    color: var(--header-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 15px 0;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-links li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--header-orange-500);
    font-size: 16px;
}

.mobile-menu-links li a:hover {
    color: var(--header-orange-500);
    transform: translateX(5px);
}

.mobile-menu-links li a.active {
    color: var(--header-orange-500);
    font-weight: 600;
}

.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 20px 0;
}

/* Mobile Contact Info */
.mobile-contact-info {
    padding-left: 20px;
    margin-bottom: 30px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-contact-info h3 {
    font-size: 16px;
    color: var(--header-white);
    margin: 0 0 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.mobile-contact-info h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--header-orange-500);
}

.mobile-contact-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.mobile-contact-info p i {
    margin-right: 10px;
    color: var(--header-orange-500);
    width: 20px;
    text-align: center;
}

.mobile-contact-btn {
    margin-top: auto;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    padding: 0 20px;
}

.mobile-contact-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu .contact-btn {
    margin-bottom: 100px;
    margin-left: 0px;
    background-color: var(--header-orange-500);
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu .contact-btn i {
    font-size: 16px;
}

.mobile-menu .contact-btn:hover {
    background-color: var(--header-orange-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

@media (max-width: 375px) {
    .mobile-menu-logo {
        padding: 15px;
        margin-top: 50px;
        gap: 12px;
    }

    .mobile-menu-logo img {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-logo h2 {
        font-size: 13px;
        letter-spacing: 0.2px;
        line-height: 1.3;
    }

    .mobile-menu-logo p {
        font-size: 11px;
        letter-spacing: 0.1px;
        margin-top: 3px;
    }

    .mobile-menu-links {
        padding: 15px 20px;
    }

    .mobile-menu-links li a {
        font-size: 15px;
        padding: 12px 0;
    }

    .mobile-menu-links li a i {
        font-size: 14px;
    }

    .mobile-contact-info h3 {
        font-size: 14px;
    }

    .mobile-contact-info p {
        font-size: 12px;
    }

    .mobile-menu .contact-btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

/* Media query cho màn hình siêu nhỏ */
@media (max-width: 320px) {
    .mobile-menu-logo {
        padding: 12px;
        margin-top: 45px;
        gap: 10px;
    }

    .mobile-menu-logo img {
        width: 38px;
        height: 38px;
    }

    .mobile-menu-logo h2 {
        font-size: 12px;
        letter-spacing: 0.1px;
        line-height: 1.25;
    }

    .mobile-menu-logo p {
        font-size: 10px;
        margin-top: 2px;
        line-height: 1.2;
    }

    .mobile-menu-links {
        padding: 12px 15px;
    }

    .mobile-menu-links li a {
        font-size: 14px;
        padding: 10px 0;
    }

    .mobile-menu-links li a i {
        font-size: 12px;
        margin-right: 10px;
    }

    .mobile-contact-info {
        padding-left: 15px;
    }

    .mobile-contact-info h3 {
        font-size: 12px;
    }

    .mobile-contact-info p {
        font-size: 11px;
    }

    .mobile-menu .contact-btn {
        padding: 8px 12px;
        font-size: 12px;
        margin-bottom: 80px;
    }

    .mobile-menu-close {
        top: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
    }
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .logo-container {
        padding: 4px 0;
    }

    .logo-text {
        font-size: 17px;
    }

    .nav-menu li {
        margin: 0 12px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .contact-btn {
        padding: 8px 18px;
        font-size: 13px;
        margin-left: 20px;
    }
}

@media (max-width: 1200px) {
    .main-header {
        padding: 0 calc(3% + 10px);
    }

    .logo-container {
        padding: 4px 0;
    }

    .logo-text {
        font-size: 15px;
    }

    .nav-menu li {
        margin: 0 8px;
    }

    .nav-menu a {
        font-size: 12px;
        white-space: nowrap;
    }

    .contact-btn {
        padding: 7px 14px;
        font-size: 11px;
        margin-left: 12px;
        white-space: nowrap;
    }

    .nav-container {
        margin-right: 0;
    }
}

@media (max-width: 1024px) {
    .main-header {
        padding: 0 calc(2% + 8px);
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .nav-menu li {
        margin: 0 5px;
    }

    .nav-menu a {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .contact-btn {
        padding: 6px 12px;
        font-size: 10px;
        margin-left: 10px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .contact-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 0 calc(2% + 12px);
        height: 70px;
        top: 30px;
    }

    .logo-container {
        padding: 3px 0;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 0.3px;
        font-weight: 700;
        font-family: 'Montserrat', 'Roboto', sans-serif;
    }

    .logo-tagline {
        font-size: 11px;
        letter-spacing: 0.2px;
        font-family: 'Montserrat', 'Roboto', sans-serif;
    }

    .logo-image {
        width: 42px;
        height: 42px;
        margin-right: 10px;
    }

    .announcement-banner {
        font-size: 11px;
        padding: 0;
        height: 30px;
    }

    .mobile-menu-logo {
        margin-top: 55px;
    }

    .mobile-menu-links li a {
        font-size: 17px;
        padding: 13px 0;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
        display: flex;
    }

    .menu-toggle-bar {
        width: 20px;
    }
}

@media (max-width: 375px) {
    .main-header {
        height: 60px;
        padding: 0 calc(2% + 8px);
    }

    .logo-text {
        font-size: 12px;
        letter-spacing: 0.2px;
        font-weight: 700;
        line-height: 1.5;
    }

    .logo-tagline {
        font-size: 9px;
        letter-spacing: 0.1px;
        margin-top: 2px;
    }

    .logo-image {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }

    .announcement-banner {
        font-size: 10px;
        padding: 0;
        height: 30px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
        display: flex;
    }

    .menu-toggle-bar {
        width: 18px;
    }
}

/* Thêm media query cho màn hình siêu nhỏ */
@media (max-width: 320px) {
    .main-header {
        height: 55px;
        padding: 0 calc(2% + 5px);
    }

    .logo-text {
        font-size: 10px;
        letter-spacing: 0.1px;
    }

    .logo-tagline {
        font-size: 8px;
        margin-top: 1px;
    }

    .logo-image {
        width: 32px;
        height: 32px;
        margin-right: 6px;
    }

    .announcement-banner {
        font-size: 9px;
        height: 25px;
    }

    .menu-toggle {
        width: 28px;
        height: 28px;
    }

    .menu-toggle-bar {
        width: 16px;
    }
}

/* Animation for Mobile Menu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu.active li {
    animation: slideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

.mobile-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu.active li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-menu.active li:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-menu.active li:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-menu.active li:nth-child(5) {
    animation-delay: 0.5s;
}

/* This style is now handled by the .mobile-contact-btn.visible class */