/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
    --white: #fff;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 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: 500;
    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;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

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

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

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

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--light);
    }
}

@media (min-width: 992px) {
    .navbar.shadow-sm .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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 1;

}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 700px;
}

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

@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(0, 0, 0, .85), rgba(0, 0, 0, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Service ***/
.service-item .btn {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 50px;
    height: 50px;
    color: var(--primary);
    background: var(--dark);
    opacity: 0;
}

.service-item:hover .btn {
    right: 0;
    bottom: 0;
    opacity: 1;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .85);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

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

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 3px;
    color: var(--primary);
    background: var(--dark);
}

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


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/*** Contatos ***/
.box {
    margin-bottom: 30px;
}

.box > .icon {
    text-align: center; position: relative;
}

.box > .icon > .image {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 88px;
    height: 88px;
    border: 8px solid white;
    line-height: 88px;
    border-radius: 50%;
    background: var(--primary);
    vertical-align: middle;
}

.box > .icon:hover > .image {
    background: #333;
}

.box > .icon > .image > i {
    font-size: 36px !important;
    color: #fff !important;
}

.box > .icon:hover > .image > i {
    color: white !important;
}

.box > .icon > .info {
    margin-top: -24px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e0e0;
    padding: 15px 0 10px 0;
    min-height:150px;
}

.box > .icon:hover > .info {
    background: rgba(0, 0, 0, 0.04);
    border-color: #e0e0e0;
    color: white;
}

.box > .icon > .info > h3.title {
    font-size: 17px;
    color: var(--white);
    font-weight: 700;
    margin-top: 20px;
}

.box > .icon > .info > p > a {
    font-size: 15px;
    color: var(--white);
    line-height: 1.5em;
    margin: 20px;
}

.box > .icon > .info > p a i {
    margin-right: 5px;
}

/*** Footer ***/
.footer .footer-social {
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--white);
    font-size: 15px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 1.5rem;
    font-size: 15px;
    color: var(--white);
}

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

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

/* Ícone Flutuante WhatsApp */
#whatsapp-button {
    display: flex;
    position: fixed;
    background: #25d366;
    bottom: 25px;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    box-shadow: 2px 2px 12px rgba(22, 124, 60, 0.2);
    transition: 0.4s;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    z-index: 2;
}
#whatsapp-button > .rwb-tooltip {
    position: absolute;
    bottom: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    padding: 15px;
    color: #2d2d2d;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    background-color: #ffffff;
}
#whatsapp-button > .rwb-tooltip:after {
    display: block;
    content: "";
    position: absolute;
    top: 85%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 7px 0 7px;
    border-color: #fff transparent transparent transparent;
    transition: 0.4s;
}
#whatsapp-button.left {
    left: 25px;
}
#whatsapp-button.left > .rwb-tooltip {
    left: 0;
    transform: translateX(-10%);
}
#whatsapp-button.left > .rwb-tooltip:after {
    left: 23px;
}
#whatsapp-button:not(.left) {
    right: 25px;
}
#whatsapp-button:not(.left) > .rwb-tooltip {
    right: 0;
    transform: translateX(10%);
}
#whatsapp-button:not(.left) > .rwb-tooltip:after {
    right: 23px;
}
#whatsapp-button:hover {
    background: #21bd5c;
    box-shadow: 3px 3px 12px rgba(14, 81, 39, 0.4);
}
#whatsapp-button:hover > .rwb-tooltip {
    opacity: 1;
    transform: translateX(0);
}
#whatsapp-button:hover > .rwb-tooltip:after {
    top: 100%;
    transition-delay: 0.4s;
}


/* ========== Responsive Stylings ========== */
@media (max-width: 991px){
    .container{
        width: 100%;
    }
    .intro .intro-box{
        padding-left: 0;
        margin-bottom: 0;
    }
    .intro .intro-box span{
        margin-right: 10px;
    }
    .intro .intro-box .list-item{
        width: 85%;
    }
    .content-half ul li i{
        font-size: 20px;
    }
    .content-half ul li .list-content{
        width:77%;
    }
    .content-half ul li strong{
        line-height: 0;
    }
    .testimonial-section .single-testimonial .carousel-item{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .widget h2 {
        font-size: 1.5rem;
    }
    .widget .counter{
        line-height: 0;
        font-size: 1.7rem;
    }
    .widget .fa-3x{
        font-size: 2rem;
    }
    .widget .stat-content h4{
        font-size: 1.2rem;
    }
    .search-box{
        display: none;
    }
}

@media (max-width: 767px){
    .container{
        width:100%;
    }
    .intro .intro-form-small input[type="text"], .intro .intro-form-small input[type="password"]{
        width: 36%;
    }
    .intro .carousel-caption{
        top:10%;
    }
    .widget.widget-counter .container{
        width: 100%;
    }

    #navbarSupportedContent{
        background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0!important;
        padding: 30px 0
    }
    #navbarSupportedContent li{
        text-align: center;
    }
    #about .copy-container {
        background-color:rgba(255,255,255,0.9);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        padding: 30px;
    }

}

