
/*  */
/* Nút Zalo */
        /* Hiệu ứng sóng hover cho từng nút */
        /* Nút Facebook (Màu vàng) */
        @keyframes hoverWaveFacebook {
            0% {
                box-shadow: 0 8px 10px rgba(52, 183, 241, 0.3), 0 0 0 0 rgba(52, 183, 241, 0.2);
            }

            40% {
                box-shadow: 0 8px 10px rgba(52, 183, 241, 0.3), 0 0 0 15px rgba(52, 183, 241, 0.2);
            }

            80% {
                box-shadow: 0 8px 10px rgba(52, 183, 241, 0.3), 0 0 0 30px rgba(52, 183, 241, 0), 0 0 0 26.7px rgba(52, 183, 241, 0.067);
            }

            100% {
                box-shadow: 0 8px 10px rgba(52, 183, 241, 0.3), 0 0 0 30px rgba(52, 183, 241, 0), 0 0 0 40px rgba(52, 183, 241, 0.0);
            }
}

        /* Nút Zalo (Màu xanh dương) */
        @keyframes hoverWaveZalo {
        
            0% {
        box-shadow: 0 8px 10px rgba(6, 102, 252, 0.3), 0 0 0 0 rgba(6, 102, 252, 0.2);
    }

    40% {
        box-shadow: 0 8px 10px rgba(6, 102, 252, 0.3), 0 0 0 15px rgba(6, 102, 252, 0.2);
    }

    80% {
        box-shadow: 0 8px 10px rgba(6, 102, 252, 0.3), 0 0 0 30px rgba(6, 102, 252, 0), 0 0 0 26.7px rgba(6, 102, 252, 0.067);
    }

    100% {
        box-shadow: 0 8px 10px rgba(6, 102, 252, 0.3), 0 0 0 30px rgba(6, 102, 252, 0), 0 0 0 40px rgba(6, 102, 252, 0.0);
    }

        }

        /* Nút Call (Màu đỏ) */
        @keyframes hoverWaveCall {
            0% {
                box-shadow: 0 8px 10px rgba(28, 227, 17, 0.3), 0 0 0 0 rgba(31, 211, 58, 0.2);
            }

            40% {
                box-shadow: 0 8px 10px rgba(4, 239, 74, 0.3), 0 0 0 15px rgba(18, 222, 18, 0.2);
            }

            80% {
                box-shadow: 0 8px 10px rgba(4, 189, 10, 0.3), 0 0 0 30px rgba(10, 197, 19, 0), 0 0 0 26.7px rgba(6, 207, 16, 0.067);
            }

            100% {
                box-shadow: 0 8px 10px rgba(7, 239, 77, 0.3), 0 0 0 30px rgba(1, 173, 61, 0), 0 0 0 40px rgba(7, 172, 40, 0);
            }
        }
        
@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

        /* Nút bấm cơ bản */
        .btn-call {
            border-radius: 50%;
            box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3);
            cursor: pointer;
            height: 60px;
            width: 60px;
            text-align: center;
            position: fixed;
            right: 10px;
            z-index: 999;
            transition: .3s;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            font-size: 23px;
        }

        /* Tạo khoảng cách giữa các nút */
        .btn-call:nth-child(1) {
            bottom: 50px;
        }

        .btn-call:nth-child(2) {
            bottom: 140px;
        }

        .btn-call:nth-child(3) {
            bottom: 230px;
        }

        /* Biểu tượng bên trong nút */
        .btn-call__ico {
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 30px;
            padding-top: 5px;
            transition: .3s all;
            animation: shake 1200ms ease 0s normal infinite; /* Hiệu ứng lắc cho biểu tượng */
        }

        /* Hiệu ứng khi hover vào nút */
        .btn-call {
            background-color: #fff;
            
        }

        /* Hiệu ứng khi hover vào biểu tượng */
        .btn-call:hover .btn-call__ico {
            color: #00f525;
            animation: none; /* Tắt hiệu ứng lắc khi hover để sóng được rõ ràng */
        }
    

        /* Thêm màu cho các nút khác nhau */
        .btn-facebook {
        	animation: hoverWaveFacebook 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng mặc định */
            background-color: #0666fc /* Màu vàng cho nút Facebook */
        }

        .btn-facebook:hover {
            background-color: #fff;
            animation: hoverWaveFacebook 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng cho nút Facebook */
        }

        .btn-zalo {
        	animation: hoverWaveZalo 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng cho nút Zalo */
            background-color: #1706f1; /* Màu xanh dương cho nút Zalo */
        }

        .btn-zalo:hover {
        	color: #0069f5; 
            background-color: #fff;
            animation: hoverWaveZalo 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng cho nút Zalo */
            
        }

        .btn-call-red {
        	animation: hoverWaveCall 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng cho nút Zalo */
            background-color: #0aef1d; /* Màu đỏ cho nút Call */
        }

        .btn-call-red:hover {
            background-color: #fff;
            animation: hoverWaveCall 1s ease-in-out infinite; /* Áp dụng hiệu ứng sóng cho nút Call */
        }

        /* Thêm chữ "ZALO" cho nút Zalo */
        .btn-zalo .zalo-text {
            font-family: 'Noto Sans', sans-serif; /* Áp dụng font Noto Sans */
            color: white; /* Màu chữ */
            font-size: 14px; /* Kích thước chữ */
            font-weight: 900; /* Chữ đậm */
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 3px rgba(0, 0, 0, 0.3); /* Tạo bóng chữ mềm mại */

            
        }
        
        /* Thay đổi màu chữ Zalo khi hover vào nút */
        .btn-zalo:hover .zalo-text {
            color: #0069f5; /* Đổi màu chữ khi hover */
        }
      
        .btn-call__ico i {
            font-size: 25px; /* Tăng kích thước biểu tượng */
        }


