/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.swiper-button-next,
.swiper-button-prev {
  color: #fff; /* Cambia el color del ícono */
  background-color: transparent;
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next {
  right: 20px;
}

.swiper-button-prev {
  left: 20px;
}

.bg-black {
	background-color: #000;
}

.custom-info-parraph {
	line-height: 2.1 !important;
}

.section.with-border {
	border-bottom: 3px solid #777;
}

.sidenav .image-icon {
	width: 24px;
}

.service-item {
    flex: 1 1 calc(100% / 5 - 10px);
    min-width: 180px;
    max-width: calc(100% / 5 - 10px);
    margin: 5px;
}

@media screen and (max-width: 767px) {
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.service-item .button {
	padding: 10px 20px;	
}

.service-item .hidden-text {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

.service-item:hover img {
	scale: 1.1;
}

.service-item:hover .hidden-text {
	opacity: 1;
	max-height: 250px;
}

.service-item img {
	width: 80px;
	height: 80px;
}

.box-value-item {
	-webkit-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.68);
	-moz-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.68);
	box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.68);
}

.heading-block.without-line::after {
	display: none;
}

#certificaciones .media-box img {
	width: 60%;
	margin: 0 auto;
}

#marcas .box-background-about {
	padding: 100px 0; 
	background-repeat: no-repeat; 
	background-position: center center;
	border: none;
}

#marcas .box-background-about .content-info {
	background-color: #e0e5e8d9;
}

#marcas .box-background-about .content-info,
#marcas .box-background-about .content-info h5 {
	color: #707070;
}

#marcas .box-background-about .content-info p {
	font-size: 95%;
}

#clientes .case-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#clientes .case-body {
	flex: 1;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

#clientes .case-body .case-subtitle {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

#clientes .cases-slider {
  	margin: 0 -0.5rem; /* compensar padding de los items */
}

#clientes .case-item {
  	padding: 0 0.5rem;
  	display: block;
}

#clientes .case-item img {
  	width: 100%;
  	border-radius: 4px;
  	object-fit: cover;
  	transition: transform 0.3s ease;
}

#clientes .text-purple {		
	font-size: 0.9rem;
	color: #7b5cff;
}

#clientes .case-divider {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 0.75rem 0 0;
}

#clientes .case-arrow {
	margin-top: -1rem;
}

#clientes .case-arrow-btn {
	background-color: #7b5cff;
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 2px;
	width: 36px;
	height: 36px;
	font-size: 1.4rem;
	transition: background 0.3s ease;
}

#clientes .case-arrow-btn:hover {
  	background-color: #5a3dcc;
}

#clientes .slider-controls {
	display: flex;
	justify-content: flex-end;
	gap: 0;
	margin-top: 0;
}

#clientes .slick-track {
	margin-left: 0 !important;
}

#clientes .slider-controls .slick-prev,
#clientes .slider-controls .slick-next {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background-color: #603ace !important;
	color: #fff !important;
	border: none !important;
	padding: 0.5rem 1rem !important;
	margin-left: 0.5rem;
	border-radius: 0.25rem;
	font-size: 1.2rem;
	line-height: 1;
	min-width: 40px;
	min-height: 34px;
	box-shadow: none;
	transition: background 0.2s ease;
}

#clientes .slider-controls .slick-prev:hover,
#clientes .slider-controls .slick-next:hover {
  	background-color: #5a3dcc !important;
}

#conocenos .hero-section-container {
	position: relative;
	background-image: url('../images/bg-conocenos.webp'); /* Reemplaza con tu imagen */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;	
}

#conocenos .hero-section-container .overlay {
	background: linear-gradient(to right, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
}

#conocenos .hero-section-container .content {
	position: relative;
	z-index: 2;
	max-width: 600px;
}

#conocenos .hero-section-container .img-conocenos {
	width: 70%;
}

#conocenos .box-background-about {
	padding: 100px 0; 
	background-repeat: no-repeat; 
	background-position: center center;
	border: none;
}

#conocenos .box-background-about .content-info {
	background-color: #e0e5e8d9;
}

