body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
}


/* Logo Styles */
.logo_nav {
	max-height: 70px;
	transition: all 0.3s ease;
}

/* Navigation Bar Styles */
.barra_nav {
	background-color: #2980b9 !important;
	padding: 10px 0;
	transition: all 0.3s ease;
}

.barra_fija {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: #2980b9 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Custom Navigation Layout */
.navbar-collapse {
	flex-direction: column;
	align-items: flex-end;
}

/* Top Navigation Links */
.navbar-nav {
	display: flex;
	width: 100%;
	justify-content: flex-end;
}

.navbar-nav .nav-item {
	margin-left: 15px;
}

/* Social Media Row */
.social-links {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: 10px;
}

.social-links .nav-item {
	margin-left: 15px;
}

/* Nav Links Color */
.navbar-light .navbar-nav .nav-link {
	color: #ffffff !important;
	font-weight: 500;
	padding: 0.25rem 0.75rem;
	transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: #f0f0f0 !important;
}

/* Slider Text Styles */
.texto_slider_1,
.texto_slider_3 {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	color: white;
	font-size: 4vw;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.texto_slider_1 span,
.texto_slider_3 span {
	font-weight: 900;
}

/* Custom Navigation Layout */
#navbarSupportedContent {
	position: relative;
}

/* Social Icons */
.fa-instagram,
.fa-linkedin {
	color: white;
	margin-right: 5px;
}

/* Mobile Toggle Button */
.navbar-light .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.5);
}

.navbar-light .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === SECCIÓN === */
.testimonials-section {
	background-color: #072151;
	color: white;
	padding: 100px 0;
	overflow: hidden;
}

.testimonials-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
}

/* TÍTULO */
.testimonial-title {
	text-align: center;
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 10px;
}

.testimonial-divider {
	width: 100px;
	height: 3px;
	background-color: white;
	margin: 0 auto 40px auto;
}

/* CARRUSEL CONTENEDOR */
.testimonials-carousel {
	display: flex;
	transition: transform 0.8s ease-in-out;
}

/* ITEM */
.testimonial-item {
	flex: 0 0 33.333%;
	box-sizing: border-box;
	padding: 0 20px;
	opacity: 0.5;
	transform: scale(0.92);
	transition: all 0.4s ease-in-out;
}

.testimonial-item.active {
	transform: scale(1.15);
	opacity: 1;
}

/* TARJETA */
.testimonial-card {
	background-color: white;
	color: #333;
	border-radius: 20px;
	padding: 30px 25px 40px 25px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
	text-align: center;
	position: relative;
	min-height: 450px;
}

.testimonial-card::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 15px solid white;
}

/* LOGO */
.client-logo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: #1c2b4d;
	margin: 0 auto 15px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.client-logo img {
	width: 80%;
	height: 80%;
	object-fit: contain;
}

/* CONTENIDO */
.rating {
	margin-bottom: 10px;
}

.stars {
	color: #FFD700;
	font-size: 20px;
	letter-spacing: 2px;
}

.testimonial-text {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	height: 100px;
	overflow-y: auto;
	padding: 0 10px;
	margin-bottom: 15px;
}

.client-info {
	font-weight: bold;
	color: #051d47;
	font-size: 16px;
	margin-top: 10px;
}

.client-sector {
	color: #666;
	font-size: 14px;
}

.project-details {
	color: #444;
	font-size: 13px;
	margin-top: 8px;
	padding: 0 10px;
}

/* FLECHAS */
.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background-color: white;
	color: #051d47;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 22px;
	cursor: pointer;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

.prev-button {
	left: 10px;
}

.next-button {
	right: 10px;
}

/* RESPONSIVE */
@media (max-width: 991px) {

	.testimonial-item.active {
		transform: scale(1);
		opacity: 1;
	}

	.testimonials-carousel {
		flex-direction: column;
		transition: none;
	}

	.testimonial-item {
		flex: 0 0 100%;
		opacity: 1;
		margin-bottom: 1em;
		margin-top: 1em;
	}

	.slider-nav {
		display: none;
	}
}

.catalogo-nav {
	gap: 10px;
}

.catalogo-nav {
	gap: 5px;
}

.img-catalogo {
	height: 300px;
	max-height: 300px;
	width: auto;
	object-fit: contain;
}

.link-catalogo {
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 14px;
}

.link-catalogo:hover {
	color: #f0f0f0;
}

.boton-catalogo {
	background-color: #1f3d7a;
	color: #ffffff;
	font-weight: 600;
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	margin-top: 15px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	border: none;
	cursor: pointer;
}

.boton-catalogo:hover {
	background-color: #274d9b;
	color: #ffffff;
	transform: translateY(-2px);
}

.icono-descarga {
	margin-right: 10px;
	font-size: 18px;
	vertical-align: middle;
}



@media (max-width: 991px) {
	.catalogo-nav {
		margin-top: 15px;
	}

}

/* Corrección para centrar verticalmente el texto del slider */
.texto_slider_1,
.texto_slider_3 {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-0%, -50%);
    width: auto;
    color: white;
    font-size: 4vw;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 0;
    line-height: 1.1;
}
/* Eliminar espacio extra en los spans */
.texto_slider_1 span,
.texto_slider_3 span {
    font-weight: 900;
    display: inline-block;
    padding: 0;
    margin: 0;
}

/* Ajustar el espaciado entre líneas */
.texto_slider_1 br,
.texto_slider_3 br {
    line-height: 1.2;
}

/* Control de la altura del carrusel */
.carousel_home {
    height: auto; /* Altura automática */
}

.carousel_home .carousel-item img {
    width: 100%;
    object-fit: cover; /* Mantiene proporción */
    object-position: center; /* Centra la imagen */
}

/* Media queries para dispositivos móviles */
@media (max-width: 767px) {
    .texto_slider_1,
    .texto_slider_3 {
        font-size: 5.5vw; /* Aumentar en móviles */
        left: 10%;
        max-width: 80%;
        top: 50%; /* Mantener centrado vertical */
    }
    
    /* Asegurar que la imagen no se estire demasiado */
    .carousel_home .carousel-item img {
        height: 70vh; /* Altura fija en viewport height */
        max-height: 500px; /* Altura máxima */
    }
}

@media (max-width: 480px) {
    .texto_slider_1,
    .texto_slider_3 {
        font-size: 5vw; /* Más pequeño para móviles pequeños */
    }
    
    /* Para textos muy largos en el slide 5 y 7 */
    .carousel-item:nth-child(5) .texto_slider_1,
    .carousel-item:nth-child(7) .texto_slider_1 {
        font-size: 4vw; /* Aún más pequeño para textos largos */
    }
}