/* Estilos para slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Ocupa 80% de la altura de la ventana, se ajusta al responsive */
    overflow: hidden;
  }
  
  /* Slider principal */
  .slider {
    display: flex;
    width: 100%; /* 3 slides */
    height: 100%;
    transition: transform 0.8s ease-in-out;
  }
  
  /* Cada slide */
  .slide {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  /* Capa de opacidad oscura */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
  }
  
  /* Contenido centrado */
  .content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 20px;
  }
  
  .content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .btn {
    padding: 12px 25px;
    background: #b51817;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #8f1212;
  }
  
  /* Flechas */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
  }
  
  .arrow:hover {
    background: rgba(0,0,0,0.7);
  }
  
  .arrow.left {
    left: 20px;
  }
  
  .arrow.right {
    right: 20px;
  }
  
  /* Controles de página */
  .pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  
  .dot.active {
    background: #b51817;
    transform: scale(1.3);
  }

  /* Presentación */
  .seccion-dos-columnas {
    padding: 60px 20px;
  }
  
  .contenedor {
    display: flex;
    align-items: stretch; /* Fuerza misma altura */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .columna-texto,
  .columna-imagen {
    flex: 1;
  }
  
  .columna-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .columna-texto h2 {
    font-size: 42px;
  }
  
  .columna-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita deformación */
    display: block;
    border-radius: 20px;
  }

  .bold {
    font-weight: bold;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .contenedor {
      flex-direction: column;
    }
  
    .columna-imagen img {
      height: 300px; /* Altura fija opcional en móvil */
    }
  }

  /* Objetivos Section */
  .objectius {
    padding: 60px 20px;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .objectius h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111;
  }
  
  .grid-objectius {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
  }
  
  .card {
    background-color: #f5f5f5;
    border: 2px solid #c51f1f;
    border-left: 5px solid #c51f1f;
    padding: 20px;
    font-weight: 600;
    color: #111;
    border-radius: 6px;
    transition: all .3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .grid-objectius {
      grid-template-columns: 1fr;
    }
  }

  /* Flower */
.impacte-section {
  background-color: #e6e6e6;
  padding: 80px 40px;
  font-family: 'Poppins', sans-serif;
}

.impacte-container {
  max-width: 1200px;
  margin: 0 auto;
}

.impacte-title {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

.impacte-subtitle {
  max-width: 880px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 60px;
}

.impacte-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.impacte-col {
  width: 32%;
}

.impacte-text-block {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #111;
  margin-bottom: 40px;
}

.impacte-flower-wrapper {
  width: 36%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.impacte-flower-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

/* Responsive */

@media (max-width: 992px) {

  .impacte-layout {
    flex-direction: column;
    text-align: center;
  }

  .impacte-col,
  .impacte-flower-wrapper {
    width: 100%;
  }

  .impacte-flower-img {
    margin: 40px 0;
  }
}
  
  