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

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f4f4;
}

header {
  background-color: #f4f4f4; /*#273181; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 40px;
}


















.banner-container {
    margin-top: 80px; /* Espacio de 80px arriba del banner */
    display: flex;
    align-items: center;
    background: url('https://i.postimg.cc/nrkSx9yy/img-center-boedo-salud-white.jpg') no-repeat center center/cover;
    height: 75vh;
    padding: 20px;
    color: #273181;
    position: relative;
}

.banner-left {
    flex: 1;
    margin-right: 20px;
}

.banner-left h1 {
    font-size: 40px; /* Título más grande en dispositivos móviles */
    margin: 0;
    color: #5c686a;
}

.banner-left .separator {
    width: 50%;
    height: 2px;
    background-color: #5c686a;
    margin: 10px 0;
}

.banner-left p {
    font-size: 25px;
    margin: 0;
    color: #5c686a;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.6); /* Transparente */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 90%; /* Ancho del formulario ajustado */
    width: auto; /* Asegura el ancho del contenido */
    margin-top: 20px; /* Separación del banner */
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    padding: 10px;
    background-color: #76a5bc; /* Fondo oscuro */
    border: 1px solid #76a5bc;
    border-radius: 5px;
    font-size: 1rem;
    color: white; /* Texto blanco */
    transition: all 0.3s ease;
}

.form-group input:focus {
    background-color: #76a5bc; /* Fondo azul claro al hacer clic */
    border-color: #5c686a;
    outline: none;
    color: #273181;
}

.form-group .captcha {
    font-size: 1rem;
    font-weight: bold;
    color: #5c686a; /* Cambia el color a azul */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: transparent; /* Sin relleno inicialmente */
    color: #5c686a; /* Texto azul */
    border: 2px solid #76a5bc; /* Borde azul */
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease; /* Animación suave para el cambio de estilo */
}

.form-container button:hover,
.form-container button:focus {
    background-color: #76a5bc; /* Relleno azul al pasar el mouse o enfocar */
    color: white; /* Texto blanco */
    border-color: #76a5bc; /* Asegura que el borde coincida */
}

.form-container button:active {
    background-color: #1c245f; /* Relleno azul más oscuro al hacer clic */
    color: white; /* Texto blanco */
    border-color: #1c245f; /* Borde más oscuro */
}

.form-group input::placeholder {
    color: white; /* Cambia el color del placeholder a blanco */
}

/* Responsive */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column; /* Ajuste para celular */
        height: auto; /* Banner más alto en dispositivos móviles */
    }
    .banner-left {
        margin-bottom: 20px;
        text-align: center;
    }
    .banner-left h1 {
        font-size: 28px; /* Título más adecuado para pantallas pequeñas */
    }
    .banner-left .separator {
        width: 50%;
        margin: 10px auto; /* Línea centrada */
    }
}






/* beneficios*/
.main-wrapper {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 20%;
            background-color: #f4f4f4;
        }

        .benefits-title {
            font-size: 3.3rem;
            color: #5c686a;
            margin-bottom: -10px;
            width: 10%;
            position: absolute;
            top: 20%;
            left: 1%;
        }

         .benefits-title-2 {
            font-size: 3.3rem;
            color: #5c686a;
            margin-bottom: -10px;
            width: 10%;
            position: absolute;
            top: 10%;
            left: 1%;
        }

         .benefits-title-3 {
            font-size: 3.3rem;
            color: #5c686a;
            margin-bottom: -10px;
            width: 10%;
            position: absolute;
            top: -1%;
            left: 0%;
        }
       

        .container {
            position: relative;
            text-align: center;
            width: 80%;
            margin-top: 15%;
        }

        .grid {
            position: relative;
            width: 100%;
            height: 400px;
        }

        .block {
            position: absolute;
            background-color: #76a5bc;
            color: white;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .block i {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .block-1 {
            width: 50%;
            height: 25%;
            top: -20%;
            left: 45%;
        }

        .block-2 {
            width: 24%;
            height: 25%;
            top: 10%;
            left: 45%;
        }

        .block-3 {
            width: 24%;
            height: 25%;
            top: 10%;
            left: 71%;
        }

        .block-4 {
            width: 69%;
            height: 25%;
            top: 38%;
        }

        .block-5 {
            width: 24%;
            height: 25%;
            top: 38%;
            left: 71%;
        }

        .block-6 {
            width: 43%;
            height: 38%;
            top: 66%;
            left: 52%;
        }

        .block-7 {
            width: 24%;
            height: 38%;
            top: 66%;
            left: 26%;
        }

        .block-8 {
            width: 24%;
            height: 38%;
            top: 66%;
        }

        @media (max-width: 926px) {
            .container {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                width: 80%;
              margin-top: 150px;
            }

            .benefits-title {
                font-size: 3rem;
                color: #202a6b;
                top: -5%;
                left: 1%;
                width: 100%;
            }
           .benefits-title-2 {
                font-size: 3rem;
                color: #202a6b;
                top: -15%;
                left: 1%;
                width: 100%;
            }
           .benefits-title-3 {
                font-size: 3rem;
                color: #202a6b;
                top: -25%;
                left: 1%;
                width: 100%;
            }

            .block-1 {
                width: 45%;
                height: 30%;
                top: 25%;
                left: 5%;
            }

            .block-2 {
                width: 45%;
                height: 30%;
                top: 25%;
                left: 52%;
            }

            .block-3 {
                width: 92%;
                height: 30%;
                top: 105%;
                left: 5%;
            }

            .block-4 {
                width: 92%;
                height: 40%;
                top: 60%;
                left: 5%;
            }

            .block-5 {
                width: 43%;
                height: 40%;
                top: 185%;
                left: 52%;
            }

            .block-6 {
                width: 92%;
                height: 40%;
                top: 140%;
                left: 5%;
            }

            .block-7 {
                width: 45%;
                height: 40%;
                top: 185%;
                left: 5%;
            }

            .block-8 {
                width: 92%;
                height: 30%;
                top: 230%;
                left: 5%;
            }    
        }















.container-3 {
            width: 100%;
            margin: auto;
            padding: 0 15px;
  background-color: #76a5bc;
  margin-top: 120px;
        } 

        .titulo-carrousel {
            text-align: center;
             padding: 50px 15px 0 15px; 
          color: white;
        }
        .carousel-container {
            position: relative;
            overflow: hidden;
            width: 100%;
            margin: 20px 0;
        }
        .carousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
            padding: 10px 0;
        }
        .plan-card {
            background-color: white;
            color: #273181;
            padding: 10px;
            text-align: center;
            border-radius: 8px;
            margin: 0 10px;
            flex: 0 0 calc(100% / 3 - 20px);
            box-sizing: border-box;
        }
        @media (max-width: 926px) {
          .container-3 {
            max-width: 1200px;
            margin: auto;
            padding: 0 15px;
  background-color: #273181;
  margin-top: 720px;
        } 
      } 
          
        @media (max-width: 768px) {

            .plan-card {
                flex: 0 0 90%;
               margin: 20px;
            }
        }
        .plan-card img {
            width: 90%;
            height: auto;
            border-radius: 8px;
        }
        .plan-card p {
            margin: 10px 0 0;
            font-weight: bold;
        }
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            cursor: pointer;
            z-index: 10;
        }
        .arrow.left {
            left: 10px;
        }
        .arrow.right {
            right: 10px;
        }












