* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
  }
  
  body{
    background-color: #FBFFE4;
  }
  
  .cont404{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #3D8D7A;
  }

  .cont404 h1{
    margin-top: 50px;
    margin-bottom: -60px;
  }

  .cont404 img{
    width: 30%;
    height: auto;
  }
  
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  li {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: #FBFFE4;
  }
  
  nav {
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FBFFE4;
    z-index: 10;
    position: relative;
  }
  
  nav .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    cursor: pointer;
  }
  
  nav .logo img {
    margin-left: 20px;
  }
  
  .logo-mobile{
    display: none;
  }
  
  .logo-dekstop{
    display: block;
  }
  
  
  
  nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
  }
  
  nav ul li {
    margin-left: 1.5rem;
  }
  
  nav ul li a {
    position: relative;
    color: #3D8D7A;
    font-size: 18px;
    font-weight: 400;
    padding: 4px 8px;
    transition: all 0.3s;
  }
  
  nav ul li a:hover {
    color: #B3D8A8;  
  }
  
  .hamburger {
    position: absolute;
    right: 20px;
    display: none;
    cursor: pointer;
    background-color: #FBFFE4;
  }
  
  .hamburger .line {
    width: 25px;
    height: 2px;
    background-color: #3D8D7A;
    display: block;
    margin: 7px auto;
    transition: all 0.4s;
  }
  
  .hamburger-active {
    transition: all 0.4s;
    transition-delay: 0.4s;
    transform: rotate(45deg);
  }
  
  .hamburger-active .line:nth-child(2) {
    width: 0px;
  }
  
  .hamburger-active .line:nth-child(1),
  .hamburger-active .line:nth-child(3) {
    transition-delay: 0.2s;
  }
  
  .hamburger-active .line:nth-child(1) {
    transform: translateY(13px);
  }
  
  .hamburger-active .line:nth-child(3) {
    transform: translateY(-5px) rotate(90deg);
  }
  
  .menubar {
    position: fixed;
    top: -100%;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #B3D8A8;
    transition: top 0.6s;
    z-index: 5;
  }
  
  .menubar.active {
    top: 10%;
  }
  
  .menubar ul {
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menubar ul li {
    width: 50%;
    margin-bottom: 32px;
    border: 2px solid #FBFFE4;
    border-radius: 10px;
    display: flex;
    justify-content: center;
  }
  
  .menubar ul li a {
    width: 100%;
    color: #FBFFE4;
    font-size: 24px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
  }
  
  .menubar ul li a:hover {
    background-color: #FBFFE4;
    color: black;
  }
  
  .header {
    position: static;
    top: 0;
    width: 100%;
    z-index: 10;
  }
  
  .contHome {
    background-color: #FBFFE4;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  
  .infoHome {
    background-color: #FBFFE4;
    flex-wrap: wrap;
    width: 100%;
    min-height: 80vh;
  }
  
  .imgHome {
    display: flex;
    justify-content: center;
    width: 50%;
  }
  
  .imgHome2 {
    width: 80%;
  height: auto;
  
  }
  
  
  
  
  .titlesHome {
    flex-direction: column;
    text-align: center;
    width: 50%;
  }
  
  .contTitlesHome {
    flex-direction: column;
  }
  
  .titleHome {
    color:#3D8D7A;
    font-size:50px;
    font-weight: 500;
    text-align: left;
    width: 70%;
    margin-top: 20px;
  }
  
  .subtitleHome {
    font-size: 30px;
    font-weight: 600;
    width: 70%;
    text-align: left;
    color: #88c0b4;
  }
  
  .btn, .btnVerServicios {
    margin-top: 30px;
    padding: 15px;
    background-color: #ffffff;
    color: #3D8D7A;
    font-size: 20px;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid #3D8D7A;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }

  .btnVerServicios{
    margin-bottom: 30px     ;
  }
  .btn:hover, .btnVerServicios:hover{
    background-color: #88c0b4;
    color: #FBFFE4;
   
  }
  
  .btnDown{
    padding: 20px;
  }
  
  .contServicios {
    background-color: #FBFFE4;
    flex-direction: column;
    overflow: hidden;
  }
  
  .contCards {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .cardServicio {
    border: 2px solid #3D8D7A;
    color: #3D8D7A;
    flex-direction: column;
    background-color: #d1e8ca;
    width: 20%;
    border-radius: 25px;
    margin: 10px 0px 5em 0px;
    padding: 15px;
    text-align: center;
    transition: background-color 0.3s; 
  }
  
  .cardServicio h2,h4{
    margin-bottom: 10px ;
  }
  
  .cardServicio:hover{
    background-color: #B3D8A8;
    
  }
  
  .cardServicio img {
    max-width: 80%;
  }
  
  .titleServicio {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
    margin-top: 2em;
  }
  
  .titleServicio h2{
    font-weight: 300;
    color: #3D8D7A;
  }
  
  .footer {
    border-top: solid #3D8D7A 2px;
    border-radius: 3% ;
    background-color: #FBFFE4;
    color: #3D8D7A;
    padding: 40px 20px;
    font-family: "Poppins", sans-serif;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px 20px;
  }
  
  .footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .footer-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .footer-links,
  .footer-contact {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li,
  .footer-contact li {
    margin-bottom: 10px;
  }
  
  .footer-links a,
  .footer-contact a {
    color: #3D8D7A;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #B3D8A8;
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
  }
  
  .footer-social a {
    color: #3D8D7A;
    font-size: 30px;
    transition: color 0.3s;
  }
  
  .footer-social a:hover {
    color: #B3D8A8;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 10px;
    font-size: 14px;
  }
  
  .logoFooter{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .logoFooter p{
    width: 100%;
  }
  
  .btn-wsp {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
  }
  
  .btn-wsp a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #3D8D7A; /* Color de WhatsApp */
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .btn-wsp a:hover {
    background-color: #25d366; /* Color de WhatsApp al pasar el mouse */
    transform: scale(1.05);
  }
  
  .whatsapp-button i {
    font-size: 36px;
    color: #fff; /* Color del ícono */
  }
  
  @media screen and (max-width: 1024px) {
    .cardServicio {
      width: 40%;
    }
  }
  
  @media screen and (max-width: 790px) {
  
    .header{
      position: sticky;
    }
  
    nav{
      box-shadow: 0px 9px 30px -26px rgba(66, 68, 90, 1);
  
    }
  
    .logo-mobile {
      display: block; /* Muestra el logo móvil en pantallas pequeñas */
    }
  
    .logo-desktop {
      display: none; /* Oculta el logo de escritorio en pantallas pequeñas */
    }
      
    .hamburger {
      display: block;
      border: none;
    }
  
    .btn{
      margin: 0px;
    }
    
    nav ul {
      display: none;
    }
    
    .imgHome{
        width: 70%;
    }
    
    .imgHome img {
    width: 100%;
}
  
    .cardServicio {
      width: 55%;
    }
  
    .contTitlesHome {
      text-align: center;
      width: 90%;
      margin: 30px;
    }
  
    .titlesHome {
      width: 100%;
    }
  
    .titleHome {
      width: 90%;
      line-height:1.2;
      font-size: 40px;
      margin-bottom: 20px;
      text-align: center;
     }
  
     .subtitleHome{
      text-align: center;
      font-weight: 400;
     }
  
    .infoHome {
      align-content: center;
    }
  
    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-section {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 20px 0;
    }
  
    .footer-description{
      width: 70%;
    }
  
  }