#conocenos .box-background-about .content-info,
#conocenos .box-background-about .content-info h5 {
	color: #707070;
}

#conocenos h5 {
	font-size: 1.15rem;
}

#conocenos h5:after {
	content: "";
	position: absolute;
	top: 75px;
	left: 48px;
	width: 50px;
	height: 2px;
	background-color: var(--primary-color);
}

#conocenos .box-background-about .content-info p {
	font-size: 95%;
}

#conocenos .value-item h3 {
	font-size: 1rem;
}

#conocenos .value-item h3:after {
	content: "";
	position: absolute;
	top: 70px;
	left: 15px;
	width: 50px;
	height: 2px;
	background-color: var(--primary-color);
}

#conocenos .value-item img {
	max-width: 225px;
	text-align: center;
	margin: 0 auto;
}

#whatsappButton {
	position: fixed;
	right: 25px;
	bottom: 90px;
	z-index: 9999;
}

#whatsappButton img {
	width: 50px;
}

.grecaptcha-badge {
	display: none !important;
}

.oc-item img {
	height: 130px;
}

.fbox-content li {
	list-style-type:disc;
	list-style-position:outside;
	font-size: 14px;
	font-weight: 300;
}

.col .fbox-content h3 {
	height: 50px;
}

#modalContactForm .modal-title {
	text-transform: uppercase;
	letter-spacing: 1px;
}

#form-sucribe input {
	padding: 0 15px;
	line-height: 40px;
	height: 42px;
}

#form-sucribe button {
	transform: rotate(90deg);
	background: #603ace;
	color: #fff;
}

footer .widget_links .rrss {
	width: 50px;
}

footer .list-rrss i {
	color: #603ace;
}

@media screen and (min-width: 992px) {
	#footer .footer-logo {
		width: 60%;
	}
}

/*
 * Box News 
 */
#box-news .fbox-media img {
	max-height: 300px;
	object-fit: cover;
}

#box-news .fbox-content a {
	color: inherit;
	font-weight: 600;
}

#box-news .fbox-content h3:hover,
#box-news .fbox-content a:hover,
#box-news-featured-sidebar .fbox-content h5:hover {
	color: #009731;
	cursor: pointer;
}

#box-news .fbox-content span {
	font-size: 85%;
	font-weight: 600;
}

#box-news .fbox-content span i {
	color: #009731;
}

#box-news .fbox-content p,
#compromiso .feature-box .subtitle {
	color: #009731;
	font-size: 95%;			
	line-height: inherit;
}

#novedades .news-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* eliminamos border-radius */
    overflow: hidden;
}

#novedades .news-card .card-img-top {
    object-fit: cover;
    max-height: 400px;
}

#novedades .date-badge {
    position: absolute;
    top: 1rem;
    left: 1.25rem;            
    padding: 10px 20px;
    font-size: 0.9rem;
    background-color: #603ace;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#novedades .card-body {
    padding-bottom: 0; /* para evitar espacio extra antes del footer */
}

#novedades .card-body .card-text {
	display: -webkit-box;
  	-webkit-line-clamp: 3;
  	-webkit-box-orient: vertical;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

#novedades .admin-underline {
    width: 50%;
    height: 2px;
    background-color: #603ace;
    margin: 0.25rem 0;
}

#novedades .btn-purple {
    background-color: #603ace;
    color: #fff;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
}

#novedades .btn-purple:hover,
#novedades .btn-purple:focus {
    background-color: #5a3dcc;
    color: #fff;
}

#novedades .card-footer {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border-top: none;
}

#novedades .card-footer .button {
    flex-shrink: 0;
    padding: 10px 15px;
}

#novedades .card-footer .social-icons {
    display: flex;
    align-items: center;
}

#novedades .card-footer .social-icons a {
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
}

#novedades .card-footer .social-icons img.rrss {
    width: 2rem;
    height: auto;
}

#novedades .news-slider .news-item {
  	padding: 0 0.5rem;
}

#novedades .slick-slide {
  	outline: none; /* quita el foco por defecto */
}

