/********** Template CSS **********/

/*** 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, Color & Fonts ***/
.font-open {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth"100;
}

.font-josefin {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.font-lora {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
}

.bg-black {
    background: #06152B;
}

.bg-black * {
    color: var(--bs-white);
}


/*** Button ***/
.btn {
    position: relative;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    transition: .7s;
}

.btn.btn-light {
    color: var(--bs-dark);
    background: var(--bs-white);
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, .1);
}

.btn.btn-light:hover {
    background: var(--bs-white);
    box-shadow: inset 200px 50px 0 0 rgba(0, 0, 0, .1);
}

.btn.btn-dark,
.btn.btn-primary {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, .1);
}

.btn.btn-dark:hover,
.btn.btn-primary:hover {
    box-shadow: inset 200px 55px 0 0 rgba(255, 255, 255, .1);
}

.btn-square {
    width: 45px;
    height: 45px;
}

.btn-sm-square {
    width: 35px;
    height: 35px;
}

.btn-lg-square {
    width: 55px;
    height: 55px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    padding: 10px 10px;
    font-size: 18px;
    color: var(--bs-dark);
    outline: none;
}

.navbar.navbar-dark .navbar-nav .nav-link {
    color: var(--bs-white);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-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-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage-outer * {
    height: 100%;
}

.header-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel .owl-item.active img,
.full-header-carousel .owl-item.active img,
.hero-header-img img {
    animation: carouselImageZoom 10s ease-in-out infinite;
}

@keyframes carouselImageZoom {
    0% {
        transform: scale(1) translate(-8px, 6px);
    }

    25% {
        transform: scale(1.08) translate(6px, -6px);
    }

    50% {
        transform: scale(1.15) translate(-5px, 5px);
    }

    75% {
        transform: scale(1.08) translate(6px, -6px);
    }

    100% {
        transform: scale(1) translate(-8px, 6px);
    }
}

.header-carousel::after,
.full-header-carousel::after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    width: 184px;
    height: 119px;
    border-radius: 15px 0 0 0;
    background: var(--bs-light);
}

.header-carousel .owl-nav,
.full-header-carousel .owl-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 160px;
    height: 95px;
    display: flex;
    justify-content: space-between;
    padding: 24px;
    border-radius: 15px;
    background: var(--bs-white);
    z-index: 1;
}

.full-header-carousel .owl-dots {
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 45px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.header-carousel .owl-nav::before,
.header-carousel .owl-nav::after,
.full-header-carousel .owl-dots::before,
.full-header-carousel .owl-dots::after {
    position: absolute;
    content: "";
    top: -39px;
    right: 0;
    width: 15px;
    height: 15px;
    background-color: var(--bs-light);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
}

.header-carousel .owl-nav::after,
.full-header-carousel .owl-dots::after {
    top: auto;
    bottom: 0;
    right: auto;
    left: -39px;
}

.full-header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(9, 30, 62, .5);
}

@media (max-width: 768px) {
    .full-header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .full-header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .full-header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.full-header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 35px;
    height: 35px;
    margin: 5px 0;
    border-radius: 45px;
    transition: .5s;
}

.full-header-carousel .owl-dots .owl-dot.active {
    width: 45px;
    height: 45px;
}

.full-header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: aniHeaderImg 30s ease-in-out infinite;
}

@keyframes aniHeaderImg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.page-header::before {
    position: absolute;
    content: "";
    inset: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(9, 30, 62, .9);
    z-index: -1;
}

.page-header .breadcrumb::before,
.page-header .breadcrumb::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: -39px;
    width: 15px;
    height: 15px;
    background-color: var(--bs-light);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
}

.page-header .breadcrumb::after {
    left: auto;
    right: -39px;
    transform: rotate(90deg)
}

.page-header .breadcrumb.bg-dark::before,
.page-header .breadcrumb.bg-dark::after {
    background-color: #06152B;
}


/*** About ***/
.about .review-img::before,
.about .review-img::after {
    position: absolute;
    content: "";
    top: -15px;
    left: 1.5rem;
    width: 15px;
    height: 15px;
    background-color: var(--bs-white);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
    transform: rotate(90deg);
}

.about .review-img::after {
    top: auto;
    left: auto;
    bottom: 1.5rem;
    right: -15px;
}

.about.bg-dark .review-img::before,
.about.bg-dark .review-img::after {
    background-color: var(--bs-dark);
}

.about .review-img img,
.about .review-img .btn-square {
    width: 50px;
    height: 50px;
}

@media (max-width: 991.98px) {
    .about .col-lg-4 .border {
        border-left-color:  transparent !important;
        border-right-color:  transparent !important;
    }
}

@media (min-width: 992px) {
    .about .col-lg-4 .border {
        border-top-color:  transparent !important;
        border-bottom-color:  transparent !important;
    }
}


/*** Feature ***/
.feature .feature-img img {
    min-height: 500px;
    object-fit: cover;
    animation: aniFeatureImg 10s ease-in-out infinite;
}

