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

body {
    background-color: #f5f5f5;
}

.div-space {
    padding-top: 64px;
    padding-bottom: 64px;
}

.title-h3-section {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #1e1e1e;
    margin-bottom: 0.5rem;
}

.title-p-section {
    font-weight: 400;
    line-height: 1.5;
    color: #4e4e4e;
    margin-bottom: 1rem;
}

.underline-title-section {
    width: 40px;
    height: 5px;
    background-color: #0d6efd;
    margin: 0 auto;
}

/* start nav style */
.bg-black {
    background-color: #000;
}

.bg-mainSite {
    background-color: #0d6efd !important;
}

.navbar {
    z-index: 333 !important;
}

.nav-item {
    position: relative;
}

.dropdown-font {
    font-size: 16px;
    font-weight: 600;
}

.dropdown {
    border: none;
}

.nav-item a {
    font-size: 16px;
    font-weight: 600;
}

.underline-li-nav {
    position: absolute;
    bottom: 0px;
    right: 15px;
    height: 3px;
    background-color: #0d6efd;
    opacity: 0;
    transition: opacity 2s;
}

.nav-link {
    color: #0d6efd !important;
}

.nav-item:hover .underline-li-nav {
    opacity: 1;
}

/* end nav style */
/* start home style */
.bg-image-background {
    background-image: url(../image/intro-bg.jpg);
    background-size: cover;
    width: 100%;

}

.cover-home {
    top: 0;
    left: 0;
    z-index: 60;
}

.caption-home {
    z-index: 90;
}

.caption-home h1 {
    font-size: 4.5rem;
    line-height: 86.4px;
}

.change-word {
    font-size: 2.5rem;
}

.change-word::after {
    content: "";
    animation-name: move;
    animation-duration: 6.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes move {
    0% {
        content: "|";
    }

    2% {
        content: "ال|";
    }

    4% {
        content: "الم|";
    }

    6% {
        content: "المح|";
    }

    8% {
        content: "المحاس|";
    }

    10% {
        content: "المحاسب|";
    }

    12% {
        content: " المحاسبة|";
    }

    14% {
        content: "المحاسبة ال|";
    }

    16% {
        content: "المحاسبة الم|";
    }

    18% {
        content: "المحاسبة الما|";
    }

    20% {
        content: "المحاسبة المال|";
    }

    22% {
        content: "المحاسبة المالي|";
    }

    24% {
        content: "المحاسبة المالية|";
    }

    26% {
        content: "المحاسبة المالي|";
    }

    28% {
        content: "المحاسبة المال|";
    }

    30% {
        content: "المحاسبة الما|";
    }

    32% {
        content: "المحاسبة الم|";
    }

    34% {
        content: "المحاسبة ال|";
    }

    36% {
        content: "المحاسبة|";
    }

    38% {
        content: "المحاسب|";
    }

    40% {
        content: "المحاس|";
    }

    42% {
        content: "المح|";
    }

    44% {
        content: "الم|";
    }

    46% {
        content: "ال|";
    }

    48% {
        content: "|";
    }

    50% {
        content: "ال|";
    }

    52% {
        content: "الم|";
    }

    54% {
        content: "المح|";
    }

    56% {
        content: "المحاس|";
    }

    58% {
        content: "المحاسب|";
    }

    60% {
        content: " المحاسبة|";
    }

    62% {
        content: "المحاسبة ال|";
    }

    64% {
        content: "المحاسبة الإ|";
    }

    66% {
        content: "المحاسبة الإد|";
    }

    68% {
        content: "المحاسبة الإدا|";
    }

    70% {
        content: "المحاسبة الإدار|";
    }

    72% {
        content: "المحاسبة الإداري|";
    }

    74% {
        content: "المحاسبة الإدارية|";
    }

    76% {
        content: "المحاسبة الإداري|";
    }

    78% {
        content: "المحاسبة الإدار|";
    }

    80% {
        content: "المحاسبة الإدا|";
    }

    82% {
        content: "المحاسبة الإد|";
    }

    84% {
        content: "المحاسبة الإ|";
    }

    86% {
        content: "المحاسبة الإ|";
    }

    88% {
        content: "المحاسبة|";
    }

    90% {
        content: "المحاسب|";
    }

    92% {
        content: "المحاس|";
    }

    94% {
        content: "المح|";
    }

    96% {
        content: "الم|";
    }

    98% {
        content: "ال|";
    }

    100% {
        content: "|";
    }


}

@media screen and (max-width:786px) {
    .container, .container-md, .container-sm {
        max-width: 100% !important;
    }
    .caption-home h1 {
        /* font-size: 2.5rem; */
        line-height: 60px;
    }

    /* .change-word {
        font-size: 1.5rem;
    } */

    .about-img {
        padding: 0px;
    }

    .about-img .about-img-border {
        width: 360px;
        height: 440px;
        border: none;
        border-radius: 5px;
        position: relative;
    }

    .about-img .about-img-container {
        position: absolute;
        top: 0px;
        left: -75%;
        border-radius: 5px;
        position: relative;
        width: 360px;
        height: 440px;
        overflow: hidden;
    }
}

/* end home style */
/* start about style */

.about {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-img {
    padding: 60px 100px 0px;
}

.about-img .about-img-border {
    /* background-color: blueviolet; */
    width: 360px;
    height: 440px;
    border: solid 8px #0d6efd;
    border-radius: 5px;
    position: relative;
    margin-left: 60px;


}

.about-img .about-img-container {
    position: absolute;
    top: 30px;
    left: 50px;
    border-radius: 5px;
    position: relative;
    width: 360px;
    height: 440px;
    overflow: hidden;
}

.about-img .about-img-container .about-photo {
    width: 100%;
    height: 100%;
}

.about-img .about-img-container .about-cover-opacity-photo {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(91, 65, 238, 0.315);
    transition: top 1s;
}

.about-img .about-img-container:hover .about-cover-opacity-photo {
    top: 0;
}

.inf-about-li {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e1e1e;
}

.inf-about-li .inf-about-span {
    font-size: 1rem;
    font-weight: 400;
    color: #4e4e4e;
}

.about-div-h5 h5 {
    font-size: 2rem;
    color: #1e1e1e;
    font-weight: 500;
    line-height: 1.2;
    position: relative;
}

.about-div-h5 h5::after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 70px;
    height: 3px;
    background-color: #0d6efd;

}

.part2-about-p {
    font-size: 1.25rem;
    font-weight: 300;

}

/* end about style */
/* start services style */
.card-title {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    color: #1e1e1e;
    padding: .4rem 0;
}

.circle-icon {
    width: 130px;
    height: 130px;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.55;
    border: solid 10px #0078ff;
    margin: auto;
}

.card:hover .circle-icon {
    background-color: #0078ff;
    border: solid 10px #accdfa;
    color: white;
}

/* end services style */
/* start counter style */
.counter-div {
    background-image: url(../image/counters-bg.jpg);
    background-attachment: fixed;
    background-position: 100% 100%;
    background-size: cover;
    padding: 8rem 0;
}

.cover-counter {
    background-color: rgba(0, 120, 255, 0.5);
    top: 0;
    left: 0;
    z-index: 50;
}

.counter-tex-div {
    position: relative;
    z-index: 210;
}

.section-card-icon {

    width: 80px;
    height: 80px;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.55;
    border: solid 10px #cde1f8;
    margin: auto;
    color: #fff;
    margin-bottom: 1rem;
}

.counter-number {
    color: #fff;
    font-size: 2rem;
}

.counter-text {
    color: #fff;
    text-transform: uppercase;
}

/* end counter style */
/* start work style */
.container-image-work .course-img {
    transition: transform 2s;
}

.container-image-work:hover .course-img {
    transform: scale(1.5, 1.5);
}

.work-text-h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e1e1e;
    text-transform: capitalize;
    line-height: 1.5;
}

