/*Se importaron fuentes de google font*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@200;300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/*cuerpo de la pagina*/
* {
    box-sizing: border-box;
}

section {
    scroll-margin-top: 60px; 
}

html {
    scroll-behavior: smooth;
}
body{
    background-color: #91D97E;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding:0;
    font-family: Lato;
}




/*estilo del menu*/
.enlace{
    position: absolute;
    padding: 20px 20px;
}

#logo{
    width: 250px;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
}

img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.menu{
    background-color: #FFFFFF;
    height: 120px;
    width: 100%; 
    top: 0;
   position: fixed;
   z-index: 1001;
}

.menu ul {
    float: right;
    margin-top: 7px;
    margin-right: 20px;
    list-style:none;
    padding:0;
}
.menu ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

.menu ul a {
  display:block;
  color:rgb(0, 0, 0);
  font-size: 18px;
  text-transform: uppercase;
  text-decoration:none;
  padding:10px;
  letter-spacing:1px;
}

.menu ul li {
  position:relative;
  float:left;
  margin:0;
  padding:0;
}

.menu ul li:hover {
  background:#648C58;
  transition: 0.5s;
}

/* Oculta el menú en pantallas pequeñas */
.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1em;
}

.menu-items li {
    display: inline;
}

.menu-items a {
    color: #FFFFFF;
    text-decoration: none;
}

/* Estilos para el botón del menú de hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 1em;
    right: 1em;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #58A633;
    margin: 6px 0;
}

/* Mostrar el botón de hamburguesa en pantallas pequeñas */
@media (max-width: 768px) {
    .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right:1;
        background-color: #648C58;
        width: 100%;
        text-align: center;
    }

    .menu-items.active {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }
}

/*estilo para seccion 0*/

.carousel1 {
    position: relative;
    background-color: #648C58;
    width: 100%;
    height: 550px; 
    top: 60px;
    overflow: hidden;
    border-radius: 0;

}

.carousel1-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: right;
    color: #FFFFFF;
    z-index: 1;
    font-family: Lato;
}
.carousel1 h2{
    font-size: 35px;
    font-weight: bold;
    color: #0D0D0D;
    font-family: Poppins;
}

.carousel1 p{
    font-size: 16px;
    font-family: Lato;
    color: #FFFFFF;
    font-weight: bold;
}

.carousel1-content h2, .carousel1-content p {
    margin: 0;
}

.carousel1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/imagen1.jpeg'); /* Imagen inicial */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    animation: slide 15s infinite; /* Duración de la animación y repetición infinita */
}

@keyframes slide {
    0% { background-image: url('images/imagen1.jpeg'); }
    33% { background-image: url('images/imagen4.jpeg'); }
    66% { background-image: url('images/imagen3.jpeg'); }
    100% { background-image: url('images/imagen2.jpeg'); }
}

.whatsapp-button {
    display: inline-block;
    margin-top: 15px;
    margin-left: 100px;
    background-color: #648C58; 
    color: #0D0D0D;
    padding: 0.5em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    font-family: Poppins;
    font-weight: bold;
    
}

.whatsapp-button:hover {
    background-color: #1DA851; /* Color verde oscuro de WhatsApp */
}


/*seccion about us*/
.about-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    height: 520px;
    max-width: 1200px;
    width: 100%;
}

.about-logo {
    flex: 2;
    display: flex;
    justify-content: center;
}

.about-logo img {
    max-width: 400px; 
    height: auto;
}

.about-divider {
    width: 2px;
    height: 300px; 
    background-color: #648C58; 
    margin: 0 60px; 
}

.about-text {
    flex: 3;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 20px; 
    font-family: Poppins;
    color: #0D0D0D;
}

.about-text p {
    font-size: 14px; 
    font-family: Poppins;
    color: #0D0D0D; 
    line-height: 1.4; 
    text-align: justify;
}



/* Sección de qué hacemos */
.whatwdo-container {
   /* background-color: #58A633;*/
    background-image: url(images/pb3.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    height: 520px;
    max-width: 100%;
    width: 100%;
}

.container {
    max-width: 1140px; /* Ajusta el ancho máximo del contenedor */
    margin: 0 auto;
}

.row {
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

.col-md-4, .col-md-8 {
    flex: 1; /* Permite que los elementos crezcan según el espacio disponible */
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 300px; /* Ajusta según sea necesario */
    border-radius: 5px; /* Agrega bordes redondeados si deseas */
}

.service-item {
    border: 1px solid #86df86;
    padding: 15px;
    font-family: Poppins;
    font-size: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    display: block;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.description {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: #0D0D0D;
    line-height: 1.3;
}

.title2 {
    color: #0D0D0D;
    font-size: 23px;
    font-family: Poppins;
    margin-bottom: 20px;
    text-align: center;
}

/* Asegura que el contenedor de la columna no se estire más allá de su tamaño deseado */
.col-md-4, .col-md-8 {
    max-width: 100%; /* Previene que las columnas se estiren más allá del contenedor */
}

/* Estilos para la sección de servicios */
@media (max-width: 767px) {
    .carousel-item img {
        height: 200px; /* Ajusta para pantallas más pequeñas */
    }
}




    
  
/* Estilos para la sección de contacto */

.whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
  }
  

#contact {
    padding: 2em 1em;
    background-color: #F5F5F5; /* Color de fondo claro */
    color: #0D0D0D;
    text-align: center;
}

#contact h2 {
    margin-bottom: 1em;
}

.contact-info{
    background-color: #FFFFFF;
    padding: 2em;
    gap: 1em;
    margin-bottom: 2em;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin: 0.5em 0;
    font-family: Poppins;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.contact-info i {
    color: #648C58; /* Color de iconos */
    margin-right: 0.5em;
}

.contact-info a {
    color: #0D0D0D;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 100%;
    margin: 0;
    background-color: #ffffff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin: 0.5em 0 0.2em;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}

.contact-form button {
    background-color: #58A633; /* Verde medio*/
    color: #FFFFFF;
    border: none;
    padding: 0.8em 2em;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #91D97E; /* Verde claro */
}




/*estilo del footer*/

footer {
    color: #ffffff;
    background-color: #0D0D0D; 
    padding: 2em 1em;
    text-align: center;
}

.footer-main {
    margin-bottom: 1em;
    font-size: 12px; 
}

.footer-message {
    font-size: 1.2em;
    font-family: Poppins;
    margin: 0;
}
.footer-certi{
    font-size: 11px;
    font-weight: 600;
    font-family: Quicksand;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #ffffff; 
    padding-top: 1em;
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
    font-family: Lato;
    font-weight: 700;
    text-transform: uppercase;    
    font-size: 11px;

}
