/********** Template CSS **********/
:root {
    --primary: #2a276a;
    --secondary: #2a276a;
    --tertiary: #2a276a;
    --light: #2a276a;
    --dark: #2a276a;
}

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

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 500 !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;
}

.btn:hover {
    background-color: white;
    color: #2a276a;    
}


.navbar {
    background-color: #FFFFFF;
    text-transform: uppercase;
}

.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: .6s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
    background-color: white;
    color: #2a276a;
}

.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: black;
    text-decoration: none;
}

#certificados{
    padding-top: 140px;
}

#soluciones{
    padding-top: 140px;
}

p#politica{
    justify-content: center;
    text-align: justify;
    margin: 20px;

}

#usl{
    text-align: start;
    margin-top: 10px;
}

#flexSwitchCheckDefault{
    text-align: left;
}

.form-switch{
    padding-left: 2.5rem;
}

.form-floating>.form-control{
    margin-top: 10px;
}



#situacion,#archivo,#ciudad{
    background-color: #FFFFFF;
    justify-content: left;    
}

.mt-1{

    text-align: start;

}

.form-check{
    padding-left: 2.5rem;
    padding-top: 1rem;
}

input[type="checkbox"]{
    cursor: pointer;
}

.disable{
    cursor: not-allowed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    color: #000;
    font-size: large;
}


.dropdown-item.active,.dropdown-item:active{
    background-color: #2a276a;
}

@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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
    }
    
    #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-color: #011A41;
    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);
}

.page-header-portafolio {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/headerBack.jpg) top left no-repeat;
    background-size: cover;
    z-index: -1;
}

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

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

.container-portafolio{
    position: relative;
}

 

  .container-portafolio .container-fluid {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Ajusta los valores de la sombra según tus necesidades */
  }
  



/*Politica de Tratamiento de datos*/

.page-header-politica {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background-color: #2a276a;
    background-size: cover;
}

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

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

ul{
    text-align: start;
}

div > .nuestralinea{
    text-align: justify;
}

/*** Facts ***/
.facts {
    background-color: #2a276a;

}


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

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


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

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

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


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

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.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;
    background: rgba(255, 255, 255, .5);
    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;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

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

.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: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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


/*** Team ***/
.team-item {
    position: relative;
    padding: 5rem 0;
}

.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-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}



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



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

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



/*** 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: var(--light) 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 var(--light);
    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: var(--light);
    transition: .5s;
}

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

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


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: white;
    font-weight: 900;
    text-transform: capitalize;
    transition: .2s;
}

.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(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #2a276a;
    background: #ffffff;
    text-align: center;
}

.copyright a {
    color: #2a276a;
}

.copyright a:hover {
    text-decoration: none;
}

.link-footer{
    text-decoration: none;
}

.fondo-footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .fondo-footer video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
  }

.footer {
    background-color: #2a276a;
    opacity: .8;
    height: 100%;
    color: #ffffff;
}

/*Mis estilos*/

.logo{
    height: 80px;
}

.mi-clase{
    color: white;
    font-size: 50px;
}

/*Estilos del video*/
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: white;
    padding: 40px;
}

.overlay h1 {
    font-size: 30px;    
    color: #FFFFFF;
    text-transform: uppercase;
    width: 50%;
    padding-top: 20%;    
    font-weight: bold;
}

.overlay p {
    font-size: 20px;
    margin-bottom: 20px;
    width: 65%;
    font: 300;
}

.overlay a {
    margin-right: 10px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;    
    color: white;
    border-radius: 4px;
}

.overlay a:last-child {
    margin-right: 0;
}


.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio (9/16 * 100) */
    min-width: 177.78vh; /* 16:9 aspect ratio (16/9 * 100) */
    min-height: 100vh;
    border: none;
}



.prueba{
    margin-top: 30%;
    margin-left: 10%;
    
    height: 100%;
    text-transform: uppercase;
    width: 250px;
}


/*Texto decorativo en los a del navbar*/
.navbar-nav > a {
    text-decoration: none;
    color: #000;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: 15px;
  }

  
  .navbar-nav > a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2a276a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  
.navbar-nav >  a:hover::before {
    transform: scaleX(1);
    background-color: #2a276a;
  }

  /*btn WhatsApp*/

  .btn-whatsapp {
    display: block;
    width: 110px;
    height: 155px;
    position: fixed;
    right: 0px;
    bottom: 0px;
    border-radius: 50%;
    line-height: 80px;
    text-align: center;
    z-index: 99;
    color: #2a276a;
  }
  
  .btn-whatsapp img{
    height: 55px;
    border-radius: 50%;
    transition-duration: 299ms
  }
  
  .btn-whatsapp img:hover{
    height: 65px;
    border-radius: 50%;
    transition-duration: 199ms
  }


  /*Certificados*/

    .team-text::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2a276a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  
  .team-text:hover::before {
    transform: scaleX(1);
    background-color: #2a276a;
  }

  img.img-fluid.rounded{
    transition: all 0.2s ease-in-out;
   }

   img.img-fluid.rounded:hover{
    transform: scale(1.1);
    padding-top: 15px;
   }

   @media (min-width: 576px) {
    h5.card-title {
        font-size: 20px;
    }
}

.bajar{
    margin-bottom: 25%;
}

.nosotros-line-left{
    float: left;
    
}


.nosotros-line-rigth{
    float: right;
}

.about-my{
    color: #2a276a;
    font-size: 19px;
}

.linea-linea-rigth{
    color: #2a276a;
    border-right: 2px solid;
    
}

.about-video{
    background-color: transparent;
}

.parrafos{
    text-align: justify;
}

.valores{
    color: #2a276a;
}

.card{
    overflow: hidden;    
}
.card img{
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.1);
  }

  .image-instalada {
    position: relative;
  }
  
  .image-text {
    position: absolute;
    top: 13%;
    left: 5%;
    transform: translate(10%, -50%);
    background-color:#2a276a;
    color: white;
    padding: 20px;
  }

  .custom-list {
    list-style: none;    
    padding: 5px;
    text-align: justify;
  }

@media (max-width: 774px) {
    .linea-linea-rigth {
        border: none;        
    }

    .parrafos{
        font-size: 15px;
        margin: 0;
        padding: 0;
    }
}


@media (max-width: 991px) {
    .col-6 {
        width: 100%;
    }
}

img.acerca_{
    padding: 10px;
    border-radius: 15px;
}

/*Carrousel boton de contacto responsive*/
@media (max-width: 500px) {
    a.btn-llamado {
        font-size: 8px;
        margin-top: 100px;    
    }
}

/*Carrousel boton de contacto responsive*/
@media (max-width: 350px) {
    .logo {
        height: 43px;
    }
}

@media (max-width: 417px) {
    .video-container {
        
        overflow-x: hidden;
    }
    
}

/*escondemos el video ya que en dispositivos móviles no se ve la página/*/
@media (max-width: 767px) {
    iframe {
        display: none;    
    }

  .overlay{
    background-image: url("../img/acerca1.jpg");
    background-size: cover;
    font-weight: bold;
    height: 100%;    
    overflow: hidden;
    padding-top: 0;
  }

  .overlay h1{
    width: 100%;
    padding-top: 0px;
    
  }

  .overlay p{
    display: none;
  }

}