.card-text-p {
    color: #4e4e4e;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
}

.work-link {
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: #0078ff;
    border: solid 2px #0078ff;
    font-weight: 100;
}

/* end work  style */
/* start carousel style */
.cover-carousel-section {
    background-image: url(../image/overlay-bg.jpg);
    background-attachment: fixed;
    background-position: 100% 100%;
    background-size: cover;
    padding: 8rem 0;
}

.cover-counter {
    background-color: rgba(0, 120, 255, 0.5);
    top: 0;
    left: 0;
    z-index: 50;
}

.counter-tex-div {
    position: relative;
    z-index: 210;
}

.carousel-indicators {
    position: relative;
    top: 330px;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* end carousel  style */
/* start blog style */
.w-40 {
    width: 40px;
}

.h-40 {
    height: 40px;
}

.text-blog-foter {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1e1e1e
}

.blog-adress-card {
    left: 50%;
    top: -5%;
    transform: translate(-50%, 0);

}

.w-30 {
    width: 30%;
}

#blog h5 {
    transition: color 1s;
}

#blog h5:hover {
    color: #0078ff;
}

small {
    transition: color 1s;
}

small:hover {
    color: #0078ff;
}

/* end blog  style */
/* start contact style */
.button-form-contact {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    background: #0078ff;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    font-size: 1.2rem;
    border: solid 4px white;
    transition: all 0.5s;
}

.button-form-contact:hover {
    background-color: #5498e6;
    border: solid 4px #cde1f8;
}

.contact-p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #4e4e4e;
}

.contact-text-icon {
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
    color: #4e4e4e;
}

.twasol {
    font-size: 1.2rem;
    font-weight: 400;
    border-radius: 50%;
    line-height: 1.6;
    margin: 0 15px 0 0;
    box-shadow: 0 0 0 3px #0078ff;
    transition: all 0.8s;
}

.twasol:hover {
    background-color: #0078ff;
    color: #fff;
    box-shadow: 0 0 0 3px #cde1f8;
}

/* end  contact style */
/* start footer style */
.div-footerr {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #0062d3;
    color: #fff;
}

.to-up-icon {
    bottom: 40px;
    right: 35px;
    z-index: 255;
    font-size: 28px;
    background-color: #0078ff;
    color: white;

}

@media screen and (max-width:999px) {
    .container, .container-md, .container-sm {
        max-width: 100% !important;
    }
    .to-up-icon {
        display: none;
    }

    .about-img {
        padding: 0px;
    }

    .about-img .about-img-border {
        width: 360px;
        height: 440px;
        border: none;
        border-radius: 5px;
        position: relative;
    }

    .about-img .about-img-container {
        position: absolute;
        top: 0px;
        left: -75%;
        border-radius: 5px;
        position: relative;
        width: 360px;
        height: 440px;
        overflow: hidden;
    }
}

/* end footer style */

#lightsecendBox {
    background-color: rgba(91, 65, 238, 0.315);
    top: 0;
    background-size: 100% 100%;
}


#lightBoxcourses {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(0 0 0 / 63%);
    top: 0;
    visibility: hidden;
    z-index: 500;

}

.bg-black {
    background-color: #3b3939;
}

#containercourses {
    top: 0;
    left: 0;
}
