/*colores
Azul marino: #24298F
Morado: #6B41A6
Rosado: #E54C89
Beige: #EFEEDF
Negro: #151614
Amarillo: #FFC502
Naranja:#E9501D
Cafecito: #C9C09B
gris: #313231
lila: #f8e3fc*/
html {
  scroll-behavior: smooth;
}
*{
    margin-bottom: 0px;
    padding-bottom: 0px;
    overflow-x: hidden;
    font-family: 'Poppins';
}
/*  # Header */
.navbar .nav-link {
	color: black;
    font-weight:bolder;
	
	transition: .2s;
	text-decoration: none; 
	z-index: 1097;
	background-color: #EFEEDF;
	display: inline-flex;
	display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

#menu:hover {
	padding-bottom: 3px;
    	color: #151614;
    	font-weight:bolder;
    
}
#menu{
    color: black;
    font-weight:bolder;
    transition: .2s;
    text-decoration: none; 
    z-index: 1097;
    background-color:#EFEEDF;
    display: inline-flex;
}

#header{
	transition: all 0.5s;
	z-index: 1097;
	padding: 0 0;
	background-color: #EFEEDF;
    position:fixed;
    width: 100%;
}
#submenu{
    background-color:#24298F;
    color: white;
    font-weight: bolder;
    display: inline-flex;
    position: relative;
    width: 100%;
    text-decoration: none;
    padding-top:90px;
    
}
#submenu a{
    color:white;
    font-weight: bolder;
    cursor: pointer;
    font-size: 1em;
    text-align:right;
}
#submenu .nav-item{
}
#submenu a:hover {
    color: white;
}
.header1{
display: flex;
  justify-content: flex-end; /* Alinea a la derecha */
  gap: 2rem; /* Espacio entre enlaces */
  padding-right: 20px; 
}
#header.header-transparent {
	background-color: antiquewhite;
}

#header.header-scrolled {
	background: rgba(255, 255, 255);
	padding: 15px 0;
}

#header .logo {
	font-size: 28px;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 2px;
	font-family: "Poppins", sans-serif;
}

#header .logo a {
	color: black;
}

#header .logo img {
	max-height: 70px;
}
#header .logo img:hover{
 scale:0.6;
 filter: saturate(160%);
}
@media (max-width: 992px) {
	#header .logo {
		font-size: 28px;
	}
}
section {
  scroll-margin-top: 150px; /* Ajusta según el alto del header */
}
/*  # Inicio */
.inicio{
    position: relative;
  width: 100%;
  height: 50vh; /* Altura completa del viewport */
  overflow: hidden;
  
}
.inicio video{
    position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;}

/*  # End Inicio */

/*  # Metodologia */
.metodologia{
    background-color: #f8e3fc;
    overflow:hidden;
    
}
.metodologia h1{
    font-size:4em;
    color:#6B41A6;
    text-align: center;
     overflow-y: hidden;
    
}
@media (max-width: 768px) {
 .metodologia h1 {
    font-size: 3em;
  }
}
.metodologia h2{
    font-size: 2em;
    color:#24298F;
    font-weight: bolder;
    text-align: center;
     overflow-y: hidden;
    
}
.metodologia a{
    font-size:1.2em;
    color:#6B41A6;
    text-decoration: none;
    text-align: center;
    
}
.metodologia span{
 font-weight: bolder;
 text-align:center;   
}
.metodologia video{
    width: 100%;
    height: auto;
}
.imagmetodologia{
display: flex;
    justify-content: center;
    align-items: center;
}

.metodologia img{
width:60%;
height: auto;
text-align:center;
}
/*#End metodologia */

