/********** Template CSS **********/
:root {
    --primary: #FF3E41;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !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;
}

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

/*** 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-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

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

/*********************************
            LOGO
*********************************/

.navbar-brand{
    height: 75px;
}

.navbar-logo{
    max-height: 65px;
    width: auto;
    display: block;
}

/*** Header ***/
/* Hero Desktop */
.header-carousel .owl-carousel-item{
    position: relative;
    height: 1100px;
    overflow: hidden;
}

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

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


/* Tablet */
@media (max-width:991.98px){

    .header-carousel .owl-carousel-item{
        height:800px;
    }

}

/* Mobile */
/* Hide Hero Navigation on Mobile */
@media (max-width: 768px) {
    .header-carousel .owl-nav {
        display: none !important;
    }
}

/*********************************
            ABOUT
*********************************/

@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* About Image */
.about-image{
    min-height: 550px;
}

.about-image .position-relative{
    height: 100%;
}

.about-image img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991.98px){

    .about-image{
        min-height:450px;
    }

}

@media (max-width: 768px){

    .about-image{
        min-height:350px;
    }

}

/*********************************
            SERVICE
*********************************/

.service-item{
    height: 100%;
    background: #fff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

/* Image */
.service-item .overflow-hidden{
    border-radius: 8px;
}

.service-item img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .5s;
}

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

/* Button */
.service-item a.btn-slide{
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span{
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.service-item a.btn-slide span{
    left: -100%;
    padding-left: 0;
    z-index: 1;
}

.service-item:hover a.btn-slide i{
    border-radius: 0;
}

.service-item:hover a.btn-slide span{
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span{
    background: var(--secondary);
}

/* Price Tag */
.service-item .btn-slide.price-tag{
    cursor: default;
    pointer-events: none;
    user-select: none;
}

/*********************************
        SERVICE RESPONSIVE
*********************************/

@media (max-width: 991.98px){

    .service-item img{
        height: 220px;
    }

}

@media (max-width: 767.98px){

    .service-item img{
        height: 200px;
    }

}

/*********************************
          PORTFOLIO
*********************************/

.portfolio-section .service-item{
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .4s;
}

.portfolio-section .service-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .10);
}

/* Image */
.portfolio-section .overflow-hidden{
    border-radius: 10px;
}

.portfolio-section .service-item img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .5s;
}

.portfolio-section .service-item:hover img{
    transform: scale(1.08);
}

