/********** Template CSS **********/
:root {
    --primary: #580881;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Open Sans", sans-serif;
    color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.display-6 {
    line-height: 1.3;
    font-size: calc(1.375rem + 1.5vw);
}

/*** 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;
}

.bg-blue {
    background-color: var(--primary);
    color: #fff;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary) !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.logo {
    width: 98px;
}

/* Border */
.border-primary {
    border-color: var(--primary) !important;
}

/* Text  */
.text-primary {
    color: var(--primary) !important;
}

/* Reset code */
.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: inherit;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* Reset and prevent scroll */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Carousel wrapper */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Owl carousel item */
.header-carousel .owl-carousel-item {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: auto !important;

    object-fit: fill;
    display: block;
}

/* Custom thumbnail dots */
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.header-carousel .owl-dot {
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
}

.header-carousel .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dot img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0.3;
    transition: 0.3s;
}

.header-carousel .owl-dot.active img {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: auto;
    }

    .header-carousel .owl-dots {
        flex-direction: row;
        width: 100%;
        height: auto;
        top: auto;
        bottom: 10px;
        right: auto;
        justify-content: center;
    }

    .header-carousel .owl-dot {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .header-carousel .owl-dot.active {
        width: 35px;
        height: 35px;
    }
}


.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.home-page-header {
    /* background-image: url(../img/whatwedo.png);
    background-repeat: no-repeat; */
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/people-taking-part-business-event.png) center center no-repeat;
    background-size: cover;
}

.page-whatwedo {
    background-image: url(../img/Whatwedo-bg.png);
    background-repeat: no-repeat;
    /* background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/whatwedo.png) center center no-repeat; */
    background-size: cover;

}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/* What we do */
.sixlevel {
    position: absolute;
    top: 0;

}

.sixlevel li {

    list-style: none;
    margin-bottom: 2rem;
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 1rem;
    left: -10rem;
}

.about-img img {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 5rem;
}

.about-img img.left {
    left: -12rem;
}

.about-img img.right {
    left: 0rem;
    right: 0rem;
    top: 5.3rem;
}

/* .about-img h1,.about-img h3 {
    margin-left: 30%;
} */

.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img-grow-left {
    position: relative;
    height: 100%;
    min-height: 128px;
}

.about-img-grow-left img {
    width: 150px;
    height: 150px;
    position: absolute;
    top: -6px;
    /* right: 13px; */
    left: 28px;

}


.feature-img img:last-child {
    margin: 20% 0 0 40%;
}


.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
/* .testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: .5s;
    background: #777777;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 10px;
    height: 10px;
    background: #580881;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 10px;
    height: 410px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #777777;
    border-radius: 10px;
    transition: .5s;
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
} */

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

/* .testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

    position: absolute;
    top: 20px;
} */
.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    /* Changed from absolute */
    top: auto;
    /* Reset top */
}


.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: .5s;
    background: #777777;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 10px;
    height: 10px;
    background: #580881;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


.testimonial-count {
    position: absolute;
    font-size: 2rem;
    font-weight: 500;
    color: #580881;

}

/* Mobile view adjustments */
@media (min-width: 480px) {
    .testimonial-count {
        top: 24%;
        left: -20px;
        font-size: 1.2rem;
    }
}

