@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto+sans', sans-serif;
}

header {
    background-color: #fff;
}

/* Barra Superior */
.top-bar {
    max-width: 1200px;
    margin: 0 auto; /* Centra la barra */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}

.contact-btn a {
    background-color: #25a182;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* Menú de Navegación */
nav {
    width: 100%;
    margin: 0 auto; 
    background-color: #25a182;
    padding: 15px 0;
    height: 60px;
    font-family: 'Noto+sans', sans-serif;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    font-size: 25px;
    font-family: 'Noto+sans', sans-serif;

}

nav ul li {
    margin: 0 15px;
}

nav a:hover{
    border-bottom: 2px solid rgb(255, 255, 255); 
    padding-bottom: 1px; 
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none; /* Ocultamos el ícono del menú hamburguesa por defecto */
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    color: white;
    text-align: center; /* Centra el texto dentro del botón */
    border-radius: 10px;
    margin-bottom: 20px;
}

.nav-menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}
@media (max-width: 900px) {
    .top-bar{
        height: 130px;
    }
}


/* Ocultar el menú en pantallas pequeñas */
@media (max-width: 800px) {
    .top-bar{
        height: 130px;
    }

    .logo img {
        width: 100px;
        height: auto;
        margin-right: 10px;
    }

    .contact-btn a {
        background-color: #25a182;
        color: white;
        padding: 10px 20px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: bold;
        margin-top: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column; /* Cambia a fila horizontal */
        justify-content: space-around; /* Distribuye los botones equitativamente */
        background-color: #25a182;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 10; /* Asegura que el menú esté por encima del contenido */
        overflow: hidden;
    }

    /* Mostrar el menú cuando tenga la clase 'active' */
    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    #toggle-menu {
        display: block;
        background-color: #0fba98; 
        color: #000000; 
        border: none; 
        padding: 3px 3px; 
        cursor: pointer; 
        border-radius: 5px; 
        text-align: center;
        font-size: 20px;
        margin: 0 auto;
        margin-left: 40%;
        margin-right: 40%;
    }

    
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

  
    .nav-menu li {
        list-style: none;
        margin: 0 3px; /* Ajusta los márgenes entre botones */
    }
    
    .nav-menu a {
        text-align: center;
        display: block;
        padding: 10px 20px; /* Ajusta el tamaño del área clicable */
        color: white;
        text-decoration: none;
    }
}


/*----------------------------------- Carrusel --------------------------------------------------------------*/
.carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero {
    position: absolute;
    top: 0;
    right: 100%; 
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    z-index: 1;
}

.hero.active {
    left: 0;
    z-index: 2;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    background-color: #fff;
    color: #00aa44;
}

.read-more {
    background-color: #25a182;
    color: white;
}

.read-more:hover {
    background-color: #009624;
    border: 2px solid white;
}


.get-in-touch {
    border: 2px solid white;
}

.get-in-touch:hover {
   border: 2px solid #00aa44;
}


/* Responsivo */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 1000px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 900px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }
}

@media screen and (max-width: 780px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .read-more {
      margin-left: 20%;
      margin-right: 20%;

    }

    .get-in-touch {
        margin-left: 20%;
        margin-right: 20%;
  
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 570px) {
    .hero h1 {
        font-size: 1.2em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .btn {
        padding: 10px 20px;
    }
}


/*-----------------------------------------------------------CONOCENOS PAG SEC--------------------------------------------------*/

.text-section1 {
    flex: 1;
    padding: 20px;
}

.text-section1 p {
    font-size: 23px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}




/*-----------------------------------------------------------nosotros principal pag--------------------------------------------------*/

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0;
    padding: 0;
  }
  
  .content {
    flex: 2;
   
  }
  
  .content-formu {
    flex: 1;
  }

  .content-servi{
    flex: 1;
  }


/*-----------------------------------------------------------servicios seg pag--------------------------------------------------*/
 .titulo{
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    margin-top: 70px;
 }

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 70px;
    max-width: 1200px;  
    margin: 0 auto;    
    margin-top: 70px;
}

.grid-item {
    padding: 0; /* Sin margen ni padding en los elementos */
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 250px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Asegura que la imagen se recorte para ajustarse al contenedor */
    border-radius: 10px;
}

.grid-item h2 {
    margin: 10px 0;
    font-size: 25px;
}

.grid-item p {
    color: #666;
    padding: 0 10px;
    font-size: 20px; /* Espacio interno para que el texto no toque los bordes */
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Mostrar 2 imágenes por fila en pantallas medianas */
    }
}

@media (max-width: 800px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr); /* Mostrar 1 imagen por fila en pantallas pequeñas */
    }
}






