/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Estilos para la sección de historia */
.timeline-section {
  padding: 4rem 0;
  background-color: rgba(var(--cnvs-themecolor-rgb), 0.05);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--cnvs-themecolor);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-content {
  padding: 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 25px;
  border-width: 15px 0 15px 15px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 25px;
  border-width: 15px 15px 15px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.timeline-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--cnvs-themecolor);
  border: 4px solid white;
  top: 25px;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -15px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -15px;
}

.timeline-dot i {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}

.timeline-year {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--cnvs-themecolor);
  font-family: var(--cnvs-primary-font);
}

.timeline-description {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Estilos responsivos */
@media screen and (max-width: 767px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 70px;
  }

  .timeline-item:nth-child(odd) .timeline-content::after {
    left: -15px;
    right: auto;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-dot {
    left: 16px;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    right: auto;
    left: 16px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 16px;
  }
}

/* Estilos para la sección de misión, visión y valores */
.values-card {
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  height: 100%;
}

.values-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.values-icon {
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  display: inline-block;
  font-size: 3rem;
  color: var(--cnvs-themecolor);
}

.values-card:hover .values-icon {
  transform: scale(1.2);
}

.values-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--cnvs-themecolor);
}

.values-list {
  padding-left: 0;
  list-style: none;
}

.values-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.values-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--cnvs-themecolor);
}

/* Estilos para Filosofía y Objetivo */
.philosophy-objective-section {
  padding: 4rem 0;
  background-color: rgba(var(--cnvs-themecolor-rgb), 0.05);
}

.philosophy-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: none;
	background-color: white;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.philosophy-icon {
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background-color: rgba(var(--cnvs-themecolor-rgb), 0.1);
  color: var(--cnvs-themecolor);
  transition: all 0.3s ease;
	aspect-ratio: 1/1;
}

.philosophy-card:hover .philosophy-icon {
  background-color: var(--cnvs-themecolor);
  color: white;
  transform: scale(1.1);
}

.philosophy-title {
  color: var(--cnvs-themecolor);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.philosophy-lead {
  font-weight: 500;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.philosophy-text {
  color: #666;
  line-height: 1.7;
}

/* Media queries */
@media (max-width: 991.98px) {
  .philosophy-cards-container {
    gap: 2rem;
  }
}

/* Estilos para sección Nuestro Equipo */
.team-section {
  padding: 5rem 0;
}

.team-member {
  position: relative;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.team-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.team-member:hover .team-image img {
  transform: scale(1.05);
}

.team-member:hover {
  transform: translateY(-7px);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 100, 88, 0.9), transparent);
  padding: 1.5rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transform: translateY(20%);
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member:hover .team-overlay {
  transform: translateY(0);
  opacity: 1;
}

.team-info {
  text-align: center;
  padding: 1.5rem 1rem;
}

.team-name {
  color: var(--cnvs-themecolor);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-position {
  color: #666;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.team-bio {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cnvs-themecolor);
  color: white;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background-color: #094a41;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(9, 74, 65, 0.3);
}

.team-social i {
  font-size: 1rem;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .team-section .row {
    justify-content: center;
  }
}

/* Estilos para la sección de Políticas de Calidad */
.quality-section {
  padding: 5rem 0;
  background-color: rgba(var(--cnvs-themecolor-rgb), 0.05);
}

.quality-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.quality-header {
  text-align: center;
  margin-bottom: 1rem;
}

.quality-title {
  color: var(--cnvs-themecolor);
  font-weight: 700;
  margin-bottom: 1rem;
}

.quality-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.quality-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.quality-text {
  flex: 1;
  min-width: 300px;
}

.quality-lead {
  color: var(--cnvs-themecolor);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.quality-certifications {
  margin-top: 1.5rem;
}

.certification-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.certification-icon {
  color: var(--cnvs-themecolor);
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.certification-details {
  display: flex;
  flex-direction: column;
}

.certification-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.certification-description {
  color: #666;
}

.quality-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.quality-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quality-image img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quality-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--cnvs-themecolor);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.quality-badge i {
  font-size: 2rem;
}

.quality-quote {
  background-color: #f8f9fa;
  border-left: 4px solid var(--cnvs-themecolor);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-name {
  font-weight: 600;
  color: #333;
}

.author-position {
  color: #666;
  font-style: italic;
}

/* Media queries */
@media (max-width: 991.98px) {
  .quality-content {
    flex-direction: column;
  }

  .quality-text, .quality-image {
    width: 100%;
  }

  .quality-quote {
    margin-bottom: 2rem;
  }
}

/* Corregir iconos en fondo oscuro */
.dark .social-icon i {
	color: #ffffff !important;
}

/* Mejorar sección de preguntas frecuentes */
.accordion-header {
	background-color: #ffffff;
	border-radius: 8px;
	margin-bottom: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
}

.accordion-header:hover {
	background-color: #f8f9fa;
}

.accordion-title {
	padding: 15px 0;
	font-weight: 500;
	color: #333;
}

.accordion-icon {
	color: var(--cnvs-themecolor);
}

.accordion-content {
	padding: 15px 40px 15px 40px;
	background-color: #f8f9fa;
	border-radius: 0 0 8px 8px;
	margin-top: -10px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Mejorar botones de redes sociales */
.social-icon.bg-white.bg-opacity-10 {
	background-color: rgba(255, 255, 255, 0.2) !important;
}

.social-icon.bg-white.bg-opacity-10 i {
	color: #ffffff !important;
}

.social-icon.bg-color i {
	color: #ffffff !important;
}

/* Mejorar sección de redes sociales */
.section-mobile .social-icon {
	margin: 0 10px;
}

/* Estilos adicionales para los iconos de los botones en la sección de redes sociales */
.d-flex.justify-content-center.gap-4 .social-icon i {
	color: #ffffff !important;
}

b, strong {
	font-weight: 500;
}

/* Estilos para los acordeones de equipos */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: #ffffff !important; /* Color de fondo claro para acordeones inactivos */
  color: #0f6458;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #0f6458;
  background-color: rgba(15, 100, 88, 0.15) !important; /* Color de fondo verde solo para el acordeón activo */
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(15, 100, 88, 0.25);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f6458'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f6458'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
}

/* Estilos para las tarjetas dentro del acordeón */
.accordion-body .card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.accordion-body .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Estilos para los encabezados de sección */
#especificaciones-tecnicas {
  box-shadow: none;
}

#especificaciones-tecnicas .accordion-item {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Garantía y Servicio Técnico
.feature-box .fbox-icon i.bi-check-circle-fill,
.feature-box .fbox-icon i.bi-headset,
.feature-box .fbox-icon i.bi-clipboard-check {
  color: var(--cnvs-themecolor);
} */

/* WhatsApp BontÃƒÄ£n */
.float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 40px;
	left: 40px;
	background-color: #25d366;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	z-index: 10000000;
	transform: scale(1);
	animation: pulse 2s infinite;
}

.my-float {
	margin-top: 10px;
}

@keyframes pulse {
	0% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1.2);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@media screen and (max-width:991px) {

	.float {
		position: fixed;
		width: 60px;
		height: 60px;
		bottom: 50px;
		left: 20px;
		background-color: #25d366;
		color: #FFF;
		border-radius: 50px;
		text-align: center;
		font-size: 30px;
		box-shadow: 2px 2px 3px #999;
		z-index: 100;
	}

	.my-float {
		margin-top: 10px;
	}

}