:root {
    --font-cairo: 'Cairo', sans-serif;
    --primary-color: #6CB945;
    --secondary-color: #8A181A;
    --third-color: #016053;
    --text-1: #000;
    --text-2: #010101;
    --text-3: #969AA0;
    --white: #ffffff;
    --font-ar: 'Neo Sans Arabic';
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background: #999;
}

body::-webkit-scrollbar-thumb:hover {
    background: #666;
}

body {
    font-family: var(--font-cairo);
    color: var(--text-2);
    font-size: 14px;
}

[dir="rtl"],
[dir="rtl"] body {
    font-family: var(--font-ar);
}

h2 {
    font-weight: 700;
}

.green-color {
    color: var(--primary-color);
}

.btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 8px;
}

.btn-lg {
    max-width: 300px;
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    /* color: var(--text-1); */
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--text-2);
    border-color: var(--text-2);
    color: var(--white);
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success {
    background: var(--third-color);
    border-color: var(--third-color);
}

.site-header .navbar {
    padding-top: 1.5rem;
    background-color: transparent;
    transition: 0.3s ease all;
}

.site-header.darkHeader .navbar {
    background: rgba(0, 0, 0, 0.53);
    padding-top: 0.5rem;
}

@media (max-width: 767px) {
    .site-header .navbar-collapse {
        background-color: var(--white);
        padding: 10px;
        border-radius: 5px;
    }

    .navbar-brand img {
        max-width: 150px;
    }
}

.banner-section .carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    max-width: 880px;
    margin: auto;
    font-weight: 500;
}

.banner-section .carousel-caption h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.banner-section .carousel-caption p {
    margin-bottom: 23px;
}

.banner-section .carousel-caption .btn {
    min-width: 325px;
    padding: 15px 12px;
}

.carousel-indicators [data-bs-target] {
    background-color: #D9D9D9;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

.about-section {
    padding: 100px 0;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 50px;
}

.about-section .img-container {
    text-align: center;
    background-image: url("../images/circle-bg.png");
    background-size: calc(100% + 0px);
    background-repeat: no-repeat;
    background-position: top center;
    padding: 60px 0px 50px;
}

.about-section .img-container img {
    display: block;
    margin: 0px auto -50px;
    width: calc(100% - 58%);
}

.about-section .media {
    color: var(--text-3);
    font-size: 18px;
    margin-bottom: 30px;
}

.about-section .media img {
    display: block;
    max-width: 48px;
}

.about-section .media h5 {
    color: var(--text-2);
    font-weight: 700;
    margin-bottom: 17px;
}

.services-section {
    background: #F6F6F6;
    padding: 100px 0;
}

.services-section p {
    color: var(--text-3);
    margin-bottom: 40px;
}

.services-section .card {
    border-radius: 24px;
    border: 0;
}

.services-section .card .card-img-overlay {
    top: auto;
    padding: 1.5rem 1rem;
}

.services-section .card h5 {
    margin: 10px 0 15px;
}

.services-section .card .btn {
    min-width: 70%;
}

.services-section .btn-primary {
    color: var(--white);
}

.healthy-section {
    background-color: var(--primary-color);
}

.healthy-section .img-container img {
    display: block;
    margin-top: -50px;
    margin-bottom: -5px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .healthy-section {
        text-align: center;
        padding-top: 50px;
    }

    .healthy-section .download-btns {
        justify-content: center;
    }

    .healthy-section .img-container img {
        margin-top: 0px;
    }
}

.healthy-section .download-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.healthy-section .download-btns img {
    max-width: 170px;
    display: block;
    width: 100%;
}

.achievement-section {
    padding: 100px 0;
}

.achievement-section h2 {
    color: var(--primary-color);
}

.achievement-section p {
    color: var(--text-3);
    margin-bottom: 40px;
}

.achievement-section .card {
    border-radius: 10px;
    background: rgba(246, 246, 246, 0.7);
    padding: 35px 45px;
    border: 0;
    position: relative;
}

.achievement-section .card .card-img-top {
    aspect-ratio: 1 / 2;
    object-fit: cover;
    object-position: top;
}

.achievement-section .card .card-body {
    background: linear-gradient(0deg, #F9F9F9 65.24%, rgba(217, 217, 217, 0.00) 95.92%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 130px 50px 50px;
    text-align: center;
}

.achievement-section .card .card-body h5 {
    font-weight: 700;
}

.before-after-section {
    padding: 100px 0;
    background-color: #F6F6F6;
}

.before-after-section p {
    color: var(--text-3);
    margin-bottom: 50px;
}

.before-after-carousel .owl-item {
    transform: scale(.85);
    opacity: .75;
}

.before-after-carousel .owl-item.active.center {
    transform: scale(1);
    opacity: 1;
}

.before-after-carousel .card {
    border-radius: 10px;
    background: var(--white);
    padding: 10px;
    border: 0;
}

.before-after-carousel .card .img-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.before-after-carousel .card .img-container>div {
    max-width: calc(50% - 20px);
    position: relative;
}

.before-after-carousel .card .img-container img {
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
}

.before-after-carousel .card .img-container .badge {
    position: absolute;
    right: 5px;
    bottom: 10px;
    border-radius: 2px;
    padding: 5px 20px;
}

[dir="rtl"] .before-after-carousel .card .img-container .badge {
    right: auto;
    left: 5px;
}

.before-after-carousel .card .card-text {
    color: #51526C;
    margin-bottom: 1rem;
}

.before-after-carousel .card-body .media img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.before-after-carousel .card-body .media h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0px;
}

.before-after-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12%;
    font-size: 35px;
}