@keyframes aniFeatureImg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.feature .feature-img .position-absolute {
    inset: 1.5rem;
    background: rgba(9, 30, 62, .9);
}

.feature .feature-item {
    background: rgba(0, 0, 0, .3);
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.2) rotate(5deg);
}


.service-item .service-btn {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    padding: 0 0 39px 39px;
}

.service-item.bg-light .service-btn,
.service-item.bg-black .service-btn {
    padding: 0 0 24px 24px;
    border-radius:  0 0 0 15px;
}

.service-item .service-btn .service-btn-inner::before {
    position: absolute;
    content: "";
    inset: 15px;
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 0 15px;
}

.service-item.bg-light .service-btn .service-btn-inner::before,
.service-item.bg-black .service-btn .service-btn-inner::before {
    border: none;
}

.service-item .service-btn .service-btn-inner a {
    position: relative;
    transition: .3s;
    z-index: 1;
}

.service-item .service-btn .service-btn-inner a:hover {
    color: var(--bs-primary) !important;
}

.service-item .service-btn::before,
.service-item .service-btn::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 16px;
    height: 15px;
    border-top: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-radius: 0 15px 0 0;
}

.service-item .service-btn::after {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    width: 15px;
}

.service-item.bg-light .service-btn::before,
.service-item.bg-light .service-btn::after,
.service-item.bg-black .service-btn::before,
.service-item.bg-black .service-btn::after {
    border: none;
    border-radius: 0;
    top: 0;
    left: -15px;
    width: 15px;
    height: 15px;
    background-color: var(--bs-white);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
    transform: rotate(-90deg);
}

.service-item.bg-light .service-btn::after,
.service-item.bg-black .service-btn::after {
    top: auto;
    left: auto;
    bottom: -15px;
    right: 1px;
}

.service-item.bg-black .service-btn::before,
.service-item.bg-black .service-btn::after {
    background-color: var(--bs-dark);
}

.service-item.bg-light,
.service-item.bg-light *,
.service-item.bg-black,
.service-item.bg-black * {
    transition: .5s;
}

.service-item.bg-light:hover,
.service-item.bg-light:hover .service-btn-inner,
.service-item.bg-black:hover,
.service-item.bg-black:hover .service-btn-inner {
    background: var(--bs-primary) !important;
}

.service-item.bg-light:hover *,
.service-item.bg-black:hover * {
    color: var(--bs-white) !important;
}

.service-item.bg-light .service-btn .service-btn-inner a:hover,
.service-item.bg-black .service-btn .service-btn-inner a:hover {
    color: var(--bs-white) !important;
}


/*** Work ***/
.work .work-item-inner {
    background: rgba(0, 0, 0, .3);
}

.work.bg-white .work-item-inner {
    background: var(--bs-light);
}

.work .work-item::before {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .2);
}

.work.bg-white .work-item::before {
    border-color: #dee2e6;
}

.work .row::after,
.work .work-item::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    text-align: center;
    vertical-align: middle;
    padding-top: 3px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    background: var(--bs-dark);
}

.work.bg-white .row::after,
.work.bg-white .work-item::after {
    border-color: #dee2e6;
    background: var(--bs-white);
}

