/********** Template CSS **********/
:root {
    --primary: #870690;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #1947AE;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@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;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
} */


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--dark);
    border: 10px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)),  url(../img/bg-page.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: #eaeded;
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: #525368;
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: #525368;
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(135,6,144, 0.19);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--dark);
    font-weight: normal;
    text-transform: capitalize;
    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 {
    color: var(--dark);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--dark);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--dark);
}

@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Source+Sans+Pro:400,600,700");
        .grid {
        margin: 0 auto;
        padding: 0 15px;
        max-width: 1400px;

        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        }
        .grid__column {
        flex: 1;
        margin: 0 15px 30px 15px;
        /* max-height: 400px; */
        }

        .divider {
        margin: 0;
        padding: 30px 0;
        display: block;
        text-align: center;
        }

        .card-service {
        display: flex;
        width: 100%;
        position: relative;
        padding: 30px;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        margin: 0 auto;
        min-height: 370px;
        max-height: 100px;
        min-width: 300px;
        }
        .card-service::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, #083a60, rgba(8, 58, 96, 0.6) 25%, rgba(8, 58, 96, 0.25)), linear-gradient(rgba(13, 52, 75, 0.2), rgba(13, 52, 75, 0.2));
        pointer-events: none;
        z-index: 1;
        }
        .card-service__content {
        display: block;
        width: 100%;
        align-self: flex-end;
        z-index: 2;
        }
        .card-service__title, .card-service__text {
        opacity: 1;
        transition: opacity 100ms linear;
        }
        .card:hover .card-service__title, .card:hover .card-service__text {
        opacity: 0;
        }
        .card-service__title {
        color: #ffffff;
        text-align: center;
        font-size: 28px;
        letter-spacing: 0.2pt;
        margin-bottom: 20px;
        }
        .card-service__text {
        color: #ffffff;
        text-align: center;
        font-size: 16px;
        line-height: 2;
        }

        .card-service-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 60px 30px;
        background-color: #083a60;
        cursor: default;
        transform: translateY(375px);
        z-index: 3;
        transition-property: transform;
        transition-duration: 300ms;
        transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
        will-change: transform;
        }
        .card-service:hover .card-service-overlay {
        transform: translateY(0);
        }
        .card-service-overlay__title {
        color: #ffffff;
        text-align: center;
        font-size: 28px;
        letter-spacing: 0.2pt;
        margin-bottom: 15px;
        }
        .card-service-overlay__text {
        color: #ffffff;
        text-align: center;
        font-size: 16px;
        line-height: 2;
        }
        .card-service-overlay .button {
        margin: 30px auto 0;
        }

        .card-insight {
        display: flex;
        width: 100%;
        position: relative;
        padding: 30px;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        min-width: 290px;
        min-height: 240px;
        flex-direction: column;
        justify-content: center;
        padding: 0;
        background-color: #083a60;
        }
        .card-insight__img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        z-index: 2;
        transition: transform 350ms, opacity 350ms;
        transform: scale(1.15);
        opacity: 0.6;
        }
        .card-insight:hover .card-insight__img {
        transform: scale(1);
        opacity: 0.3;
        }
        .card-insight__title {
        color: #ffffff;
        text-align: center;
        font-size: 28px;
        letter-spacing: 0.2pt;
        margin-bottom: 0;
        font-size: 23px;
        z-index: 3;
        transition: transform 350ms;
        transform: translate3d(0, 0, 0);
        }
        .card-insight:hover .card-insight__title {
        transform: translate3d(0, -40px, 0);
        }

        .card-insight-overlay {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 3;
        transition: transform 350ms, opacity 350ms;
        transform: translate3d(0, 40px, 0) scale(1.1);
        opacity: 0;
        }
        .card-insight:hover .card-insight-overlay {
        opacity: 1;
        transform: translate3d(0, 20px, 0) scale(1);
        }
        .card-insight-overlay__text {
        color: #ffffff;
        text-align: center;
        font-size: 16px;
        line-height: 2;
        }
        .card-insight-overlay .button {
        margin: 10px auto 0;
        }

        .card-brochure {
        display: flex;
        width: 100%;
        position: relative;
        padding: 30px;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        min-width: 200px;
        min-height: 340px;
        flex-direction: column;
        justify-content: center;
        background-color: #083a60;
        padding: 0 5px;
        }
        .card-brochure__img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        z-index: 2;
        opacity: 0.6;
        -webkit-filter: grayscale(100%);
        filter: gray;
        }
        .card-brochure__meta {
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        color: #ffffff;
        background-color: #0067a2;
        align-self: flex-start;
        border-bottom-right-radius: 2px;
        padding: 10px 15px;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.1pt;
        z-index: 3;
        }
        .card-brochure__title {
        color: #ffffff;
        text-align: center;
        font-size: 28px;
        letter-spacing: 0.2pt;
        z-index: 3;
        transition: transform 350ms;
        transform: translate3d(0, 0, 0);
        }
        .card-brochure:hover .card-brochure__title {
        transform: translate3d(0, -30px, 0);
        }

        .card-brochure-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, #083a60, rgba(8, 58, 96, 0.6) 25%, rgba(8, 58, 96, 0.25)), linear-gradient(rgba(13, 52, 75, 0.2), rgba(13, 52, 75, 0.2));
        z-index: 2;
        display: flex;
        align-items: center;
        opacity: 0;
        transition: opacity 350ms;
        }
        .card-brochure:hover .card-brochure-overlay {
        opacity: 1;
        }
        .card-brochure-overlay .button {
        margin: 20px auto 0;
        opacity: 0;
        transition: transform 350ms, opacity 350ms;
        transform: translate3d(0, 40px, 0);
        }
        .card-brochure:hover .card-brochure-overlay .button {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        }

        .card-news {
        display: flex;
        width: 100%;
        position: relative;
        padding: 30px;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        display: block;
        flex-direction: column;
        min-width: 250px;
        min-height: 300px;
        max-height: 550px;
        padding: 0;
        text-decoration: none;
        color: #000000;
        transition: box-shadow 350ms;
        box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.06);
        }
        .card-news:hover, .card-news:focus {
        box-shadow: 0 0 16px 0 rgba(0, 2, 0, 0.2);
        outline: 0;
        }
        .card-news__img-wrapper {
        position: relative;
        width: 100%;
        height: 160px;
        overflow: hidden;
        }
        .card-news__category {
        color: #ffffff;
        position: absolute;
        top: 15px;
        left: 20px;
        font-size: 15px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        text-transform: uppercase;
        user-select: none;
        font-weight: 600;
        letter-spacing: 0.1pt;
        }
        .card-news__img {
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        width: 100%;
        height: 100%;
        transition: transform 350ms;
        transform: scale(1);
        }
        .card-news:hover .card-news__img {
        transform: scale(1.15);
        }
        .card-news__content {
        padding: 20px;
        }
        .card-news__title {
        font-size: 14px;
        line-height: 1.35;
        font-weight: 600;
        margin-bottom: 10px;
        }
        .card-news__date {
        display: block;
        margin-bottom: 10px;
        opacity: 0.4;
        font-size: 14px;
        }
        .card-news__text {
        color: #555;
        font-size: 12px;
        }
        .card-news__link {
        display: block;
        padding: 15px 20px;
        color: #0067a2;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.1pt;
        border-top: 2px solid rgba(233, 233, 233, 0.4);
        transition: color 350ms;
        }
        .card-news:hover .card-news__link {
        color: #0098ef;

        }

        .button {
        display: block;
        border-radius: 100px;
        border: 0;
        padding: 12px 40px;
        background-color: transparent;
        line-height: 1;
        font-weight: 500;
        font-family: "Roboto", Helvetica, sans-serif;
        letter-spacing: 0.1pt;
        transition-property: color, background-color;
        transition-duration: 250ms;
        }
        .button:hover, .button:focus {
        cursor: pointer;
        outline: none;
        }
        .button--primary {
        background-color: #083a60;
        color: #ffffff;
        }
        .button--primary:hover, .button--primary:focus {
        background-color: #00517f;
        }
        .button--secondary {
        background-color: #ffffff;
        color: #0067a2;
        }
        .button--secondary:hover, .button--secondary:focus {
        background-color: #0067a2;
        color: #ffffff;
        }
        .button--cta {
        background-color: #feaa42;
        color: #ffffff;
        }
        .button--cta:hover, .button--cta:focus {
        background-color: #e78f3f;
        }
        .button--ghost {
        background-color: transparent;
        border: 1px solid currentColor;
        color: currentColor;
        }

        *,
        *::before,
        *::after {
        box-sizing: border-box;
        }

        /* DROPDOWN MENU  */
        .dropdown-menu {

        font-size: 12px;
        font-weight: bold;
        }

        .dropdown-submenu {
            position: relative;
        }

        .dropdown-submenu a::after {
            transform: rotate(-90deg);
            position: absolute;
            right: 6px;
            top: .8em;
        }

        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-left: .1rem;
            margin-right: .1rem;
        }
        .dropdown-submenu .submenu-left{
			right:100%; left:auto;
		}

        /* END DROPDOWN MENU  */