[dir="rtl"] .before-after-carousel .owl-nav button {
    transform: scale(-1);
}

.before-after-carousel .owl-nav button:hover {
    color: var(--primary-color);
}

.your-goal-section {
    background: linear-gradient(105deg, #6CB945 50.65%, #006E52 129.33%);
    padding: 70px 0 55px;
}

.news-section {
    padding: 100px 0;
}

.news-section h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.news-section .card-group {
    gap: 20px;
}

.news-section .card-group .card {
    border-radius: 10px;
    background: rgba(246, 246, 246, 0.7);
    padding: 10px;
    border: 0;
}

.payment-method {
    background-color: #fff;
    text-align: center;
}
.site-footer .payment-method a {
    margin: 3px 1px 3px 0;
    display: inline-block
}

@media (max-width: 991px) {
    .news-section .card-group>.card {
        flex: 1 0 calc(50% - 10px);
    }
}

 @media (max-width: 1025px) {
    .site-footer .payment-method a {
        width: 25%;
    }
}

@media (max-width: 767px){
    .payment-method {
        width: max-content;
    }
}
@media (max-width: 550px) {
    .site-footer .payment-method a {
        width: auto;
    }
}
@media (max-width: 360px) {
    .payment-method {
        width: auto;
    }
    .site-footer .payment-method a {
        width: 25%;
    }
}


.news-section .card-group .card .card-footer {
    border: 0;
    padding: 0 1rem;
    background: transparent;
    color: var(--text-2);
}

.news-section .card-group .card .badge {
    color: var(--primary-color);
    border-radius: 10px;
    border: 1px solid #D9D9D9;
    background: var(--white) !important;
    padding: 0.35rem 1rem;
}

.news-section .card-group .card p {
    color: var(--text-3);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-footer {
    padding: 50px 0;
}

.site-footer .nav a {
    color: var(--white);
    font-size: .8rem;
}

.site-footer .social-links,
.site-footer .download-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-footer .widget h6 {
    margin-bottom: 16px;
}

.site-footer .links-footer-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
}

.site-footer .links-footer-container .btn {
    border-radius: 20px;
}

.site-footer .links-footer-container .btn-outline-light:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* login form */
.login-logo h3 {
    font-size: 1rem;
    color: var(--third-color);
    font-weight: bold;
    margin: 10px 0 20px 0;
}

.modal-content {
    border-radius: 20px;
}

.modal .btn-close {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background: #BEBEBE;
    opacity: 1;
    padding: 0;
    color: #fff;
    font-size: 13px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
}

.form-banner img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    border-radius: 18px;
}

