@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    background:  #FFFFFF;
    
}

header{
    min-height: 100vh;
    
}

img{
    max-width: 100%;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    
}

.menu{
    display: flex;
    justify-content: space-between;
    padding: 0 20px ;
    position: fixed;
    top: 0;
    background-color: rgba(44, 107, 47, 0.4);
    border-radius: 5px;
    
}

.logo{
    color: #2C6B2F;
    font-size: 20px;
    text-transform: capitalize;
    flex: 1; 
    margin-right: 248px;  
    
}

#inicio {
    scroll-margin-top: 80px; 
}
.menu img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    }

.navbar ul{
    display: flex;
    align-items: center;
}

.navbar ul li{
    padding: 0 20px;
    font-size: 20px;
}

.navbar ul li a{
    color: #333333;
}

.navbar ul li a:hover{
    color: #81C784;
}

#menu {
    display: none;
}

.menu-icono{
    width: 25px;
}

.menu label{
    cursor: pointer;
    display: none;
}

.header-content{
    display: flex;
    margin-top: 150px;
}

.header-txt{
    flex-basis: 50%;
    padding-right: 120px;
}

.header-txt h1{
    font-family: "Merriweather Sans", serif;
    font-size: 83px;
    line-height: 1;
    color: #2C6B2F;
    margin-bottom: 15px;
}

.header-txt p{
    font-size: 20px;
    color: #C1C1C1;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    background: #205223;
    color: #FFFFFF;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.btn:hover{
    background-color: #4CAF50;
}

.btn-open:hover {
    background-color: #2C6B2F;
}

.header-img{
    flex-basis: 50%;
}

/* secciones de nosotros */

.nosotros h2{
    font-size: 80px;
    text-align: center;
    color: #2C6B2F;
    
}

.nosotros h3{
    font-size: 50px;
    color: #2C6B2F;
}

.nosotros img{
    width: 500px;
    height: 300px;
    display: flex;
    display: block;       
    margin: 20px auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(44, 107, 47, 0.5);
}


/*seccion de noticias nueva opcion*/
.fondo-section{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: url("images/fondo_noticia_web.webp") #fbfcfb no-repeat center;
    
}

.titulo{
    text-align: center;
    font-size: 80px;
    padding-top: 2px;
    color: #2C6B2F;   
}

.slider-wrapper{
    overflow: hidden;
    max-width: 1200px;
    margin: 0 70px 55px;
}

.card-list .card-item{
    color: #ffffff;
    user-select: none;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    backdrop-filter: blur(30px);
    background: rgba(44, 107,47, 0.2);
    border: 1px solid rgba(33, 117, 38, 0.5);
    
}

.card-list .card-item .user-image{
    width: 500px;
    height: 400px;
    border-radius: 10%;
    margin-bottom: 40px;
    border: 3px solid #fff;
    padding: 4px;
}

.card-list .card-item .user-profession{
    font-size: 1.15rem;
    color: #e3e3e3;
    font-weight: 500;
    margin: 14px 0 40px;
}

.card-list .card-item .message-button{
    font-size: 1.25rem;
    padding: 10px 35px;
    color: #030728;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    border: 1px solid transparent;
}

.card-list .card-item .message-button:hover{
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
}

.slider-wrapper .swiper-pagination-bullet{
    background: #fff;
    height: 15px;
    width: 15px;
}

.slider-wrapper .swiper-slide-button{
    color: #fff;
    margin-top: -50px;
}

.slider-wrapper .swiper-slide-button:hover{
    color: #2C6B2F;
}

/* seccion de formulario*/

/* Estilos del formulario emergente */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-group input[type="submit"] {
    background-color: #2C6B2F;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.form-group input[type="submit"]:hover {
    background-color: #205223;
}

.close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.close-btn:hover {
    background-color: #e53935;
}

/*seccion de footer*/
footer {
    background-color: #2C6B2F;
    color: #ffffff;
    padding: 30px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(129, 199, 132, 0.2);
    margin-top: 40px;
  }

.footer-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.footer-section{
    flex: 1;
    min-width: 200px;
}

.footer-section h3{
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
    
}

.footer-section img{
    width: 150px;
    height: 150px;
    float: left;
    margin-top: -30px;
    margin-left: -35px;   
}

.footer-section ul li{
    margin: 5px 0;
    
}

.footer-section ul li a{
    color: #747373;
    text-decoration: none;
}

.footer-section ul li a:hover{
    color: #fff;
}



