@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: #66b413;
    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_0 {
    display: flex;
    position: absolute;
    left: 0;
    height: 80px;
    width: 15px;
}

.bars_0::before {
    content: '';
    width: 8px;
    height: 100%;
    background-color: #5a8d23; /* Barra verde */
}

.bars_0::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 */
}

/* About Us Section Styles */
.content_nosotros {
    padding: 50px 20px;
    overflow: hidden;
  }
  
  .green-bg {
    background-color: #76a934;
  }
  
  .white-section {
    background-color: #ffffff;
  }
  
  .nosotros_content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
  }
  
  .nosotros_content.reverse {
    flex-direction: row;
  }
  
  .fade-in {
    opacity: 1;
    animation: fadeIn 1s ease-in;
  }
  
  .img_sobre {
    flex: 1;
    max-width: 45%;
    position: relative;
    padding: 15px;
  }
  
  /* Creating the shadow background effect */
  .img_sobre::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -15px;
    width: 80%;
    height: 93%;
    background-color: #ffffff;
    z-index: 1;
  }

  .img_sobre1::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 900px;
    width: 330px;
    height: 93%;
    background-color: #555;
    z-index: 1;
  }
  
  
  .img_sobre img {
    position: relative;
    width: 100%;
    border: 8px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    z-index: 2;
  }

  .img_sobre1 img {
    position: relative;
    width: 100%;
    border: 8px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    z-index: 2;
  }
  
  .text_content {
    flex: 1;
    padding: 30px;
    position: relative;
    border-radius: 2;
  }
  
  .card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .white-bg {
    background-color: #ffffff;
  }
  
  .gray-bg {
    background-color: #f5f5f5;
  }
  
  /* Adjusting the bars to be closer to h2 */
  .bars {
    position: absolute;
    width: 8px;
    height: 40px;
    left: 12px;
    top: 30px;
    display: inline-block;
  }
  
  .bars_1 {
    background-color: #76a934;
  }
  
  .bars_2 {
    background-color: #3f3f3f;
  }
  
  /* Repositioning the h2 to align with the bars */
  .text_content h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-left: 28px;
    font-weight: 600;
    position: relative;
    display: inline-block;
  }
  
  .text_content h2 span {
    color: #76a934;
    font-weight: 600;
  }
  
  .text_content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }
  
  .content_nosotros:last-of-type {
    margin-bottom: 60px;
  }
/* Footer Styles */
.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;
  }
  
/* Estilos responsivos */
@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;
    }
}

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

  /* Responsive Media Queries - Following your structure */
@media screen and (max-width: 992px) {
    .nosotros_content {
    gap: 30px;
    }
    
    .text_content {
    padding: 25px;
    }
    
    .text_content h2 {
    font-size: 22px;
    }
    .bars {
        height: 35px; /* Slightly shorter bars on tablet */
    }
}
@media screen and (max-width: 768px) {
    .nosotros_content {
    flex-direction: column;
    gap: 20px;
    }
    
    .nosotros_content.reverse {
    flex-direction: column;
    }
    
    .img_sobre {
    max-width: 100%;
    width: 100%;
    }
    
    .img_sobre::before {
    left: 0;
    width: 85%;
    }

    .img_sobre1 {
      max-width: 100%;
      width: 100%;
      }
      
      .img_sobre1::before {
      left: 0px;
      width: 85%;
      }
    
    .text_content {
    width: 100%;
    }
    
    .content_nosotros {
    padding: 40px 15px;
    }

    .bars {
        height: 28px; /* Shorter bars on mobile */
    }
}

@media screen and (max-width: 576px) {
    .content_nosotros {
    padding: 30px 15px;
    }
    
    .text_content {
    padding: 20px 15px;
    }
    
    .text_content h2 {
    font-size: 20px;
    margin-left: 24px;
    }
    
    .bars {
    left: 15px;
    height: 24px;
    width: 6px;
    }
    
    .text_content p {
    font-size: 14px;
    }
    
    .img_sobre {
    padding: 10px;
    }
    
    .img_sobre::before {
    top: 20px;
    left: 0;
    }
    
    .img_sobre img {
    border: 5px solid #fff;
    }

    .img_sobre1 {
      padding: 10px;
      }
      
      .img_sobre1::before {
      top: 250px;
      left: 0;
      height: 50vh;
      }
      
      .img_sobre1 img {
      border: 5px solid #fff;
      }

    
}

@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;
    }
  }