/* Category */
.portfolio-section small{
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Title */
.portfolio-section h4{
    min-height: 60px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* Button */
.portfolio-section .btn-slide{
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.portfolio-section .btn-slide i,
.portfolio-section .btn-slide span{
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    color: #fff;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.portfolio-section .btn-slide span{
    left: -100%;
    padding-left: 0;
    z-index: 1;
}

.portfolio-section .service-item:hover .btn-slide i{
    border-radius: 0;
}

.portfolio-section .service-item:hover .btn-slide span{
    left: 0;
}

.portfolio-section .btn-slide:hover i,
.portfolio-section .btn-slide:hover span{
    background: var(--secondary);
}

@media (max-width: 991.98px){

    .portfolio-section .service-item img{
        height: 220px;
    }

    .portfolio-section h4{
        min-height: auto;
    }

}

@media (max-width: 767.98px){

    .portfolio-section .service-item img{
        height: 200px;
    }

    .portfolio-section .service-item{
        padding: 20px !important;
    }

    .portfolio-section h4{
        font-size: 1.15rem;
        margin-bottom: 15px;
    }

    .portfolio-section small{
        font-size: 12px;
    }

}

/*********************************
        WHY CHOOSE US
*********************************/

@media (min-width: 992px) {

    .container.feature{
        max-width: 100% !important;
    }

    .feature-text{
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

}

@media (min-width: 1200px) {

    .feature-text{
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

}

@media (min-width: 1400px) {

    .feature-text{
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

}

/* Desktop Image */

.feature-image{
    min-height: 550px;
}

.feature-image .position-relative{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.feature-image img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Image */

.feature-image-mobile{
    overflow: hidden;
    border-radius: 8px;
}

.feature-image-mobile img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/*********************************
    WHY CHOOSE US RESPONSIVE
*********************************/

@media (max-width: 991.98px){

    .feature-text{
        padding: 0 15px;
    }

}

@media (max-width: 767.98px){

    .feature-image-mobile img{
        height: 220px;
    }

}

/*********************************
            TEAM
*********************************/

.team-item{
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .4s;
}

.team-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .10);
}

/* Image */
.team-item .overflow-hidden{
    border-radius: 10px;
}

.team-item img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .5s;
}

.team-item:hover img{
    transform: scale(1.08);
}

/* Name */
.team-item h5{
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Position */
.team-item p{
    color: #6c757d;
    margin-bottom: 20px;
}

/* Social Button */
.team-item .btn-slide{
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.team-item .btn-slide i,
.team-item .btn-slide span{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item .btn-slide span{
    left: -100%;
    padding-left: 0;
    z-index: 1;
}

.team-item:hover .btn-slide i{
    border-radius: 0;
}

.team-item:hover .btn-slide span{
    left: 0;
}

.team-item .btn-slide span a i{
    padding: 0 10px;
}

.team-item .btn-slide span a:hover i{
    background: var(--secondary);
}
/*********************************
              CTA
*********************************/

.cta-section{
    overflow: hidden;
}

.cta-image img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.cta-content{
    min-height: 500px;
    display: flex;
    align-items: center;
}

.cta-content h6{
    letter-spacing: 2px;
}

.cta-content h1{
    font-weight: 700;
    line-height: 1.3;
}

.cta-content p{
    line-height: 1.8;
    opacity: .95;
}

.cta-content .btn{
    margin-top: 10px;
}

/*********************************
        CTA RESPONSIVE
*********************************/

@media (max-width: 991.98px){

    .cta-image img{
        height: 400px;
    }

    .cta-content{
        min-height: auto;
        padding: 60px 40px;
    }

}

@media (max-width: 767.98px){

    .cta-image img{
        height: 300px;
    }

    .cta-content{
        text-align: center;
        padding: 45px 25px;
    }

    .cta-content h1{
        font-size: 2rem;
    }

    .cta-content h6{
        font-size: .9rem;
    }

    .cta-content p{
        font-size: .95rem;
    }

}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*********************************
        PORTFOLIO MODAL
*********************************/

#portfolioModal .modal-dialog{
    max-width: 1000px;
}

#portfolioModal .modal-content{
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

#portfolioModal .modal-header{
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

#portfolioModal .modal-title{
    font-weight: 700;
    line-height: 1.4;
}

#portfolioModal .modal-body{
    padding: 30px;
}

#portfolioModal .modal-footer{
    padding: 20px 30px 30px;
    border-top: none;
}

/*==============================
            Gallery
===============================*/

#portfolioGallery{
    margin-bottom: 30px;
}

#portfolioGallery .carousel-inner{
    border-radius: 10px;
    overflow: hidden;
}

#portfolioGallery img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Carousel Button */

#portfolioGallery .carousel-control-prev,
#portfolioGallery .carousel-control-next{
    width: 50px;
}

#portfolioGallery .carousel-control-prev-icon,
#portfolioGallery .carousel-control-next-icon{
    background-color: rgba(0,0,0,.45);
    border-radius: 50%;
    padding: 20px;
}

/* Description */

#portfolioDescription p{
    margin-bottom: 15px;
    line-height: 1.8;
    color: #6c757d;
}

/*********************************
    PORTFOLIO MODAL RESPONSIVE
*********************************/

@media (max-width: 991.98px){

    #portfolioModal .modal-dialog{
        max-width: 95%;
        margin: 1rem auto;
    }

    #portfolioModal .modal-header,
    #portfolioModal .modal-body,
    #portfolioModal .modal-footer{
        padding: 25px;
    }

    #portfolioGallery img{
        height: 350px;
    }

}

@media (max-width: 767.98px){

    #portfolioModal .modal-dialog{
        max-width: calc(100% - 20px);
        margin: 10px auto;
    }

    #portfolioModal .modal-header,
    #portfolioModal .modal-body,
    #portfolioModal .modal-footer{
        padding: 20px;
    }

    #portfolioModal .modal-title{
        font-size: 1.35rem;
        padding-right: 10px;
    }

    #portfolioGallery img{
        height: 220px;
    }

    #portfolioGallery .carousel-control-prev,
    #portfolioGallery .carousel-control-next{
        width: 40px;
    }

    #portfolioGallery .carousel-control-prev-icon,
    #portfolioGallery .carousel-control-next-icon{
        padding: 16px;
    }

    #portfolioModal .modal-footer{
        justify-content: center;
    }

    #portfolioModal .modal-footer .btn{
        width: 100%;
    }

}

@media (max-width: 575.98px){

    #portfolioGallery img{
        height: 180px;
    }

    #portfolioModal .modal-title{
        font-size: 1.2rem;
    }

    #portfolioDescription p{
        font-size: .95rem;
    }

}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}