/* Banner */

#banner {
    background-image: url("../../images/portadas/conocenos.jpg");
    background-position: center center;
    background-size: cover;
    height: 25em;
    text-align: center;
    position: relative;
    background-attachment: fixed;
    
}
@media (max-width: 768px) {
    #banner {
      background-image: url("../../images/portadas/conocenos.jpg");
      background-position: center top;
      background-repeat: no-repeat;
      background-size: contain;
      height: 330px; /* Ajustalo según el resultado visual */
    }
  }
  
  



#banner header {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #212121;
        background: rgba(27, 27, 27, 0.75);
        color: #fff;
        padding: 1.5em 0;
    }

        #banner header h2 {
            display: inline-block;
            margin: 0;
            font-size: 1.25em;
            vertical-align: middle;
        }

            #banner header h2 em {
                opacity: 0.75;
            }

            #banner header h2 a {
                border-bottom-color: rgba(255, 255, 255, 0.5);
            }

                #banner header h2 a:hover {
                    border-bottom-color: transparent;
                }

        #banner header .button {
            vertical-align: middle;
            margin-left: 1em;
        }

/* Sección "¿Quién somos?" */
.contenido {
    width: 90%;
    margin-left: 5%;
    margin-top: 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    text-align: justify;
}

#titulo1{
    font-size: 2em;
    color: #009C8C;
    text-align: center;
    margin-bottom: 15px;
    
}

#titulo2 {
    font-size: 1em;
    font-weight: bold
    
}

.texto {
    max-width: 50%;
}

.texto h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2em; /* Aumento el tamaño del título principal */
}

.texto p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1em; /* Tamaño de fuente estándar para el texto */
}

/* Resaltado de texto en negrita y mayor tamaño */
strong {
    font-weight: bold;
    font-size: 1.2em;
    color: #333; /* Puedes cambiar el color para resaltar más */
}



.imagen img {
    width: 60%;
    margin-left: 170px;
    max-width: 600px;
    
}



/*objetivos*/


/* Sección de servicios */

.titulo3{
    text-align: center;
    color:#009C8C
}
.services-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 10px;
  }
  
  .service-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  
  .service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background-color: #ffcc00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
 i{
    font-size: 35px; 
 }
  
  h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #333;
  }
  
  hr {
    width: 50px;
    margin: 10px auto;
    border: 1px solid #ddd;
  }
  
  .objetivos_text {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
  }
  




  /*colaboraciones*/

  .afiliaciones {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa; /* Fondo suave */
    border-radius: 10px;
}
.text1{
    color:#212121;
    width: 50%;
    margin-left: 25%;
    margin-bottom: 50px;
}

.afiliaciones h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 120px; /* Tamaño compacto */
}

.logo-item img {
    width: 90px;
    height: auto;
    filter: grayscale(50%);
    transition: transform 0.3s, filter 0.3s;
}

.logo-item img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    cursor: pointer;
}

.logo-item p {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.footer .social-icons i {
    font-size: 30px !important;
}

.footer-section i{
    font-size: 20px !important;
}







@media screen and (max-width: 768px) {
   

    #banner header .button {
        display: block;
        margin: 1em auto 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .contenido {
        flex-direction: column;
        text-align: center;
    }

    .texto {
        max-width: 100%;
    }

    .imagen img {
        width: 100%;
        margin: 20px auto 0 auto;
        max-width: 300px;
    }
}
