/********** Template CSS **********/
:root {
    /* Fonts */
    --font-default: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: 'Source Sans Pro', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    --primary: #855d9c;
    --secondary: #2d85bb;
    --light: #efebf3;
    --dark: #07000c;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #54a6d5 !important;
}
.form-select option {
    padding: 6px !important;
}
.form-floating > .form-select {
    background: #fff !important;
}
.fas.fa-ddl {
    position: absolute !important;
    top: 30% !important;
    right: 4% !important;
}
/*--------------------------------------------------------------
# Arabic font
--------------------------------------------------------------*/
.font-ar-bold {
    font-family: 'DroidArabicKufi-Bold' !important;
}
.font-ar {
    font-family: 'DroidArabicKufi' !important;
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
    border-radius: 8px;
    overflow: hidden;
}

    .services .img img {
        transition: 0.6s;
    }

.services .details {
    /*min-height: 325px;*/
    min-height: 417px !important;
    padding: 50px 30px;
    margin: -100px 30px 0 30px;
    transition: all ease-in-out 0.3s;
    background: var(--light);
    position: relative;
    background: rgba(255,255,255, 0.9);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0 25px rgba(0,0,0, 0.1);
}

    .services .details .icon {
        margin: 0;
        width: 72px;
        height: 72px;
        background: var(--primary);
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        color: var(--light);
        font-size: 28px;
        transition: ease-in-out 0.3s;
        position: absolute;
        top: -36px;
        left: calc(50% - 36px);
        border: 6px solid var(--light);
    }

    .services .details h3 {
        color: var(--color-default);
        font-weight: 700;
        margin: 10px 0 15px 0;
        font-size: 22px;
        transition: ease-in-out 0.3s;
    }

    .services .details p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

.services .service-item:hover .details h3 {
    color: var(--color-primary);
}

.services .service-item:hover .details .icon {
    background: var(--light);
    border: 2px solid var(--primary);
}

    .services .service-item:hover .details .icon i {
        color: var(--primary);
    }

.services .service-item:hover .img img {
    transform: scale(1.2);
}
.position-relative {
    position: relative !important;
}
/*---------------------------------------------------*/
.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.54rem;
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    /* color: var(--bs-badge-color); */
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
    background-color: #ddcee5;
}
/*.footer .btn-check:focus + .btn, .footer .btn.btn-link:focus, .footer .btn.btn-link:hover, .footer .btn.btn-link:where(:hover), .footer .btn.btn-link:has(:hover), .footer .btn.btn-link:is(:hover) {
    outline: 0;
    box-shadow: none !important;
    border: none !important;
    border:0px !important;
}*/
.text-purple {
    color: #5e2f69;
}
.p-text {
    /*color: #63546c !important;*/
    color: #3e3543 !important;
}
.btn-primary {
    color: #fff;
    background-color: #855d9c;
    border-color: #9468b5;
}
.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
/*    color: #fff;
*/}
.bg-primary {
    background-color: #9d8cc1 !important;
}
.bg-home-primary {
    /*background-color: #2e4e8e !important;  old by me */
    /* suggested 1*/
    background-color: #c3b7dd !important; 
/**/    /*background-color: #D7C9E8 !important;*/
    /*  background-color: #c2a7d1 !important; /* suggested-2*/
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 90px;
    z-index: 99;
}
    .back-to-top i, .move-to-bottom  i{
        color: white !important;
    }
.move-to-bottom {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

    .btn-primary:hover , .btn-secondary:hover, a.btn-primary:hover ,a.btn-secondary:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, .5);
        color: #fff !important;
    }

.btn-square {
    width: 38px;
    height: 38px;
    color: var(--primary) !important;
}
.btn-square:hover {
 color: var(--secondary) !important;
}
.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: 'OpenSans-Bold';
    
    /*    font-family: 'Jost', sans-serif;
*/
    font-size: 18px;
    font-weight: 500;
/*    color: var(--light) !important;
*/    outline: none;
    transition: .5s;
}
.navbar-light .navbar-nav  {
    /*padding: 20px 0;*/
/*      background-color: var(--dark) ;
*/}
.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
/*    color: var(--dark) !important;
*/}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}
.navbar-light .navbar-brand img.logo {
  display: block; 
}

.navbar-light .navbar-brand img.logo-mb {
     display: none; 
}
.navbar-light .navbar-brand img {
    max-height: 120px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 100px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: rgba(0,0,0,0.55)  !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 75px;
        width: 85px;
    }
        .navbar-light .navbar-brand img.logo {
            display: none;
        }

        .navbar-light .navbar-brand img.logo-mb {
            display: block;
        }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    /*    .page-header-container {
        background-color: #395388;
    }*/
    .sticky-top.navbar-light {
        position: fixed;
        background: #eae5f0;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
    .sticky-top.navbar-light .navbar-brand img.logo {
        display: none;
    }
    .sticky-top.navbar-light .navbar-brand img.logo-mb {
        display: block;
    }
    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: #fff;
        background: #9365ad;
    }

    .sticky-top.navbar-light .btn {
        color: var(--light);
        background: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 2rem;
    padding: 18rem 0;
    padding: 10rem 0 12rem 0;
    background: url(../img/blob-top-left.png), url(../img/blob-top-right.png), url(../img/blob-bottom-left.png), url(../img/blob-bottom-right.png), url(../img/blob-center.png), url(../img/bg-bottom.png);
    background-position: left 0px top 0px, right 0px top 0px, left 0px bottom 0px, right 0px bottom 0px, center center, center bottom;
    background-repeat: no-repeat;
    background-size: auto auto, auto auto, auto auto, auto auto, auto auto, 100% auto; /* Adjust this value */
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
/*    text-transform: uppercase;
*/}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px;
}

