﻿:root {
    --firstColor: #212529;
    --secColor: #0048aa;
}
h1,h2,h3{
    font-family: 'iranyekanextrablack';
}
.heading-course {
    font-size: 40px;
}
.header-course {
    height: min-content;
}
.bg-img-course {
    height: 320px;
    background: url("/Content/images/courses-page/bg-course.jpg") top center / cover no-repeat;
}

.bg-img-course h1 {
    font-size: 50px;
}
.intro-course {
    margin: 4rem auto;
    border-radius: 12px;
}
.service-course {
    background:url("/Content/images/courses-page/sup.jpg") center center / cover no-repeat;
    height: max-content;
    padding: 15px 40px 15px 0;
}

.items-service-course {
    margin: 30px 0;
    padding: 35px;
    border-radius: 24px;
    box-shadow: -30px 5px 35px rgba(0, 0, 0, 0.35);
}

.items-service-course h2 {
    border-bottom: 1px solid #707070;
    padding-bottom: 16px;
}

.items-service-course ul {
    padding-right: 20px;
}

.items-service-course li {
    list-style: none;
    margin-bottom: 12px;
    list-style-image: url('/Content/images/courses-page/list-style-course.svg');
}

.book-course h2 {
    font-size: 3rem;
}
.heading-lessons {
    margin-bottom: 3rem;
}

.img-course {
    width: 30%;
}

.content-course {
    width: 70%;
}

.title-content-course {
    font-size: 16px;
}

.content-course strong {
    line-height: 32px;
    font-size: 16px;
}

.Prerequisites {
    margin-top: 1rem;
}

.download-heading {
    margin-top: 3rem;
}

.download-heading a {
    background-color: #ffc700;
    padding: 1.5rem;
    border-radius: 8px;
    color: var(--firstColor);
}

.logo-customer {
    position: relative;
    height: 400px;
}

.item-customer {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: #fff;
    cursor: pointer;
    box-shadow:
        0.4px 0.8px 2.2px rgba(0, 0, 0, 0.02),
        1px 2px 5.3px rgba(0, 0, 0, 0.028),
        1.9px 3.8px 10px rgba(0, 0, 0, 0.035),
        3.4px 6.7px 17.9px rgba(0, 0, 0, 0.042),
        6.3px 12.5px 33.4px rgba(0, 0, 0, 0.05),
        15px 30px 80px rgba(0, 0, 0, 0.07);
}

.item-customer img:hover+span {
    opacity: 1;
    -webkit-transform: translateY(-5px) scale(1);
    -moz-transform: translateY(-5px) scale(1);
    -ms-transform: translateY(-5px) scale(1);
    transform: translateY(-5px) scale(1);
}

.name-customer {
    background-color: #1E1E24;
    text-align: center;
    position: absolute;
    top: -35px;
    padding: 5px 12px;
    border-radius: 2px;
    transform: translateY(5px) scale(.8);
    -webkit-transform: translateY(5px) scale(.8);
    -moz-transform: translateY(5px) scale(.8);
    -ms-transform: translateY(5px) scale(.8);
    -webkit-transition: transform .1s ease-in-out, opacity .1s ease-in-out;
    -moz-transition: transform .1s ease-in-out, opacity .1s ease-in-out;
    -ms-transition: transform .1s ease-in-out, opacity .1s ease-in-out;
    -o-transition: transform .1s ease-in-out, opacity .1s ease-in-out;
    transition: transform .1s ease-in-out, opacity .1s ease-in-out;
    pointer-events: none;
    opacity: 0;
    color: #FFFBFE;
    font-size: 12px;
}

.name-customer:before {
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid rgba(255, 255, 255, 0);
    border-top-color: #1E1E24;
    bottom: -10px;
    right: 0;
    left: 0;
    margin: 0 auto;
    content: '';
}

.item-customer:nth-child(1) {
    top: 2%;
    left: 2%;
}

