
.container1 {
    width: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
}

.header .sub-title {
    font-size: 50px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

.counters {
    width: 100%;
    display: grid;
    /* Use CSS Grid for layout */
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on larger screens */
    gap: 15px;
}

.counter {
    background-color: #fff;
    color: #000;
    padding: 20px 15px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.counter:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

.counter .number {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fd7e14;
}

.counter .detail {
    font-size: 16px;
    color: #000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .counters {
        grid-template-columns: repeat(4, 1fr);
        /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .counters {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .counters {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0%;
        /* 2 columns on small devices */
    }
    .counter h4{
        display: block;
        font-size: 15px;
    }


    .header .sub-title {
        font-size: 35px;
        /* Adjust title size for small devices */
    }
}













.bg {
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(1,1,14,1) 35%, rgba(0,100,100,1) 100%);margin-top: -60px; */
    background-image: url("../images/gradient12.jpg");
    margin-top: -60px;
}

.txt {
    color: white;

}




.service-item {


    margin: 10px;
    border: 1px solid gray;
    box-shadow: 3px gray;
    margin-bottom: 80px;
}

.service-item img {
    width: 100%;
    height: 500px;

}

.service-item:hover {
    background-color: black;
    color: white;
    /* scale: 1.1; */

}

.service-item h5 {
    color: white;
}

.service-item p {
    color: white;
}

.service-item :hover::after h5 {
    color: black;
}

.head {
    font-size: 45px;
    color: white;
    font-weight: 800;
}


.client-logos-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client-logos {
    display: flex;
    gap: 15px;
    animation: scroll 20s linear infinite;
}

.client-logo {
    width: 200px;
    height: auto;
    flex: 0 0 auto;
    /* Ensures logos stay a fixed size */
    transition: transform 0.3s ease;
    margin-left: 20px;
    border-radius: 10%;
}

.item {
    animation: scroll 5s linear infinite;
    animation-play-state: running;

}



.client-logo:hover {
    transform: scale(1.1);
}



/* Keyframes for the scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Adjustments for larger screens */
@media (min-width: 768px) {
    .client-logo {
        width: 180px;
    }

    .client-logos {
        animation-duration: 30s;
        /* Slow down scrolling on larger screens */
    }
}

@media (min-width: 300px) and (max-width:700px){
    .client-logo {
        width: 110px;
    }

    .client-logos {
        animation-duration: 5s;
        /* Slow down scrolling on larger screens */
    }

    
.all:hover .item {
    animation-play-state: paused;
    /* Pause animation for all items when the parent is hovered */
}


/* services */

.ct{
    text-align: left !important;
}
.cd{
    text-align: center !important;
}

.ic{
    font-size: 30px !important;
}


    
}


.all:hover .item {
    animation-play-state: paused;
    /* Pause animation for all items when the parent is hovered */
}




@media (min-width: 1024px) and (max-width: 1366px) {
    .client-logo {
        width: 225px;
    }

    .client-logos {
        animation-duration: 30s;
        /* Slow down scrolling on larger screens */
    }
        .dropdown-item {
        font-size: 13px !important;
        
        
    }
}


.button a {
    padding: 10px;
}

.tx {
    color: black;

}

@media (min-width: 300px) and (max-width: 1000px) {
    .dest {
        text-align: start;
        margin-left: -230px !important;

    }

    .lid {
        margin-top: -120px !important;
    }

    .bt {
        margin-top: -80px;
    }
}


@media (min-width: 1024px) and (max-width: 1366px) {
    .hv {
        margin-left: -30px;
    }

    .hd {
        margin-left: -30px;
    }

    .ma {
        margin-left: 17px;
    }
}




/* navbar */

/* Show dropdown on hover */
/* Show submenu on hover */
.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Position the Asia submenu correctly */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    /* Position it to the right of the parent */
    margin-top: -1px;
    display: none;
    /* Hide submenu by default */
}

/* Add hover style for better user experience */
.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #000;
}