/*  */

.menu-mobile {
    position: fixed;
    width: 300px;
    height: 100%;
    left: 0;
    background-color: rgb(255 255 255);
    box-shadow: 0px 2px 20px 0px rgb(0 0 0 / 24%);
    z-index: 1000;
    padding: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    animation: slideInMenu 0.5s ease forwards;
    /* Sử dụng hiệu ứng 'slideInMenu' trong 0.5s  forwards giữ lại kích thước của khối khi animation kết thúc    */
    transform: translateX(-100%);
    /* Dịch chuyển menu ra khỏi màn hình bên trái */
}

@keyframes slideInMenu {
    from {
        transform: translateX(-100%);
        /* Bắt đầu từ vị trí -100% (ngoài màn hình bên trái) */
    }

    to {
        transform: translateX(0);
        /* Kết thúc tại vị trí 0% (đầu trang) */
    }
}

.menu-mobile ul {
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0 10px;
}

.menu-mobile a {
    width: 100%;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
}

.menu-mobile .toggle_menu {
    position: absolute;
    top: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

nav.hide {
    display: none;
}

.toggle_menu {
    display: none;
}

.menu-mobile p {
    border-bottom: 1px solid black;
    color: black;
    font-weight: 600;
}

.menu-mobile a {
    border-bottom: 1px solid rgb(203, 202, 202);
    color: black;
}

.menu-mobile p {
    padding: 15px 0;
    margin: 0;
}


.boder-radius-boxservice {
    background-color: rgb(186, 249, 250);
    border: 0px solid;
    /* padding-right: 20px; */
    border-radius: 25px;
    margin-right: 15px;
    margin-top: 14px;
    /* width: 30.33333333%; */
}

.row {

    margin: 0px;
}

.container-fluid {
    margin-top: 20px;
}

/*  */

.menu {
    margin-right: 200px;
}


.menu {
    flex-grow: 1;
    /* Đẩy menu về giữa */
    display: flex;
    justify-content: center;
    /* Căn giữa menu */
    align-items: center;
}

.menu ul {
    display: flex;
    justify-content: center;
    /* Căn giữa các mục menu */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


.menu_sticky {
    position: fixed;
    top: -2px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Menu /* Styling for the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8ff;
}

.navbar-brand img {
    width: 220px;
}

.menu ul {
    display: flex;
    gap: 20px;
}

.menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    padding: 10px;
}

.menu ul li a.active {
    color: #28bdbf;
    /* Highlight active menu */
}

/* Mobile Menu Styling */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 100;
}

.mobile-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
}

.mobile-menu .close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Toggle Button for Mobile */
.toggle_menu {
    display: none;
}

/* Mobile-specific styles */
@media (max-width: 1425px) {
    .menu {
        display: none;
        /* Hide the main menu on mobile */
    }

    .toggle_menu {
        
        margin-right: 30px;

        display: block;
        cursor: pointer;
    }
    .navbar-header {
        margin:0;
    }
    /* Make menu visible when toggled */
    .mobile-menu-overlay {
        display: block;
    }
}
/*  */

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: 0 1px 5px rgba(83, 83, 83, 0.2);
    z-index: 1000;
    transform: translateX(-100%);
    /* Menu hidden initially */
    transition: transform 0.3s ease-in-out;
    /* Smooth slide-in transition */
}

.mobile-menu.opened {
    transform: translateX(0);
    /* Menu will slide in */
}

.mobile-menu ul {
    padding: 0;
    list-style-type: none;
}

.mobile-menu ul li {
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.mobile-menu ul li a {
    color: #173966;
    font-size: 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #10bd3b;
}

/* Close button */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.close-menu i {
    color: #173966;
}

/* Custom overlay (background dim when menu opens) */
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}/* Menu chính (menu desktop) */
.main-menu {
    display: block;
}

/* Menu mobile */
.mobile-menu {
    display: none;
}

/* Khi màn hình dưới 1520px, ẩn menu chính và hiển thị menu mobile */
@media screen and (max-width: 1519px) {
    .main-menu {
        display: none;
        /* Ẩn menu chính */
    }

    .mobile-menu {
        display: block;
        /* Hiển thị menu mobile */
    }
}

/* Thêm hiệu ứng khi menu mobile mở */
.mobile-menu.opened {
    transform: translateX(0);
    /* Menu sẽ trượt vào */
}

/* Custom overlay (background dim when menu opens) */
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.custom-overlay.show {
    visibility: visible;
    opacity: 1;
}