.section-title span:last-child::after {
    right: auto;
    left: -20px;
}

    .section-title.text-primary span:first-child,
    .section-title.text-primary span:last-child,
    .section-title.text-primary span:first-child::after,
    .section-title.text-primary span:last-child::after {
        background: #53b2d4;
        /*var(--primary);*/
    }

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Service ***/
/*.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}*/
/*
.service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary1.png) center center no-repeat;
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}
*/

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 34, 204, .9);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background: url(../img/bg-top.png), url(../img/map.png);
    background-position: center top, center center;
    background-repeat: no-repeat;
    background-size: 100% auto,auto auto, auto auto, auto auto, auto auto, auto auto /* Adjust this value */;
}

    .footer .btn.btn-social {
        margin-right: 5px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light);
        border: 1px solid rgba(256, 256, 256, .1);
        border-radius: 40px;
        transition: .3s;
    }

        .footer .btn.btn-social:hover {
            color: var(--primary);
        }

    .footer .btn.btn-link {
        display: block;
        margin-bottom: 10px;
        padding: 0;
        text-align: left;
        color: var(--light);
        font-weight: normal;
        transition: .3s;
    }

        .footer .btn.btn-link::before {
            position: relative;
            content: "\f105";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-right: 10px;
        }

        .footer .btn.btn-link:hover {
            letter-spacing: 1px;
            box-shadow: none;
            color: var(--secondary);
        }

    .footer .copyright {
        padding: 25px 0;
        font-size: 14px;
        border-top: 1px solid rgba(256, 256, 256, .1);
    }

        .footer .copyright a {
            color: var(--light);
        }

    .footer .footer-menu a {
        margin-right: 15px;
        padding-right: 15px;
        border-right: 1px solid rgba(255, 255, 255, .1);
    }

        .footer .footer-menu a:last-child {
            margin-right: 0;
            padding-right: 0;
            border-right: none;
        }

        .footer .copyright a:hover,
        .footer .footer-menu a:hover {
            color: var(--secondary);
        }
    .footer p, .footer .btn {
        font-size: 14px !important;
    }

    .footer .btn-check:focus + .btn, .btn:focus {
        outline: 0;
        box-shadow: none !important;
    }
.user-action {
    color: var(--secondary) !important;
}

.required-star {
    color: red !important; /* You can change the color of the star */
    margin-left: 2px; /* Adjust spacing as needed */
}
.user-action {
    color: var(--secondary) !important;
}

.user-menu {
    /*padding: 1em 1em;*/
    color: var(--primary) !important;
}

    .user-menu a:hover, .user-menu :active {
        color: var(--secondary) !important;
    }

.navbar .navbar-collapse .header-notification .profile-notification {
    width: 17em !important;
}

    .navbar .navbar-collapse .header-notification .show .profile-notification > .dropdown-item:hover,
    .navbar .navbar-collapse .header-notification .show .profile-notification > .dropdown-item:focus,
    .navbar .navbar-collapse .header-notification .profile-notification > .dropdown-item:active {
        color: var(--secondary) !important;
        background-color: #e9ecef !important
    }

.navbar .navbar-collapse .header-notification .show .profile-notification {
    background: #fff !important;
    -webkit-box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.25) !important;
    border-radius: 5px !important;
    opacity: 1 !important;
    position: absolute !important;
    right: 0 !important;
    visibility: visible;
    width: 24rem !important;
    top: -2px !important;
    display: none;
    padding: 15px 0 !important;
    -webkit-transform: translateY(20px) !important;
    transform: translateY(20px) !important;
}

    .navbar .navbar-collapse .header-notification .show .profile-notification:before {
        content: "";
        border: 10px solid transparent;
        border-left-color: #fff;
        border-top-color: #fff !important;
        position: absolute !important;
        border-radius: 5px;
        bottom: -32px !important;
        right: 20px;
        -webkit-box-shadow: -11px -11px 35px 0 rgba(0, 0, 0, 0.25);
        box-shadow: -11px -11px 35px 0 rgba(0, 0, 0, 0.25);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 9;
    }

.navbar .navbar-collapse .header-notification .profile-notification.show a {
    line-height: initial !important;
    padding: 1em 20px 1em 25px !important;
    width: 100% !important;
    -webkit-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
    color: #455a64;
}

.navbar .navbar-collapse .header-notification .show .profile-notification .dropdown-item:active, .navbar .navbar-collapse .header-notification .show .profile-notification a:hover, .navbar .navbar-collapse .header-notification .show .profile-notification a:active {
    background-color: #e9ecef !important;
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent !important;
}