
/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
 *{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Poppins";
    border: none;
    
 }

 html{
  scroll-behavior: smooth;
  overflow-x: hidden;
 }

 
 ::-webkit-scrollbar{
   width: 10px;
 }
 ::-webkit-scrollbar-track{
   background-color: var(--second-color) ;
 }
 ::-webkit-scrollbar-thumb{
   background-color: #4286f4;;
   border-radius: 10px;
 }
 :root{
   --main-color: #6f0000;
   --second-color: #ffe0c3ea;
   --title-color: #222;
   --subtitle-color: #8d8d8d;
 }
 body{
   font-family: 'Poppins', sans-serif;
   min-height: 100vh;
   
   overflow-x: hidden;
   position: relative;
 }
 a{
   text-decoration: none;
 }
 ul{
   list-style: none;
 }
 .img-fluid{
   width: 100%;
   height: auto;
 }
 .section{
   padding: 80px 0 0;
   
   
 }
 .container{
   max-width: 1600px;
   margin-top: -25px;

 }
 .btn{
  
   border: 2px solid rgba(66, 134, 244, 0.8) ;
   padding: 10px 20px;
   color: #fff;
   font-size: 16px;
   border-radius: 10px;
   transition: .4s;
 }
 .btn:hover{
   background-color: rgba(111, 0, 0, .5);
   border: 1px solid #fff;
   color: linear-gradient(rgba(55, 59, 68, 0.8), rgba(66, 134, 244, 0.8));;;
 }
 .btn i{
   font-size: 20px;
   margin-left: 10px;
 }
 .section_title{
   text-align: center;
   font-size: 24px;
   font-weight: 600;
   text-transform: capitalize;
   
   color:#6f0000;
   position: relative;
   
   padding-bottom: 10px;
 }

 .section_title::before{
   content: "";
   position: absolute;
   bottom: 0;
   left: 25%;
   width: 50%;
   height: 2px;
   background-color: #6f0000;
 }

 
 .grid{
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   column-gap: 2rem;
 }

 /*----------Header---------------*/


 header{
   position: fixed;
   width: 100%;
   height: 57px;
   padding: 5px 0;
   z-index: 1000;
   background: rgba(66, 134, 244, 0.8);
 }

 header.active{
   background:   rgba(66, 134, 244, 1);
 
 }
 header .container{
   display: flex;
   align-items: center;
   justify-content: space-around;
   margin-top: 5px;
 }
 .logo{
   width: 90px;
    height: 40px;
   display: flex;
   align-items: center;
   
 }
 .menu{
   white-space: nowrap;
   transition: .5s;
   z-index: 999;
   position: relative;
 }
 
.img-phone{
  
  color: #eee;
  width: 35px;
  font-size: 25px;
  
}
 .menu_item{
   display: inline-block;
   font-size: 12px;
 }
 .menu_link{
   padding: 5px 10px;
   position: relative;
   transition: .4s;
   color: #6f0000;
   
 }
 .menu_link::before{
   content: "";
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   height: 2px;
   background-color: #fff;
   transform: scale(0);
   transition: .4s;
 }

 .menu_link:hover{
   color: #fff;
 }
 .active-link{
   color: #fff;
 }
.menu_link.active-link::before,
.menu_link:hover::before{
   transform: scale(1);
}

