
/*! ************************************ Header *************************************/
header {
    overflow: hidden;
    height: auto;
}
header .caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    margin: auto;
    padding-top: 50px;
    text-align: center;
    line-height: 1.5;
    position: relative;
}
header .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}
header .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.mySwiperPartner.swiper {
    width: 100%;
    padding: 80px 0;
}
.mySwiperPartner .swiper-slide {
    width: auto;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
}
header .swiper-slide.swiper-slide-active {
    box-shadow: 1px 1px 20px var(--main-color);
}
/*! ************************************ Images-Icon *************************************/
header .caption {
    position: relative;
    z-index: 5;
}
header .caption .floating-img {
    position: absolute;
    width: 150px;
    animation: images 3s linear infinite;
}
header .caption .img-1 {
    top: -10px;
    right: -200px;
}
header .caption .img-2 {
    bottom: -50px;
    right: -120px;
}
header .caption .img-3 {
    bottom: -25px;
    left: -100px;
}
header .caption .img-4 {
    top: 0;
    left: -175px;
}

@keyframes images {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/*! ************************************ About-Us *************************************/
#aboutUs {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}
#aboutUs .bg img {
    width: 700px;
    position: absolute;
    z-index: -1;
    animation: spin 4s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#aboutUs .bg img:nth-child(1){
    right: -350px;
    top: 0;
}
#aboutUs .bg img:nth-child(2){
    left: -370px;
    top: 250px;
}
#aboutUs .main-title .image img {
    width: 150px;
    animation: orbit 4s linear infinite;
}
@keyframes orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*? Phone-Image */
#aboutUs .main-container > .img-phone-container {
    width: 500px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    position: relative;
}

#aboutUs .main-container .img-phone {
    width: 100%;
    animation: phone 3s ease-in-out infinite;
}
@keyframes phone {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(6deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
#aboutUs .main-container .img-phone-container::before {
    content: "Provider flow";
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 20px;
    font-weight: 700;
    transform: rotate(-7deg);
}
#aboutUs .main-container .img-phone-container::after {
    content: "user flow";
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 20px;
    font-weight: 700;
    transform: rotate(-25deg);
}
#aboutUs .main-container .img-phone-container::before,
#aboutUs .main-container .img-phone-container::after {
    animation: labelFloat 3.5s ease-in-out infinite;
}
#aboutUs .main-container .arrow-1 {
    position: absolute;
    top: 0;
    right: 35px;
    width: 50px;
    height: 100px;
}
#aboutUs .main-container .arrow-2 {
    position: absolute;
    top: -10px;
    left: 10%;
    width: 65px;
    height: 100px;
}
#aboutUs .main-container .arrow-1,
#aboutUs .main-container .arrow-2 {
    opacity: 0.3;
    animation: arrow 2s linear infinite;
}

/* Animation */
@keyframes arrow {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}
@keyframes labelFloat {
    0% {
        transform:  rotate(-7deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-8px) rotate(-7deg) scale(1.09);
        opacity: 1;
    }
    100% {
        transform:  rotate(-7deg) scale(1);
        opacity: 0.5;
    }
}

/*! ************************************ The-Clubs *************************************/
#the-clubs .images.swiper {
    display: block;
    padding: 20px 0;
    margin-bottom: 50px
}
#the-clubs .images .swiper-wrapper {
    display: flex;
}

#the-clubs .images .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
#the-clubs .images .image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#the-clubs .images .image {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
#the-clubs .images .image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/bg-icon-clubs.svg");
    background-position: center;
    background-size: cover;
    z-index: 0;
}
#the-clubs .images .image:hover::before {
    animation: rotate-bg 1.5s linear infinite;
}
#the-clubs .images .image img {
    z-index: 1;
    width: 50px;
    border-radius: 40px;
}

@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*? Steps */
.registration-in-the-club {
    padding-top: 80px;
}
.steps-container {
    position: relative;
    margin-top: 40px;
}
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 30px; */
    position: relative;
}
.steps .step-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a4b707d6;
    box-shadow: 2px 2px 10px #fff;
    transition: .5s;
}
.steps .step-circle .image {
    width: 50px;
    height: 50px;
    background-image: linear-gradient(#BCE008, #8F9405);
    /* background-color: #A4B707; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.steps .step {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    /* right: 0; */
    height: 2px;
    width: 100%;
    background: repeating-linear-gradient(to right, #8F9405, #8F9405 10px, transparent 10px, transparent 20px);
    transform: translateY(-50%);
    z-index: -1;
    animation: moveLine 1s linear infinite;
}
.steps .step:not(:first-child)::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #8F9405;
    border-radius: 50%;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    z-index: 1;
    animation: pulseDot 1s ease-in-out infinite;
}

@keyframes moveLine {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -20px 0;
    }
}

@keyframes moveLineResponsive {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 20px;
    }
}

@keyframes pulseDot {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0px #BCE008;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        box-shadow: 0 0 8px #BCE008;
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0px #BCE008;
    }
}

.steps-container .labels {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 25px;
}

.steps-container .labels .step-label span {
    color: var(--second-color);
    font-size: 15px;
    font-weight: 800;
}

.steps .step-circle img {
    width: 35px;
}

