nav.navbar ul li a.active-1 {
    color: var(--yallow-color) !important;
}
/*main-title*/
h4.main-title {
    border: 1px solid black;
    width: fit-content;
    z-index: 1;
}

h4.main-title::before,
h4.main-title::after {
    content: "";
    background-color: #2196f3;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

h4.main-title::before {
    left: -18%;
}

h4.main-title::after {
    right: -18%;
}

h4.main-title:hover:before {
    animation: left-to-right 0.7s linear forwards;
}

@keyframes left-to-right {
    50% {
        left: 0;
        height: 12px;
        width: 12px;
    }

    100% {
        left: 0;
        height: 100%;
        width: 50%;
        border-radius: 0;
        z-index: -1;
    }
}

h4.main-title:hover {
    color: white;
    border: 1px white solid;
    transition-delay: 0.7s;
}

h4.main-title:hover::after {
    animation: right-to-left 0.7s linear forwards;
}

@keyframes right-to-left {
    50% {
        right: 0;
        height: 12px;
        width: 12px;
    }

    100% {
        right: 0;
        height: 100%;
        width: 50%;
        border-radius: 0;
        z-index: -1;
    }
}

/*main-title*/
/* section-1 */
.section-1 {
    margin-top: 8rem;
  }

/* section-2 */
/* only section 3*/
.section-2 {
    background-color: #82a8da4d;
}

.section-3 {
    padding-bottom: 6rem;
}

.section-7 {
    background-color: #f7f8fa;
}

/* only section 3*/

.section-2 .div-1,
.section-3 .div-1,
.section-7 .div-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-2 .p-77,
.section-3 .p-77,
.section-7 .p-77 {
    padding: 7px 10px 7px 10px;
    background-color: var;
    color: white;
    background-color: var(--main-color);
    color: white;
    border-radius: 10px;

}

.section-2 .a-1,
.section-3 .a-1,
.section-7 .a-1 {
    color: #484848c4;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.section-2 .a-1:hover,
.section-3 .a-1:hover,
.section-7 .a-1:hover {
    color: var(--main-color);
}

.section-2 .box .content p.p-7,
.section-3 .box .content p.p-7,
.section-7 .box .content p.p-7 {
    font-size: 14px;
    margin: 9px 0;
}

.section-2 .box .content img.weman-1,
.section-3 .box .content img.weman-1,
.section-7 .box .content img.weman-1 {
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
}

.section-2 .box .content .span-1,
.section-3 .box .content .span-1,
.section-7 .box .content .span-1 {
    font-size: 14px;
    margin-right: 5px;
}

.section-2 .box .content p.mb-0.p-8,
.section-3 .box .content p.mb-0.p-8,
.section-7 .box .content p.mb-0.p-8 {
    font-size: 15px;
    color: var(--main-color);
    font-weight: bold;
}

.section-2 .box .content,
.section-3 .box .content,
.section-7 .box .content {
    background-color: #f9f9f9;
    padding: 1px 9px 10px 9px;
}

.section-2 .box .image,
.section-3 .box .image,
.section-7 .box .image {
    width: 100%;
    height: 210px;
}

@media (max-width: 575.98px) {

    .section-2 .box .image,
    .section-3 .box .image,
    .section-7 .box .image {
        height: 230px;
    }
}

.section-2 .box .image img,
.section-3 .box .image img,
.section-7 .box .image img {
    width: 100%;
    height: 100%;
}

.section-2 .icon .arrow-right,
.section-3 .icon .arrow-right,
.section-7 .icon .arrow-right {
    position: absolute;
    top: 57%;
    right: 30px;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 18px;
    background-color: #0000009e;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    width: 0.6rem !important;
    height: 1.1rem !important;
    z-index: 22;
}

@media (max-width: 575.98px) {

    .section-2 .icon .arrow-right,
    .section-3 .icon .arrow-right,
    .section-7 .icon .arrow-right {
        top: 62%;
        right: 0;
    }

    .section-2 .icon .arrow-left,
    .section-3 .icon .arrow-left,
    .section-7 .icon .arrow-left {
        top: 62% !important;
        left: 0 !important;
    }
}

.section-2 .icon .arrow-right:hover,
.section-2 .icon .arrow-left:hover,
.section-3 .icon .arrow-right:hover,
.section-3 .icon .arrow-left:hover,
.section-7 .icon .arrow-right:hover,
.section-7 .icon .arrow-left:hover {
    background-color: var(--main-color);
    color: white;
}

.section-2 .icon .arrow-left,
.section-3 .icon .arrow-left,
.section-7 .icon .arrow-left {
    position: absolute;
    top: 57%;
    left: 30px;
    padding: 12px 15px !important;
    border-radius: 50%;
    font-size: 18px;
    background-color: #0000009e;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    width: 0.6rem !important;
    height: 1.1rem !important;
    z-index: 22;
}

.section-2 .slider,
.section-3 .slider,
.section-7 .slider {
    height: 25rem;
    /* IN THE END */
    overflow: hidden;
    /* margin-bottom: -75px; */
}

.section-2 .slide,
.section-3 .slide,
.section-7 .slide {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1s;
}

/* before in the courses */
.section-2 .box,
.section-3 .box,
.section-7 .box {
    overflow: hidden;
    box-shadow: 0px 5px 20px rgb(0 0 0 / 13%);
    border: 1px solid #13325b4a;
    border-radius: 20px;
}

.section-2 .box .before,
.section-3 .box .before,
.section-7 .box .before {
    background-color: #ffffff;
    padding: 10px;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    right: -100%;
    transition: 0.5s;
}

.section-2 .box:hover .before,
.section-3 .box:hover .before,
.section-7 .box:hover .before {
    right: 0;
}

.section-2 .box .before p.p-7,
.section-3 .box .before p.p-7,
.section-7 .box .before p.p-7 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 7px;
}

.section-2 .box .before p.p-8,
.section-3 .box .before p.p-8,
.section-7 .box .before p.p-8 {
    font-size: 13px;
    color: green;
    margin-bottom: 5px;
}

.section-2 .box .before p.p-9,
.section-3 .box .before p.p-9,
.section-7 .box .before p.p-9 {
    font-size: 13px;
    color: #575757;
    margin-bottom: 7px;
}

.section-2 .box .before p.p-10,
.section-3 .box .before p.p-10,
.section-7 .box .before p.p-10 {
    font-size: 13px;
    color: #000000;
    margin-bottom: 7px;
}

.section-2 .box .before p.p-11,
.section-3 .box .before p.p-11,
.section-7 .box .before p.p-11 {
    margin-bottom: 2px;
    font-size: 12px;
    color: #707070;
}

.section-2 .box .before svg.svg-inline--fa.fa-check,
.section-3 .box .before svg.svg-inline--fa.fa-check,
.section-7 .box .before svg.svg-inline--fa.fa-check {
    color: black;
}

.section-2 .box .before .know,
.section-3 .box .before .know,
.section-7 .box .before .know {
    display: flex;
    margin-top: -24px;
}

@media (max-width: 575.98px) {

    .section-2 .box .before .know,
    .section-3 .box .before .know,
    .section-7 .box .before .know {
        margin-top: 20px;
    }

    .section-2 .box .before .a-1,
    .section-3 .box .before .a-1,
    .section-7 .box .before .a-1 {
        font-size: 12px !important;
        width: 7rem !important;
    }
}

.section-2 .box .before .a-1,
.section-3 .box .before .a-1,
.section-7 .box .before .a-1 {
    text-decoration: none;
    color: white;
    background-color: var(--main-color);
    text-align: center;
    width: 6rem;
    margin: auto;
    border-radius: 2rem;
    font-size: 10px;
    line-height: 1.9;
    margin-top: 2.1rem;
    box-shadow: none !important;
    border-color: var(--main-color);
    font-weight: bold;
}

.section-2 .box .before .a-1:hover,
.section-3 .box .before .a-1:hover,
.section-7 .box .before .a-1:hover {
    background-color: var(--second-main-color);
}

/* before in the courses */
/* section-2 */

/* to first slider */
div#carouselExampleIndicators {
    margin-top: 5.2rem;
}

.carousel-indicators {
    direction: ltr;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: var(--main-color);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--main-color);
}

img.d-block.w-100 {
    height: 35.3rem;
}

@media (max-width: 991.98px) {
    img.d-block.w-100 {
        height: 30rem;
    }
}

@media (max-width: 767.98px) {
    img.d-block.w-100 {
        height: 18rem !important;
    }
}

@media (max-width: 575.98px) {
    img.d-block.w-100 {
        height: 14rem !important;
    }
}