/*-----------------------------------------------------------formu--------------------------------------------------*/


  .form_wrap{
    width: 1050px;
    height: 530px;
    margin: 50px auto;
    display: flex;
    margin-top: 150px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Informacion de Contacto*/
  
  .cantact_info::before{
    content: '';
    width: 100%;
    height: 100%;
  
    position: absolute;
    top: 0;
    left: 0;
  
    background: #25a182;
    opacity: 0.9;
  }
  
  .cantact_info{
    width: 38%;
    position: relative;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    background-image: url('../fondo.jpg');
    background-size: cover;
    background-position: center center;
  
  }
  
  .info_title,
  .info_items{
      position: relative;
      z-index: 2;
      color: #fff;
  }
  
  .info_title{
      margin-bottom: 60px;
  }
  
  .info_title span{
      font-size: 100px;
      display: block;
      text-align: center;
      margin-bottom: 15px;
  }
  
  .info_title h2{
      font-size: 35px;
      text-align: center;
  }
  
  .info_items p{
      display: flex;
      align-items: center;
  
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
  }
  
  .info_items p:nth-child(1) span{
      font-size: 30px;
      margin-right: 10px;
  }
  
  .info_items p:nth-child(2) span{
      font-size: 50px;
      margin-right: 15px;
      margin-left: 4px;
  }
  
  /* Formulario de contacto*/
  form.form_contact{
    width: 62%;
    padding: 30px 40px;
  }
  
  form.form_contact h2{
  font-size: 25px;
  font-weight: 600;
  color: #303030;
  margin-bottom: 30px;
  }
  
  form.form_contact .user_info{
    display: flex;
    flex-direction: column;
  }
  
  form.form_contact label{
    font-weight: 600;
  }
  
  form.form_contact input,
  form.form_contact textarea{
    width: 100%;
    padding: 8px 0px 5px;
    margin-bottom: 20px;
  
    border: none;
    border-bottom: 2px solid #D1D1D1;
  
    font-family: 'Open sans';
  color: #5A5A5A;
  font-size: 14px;
  font-weight: 400;
  }
  
  form.form_contact textarea{
    max-width: 100%;
    min-width: 100%;
    max-height: 90px;
  }
  
  form.form_contact input[type="submit"]{
    width: 180px;
  background: #25a182;
  padding: 10px;
  border: none;
  border-radius: 25px;
  
    align-self: flex-end;
  
    color: #fff;
  font-family: 'Open sans';
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  }
  
  form.form_contact input[type="submit"]:hover{
    background: #0d5342;
  }
  
  /* Ventana de errores*/
  .modal_wrap{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
  
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
  
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mensaje_modal{
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
    width: 400px;
    padding: 30px 20px 15px;
  }
  
  .mensaje_modal h3{
    text-align: center;
    font-family: 'Ubuntu';
  font-size: 20px;
  font-weight: 400;
  }
  
  .mensaje_modal h3:after{
    content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #C5C5C5;
  margin: 10px 0px 15px;
  }
  
  .mensaje_modal p{
    font-size: 16px;
    color: #606060;
  }
  
  .mensaje_modal p:before{
    content: "\f00d";
    font-family: FontAwesome;
    display: inline-block;
    color: #E25151;
    margin-right: 8px;
  }
  
  #btnClose{
    display: inline-block;
  padding: 3px 10px;
  margin-top: 10px;
  
  background: #E25151;
  color: #fff;
  border: 2px solid #B14141;
  cursor: pointer;
  
  float: right;
  }
  
  @media screen and (max-width: 1100px) {
    .form_wrap {
      width: 90%;
      margin-top: 100px; /* Ajusta el margen según tus necesidades */
      height: 80%;
      flex-direction: column;
    }
  
    .cantact_info {
      width: 100%;
      padding-bottom: 30px;
      order: 2; /* Cambia el orden para que el formulario aparezca después en dispositivos de menos de 1100px de ancho */
    }
  
    form.form_contact {
      width: 100%;
      padding: 20px;
    }
  }

/*-----------------------------------------------------------nosotros principal pag--------------------------------------------------*/

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    padding-top: 100px;
}

.text-section {
    flex: 1;
    padding: 20px;
}

.text-section h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.read-more1 {
    display: inline-block;
    background-color: #25a182;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.read-more1:hover {
    background-color: #009624;
}

.image-section {
    flex: 1;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .image-section {
        margin-top: 20px;
    }
}

/*-----------------------------------------------------------servicios y contacto pag principal--------------------------------------------------*/
#Servicoosempresa {
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    margin-top: 50px;
    margin-left: 20%;
    margin-right: 20%;
}

#Servicoosempresa h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 40px;

}


.servicos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.infomacion {
    width: calc(50% - 20px); 
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
}

.infomacion:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to top, rgb(11, 171, 136), white);
}

.read-more2 {
    display: inline-block;
    background-color: #25a182;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.read-more2:hover {
    background-color: #009624;
}

.infomacion img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.infomacion i {
    font-size: 40px;
    color: #333;
    margin-bottom: 10px;
}

.infomacion h2 {
    font-size: 30px;
    margin: 10px 0;
}

.infomacion p {
    font-size: 24px;
    margin: 10px 0;
}

/* Media Queries */
@media (max-width: 870px) {
    .infomacion {
        width: 100%;
    }
}


/*-----------------------------------------------------------footer--------------------------------------------------*/

.footer {
    background-color: #25a182;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 70px;
}

.footer h2 {
    margin: 0 0 10px;
}

.socials {
    list-style: none;
    padding: 0;
}

.socials li {
    display: inline;
    margin: 0 10px;
}

.socials a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: #21a1f1;
}

.footer p {
    margin: 10px 0 0;
    font-size: 14px;
}


/*-----------------------------------------------------------WSP--------------------------------------------------*/
#whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    animation: shake 5s infinite;
  }

#whatsapp a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}


#whatsapp svg {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

#whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}
circle {
    fill: #25d366;
}

path {
    fill: #fff;
}