@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,800&display=swap');

*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	list-style: none;
}
body
{
	font-family: 'Poppins', sans-serif;
}
img
{
	max-width: 100%;
}


.container-primaria {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px; /* Agregar padding para evitar el desbordamiento */
}

.services
{
	padding: 80px 0;
	text-align: center;
}


.pabellon-content {
    display: flex;
    justify-content: space-between;
    padding: 80px 0;
    align-items: center; /* Alinear verticalmente */
}

.pabellon-txt {
    flex-basis: 50%;
    padding-right: 80px;
}

.pabellon-txt h1 {
    font-size: 50px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1B1B1D;
    margin-bottom: 15px;
}

.pabellon-txt p {
    line-height: 1.6;
}

.pabellon-img{
    width: 60%;
    text-align: center;
}

p {
    font-size: 18px;
    color: #515151;
    margin-bottom: 25px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .pabellon-content {
        flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
        align-items: center; /* Centrar contenido */
        padding: 40px 0; /* Reducir el padding */
    }

    .pabellon-txt {
        padding-right: 0; /* Eliminar padding en pantallas pequeñas */
        text-align: center; /* Centrar texto */
        margin-bottom: 20px; /* Margen inferior para separación */
    }

    .pabellon-txt h1 {
        font-size: 36px; /* Ajustar tamaño de fuente */
    }

    p {
        font-size: 16px; /* Ajustar tamaño de fuente */
    }

    .pabellon-img {
        width: 100%; /* Asegurar que la imagen sea responsiva */
    }

    .pabellon-img img {
        width: 100%; /* La imagen ocupará todo el ancho del contenedor */
        height: auto; /* Mantener la proporción */
    }
}

@media (max-width: 480px) {
    .pabellon-txt h1 {
        font-size: 28px; /* Ajustar aún más el tamaño de fuente */
    }

    p {
        font-size: 14px; /* Ajustar aún más el tamaño de fuente */
    }
}


.btn-1
{
	display: inline-block;
	padding: 10px 25px;
	color: #FFFFFF;
	background-color: #0fa759;
	text-transform: uppercase;
	border-radius: 25px;
	font-size: 16px;
}
.btn-1:hover
{
	background-color: #e0af60;
    color: white;
}

.primaria-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primaria-flex-texto{
    width: 50%;
}

.primaria-flex-img{
    width: 50%;
    margin-left: 60px;
}

.primaria-flex-img img{
    width: 100%;
}

.custom-list-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-list-title {
    font-size: 1.8em;
    color: #0fa759;
    text-align: center;
    margin-bottom: 20px;
}

.custom-list-item {
    margin-bottom: 20px;
}

.custom-list-item h3 {
    font-size: 1.5em;
    color: #0fa759;
    margin-bottom: 10px;
}

.custom-list-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.custom-list-item ul li {
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
}

.custom-list-item ul li strong {
    color: #222;
}

.resumen {
    margin-top: 20px;
    font-size: 1em;
    color: #555;
    font-style: italic;
}

.primaria-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.primaria-flex-texto {
    width: 60%;
}

.primaria-flex-img {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.primaria-flex-img img {
    width: 100%;
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    .custom-list-title {
        font-size: 1.6em;
    }

    .primaria-flex {
        flex-direction: column;
        align-items: center;
    }

    .primaria-flex-texto,
    .primaria-flex-img {
        width: 100%;
        margin-left: 0;
    }

    .primaria-flex-img img {
        width: 100%;
        margin-bottom: 10px;
    }

    .resumen {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .custom-list-title {
        font-size: 1.4em;
    }

    .custom-list-item h3 {
        font-size: 1.3em;
    }

    .custom-list-item ul li {
        font-size: 0.9em;
    }

    .resumen {
        font-size: 0.9em;
    }

    .primaria-flex-img img {
        width: 100%;
    }
}


h2
{
	color: #1B1B1D;
	font-size: 40px;
}
.services-content {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}

.services-1 {
    flex-basis: calc(33.3% - 40px); /* 3 columnas en pantallas grandes */
    padding: 30px;
    background: #0fa759;
    border-radius: 20px;
    margin-bottom: 20px;
    box-sizing: border-box; /* Incluir padding y borde en el cálculo del ancho */
}

.services-1 img {
    width: 100%; /* Hacer que la imagen sea responsiva */
    height: auto; /* Mantener la proporción de la imagen */
    margin-bottom: 10px;
    border-radius: 20px;
}

.services-1 h3 {
    color: white;
    font-size: 35px;
    margin-bottom: 10px;
}

.services-1 p {
    color: white;
    font-size: 20px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .services-1 {
        flex-basis: calc(50% - 20px); /* 2 columnas en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .services-1 {
        flex-basis: 100%; /* 1 columna en pantallas pequeñas */
    }

    .services-1 h3 {
        font-size: 28px; /* Ajustar el tamaño del encabezado */
    }

    .services-1 p {
        font-size: 16px; /* Ajustar el tamaño del texto */
    }
}

@media (max-width: 480px) {
    .subtitulos h2 {
        font-size: 24px !important;
    }
}
@media (max-width: 768px) {
    .subtitulos h2 {
        font-size: 28px !important;
    }
}
@media (max-width: 992px) {
    .subtitulos h2 {
        font-size: 32px !important;
    }
}

.subtitulos h2 {
    font-size: 30px;
    text-align: center;
    color: #0fa759;
}

.horas{
    margin: 40px 0;
}

.horas-img{
	display: flex;
	justify-content: center;
    margin: 0 20px;
}

.horas-img img{
	width: 500px;
    border: 3px solid;
}


.products
{
	padding: 0 0 80px 0;
	text-align: center;
}
.products-content
{
	margin-top: 50px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.products-1
{
	background-color: #F7F7F7;
	padding: 20px;
	border-radius: 30px;
}
.products-1 h4
{
	color: #1B1B1D;
	font-size: 22px;
	margin: 10px 10px;
}
.products-1 p 
{
	color: #FF8400;
	margin-bottom: 10px;
}
.testimonio 
{
	text-align: center;
	padding-bottom: 80px;
}
.testimonio-content 
{
	display: flex;
	justify-content: center;
	margin-top: 50px;
}
.testimonio-1
{
	flex-basis: calc(50% - 20px);
	padding: 20px;
	box-shadow: 0 0 20px rgb(0, 0, 0, 0.2);
	border-radius: 20px;
}
.testimonio-1 img
{
	width: 250px;
	border-radius: 30px;
	margin-bottom: 5px;
}
.testimonio-1 h3
{
	color: #1B1B1D;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.testimonio-1 h4{
	font-size: 23px;
}
.testimonio-1 p 
{
	margin-bottom: 0;
}

.coordinador{
	color: #0fa759;
	transition: .3s;
    background: white;
}

.coordinador:hover{
	transform: scale(1.06);
}



@media(max-width:991px)
{

.pabellon-content
{
	padding: 30px;
	flex-direction: column;
	text-align: center;
}

.services
{
	padding: 30px;
}
.services-content
{
	flex-direction: column;
	margin-top: 30px;
}
.products
{
	padding: 30px;
}
.products-content
{
	margin-top: 30px;
	grid-template-columns: repeat(1, 1fr);
}
.testimonio
{
	padding: 30px;
}
.testimonio-content
{
	flex-direction: column;
	margin-top: 30px;
}
.testimonio-1
{
	margin-bottom: 30px;
}

}