body {
    margin: 0;
    font-family: Roboto, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}



.header {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}
.logo{
    grid-column: 1;
}
.logo img {
    max-height: 50px;
}
.menu{
    grid-column: 2;
    align-items: center;
}
.menu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.menu ul li {
    margin: 0 25px;
}
.menu ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
.menu ul li a:hover {
    color: #006F64;
    text-decoration: underline;
}
.social {
    display: flex;    
    justify-content: flex-end;         
    align-items: center;      
    
    grid-column: 3;
}
.social img {
    max-height: 35px;
}
.iconos {
    margin-left: 20px;  /* Agrega un espacio entre los logos */
    width: 40px; 
    height: auto;       /* Mantiene la proporción del logo */
}



.banner{
    position: relative;
    height: 560px;
    overflow: hidden;
}
.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.encabeza{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: left;/*Horizontal*/
    align-items: center;/*Vertical*/
}
.contforma{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 45px;
    margin-left: 30px;
}
.forma{
    width: 5px;
    height: 80px;
    background-color: orange;
}
.text{
    display: flex;
    flex-direction: column; /* Apila los textos verticalmente */
    justify-content: left;
    align-items: left;
}
.tex1{
    font-size: 32px;
    color: orange;
    margin: 0;
    font-weight: bold;
}
.tex2{
    font-size: 34px;
    color: white;
    margin: 0;
}



.section1{
    height: 500;
    margin-top: 40px;
    margin-bottom: 100px;
    padding-left: 120px;
    padding-right: 120px;

}
.section1 h1{
    font-family: "montserrat";
    font-size: 45px;
    color: #006F64;
    text-align: center;
}
.section1 p{
    text-align: justify;
    font-family: "merriweather";
    font-size: 18px;
    line-height: 2;
}



.section2{
    height: 800px;
    background-color: #006F64;
}
.contmyv{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
    
}
.myv{
    font-family: "montserrat";
    text-align: center;
    font-size: 35px;
    color: #FFA500;
}
.mision{
    padding-left: 120px;
    padding-right: 30px;
    grid-column: 1;
}
.vision{
    padding-left: 10px;
    padding-right: 120px;
    grid-column: 2;
}
.anim-left, .anim-right {
    opacity: 0; /*Elementos ocultos*/
    transform: translateX(-100px); /* Mueve fuera de la vista */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-right {
    transform: translateX(100px); /*Dirección opuesta*/
}
.visible {
    opacity: 1; /* Hazlos visibles */
    transform: translateX(0); /* Vuelve a su posición original */
}
.section2 .p1{
    text-align: justify;
    font-family: "merriweather";
    font-size: 16px;
    line-height: 2;
    color: white;
}
.contval{
    max-width: 1150px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding-left: 80px;
    padding-right: 80px;
}
.col1, .col2, .col3, .col4, .col5{
    justify-items: center;
}
.col1{
    grid-column: 1;
}
.col2{
    grid-column: 2;
}
.col3{
    grid-column: 3;
}
.col4{
    grid-column: 4;
}
.col5{
    grid-column: 5;
}
.contval img{
    width: 180px;
    height: 120px;
}
.section2 .bold{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: orange;
}
.section2 .nobold{
    font-size: 8;
    text-align: center;
    color: white;
    line-height: 2;
    padding-left: 20px;
    padding-right: 20px;
}



.section3{
    height: 680px;
    background-image: url('media/Media/equipo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no repeat;
}
.section3 h1{
    font-family: "montserrat";
    font-size: 35px;
    color: #006F64;
    text-align: center;
    padding-top: 30px;
}
.section3 .ps3{
    text-align: justify;
    font-family: "merriweather";
    font-size: 18px;
    line-height: 2;
    padding-left: 120px;
    padding-right: 120px;
}
.sec3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 120px;
    padding-right: 120px;
    justify-items: center;
    padding-top: 40px;
}
.sec3 img{
    width: 330px;
    height: 230px;
    border-radius: 20px;
}
.pcol:hover img{
    transform: scale(1.1);
    border: 2px solid orange;
}
.sec3 .pcol{
   position: relative;
   cursor: pointer;
}
.sec3 .sub{
    text-align: center;
    color: #006F64;
    font-size: 18px;
    font-weight: bold;
}
.sec3 .effect{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ajusta la posición al centro */
    width: 80%;
    opacity: 0;
    transition: opacity 0.3s ease;
    list-style-type: none;
}
.sec3 li{
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}
.pcol:hover .effect{
    display: flex;
    opacity: 1;
}



footer{
    background-image: url('/media/Media/footer.png');
    height: 450px;
}
.footerr{
    height: 380px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.pie img{
    padding-top: 30px;
    padding-left: 45px;
    width: 240px;
    height: 60px;
    grid-column: 1;
}
.pie h3{
    margin-top: 42px;
    margin-left: 45px;
    color: orange;
    grid-column: 1;
}
.pie p{
    color: white;
    margin-left: 45px;
    margin-top: 0;
    grid-column: 1;
}
.indice{
    padding: 25px;
    grid-column: 2;
    text-align: center;
}

.indice h3{
    color: orange;
}
.indice p{
    color: white;
    grid-column: 3;
}
.indice a{
    display: block;
    color: white;
    text-decoration: none;
}
.indice a:hover{
    text-decoration: underline;
}
.cont{
    grid-column: 3;
    padding: 25px;
    padding-left: 150px;
}
.cont h3{
    padding-top: 10px;
    color: orange;
}
.sec1{
    display: flex;
    align-items: center; /*Alinear verticalmente ícono y texto*/
    margin-bottom: 10px; /*Espacio entre filas*/
}
.img{
    width: 22px;
    height: auto;
    margin-right: 10px; /*Espacio entre ícono y texto*/
}
.sec1 p {
    color: white;
    margin: 0;
    font-size: 16px;
}
.sec2{
    display: flex;
    align-items: center; /*Alinear verticalmente ícono y texto*/
    margin-bottom: 10px; /*Espacio entre filas*/
}
.sec2 p{
    color: white;
    margin: 0;
    font-size: 16px;
}
.sec2 img{
    width: 20px;
    height: auto;
    margin-right: 10px;
}
.cierre{
    text-align: center;
    color: white;
}
.cierre p{
    font-weight: bold;
    margin: 0;
}