/********** Template CSS **********/

:root {
    --bs-primary: #4ba8b0 !important;
}

/* Global focus and outline styles */
*:focus {
    outline-color: #4ba8b0 !important;
    box-shadow: 0 0 0 0.25rem rgba(77, 168, 218, 0.25) !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: #4ba8b0 !important;
    box-shadow: 0 0 0 0.25rem rgba(77, 168, 218, 0.25) !important;
}

.text-primary {
    color: #4ba8b0 !important;
}

.btn-primary {
    background-color: #4ba8b0 !important;
    border-color: #4ba8b0 !important;
}

.btn-outline-primary {
    color: #4ba8b0 !important;
    border-color: #4ba8b0 !important;
}

.btn-outline-primary:hover {
    background-color: #4ba8b0 !important;
    color: #fff !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: var(--bs-white);
}

/* Form styling */
.form-control {
    border: 1px solid rgba(77, 168, 218, 0.2);
}

.form-control:focus {
    border-color: #4ba8b0 !important;
    box-shadow: 0 0 0 0.25rem rgba(77, 168, 218, 0.25) !important;
}

/* Get Started Banner Styling */
#Started .container {
    padding: 60px 15px;
}

#Started .form-control {
    height: auto;
}

@media (max-width: 767.98px) {
    #Started .container {
        padding: 30px 15px;
    }

    #Started .title {
        margin: 0 !important;
        padding: 0 !important;
    }

    #Started .mx-5,
    #Started .px-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #Started .position-relative {
        margin: 0 10px;
    }

    #Started .form-control {
        font-size: 14px;
        padding: 12px 20px;
        height: 50px;
    }

    #Started .btn-primary {
        padding: 8px 15px !important;
        font-size: 14px;
        /* margin-top: 5px !important; */
        right: 5px;
        height: 40px;
    }

    #Started .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #Started h1 {
        font-size: 24px !important;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    #Started h5 {
        font-size: 16px !important;
        margin-bottom: 10px;
    }

    #Started .fs-5 {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        padding: 0 15px;
    }

    #Started .col-lg-7 {
        padding: 0;
    }
}

.form-floating > .form-control:focus ~ label {
    color: #4ba8b0 !important;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #4ba8b0 !important;
}

/* Button focus states */
.btn:focus,
.btn-primary:focus,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(77, 168, 218, 0.25) !important;
}


/*** Navbar ***/
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    transition: .5s;
}

.navbar.nav-sticky {
    background-color: #000 !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #4ba8b0;
}

.spinner-grow.text-primary {
    background-color: #4ba8b0 !important;
}

.fa-check-circle.text-primary {
    color: #4ba8b0 !important;
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        font-size: 14px;
    }

    .navbar {
        padding: 10px 0;
        background-color: transparent !important;
        transition: background-color 0.3s ease;
    }

    .navbar.nav-sticky {
        background-color: #000 !important;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }

    .col-lg-5.wow.fadeInUp img {
        max-width: 100% !important;
        margin: 0 auto;
        display: block;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 0.9rem !important;
    }

    .display-1 {
        font-size: 3rem !important;
    }

    .fs-5 {
        font-size: 0.9rem !important;
    }

    body.mobile-nav-active {
        overflow: hidden;
        background-color: #000;
    }

    .navbar {
        background-color: transparent !important;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    #navbarCollapse {
        background-color: #000 !important;
        /* max-width: 100vw; */
        overflow-x: hidden;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 100%;
        bottom: 0;
        /* width: 100vw; */
        height: 100vh !important;
        z-index: 999;
        background: #000 !important;
        overflow-x: hidden;
        transition: 0.3s;
        padding: 20px;
        margin: 0;
    }

    .mobile-menu.show {
        left: 0;
        background-color: #000 !important;
    }

    .navbar-collapse {
        background-color: #000 !important;
        margin: 0 -20px;
        padding: 0 20px;
        width: 100vw;
    }

    .navbar-collapse.show {
        background-color: #000 !important;
    }

    .navbar.nav-sticky .navbar-collapse,
    .navbar.nav-sticky .navbar-collapse.show {
        background-color: #000 !important;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 20px;
    }

    .navbar .navbar-nav {
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin: 0;
        padding: 12px 0;
        color: #ffffff;
        font-size: 13px;
        text-align: left;
        letter-spacing: 0.5px;
        border-bottom: none;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: #4ba8b0;
    }

    .navbar .navbar-toggler {
        position: relative;
        border: none;
        outline: none;
        box-shadow: none;
        z-index: 1000;
        padding: 0;
    }

    .navbar .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar .navbar-toggler i {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .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;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
#header-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    max-height: 100vh;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
    padding-top: 100px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel,
    .carousel-item,
    .carousel-item img {
        height: 100vh;
        min-height: 100vh;
        width: 100%;
    }
    
    .carousel-item img {
        object-fit: cover;
        object-position: center;
        filter: brightness(0.8);
    }

    .carousel-caption {
        background: rgba(0, 0, 0, .3);
        padding: 0;
        height: 100vh;
        text-align: center;
        padding: 15px;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel .owl-dots {
    display: none;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	/* background-image: url(../img/footer-bg.png); */
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}