@font-face {
    font-family: "vazir";
    src: url(../fonts/Vazir.eot);

    src: url(../fonts/Vazir.eot) format(embedded-opentype),
        url(../fonts/Vazir.woff2) format(woff2),
        url(../fonts/Vazir.woff) format(woff),
        url(../fonts/Vazir.ttf) format(truetype);
}

:root {
    --clr-primary: #2a3554;
    --clr-primary-2: #428ded;
    --clr-primary-3: #dfe6e9;
    --clr-primary-4: #b8cdd6;
    --clr-success-1: rgb(221.25, 247.65, 239.85);
    --clr-success-2: #1ECE9A;

    --clr-grey-1: #617d98;
    --clr-grey-2: rgb(127.2, 133.8, 152.4);
    --clr-grey-3: #5c6268;
    --clr-white: #fff;
    --ff-primary: "vazir", sans-serif;
    --transition: all 0.3s linear;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 
=================
Global Styles
================= 
*/


body {
    font-family: var(--ff-primary);
    font-feature-settings: "ss01";
    line-height: 1.8;
}

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    margin-bottom: 0.75rem;
    font-family: var(--ff-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 0.875rem;
}


p {
    margin-bottom: 1.25rem;
    color: var(--clr-grey-1);
    font-size: 1.5;
}

.section-title {
    font-weight: bold;
    color: var(--clr-primary);
    font-size: 2rem;
}

@media screen and (min-width: 768px) {
    .section-title {
        font-size: 2.7rem;
    }
}

.section-subtitle {
    color: var(--clr-primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.section-title-active {
    color: var(--clr-primary-2);
}

.section-paragraf {
    color: var(--clr-grey-1);
    font-size: 1.1rem;
}


.btn {
    font-size: 1.1rem;
    color: var(--clr-white);
    background-color: var(--clr-primary-2);

}

.btn:hover {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-primary-2);
    color: var(--clr-primary-2);
}

.w-40 {
    width: 265px;
}

@media screen and (max-width: 1200px) {
    .section-capsule {
        margin-top: 3rem;
    }
}

@media screen and (min-width: 768px) {
    .w-capsule-40 {
        width: 277px;
    }
}


@media screen and (min-width: 1200px) {
    .row-alephba {
        width: 650px;
    }

    .section-capsule {
        margin-top: 6rem;
    }
}

.section-timeline {
    background: var(--clr-primary-4);
}

/*
===============
Header
===============
*/

.btn-light {
    background-color: var(--clr-primary-3);
}

.nav-item-custome {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--clr-primary);
}

.nav-item-custome-active {
    color: var(--clr-primary-2);
}

.dropdown-menu-custome {
    width: 300px;
    border: 1px solid var(--clr-primary-3);
}

.dropdown-item img,
.offcanvas-body img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 
===================
Alephba section 
===================
*/

.section-alephba {
    background-color: var(--clr-primary-3);
}

.shape-before {
    position: relative;
    z-index: 1;
}

.shape-before.margin {
    /* width: calc(100% - 24px); */
    margin: 24px 0 0 24px;
}

.shape-before::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: var(--clr-primary-4);
    height: 100%;
    top: -24px;
    left: -24px;
    width: 100px;
    opacity: 1;
}

.alert {
    color: var(--clr-primary-2);
    display: flex;
    align-items: center;
    font-size: 1rem;
    position: relative;
}

.alert.transparent-border {
    padding: 8px 24px 8px 0;
    /* background: var(--clr-white); */
}

.alert.transparent-border::before {
    content: "";
    position: absolute;
    right: -7px;
    width: 5px;
    height: 100%;
    background: var(--clr-primary-2);
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--clr-grey-3);
}