@media (max-width: 991.98px) {
    .form-banner {
        display: none;
    }
}

.login-logo img {
    width: 100px;
}

.forgot-psw {
    font-size: .8rem;
    float: right;
    color: var(--third-color);
    margin: 5px 10px 13px 10px;
    text-decoration: underline;
}

.iti {
    width: 100%;
}

.iti__country-list {
    z-index: 100;
}

.user-psw:focus-within {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
    overflow: visible;
}

.user-psw input:focus {
    box-shadow: none;
}

.see-psw {
    color: var(--dark-color);
    font-size: .8rem;
}

.see-psw:focus {
    outline: none;
    box-shadow: none;
}

.main-form .main-btn {
    background: var(--secondary-color) !important;
    color: #fff;
}

.main-btn.create-account {
    width: 300px;
    max-width: 100%;
}

.skip-to a {
    color: var(--secondary-color);
    margin: 0 5px;
    text-decoration: underline;
}

.main-form select {
    background: url(../images/arrow.png) no-repeat #fff;
    background-size: 10px;
    background-position: right 20px center;
    -moz-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 4px 20px;
}

.main-form .col-sm-6 {
    position: relative;
}

.main-form span[class="error"] {
    position: absolute;
    bottom: -13px;
    font-size: .7rem;
    color: red;
    margin: 0 13px;
}

/******/
/* wheel style */
.gift-mess {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    min-height: 28px;
    font-weight: bold;
}

.spin-win {
    width: 400px;
    max-width: 100%;
    height: 345px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 3rem;
}

.gift-bg {
    background: url(../images/gift2.png);
    background-size: 100% 100%;
    width: 190px;
    height: 200px;
    min-height: 200px;
    position: relative;
    display: inline-block;
}

.gift-bg img {
    width: 85%;
    height: 64%;
    object-fit: contain;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 63px;
    padding: 10px;
}

.gift-bg.shake {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 4s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-3deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(3deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(3deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-3deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-3deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(3deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-3deg);
    }
}

.gift-bg h3 {
    position: absolute;
    top: 59%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    font-size: 1.5rem;
}

.submit-gift.main-btn.btn-primary {
    width: 250px;
    max-width: 100%;
    border-radius: 8px;
    height: 38px;
    display: block;
    top: 0;
    position: relative;
    margin: 0 auto;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.submit-gift.main-btn.btn-primary:hover, .submit-gift.main-btn.btn-primary:focus {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.create-account a {
    color: var(--secondary-color)
}

.login-to-win .submit-gift.main-btn.btn-primary {
    top: 0;
    width: 300px;
    max-width: 100%;
}

.login-to-win h5 {
    font-size: 1.1rem;
}

.login-to-win a {
    text-decoration: underline !important;
}

.login-to-win .email-input {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

.submit-gift.main-btn.btn-primary:focus, .submit-gift.main-btn.btn-primary:hover,
.submit-gift.main-btn.btn-primary:disabled {
    background: var(--secondary-color) !important;
}

/* lucky wheel */
#wheelModal .modal-content {
    overflow: hidden;
    min-height: 480px;
}

.lucky-wheel {
    position: relative;
    margin: 0 20px;
    transform: rotate(90deg);
}

.wheel {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px solid #89191B;
}

.wheel:after {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 312px;
    height: 312px;
    border-radius: 50%;
    box-shadow: inset 0 0 17px rgba(0, 0, 0, .7);
}

.wheel canvas {
    margin: 8px;
}

.spin-btn {
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 20%;
    margin: -10%;
    background-color: #8A171A;
    color: #fff;
    box-shadow: 0 0 0 1px currentColor, 0px 0px 0px 5px #8A171A;
    border-radius: 50%;
    z-index: 1000;
}

.spin-btn span {
    transform: rotate(-90deg);
}

.spin-btn::after {
    content: "";
    position: absolute;
    /* top: -12px;
    border: 10px solid transparent;
    border-bottom-color: var(--main-color);
    border-top: none; */
    background: url(../images/spin.png);
    width: 73px;
    height: 73px;
    background-size: 100% 100%;
    top: -145px;
    right: 0;
    transform: rotate(-90deg);
    z-index: 100;
    pointer-events: none;
}

/* start glitter animation */
@keyframes confetti-slow {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }

    100% {
        transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
    }
}

@keyframes confetti-medium {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }

    100% {
        transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
    }
}

@keyframes confetti-fast {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }

    100% {
        transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
    }
}

