/* in the name of Allah */

#page-title {
    /*background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/about.jpg);*/
    /*background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url(../img/about.jpg);*/
    /*background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/about.jpg);*/
    /*background-position: center;*/
    /*background-size: cover;*/
    background-color: #4d4d4d;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='84' viewBox='0 0 84 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b3b3b' fill-opacity='0.4'%3E%3Cpath d='M84 23c-4.417 0-8-3.584-8-7.998V8h-7.002C64.58 8 61 4.42 61 0H23c0 4.417-3.584 8-7.998 8H8v7.002C8 19.42 4.42 23 0 23v38c4.417 0 8 3.584 8 7.998V76h7.002C19.42 76 23 79.58 23 84h38c0-4.417 3.584-8 7.998-8H76v-7.002C76 64.58 79.58 61 84 61V23zM59.05 83H43V66.95c5.054-.5 9-4.764 9-9.948V52h5.002c5.18 0 9.446-3.947 9.95-9H83v16.05c-5.054.5-9 4.764-9 9.948V74h-5.002c-5.18 0-9.446 3.947-9.95 9zm-34.1 0H41V66.95c-5.053-.502-9-4.768-9-9.948V52h-5.002c-5.184 0-9.447-3.946-9.95-9H1v16.05c5.053.502 9 4.768 9 9.948V74h5.002c5.184 0 9.447 3.946 9.95 9zm0-82H41v16.05c-5.054.5-9 4.764-9 9.948V32h-5.002c-5.18 0-9.446 3.947-9.95 9H1V24.95c5.054-.5 9-4.764 9-9.948V10h5.002c5.18 0 9.446-3.947 9.95-9zm34.1 0H43v16.05c5.053.502 9 4.768 9 9.948V32h5.002c5.184 0 9.447 3.946 9.95 9H83V24.95c-5.053-.502-9-4.768-9-9.948V10h-5.002c-5.184 0-9.447-3.946-9.95-9zM50 50v7.002C50 61.42 46.42 65 42 65c-4.417 0-8-3.584-8-7.998V50h-7.002C22.58 50 19 46.42 19 42c0-4.417 3.584-8 7.998-8H34v-7.002C34 22.58 37.58 19 42 19c4.417 0 8 3.584 8 7.998V34h7.002C61.42 34 65 37.58 65 42c0 4.417-3.584 8-7.998 8H50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 3rem 0;
    border-bottom-left-radius: var(--section-br);
    border-bottom-right-radius: var(--section-br);
}
#page-title h1 {
    margin: 0;
    text-align: center;
    font-weight: 900;
    color: var(--text-light);
    font-size: 2.5rem;
    text-shadow: 0 3px 6px #0000008c;
}
/* ==================================== */
.text-mc-bold {
    font-weight: 500;
    color: var(--main-color);
}
/* ==================================== */
#welcome .section-img {
    width: 100%;
    min-height: 300px;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: background-position 12s linear;
}
#welcome .section-img:hover {
    background-position: bottom;
}
#welcome img, #what-we-do img, #our-mission img {
    border-radius: var(--border-radius);
}
/* ==================================== */
#our-mission {
    background-color: var(--main2-color);
}
#our-mission figure {
    margin: 0; overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
}
#our-mission figure video {
    display: block;
    width: 100%;
}
#our-mission .overlay {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), url(../img/card-img.jpg);
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url(../img/card-img.jpg);
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), url(../img/card-img.jpg);
    background-position: center; background-size: cover;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
#our-mission .overlay i {
    font-size: 4rem;
    color: var(--main-color);
    cursor: pointer;
    -webkit-transition-duration: var(--tr-du);
         -o-transition-duration: var(--tr-du);
            transition-duration: var(--tr-du);
}
#our-mission .overlay i:hover {
    color: var(--text-light);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
/* ==================================== */
#our-team .card, #our-customers .card {
    border-radius: var(--border-radius);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    border: 0; overflow: hidden;
    user-select: none;
}
#our-team .card *, #our-team .card::after {
    -webkit-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
}
#our-team .card::before {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    background-color: var(--main2-color);
    border-radius: 50%;
    top: -160%; left: 50%;
    z-index: 1;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
#our-team .card::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background-color: var(--main-color);
    top: 0; left: 0;
    z-index: 0;
    border-radius: var(--border-radius);
    clip-path: circle(0 at 50% 50%);
    /*-webkit-transform: scale(0);*/
    /*-ms-transform: scale(0);*/
    /*transform: scale(0);*/
}
#our-team .card .card-body {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 2;
}
#our-team .card .avatar {
    width: 150px; height: 150px;
    background-position: center;
    background-size: cover;
    border-radius: 200rem;
    border: 5px solid var(--main2-color);
    margin-bottom: 1rem;
}
#our-team .card .name {
    font-weight: bold;
    margin-bottom: 0;
}
#our-team .card small {
    color: var(--main-color);
    margin-bottom: 2rem;
    position: relative;
    font-weight: 500;
}
#our-team .card small::after {
    content: '';
    position: absolute;
    top: 150%;
    left: calc(50% - 15px);
    width: 30px; height: 1px;
    background-color: var(--main-color);
}
#our-team .dark-icon:not(:last-child) {
    margin-left: 15px;
}
#our-team .card:hover::after {
    clip-path: circle(71% at 50% 50%);
    /*-webkit-transform: scale(1.1);*/
    /*-ms-transform: scale(1.1);*/
    /*transform: scale(1.1);*/
}
#our-team .card:hover .name, #our-team .card:hover small {
    color: var(--text-light);
}
#our-team .card:hover small::after {
    background-color: var(--main2-color);
}
#our-team .card:hover .dark-icon {
    background-color: var(--text-light);
}
.dark-icon:hover {
    background-color: var(--main2-color) !important;
}
/* ==================================== */
#our-customers .card, #our-customers .card * {
    -webkit-transition-duration: var(--tr-du);
         -o-transition-duration: var(--tr-du);
            transition-duration: var(--tr-du);
}
#our-customers .card .card-body {
    height: 120px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
#our-customers .card .card-body img {
    max-width: 100%; max-height: 100%;
}
/* ==================================== */

/* ============== medias ============== */
@media (min-width:1200px) {
    main .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    #page-title h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-weight: bold;
    }
    p {
        line-height: 1.8;
    }
    /*#our-customers .card {*/
    /*    -webkit-box-shadow: none;*/
    /*    box-shadow: none;*/
    /*    border: 1px solid var(--bc);*/
    /*}*/
    #our-customers .card img {
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
        opacity: 0.5;
    }
    #our-customers .card .card-body {
        height: 150px;
    }
    #our-customers .card:hover {
        -webkit-box-shadow: var(--box-shadow-hover);
                box-shadow: var(--box-shadow-hover);
    }
    #our-customers .card:hover img {
        -webkit-filter: grayscale(0);
                filter: grayscale(0); opacity: 1;
    }
}