/*************[start global system]******************/
/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700


--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    word-wrap: break-word;

    text-transform: capitalize;

    font-family: "Almarai";
}

html {
    /* font-size: 10px; */
    /* 10px / 16px = 0.625 = 62.5% */
    /* Percentage of user's browser font-size setting */
    font-size: 62.5%;
}

body {
    line-height: 1.6;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--font-dark);
    background: var(--second-bg);
    overflow-x: hidden;
    transition: 0.3s all ease;
    margin: 0 auto;
    padding-right: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    color: var(--font-dark);
    line-height: 1.6;
}

p {
    color: var(--font-light);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom;
}

ul {
    margin: 0;
}

span,
a,
a:hover {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 8rem 0;
}

.ontop {
    position: relative;
    z-index: 4;
}

.position-re {
    position: relative;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-fixed {
    background-attachment: fixed;
}

.d-redColor {
    color: var(--d-red-color);
    font-weight: 600;
}

.d-blueColor {
    color: var(--d-blue-color);
    font-weight: 600;
}

.d-yellowColor {
    color: var(--d-yellow-color);
    font-weight: 600;
}

.l-redColor {
    color: var(--l-red-color);
}

.l-blueColor {
    color: var(--l-blue-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: #000;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.vid-parent {
    width: 80%;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    z-index: -1;
    opacity: 0;
}

.vid-parent.vid-active {
    z-index: 9999999999;
    top: 50%;
    opacity: 1;
}

.close-vid {
    position: fixed;
    top: 3rem;
    right: 3rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    display: none;
    z-index: 99999999999;
}

.close-vid.vid-active {
    display: block !important;
}

.preview-vid {
    width: 100%;
    height: 100%;
}

.overlay.vid-active {
    opacity: 0.7;
    z-index: 9999999999;
}

.danger {
    color: #ea0606;
}

.success {
    color: #9ed616;
}

/*********************************************
*********** start header ********************
*******************************************/
.header {
    position: relative;
    /* z-index: -3; */
}

.container {
    max-width: 1320px;
}
/* html[lang="en"] .headerContent {
    text-align: left;
} */
.headerContent {
    text-align: start;
}
.lectureName {
    font-size: 3.2rem;
    font-weight: bold;
    color: var(--font-dark);
    width: 60%;
}

.lectureDescription {
    font-size: 1.8rem;
    color: var(--font-dark);
    width: 60%;
    font-weight: 600;
    margin: 1rem 0;
}

.lectureRelease {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    color: var(--font-dark);
    margin-bottom: 1rem;
}

.publisherName {
    margin-right: 1rem;
    text-decoration: underline;
    transition: 0.3s all ease;
}

.publisherName:hover {
    text-decoration: underline;
    color: var(--d-blue-color);
}

.lectureUbdateDate {
    font-size: 1.6rem;
    display: flex;
    color: var(--font-dark);
    align-items: center;
    font-weight: 600;
    transition: 0.3s all ease;
}

.updateIcon {
    margin-left: 0.5rem;
    transition: 0.3s all ease;
}

.dark .updateIcon {
    color: #edcb0a;
}

/*****************************/
/**** start accordion*********/
/****************************/

.month {
    padding: 5rem 0;
}

.monthParts .lecHead {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--font-dark);
    margin-bottom: 3rem;
    width: fit-content;
    background: url(../imgs/subHeading.svg) no-repeat;
    background-size: cover;
    padding: 0.5rem 2rem;
    border-radius: 1rem;
    position: relative;
    width: 15rem;
    /* height: 4rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.mainTitle {
    align-items: unset !important;
}
.mainTitle .title {
    font-size: 3.4rem !important;
    text-align: start;
}
.dark .monthParts .lecHead {
    background: url(../imgs/subHeading2.svg) no-repeat;
}
.shape1 {
    content: "";
    position: absolute;
    right: 60%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: -1;
}
.monthsLists {
    margin-bottom: 3rem;
    /* background: url(../imgs/lecture.webp) no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed; */
}

.card {
    border: 1px solid #bcbcbc;
    overflow: hidden;
    background: transparent;
}

.card:first-of-type {
    border-radius: 1rem 1rem 0 0;
}

.card:last-child {
    border-radius: 0 0 1rem 1rem;
}

.publisherBy {
    color: #edcb0a;
    transition: 0.3s all ease;
}

.dark .publisherBy {
}

.card-header {
    padding: 0;
    border: none;
    transition: 0.3s all ease;
    background: transparent;
}

.card-header button {
    padding: 1.5rem 1.5rem;
    width: 100%;
    font-size: 1.4rem;
    color: var(--font-dark);
    font-weight: bold;
    text-decoration: none;
    text-align: right;
}

.card-header button:hover,
.card-header button:focus {
    text-decoration: none;
    color: var(--font-dark);
    box-shadow: none;
}

.nameOfPart {
    max-width: 60%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
html[lang="en"] .nameOfPart {
    text-align: left;
}
.partIcon {
    background: linear-gradient(to right bottom, #3522a87a, #36b3e8da);
    border-radius: 1rem;
    min-width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
}

.monthBtnDetails {
    font-weight: 600;
    display: flex;
    min-width: 30%;
    align-items: center;
    justify-content: flex-end;
    color: #8f8f8f;
}

.monthBtnDetails span {
    margin: 0 0.5rem;
}

.card-header button.collapsed .monthArrow {
    transform: rotate(0);
}

.card-header button .monthArrow {
    transition: 0.3s all ease;
    transform: rotate(180deg);
}

.card-body {
    padding: 1.5rem 5rem;
    background: var(--main-bg);
    transition: 0.3s all ease;
    border-top: 1px solid #bcbcbc;
}

.monthItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--font-dark);
}

.monthItem:not(:last-child) {
    margin-bottom: 3rem;
}

.monthIcon {
    margin-left: 0.25rem;
    color: var(--main-color);
}

.monthDescriptionParent {
    position: relative;
    max-height: 150px;
    overflow: hidden;
}
.monthDescriptionParent * {
    text-transform: none;
}
html[lang="en"] .monthDescriptionParent {
    text-align: left;
}

.monthDescription {
    font-size: 1.6rem;
    line-height: 2;
    text-align: start;
}

.loadMore {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    background: linear-gradient(to top, var(--main-bg) 10%, transparent 190%);
    display: flex;
    color: var(--main-color);
    font-size: 2.2rem;
    z-index: 99;
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 100%;
    font-weight: bold;
    align-items: flex-end;
    display: none;
}

.monthDescriptionParent.active {
    max-height: 100%;
}

.monthDescriptionParent.active .loadMore {
    display: none !important;
}

/*----------[start preview-section]------------*/

/**--start card--**/
.preview-card {
    background-color: var(--main-bg);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    /* overflow: hidden; */
    margin-top: -25rem;
    transition: 0.3s background-color ease;
    max-width: 450px;
    margin-right: auto;
    padding: 0 0rem;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.5rem;
    z-index: 9;
}

.preview-card-image {
    /* margin-top: -30%; */
    border-radius: 1rem;
    /* overflow: hidden; */
    position: relative;
}
.bio {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(-35%);
    width: 100%;
    z-index: 1 !important;
}
.degree {
    position: absolute;
    bottom: 0;
    left: 10%;
    transform: translateY(50%);
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    z-index: 999;
}
.degree::after {
    content: "";
    position: absolute;
    left: -0.4rem;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #000;
}
.preview-card-image img {
    border-radius: 1rem;
    z-index: 3;
}

/* .preview-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -0.3rem;
    width: calc(100%);
    height: calc(100%);
    border-radius: 2.5rem;
    border: 4px solid #010101;
    z-index: -1;
    transform: rotate(-8deg);
    transition: 0.4s all ease;
} */

.lec-hero-image {
    display: none;
}

.lec-image-content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    border-radius: 2rem;
    flex-direction: column;
    background-color: rgb(31 29 14 / 30%);
    z-index: 9;
}