/*encontranmos en LOMAS DE ZAMORA */
 .container-4 {
            width: 90%;
            margin: 0 auto;
        }
        .header {
            text-align: center;
            color: #5c686a;
            font-size: 40px;
            font-weight: bold;
            margin-top: 50px;
            margin-bottom: 50px; /* Añadido margen inferior */
        }
        .subheader {
            text-align: center;
            color: #5c686a;
            font-size: 22px;
            font-weight: 600;
            margin-top: 10px;
            margin-bottom: 30px;
        }
        .divider {
            width: 60%;
            border-top: 3px solid #5c686a;
            
            margin-bottom: 30px;
        }
        .content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
        }
        .map-container {
            width: 100%;
            max-width: 500px; /* Limitar el ancho máximo del mapa */
            height: 250px; /* Mapa más pequeño */
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
            margin-bottom: 30px;
        }
        .text-info {
            width: 100%;
            font-size: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-left: 20px;
            margin-top: 20px; /* Desplazar el texto un poco hacia abajo */
        }
        .text-info div {
            margin-bottom: 15px;
            font-weight: 600;
        }
        .text-info .address {
            color: #5c686a;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            font-size: 16px;
            color: #555;
        }

        /* Responsive design */
        @media (min-width: 768px) {
            .content {
                flex-wrap: nowrap;
            }
            .map-container {
                width: 55%;
                height: 350px; /* Mapa un poco más grande en pantallas más grandes */
            }
            .text-info {
                width: 40%; /* Ajuste del texto para que no quede tan estrecho */
                margin-top: 40px; /* Desplazar más hacia abajo en pantallas grandes */
            }
        }














  /* Bloque contenedor principal */
  .bloque-contenedor {
    width: 100%;
    background-color: #76a5bc;
    color: white;
    padding: 20px 10px;
    text-align: center;
  }

  .bloque-contenedor h1 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  /* Contenedor de botones específico */
  .bloque-contenedor .boton-container {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .bloque-contenedor .boton-boedo {
    width: 200px;
    height: 200px;
    margin: 20px;
    border: none;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e46d95;
  }

  .bloque-contenedor .boton-boedo:nth-child(1) {
    background-color: #e46d95; /* Rosa */
  }

  .bloque-contenedor .boton-boedo:nth-child(2) {
    background-color: #fff; /* Naranja */
  }

  .bloque-contenedor .boton-boedo:nth-child(3) {
    background-color: #ff6e5c; 
  }

  .bloque-contenedor .boton-boedo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
  }

  .bloque-contenedor .boton-boedo:hover {
    transform: scale(1.2);
  }

  /* Responsividad */
  @media (max-width: 600px) {
    .bloque-contenedor {
      padding: 10px;
    }

    .bloque-contenedor h1 {
      font-size: 30px;
    }

    .bloque-contenedor .boton-container {
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }

    .bloque-contenedor .boton-boedo {
     width: 220px; /* Ajusta el ancho en móvil */
      height: auto;
      margin: 10px 0;
      aspect-ratio: 1; /* Mantiene la proporción cuadrada */
    }
  }






 /* Estilos para el footer */
   footer {
            font-family: Arial, sans-serif;
        }

        /* Primer div dentro del footer */
        .footer-white {
             background-color: #76a5bc;
      color: white;
      text-align: center;
      padding: 20px;
      font-family: Arial, sans-serif;
      width: 100%;
      box-sizing: border-box;
      position: relative;
      bottom: 0;
      margin-top: 50px;
        }
      
   .footer-white .bold {
    font-weight: bold;
}

.footer-white .p {
    margin: 5px 0;
}

.footer-white .small-text {
    font-size: 12px; /* Hace el texto más pequeño */
}


        /* Segundo div dentro del footer */
        .footer-dark {
            background-color: #222222;
            color: #b6b5b3;
            text-align: center;
            padding: 20px 0;
            font-size: 14px;
        }
        .footer-dark a {
            color: #dfdfdf;
            text-decoration: none;
        }
        .footer-dark a:hover {
            text-decoration: underline;
        }