.follow-us{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-buttons{
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#ffffff;
    color: #2C6B2F;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-button:hover {
    background-color: #333333;
}

.social-button i {
    pointer-events: none; /* Para que el icono no interfiera con el hover */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: rgba(129, 199, 132, 0.8);
    border-radius: 10px;
}

.privacy-policy a {
    color: #fff;
    text-decoration: none;
}

.privacy-policy a:hover {
    color: #ccc;
}

.rights-reserved {
    color: #fff;
}
/*seccion de contacto*/
/* Estilos de la ventana emergente (modal) */
.modal1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content1 {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content1 h2 {
    margin-top: 0;
}

.modal-content1 p, .modal-content ul {
    font-size: 16px;
}

.modal-content1 a {
    color: #007BFF;
    text-decoration: none;
}

.modal-content1 a:hover {
    text-decoration: underline;
}

.close-btn1 {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.close-btn1:hover {
    background-color: #e53935;
}

/* seccion de servicios*/
.servicio_titulo h2{
    text-align: center;
    font-size: 80px;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #2C6B2F;
    
}

.service {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid  #c5e7c7;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(44, 107, 47, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-image {
    flex: 1;
    margin-right: 20px;
}

.service-image img {
    width: 400px;
    height: 300px;
    border-radius: 8px;
}

.service-info {
    flex: 2;
}

.service-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.service-info ul {
    margin-left: 20px;    
}

.service-info ul li {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
    
}
/* Usamos el pseudo-elemento ::before para agregar el punto */
.con-punto::before {
    content: " •"; /* El punto */
    font-size: 20px; /* Tamaño del punto */
    color: black; /* Color del punto */
    margin-right: 2px; /* Espacio entre el punto y el texto */
}

/* boton de whatsapp */
/* Estilos para el contenedor del botón */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
  /* Estilo del botón */
#whatsapp-button {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #2C6B2F;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 60px; /* Centrar el ícono dentro del botón */
    animation: pulse 2s infinite;
    font-size: 30px; /* Tamaño del ícono */
    color: white;
    transition: transform 0.3s ease;
}
  /* Estilo cuando el botón se encuentra en hover */
#whatsapp-button:hover {
    transform: scale(1.1);
  }
  
  /* Animación de ondas alrededor del botón */
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.2);
      opacity: 0.6;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

@media(max-width:991px){

    .menu{
        padding: 20px;
        position: relative;
        background-color: transparent;
        /*position: fixed;*/
    }


    .logo{
        margin-right: 10px;
        
    }

    .menu label{
        display: initial;
    }
    /*anexo de codigo*/
    .menu a{
        font-size: 15px;
    }
    .header-txt h1{
        font-size: 50px;
    }
    .menu img{
        width: 30px;
        margin-top: 2px;
        margin-right: 5px;

    }
    .menu .navbar{ /*no me cuadra desde aca*/
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2C6B2F;
        display: none;
    }

    .menu .navbar a{
        color: #FFFFFF;
    }

    .menu .navbar ul{
        flex-direction: column;
        padding: 0 20px;
    }

    .menu .navbar ul li{
        width: 100%;
        padding: 20px 0;
    }

    .menu .navbar ul li a:hover{
        color: #898798;
    }

    #menu:checked ~ .navbar{
        display: initial;
    }

    .header-content{
        padding: 30px;
        margin-top: 0;
        flex-direction: column;
        text-align: center;
    }

    .header-txt{
        padding: 0 0 40px 0;
    }

    .header-img img{
        width: 300px;
        margin-top: 10px;
    }

    .nosotros h2{
        font-size: 50px;
        margin-top: 80px;
    }
    header{
        margin-bottom: -100px;
    }

    .nosotros h3{
        font-size: 25px;
        max-width: 100%;  
        word-wrap: break-word;  
        padding: 10px;
        box-sizing: border-box;
    }
    .nosotros img{
        width: 350px;
        height: 250px;
    }

    .nosotros p{
        font-size: 16px;
        max-width: 100%;  
        word-wrap: break-word;  
        padding: 10px;
        box-sizing: border-box;
    }

    .titulo{
        font-size: 50px;
        margin-top: 0px;
    }

    .news-container{
        grid-template-columns: 1fr;
    }

    .registration-form{
        padding: 10px;
    }
    input, select, button{
        font-size: 12px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .slider-box{
        width: 100%;
    }

    .texto{
        top: 50px;
        padding: 0 25px;
    }

    .texto h2{
        font-size: 35px;
        margin-bottom: 15px;
    }

    .texto p{
        font-size: 15px;
    }

    .service {
        flex-direction: column;
        text-align: center;
    }

    .servicio_titulo h2{
        font-size: 50px;
        margin-top: 50px;
    }

    .service-image {
        margin-right: 0;
        margin-bottom: 20px;

    }

    .service-info {
        flex: 1;
    }

    .slider-wrapper{
        margin: 0 10px 40px;
        }
    
        .slider-wrapper .swiper-slide-button{
            display: none;
        }
    
        .card-list .card-item .user-image .user-image{
            width: 350px;
             
    } 


}