/*Servicios*/
#servicios{
    background-color: #f8e3fc; 
    overflow-y:hidden;
}
#servicios h2{
     font-size:2em;
    color:#24298F;
    font-weight: bolder;
    text-align: center;
     overflow-y: hidden;
}
#servicios a{
    font-size: 12px;
    color:#6B41A6;
    text-decoration: none;
    font-weight: bolder;
    
}
#service{
margin-bottom:1vw;
}
#servicios img{
    max-width: 90px;
    max-height: 90px;
    left:0px;
}
#servicios #show-button-service{
    background-color: transparent;
    border: transparent;
}
/*Servicios transición imagenes*/
#servicioscarrusel{
    background-color: #f8e3fc;
}
#servicioscarrusel img{
    width: 500%;
    height: auto;
}
#servicioscarrusel a{
    font-size: 1em;
    color:#6B41A6;
    text-decoration: none;
    font-weight: bolder;
    text-align: center;
}
#servicioscarrusel  h1{
    color:#6B41A6;
    font-weight: bolder;
    font-size: 1.6em;
    text-align: center;
    overflow-y:hidden ;
   
    }
#servicioscarrusel p{
        color: #252325;
        font-size: 1.5em;
        text-align: left;
    }

#servicios dialog{
    background-color: #f8e3fc;
    border: 1px solid #6B41A6;
    width: 70%;
    height: auto;
}
.dialogo-servicios{
    background-color: #f8e3fc;
    border: 1px solid #6B41A6;
    width: 700px;
    height: auto;
}
#modal-servicios img{
    width: 100%;
    height: auto;
}
#modal-servicios:hover{
    box-shadow: none;
    background-color: #f8e3fc;
    
}
#modal-servicios{
    background-color: #f8e3fc;
    border: #f8e3fc solid 1px;
    padding-left:0px;
    padding-right:0px;
}
#servicios .cerrardialog{
    background-color: red;
    color: white;
    border: 1px solid red;
    border-radius: 15%;
}
#show-button-service1, #show-button-service2,#show-button-service3, #show-button-service4, #show-button-service5, #show-button-service6, #show-button-service7, #show-button-service8, #show-button-service9 {
    border: transparent;
    background-color: #f8e3fc;

} 
#show-button-service1, #show-button-service2,#show-button-service3, #show-button-service4, #show-button-service5, #show-button-service6, #show-button-service7, #show-button-service8, #show-button-service9 img{
    max-width: 200px;
    max-height: 200px;
}
#servicioscarrusel .carousel-indicators button{
    color: #6B41A6;
    background-color: #6B41A6;

}
.servicioscarrusel .carousel-inner{
    background-color: #EFEEDF;
    border: 1px solid #6B41A6;
    margin: 20px;
    padding: 10px;
}

#btnmodal{
background-color:transparent;
border: 1px solid #6B41A6;
float: right;
color:black;
}
/*  #clientes */
.clientes{
    background-color: #f8e3fc;
}
    
.clientes h2{
     font-size:2em;
    color:#24298F;
    font-weight: bolder;
    text-align: center;
     overflow-y: hidden;
    
}
.clientes .carousel-inner img{
text-align: center;
padding:0px;
margin:0px;
width: 200px;
height: 200px;
}
/*clientes transición imagenes*/
.containerR{
padding-left: 15px;
  padding-right: 15px;
  overflow-x: hidden;
}
.clientes  figure{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    padding:10px;
    max-width: 100%;
    box-sizing: border-box;
    /*overflow-y: hidden;*/


}
@media (min-width: 768px){
.clientes .row .col-lg-3{
flex: 1 1 25%; /* Cada columna ocupa un 25% del ancho disponible */
  box-sizing: border-box;
}
}
.clientes  figure img{
    width: 100%;
    height: auto;
    padding-bottom: 30px;
    transition: all 500ms ease.out;
    
}
.clientes figure a{
    text-decoration: none;
    font-size: 3em;
    padding:10px;
    margin: 2px;
}
.clientes figure h1{
    color:#6B41A6;
    font-weight: bolder;
    font-size: 1em;
    text-align: center;
    padding: 0%;
    }
.clientes figure p{
    color: #252325;
    font-size: 0.8em;
    text-align: left;
    padding: 15px;
}
.clientes figure .inf{
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
    background-color: #EFEEDF;
    transition: all 500ms ease.out;
    opacity: 1;
    visibility: hidden;
    text-align: center;
    text-align: center;
    display:flex;
    overflow-y: visible; 
    }
