
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    font-size: 15px;
}

.navbar {
    /* background-color:#ffffff; */
    border-bottom: 1px solid rgb(255, 255, 255);
}

.navbar {

    position: absolute;
    top: 0px;
    z-index: 200;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.tieude1{
    position: absolute;
    z-index: 200;
    top:40%;
   
}
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff; /* Màu nền khi cuộn */
    z-index: 1000;
    width: 100%;
}

.navbar a {
    color: black !important;
    font-weight: bold;
}


.hero {
    background: url('img/banner.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    overflow: hidden; /* Đảm bảo không bị hiện sẵn chữ */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     /* box-shadow: inset 0px 0px 50px rgba(79, 126, 212, 0.6);  */
}

.hero-content {
    position: relative;
}

/* Hiệu ứng chữ chạy từ bên trái */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideLeft 1.5s forwards;
}

/* Hiệu ứng chữ chạy từ bên phải */
.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    animation: slideRight 1.5s forwards;
}

/* Định nghĩa animation */
@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.section {
    padding: 50px 0;
}

.highlight {
    color: rgb(20, 20, 20);
    font-weight: bold;
}

.footer {
    border-top: 2px solid black;
    background: #ffffff;
    color: black;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.product img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.product img:hover {
    transform: scale(1.1);
}

.large-img {
    height: 400px;
    /* Điều chỉnh chiều cao của ảnh lớn */
    object-fit: cover;
}

/* Thêm shadow cho div */
.carousel-item .row {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

/* Thêm shadow cho hình ảnh */
.carousel-item img {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Tùy chỉnh nút điều hướng */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(100%);
}

.service-slide {
    color: #f8f6f6;
background:rgb(58, 144, 241);
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
text-align: center;
font-weight: bold;
font-size: 16px;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
position: relative;
}

.title {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* background-color: rgba(79, 151, 233, 0.9); */
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.title p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

h4:hover ~ .title p {
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(79, 151, 233, 0.9); 
}

.count{
    padding: 10px;
    border-radius: 10%;
}

/* Hiệu ứng khi di chuột qua */
.service-slide:hover {
transform: translateY(-10px);
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.25);
}

.contact-section {
background: #f8f9fa;
padding: 40px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.contact-form input,
.contact-form textarea {
border-radius: 5px;
border: 1px solid #ced4da;
padding: 10px;
width: 100%;
}

.contact-form button {
background: #007bff;
color: #fff;
padding: 10px;
width: 100%;
border: none;
border-radius: 5px;
transition: 0.3s;
}

.contact-form button:hover {
background: #0056b3;
}

.text-center2 {
text-align: justify; /* Căn đều hai bên */
max-width: 800px; /* Giới hạn chiều rộng */
margin: 0 auto; /* Giúp căn giữa */
line-height: 1.6;
}

#partnerCarousel img {
width: 80px; /* Điều chỉnh chiều rộng */
height: 80px; /* Điều chỉnh chiều cao */
object-fit: contain; /* Giữ nguyên tỷ lệ */
margin: 0 10px; /* Tạo khoảng cách giữa các ảnh */
}
@media (max-width: 768px) {
.service-slide {
    margin-bottom: 15px; /* Thêm khoảng cách giữa các div khi ở mobile */
}
.mrt{
    margin-top: 15px; /* Thêm khoảng cách giữa các div khi ở mobile */
}
}

.contact-section {
    background: #f8f9fa; /* Màu nền nhẹ để dễ nhìn */
    padding: 20px;
    border-radius: 8px;
    height: 100%; /* Đảm bảo cả hai div có chiều cao bằng nhau */
    display: flex;
    flex-direction: column;
}

.service-slide h4 {
    font-size: 16px; /* Thu nhỏ chữ */
    font-weight: 600;
    margin-top: 10px;
}

.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 100px; /* Điều chỉnh vị trí theo ý muốn */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Khoảng cách giữa các icon */
    z-index: 999;
}

.floating-icons .icon {
    width: 50px;
    height: 50px;
    background-color: #28a745; /* Màu nền */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.floating-icons .icon:hover {
    transform: scale(1.1);
    background-color: #218838; /* Màu khi hover */
}

/* Icon Số điện thoại */
.floating-icons .phone-icon {
    background-color: #28a745;
}

/* Icon Hỗ trợ */
.floating-icons .support-icon {
    background-color: #007bff;
}
.service-slide h4 {
    font-size: 16px; /* Thu nhỏ chữ */
    font-weight: 600;
    margin-top: 10px;
}

.service-text {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.service-item {
    font-size: 13px; /* Làm nhỏ chữ của h1 */
    font-weight: bold;
    color: #007bff; /* Màu xanh đẹp */
    margin-top: 5px;
}

#counter {
    font-size: 24px;
    font-weight: bold;
    color: #ff5733; /* Màu cam nổi bật */
    display: inline; /* Giữ h1 nhưng không làm vỡ dòng */
}

#counter2 {
    font-size: 24px;
    font-weight: bold;
    color: #ff5733; /* Màu cam nổi bật */
    display: inline; /* Giữ h1 nhưng không làm vỡ dòng */
}

#counter2,#counter4,#counter3,#counter5 {
    font-size: 24px;
    font-weight: bold;
    color: #ff5733; /* Màu cam nổi bật */
    display: inline; /* Giữ h1 nhưng không làm vỡ dòng */
}


.project-image {
    width: 100%; 
    height: 800px; /* Chiều cao mặc định cho desktop */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
}

/* Điều chỉnh chiều cao ảnh trên mobile */
@media (max-width: 768px) { 
    .project-image {
        height: 300px; /* Chiều cao cho mobile */
    }
}

.project-image:hover {
    transform: scale(1.05); /* Phóng to nhẹ khi hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

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

.footer-logo{
    height: 50px;
}