.item-customer:nth-child(2) {
    top: 21%;
    left: 11%;
}

.item-customer:nth-child(3) {
    top: 5%;
    left: 22%;
}

.item-customer:nth-child(4) {
    left: 35%;
    top: 0;
}

.item-customer:nth-child(5) {
    left: 24%;
    top: 36%;
}

.item-customer:nth-child(6) {
    left: 39%;
    top: 30%;
}

.item-customer:nth-child(7) {
    left: 50%;
    top: 3%;
}

.item-customer:nth-child(8) {
    left: 61%;
    top: 14%;
}

.item-customer:nth-child(9) {
    left: 51%;
    top: 40%;
}

.item-customer:nth-child(10) {
    right: 18%;
    top: 2%;
}

.item-customer:nth-child(11) {
    right: 26%;
    top: 44%;
}

.item-customer:nth-child(12) {
    right: 13%;
    top: 33%;
}

.item-customer:nth-child(13) {
    right: 4%;
    top: 9%;
}

.item-customer:nth-child(14) {
    left: 5%;
    top: 48%;
}

.item-customer:nth-child(15) {
    left: 16%;
    top: 59%;
}

.item-customer:nth-child(16) {
    left: 33%;
    bottom: 19%;
}

.item-customer:nth-child(17) {
    left: 45%;
    bottom: 8%;
}

.item-customer:nth-child(18) {
    left: 58%;
    bottom: 0;
}

.item-customer:nth-child(19) {
    right: 17%;
    bottom: 10%;
}

.intro-course h2, .intro-course p {
    color: #fff;
    line-height: 32px;
}

/* ----------
media queries
------------ */
@media (max-width:576px) {
    .service-course {
        padding: 0;
    }
}

@media (max-width:448px) {
    .bg-img-course {
        border-radius: 0 0 5% 5%;
    }

    h2.heading-course, .bg-img-course h1 {
        font-size: 22px;
    }
}

@media (max-width:425px) {
    .img-course, .content-course, .call-btn-course {
        width: 100%;
    }

    .answer-faq-card {
        flex-wrap: wrap;
    }

    .call-course {
        margin-bottom: 2rem;
    }
}

@media (max-width:650px) {
    .wrapper-customer {
        overflow: hidden;
    }

    .logo-customer {
        display: inline-flex;
        height: auto;
    
        animation: run-customers-logo 100s linear infinite;
    }

    .item-customer {
        position: initial;
        margin: 0 5px;
    }

    @keyframes run-customers-logo{
        0% {
            transform: translateX(-100px);
        }

        50% {
            transform: translateX(1700px);
        }

        100% {
            transform: translateX(-100px);
        }
    }
}

.accordion input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion {
    margin-bottom: 16px;
}

.accordion:last-child {
    margin-bottom: 0;
}

.accordion-label {
    display: flex;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    background: #ffffff;
    cursor: pointer;
    padding: 25px 22px;
    cursor: pointer;
    -webkit-box-shadow: 0px 4px 27px rgb(108 125 148 / 12%);
    box-shadow: 0px 4px 27px rgb(108 125 148 / 12%);
    border-radius: 12px;
    -webkit-transition: all ease .2s;
    transition: all ease .2s;
}
.accordion-label:hover {
    background: #0048aa;
    color: #fff;
}
.accordion-label:hover p{
    color: #fff;
}
.accordion-label::after {
    content: "\276F";
    width: 16px;
    height: 16px;
    text-align: center;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.accordion-content {
    padding: 0 16px;
    background: white;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: none;
}

.accordion-content p {
    margin: 0;
}

input:checked+.accordion-label {
    background: #0048aa;
    color: #fff;
}
input:checked+.accordion-label p{
    color: #fff;
}
input:checked+.accordion-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    color: #fff;
}
input:checked~.accordion-content {
    padding: 16px;
    display: block;
}