.clientes figure:hover > .inf{
    opacity: 1;
    visibility: visible;
    /*border: 2px solid #6B41A6;*/
    display: flex;
    border-radius: 8px; 
    padding: 5px; 
    margin:2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
        
}
.clientes figure:hover > .inf h1{
    padding-top: 30px;
    font-size: 1em;
    overflow-y: hidden;
}
.clientes .inf img{
    max-width: 40%;
    height: auto;
}
 .clientes .carousel-indicators button{
    color: #6B41A6;
    background-color: #6B41A6;
}
.clientes .carousel-inner{
    margin: 20px;
    overflow: visible; /* si es auto, cámbialo */
    padding-buttom: 20px;
}
.clientes .carousel-item {
  height: auto !important; /* evita scroll interno fijo */
}
/*end clientes*/
/*  #convenios */
.convenios{
    background-color: #f8e3fc;}
    
.convenios h2{
     font-size:2em;
    color:#24298F;
    font-weight: bolder;
    text-align: center;
     overflow-y: hidden;
    
}
#con{
margin-bottom:5px;
}
.convenios img{
    max-width: 150px;
    height:150px;
    display: block;
    max-height:auto;
    text-align: center;
}
.convenios h3{
    font-size:1.2em;
    color: #24298F;
    font-weight: bolder;
    text-align: center;
    overflow-y: hidden;
}
.convenios .card{
    background-color:  #EFEEDF;
    border: 1px solid #6B41A6;
}
/*end convenios*/
/*contactanos*/
.contactanos{
    background-color: #f8e3fc;}

.contactanos h2{
    font-size:2em;
    color:#24298F;
    font-weight: bolder;
    text-align: center;
    overflow-y: hidden;
       
   }
.contactanos a{
 font-size: 1em;
 color: black;
 text-align: left;
 text-decoration: none;
}
.contactanos img{
    width: 30px;
    height: auto;
}
#formulario{
    border: 1px solid #6B41A6;
}
input[type="number"] {
    border-radius: 0px;
    border-color: #6B41A6;
    
}
input[type="text"], textarea {
    border-radius: 0px;
    border-color: #6B41A6;
    
}
input[type="email"]{
    border-radius: 0px;
    border-color: #6B41A6;
}
#Message{
    border-radius: 0px;
    border-color: #6B41A6;
    
}
[type="submit"] {
    border-radius: 10px;
    border-color: #6B41A6;
    color: white;
    background-color: #6B41A6;
     padding-bottom: 4px;
     margin-bottom:4px;}

   [type="submit"]:hover{
        background-color:#24298F;
        border-color:#24298F;
        padding-bottom: 4px;
    }    

/*end contactanos*/
/*Newsletter*/
.newsletter {
    background-color: #f8e3fc;
}
.newsletter{
    font-size: 1.2em;
    color: #6B41A6;
    font-weight: bold;
    text-align: center;
}
#btonContactanos{
    border-radius: 25px;
    font-size: 0.8em;
    border-color: #6B41A6;
    color: white;
    background-color: #6B41A6;
    text-align: center;

}
.newsletter #show-button{
    border: 0px transparent;
}
.newsletter .modal{
    
    display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.5); /* Fondo semitransparente */
     
}
.modal-contentnews{
background-color: #f8e3fc;
      margin: 15% auto;
      padding: 20px;
      paddin-top:16px;
      border-radius: 10px;
      width: 600px;
      height:400px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.closenews{
    color:black;
    text-align:right;
    float: right;
   overflow-y:hidden;
    
}

#modal-news{
  background-color: #f8e3fc;
}
#metodologia,
#servicios,
#clientes,
#contactanos, 
#convenios {
   scroll-margin-top: 80px;
}
/*  # Footer */
.footer{
    background-color: #252325;
}
#footer{
     background-color: #252325;
}
.footer .bi{
    color:white;
    text-align: right;
    
}
.footer a{
    color: white;
    font-size: 1em;
    text-decoration: none;
    
}

