/* ======================================
            Body & AboutHeade  CSS  
=========================================*/
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    /* Page background color */
}

.aboutHeade {
    text-align: center;
    background-image: url(../images/aboutUs/header.jpeg);
    background-size: cover;
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #007bff;
    margin-top: 80px;
}

/* .aboutContaner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 0px;
} */

@media (max-width: 768px) {
    .aboutContaner-text p {
        text-indent: 50px;
    }
}

.about-section {
    background-color: #2555a0;
    margin-bottom: 1px;
    color: white;
    font-size: 18px;

}

@media (max-width: 576px) {
    section.aboutContaner-text {
        height: 500px;
        overflow-y: auto;
        padding-right: 10px;
    }

    section.aboutContaner-text::-webkit-scrollbar {
        width: 4px;
        background-color: #BDBDBD;
    }

    section.aboutContaner-text::-webkit-scrollbar-thumb {
        background-color: #ff7b00;
    }
}




/* p{
    text-align: justify;
} */
/* Additional styling for responsiveness using Bootstrap classes */
@media (max-width: 768px) {
    .col-md-6 {
        flex-basis: 100%;
    }
}

/* Style for the container of the image slider */
.image-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-inner img {
    max-width: 100%;
    height: auto;
}

.benefits_row {
    display: flex;
    justify-content: space-around;
}

ul.list-unstyled li {
    display: flex;
}

ul.list-unstyled li i {
    color: rgb(56, 193, 21);
    margin-top: 6px;
    margin-right: 10px;
}

/* ======================================
            UNDER LINE CSS  
=========================================*/

.underline-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.underline {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background-color: orange;
    animation: slide 3s infinite;
}

@keyframes slide {

    0%,
    100% {
        width: 0;
    }

    25%,
    75% {
        width: 100%;
    }
}

/* ======================================
           Benefits &  Our Approach  
=========================================*/

.column {
    flex-basis: 48%;
    /* padding: 10px; */
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.column ul {
    list-style: none;
    padding: 0;
}

.column li {
    font-size: 10px;
    margin-bottom: 15px;
}

/* ======================================
          SERVICE BOX
=========================================*/

.box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Set to 100% for smaller screens */
    max-width: 300px;
    /* Set a maximum width for larger screens */
    height: 200px;
    background-color: #015b96;
    color: #fff;
    font-size: 36px;
    border-radius: 8px;
    margin: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Add hover animation here */
.box:hover {
    background-color: #5dcde9;
    transform: scale(1.1);
}

/* Additional styles for alignment */
.box h3 {
    margin: 10px 0;
    text-align: center;
}


/* =========== NOT =================== */


.image-slider-container {
    max-width: 1300px;
    ;
    margin: 0 auto;
    overflow: hidden;
}

.slideBox-container {
    display: flex;
    width: 1200px;
    /* Set the container width to 100% */
    transition: transform 1s ease;
    /* Increased transition duration for smoother animation */
    overflow: hidden;
    /* Hide overflowing slideBoxes */
}

.slideBox {
    flex: 0 0 385px;
    max-width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    font-size: 18px;
    /* Decreased font size for the box content */
    color: #555;
    border-radius: 10px;
    margin-right: 20px;
    animation: colorChange 2s infinite alternate;
}

.slideBox i {
    font-size: 36px;
    /* Increased font size for the icons */
    margin-bottom: 8px;
    /* Increased margin between icon and text */
}

@keyframes colorChange {
    0% {
        background-color: #02749a;
        /* Orange */
        color: #fff;
    }

    50% {
        background-color: #4A90E2;
        /* Blue */
        color: #fff;
    }

    100% {
        background-color: #095fa1;
        /* Green */
        color: #fff;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 776px) {
    .slideBox {
        flex: 0 0 150px;
        height: 180px;
        font-size: 16px;
        /* Decreased font size for smaller screens */
        margin-right: 15px;
    }

    .slideBox i {
        font-size: 39px;
        /* Decreased icon size for smaller screens */
        margin-bottom: 5px;
        /* Decreased margin between icon and text */
    }
    .about_wrapper i {
        display:none ;
    }
    .about_wrapper i:first-child {
        display:none ;
    }

}

/* ======================================
          Advantages
=========================================*/

.advantages_List {
    font-size: 16px;
    margin-top: 1px;
    text-align: justify;
    padding: 0px;
}

.advantages_List li {
    padding: 10px;
}

.advantages_List li i {
    color: rgb(56, 193, 21);
}

@media screen and (max-width: 776px) {
    .advantages_List {
        padding: 5px;
    }
}




.slide-item {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 300px;
    background-color: #2a4493;
    padding: 10px;
    margin: 0px 10px;
    border-radius: 10px;
    vertical-align: top;
}

.slide-item i {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
}

.slide-item p {
    font-weight: 600;
    font-family: "Roboto";
    font-size: 20px;
    color: #fff;
    text-transform: capitalize;
    text-wrap: wrap;
    text-align: center;
    margin-bottom: 0;

}

/* =====================================
            sliders
========================================*/

.about_body{
    display: flex;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    min-height: 35vh;
    border-radius: 10px;
    background: linear-gradient(to left top, #031A9A, #8B53FF);
    margin-left: 65px;
    margin-right: 65px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.about_wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.about_wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.about_wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.about_wrapper i:first-child {
    left: -70px;
}

.about_wrapper i:last-child {
    right: -70px;
}
@media screen and (max-width:766px) {
   
}

.about_wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    border-radius: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 142px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.carousel .card .img {
    color: #8B53FF;
    height: 78px;
    width: 78px;
    border-radius: 50%;
}

.card .img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 5px;
    text-align: center;
}


@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
    .about_wrapper i:first-child {
        display: block;
    }
    
    .about_wrapper i:last-child {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }

    .about_wrapper i:first-child {
        display: block;
    }
    
    .about_wrapper i:last-child {
        display: block;
    }
}