/* nosotros.css - Estilos específicos para la página Nosotros */
strong {
  font-weight: bold !important;
}
/* Estilos para la sección con imagen de fondo */
.seccion-imagen-fondo-nosotros {
  background: linear-gradient(
      rgba(240, 240, 240, 0.051),
      rgba(255, 255, 255, 0.5)
    ),
    url("../img/logoComp.jpeg") no-repeat center center;
  background-size: cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 70px; /* Compensa el navbar fijo */
  color: rgb(0, 0, 0);
}

.seccion-imagen-fondo-nosotros .decoracion {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.7;
}

.seccion-imagen-fondo-nosotros .logoDec {
  height: 80px;
  width: auto;
}

.seccion-imagen-fondo-nosotros .tituloIntro {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 80%;
  color: #ffffff;
}
.texto-justificado {
  text-align: justify;
}
/* Estilos para la sección de historia */
.historia-section h2 {
  color: #2c5e1a; /* Verde oscuro para buen contraste */

  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: quicksand, sans-serif;
}

.historia-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
  font-family: quicksand, sans-serif;
}
.historia-section strong {
  font-weight: 700 !important; /* Fuerza el bold */
}

/* Decoraciones flotantes */
.floating-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.floating-circles .circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(102, 236, 13, 0.1);
}

.floating-circles .circle-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
}

.floating-circles .circle-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 10%;
}

.floating-circles .circle-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 15%;
}

.floating-circles .circle-4 {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 20%;
}

.floating-circles .circle-5 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 25%;
}
/*numeros de historia*/
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c8a3a; /* Color verde, puedes cambiarlo */
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  margin-top: -8px;
}

/* Imágenes decorativas */
.decoracion-aguacate,
.decoracion-limon {
  position: absolute;
  z-index: -1;
}

.decoracion-aguacate {
  bottom: -50px;
  left: -50px;
  width: 200px;
}

.decoracion-limon {
  top: -50px;
  right: -30px;
  width: 150px;
}

.img-decorativa {
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Estadísticas */
.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #60c41e; /* Verde principal */
}

.stat-label {
  font-size: 0.9rem;
  color: #000000;
  font-family: quicksand, sans-serif;
}

/* Misión y Visión */
.bg-dark-green {
  background-color: #5493424f; /* Verde más oscuro para contraste */
  height: 100%;
}

.bg-dark-green h3 {
  color: #285f29;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
}

.bg-dark-green p {
  color: #ffffff;
}

.bg-dark-green i {
  color: #4c951b;
}

.custom-light-green {
  background-color: #000000f3; /* Verde claro pastel */
  /* Alternativas: 
       #e8f5e9 (muy claro),
       #c8e6c9 (verde menta),
       #a5d6a7 (verde fresco) */
}

/* Valores Corporativos */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.bg-light-green {
  background-color: rgba(102, 255, 0, 0.2);
}

.hover-shadow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Equipo */
.team-card {
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.team-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}

.team-img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #6ac82a;
}

.team-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certificaciones */
.certification-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.certification-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certification-logo img {
  max-height: 100%;
  max-width: 100%;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.certification-logo:hover img {
  filter: grayscale(0%);
}

/* Contenedor de imagen con overlay */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(106, 200, 42, 0.1),
    rgba(106, 200, 42, 0.3)
  );
}

/* Títulos con buen contraste */
h1,
h2,
h3,
h4 {
  font-family: "Urbanist", sans-serif;
  color: #2c5e1a; /* Verde oscuro para contraste */
}

h1.display-4 {
  color: #1a3a0d !important;
  font-family: quicksand, sans-serif; /* Verde más oscuro para mejor contraste */
}

/* Responsive */
@media (max-width: 768px) {
  .seccion-imagen-fondo-nosotros {
    height: 40vh;
  }

  .seccion-imagen-fondo-nosotros .tituloIntro {
    font-size: 2rem;
  }

  .floating-circles .circle {
    display: none;
  }

  .decoracion-aguacate,
  .decoracion-limon {
    display: none;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}
/* Contenedor principal del carrusel */
#historiaCarousel {
  height: 400px; /* Mantienes tu altura deseada */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 90%; /* Cambiado a 100% para que use todo el ancho disponible */
  background-color: transparent; /* Elimina el color de fondo */
}

