/* ========== CSS gốc của bạn ========== */
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

main.content {
    padding-top: 2rem;
}

.highlight-color {
    color: #fd8c40 !important;
}

.highlight-color-hover:hover {
    color: #fd8c40 !important;
}

.overflow-hidden {
    overflow: hidden;
}

/* Top bar */
.top-bar {
    background-color: #212121;
    color: #ffffff;
    font-size: 0.9rem;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Main navbar */
.main-nav {
    background-color: #ffffff;
}

.main-nav.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.navbar-brand {
    padding: 0px 1rem;
}
.navbar-brand img {
    max-height: 96px;
    z-index: 9;
    border-radius: 0.5rem;
}

.nav-link {
    color: #424242 !important;
    padding: 2.6rem 1rem 2.6rem 1rem !important;
    font-weight: bold;
    white-space: nowrap;
}

.nav-link:not(.dropdown-toggle):hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fd8c40 !important;
    border-bottom: 0.2rem solid #fd8c40;
    padding: 2.6rem 1rem 2.4rem 1rem !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fd8c40 !important;
    border-bottom: 0.2rem solid rgba(255, 255, 255, 0.1);
    padding: 2.6rem 1rem 2.4rem 1rem !important;
}

@media (min-width: 768px) and (max-width: 1110px) {
    .nav-link {
        padding: 2.6rem 0.4rem 2.6rem 0.4rem !important;
    }

    .nav-link:hover {
        padding: 2.6rem 0.4rem 2.4rem 0.4rem !important;
    }
}

.navbar {
    padding: 0;
    position: relative;
     {
         {
            /* background-image: url("/v6/home/css-dathangchinhngach/img/h2-1.webp");
    background-position: bottom left;
    background-repeat: no-repeat; */
        }
    }
}
.navbar::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 50%;
    position: absolute;
    right: 0;
    z-index: 1; */
        }
    }
}

.navbar .container {
     {
         {
            /* background-color: #fd8c40;
    z-index: 9; */
        }
    }
}

.navbar .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-top: 0.2rem solid #fd8c40;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu .dropdown-item {
    color: #333;
    font-weight: 500;
    padding: 8px 20px;
    display: flex;
    align-items: center;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #ffffff;
    color: #fd8c40;
}

/* Call-us */
.call-us {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 1.9rem 6rem 1.9rem 1rem !important;
}

.call-us::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 150%;
    position: absolute;
    right: -80%;
    transform: rotate(45deg); */
        }
    }
}

.call-us-icon {
    background-color: #ffffff1a;
    border-radius: 50%;
    padding: 0.8rem;
}

.call-us span,
.call-us a,
.call-us strong {
    white-space: nowrap;
}

.manager-form {
     {
         {
            /* color: #fff;
    background-color: #fd8c40; */
        }
    }
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 2.11rem 1rem 2.11rem 1rem !important;
}

.manager-form::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 150%;
    position: absolute;
    right: -149%; */
        }
    }
}

.manager-form a {
    color: #fff;
    text-decoration: none;
    background-color: #fd8c40;
    white-space: nowrap;
}

.manager-form a:hover {
    color: #fd8c40;
    background-color: #424242;
}

