/**  Modals (تجربيبي) **/
.form-label {
    font-weight: bold;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    width: 100%;
}
.plus-button {
    display: flex;
    align-items: center;
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: "Open Sans", sans-serif;
    border-radius: 5px;
}

.plus-button:hover {
    background-color: #2196f3;
    color: white;
}

.plus-icon {
    margin-right: 10px;
    /* Adjust the spacing between icon and text */
    margin-left: 5px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.modal-header.first {
    position: relative;
}

.btn-close.first {
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 1;
}
.plus-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 1s, color 1s;
}

button.plus-button {
    outline: none;
    border: none;
}

.plus-button:hover {
    background-color: #2196f3;
    color: white;
}

/** **/





/*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-head {
    margin-top: 8rem;
}

.trainer-name {
    margin-top: -2rem;
}
.section-trainer .trainer{
    width: 13rem !important;
    height: 13rem !important;
}

.section-trainer .trainer_1{
    width: 2.5rem !important;
    height: 2.5rem !important;
}
.section-trainer {
    border: 1px solid #ffff;
    border-radius: 20px;
    margin-top: 7rem;
    background-color: var(--main-color);
    color: white;
}

.section-trainer .image-trainer {
    width: 180px;
    height: 180px;
}

.section-trainer .image-trainer img {
    margin-top: -70px;
}

.section-trainer .img-branch {
    width: 36px;
    height: 36px;
    margin-left: 8px;
}

.section-2 .list {
    background-color: rgba(216, 228, 246, 0.28);
    border-radius: 10px;
    padding: 0px 40px;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
}

.section-2 .list li {
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 500;
}

.section-2 .list li a {
    color: var(--main-color);
}

.section-2 .month {
    font-size: 15px;
    background-color: #f4f5fe;
    /* width: fit-content; */
    border: 1px solid #425feb;
    color: #425feb;
    padding: 11px 10px 11px 39px;
}

/* css script */
.section-2 .nav-link {
    color: #707070;
}

.section-2 .tab_active {
    color: var(--main-color);
    position: relative;
}

.section-2 .tab_active::before {
    content: "";
    position: absolute;
    bottom: -11px;
    right: 13px;
    width: 83%;
    height: 2px;
    background-color: var(--main-color);
}

.section-2 .nav-link.tab {
    position: relative;
}

.section-2 .nav-link.tab:hover {
    color: var(--main-color);
}

.section-2 .nav-link.tab:hover::before {
    content: "";
    position: absolute;
    bottom: -11px;
    right: 8px;
    width: 85%;
    height: 2px;
    background-color: var(--main-color);
}

.section-2 .content_active {
    display: block !important;
}

.section-2 .content {
    display: none;
}

/*css script*/

.section-2 .about-trainer {
    color: #707070;
}

.section-2 .group {
    color: var(--main-color);
    font-size: 23px;
    font-weight: 500;
    border-bottom: 2px solid var(--second-main-color);
    width: fit-content;
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.row.mt-4.row-section1 {
    margin: 1rem 0rem;
}

.p-2.rounded-3.biography {
    background-color: rgb(196 196 196 / 27%);
    color: #084298;
}

/* media queries */

@media (max-width: 576px) {
    .section-2 ul.list {
        display: block !important;
    }

    .section-2 .d-flex.align-items-center.gap-4.group_lessons {
        display: block !important;
        gap: 0;
    }

    .mt-5.d-flex.align-items-center.socials {
        display: block !important;
        margin-top: 1rem;
    }

    .contact-by {
        margin-bottom: 1rem;
    }

    .col-section-1 .d-flex.align-items-center {
        align-items: start !important;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .section-2 .d-flex.align-items-center.gap-4.group_lessons {
        display: block !important;
        gap: 0;
    }

    .section-2 ul.list {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1400px) {
    .row.mt-4.row-section1 {
        display: block;
        width: fit-content;
        margin: 1rem 1rem;
    }

    .col-lg-6.mb-4.col-section-1 {
        width: 100%;
        padding: 0;
        margin-bottom: 1.5rem;
    }
}

/* section-2 */
.section-2 .box .add-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-2 .box .add-card button {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.section-2 .box .add-card button:hover {
    background-color: var(--second-main-color);
}
.section-2 .box{
    overflow: hidden;
}
.section-2 .box .conten p.p-7 {
    font-size: 14px;
    margin: 9px 0;
}

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

.section-2 .box .conten .span-1 {
    font-size: 14px;
    margin-right: 5px;
}

.section-2 .box .conten p.mb-0.p-8 {
    font-size: 18px;
    color: var(--main-color);
    font-weight: bold;
}

.section-2 .box .conten {
    background-color: #f9f9f9;
    padding: 1px 17px 10px 9px;
}

.section-2 .box .image {
    width: 100%;
    height: 220px;
}

@media (max-width: 575.98px) {
    .section-2 .box .image {
        height: 300px;
    }
}

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

/* before in the courses */
.section-2 .box .before {
    background-color: #ffffff;
    padding: 20px;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    right: -100%;
    transition: 0.5s;
}

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

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

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

.section-2 .box .before p.p-9 {
    font-size: 13px;
    color: #575757;
}

.section-2 .box .before p.p-10 {
    font-size: 13px;
    color: #000000;
}

.section-2 .box .before p.p-11 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #707070;
}

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

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

@media (max-width: 575.98px) {
    .section-2 .box .before .know {
        margin-top: 20px;
    }
}

.section-2 .box .before .a-1 {
    text-decoration: none;
    color: white;
    background-color: var(--main-color);
    text-align: center;
    width: 7rem;
    margin: auto;
    border-radius: 2rem;
    font-size: 12px;
    line-height: 1.9;
    margin-top: 2.1rem;
    border-color: var(--main-color);
}

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


/* section-2 */
/* Communication */
.Communication .fb-img img {
    position: fixed;
    bottom: 70px;
    left: 35px;
    width: 40px;
    z-index: 100000;
}

.Communication .what-img img {
    position: fixed;
    bottom: 20px;
    left: 35px;
    width: 40px;
    z-index: 100000;
}

/* Communication */


.cardElement{
    position: relative;
}
a.btn.cancel {
    position: absolute;
    left: 13px;
    top: 2px;
    font-size: 17px;
    color: black;
    box-shadow: 0 0 5px 0px #0268e7;
}
a.btn.cancel:hover,
a.btn.cancel-1:hover{
    color: red;
}
a.btn.cancel-1{
    font-size: 17px;
    color: black;
    box-shadow: 0 0 5px 0px #0268e7;
}
.number.mt-3 {
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
}
.cvElement {
    display: flex;
    justify-content: space-between;
}
.operations {
    position: absolute;
    bottom: 0;
    left: 0;
}
.section-2 .month {
    font-size: 15px;
    background-color: #f4f5fe;
    /* width: fit-content; */
    border: 1px solid #425feb;
    color: #425feb;
    padding: 11px 10px 11px 89px;
}
a.btn.mb-2.edit {
    position: absolute;
    left: 57px;
    top: 2px;
    font-size: 17px;
    color: black;
    box-shadow: 0 0 5px 0px #0268e7;
}
