/********** Template CSS **********/
:root {
    --primary: #FF3E41;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 20px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}
.logo {
    height: 70px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Các quy tắc khác */
body {
    font-family: Arial, sans-serif;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
/* Thêm vào phần CSS tùy chỉnh của bạn */
.feature-item {
  text-align: center; /* Căn giữa nội dung */
}
.feature-item i {
    margin-bottom: 1rem;
}
/* Thêm vào phần CSS tùy chỉnh của bạn */

.about-feature {
    text-align: center; /* Căn giữa nội dung */
}

/* Style cho icon dấu tích */
.checkmark-icon {
    color: var(--primary); /* Màu đỏ, theo biến đã định nghĩa */
    margin-bottom: 1rem;
}
/* Style cho hình ảnh */
.about-image{
    max-width: 70%;
    max-height: 450px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}
/* Đã có trong các bước trước */
.about-feature {
    text-align: center;
}

.checkmark-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}
.about-image {
    max-width: 70%;  /* Hình ảnh chiếm tối đa 90% chiều rộng của cột */
    max-height: 450px; /* Giới hạn chiều cao tối đa */
    object-fit: cover; /* Đảm bảo hình ảnh không bị méo */
    margin: 0 auto;
    display: block;
}
/* Thêm vào phần CSS tùy chỉnh của bạn */

.feature-item {
    text-align: center; /* Căn giữa nội dung */
}

.checkmark-icon {
    color: var(--primary); /* Màu đỏ, theo biến đã định nghĩa */
    margin-bottom: 1rem; /* Khoảng cách với text */
}

.feature-image {
    max-width: 80%;  /* Điều chỉnh kích thước hình ảnh */
    max-height: 400px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}
/* Trong file style.css hoặc <style> */
.checkmark-icon {
    color: var(--primary);  /* Màu đỏ */
    margin-right: 0.5em; /* Khoảng cách với chữ */
}
/* Đảm bảo đã có class này trong file CSS của bạn */
.checkmark-icon {
    color: var(--primary);
    margin-right: 0.5em;
}
.highlight{
    color: var(--primary);
    font-weight: bold;
}
/* Nếu bạn muốn tùy chỉnh thêm */
#quoteForm .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 62, 65, 0.25); /* Màu primary của bạn */
}
#form-message {
    display: none; /* Ẩn thông báo ban đầu */
    font-weight: bold;
    text-align: center;
}
.form-message-success{
    color: green;
}
.form-message-error{
    color: red;
}
.highlight {
            color: var(--primary);
            font-weight: bold;
        }
/* Trong file style.css hoặc <style> */
.highlight {
    color: var(--primary); /* Màu đỏ, đã định nghĩa trong :root */
    font-weight: bold;
}
 /* Testimonial */
        .testimonial-item {
            border: none;  /*Xóa viền*/
            padding: 1.5rem;
            margin-bottom: 1rem;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            border-radius: 4px;
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Thêm transition */
        }
        /* Hiệu ứng khi hover */
        .testimonial-item:hover {
            transform: translateY(-5px); /* Nâng lên một chút */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Bóng đổ đậm hơn */
        }
        .testimonial-item p {
            font-style: italic;
            color: var(--dark);
             margin-bottom: 0;
        }
/* Trong file style.css hoặc trong thẻ <style> */

.logo {
    max-height: 50px; /* Điều chỉnh kích thước logo */
    margin-right: 10px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark); /* Màu chữ */
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 600;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary); /* Màu khi hover hoặc active */
}
/* Ẩn/hiện dropdown trên desktop */
@media (min-width: 992px) {
     .navbar .nav-item .dropdown-menu {
        display: none; /* Ẩn mặc định */
        border: none;
        margin-top: 0;
        top: 100%; /* Hiện ngay dưới nav-item */
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
    .navbar .nav-item:hover .dropdown-menu{
        display: block; /* Hiện khi hover */
        visibility: visible;
        opacity: 1;
        top: 100%;
    }
}


@media (max-width: 991.98px) {
            .navbar-light .navbar-nav .nav-link {
                margin-right: 0;
                padding: 10px 0;
            }
            .navbar-light .navbar-nav {
                border-top: 1px solid #EEEEEE;
            }
        }
        .navbar-light.sticky-top {
            top: -100px;
            transition: .5s;
        }

        .dropdown-item {
           display: block;
        }
.dropdown-submenu {
    position: relative;
}

.submenu-inline {
    position: absolute; /* Đặt submenu ở vị trí tuyệt đối */
    top: 0; /* Canh chỉnh lên trên cùng */
    left: 100%; /* Đặt submenu bên phải mục cha */
    margin-top: 0; /* Loại bỏ margin trên */
    display: none; /* Ẩn submenu mặc định */
    background-color: white; /* Màu nền trắng */
    border: 1px solid #ccc; /* Thêm border để phân biệt */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Tạo hiệu ứng đổ bóng */
    z-index: 1000; /* Đảm bảo submenu nằm trên các phần tử khác */
}

/* Bỏ mũi tên mặc định của dropdown */
.dropdown-toggle::after {
    display: none;
}

/* Chỉ định vị trí và kiểu dáng cho biểu tượng bàn tay trong "GỬI HÀNG ĐI MỸ" */
#toggle-us-submenu .fas.fa-hand-point-right {
    float: right; /* Đẩy biểu tượng sang phải */
    color: red; /* Đặt màu đỏ cho biểu tượng */
}