/* ========== Hero Section thêm mới ========== */
.hero-section {
    position: relative;
    min-height: 70vh;
    /* Điều chỉnh chiều cao */
    background-image: url("/v6/home/css-dathangchinhngach/img/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
    margin-top: -2rem;
}

.hero-content-move {
    display: block;
    width: 0%;
    max-width: 100vw;
    z-index: 2;
    white-space: nowrap; /* không cho xuống dòng */
    overflow: hidden; /* ẩn phần tràn */
    text-overflow: ellipsis; /* thay ... khi quá dài (tuỳ chọn) */
    animation: moveHero 2s ease-out forwards;
}

@keyframes moveHero {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes moveShip {
    from {
        left: -50vw;
    }
    to {
        left: 25vw;
    }
}

/* Responsive cho màn hình điện thoại */

/* Phần text ở giữa */
.hero-content {
    position: relative;
    z-index: 3;
    min-height: 80vh;
    padding-top: 10vh;
    padding-bottom: 20vh;
}

/* Căn giữa nội dung bằng flex */
.hero-content .inner {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    height: 100%;
    text-align: left;
    color: #fff;
}

.btn-orange {
    background-color: #fd8c40;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-orange:hover {
    background-color: #424242;
    color: #fd8c40;
}

/* Section chung */
.brand-logos {
    padding: 2rem 0;
    /* Khoảng cách trên dưới */
    background-color: #fff;
    background: #fd8c40
        url("/v6/home/css-dathangchinhngach/img/globus_image_small.jpg") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* Màu nền */
}

/* Chứa logo và căn giữa */
.brand-logos .brand-item {
    text-align: center;
    margin: 1rem;
}

/* Ảnh logo */
.brand-logos .brand-logo {
    max-width: 120px;
    /* Kích thước logo tối đa */
    filter: brightness(0) invert(1);
    /* Hiệu ứng xám */
    transition: filter 0.3s;
    height: 100%;
}

/* Hover logo -> trở lại màu gốc */
.brand-logos .brand-logo:hover {
    filter: brightness(0);
}

/* Section container */
.about-features .sub-title {
    display: inline-block;
    background-color: #fd8c40;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-radius: 0rem;
}

.bullet-list {
    background-color: #fff;
    border-left: 4px solid #fd8c40;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
}

.bullet-list li {
    margin-bottom: 0.5rem;
    color: #073a3c;
    /* xanh đậm */
    font-weight: 600;
}

.services-btn {
    background-color: #073a3c;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 0.35rem;
}

.services-btn .services-btn-icon {
    font-size: 0.9rem;
    border-radius: 0.3rem;
    background-color: #fff;
    padding: 0.4rem;
    color: #fd8c40;
}

.services-btn:hover {
    opacity: 0.8;
    background-color: #fd8c40;
}

.phone-help {
    font-size: 0.9rem;
    color: #073a3c;
    margin-left: 1.5rem;
}

/* Phần ảnh bên phải */
.services-image-wrapper {
    position: relative;
    margin-top: 0rem;
    overflow: hidden;
}

/* Ảnh chính */
.services-image {
    width: 75%;
    border-radius: 0.5rem;
    display: block;
    z-index: 2;
    position: relative;
}

/* Ảnh thứ hai, chồng lên */
.services-image-2 {
    position: absolute;
    bottom: 120px;
    /* tuỳ chỉnh để canh vị trí */
    right: 30px;
    width: 50%;
    /* ví dụ 50% so với ảnh chính */
    border-radius: 0.5rem;
    z-index: 4;
}

/* Khối màu cam (5 năm kinh nghiệm, 3 vạn đơn...) */
.orange-box {
    width: 75%;
    background-color: #fd8c40;
    color: #fff;
    padding: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 4rem;
    /* đẩy xuống cho lộ ảnh phía trên */
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: -2rem;
}

.orange-box::after {
    content: "";
    position: absolute;
    background-image: url(/v6/home/css-dathangchinhngach/img/h2-17.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -50% 0px;
    width: 100%;
    height: 100%;
    left: 100%;
    z-index: 1;
    animation: wavePosition 6s infinite ease-in-out;
}

/* Keyframes cho chuyển động */
@keyframes wavePosition {
    0% {
        background-position: -50% 0;
    }

    50% {
        background-position: 10% 0;
    }

    100% {
        background-position: -50% 0;
    }
}

.orange-box {
    background-color: #fd8c40;
    color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
}

.orange-box h3 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.orange-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* Section tổng */
.stats-section {
    position: relative;
    /* Ảnh nền */
    background: url("/v6/home/css-dathangchinhngach/img/section_back_1.jpg")
        center/cover no-repeat;
    /* Nếu muốn fallback màu khi ảnh lỗi: background-color: #fd8c40; */
    overflow: hidden;
    /* che phần overlay tràn */
}

/* Overlay màu #fd8c40, độ mờ 0.84 */
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background-color: rgba(255, 137, 59, 0.77);
    opacity: 0.84;
    z-index: 1;
    /* nằm trên ảnh nền, dưới nội dung */
}

/* Container bên trong: đặt position relative để nội dung nổi trên overlay */
.stats-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

/* Khối info-box */
.info-box {
    border: 1px dashed rgb(100, 58, 21);
    /* Màu viền teal nhạt */
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    /* nền hơi tối mờ */
    padding: 2rem 1rem;
    text-align: center;
    color: #424242;
}
.info-box h3 {
    font-size: 1.5rem;
    margin: 0.2rem 0;
    font-weight: 700;
    color: #424242;
}

.info-box p {
    margin: 0;
    color: #424242;
    /* xám nhạt */
}

.why-choose-us {
    padding: 3rem 0;
}

.why-choose-us .sub-title {
    display: inline-block;
    background-color: #fd8c40;
    /* Đổi sang #fd8c40 */
    color: #fff;
    border-radius: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-choose-us h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #073a3c;
    margin-bottom: 1rem;
}

.why-choose-us p {
    font-size: 1rem;
    color: #707070;
}

.explore-section {
    background: #fd8c40 
        url("/v6/home/css-dathangchinhngach/img/globus_image_small.jpg") center/cover no-repeat;
}
.explore-section h2 {
    font-size: 2rem;
}
.explore-section a:hover {
    opacity: 0.8;
}

/* Footer tổng */
.footer-section {
    background-color: #212121;
    /* Xanh đậm */
    color: #bdbdbd;
    position: relative;
    font-size: 0.9rem;
}

/* ========== HÀNG TRÊN ========== */
.footer-top {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .logo img {
    max-height: 96px;
    filter: brightness(0) invert(1);
    /* chỉnh kích thước logo */
}

.footer-top h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 0.3rem solid #fd8c40;
    line-height: 2.5;
    padding-left: 1rem;
}

.footer-top .subscribe-input {
    background-color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    max-width: 220px;
    margin-right: 0.5rem;
}

.footer-top .subscribe-btn {
    background-color: #fd8c40;
    /* Cam */
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.55rem 1rem;
    cursor: pointer;
}

.footer-top .subscribe-btn:hover {
    opacity: 0.8;
}

/* ========== HÀNG GIỮA ========== */
.footer-middle {
    padding: 2rem 0;
    position: relative;
}

/* Box cam bên trái */
.orange-box-footer {
    background-color: #424242;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.orange-box-footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.orange-box-footer p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.call-btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Danh sách kho & ứng dụng */
.footer-list h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-list li {
    list-style: none;
    margin-bottom: 0.4rem;
}

/* ========== HÀNG DƯỚI ========== */
.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #fd8c40;
    /* Cam */
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom .contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom .contact-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* fix old */
.section-title-img {
    display: none !important;
}

.arrow-right {
    margin-right: 0.5rem;
}