/* Contenedor interno - esencial para Bootstrap */
#historiaCarousel .carousel-inner {
  height: 100%;
  width: 100%;
}

/* Cada slide */
#historiaCarousel .carousel-item {
  height: 100%;
  width: 100%;
  position: relative;
}

/* Imágenes - ajuste para cubrir todo el espacio */
#historiaCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cambiado de 'contain' a 'cover' para eliminar espacios */
  position: absolute;
  top: 0;
  left: 0;
  object-position: center; /* Asegura que el centro de la imagen sea visible */
}

/* Elimina el overlay si no es necesario */
#historiaCarousel .image-overlay {
  display: none;
}

/* Ajusta los indicadores si es necesario */
#historiaCarousel .carousel-indicators {
  bottom: 10px;
}

/* Overlay semitransparente */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Selecciona específicamente la imagen equipo3 por su ruta */
/* Si equipo3 es el 3er item del carrusel */
/* Si equipo3 es el 3er item del carrusel */
#historiaCarousel .carousel-item img[src="img/equipo/equipo3.jpeg"] {
  /* Estilos específicos */
  object-position: center; /* Enfoca la parte superior */
  transform: translate(0%, -0%) scale(1.53); /* Reduce tamaño */
}

/* Asegurar que los controles estén sobre el overlay */
.carousel-control-prev,
.carousel-control-next {
  z-index: 2;
}
/* Indicadores estilo línea */
.line-indicators {
  bottom: 15px;
}

.line-indicators button {
  width: 40px;
  height: 4px;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 3px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.line-indicators button.active {
  background-color: #ffffff;
  height: 5px;
  transform: translateY(-1px);
}

/* Opcional: Efecto hover */
.line-indicators button:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
}

.lead {
  font-size: 1.1rem;
  color: #837b7b;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: quicksand, sans-serif;
}
@media (max-width: 768px) {
  .lead {
    font-size: 100%;
    color: #837b7b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: quicksand, sans-serif;
  }
}

/* Contenedor principal (clave para el recorte) */
.certificaciones-section {
  position: relative;
  overflow: hidden; /* Oculta las decoraciones al salir de la sección */
}

/* Contenedor de decoraciones (posicionamiento fijo pero acotado) */
.decoraciones {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: -1; /* Opcional: evita que interfiera con el contenido */
  transform: translateY(-50%);
}

/* Imágenes decorativas */
.decoraciones img {
  opacity: 0.4;
  position: absolute;
  max-width: 500px; /* Ajusta según necesidad */
  /* Opción 2: Tamaño máximo (crece hasta un límite) */

  /* Opcional: Ajustar altura proporcionalmente */
  height: auto; /* Mantiene la proporción */
}

.decoracion-right {
  right: 0;
}

.decoracion-left {
  left: 0;
}

/* Responsive: reducir tamaño en móviles */
@media (max-width: 768px) {
  .decoraciones img {
    max-width: 120px;
    opacity: 0.3;
  }
}

/* Ocultar en móviles pequeños */
@media (max-width: 576px) {
  .decoraciones {
    display: none;
  }
}
/* Estilos para el contenedor */
.logo-watermark-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Estilos para el logo watermark */
.watermark-logo {
  opacity: 0.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px; /* Tamaño máximo para pantallas grandes */
  width: 10vw; /* Ancho relativo al viewport */
  height: auto;
  object-fit: contain;
}

/* Media Queries para ajustar en diferentes tamaños */
@media (max-width: 1200px) {
  .watermark-logo {
    width: 25vw;
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .watermark-logo {
    width: 30vw;
    max-width: 100px;
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .watermark-logo {
    width: 0vw;
    max-width: 0px;
    opacity: 0.3;
  }
}

@media (max-width: 576px) {
  .watermark-logo {
    width: 0vw;
    max-width: 10px;
    opacity: 0.2;
  }
}

@media (max-width: 400px) {
  .watermark-logo {
    display: none; /* Opcional: ocultar en pantallas muy pequeñas */
  }
}