.close_icon{
   font-size: 25px;
   position: absolute;
   top: 30px;
   right: 250px;
   z-index: 1000;
   color: var(--main-color);
   cursor: pointer;
   display: none!important;
}
.toggle_icon{
   font-size: 32px;
   display: none!important;
   cursor: pointer;
   margin-right: 10px;
   color: #faf9ff;
}





 /*----------Section Home---------------*/

 .hero .hero_container{
  align-items: center;
  min-height: 100vh;
  width: 100%;
  background-image:   linear-gradient(rgba(4,9,30,0.6),rgba(4,9,30,0.6)),url(/img/portada.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 998;
 
}




.hero_content{
  
  display: grid;
  justify-content: center;
  align-self: center;
  padding: 200px;
}
.hero_container a{
  margin-bottom: 25px;
}
.hero_container a img{
      width: 40%;
          position: absolute;
    top: -90px;
    left: 0px;
    z-index: 999;
    
    
}



/*.hero_container h4{
   font-size: 40px;
   font-weight: 600;
   color: var(--main-color);
   text-transform: uppercase;
}*/
.hero_container h1{
   font-size: 30px;
   font-weight: 700;
  text-align: center;
   font-family: "Caveat", cursive;
   
   margin-bottom: 16px;
   color: #fff;
}
.hero_container p{
   margin: 10px 0 40px;
   color: #fff;
   font-size: 18px;
   display: none;
}
.hero_container .btn{
   margin-top: 30px;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
}
.hero_social {
   display: flex;
   column-gap: 20px;
   justify-content: center;
}
.hero_social a{
   font-size: 22px;
   display: inline-flex;
   width: 30px;
   height: 30px;
   text-align: center;
   align-items: center;
   justify-content: center;
   background-color: #eee;
   color: #333;
   transition: .4s;
   border-radius: 50%;
   box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.hero_social a:hover{
   background-color: #1260aa;
   box-shadow: 0 0 10px #000;
}
.footer_hero{
  height: 200px;
   background-image:   linear-gradient(rgba(4,9,30,0.6),rgba(4,9,30,0.6)),url(/img/count-bg.jpg);
  
  padding: 15px;
 
}

.footer_hero H3{
  color: #000;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  
}
.footer_hero .logotipos{
  display: flex;
  flex-direction: column;
  justify-content:left;
  align-items: center;
 margin: 30px;
 color: #000;
}



.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.modal-content {
  background: #faf9ff;
  width: 60%;
  height: 70vh;
  margin: 8% auto;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: var(--main-color);
}

.modal-content .content-desing h4{
  text-align: center;
  margin: 15px;
  font-size: 18px;
  font-weight: 400;
  color: var(--main-color);
}

.modal-content .content-desing p{
  text-align: justify;
  margin: 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #000;
}

/*===responsive menu===================*/

@media (max-width: 995px) {
  header .container {
    justify-content: space-between;
  }

  .toggle_icon {
    display: block !important;
  }

  .menu {
    position: absolute;
    top: 57px;
    right: 0;
    width: 100%;
    background-color: rgba(66, 134, 244, 0.95);
    flex-direction: column;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .menu_item {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .close_icon {
    display: block !important;
    position: absolute;
    top: 10px;
    right: 20px;
  }
}


        /*============NOSOTROS=================*/


.about-section{
  min-height: 100vh;
  width: 100%;
  
}

.about{
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
  background: #faf9ff;
  
  
}
.about-title{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.about-title img{
    width: 15%;
    
  
}
.about-title h3{
  font-size: 30px ;
  font-weight: 600;
  color: #4286f4;
  line-height: 36px;
  padding: 10px;
  margin: 10 70px;
}


.section-info{
  max-width: 95%;
  gap: 2rem;
  margin: 1.5rem;
 
  justify-content: space-around;
  display: flex;
}
.info-imag{
  
  height: auto;
  width: 420px;
  border-radius: 50px;
  box-shadow: 30px 30px 30px -10px rgba(0, 0, 0, 0.15), inset 15px 15px 15px 10px rgba(255, 255, 255, 0.75), -15px -15px 35px rgba(255, 255, 255, 0.55), inset -1px -1px 10px rgba(0, 0, 0, 0.2);
}
.info-imag img {
  border-radius: 25px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: transform 0.5s ease; /* transición suave */
}

.info-imag img:hover {
  transform: scale(1.1); /* zoom al 110% */
}




.info-text{
  flex-basis: 50%;
  text-align: justify;
}
.info-text p{
  font-size: 16px;
}
.info-text h4 {
  font-size: 16px;
  font-weight: 200;
}
.info-text h4 span{
  color: var(--main-color);
}
.info-text p span{
  color: var(--main-color);
}

/* Animación base oculta */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer_about {
  height: 120px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.6)),url(/img/semefa04.jpeg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 15px;
  display: flex;
  justify-content: center;
   align-items: center;
   margin-bottom: 10px;
}


.footer_about H3{
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}

.footer_about H3 span{
  color: #fff;
  font-weight: 500;
}

.footer_about_dos{
  height: 120px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.6)),url(/img/semefa04.jpeg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 15px;
  display: flex;
  justify-content: center;
   align-items: center;
}

.footer_about_dos H3{
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}

.footer_about_dos H3 span{
   color: #fff;
  font-weight: 500;
}



@media screen and (max-width: 995px) {
  
  .section-info {
    flex-direction: column;
    align-items: center;
  }
.columna-about {
  height: 100px;
  margin-top: 10px;
  
}
  .columna-about p{

font-size: 14px;

}

  .footer_hero H3{
    
    font-size: 16px;
    
    text-align: center;
  }
 
  .footer_about h3{
    font-size: 16px;
    
    text-align: center;
  }

  .footer_about_dos h3{
    font-size: 16px;
    
    text-align: center;
  }

  
  
}
@media screen and (max-width: 780px){
  .hero_content a img{
    width: 15%;
    margin-top: -50px;
  }

  .section_title{
    font-size: 20px;
  }

  .about-title{
  display: block;
  justify-content: center;
  align-items: center;
}
.about-title img{
    width: 20%;
    
  
}
.about-title h3 {
  font-size: 25px;
}

.hero_container a img{
  width: 30%;
    top: -50px;
    
    
    
}
}


@media screen and (max-width: 640px){

  .columna-about p {
    width: 45%;
  }
  .footer_hero H3{
    text-align: center;
    font-size: 14px;
    
  }
  .footer_hero .logotipos{
    text-align: center;
   font-size: 12px;
   
  }

  .footer_about h3{
    font-size: 14px;
   
  }

  .footer_about_dos h3{
    font-size: 14px;
   
  }

  
  
  .info-text{
    
    text-align: left;
  }

  .modal-content .content-desing p{
    text-align: left;
    
  }

  .about-title img{
    width: 25%;
    
  
}
  
}

@media screen and (max-width: 520px){
  .info-imag{
    width: 85%;
  }

  .columna-about p{

font-size: 12px;
}

.info-text h4 {
  font-size: 12px;
}
  .about-title h2{
    font-size: 18px;
  }
  
  .hero_content a img{
    width: 25%;
    margin-top: -50px;
  }
  .about-title h3 {
  font-size: 20px;
}
.hero_container a img{
  width: 50%;
    top: -30px;
    
    
    
}
  
}



/*---------valores---------------*/

.valores .text-valores{
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 25px 70px;
}

.valores .text-valores img{
    width: 20%;
    
  
 
  
}
.valores .text-valores p {
  font-size: 20px;
  font-weight: 400;
}
.valores .text-valores p span{
  color: #4286f4;
}

.valores .caja-contenedor{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px;

}
.valores .caja-contenedor .card{
  position: relative;
  height: 250px;
  background-color: #fff;
  display: flex;
  width: 40%;
  margin: 30px 30px;
  
}

/*.valores .caja-contenedor .card .imgBx {
  position: relative;
  overflow: hidden;
}*/

.valores .caja-contenedor .card .imgBx{
  position: absolute;
  top: 0; left:0;
  background: #fff;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in-out;
  overflow: hidden;
}



.valores .caja-contenedor .card:hover .imgBx{
  
  width: 150px;
  height: 85px;
  left: -75px;
  background: #fff;
  top: calc(50%-75px);
  transition: 0.5s ease-in-out;
  border-radius: 15px;
}
/*.valores .caja-contenedor .card .imgBx::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente 
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}*/
.valores .caja-contenedor .card .imgBx::before {
  content: " ";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  padding: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  z-index: 2;
  
  
}


.valores .caja-contenedor .card .imgBx img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.5s;
  
}
/*.valores .caja-contenedor .card .imgBx img{
  
  max-width: 100%;
  transition:  0.5s ease-in-out;
  border-radius: 15px;
}*/

.valores .caja-contenedor .card:hover .imgBx img{
  max-width: 150px;
  
}

.valores .caja-contenedor .card .content-card{
  position: absolute;
  right: 0;
  width: calc(100% - 75px);
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.valores .caja-contenedor .card h3 {
  margin-left: 25px;
  font-size: 16px;

}

.valores .caja-contenedor .card .content-card p{
  margin-left: 25px;
  font-size: 14px;
}

.valores .caja-contenedor .card a{
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: #333;
  text-decoration: none;
  color: #fff;
}


.footer_valores {
  height: 200px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.9), rgba(0, 0, 0, 0.8)),url(/img/semefa02.jpeg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* para efecto parallax */
  color: var(--main-color);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_valores h3{
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    
  }



@media screen and (max-width: 996px){
  .footer_valores h3{
    font-size: 16px;
    
    text-align: center;
  }

  .valores .caja-contenedor{
    position: relative;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  

 .valores .caja-contenedor .card .imgBx img {
    filter: brightness(50%);
  }

   .valores .caja-contenedor .card .imgBx::before {
  content: attr(data-text);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: anchor-center;
  color: #fff;
  
}


  
}
@media screen and (max-width: 768px){

  .valores .text-valores{
  display: block;

}


  .valores .caja-contenedor .card{
    max-width: 300px;
    height: auto;
    flex-direction: column;
  }
 
  .valores .caja-contenedor .card .imgBx{
    position: relative;
  }

  .valores .caja-contenedor .card .imgBx::before {
  content: attr(data-text);
  font-size: 12px;
  font-weight: 200;
  
}

.valores .caja-contenedor .card h3 {
  margin-left: 15px;
  font-size: 12px;

}

.valores .caja-contenedor .card .content-card p{
  margin-left: 5px;
  font-size: 10px;
}


  
}

@media screen and (max-width: 640px){

  .valores .text-valores img{
    width: 20%;
  
}
  .footer_valores h3{
    font-size: 14px;
    
    
  }
  .footer_valores .logotipos{
    
   font-size: 12px;
  }
}
@media screen and (max-width: 576px){

  .valores .text-valores img{
    width: 30%;
  
}
  .valores .caja-contenedor .card{
    width: 70%;
  }
}

@media screen and (max-width: 480px){
  .valores .caja-contenedor .card h3 {
  margin-left: 5px;
  font-size: 10px;

}

.valores .caja-contenedor .card .content-card p{
  margin-left: 2px;
  font-size: 8px;
}
}
/*----------Portfolio section---------------*/

 .text-portafolio{
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 25px 70px;
  
}

 .text-portafolio img{
  width: 20%;
 }

 .text-portafolio h2{
  font-size: 16px ;
 text-align: center;
  color: #333;
  font-weight: 200;
  padding: 10px;
  margin: 10px 70px;
}

.portfolio_filters{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 70px;
}
.portfolio_filters li{
  font-size: 15px;
  padding: 5px 15px;
  cursor: pointer;
}
.portfolio_container {

  display: flex;
  justify-content: center;
  align-items: center;

}

.mapa-cobertura {
  width: 50vw; /* ancho completo de la ventana */
  height: 410px;
  margin: 10px 0; /* separación arriba y abajo */
  overflow: hidden;
  border: 1px solid #1260aa;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: fadeInUp 1.5s ease-out both;
}

.mapa-cobertura img {
  width: 100%;
  height: 450px;
  display: block;
  transition: transform 0.8s ease;

  
}

/* Efecto zoom al pasar el mouse */
.mapa-cobertura:hover img {
  transform: scale(1.4);
}

/* Animación al cargar (de abajo hacia arriba con opacidad) */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.footer_portfolio {
  height: 200px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.9), rgba(0, 0, 0, 0.8)),url(/img/semefa01.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_portfolio h3{
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    
  }

@media screen and (max-width: 992px) {
  .portfolio_wrap-container{
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio_filters {
    flex-direction: column;
  }

  .footer_portfolio h3{
    font-size: 16px;
    
    text-align: center;
  }
  .footer_portfolio .logotipos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   margin: 30px;
   font-size: 14px;
   
  }

  .mapa-cobertura{
    width: 80vw;

  }
}
@media  screen and (max-width: 769px)  {
  .text-portafolio{
  display: block;
  
}

 .text-portafolio img{
  width: 30%;
 }

 .text-portafolio h2 {
    font-size: 16px;
    text-align: center;
    
    padding: 5px;
    margin: 5px 10px;
}

  
}

@media screen and (max-width: 640px){
  .footer_portfolio h3{
    font-size: 12px;
    margin-bottom: 25px;
    
    
  }
  .footer_portfolio .logotipos{
    
   font-size: 10px;
   
  }

  .mapa-cobertura{
    width: 90vw;

  }
  
}
@media screen and (max-width: 576px) {

   .text-portafolio img{
  width: 35%;
 }
  .portfolio_wrap-container {
    grid-template-columns: 1fr;
  }
  .portfolio_filters li {
    font-size: 16px;
  }
}

/*==============Infraestructura====================*/



 .text-infra{
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 25px 70px;
  
}

 .text-infra img{
  width: 20%;
 }

 .text-infra h2{
  font-size: 16px ;
 text-align: center;
  color: #333;
  font-weight: 200;
  padding: 10px;
  margin: 10px 70px;
}

.infraestructura .caja-contenedor{
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;


}
.infraestructura .caja-contenedor .card{
  

  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.infraestructura .caja-contenedor .card:hover {
  transform: translateY(-5px);
}

.icon-services,
.icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 15px;
}

.icon {
  font-size: 64px;
  color: #0057b7;
  
}


.infraestructura .caja-contenedor .card h3{
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
  
  color: #333;
  
}
.infraestructura .caja-contenedor .card p{
  text-align: center;
  
  
}



.footer_Infraestructura {
  height: 200px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.9), rgba(0, 0, 0, 0.8)),url(/img/infraestructura-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_Infraestructura h3{
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    
  }

  @media screen and (max-width: 992px){
    .text-infra{
  display: block;
  
}

 .text-infra img{
  width: 25%;
 }
  }
  @media screen and (max-width: 768px){
  .text-infra h2{
  font-size: 14px ;
  margin: 10px 10px;
 
}

.text-infra img{
  width: 30%;
 }

  
  
}

  /*============clientes================*/

  .clientes{
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
  background: #faf9ff;
  
  
}
.clientes-title{
  
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 25px 70px;
  
}
.clientes-title img{
  width: 20%;
}
.clientes-title h2{
     font-size: 16px;
    text-align: center;
    color: #333;
    font-weight: 200;
    padding: 10px;
    margin: 10px 70px;
  
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 10px auto;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #1260aa;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
}

.testimonial {
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #0057b7;
}
.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.testimonial h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #666;
}

.carousel-nav {
  margin-top: 10px;
}

.carousel-nav button {
  background-color: #0057b7;
  color: white;
  border: none;
  font-size: 10px;
  padding: 10px 15px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
  background-color: #003f8c;
}


.footer_clientes{
  height: 200px;
  background: rgba(0, 0, 0, 1);
  color: var(--main-color);

  padding: 15px;
 
  
  align-items: center;
  
}
.footer_clientes H3{
  font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 500;
}
.footer_clientes .logotipos{
  display: flex;
  
  justify-content: center;
  align-items: center;
 margin: 5px 30px;
}
.footer_clientes .logotipos img{
  width: 20%;
}

@media screen and (max-width: 768px){
  
.clientes-title{
  
  display: block;
  
}
.clientes-title h2{
 
    padding: 5px;
    margin: 5px 10px;
}


.clientes-title img{
  width: 25%;
}


  .footer_clientes .logotipos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_clientes .logotipos img{
    width: 60%;
  }
  
}

@media screen and (max-width: 520px){
.clientes-title img{
  width: 30%;
}
  .footer_clientes .logotipos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_clientes .logotipos img{
    width: 100%;
  }
}
/*==============flotilla====================*/

.flotilla{
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
  background: #faf9ff;
  
  
}
.flotilla-title{
  
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 25px 70px;
  
}

.flotilla-title img{
  width: 20%;
}
.flotilla-title h2{
     font-size: 16px;
    text-align: center;
    color: #333;
    font-weight: 200;
    padding: 10px;
    margin: 10px 70px;
 
  
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.footer_flotilla {
  height: 200px;
  background-image:   linear-gradient(rgba(66, 134, 244, 0.9), rgba(0, 0, 0, 0.8)),url(/img/clientes01.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_flotilla h3{
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    
  }

  @media screen and (max-width: 992px){

    
  .gallery-item {
  width: 95%;
    margin: 25px;
  
}
 }
 @media screen and (max-width: 762px){
.flotilla-title{
  
  display: block;
  
}

.flotilla-title img{
  width: 25%;
}

.flotilla-title h2{
     
    padding: 5px;
    margin: 5px 10px;
 
  
}
 }

  @media screen and (max-width: 520px){
.flotilla-title img{
  width: 30%;
}
  }





/*==============contacto====================*/
.contact{
  position: relative;
  min-height: 100vh;
  padding: 50px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(66, 134, 244, 0.4), rgba(0, 0, 0, 1)),url(/img/parallax-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  
}
.section_titleDos{
  
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: .8;
    color:var(--main-color);
    position: relative;
    margin-top: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }



.container-contact{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.container-contact .contactInfo{
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-bottom: 200px;
}

.container-contact .contactInfo .box{
  position: relative;
  padding: 20px 0;
  display: flex;
}

.container-contact .contactInfo .box .icon{
  min-width: 60px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container-contact .contactInfo .box .text{
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}
.container-contact .contactInfo .box .text h3 {
  position: relative;
  transition: transform 0.3s ease;
  font-weight: 400;
}

.container-contact .contactInfo .box .text h3:hover {
  color: #6f0000;
}

.contactForm{
  width: 40%;
  padding: 20px;
  background: #fff;
  text-align: center;
  ---form-ok-color: #4caf50;
  ---form-error-color: red;
}
.contactForm [required]:valid{
  border: thin solid var(---form-ok-color);
}
.contactForm [required]:invalid{
  border: thin solid var(---form-error-color);
}

.contact-form-error{
  margin-top: -1rem;
  font-size: 12px;
  background-color: var(---form-error-color);
  color: #fff;
  transition: all 800ms ease;
}
.contact-form-error.is-active{
  display: block;
  animation: show-message 1s 1 normal 0s ease-out both;
}

.none{
  display: none;
}
@keyframes show-message{
  0% {
    visibility: hidden;
    opacity: 0;
  }100%{
    visibility: visible;
    opacity: 1;
  }
}


.contact-form-response{
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.contactForm h2{
  font-size: 24px;
  color: #333;
  font-weight: 500;
}
.modal-content .contactFormtwo{
  width: 98%;
  height: 100%;
  padding: 20px;
  background: #fff;
}
.contactFormtwo h2{
  font-size: 16px;
  color: var(--main-color);
  font-weight: 500;
  text-align: center;
}


.contactFormtwo .inputBoxtwo {
  position: relative;
  width: 100%;
  margin-top: 8px;
}

.contactFormtwo .inputBoxtwo input,
.contactFormtwo .inputBoxtwo textarea{
  width: 100%;
  padding: 5px 0;
  margin: 5px 0;
  border: none;
  border-bottom: 1px solid #333;
  outline: none;
  resize: none;
}

.contactFormrwo .inputBoxtwo span{
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 12px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #c2c0c0;
}

.contactFormtwo .inputBoxtwo input:focus ~ span,
.contactFormtwo .inputBoxtwo input:valid ~ span,
.contactFormtwo .inputBoxtwo textarea:focus ~ span,
.contactFormtwo .inputBoxtwo textarea:valid ~ span{
  color: var(--main-color);
  font-size: 8px;
  transform: translateY(-20px);
}

.contactFormtwo .inputBoxtwo input[type="submit"]{
  width: 100%;
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
}
.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea{
  width: 100%;
  padding: 5px 0;
  margin: 10px 0;
  border: none;
  border-bottom: 1px solid #333;
  outline: none;
  resize: none;
}

.contactForm .inputBox span{
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span{
  color: var(--main-color);
  font-size: 10px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"]{
  width: 100%;
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}




@media screen and (max-width: 992px){
  .contact_content {
    padding: 40px;
  }
  .container-contact{
    flex-direction: column;
  }
  .container-contact .contactInfo{
    margin-bottom: 30px;
  }
  .container-contact .contactInfo,
  .contactForm{
    width: 100%;
  }
}

@media screen and (max-width: 576px){
  .contact {
    padding: 50px 50px;
  }
}






/*----------Footer---------------*/

.footer_bg{
  background-color: var(--main-color);
  padding-top: 30px;
}

.footer_container{
  text-align: center;
}
.main_footer{
  padding-bottom: 50px;
  border-bottom: 1px solid rgb(219, 219, 219);
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  color: #000;
}


.footer_social{
  display: flex;
  justify-content: center;
  column-gap: 20px;
}

.footer_social img{
  border-radius: 50%;
  width: 15%;
  margin-top: 15px;
  margin-bottom: -25px;
}
.footer_social a{
  background-color: #fff;
  color: var(--title-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
.footer_social a:hover {
  background-color: var(--second-color);
}
.footer_copy{
  padding: 20px 0;
  color: #dbdbdb;
}

.main_footer .biografia{
  margin-top: 15px;
  margin-left: 80px;
  margin-right: 80px;
  padding: 10px;
  text-align: justify;
}

.main_footer h3{
  text-align: center;
  color: #000;
}

 /*----------Responsive---------------*/
@media screen and (max-width: 768px){
  .contact_content{
    flex-direction: column;
  }
  .main_footer .biografia {
    font-size: 16px;
    
  margin-left: 15px;
  margin-right: 15px;
  
  }

  .footer_social img{
    
    width: 30%;
    
  }
   }
  @media screen and (max-width: 640px){
    .main_footer .biografia{
      
      text-align: left;
    }
  }
  