.lec-image-content .play {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2.6rem;
    background-color: var(--main-color);
    animation: video-pulse-presentation 1.8s linear infinite;
}

.preview-card .lec-image-content p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

@keyframes video-pulse-presentation {
    0% {
        -webkit-box-shadow: 0 0 0 0 var(--main-color), 0 0 0 0 var(--main-color);
        box-shadow: 0 0 0 0 var(--main-color), 0 0 0 0 #fff;
    }

    40% {
        -webkit-box-shadow: 0 0 0 0 rgba(243, 156, 18, 0),
            0 0 0 0 var(--main-color);
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0), 0 0 0 0 var(--main-color);
    }

    80% {
        -webkit-box-shadow: 0 0 0 0 rgba(243, 156, 18, 0),
            0 0 0 30px rgba(243, 156, 18, 0);
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0),
            0 0 0 30px rgba(243, 156, 18, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(243, 156, 18, 0),
            0 0 0 30px rgba(243, 156, 18, 0);
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0),
            0 0 0 30px rgba(243, 156, 18, 0);
    }
}

.preview-card .card-content {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
}

.preview-card .card-content .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.real-price {
    background: #36b3e83d;
    border-radius: 1rem;
    padding: 0.5rem;
    margin-left: 2rem;
}
.preview-card .card-content .real-price .number {
    font-size: 3rem;
    color: var(--font-dark);

    font-weight: 700;
}