.gift-box {
    width: 100%;
    height: 100%;
    display: fixed;
    top: 0px;
}

.confetti-container {
    perspective: 700px;
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.confetti {
    position: absolute;
    z-index: 1;
    top: -10px;
    border-radius: 0%;
}

.confetti--animation-slow {
    animation: confetti-slow 2.25s linear 1 forwards;
}

.confetti--animation-medium {
    animation: confetti-medium 1.75s linear 1 forwards;
}

.confetti--animation-fast {
    animation: confetti-fast 1.25s linear 1 forwards;
}

/* end */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .spin-win {
        width: 300px;
        margin: 0;
    }

    .gift-bg {
        width: 140px;
        height: 169px;
        min-height: auto;
    }

    .submit-gift.main-btn.btn-primary {
        width: 210px;
    }

    .gift-bg h3 {
        font-size: 1.4rem;
    }

    .wheel {
        width: 320px;
        height: 320px;
        top: 0;
    }

    .wheel canvas {
        width: 300px;
        height: 300px;
    }

    .wheel:after {
        width: 282px;
        height: 282px;
        top: 19px;
        left: 19px;
    }

    .spin-btn::after {
        width: 60px;
        height: 60px;
        top: -130px;
    }

    #wheelModal .modal-dialog {
        width: 650px;
        max-width: 100%;
    }

    .gift-bg img {
        top: 53px
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    .spin-win {
        width: 300px;
        margin: 0;
    }

    .gift-bg {
        width: 140px;
        height: 169px;
        min-height: auto;
    }

    .submit-gift.main-btn.btn-primary {
        width: 180px;
    }

    .gift-bg h3 {
        font-size: 1.4rem;
    }

    .wheel {
        width: 320px;
        height: 320px;
        top: 0;
    }

    .wheel canvas {
        width: 300px;
        height: 300px;
    }

    #wheelModal {
        padding: 10px !important;
    }

    #wheelModal .modal-dialog {
        width: 650px;
        max-width: 100%;
    }

    .gift-bg img {
        top: 53px
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    #wheelModal .modal-dialog {
        margin: 0;
    }

    .wheel-box {
        flex-direction: column;
    }

    #wheelModal .gift-bg {
        background: none;
        height: auto;
        min-height: auto;
        width: auto;
    }

    #wheelModal .submit-gift.main-btn.btn-primary {
        position: static;
    }

    #wheelModal .spin-win {
        height: auto;
        width: auto;
        margin: 1rem 0 2rem 0;
    }

    #wheelModal .gift-bg h3 {
        position: static;
        transform: none;
        margin: .5rem 0 !important;
    }

    div.wheel {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        top: 0;
    }

    .button-wrap {
        left: 0 !important;
        right: 0 !important;
        top: 133px;
        margin: 0 auto;
    }

    .button-wrap:after {
        right: -147px;
    }

    .wheel {
        margin: 0 auto;
        width: 320px;
        height: 320px;
    }

    .wheel canvas {
        width: 300px;
        height: 300px;
    }

    .spin-btn::after {
        top: -130px
    }

    .submit-gift.main-btn.btn-primary {
        width: 180px;
    }

}