.strikle {
    color: var(--clr-grey-2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strikle::after {
    position: absolute;
    content: "";
    right: 0;
    left: 0;
    background: red;
    height: 2px;
    transform: rotate(-15deg);
}


/* 
===================
Capsoul section 
===================
*/

.list-with-square-icon {
    font-size: 1rem;
    color: var(--clr-grey-3);
    /* font-weight: 400; */
    line-height: 38px;
    padding-right: 20px;
}

.icon {
    width: 26px;
    height: 26px;
    color: var(--clr-success-2);
    background: var(--clr-success-1);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.3rem;
}




/* .capsule {
    width: 250px;
    height: 70px;
    border-radius: 50px;
    background: #d9d8f6;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
}

.capsule::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 55px;
    height: 100%;
    background: #5e60ce;
    transition: .4s ease;
}

.capsule:hover::before {
    width: 100%;
}

.capsule-title {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    font-weight: bold;
    color: #26314f;
    transition: .4s;
} */

a.card-capsule {
    cursor: pointer;
}

.card-capsule {
    padding-right: 44px;
    display: flex;
    min-height: 70px;
    border-radius: 70px;
    background: #5f63b7;
    overflow: hidden;
    transition: all ease-in-out 0.15s;
    position: relative;
}

.capsule-content {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    background: var(--clr-white);
    width: 100%;
    position: relative;
}

.capsule-content::before {
    content: "";
    position: absolute;
    inset: 0;
    transition: all ease-in-out 0.15s;
    opacity: 0.3;
    background: #5f63b7;
}

.ui .capsule-content::before {
    background: #ba4188;
    opacity: 0.3;
}

.mobile .capsule-content::before {
    background: #3ddc84;
    opacity: 0.3;
}

.game .capsule-content::before {
    background: #8f7aff;
    opacity: 0.3;
}

.seo .capsule-content::before {
    background: #41916c;
    opacity: 0.3;
}

.python .capsule-content::before {
    background: #4c8bbe;
    opacity: 0.3;
}

.data .capsule-content::before {
    background: #219696;
    opacity: 0.3;
}

.js .capsule-content::before {
    background: #f2c813;
    opacity: 0.3;
}


.capsule-title {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    font-weight: bold;
    color: #26314f;
    transition: .4s;
}

a.card-capsule:hover {
    padding-right: 0;

}

a.card-capsule:hover .capsule-content::before {
    background: #5f63b7;
    opacity: 0.5;
}

.ui {
    background: #ba4188;
}

.mobile {
    background: #3ddc84;
}

.game {
    background: #8f7aff;
}

.seo {
    background: #41916c;
}

.python {
    background: #4c8bbe;
}

.data {
    background: #219696;
}

.js {
    background: #f2c813;
}

a.ui:hover .capsule-content::before {
    background: #ba4188;
    opacity: 0.5;
}

a.mobile:hover .capsule-content::before {
    background: #3ddc84;
    opacity: 0.5;
}

a.game:hover .capsule-content::before {
    background: #8f7aff;
    opacity: 0.5;
}

a.seo:hover .capsule-content::before {
    background: #41916c;
    opacity: 0.5;
}

a.python:hover .capsule-content::before {
    background: #4c8bbe;
    opacity: 0.5;
}

a.data:hover .capsule-content::before {
    background: #219696;
    opacity: 0.5;
}

a.js:hover .capsule-content::before {
    background: #f2c813;
    opacity: 0.5;
}



/* 
===================
Inseption section 
===================
*/

.section-inseption {
    background: var(--clr-primary-3);
    padding: 5rem 0 3rem 0;
    width: 100%;
}


.icon-timeline {
    color: var(--clr-primary-2);
    background: var(--clr-primary-4);
}

.title-timeline {
    font-weight: bold;
    color: var(--clr-grey-3);
    font-size: 1.1rem;
}

.w-inseption-40 {
    width: 270px;
}

.btn-inseption {
    font-size: 0.9rem;
}

/* 
===================
Bootcamp section 
===================
*/

.alert-bootcamp {
    color: var(--clr-success-2);

}

/* .alert-bootcamp {
    color: var(--clr-success-2);
    display: flex;
    align-items: center;
    font-size: 1rem;
    position: relative;
} */

.alert.transparent-border-bootcamp {
    padding: 8px 24px 8px 0;
    /* background: var(--clr-white); */
}

.alert.transparent-border-bootcamp::before {
    content: "";
    position: absolute;
    right: -7px;
    width: 5px;
    height: 100%;
    background: var(--clr-success-2);
}

.btn-bootcamp {
    font-size: 1.1rem;
}

.a-bootcamp {
    background: var(--clr-success-2);
}

.a-bootcamp:hover {
    border: 1px solid var(--clr-success-2);
    color: var(--clr-success-2);
}

.shape-before-bootcamp {
    position: relative;
    z-index: 1;
}

.shape-before-bootcamp.margin {
    /* width: calc(100% - 24px); */
    margin: 24px 0 0 24px;
}

.shape-before-bootcamp::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: var(--clr-success-1);
    height: 100%;
    top: -24px;
    left: -24px;
    width: 100px;
    opacity: 1;
}

.bootcamp-section {
    margin-bottom: 100px;
    margin-top: 80px;
}


/* 
===================
Courses section 
===================
*/


.courses-section {
    background: var(--clr-primary-3);

}

.courses-paragraf {
    font-size: 1rem;
}

.card-course-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--clr-primary);
    line-height: 2;
}