/* Tablet view adjustments */
@media (min-width: 768px) {
    .testimonial-count {
        top: 24%;
        left: -30px;
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .testimonial-count {
        top: 25%;
        left: -30px;
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .testimonial-count {
        top: 47%;
        left: -60px;
        font-size: 1.5rem;
    }
}




/*** Footer ***/
.footer {
    background-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    font-weight: normal;
    text-transform: inherit;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .footerlogo img {
    width: 120px;
}

.footer .in-icon img {
    width: 24px;
}

.footer .font-icon i {
    color: #fff;
}

.footer p {
    color: #fff;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    background-color: #fff;
    padding: 10px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #7777;
}

.footer .copyright a:hover {
    color: #7777;
}

.borderEnd {
    border-right: 1px solid #ccc;
}

/* What we do Six step */
.sixStepSetion {
    box-shadow: 0px 5px 5px 2px rgba(227, 227, 227, 1);
    -webkit-box-shadow: 0px 5px 5px 2px rgba(227, 227, 227, 1);
}

.sixStepHeader,
.sixStepHeader2,
.sixStepHeader3,
.sixStepHeader4,
.sixStepHeader5 {
    /* background-color: #580881; */
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
    background: linear-gradient(90deg, rgba(239, 37, 51, 1) 0%, rgba(189, 21, 43, 1) 21%, rgba(139, 5, 36, 1) 89%);
}

.sixStepHeader2 {
    background: linear-gradient(90deg, rgba(251, 173, 10, 1) 0%, rgba(250, 138, 14, 1) 21%, rgba(249, 84, 20, 1) 89%);
}

.sixStepHeader3 {
    background: linear-gradient(90deg, rgba(151, 243, 63, 1) 0%, rgba(127, 200, 38, 1) 21%, rgba(103, 157, 14, 1) 89%);
}

.sixStepHeader4 {
    background: linear-gradient(90deg, rgba(29, 210, 244, 1) 0%, rgba(20, 146, 237, 1) 21%, rgba(11, 87, 230, 1) 47%);
}

.sixStepHeader5 {
    background: linear-gradient(90deg, rgba(118, 47, 232, 1) 0%, rgba(99, 39, 196, 1) 21%, rgba(58, 20, 117, 1) 42%);
}

.sxiStepContent {
    background-color: #ccc;
    color: #404040;
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
    height: 8rem;
}

/* Survey */
.btn_backlink img {
    width: 28px;
}

.btn_backlink a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.btn_backlink a:hover {
    text-decoration: none;
    color: #DCAB3A;
    font-weight: 500;
}


/* Resetcode */
.border-end {
    border-right: 1px solid #fff !important;
}

.readmoresix {
    position: absolute;
    top: calc(100% - 51%);
    right: calc(100% - 90%);
    left: auto;
    width: 110px;
    height: 20px;
}

.display-5 {
    font-size: calc(1.425rem + 1.2vw);
    font-weight: 600;
    line-height: 1.2;
}

.home-page-service {
    right: calc(100% - 19.5rem);
    position: absolute;
    left: auto;
    height: 480px;
    line-height: 28px;
    padding: 2.5rem;
}

.business-heading {
    font-size: calc(1.2rem + .06vw);
}

/* sm */
@media (min-width: 576px) {
    .home-page-service {
        margin-left: 0rem;
    }

    .about-img img.left {
        left: -85px;
    }

    .about-img img {
        width: 135px;
        height: 135px;
        position: absolute;
        top: 10rem;
    }

    .about-img img.right {
        left: 0rem;
        right: 0rem;
        top: 10rem;
    }

    .about-img-grow-left img {
        width: 175px;
        height: 185px;
        position: absolute;
        top: 60px;
        right: 13px;
        left: -35px;
    }

    .home-page-service {
        right: calc(100% - 22.3rem);
        position: absolute;
        left: auto;
        height: 480px;
        line-height: 28px;
        padding: 2.5rem;
    }

}

/* md */
@media (min-width: 768px) {
    .about-img img.left {
        left: -145px;
    }

    .about-img img {
        width: 135px;
        height: 135px;
        position: absolute;
        top: 9rem;
    }

    .about-img img.right {
        left: 0rem;
        right: 0rem;
        top: 15rem;
    }

    .about-img-grow-left img {
        width: 175px;
        height: 185px;
        position: absolute;
        top: 12px;
        right: 13px;
        left: -35px;
    }

    .home-page-service {
        right: calc(100% - 27.3rem);
        position: absolute;
        left: auto;
        height: 480px;
        line-height: 28px;
        padding: 2.5rem;
    }

    .testimonial-count {
        top: 14rem;
        left: -30px;
        font-size: 1.5rem;
    }

}

/* lg */
@media (min-width: 992px) {
    .home-page-service {
        margin-left: 0rem;
    }

    .about-img img.left {
        left: -145px;
    }

    .about-img img {
        width: 135px;
        height: 135px;
        position: absolute;
        top: 5rem;
    }

    .about-img img.right {
        left: 0rem;
        right: 0rem;
        top: 9rem;
    }

    .about-img-grow-left img {
        width: 175px;
        height: 185px;
        position: absolute;
        top: -37px;
        right: 13px;
        left: -38px;
    }

    .home-page-service {
        right: calc(100% - 28.3rem);
        position: absolute;
        left: auto;
        height: 480px;
        line-height: 28px;
        padding: 2.5rem;
    }

    .testimonial-count {
        top: 14rem;
        left: -30px;
        font-size: 1.5rem;
    }
}

/* Xl */
@media (min-width: 1200px) {
    .display-6 {
        font-size: 2.0rem;
    }

    .about-img img.right {
        left: 0rem;
        right: 0rem;
        top: 7.5rem;
    }

    .about-img-grow-left img {
        width: 175px;
        height: 185px;
        position: absolute;
        top: -37px;
        right: 13px;
        left: 0px;
    }

    .home-page-service {
        right: calc(100% - 33.3rem);
        position: absolute;
        left: auto;
        height: 480px;
        line-height: 28px;
        padding: 2.5rem;
    }

    .testimonial-count {
        top: 17rem;
        left: -30px;
        font-size: 1.5rem;
    }
}


/* Xxl */
@media (min-width: 1400px) {
    .display-6 {
        font-size: 2.0rem;
    }

    .about-img img.right {
        left: 0rem;
        right: 0rem;
        top: 7.5rem;
    }

    .about-img-grow-left img {
        width: 175px;
        height: 185px;
        position: absolute;
        top: -37px;
        right: 13px;
        left: 30px;
    }

    .home-page-service {
        right: calc(100% - 33.3rem);
        position: absolute;
        left: auto;
        height: 480px;
        line-height: 28px;
        padding: 2.5rem;
    }

    .testimonial-count {
        top: 21rem;
        left: -30px;
        font-size: 1.5rem;
    }
}