/********** Template CSS **********/
:root {
    --bs-tertiary: #636363;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 800 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !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 {
    font-weight: 600;
    transition: .5s;
}

.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;
}


/*** Nav Bar ***/
.sticky-top {
    transition: .5s;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: var(--bs-light);
}

.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 7 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@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 ***/
.header-carousel,
.page-header {
    position: relative;
}

.header-carousel::before,
.page-header::before {
    position: absolute;
    content: "";
    width: 100%;
    top: -500%;
    left: 0;
    bottom: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

.carousel-caption {
    inset: 0;
    z-index: 1;
}

.carousel-caption .caption-text {
    display: inline;
    margin: 30px;
    padding: 30px;
    background: rgba(4, 44, 113, .7);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 992px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    content: "\f192";
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    font-size: 17px;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 17px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-white);
}


/*** Scrolling ***/
.scrolling {
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
    font-size: 18px;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

.scrolling-text span {
    display: inline-block;
    margin-right: 30px;
}

.scrolling-text span i {
    color: var(--bs-secondary);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 6px;
    background: var(--bs-dark);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** Service ***/
.service-list,
.service-item {
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.service-list:hover,
.service-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.service-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-list li {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border-color: rgba(255, 255, 255, .2);
}

.service-list a {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--bs-primary);
    transition: .5s;
}

.service-list a:hover {
    color: var(--bs-white);
}

.service-item .btn-square {
    position: absolute;
    width: 65px;
    height: 65px;
    top: 20px;
    left: 20px;
}

.service-item a {
    position: relative;
    display: inline-block;
    font-weight: 600;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0px;
    border-bottom: 2px solid var(--bs-primary);
    transition: .5s;
}

.service-item a:hover {
    color: var(--bs-secondary);
}

.service-item a:hover::after {
    border-color: var(--bs-secondary);
}


/*** Quote ***/
.quote {
    position: relative;
}

.quote::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--bs-secondary);
    z-index: -1;
}

.quote .form-control {
    background: rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.team-item .team-img::after {
    position: absolute;
    content: "";
    inset: 0;
    border-radius: 100%;
    border: 30px solid rgba(4, 44, 113, .7);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    margin: 45px 0 25px;
    padding: 25px;
    background: var(--bs-light);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 75px;
    height: 75px;
}

.testimonial-carousel .owl-item .testimonial-item .btn-square {
    position: absolute;
    width: 75px;
    height: 75px;
    top: -38px;
    left: 25px;
    background: var(--bs-light);
    color: var(--bs-primary);
    border-radius: 75px;
    font-size: 45px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item p {
    color: var(--bs-white);
}

.testimonial-carousel .owl-item.center .testimonial-item .btn-square {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.testimonial-carousel .owl-item.center .testimonial-item h5 {
    color: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}


/*** Pricing ***/
.price-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.price-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.price-item .btn-square {
    position: absolute;
    width: 45px;
    height: 45px;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Newsletter ***/
.newsletter {
    background: var(--bs-dark);
    border-bottom: 2px dashed rgba(255, 255, 255, .1);
}


/*** Footer ***/
.footer {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    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(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}


/*** Copyright ***/
.copyright {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
    border-top: 2px dashed rgba(255, 255, 255, .1);
}