a {

    color: limegreen;

    text-decoration: none;

}



a:hover {

    color: limegreen;

}



a:visited {

    color: limegreen;

    text-decoration: none;

}



a:active {

    color: limegreen;

    text-decoration: none;

}



/* */



h5 {

    color: #10777A;

}



/* */



.carousel-item img {

    max-height: 500px;

    object-fit: cover;

    width: 100%;

}



.carousel-caption {

    background: rgba(0, 0, 0, 0.5);

    padding: 15px;

    border: 1px solid #0f2179;

    border-radius: 5px;

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: white;

    width: 90%;

}



.carousel-caption h5 {

    font-size: 2rem;

    font-weight: bold;

    padding-top: 3rem;

}



.carousel-caption p {

    font-size: 1.25rem;

}



@media (max-width: 767px) {

    .carousel-caption {

        top: auto;

        transform: translateX(-50%);

        padding: 10px;

        font-size: 0.9rem;

        width: 95%;

        margin-bottom: 1rem;

    }

    .carousel-caption h5 {

        font-size: 1.5rem;

    }

    .carousel-caption p {

        font-size: 1rem;

    }

}



/* */



.section-title {

    background-color: #d0cece;

    color: #10777A;

    padding: 20px;

    text-align: center;

    font-size: 1.5rem;

    font-weight: bold;

    text-transform: uppercase;

}



.section-summary {

    background-color: #10777A;

    color: white;

    padding: 20px;

    font-size: 1.2rem;

    text-align: center;

}



.section-columns {

    padding-left: 3rem;

}



.section-columns .column {

    padding: 10px;

    text-align: center;

    font-size: 1rem;

}



/* */



.services-tip {

    text-align: left;

    margin-bottom: 15px;

    font-size: 1.25rem;

    font-weight: 500;

}



.services-highlight {

    font-weight: bold;

    text-decoration: underline;

}



.border-end-md {

    border-right: 1px solid #ccc;

}



@media (max-width: 767.98px) {

    .border-end-md {

        border-right: none;

        border-bottom: 1px solid #ccc;

        margin-bottom: 20px;

    }

}



/* */



#back-to-top {

    position: fixed;

    bottom: 20px;

    right: 20px;

    display: none;

    z-index: 1000;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

}



/* */



section {

    position: relative;

    overflow: hidden; /* Prevents overflow during zoom */

    background-size: cover;

    background-position: center;

    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */

}



.zoom-section:hover {

    transform: scale(1.1); /* Applies the zoom-in effect */	
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
	will-change: transform;

}



/* Secciones en foto del Inicio */

#home-section-1 {
	
    background-image: url("../img/inicio/1.jpg");
}

#home-section-2 {

    background-image: url("../img/inicio/2.jpg");

}

#home-section-3 {

    background-image: url("../img/inicio/3.jpg");

}

#home-section-4 {

    background-image: url("../img/inicio/4.jpg");

    clip-path: inset(0px 0px -20px 0px); /* Clips the content to prevent overflow in Y */

    overflow-y: hidden; /* Specifically hides overflow in the Y-axis */

}


section h1 {

    color: #ffffff;
	
	font-weight: bold;
	
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra negra */

    border-radius: 25px;

    padding: 1rem;

    z-index: 10;

    position: relative;
	
	display: inline-block;
	
	transform: scale(1); /* Mantén el estado inicial */
	
    transition: transform 0.3s ease-in-out; /* Sincroniza con el contenedor */
	
	will-change: transform;
}

.zoom-section:hover h1 {
    transform: scale(1.1); /* Escala el texto junto con el contenedor */
}

@media (max-width: 1280px) { /* Aplica solo en pantallas más pequeñas */
    .zoom-section:hover {
        transform: scale(1.05); /* Reduce el zoom en notebooks */
    }
}

section h3 {

    color: #ffffff;
	
	font-weight: bold;
	
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra negra */

    border-radius: 25px;

    padding: 1rem;

    z-index: 10;

    position: relative;
	
	display: inline-block;
	
	transform: scale(1); /* Mantén el estado inicial */
	
    transition: transform 0.3s ease-in-out; /* Sincroniza con el contenedor */
	
	will-change: transform;
}

.zoom-section:hover h3 {
    transform: scale(1.1); /* Escala el texto junto con el contenedor */
}

/* PRUEBAS BOTON LEER MAS */
/* Contenedor del texto y botón */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
}

/* Botón "LEER MÁS" */
.btn-leer-mas {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    color: #fff !important;
    border: 2px solid white;
    font-weight: bold;
	transform: scale(1); /* Base inicial para evitar saltos */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-leer-mas:hover {
    background-color: white;
    color: black !important;
	transform: scale(1.05); /* Pequeño crecimiento controlado */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .overlay-content {
        width: 95%;
        padding: 15px;
    }

    .btn-leer-mas {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* TERMINO DE PRUEBA DE BOTON LEER MAS */

footer {

    background-color: #10777A !important;

    color: white !important;

    position: relative;

    background-color: #333;

    color: #fff;

    z-index: 100;

}



/* */



.contact-error-msg {

    color: red; 

    text-align: center;

    padding: 10px;

    font-size: 1.2rem;

}



.contact-success-msg {

    color: green; 

    text-align: center;

    padding: 10px;

    font-size: 1.2rem;

}