.card-teacher {
    color: var(--clr-grey-1);
    font-size: 1.2rem;
}

.session-count {
    margin-top: auto;
    color: var(--clr-grey-1);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;

}

.card-icon {
    font-size: 1.3rem;
}

.carousel-img {

    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: -45px;
    bottom: auto;
    width: 40px;
    height: 40px;
    left: auto;
    right: auto;
    background-color: var(--clr-primary-3);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    opacity: 1;
}


@media screen and (max-width: 310px) {
    .carousel-control-prev {
        right: 76px;
        left: auto;
    }

    .carousel-control-next {
        left: 76px;
        right: auto;
    }

}

@media screen and (min-width: 310px) {
    .carousel-control-prev {
        right: 85px;
        left: auto;
    }

    .carousel-control-next {
        left: 85px;
        right: auto;
    }
}

@media screen and (min-width: 770px) {
    .carousel-control-prev {
        right: 260px;
        left: auto;
    }

    .carousel-control-next {
        left: 260px;
        right: auto;
    }
}

@media screen and (min-width: 992px) {
    .carousel-control-prev {
        right: 370px;
        left: auto;
    }

    .carousel-control-next {
        left: 370px;
        right: auto;
    }
}

@media screen and (min-width: 1200px) {
    .carousel-control-prev {
        right: 468px;
        left: auto;
    }

    .carousel-control-next {
        left: 468px;
        right: auto;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 30px;
    height: 30px;
}

.course-card {
    border: none;
}


.courses-section {
    margin-bottom: 90px;
}


/* 
===================
Wrong-Choice section 
===================
*/


.question-icon {
    color: var(--clr-primary-2);
    font-size: 3rem;
}


.wrong-title-primary {
    color: var(--clr-primary-2);
}

.wrong-choice-paragraf {
    color: black;
    opacity: 0.75;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.wrong-choice-paragraf-bold {
    color: black;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 0.5rem;
    opacity: 0.75;
}

.headline-section {
    margin-bottom: 2rem;
}

.shape-before-green {
    position: relative;
    z-index: 1;
}

.shape-before-green.margin {
    /* width: calc(100% - 24px); */
    margin: 24px 0 0 24px;
}


.shape-before-green::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: var(--clr-success-1);
    height: 100%;
    top: -24px;
    left: -24px;
    width: 100px;
    opacity: 1;
}

.w-wrong-40 {
    width: 280px;
}

.small-wrong {
    font-size: 1.1rem;
    color: var(--clr-grey-1);
}


@media (min-width: 992px) and (max-width: 1200px) {
    .sticky-row {
        /* min-height: 800px; */
        gap: 5rem;
    }

    /* .wrong-choice-paragraf {
        font-size: 1.6rem;
    }

    .wrong-choice-paragraf-bold {
        font-size: 1.6rem;
    } */
}

.sticky-pos {
    position: sticky;
    top: 30px;
}

.sticky-row {
    min-height: 1000px;
}


/* 
===================
Teachers section 
===================
*/


.teachers-section {
    background: var(--clr-primary-3);
    margin-top: 4rem;
    padding-bottom: 40rem;
    padding: 3rem 0 30rem 0;
}


.teachers-paragraf {
    color: black;
    opacity: 0.8;
    font-size: 1.3rem;
}


.btn-teachers {
    font-size: 1.1rem;
}


@media screen and (min-width: 992px) {
    .teachers-paragraf {
        font-size: 1.35rem;
    }
}

@media screen and (min-width: 1400px) {
    .text-teachers {
        min-height: 800px;
    }
}


/* 
===================
Footer
===================
*/

.footer {
    background: var(--clr-primary);
    position: relative;
}

/* .footer::before {
    content: "";
    background: url("../images/wave.svg") no-repeat center;
    background-size: contain;
    position: absolute;
    right: 0;
    top: -179px;
    width: 100%;
    height: 180px;
} */

.footer-wave {
    position: absolute;
    /* top: -366px;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 320; */

    /* display: block; */

    left: 0;
    top: 1px;
    width: 100%;
    height: auto;
    transform: translateY(-100%);
}


/* @media screen and (max-width: 369px) {
    .footer-wave {
        height: 668px;
    }
}

@media screen and (min-width: 369px)  and (max-width: 441px){
    .footer-wave {
        height: 638px;
    }
}


@media screen and (min-width: 1647px) {
    .footer-wave {
        height: 367px;
    }
} */

.footer-logo {
    width: 150px;
    height: 36px;
}

.footer-paragraf {
    color: var(--clr-white);
    font-size: 1.1rem;
    opacity: 0.8;
    white-space: pre-line;
    margin-bottom: 8px;
}

.footer-list {
    padding-right: 0;
    gap: 22px;
}

.footer-item {
    padding: 10px 0 10px 0;
}

.footer-link {
    color: var(--clr-white);
    font-size: 1.2rem;
    /* font-weight: bold; */
    transition: 0.2s;
}

.footer-item:hover .footer-link {
    color: var(--clr-primary-2);
}

.card-small {
    background: var(--clr-white);
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 20px 35px;
    position: relative;
    box-shadow: 0 0 7px rgba(66, 141, 237, .1);
    /* z-index: 1; */
}

@media (max-width: 991.98px) {
    .card-small {
        padding: 24px 24px;
        gap: 20px;
    }
}


.card-small img.icon.sm {
    width: 54px;
    height: 54px;
}


@media (max-width: 575.98px) {
    .card-small img.icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991.98px) {
    .card-small img.icon {
        width: 44px;
        height: 44px;
    }
}

.gray-hover:not(:hover) {
    opacity: 0.6;
    filter: grayscale(1);
}

.gray-hover {
    transition: 0.15s;
}

.gray-hover:hover {
    opacity: 1;
    filter: grayscale(0);
}

.footer-icon {
    padding: 18px 20px 18px 20px;
}

.footer-flex {
    padding-top: 16px;
    border-top: 0.8px solid rgba(255, 255, 255, 0.2);
    gap: 0.8rem;
}

.footer-link-icon {
    color: var(--clr-white);
    font-size: 1.6rem;
    transition: 0.2s;
}

.footer-icon:hover .footer-link-icon {
    color: var(--clr-primary-2);
}

.footer-address {
    color: var(--clr-white);
    font-size: 1.1rem;
    padding: 1rem;
}