#novedades .slick-track {
	margin-left: 0 !important;
}

#novedades .news-slider {
  	position: relative;
  	padding-bottom: 3rem; /* espacio para los botones */
}

#novedades .slider-controls {
  	display: flex;
  	justify-content: flex-end;
  	gap: 0;
  	margin-top: 0;
}

#novedades .slider-controls .slick-prev,
#novedades .slider-controls .slick-next {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background-color: #603ace !important;
	color: #fff !important;
	border: none !important;
	padding: 0.5rem 1rem !important;
	margin-left: 0.5rem;
	border-radius: 0.25rem;
	font-size: 1.2rem;
	line-height: 1;
	min-width: 40px;
	min-height: 34px;
	box-shadow: none;
	transition: background 0.2s ease;
}

#novedades .slider-controls .slick-prev:hover,
#novedades .slider-controls .slick-next:hover {
  	background-color: #5a3dcc !important;
}

/**
 * News Info
 */
.news-info h1,
.news-info h2,
.news-info h3,
.news-info h4,
.news-info h5,
.news-info h6,
.news-info span,
.news-info div,
.news-info p {
	margin: inherit;
	padding: inherit;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 670px;
		margin: 1.75rem auto;
	}
}

@media screen and (max-width: 768px) {

	.service-item .hidden-text { 		
		opacity: 1;
		max-height: max-content;
	}

	.section {
		padding: 30px 0;
	}

	/*.revo-slider-emphasis-text {
		font-size: 1.75rem !important;
		line-height: 40px;
	}*/
	
	#clientes .oc-item img {
		height: auto;
	}

	#footer .footer-widgets-wrap {
		padding: 40px 0;
	}
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
	.course-item-1 {
		padding-bottom: 29px;
	}	

	.course-item-3 {
		padding-bottom: 83px;
	}	
}

@media screen and (min-width: 1401px) {
	.course-item-2 {
		padding-bottom: 28px;
	}	

	.course-item-3 {
		padding-bottom: 61px;
	}	
}

/* Modal grande (extra-large) */
#newsInfoModal .modal-dialog {
	max-width: 1140px; /* Bootstrap 4.5 xl */
	margin: 1.75rem auto;
}

/* Contenido del modal */
#newsInfoModal .modal-content {
	border: none;
	border-radius: 0;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
	padding: 1rem 2rem;
	background-color: #ffffffe8;
}

/* Header */
#newsInfoModal .modal-header {
	border-bottom: none;
	padding: 0;
	justify-content: flex-end;
}

#newsInfoModal .close {
	font-size: 2rem;
	font-weight: 700;
	color: #000;
	opacity: 1;
	transition: color 0.2s ease;
}

#newsInfoModal .close:hover {
	color: #7b5cff;
	text-decoration: none;
	opacity: 1;
}

/* Layout interior */
#newsInfoModal .modal-body {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;	
	align-items: flex-start;
	padding: 0;
}

/* Imagen a la izquierda */
#newsInfoModalImage {
	width: 45%;	
	object-fit: cover;
	max-height: 400px;
}

/* Texto a la derecha */
#newsInfoModalContent {
  	width: 50%;
}

/* Título y subtítulo */
#newsInfoModalTitle {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

#newsInfoModalSubtitle {
	font-size: 0.95rem;
	color: #7b5cff;
	font-weight: 600;
	margin-bottom: 1rem;
}

#newsInfoModalSubtitle::after {
	content: "";
	position: absolute;
	bottom: 5px;
	left: 15px;
	width: 50px;
	height: 2px;
	background-color: var(--primary-color);
}

/* Descripción */
#newsInfoModalDescription {
	font-size: 0.95rem;
	color: #444;
	line-height: 1.6;
	margin-bottom: 0;
}

#newsInfoModalDescription p {
	margin-bottom: 0;
}

/* Footer del modal */
#newsInfoModal .modal-footer {
	border-top: none;	
}

#newsInfoModal .modal-footer .item-rrss {
	width: 50px;
}