@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background: #fff;
    padding-top: 90px; /* Para compensar el menú fijo */
}

/* MENÚ FIJO */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu .logo img {
    height: 80px;
}

.menu .navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu .navbar ul {
    display: flex;
    gap: 60px;
}

.menu .navbar ul li a {
    color: #5a8d23;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    transition: all 0.1s ease;
}

.menu .navbar ul li a:hover {
    color: #5a8d23;
    border-bottom: 3px solid #66b413;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: #5a8d23;
    cursor: pointer;
}

.menu-toggle img {
    height: 35px;
    width: 35px;
}

/* Estilos para el botón flotante de WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
}

.float-wa:hover {
    background-color: #128C7E;
}

.hero {
    padding: 50px 5%;
    margin-top: 20px;
    background-color: #F4F4F4;
    position: relative; /* Necesario para posicionar la línea correctamente */
}

/* Contenido de la hero */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Asegura que la línea esté dentro de este contenedor */
}

/* Texto */
.text-content {
    flex: 1;
    padding-right: 30px;
    position: relative;
}

/* Barras verticales (verde y gris) */
.bars {
    display: flex;
    position: absolute;
    left: 0;
    height: 80px;
    width: 15px;
}

.bars::before {
    content: '';
    width: 8px;
    height: 100%;
    background-color: #5a8d23; /* Barra verde */
}

.bars::after {
    content: '';
    width: 8px;
    height: 100%;
    background-color: #666; /* Barra gris */
}

/* Estilo para el texto */
.text-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    margin-left: 25px; /* Espacio para las barras */
}

.text-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #555;
    margin-left: 25px; /* Espacio para las barras */
}

.text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-left: 25px; /* Espacio para las barras */
}

/* Contenido de imagen */
.image-content {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

/* Línea negra inferior (debajo del fondo gris) */
.hero-line {
    width: 100%;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0; /* Asegura que la línea comience desde el borde izquierdo */
}

/* Main section styling */
.Nuestros_ser {
  padding: 40px 0;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
}

.ser_text {
  text-align: center;
  margin-bottom: 30px;
  background-color: #e0e0e0; /* Fondo gris */
  padding: 20px;
  border-radius: 10px; /* Bordes redondeados (opcional) */
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Sombra suave (opcional) */
}

.ser_text h2 {
  font-size: 32px;
  color: #77a83b;
  text-transform: uppercase;
  font-weight: 700;
}

.ser_text h2 span {
  color: #333;
  font-weight: 700;
}

/* Carousel container and track */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Individual slide styling */
.Nuestro_content {
  display: flex;
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #e0e0e0; /* Fondo gris */
  border-radius: 30px;       /* Bordes redondeados */
  margin-bottom: 20px;       /* Espacio entre slides si se muestra más de uno */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
  flex-wrap: wrap;           /* Asegura que el contenido se acomode en pantallas pequeñas */
}


.image_nuestro {
  width: 30%;
  padding-right: 20px;
}

.image_nuestro img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text_ser {
  width: 70%;
}

.text_ser h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.text_ser h2 span {
  color: #77a83b;
  font-weight: 700;
}

.text_ser p {
  line-height: 1.6;
  font-size: 16px;
  color: #555;
}

.text_ser strong {
  display: block;
  margin-top: 10px;
}

/* Navigation buttons */
.carousel-buttons {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.carousel-buttons button {
  background-color: rgba(119, 168, 59, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-buttons button:hover {
  background-color: rgba(119, 168, 59, 1);
}

#prevBtn {
  margin-left: 10px;
}

#nextBtn {
  margin-right: 10px;
}

/* Navigation dots */
.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #77a83b;
}

/* Responsive styles */
@media (max-width: 768px) {
  .Nuestro_content {
    flex-direction: column;
  }
  
  .image_nuestro, .text_ser {
    width: 100%;
  }
  
  .image_nuestro {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .carousel-buttons button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .text_ser h2 {
    font-size: 20px;
  }
}

.footer {
    background-color: #76a934;
    padding: 40px 20px;
    color: #000000;
    text-align: center;
}

.footer-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 20px;
    flex: 1;
    min-width: 250px;
  }
  
  .footer-box i {
    font-size: 36px;
    margin-bottom: 15px;
    color: #030303;
}

.footer-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.footer-social i {
    font-size: 24px;
    color: #030303;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-social i:hover {
    transform: translateY(-5px);
    color: #F4F4F4;
}



@media screen and (max-width: 992px) {
    .menu {
        padding: 0 20px;
    }
    
    .menu .navbar ul {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu .navbar {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .menu .navbar.active {
        display: flex;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
    }
    
    .menu .navbar ul li {
        text-align: center;
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content {
        flex-direction: row; /* Mantener logo y texto juntos */
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .text-content {
        flex: 1 0 60%;
        padding-right: 0;
    }
    
    .image-content {
        flex: 1 0 30%;
    }
}

@media screen and (max-width: 576px) {
    .menu {
        padding: 0 15px;
        height: 70px;
    }
    
    .menu .logo img {
        height: 60px;
    }
    
    .text-content h2 {
        font-size: 24px;
    }
    
    .text-content h3 {
        font-size: 18px;
    }
    
    .text-content p {
        font-size: 14px;
    }
    
    .float-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .hero-content {
        padding-top: 10px;
    }
    
    .bars {
        height: 60px;
    }
}

@media screen and (max-width: 992px) {
    .footer-title {
    font-size: 26px;
    }
    
    .footer-content {
    gap: 10px;
    }
    
    .footer-box {
    padding: 0 10px;
    }
}
  
  @media screen and (max-width: 768px) {
    .footer {
      padding: 30px 15px;
    }
    
    .footer-title {
      font-size: 24px;
      margin-bottom: 25px;
    }
    
    .footer-box {
      min-width: 200px;
    }
    
    .footer-box i {
      font-size: 32px;
    }
    
    .footer-box p {
      font-size: 14px;
    }
  }
  
  @media screen and (max-width: 576px) {
    .footer {
      padding: 25px 15px;
    }
    
    .footer-title {
      font-size: 22px;
      margin-bottom: 20px;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 25px;
    }
    
    .footer-box {
      width: 100%;
      margin-bottom: 0;
    }
    
    .footer-social {
      margin-top: 25px;
      gap: 20px;
    }
    
    .footer-social i {
      font-size: 22px;
    }
  }