@media (max-width: 991.98px) {
    .work .work-item::before {
        top: 0;
        width: 50%;
        height: calc(100% + 1px);
    }

    .work .work-item.work-item-before::before {
        right: 0;
        border-left: none;
        border-radius: 0 15px 15px 0;
    }

    .work .work-item.work-item-after::before {
        left: 0;
        border-right: none;
        border-radius: 15px 0 0 15px;
    }

    .work .row::after,
    .work .work-item::after {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .work .work-item.work-item-before::after {
        content: "\f105";
    }

    .work .work-item.work-item-after::after {
        content: "\f104";
    }

    .work .row::after {
        top: auto;
        bottom: -15px;
        content: "\f00c";
    }
}

@media (min-width: 992px) {
    .work .work-item::before {
        left: 0;
        width: calc(100% + 1px);
        height: 50%;
    }

    .work .work-item.work-item-before::before {
        top: 0;
        border-bottom: none;
        border-radius: 15px 15px 0 0;
    }

    .work .work-item.work-item-after::before {
        bottom: 0;
        border-top: none;
        border-radius: 0 0 15px 15px;
    }

    .work .row::after,
    .work .work-item::after {
        top: 50%;
        left: -15px;
        transform: translateY(-50%);
    }

    .work .work-item.work-item-before::after {
        content: "\f106";
    }

    .work .work-item.work-item-after::after {
        content: "\f107";
    }

    .work .row::after {
        left: auto;
        right: -15px;
        content: "\f00c";
    }
}


/*** Pricing ***/
.pricing-item .pricing-batch::before,
.pricing-item .pricing-batch::after {
    position: absolute;
    content: "";
    top: 1.5rem;
    left: -15px;
    width: 15px;
    height: 15px;
    background-color: var(--bs-white);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
    transform: rotate(-90deg);
}

.pricing-item .pricing-batch::after {
    top: auto;
    left: auto;
    bottom: -15px;
    right: 1.5rem;
}

.pricing-item .pricing-batch.bg-dark::before,
.pricing-item .pricing-batch.bg-dark::after {
    background-color: var(--bs-dark);
}


/*** Call to Action ***/
.call-to-action .call-to-action-img img {
    object-fit: cover;
    animation: aniTestimonialImg 10s ease-in-out infinite;
}

@keyframes aniTestimonialImg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.call-to-action .call-to-action-img .position-absolute {
    inset: 1.5rem;
    background: rgba(9, 30, 62, .9);
}

.call-to-action.bg-dark .form-control {
    background: rgba(0, 0, 0, .3);
}

.call-to-action.bg-white .form-control {
    background: var(--bs-light);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-social {
    background: rgba(9, 30, 62, .7);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-social {
    opacity: 1;
}

.progress {
    height: 20px;
    border-radius: 15px;
}

.progress .progress-bar {
    width: 0px;
    border-radius: 15px;
    transition: 3s;
}


/*** Testimonial ***/
.testimonial .testimonial-title img {
    object-fit: cover;
    animation: aniTestimonialImg 10s ease-in-out infinite;
}

@keyframes aniTestimonialImg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.testimonial .testimonial-title .position-absolute {
    inset: 1.5rem;
    background: rgba(9, 30, 62, .9);
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 184px;
    height: 119px;
    border-radius: 0 0 15px 0;
    background: var(--bs-dark);
}

.testimonial.bg-white .testimonial-carousel::after {
    background: var(--bs-white);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    height: 95px;
    display: flex;
    justify-content: space-between;
    padding: 24px;
    border-radius: 15px;
    background: rgba(0, 0, 0, .2);
    z-index: 1;
}

.testimonial.bg-white .testimonial-carousel .owl-nav {
    background: var(--bs-dark);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 45px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.testimonial-carousel .owl-nav::before,
.testimonial-carousel .owl-nav::after {
    position: absolute;
    content: "";
    top: 0;
    right: -39px;
    width: 15px;
    height: 15px;
    background-color: var(--bs-dark);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
    transform: rotate(180deg);
}

.testimonial-carousel .owl-nav::after {
    top: auto;
    bottom: -39px;
    right: auto;
    left: 0;
}

.testimonial.bg-white .testimonial-carousel .owl-nav::before,
.testimonial.bg-white .testimonial-carousel .owl-nav::after {
    background-color: var(--bs-white);
}

.testimonial .testimonial-img-sm {
    width: 60px;
    height: 60px;
}


/*** Blog ***/
.blog-item img {
    transition: .5s;
    object-fit: cover;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.blog-item .blog-btn {
    background: rgba(9, 30, 62, .7);
    transition: .5s;
    opacity: 0;
}

.blog-item:hover .blog-btn {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .row.blog-item .img-fluid.rounded,
    .row.blog-item .position-relative.rounded {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .row.blog-item .border.rounded {
        border-top: none !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
}

@media (min-width: 768px) {
    .row.blog-item .img-fluid.rounded,
    .row.blog-item .position-relative.rounded {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .row.blog-item .border.rounded {
        border-left: none !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
}


/*** Project ***/
.project-item img.img-fluid {
    position: relative;
    transition: .5s;
}

.project-item:hover img.img-fluid {
    transform: scale(1.1);
}

.project-item .project-content {
    width: 65%;
}

.project-item .project-content::before,
.project-item .project-content::after {
    position: absolute;
    content: "";
    top: -15px;
    right: 1.5rem;
    width: 15px;
    height: 15px;
    background-color: var(--bs-white);
    mask: url(../img/corner-shape.svg) no-repeat;
    mask-size: cover;
    -webkit-mask: url(../img/corner-shape.svg) no-repeat;
    -webkit-mask-size: cover;
}

.project-item .project-content::after {
    top: auto;
    right: auto;
    bottom: 1.5rem;
    left: -15px;
}

.project-item .project-content-inner {
    height: 75px;
}

.project-item .project-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    transition: .5s;
}

.project-item:hover .project-title {
    top: -75px;
}

.project-item .project-btn {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    height: 75px;
    transition: .5s;
}

.project-item:hover .project-btn {
    top: 0;
}

.nav-tabs .nav-link.active {
    color: var(--bs-white) !important;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary) !important;
}


/*** FAQs ***/
.accordion-button:focus,
.accordion-button:not(.collapsed) {
    box-shadow: none;
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: rgba(255, 255, 255, .2);
    }

    .footer.bg-white::after {
        background: #dee2e6;
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-white);
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer.bg-white .btn.btn-link {
    color: var(--bs-secondary);
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .form-control {
    background: rgba(0, 0, 0, .3);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover,
.copyright.bg-white a:hover {
    color: var(--bs-primary);
}

.copyright.bg-white {
    border-top: 1px solid #dee2e6;
}

.copyright.bg-white a {
    color: var(--bs-dark);
}