/* Loại bỏ biểu tượng mũi tên submenu (nếu có) */
.dropdown-submenu > a::after {
    display: none;
}

/* Loại bỏ biểu tượng mũi tên ở các submenu khác */
.dropdown-submenu > a:after {
    display: none;
}

/* Khi hover vào, không xoay biểu tượng */
.dropdown-submenu:hover>a:after {
    transform: none;
}

/* Thay đổi màu icon thành đỏ */
.red-icon {
    color: red;
}
/* -- Biến màu sắc và kích thước để dễ tùy chỉnh -- */
:root {
    --widget-primary-color: #e63946; /* Màu đỏ của nút chính */
    --widget-icon-size: 45px;       /* Kích thước icon nhỏ */
    --widget-button-size: 65px;     /* Kích thước nút chính */
    --widget-spacing: 10px;         /* Khoảng cách */
}

.contact-widget {
    position: fixed; /* Giữ cố định trên màn hình */
    bottom: 30px;    /* Cách đáy */
    right: 30px;     /* Cách phải */
    display: flex;
    align-items: center; /* Căn các item theo chiều dọc */
    z-index: 1000;   /* Đảm bảo nổi lên trên các phần tử khác */
}

.contact-button {
    width: var(--widget-button-size);
    height: var(--widget-button-size);
    background-color: var(--widget-primary-color);
    color: white;
    font-size: 14px; /* Điều chỉnh nếu cần */
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2; /* Cho chữ 2 dòng */
    padding: 5px;
    transition: background-color 0.3s ease;
    order: 2; /* Đặt nút chính sau container icon trong flex layout */
    margin-left: var(--widget-spacing); /* Khoảng cách với container icon */
}

.contact-button:hover {
    background-color: #d0303c; /* Màu đỏ đậm hơn khi hover */
}

.icon-container {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 8px 10px;
    border-radius: 30px; /* Bo tròn container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    order: 1; /* Đặt container icon trước nút chính */

    /* --- Trạng thái ẩn ban đầu --- */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateX(20px); /* Hiệu ứng thu nhỏ và dịch chuyển */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* --- Trạng thái hiện khi widget active --- */
.contact-widget.active .icon-container {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateX(0);
}

.contact-icon {
    display: block;
    width: var(--widget-icon-size);
    height: var(--widget-icon-size);
    border-radius: 50%;
    background-color: #f1f1f1; /* Màu nền tạm thời */
    background-size: 60%; /* Kích thước icon bên trong */
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 5px; /* Khoảng cách giữa các icon */
    transition: transform 0.2s ease;
}

.contact-icon:hover {
    transform: scale(1.1); /* Phóng to nhẹ khi hover */
}

/* --- ĐỊNH NGHĨA ICON (Quan trọng!) --- */
/* Thay 'URL_TO_YOUR_ICON' bằng đường dẫn đến file ảnh icon của bạn */

.icon-hotline {
    /* Ví dụ dùng màu nền, bạn nên thay bằng ảnh */
    /* background-color: #ff9800; */
    background-image: url('URL_TO_YOUR_HOTLINE_ICON.png'); /* Hoặc .svg, .jpg */
}

.icon-map {
    /* background-color: #4CAF50; */
     background-image: url('URL_TO_YOUR_MAP_ICON.png');
}

.icon-messenger {
    /* background-color: #0084ff; */
     background-image: url('URL_TO_YOUR_MESSENGER_ICON.png');
}

.icon-zalo {
     /* background-color: #0068ff; */
     background-image: url('URL_TO_YOUR_ZALO_ICON.png');
     background-size: contain; /* Zalo logo có thể cần contain */
}