.preview-card .card-content .real-price .unit {
    font-weight: 700;
    color: var(--font-dark);
    margin-right: 0.5rem;
    font-family: "Almarai";
    /* margin-left: 1.5rem; */
    font-size: 2.4rem;
}

.preview-card .card-content .price-before-dis .number {
    font-size: 2.2rem;
    font-weight: 600;

    position: relative;
    color: #8f8f8f;
}

.preview-card .card-content .price-before-dis .number:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 100%;
    height: 0.15rem;
    background-color: #8f8f8f;
}

.preview-card .card-content .price-before-dis .unit {
    color: #8f8f8f;
    font-weight: 500;
    font-size: 1.8rem;
    margin-left: 1.5rem;
}
html[lang="en"] .preview-card .card-content .price-before-dis .unit,
html[lang="en"] .preview-card .card-content .real-price .unit {
    margin-left: 0;
    margin-right: 1.5rem;
}
.preview-card .card-content .discount {
    color: #8f8f8f;
    font-size: 1.8rem;
}

.preview-card .expire-date {
    display: flex;
    color: var(--main-color);
    font-size: 1.6rem;
    margin: 0.5rem 0 3rem;
    align-items: center;
}

.preview-card .expire-date p {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.preview-card .expire-date p .date {
    font-size: 1.4rem;
    font-weight: bold;
}

.preview-card .add-to-car:hover {
    background-color: #ffbd03;
    border: 2px solid #ffbd03;
}

.preview-card .buy-now,
.preview-card .add-coupon {
    background-color: transparent;
    border: 2px solid var(--font-dark);
    color: var(--font-dark);
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0.8rem 0;
    transition: 0.3s all ease;
    width: 100%;
    border-radius: 1rem;
}

.preview-card .buy-now .ontop,
.preview-card .add-coupon .ontop {
    width: 100%;
}

.preview-card .buy-now {
    border: 2px solid var(--main-color) !important;
    background: var(--main-color);
    color: #fff;
}

.preview-card .buy-now.mainHover:after {
    background-color: #1987b6;
    transition-duration: 0.6s;
}

.preview-card .add-coupon.mainHover:after {
    transition-duration: 0.6s;
    background: var(--main-color);
}

.preview-card .course-content {
    margin: 2rem 0 2rem;
    font-size: 1.4rem;
}

.preview-card h2 {
    font-size: 2rem;
    color: var(--font-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: start;
}
html[lang="en"] .preview-card h2 {
    text-align: left;
}
.preview-card .course-content .item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #8f8f8f;
}
.endDate,
.endDate p {
    color: rgb(209, 24, 24) !important;
    font-size: 1.8rem;
}
.endDate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.preview-card .course-content .item p {
    font-size: 1.4rem;
    margin-inline-end: 0.5rem;
}

/***** coupon ****/
.have-coupon {
    display: none;
    /* display: flex; */
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.have-coupon.active-coupon {
    display: flex;
}

.have-coupon .dis-coupon {
    width: 100%;
    display: none;
    /* display: flex; */
    align-items: center;
    margin-bottom: 0.8rem;
}

.have-coupon .dis-coupon .close-coupon {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--font-dark);
    cursor: pointer;
    width: fit-content;
}

.have-coupon .dis-coupon .coupon-text {
    margin: 0 1rem;
    font-weight: bold;
    color: var(--font-dark);
    max-width: 60%;
    /* text-transform: uppercase; */
}

.have-coupon input:first-of-type {
    width: 25%;
    border: 1px solid #ced4da;
    background-color: #e9ecef;
    padding: 0.5rem 2rem;
}

.have-coupon input:last-of-type {
    padding: 0.5rem 1.5rem;
    width: 75%;
    border: 1px solid #ced4da;
}

.is-invalid-coupon {
    color: #ea0606;
}

/*****************************************
********** start footer ******************
*****************************************/

/** footer waves **/

/**************/

div.waves {
    width: 100%;
    bottom: 0;
    /*height: 100%;*/
    position: absolute;
    z-index: -1;
}

.tutorial-link {
    font-family: sans-serif;
    text-align: center;
}

.waves svg {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;

    animation-duration: 0.1s !important;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.spacer {
    height: 100px;
    width: 100%;
}

@keyframes example {
    0% {
        left: 0px;
        top: 0px;
    }

    50% {
        left: -2000px;
        top: 200px;
    }

    100% {
        left: 0px;
        top: 0px;
    }
}

/**************************************/
/**** start modals*********************/
.modal-content {
    background: var(--main-bg);
}

.modal-header h5 {
    font-size: 1.8rem;
}

.modal-header .close {
    font-size: 2.8rem;
    color: var(--font-dark);
}

.modal-body {
    font-size: 1.8rem;
    text-align: center;
}

.modal-footer {
    justify-content: flex-start;
}

.modal-footer button {
    font-size: 1.6rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    color: var(--font-dark);
}

.myButton {
    background: var(--main-color);
    color: #fff !important;
}

.secBtn {
    border: 1px solid var(--font-light);
    margin-right: 1rem;
}

/*****sureBuyModal*****/
.sureBuyModal .modal-body {
    color: #9ed616;
}

.notEnoughModal .modal-body {
    color: #ea0606;
}

.modal-body label {
    color: var(--font-light);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.modal-body input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--font-dark);
    border-radius: 1rem;
    background: transparent;
}

.finishChargeText {
    color: #9ed616;
    font-size: 1.6rem;
}

.wrongChargeText {
    color: #ea0606;
    font-size: 1.6rem;
}

/***chargeModal*******/
.chargeModal .modal-body,
.chargeCouponModal .modal-body,
.payment .modal-body {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.chargeModal .chargeField {
    display: flex;
    flex-direction: column;
}

/***************************************/
/******************************************
********************************************
*********************************************
*********************************************
****** start dark ****************************
****************************************
********************************************
*********************************************
**********************************************/

/***** start nav ******/
.dark nav {
    background: #272d3d;
}

.dark .navProgress {
    background: #373e47;
}

.dark .navProgChild {
    background: var(--green-color);
}

/***** start right ******/
.dark .card-header {
    background: transparent;
}

/***** start left ******/
.dark .preview-card {
    background: #17171d;
}

/**** footer ******/

.dark footer .wave1 path {
    fill: rgba(64, 83, 104);
    transition: 0.3s all ease;
}

.dark footer .wave2 path {
    fill: rgba(64, 83, 104, 0.6);
    transition: 0.3s all ease;
}

.dark footer .wave3 path {
    fill: rgba(64, 83, 104, 0.4);
    transition: 0.3s all ease;
}
