@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* styles.css */
* {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}
body {
    background-color: rgb(235, 237, 240);
}
header {
    background-color: rgb(0, 123, 124);
    color: rgb(235, 237, 240);
}
.headerContenedor {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headerInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headerInfo div{
        /* display: inline-block; */
        text-decoration: none;
        /* width: 45px;
        height: 45px; */
        /* line-height: 45px; */
        color: rgb(235, 237, 240);
        /* margin-right: 10px; */
        text-align: center;
        /* border-radius: 10px;
        transition: all 300ms ease; */
}
.headText {
    padding-left: 5px;
    padding-right: 15px;
}
.headericons a{
    display: inline-block;
    text-decoration: none;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: rgb(0, 123, 124);
    margin-right: 10px;
    background-color: rgb(235, 237, 240);
    text-align: center;
    border-radius: 10px;
    transition: all 300ms ease;
    margin-top: 5px;
    margin-bottom: 5px;
}
.headericons a:hover{
    background-color: rgb(255, 160, 41);
}
.head2 {
    /* padding-left: 50px;
    padding-right: 50px; */
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logocoop {
    width: 250px;
    padding: 10px 0;
}
.logoMin{
    display: none;
}
.btnEnlaces {
    background-color: rgb(0, 123, 124);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 25px;
}
.btnEnlaces:hover {
    background-color: rgb(255, 160, 41);
    transition: all 300ms ease;
}
.nav-bar {
    background-color: rgb(0, 123, 124);
    padding: 10px 20px;
    display: block;
    color: rgb(235, 237, 240);
    cursor: pointer;
    width: auto;
}
.menu, .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu {
    background-color: rgb(235, 237, 240);
    width: 100%;
    display: none; /* Ocultar menú por defecto */
    font-weight: bold;
    transition: all 0.5s;
}
.menu.mostrar {
    display: block; /* Mostrar menú cuando se activa */
}
.menu__link {
    display: block;
    padding: 20px;
    color: rgb(0, 123, 124);
    text-decoration: none;
}
.menu__link:hover {
    color: rgb(255, 160, 41);
}
.submenu {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.submenu .menu__link {
    background-color: rgb(235, 237, 240);
    padding-left: 50px;
}
.desplegar {
    height: auto; /* Asegurarse de que el submenú se despliegue correctamente */
}
.slider {
    display: none;
}

.pie-pagina{
    width: 100%;
    background-color: rgb(0, 123, 124);
}
.pie-pagina .footerG1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 50px;
    padding: 35px 0px;
}
.pie-pagina .footerG1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .footerG1 .box figure img{
    width: 250px;
}
.pie-pagina .footerG1 .box h3{
    color: rgb(235, 237, 240);
    margin-top: 25px;
    font-size: 20px;
}
.pie-pagina .footerG1 .box p{
    color: rgb(235, 237, 240);
    margin-bottom: 10px;
}
.pie-pagina .footerG1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: rgb(235, 237, 240);
    margin-right: 10px;
    background-color: rgb(0, 80, 80);
    text-align: center;
    border-radius: 10px;
    transition: all 300ms ease;
}
.pie-pagina .footerG1 .red-social a:hover{
    /* color: rgb(255, 160, 41); */
    background-color: rgb(255, 160, 41);
}
.pie-pagina .footerG2{
    background-color:rgb(0, 80, 80) ;
    padding: 15px 10px;
    text-align: center;
    color: rgb(235, 237, 240);
}
.pie-pagina .footerG2 small{
    font-size: 15px;
}
.servicios{
    height: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.servContenedor{
    margin: 0 auto;
    max-width: 80%;
    display: flex;
    align-items:flex-start;
    justify-content: space-evenly;
    gap: 20px;
}
.servContenedor img{
    width: 50%;
    border-radius: 50px;
}
.tarjTitulo1 {
    font-size: 30px;
    color: rgb(48, 48, 48);
}

.ordiTitulo3{
    font-size: 20px;
    color: rgb(0, 123, 124);
}

.ordiH3{
    color: rgb(0, 123, 124);
    margin-top: 20px;
    margin-bottom: 5px;

}
.tarjTextos li{
    color: rgb(75, 75, 75);
    margin-bottom: 5px;
}
.servFormulario{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.servFormulario a{
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 124);
    border-radius: 20px;
    padding: 10px;
}
.servFormulario hr{
    width: 15%;
    height: 6px;
    background-color:rgb(0, 123, 124);
    border-radius: 20px;
    margin: 20px;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
  }

  .modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 20px;
    border-radius: 14px;
    max-width: 500px;
    width: calc(100% - 40px); /* Margen lateral interno */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    font-family: 'Segoe UI', sans-serif;
  }

  .modal-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
  }

  .modal-content label {
    font-weight: 600;
    color: #374151;
    display: block;
    margin-top: 1rem;
  }

.modal-content input,
.modal-content select,
.modal-content button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: border 0.3s;
  }

  .modal-content input:focus,
  .modal-content select:focus {
    border-color: #2563eb;
    outline: none;
  }

  .modal-content button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .modal-content button:hover {
    background-color: #1d4ed8;
  }

  #respuestaTarjeta {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    color: #10b981;
  }





@media (min-width: 900px) {
    .nav-bar {
        display: none;
    }
    .menu {
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .container-submenu {
        position: relative;
    }
    .submenu {
        position: absolute;
        top: 60px;
        width: 200px;
        overflow: visible;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }
    .container-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 900px) {
	.serviciosContenedorTarjetas{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .tarjeta1{
        min-height: 200px;
        position: relative;
        /* overflow: hidden; */
        background-size: cover;
        background-position:center center;
    }
    .tarjetaTextos{
        top: 0%;
    }
    .pie-pagina .footerG1{
        width: 90%;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
    .headerContenedor{
        display: none;
    }
    .head2{
        width: auto;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/images/headImg.jpg);
        background-size: cover;
        background-position:center center;
        height: 300px;
    }
    .nav-bar{
        background-color:rgb(0, 80, 80);
    }
    .head2{
        background-color: rgb(0, 123, 124);
        margin-bottom: 0;
        padding-bottom: 30px;
    }
    .btnEnlaces{
        background-color: rgb(0, 80, 80);
    }
    .logoMin{
        display: block;
    }
    .logoMax{
        display: none;
    }
    .servContenedor img{
        display: none;
    }
}


@media screen and (max-width: 600px) {
  .modal-content {
    margin: 10% auto;
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
  }

  .modal-content input,
  .modal-content select,
  .modal-content button {
    font-size: 14px;
  }

  .modal-content h2 {
    font-size: 18px;
  }

  .modal-close {
    top: 8px;
    right: 12px;
    font-size: 22px;
  }
  .head2{
    padding-bottom: 5px;
}
.enlaces{
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;



}
.btnEnlaces{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}
  
}