* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}


html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Almarai', sans-serif; */
    background-color: #1c77f1;
}

/* Container System */
.container {
    margin: auto;
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .container {
        width: 992px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .container {
        width: 768px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Global Selector Style  */
.image-control {
    max-width: 100%;
    height: auto;
}
.btn {
    width: 267px;
    background: #b8ff03;
    text-align: center;
    padding: 7px;
    border: 5px groove white;
    border-radius: 50px;
    color: #0b448d;
    font-size: 26px;
    transition: all .3s;
}
.btn:hover {
    background: #0b448d;
    color: #b8ff03;
    transition: all .3s;
}

.row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 0.5rem;
        position: relative;
}

.full-width {
    width: 100%;
}

.gap-0 {
    row-gap: 0 !important;
}

.flex-d-c {
    flex-direction: column;
}


.flex-d-r {
    flex-direction: row;
}


.position-r {
    position: relative;
}

.position-bottom {
    position: absolute;
    bottom: 5%;
}



.partners-items img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: #0041e8;
    border-radius: 15px;
}

@media (max-width: 767px) {
    .partners-items img {
    width: 65px;
    height: 65px;

}
}


/*** btns ***/

/* .btns-sec1 {
    position: absolute;
    bottom: 99px;
    left: 50%;
    transform: translate(-50%, -25%);
    z-index: 999;
   
}
.btns-sec2 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
} */
.btns-sec3 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -25%);
    z-index: 999;
   
}
/* .btns-sec4 {
    position: absolute;
    top: 25rem;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
} */

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .btn {
        width: 190px;
        padding: 5px;
        font-size: 23px;
    }
    /* .btns-sec4 {
        position: absolute;
        top: 9rem;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
    } */
    /* .btns-sec1 {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, -25%);
       
    } */
    
}











.fixed-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #b8ff03;
    color: #0b448d;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    animation: heartbeat 1.5s ease-in-out 1s infinite both;
    z-index: 1000;
}

.fixed-button:hover {
    background-color: #0056b3;
    color: white;
}


@keyframes heartbeat { 

    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    10% {
        -webkit-transform: scale(.91);
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    17% {
        -webkit-transform: scale(.98);
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    33% {
        -webkit-transform: scale(.87);
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

}



/********** partenters ********/

.first-row.pt-3.pb-3, .second-row.pt-3.pb-3 {
    display: flex;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    direction: ltr;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin: 15px 0;
    gap: calc(clamp(10rem,1rem + 40vmin,30rem)/14);
    -webkit-mask-image: linear-gradient(to right,hsla(0,0%,0%,0),hsl(0,0%,0%) 20%,hsl(0,0%,0%) 80%,hsla(0,0%,0%,0));
    mask-image: linear-gradient(to right,hsla(0,0%,0%,0),hsl(0,0%,0%) 20%,hsl(0,0%,0%) 80%,hsla(0,0%,0%,0));
    -webkit-mask-image: linear-gradient(var(--mask-direction,to right),hsla(0,0%,0%,0),hsl(0,0%,0%) 20%,hsl(0,0%,0%) 80%,hsla(0,0%,0%,0));
    mask-image: linear-gradient(var(--mask-direction,to right),hsla(0,0%,0%,0),hsl(0,0%,0%) 20%,hsl(0,0%,0%) 80%,hsla(0,0%,0%,0));
    width: 100%;
}
.partners-items {
        display: flex;
    justify-content: center;
    align-items: center;
}

.first-row.pt-3.pb-3 .partners-items {
    gap: calc(clamp(10rem, 1rem + 40vmin, 30rem) / 14);
    animation: scroll-x 5s linear infinite;
    animation-direction: alternate-reverse;
}

@keyframes scroll-x {

    0% {
    transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - clamp(10rem, 1rem + 40vmin, 30rem) / 14));
    }
}

.second-row.pt-3.pb-3 .partners-items {
        gap: calc(clamp(10rem, 1rem + 40vmin, 30rem) / 14);
    animation: scroll-z 5s linear infinite;
    animation-direction: alternate-reverse;
}


@keyframes scroll-z {

    100% {
    transform: translateX(0);
    }
    0% {
        transform: translateX(calc(-100% - clamp(10rem, 1rem + 40vmin, 30rem) / 14));
    }
}
