@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white;
}

/* Estilos generales del carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}


.carousel-item img {
    transform: scaleY(1.1);
}

/* Estilos de los controles del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 1;
    transform: translateY(-50%);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}


.blue-div {
    background-color: #1F618D;
    width: 100%;
    margin-top: -22px;
    padding: 2rem 5%;
    box-sizing: border-box;
	height:400px;
}

 .h1-blue,.h3-blue, .h1-white, .h2-white, .h3-white, .h3-red, .red-li, .h1-div-white {
    color: white;
    font-family: 'Exo', sans-serif;
    padding-top: 1rem;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.h1-div-white {
	color: #212F3D;
}

.h1-blue {
    padding-top: 2rem;
    padding-left: 1rem;
}

/* Div blanco */
.white-div, .div-white {
    background-color: #F2F3F4;
    width: 100%;
    margin-top: -22px;
    padding: 2rem 5%;
    box-sizing: border-box;
}

/* Div rojo */
.red-div {
    background-color: #DF2B19;
    width: 100%;
    margin-top: -22px;
    padding: 2rem 5%;
    box-sizing: border-box;
}

.h3-red, .red-li {
    color: white;
    font-family: 'Exo', sans-serif;
    padding-top: 1rem;
    text-align: justify;
}

/* Div negro */
.black-div {
    background-color: #17202A;
    width: 100%;
    margin-top: -22px;
    padding: 2rem 5%;
    box-sizing: border-box;
}

.footer {
    background-color: #17202A;
    padding: 2rem 5%;
    box-sizing: border-box;
}

.facebook-link {
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.facebook-link i {
    margin-right: 8px;
    color: white;
    margin-top: 20px;
    margin-left: 20px;
}

.facebook-link a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.facebook-link a:hover {
    text-decoration: underline;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .carousel-item img {
        transform: scaleY(1);
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .h1-blue, .h3-blue, .h1-white, .h2-white, .h3-white, .h3-red, .red-li, .h1-div-white {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        transform: scaleY(1);
    }

    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .h1-blue, .h3-blue, .h1-white, .h2-white, .h3-white, .h3-red, .red-li, .h1-div-white {
        padding: 1rem;
    }

    .facebook-link i, .facebook-link a {
        margin-top: 10px;
    }
}

@media (max-width: 667px) {
    .carousel-item img {
        transform: scaleY(1);
    }

    .carousel-control {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .h1-blue, .h3-blue, .h1-white, .h3-white, .h3-red, .red-li, .h1-div-white {
        
        font-size: 12px;
		padding:0.5rem;
    }
	
	.blue-div {
		height:300px;
	}
	
	.h2-white {
		
		font-size:12px;
		 transform: translateY(-20px); 
		 margin-top:-200px;
		
		
	}
	
	.h2-vision {
		margin-top:-100px;
		font-size:12px;
	}
	
	
	
    .facebook-link {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .facebook-link i, .facebook-link a {
        margin: 5px 0;
    }
	
	.img-vision{
		width:100%;
		padding-top:200px;
		
	}
	.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
	}

	.value-box {
		display: flex;
		flex-direction: column;
		align-items: center; 
		justify-content: flex-end; 
		background-color: white;
		color: #DF2B19;
		padding: 0.5rem; 
		text-align: center;
		border-radius: 8px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		font-family: 'Exo', sans-serif;
		font-size: 20px; 
		height: 30px; 
		position: relative;
		transition: transform 0.3s ease, box-shadow 0.3s ease; 
	}

	.value-box:hover {
		transform: scale(1.05); 
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
	}

	.value-box i {
		font-size: 12px; 
		margin-bottom: 2rem;
	}

	.value-box p {
		margin: 0; 
		font-size:10px;
	}
}

.img-vision {
    position: relative;
    background-image: url('../img/Vision.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;
    margin-top: -20px;
}

.img-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.img-vision h2, .img-vision h3 {
    position: relative;
    color: white;
    z-index: 2;
    padding: 100px;
    text-align: justify;
    font-family: 'Exo', sans-serif;
}

.img-vision h3 {
    margin-top: -200px;
}

.h3-white {
	color: #212F3D;
	padding-top: 20px;
	padding-left: 100px;
	font-family: 'Exo', sans-serif;
	text-align: justify;
	padding-right: 100px; 
	opacity: 0; /* Inicialmente oculto */
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
}

/* Estilo cuando el texto está en vista */
.h3-white.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.h3-blue.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
}

.value-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background-color: white;
    color: #DF2B19;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Exo', sans-serif;
    font-size: 25px;
    height: 200px; 
    position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box:hover {
    transform: scale(1.1); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.value-box i {
    font-size: 55px; 
    margin-bottom: 4.0rem; 
}

.value-box p {
    margin: 0; 
}

.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px; 
    z-index: 1000;
    display: none;
}

.whatsapp-button {
    background-color: #25D366;
    border-radius: 50%;
    width: 90px; 
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
    font-size: 32px; 
    transition: background-color 0.3s; 
}

.whatsapp-button:hover {
    background-color: #22dcc7; 
}
.footer-attribution {
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-top: 5px;
    background-color: #17202A; /* Fondo con el mismo color que el footer */
    padding: 1rem 0;
    box-sizing: border-box;
}

.footer-attribution i {
    margin-right: 8px;
    color: white; /* Asegura que el icono es blanco */
}

.footer-attribution a {
    text-decoration: none;
    color: white; /* Asegura que el enlace es blanco */
    font-weight: bold;
}

.footer-attribution a:hover {
    text-decoration: underline;
}



