.team-slider-container,
.team-slider-container-mob {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 2rem auto;
}



.team-slider-track,
.team-slider-track-mob {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.team-slide,
.team-slide-mob {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    justify-content: space-around;
    gap: 20px;
    padding: 0 15px;
}

.team-member {
    position: relative;
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    overflow: hidden;
}

.team-member img {
    width: 100%;
    height: 20rem;
    display: block;
}

.team button {
    margin-top: 7rem;
    color: #006694;
    font-size: 4rem !important;
    box-shadow: none;
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.8s ease;
    transform: translateY(100%);
}

.team-member:hover .member-info {
    opacity: 1;
    transform: translateY(0);
}

.slider-arrow .slider-arrow-mob {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery button {
    color: #006694;
    font-size: 4rem !important;
    box-shadow: none;
    background: none;
    margin-top: 15rem;
}

.team-slider-container,
.team-slider-container-mob button {
    color: #006694;
    font-size: 4rem !important;
    box-shadow: none;
}

.gal-left-arrow,
.about-left-arrow,
.left-arrow-mob {
    position: absolute;
    left: 0rem !important;
}

.gal-right-arrow,
.about-right-arrow,
.right-arrow-mob {
    position: absolute;
    right: 0rem !important;
}

.left-arrow-mob,
.right-arrow-mob {
    width: 2rem;
}

.big-screen h3 {
    font-size: 1.5rem;
}

.big-screen p {
    font-size: 1rem;
}

.a-who-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: auto;
}

.a-who-stat {
    width: calc(40% - 1rem);
    text-align: center;
    color: #006694;
    background-color: #cbedfc !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 0rem 1rem;
    font-weight: bold;
    font-size: 3rem !important;
}

.a-who-number .a-who-stat {
    font-weight: 700;
    color: #006694;
}

.a-who-number-sym {
    font-size: 3rem;
    font-weight: 700;
    color: #006694;
}

.a-who-stat p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #006694;
    margin-top: -1rem;
}

.team {
    position: relative;
    background: url('/images/our-team-bgo.png') no-repeat center center;
    background-size: cover;
}

.about-buttons {
    margin: 1rem auto 3rem;
}

.sm-screen,
.sm-screens {
    display: block;
}

.sm-screen,
.sm-screens {
    display: none;
}

.swiper-container {
    position: relative;
    width: 100%;
    padding: 0 0px;
}

.mySwiper {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-box-dim {
    width: 20rem !important;
    margin: 0 auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
    top: 65%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-prev {
    left: -1rem !important;
}

.swiper-button-next {
    right: -1rem !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.gallery-item {
    width: 100%;
    max-width: 65rem;
    margin: auto;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    pointer-events: none;
}

.gallery-item img {
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {

    .custom-box-bg {
        height: 8rem !important;
    }

    .cust-font-services {
        font-size: 1.5rem;
    }

    button {
        width: 2rem;
    }

    .about-curve-section {
        height: 10rem;
    }

    .about-curve-section .content {
        padding: 2rem;
    }

    .about-curve-section h1 {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .about-curve-section p {
        font-size: 0.7rem;
    }

    .who-we-are {
        padding: 2rem 1rem;
    }

    .who-content {
        max-width: 100%;
        padding: 0 0rem;
    }

    .who-content h2 {
        font-size: 1.5rem;
    }

    .who-content p {
        font-size: 0.8rem;
    }

    .about-buttons {
        margin: 1rem auto;
    }

    .a-who-stats {
        justify-content: center;
    }

    .a-who-stat {
        width: calc(48% - 1rem);
    }

    .who-image {
        display: none;
    }

    .team-slide,
    .team-slide-mob {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-member {
        flex: 0 0 calc(50% - 20px);
        /* Show 2 per slide */
        max-width: calc(50% - 20px);
    }

    .slider-arrow .slider-arrow-mob {
        font-size: 2.5rem !important;
        width: 30px;
        height: 30px;
    }

    .team button {
        z-index: 10;
        font-size: 2.5rem !important;
        margin-top: 5rem;
    }

    .team-member img {
        height: 10rem;
    }

    .gallery button {
        position: absolute;
        width: 2rem;
        font-size: 3rem !important;
        margin-top: 3rem;
        z-index: 10;
    }

    .member-info {
        padding: 10px;
        font-size: 0.9rem;
    }

    .member-info h3,
    .member-info p {
        margin-bottom: 0rem;
        font-size: 0.9rem;
    }

    .swiper-container{
        height: 10rem;
    }

    .mySwiper{
        height: 100%;
    }

    .big-screen,
    .big-screens {
        display: none;
    }

    .sm-screen,
    .sm-screens {
        display: block;
    }
}