/*! ************************************ Download-App *************************************/
#download-app,
#download-app .main-container {
    margin-top: 80px;
    padding-top: 80px;
}
#download-app .row {
    background-image: url("../assets/images/bg-download.svg");
    background-size: cover;
    background-color: #ffffff94;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 20px;
    padding: 30px;
}
#download-app .download-app-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 15px;
}
#download-app .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
#download-app .text p {
    padding-bottom: 20px;
}
#download-app .app-store .text,
#download-app .google-play .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    line-height: 0;
}
#download-app .app-store,
#download-app .google-play {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    background-color: #fff;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 1px 1px 5px #0000007d;
    width: 200px;
    height: 60px;
    padding: 10px;

    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

#download-app .app-store .image img,
#download-app .google-play .image img {
    width: 30px;
}
#download-app .app-store .text span:nth-child(1),
#download-app .google-play .text span:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}
#download-app .app-store .text span:nth-child(2),
#download-app .google-play .text span:nth-child(2) {
    font-size: 25px;
    font-weight: 700;
}

#download-app .image-phone {
    position: absolute;
    left: 40px;
    bottom: 0;
}
/*? Hover */
#download-app .app-store::before,
#download-app .google-play::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: skewX(-25deg);
}
#download-app .app-store:hover::before,
#download-app .google-play:hover::before {
    animation: shine 1.2s forwards;
}

#download-app .app-store:hover,
#download-app .google-play:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #fffef0, #fff);
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* انيمشن اهتزاز */
#download-app .app-store:hover,
#download-app .google-play:hover {
    transform: scale(1.08) rotate(0.5deg);
    animation: shake 0.4s ease-in-out;
    background: linear-gradient(45deg, #BCE008, #ffffff);
}
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    50% {
        transform: rotate(-1deg);
    }
    75% {
        transform: rotate(0.5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* ************************************ */
@media (max-width: 992px) {
    #download-app .row {
        flex-direction: column;
        text-align: center;
        padding-bottom: 0;
    }

    #download-app .text {
        align-items: center;
    }

    #download-app .download-app-container {
        justify-content: center;
    }

    #download-app .image-phone {
        position: static;
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    #download-app .app-store,
    #download-app .google-play {
        width: 150px;
        height: 50px;
    }
    #download-app .app-store .text span:nth-child(1),
    #download-app .google-play .text span:nth-child(1) {
        font-size: 10px !important;
    }
    #download-app .app-store span:nth-child(2),
    #download-app .google-play span:nth-child(2) {
        font-size: 15px !important;
    }
}

@media (max-width: 370px) {
    #download-app .app-store,
    #download-app .google-play {
        width: 130px;
        height: 40px;
        padding: 5px;
    }
    #download-app .app-store .image img,
    #download-app .google-play .image img {
        width: 20px;
    }
}


/*! ************************************ Testimonials *************************************/
#testimonials {
    padding-bottom: 80px;
}

/* #testimonials .main-title .image {
    animation: orbit 4s linear infinite;
} */

.cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cards .my-card {
    background-color: var(--color-White);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding-block: 40px 20px;
    padding-inline: 20px 65px;
    position: relative;
    transition: 0.3s;
    width: 400px;
}
.cards .my-card * {
    z-index: 9;
}

.cards .my-card::before {
    content: "";
    position: absolute;
    background-color: var(--main-color);
    width: 70px;
    height: 70px;
    top: -10px;
    left: -15px;
    border-radius: 10px 0 50% 0;
    transition: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #000;
    font-size: 20px;
    transition: all 0.5s ease;
    z-index: 1;
}
.cards .my-card:hover::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
}
.cards .my-card:hover {
    color: var(--color-White);
}
.cards .my-card:hover .number-circle {
    top: 0;
    left: 0;
}
.cards .my-card:hover .number-circle::after {
    display: none;
}

.number-circle {
    position: absolute;
    top: -10px;
    left: -15px;
    width: 70px;
    height: 70px;
    border-radius: 10px 0 50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    font-size: 17px;
    transition: .5s;
    z-index: 5;
}
.number-circle::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 60%;
    transform: rotate(46deg);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid var(--main-color);
}
.cards .my-card .image {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}
.cards .my-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.cards .my-card .text p {
    word-spacing: 2px;
    font-size: 14px;
    margin-top: 15px;
    max-height: 75px;
    padding-block: 5px;
    /* overflow: auto; */

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

    /* اخفاء شريط السكروول */
    /* scrollbar-width: none;
    -ms-overflow-style: none; */
}
/* .cards .my-card .text p::-webkit-scrollbar {
    display: none;
} */

.number-circle i {
    color: var(--color-White);
    font-size: 12px;
}
/* .owl-Carousel */
.owl-carousel .owl-stage-outer {
    padding-top: 50px;
    margin: 0 -12px;
}
.owl-dots {
    text-align: center;
    margin-top: 20px;
}
.owl-carousel button.owl-dot {
    background: var(--color-black);
    width: 15px;
    height: 10px;
    border-radius: 10px;
    margin: 5px;
    opacity: 0.5;
    transition: .5s;
}
button.owl-dot.active {
    background-color: var(--main-color);
    width: 40px !important;
}
