.background-web { 
    background-image: url('/giai-phap/img/background-web.webp');
    background-repeat: repeat; /* Image will repeat */
}
.head-buff{
    display: block;
    text-align: center;
    margin: auto;
    width: 80%;
    padding-top: 50px;
}
.head-buff h1{
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}
.head-buff p{
    font-size: 16px;
    text-align: center;

}
.space {
    font-family: roboto, sans-serif;
    margin: 0;
    padding: 0;
    height: 45vh;
}

.space .content-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}

.space .image-section {
    box-sizing: border-box;
    width: 46%;
}

.space .image-section img {
    width: 100%;
    border-radius: 8px;
}
.space .text-section {
    width: 50%;
    box-sizing: border-box;
}

.space .text-section h2,
.step-work h2 {
    color: #0c2c6e;
    font-size: 30px;
    font-weight: 600;
}

.space .text-section h2{
    font-size: 24px;
}
.space .text-section h3 {
    color: #0c2c6e;
    font-size: 18px;
    margin-top: 20px;
}

.space .text-section ul {
    list-style: none;
    padding: 0;
    color: #333;
}

.space .text-section ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.fa-check {
    color: orange;
    font-size: 16px;
    font-weight: 1000;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .space .container {
        align-items: center;
    }

    .space .image-section
    {
        width: 100%;
        margin-bottom: 20px;
    }
    .space .text-section {
        width: 100%;
        margin-right: 15px;
    }

    .space.overlay-text {
        font-size: 18px;
    }

    .space .text-section h2 {
        font-size: 20px;
    }

    .space .text-section h3 {
        font-size: 18px;
    }

    .space .text-section ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .space .overlay-text {
        font-size: 16px;
    }

    .space .text-section h2 {
        font-size: 18px;
    }

    .space .text-section h3 {
        font-size: 16px;
    }

    .space .text-section ul li {
        font-size: 13px;
    }
}
/* cách để tăng 5 sao */
.feature-card {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top:15px;
    height: 305px;
}
.feature-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    font-size: 30px;
    color: #007bff;
}
.feature-title {
    font-weight: bold;
    margin-top: 10px;
    font-size: 20px;
}
.feature-description {
    font-size: 15px;
    margin-top: 10px;
}

/* liên  hệ */
.contact{
    text-align: center;
    font-size: 20px;
    
}
.contact a{
    display: inline-block;
    border: solid 1px;
    padding: 7px;
    color: #fff;
    background-color: #e55b3a;
    text-decoration: none;
    transition: transform 0.3s;
}
.contact a:hover{
    background-color: #416aa0;
    transform: scale(1.1);
}
.contact span{
    font-weight: 600;
}
.contact a {
    background-color: #faa61a;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid #faa61a; /* Adding border for better visibility */
    color: black;
    font-weight: 600;
    animation: zoomInOut 2s infinite; /* Applying the animation */
    z-index: 1;
}

.contact a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #faa61a;
    z-index: -1;
    transition: transform 0.4s ease;
    transform: translateX(-100%);
    animation: slideIn 4s infinite; /* Sliding effect for the background */
}

.contact a:hover::before {
    transform: translateX(0);
    background-color: #faa61a;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(1.1); /* Zoomed size */
    }
}
/* quy trình làm việc tại height */
.main-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Div Block Styles (left side) */
.content-sections {
    display: flex;
    flex-direction: column;
    width: 50%; /* Left side takes 50% of container width */
}
.content-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; /* Space between rows */
}
.content-block {
    flex: 0 1 calc(50% - 10px); /* Each block takes up 50% of row width */
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0 10px;
    cursor: pointer;
}

/* Slider Styles (right side) */
.image-slider {
    position: relative;
    width: 50%; /* Slider takes up 50% width */
}
.slider-images {
    display: none;
    width: 100%;
    border-radius: 8px;
    height: 83%;
}
.active-slide {
    display: block;
}

/* Buttons for navigation */
.slider-prev, .slider-next {
    cursor: pointer;
    position: absolute;
    top: 37%;
    width: auto;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}
.slider-next {
    right: 0;
}
.slider-prev {
    left: 0;
}
.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .main-container {
        flex-direction: column; /* Stack the content vertically on mobile */
    }

    .content-sections, .image-slider {
        width: 100%; /* Each section takes full width on mobile */
    }

    .content-row {
        flex-direction: column; /* Stack the blocks vertically */
        margin-bottom: 10px;
        margin: 5px 40px;
    }

    .content-block {
        width: 100%;
        margin: 10px 0;
    }

    .slider-prev, .slider-next {
        font-size: 14px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .slider-prev, .slider-next {
        font-size: 12px;
        padding: 8px;
    }

    .content-block {
        padding: 15px;
    }
}