.footer p{
    color: white;
    font-size: 1em;
    padding: 0px;
    margin:0%;
}
/*  # End Footer */
 /* Fondo oscuro semi-transparente */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: none; /* oculto por defecto */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    /* Caja del mensaje */
    .popup {
      background: #f8e3fc;
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      max-width: 700px;
      box-shadow: 0 0 10px rgba(0,0,0,0.25);
    }

    /* Botón para cerrar */
    .close-btn {
      margin-top: 20px;
      padding: 8px 16px;
      background: #007BFF;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

/*Casos de exito*/
.casosExito{
    background-color: #f8e3fc;
}
.casosExito .carousel-indicators button{
    color: #6B41A6;
    background-color: #6B41A6;
}
.casosExito .carousel-inner{
    background-color: #EFEEDF;
    border: 1px solid #6B41A6;
    width: 80%;
    height: auto;
    margin: 20px;
    padding: 10px;
}
#logosCE{
    width: 20%;
    height: auto;
    padding:0px;
    margin:0px;
    animation: saturatePulse 3s infinite alternate;
    filter: saturate(1);
}
@keyframes saturatePulse {
  0% {
    filter: saturate(0);
  }
  100% {
    filter: saturate(2);
  }
}
.casosExito p{
    text-align: center;
    font-size: 1em;
}
#CEimg{
    width: 100%;
    height: auto;
    padding:5px;
    margin: 5px;
}
#CEimg:hover{
filter: saturate(180%);
border-radius:10%;
}
.casoExito video{
    position: absolute;
    text-align:center;
    display: block;
      margin: 0 auto;
    }
#btonCE{
    font-size: 0.8em;
    border-color: #6B41A6;
    color: white;
    background-color: #6B41A6;
    text-align: center;

}
#TDA{
    background-color: palevioletred;

}
#TDA p{
    text-align: center;
    font-size: 1.5em;
    font-weight: bolder;
    
}
.Acasoexito{
text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration:none;
    color:black;
    display: block; 
    width: max-content;
     margin: 0 auto;
}
/*campañas*/
.campañas{
    background-color: #f8e3fc;
}
.campañas .carousel-inner{
    margin:1px;
    overflow:visible; 
    padding:1px;
}
.campañas .carousel-indicators button{
    color: #6B41A6;
    background-color: #6B41A6;
    margin-top:15px;
}
.campañas .row{
  display: flex;
  flex-wrap: nowrap; /* Para que no se vayan a la siguiente línea */
  gap: 1rem; /*Espacio entre las columnas (opcional) */
}
@media (max-width: 768px){
.campañas .row{
  display: flex;
  flex-wrap: wrap; /* Para que no se vayan a la siguiente línea */
  gap: 1rem; /*Espacio entre las columnas (opcional) */
}
}
@media (min-width: 768px){

.campañas .row .col-lg-3 {
 flex: 1 1 25%; /* Cada columna ocupa un 25% del ancho disponible */
  box-sizing: border-box;
}
}
.camespecializada{
	 background-color: #EFEEDF;
   	 border: 1px solid #6B41A6;
   	 padding-top: 6 px;
   	 padding-bottom:6px;
   	
   	 
   	 }
.campañas img{
max-width: 150px;
height:150px;
text-align:center;
display: block;
margin: 0 auto;
padding: 10px; 

}


.campañas p{
    text-align: left;
    font-size: 0.8em;
}
.conocecampaña{
text-align: left;
font-size:1em;

text-decoration: none;
color: black; 
 margin-bottom: 1px;
  font-weight: bold;
}
.campañas h3{
text-align:left;
font-size: 1em;
font-weight:bolder;
color: #24298F; 
overflow-y: hidden; 
}
#campaña h1{
text-align:center;
font-size: 2em;
font-weight:bolder;
color: #24298F; 
overflow-y: hidden;
}
.campañas .carousel-inner{
margin:50px;

}