/********** Template CSS **********/
.team-item .team-text
:root {
    --primary: #ff0000;
    --secondary: #ff0000;
    --tertiary: #000000;
    --light: #fddfdf;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !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 {
    transition: .5s;
    font-weight: 500;
}

#contact{
    margin-left: 90%;
}

#contact{
    color: #ffffff;
    background-color: #040404;
}
#contact:hover{
    color: #000000;
    background-color: #ff0000;
}
.btn-outline-primary:hover {
    color: #ffffff;
}

@media  (max-width: 600px) {
    #contact{
        font-size: 15px;
        margin-left: 80px;
               
        
    }
}
@media  (max-width: 500px) {
    #contact{
        font-size: 15px;
        margin-left: 100px;
        
               
        
    }
}


.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 ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color:#000000;
}
.nav-tabs .nav-link:hover{
    color: #fc0909;
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.page-header {
    position: relative;
    padding-top: 30rem;  /* Valor por defecto para pantallas grandes */
    padding-bottom: 9rem;  /* Valor por defecto para pantallas grandes */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.6); /* Gris con opacidad */
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}


.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container .display-3 {
    color: #FFFFFF;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    position: relative;
    left: 28%;
    margin-top: -250px;
}



/* Media queries para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .container .display-3 {
        left: 25%;
        margin-top: -500px;
        font-size: 2.5rem;  /* Ajuste del tamaño de la fuente */
        
    }
}

@media (max-width: 992px) {
    .container .display-3 {
        left: 20%;
        margin-top: -150px;
        font-size: 2rem;  /* Ajuste del tamaño de la fuente */
    }
}

@media (max-width: 768px) {
    .container .display-3 {
        left: 25%;
        margin-top: -100px;
        font-size: 2.75rem;  /* Ajuste del tamaño de la fuente */
    }
}

@media (max-width: 576px) {
    .container .display-3 {
        left: 10%;
        margin-top: -50px;
        font-size: 2.75rem;  /* Ajuste del tamaño de la fuente */
    }
}

@media (max-width: 400px) {
    .container .display-3 {
        left: 5%;
        margin-top: -25px;
        font-size: 2.75rem;   /* Ajuste del tamaño de la fuente */
    }
}


/* Media queries para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .page-header {
        padding-top: 14rem;  /* Ajuste para pantallas medianas */
        padding-bottom: 7rem;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding-top: 12rem;  /* Ajuste para pantallas pequeñas */
        padding-bottom: 6rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 10rem;  /* Ajuste para tablets */
        padding-bottom: 5rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding-top: 25rem;  /* Ajuste para móviles */
        padding-bottom: 4rem;
    }
}

@media (max-width: 400px) {
    .page-header {
        padding-top: 20rem;  /* Ajuste para móviles más pequeños */
        padding-bottom: 3rem;
    }
}
.container-fluid .container .text-expliq {
    position: absolute;
    text-align: center;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 80%;
    font-size: 50px;
    font-weight: 800;
    left: 12%;
    margin-top: -350px;
}
.container-fluid .container .text-expliq2 {
    position: absolute;
    color: #FFFFFF;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    left: 38%;
    font-size: 25px;
    margin-top: -8rem;
}

@media only screen and (max-width: 600px) {
    .container-fluid .container .text-expliq2 {
        left: 28%;
        font-size: 16px;
        margin-top: -5px;
    }
}
/* Media queries para diferentes tamaños de pantalla */
@media (max-width: 1500px) {
    .container-fluid .container .text-expliq2 {
        left: 38%;
        font-size: 16px;
        margin-top: -150px;
    }
}
@media (max-width: 1200px) {
    .container-fluid .container .text-expliq2 {
        left: 36%;
        font-size: 16px;
        margin-top: -55px;
        
    }
}

@media (max-width: 992px) {
    .container-fluid .container .text-expliq2 {
        left: 25%;
        font-size: 14px;
        margin-top: -38px;
    }
}

@media (max-width: 768px) {
    .container-fluid .container .text-expliq2 {
        left: 20%;
        font-size: 12px;
        margin-top: -24px;
    }
}

@media (max-width: 576px) {
    .container-fluid .container .text-expliq2 {
        left: 23%;
        font-size: 13px;
        margin-top: -120px;
    }
}

@media only sreen and (max-width: 600px) {
    .container-fluid .container .text-expliq2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


/* Media queries para el texto */
@media (max-width: 1200px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        font-size: 20px;
        margin-top: -10%;
        left: 12%;
    } 
}

@media (max-width: 992px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        font-size: 20px;
        margin-top: -55%;
        left: 17%;
    }
}

@media (max-width: 700px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        font-size: 20px;
        margin-top: -55%;
        left: 17%;
    }
}

@media (max-width: 600px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        font-size: 20px;
        margin-top: -55%;
        left: 13%;
    }
}
@media (max-width: 500px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        font-size: 20px;
        margin-top: -55%;
        left: 13%;
    }
}
@media (min-width: 400px) {
    .container-fluid .container .text-expliq {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
.c
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color:#ffffff;
    border: 10px solid#ffffff;
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@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 {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
} */

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(254, 40, 40, 0.95), rgba(0, 0, 0, 0.962)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background:#ffffff;
    border-color:#ffffff !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color:#fc0909 !important;
    background:#040404;
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    background: #020202;
    border: 1px solid #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background:#ff0000;
    border-color:#ffffff;
}

.project-item .project-title h4 {
    transition: .5s;
    color: #ffffff;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#ffffff;
    background: #000000;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background:#ff0000;
    color: #ffffff;
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 3rem;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid #000000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background:#ff0000;
    border-color:#ffffff;
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #ffffff;
}

.team-item .team-social .btn {
    background: #000000;
    color:#ffffff;
}

.team-item:hover .team-social .btn {
    background: #000000;
}

.team-item .team-social .btn:hover {
    background:#ffffff;
    color: #000000;
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #000000 transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid #000000;
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: #ff0000;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color:#ff0000;
}

.testimonial-carousel .owl-dot.active::after {
    background:#000000;
}


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

.copyright {
    color: #ffffff;
    background: #000000;
}

.copyright a {
    color: #ffffff;
}

.copyright a:hover {
    color:#ff0000;
}