/* Estilo para la sección de bienvenida */
.welcome-section {
  position: relative;
  background-color: #0d4f76; /* Fondo azul */
  padding: 60px 20px;
  background-image: url("assets/img/Fondo_img_2.png"); /* Imagen de fondo */
  background-size: cover;
  background-position: center;
}

/* Overlay para superponer el color */
.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 64, 107, 0.6); /* Color semi-transparente */
  z-index: 1;
}

.welcome-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Elevar el contenido por encima del overlay */
}

/* Estilo de la imagen de bienvenida */
.welcome-image img {
  width: 631px;
  height: 589px;
  border-radius: 0px; /* Remover el borde redondeado */
  box-shadow: none; /* Remover la sombra si está presente */
  margin-right: 40px; /* Ajustar el margen según sea necesario */
}

/* Estilo para el texto */
.welcome-text {
  max-width: 600px;
  color: #ffffff;
  text-align: left;
}

.welcome-text h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.welcome-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.welcome-text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* Botones de la bienvenida */
.welcome-buttons {
  display: flex;
  gap: 20px;
}

.welcome-buttons .btn-therapy {
  background-color: #64b9ff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.welcome-buttons .btn-therapy:hover {
  background-color: #00406b;
}

/* Botón de Material de apoyo con fondo transparente */
.welcome-buttons .btn-support {
  background-color: transparent; /* Cambiar a transparente */
  border: 2px solid #64b9ff; /* Agregar un borde azul */
  color: #64b9ff; /* Color del texto */
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.welcome-buttons .btn-support:hover {
  background-color: #64b9ff; /* Cambiar a color sólido en hover */
  color: #ffffff; /* Cambiar el color del texto */
}

/* Formulario style */
/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

/* Contenedor del formulario */
.form-container {
  width: 100%;
  max-width: 1178px;
  background-color: #e8f4ff;
  border-radius: 15px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Estilo para los grupos dentro del formulario */
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 220px;
  margin: 10px 0;
}

/* Estilo para los títulos de los campos */
.input-title,
.input-title-none {
  font-size: 14px;
  color: #00406b;
  margin-bottom: 5px;
}

.input-title-none {
  opacity: 0;
}

/* Estilo de los campos de entrada */
.input-field {
  height: 40px;
  border: 1px solid #ccd6e0;
  border-radius: 5px;
  padding: 0 10px;
  width: 100%;
  font-size: 16px;
  color: #00406b;
}

.input-field::placeholder {
  color: #486284;
}

/* Estilo del botón */
.btn-agendar {
  height: 45px;
  width: 100%;
  max-width: 150px;
  background-color: #64b9ff;
  border: none;
  border-radius: 30px;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px; /* Aumenta el margen superior para separación */
}

.btn-agendar:hover {
  background-color: #428dcc;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

/* Separador entre los elementos */
.separator {
  height: 50px;
  width: 2px;
  background-color: #ccd6e0;
  display: none; /* Se mostrará solo en pantallas grandes */
}

/* Responsivo para pantallas medianas */
@media (max-width: 768px) {
  .form-container {
    padding: 15px;
    flex-direction: column;
    align-items: center;
  }

  .form-group {
    width: 100%;
    max-width: 300px; /* Ajuste para centrar los campos en móvil */
  }

  .input-field {
    font-size: 14px;
    height: 35px; /* Tamaño más pequeño para pantallas pequeñas */
  }

  .btn-agendar {
    font-size: 14px;
    height: 40px;
    width: 80%; /* Botón más ancho en móviles */
    max-width: 200px; /* Limitar ancho en pantallas pequeñas */
    margin: 20px 0 10px; /* Añade margen superior e inferior para mejor separación */
  }

  .separator {
    display: none;
  }
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 480px) {
  .form-container {
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }

  .form-group {
    max-width: 100%; /* Ancho completo en dispositivos móviles */
  }

  .input-title {
    font-size: 12px;
  }

  .input-field {
    font-size: 14px;
    height: 35px;
  }

  .btn-agendar {
    font-size: 14px;
    height: 40px;
    width: 80%; /* Botón más ancho en móviles */
    max-width: 200px; /* Limitar ancho en pantallas pequeñas */
    margin: 20px 0 10px; /* Añade margen superior e inferior para mejor separación */
  }
}

/*---------------------------------------------- */
/* Sección "Quién Soy" */
.about-section {
  position: relative;
  background-image: url("assets/img/Fondo_Publicidad_1.png"); /* Imagen de fondo */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  border-radius: 15px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 32px;
  color: #00406b;
  margin-bottom: 20px;
}

.highlight-text {
  color: #2179b5; /* Color específico para resaltar */
}

.about-text p {
  font-size: 16px;
  color: #486284;
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-text strong {
  color: #00406b; /* Resaltar negritas */
}

.btn-about {
  display: inline-block;
  background-color: #64b9ff;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.btn-about:hover {
  background-color: #00406b;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Sombra en hover */
}

/*--------------------------------*/
/*-----------CERTIFICADO-------------*/
.certifications-section {
  padding: 60px 20px;
  background-color: #deeefc; /* Color de fondo */
  text-align: center;
}

.certifications-title {
  font-size: 32px;
  color: #00406b;
  margin-bottom: 40px;
}

.certifications-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.certifications-column {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Espacio entre las tarjetas */
}

.certification-card {
  background: none; /* Eliminar fondo de los cuadros */
  box-shadow: none; /* Eliminar sombra */
  text-align: left;
  width: 340px;
  transition: transform 0.3s ease-in-out;
}

.certification-title {
  display: flex; /* Alinear icono y texto */
  align-items: center;
  gap: 10px; /* Espacio entre icono y título */
  margin-bottom: 10px; /* Espacio inferior */
}

.certification-icon {
  width: 40px; /* Ajuste del tamaño del icono */
  height: 40px;
}

.certification-card h3 {
  font-size: 18px;
  color: #00406b;
  margin-bottom: 10px;
}

.certification-card p {
  font-size: 14px;
  color: #00406b;
  line-height: 1.5;
}

/* Botón de certificación */
.btn-certification {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px; /* Ajuste del relleno */
  background: transparent; /* Fondo transparente */
  color: #00406b; /* Color del texto */
  border: 2px solid #00406b; /* Borde azul */
  text-decoration: none;
  border-radius: 50px; /* Bordes redondeados */
  font-size: 12px; /* Ajuste del tamaño de fuente */
  width: 94.58px; /* Ancho exacto */
  height: 25px; /* Altura exacta */
  text-align: center;
  line-height: 20px; /* Centrado vertical */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-certification:hover {
  background-color: #64b9ff; /* Fondo azul en hover */
  color: #ffffff; /* Texto blanco en hover */
}

.certification-card:hover {
  transform: translateY(-5px);
}

#modalCertificado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Asegura que esté sobre otros elementos */
}

#imgCertificado {
  max-width: 80%;
  max-height: 80%;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
}

#cerrarModal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .certifications-container {
    flex-direction: column;
    align-items: center;
  }

  .certifications-column {
    width: 90%;
  }
}

/* Estilo de footer  */
/*--------------------------------------------------- */
.footer {
  background-color: #00406b;
  color: #ffffff;
  padding: 50px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* Adaptación para pantallas pequeñas */
}

.footer-logo {
  flex: 1;
  text-align: left;
}

.footer-logo-img {
  width: 224px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-services,
.footer-information,
.footer-contact {
  flex: 1;
  margin: 0 45px;
}

.footer-contact {
  position: relative;
  top: -90px; /* Eleva el cuadro blanco sobre el footer */
  z-index: 2; /* Asegura que se superponga correctamente */
}

/* Estilo para la caja de contacto */
.footer-contact .contact-box {
  background-color: #ffffff; /* Fondo blanco */
  color: #00406b; /* Color de texto */
  width: 441px;
  height: 391px;
  padding: 20px;
  border-radius: 10px; /* Bordes redondeados */
  border: 1px solid #cccccc; /* Borde ligero para la caja */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
  margin-left: auto; /* Alinear a la derecha */
  margin-right: auto;
  text-align: center; /* Centrar el texto dentro del cuadro */
}

.footer-contact h4 {
  font-size: 24px; /* Ajuste del tamaño del título */
  margin-bottom: 20px;
  color: #00406b; /* Color para el título dentro de la caja */
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Contenedor para número de contacto con bandera */
.contact-number {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.flag-icon {
  width: 24px;
  height: 16px;
  margin-right: 10px;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  margin-top: 15px; /* Espacio superior */
}

.footer-social-icons a {
  display: inline-block;
  margin: 0 10px;
}

.footer-social-icons img {
  width: 25px;
  height: 25px;
}

.footer-services h4,
.footer-information h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-services ul,
.footer-information ul {
  list-style: none;
  padding: 0;
}

.footer-services li,
.footer-information li {
  margin-bottom: 10px;
}

.footer-services a,
.footer-information a {
  color: #ffffff;
  text-decoration: none;
}

.footer-services a:hover,
.footer-information a:hover {
  text-decoration: underline;
}

/* Contenedor del texto de derechos reservados y legales */
.footer-bottom {
  display: flex;
  justify-content: space-between; /* Alinear a los extremos */
  padding: 20px 0;
  border-top: 1px solid #ffffff; /* Línea superior */
  margin-top: 20px;
  max-width: 1200px;
  margin: 20px auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  text-align: left; /* Alinear el texto de los derechos reservados a la izquierda */
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 20px;
  text-align: right; /* Alinear el enlace de privacidad a la derecha */
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo,
  .footer-services,
  .footer-information,
  .footer-contact {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-contact .contact-box {
    width: 90%; /* Ajustar el ancho para dispositivos móviles */
    height: auto; /* Altura automática */
  }

  .footer-bottom {
    flex-direction: column; /* Cambiar a columna */
    align-items: center;
    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom a {
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .footer-contact .contact-box {
    width: 100%; /* Ancho completo en pantallas pequeñas */
    padding: 15px;
  }

  .footer-social-icons img {
    width: 20px; /* Tamaño de los íconos reducido */
    height: 20px;
  }
}

/* Estilo del modal */
.modal {
  display: none; /* Ocultar por defecto */
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro */
}

/* Contenido del modal */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 15px;
  text-align: center;
}

/* Botón de cerrar */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Imagen del certificado en el modal */
#certificadoImg {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsividad para pantallas de 768px o menos */
@media (max-width: 768px) {
  /* Ajustes generales */
  body {
    padding: 10px;
    font-size: 16px;
  }

  /* Ajuste de contenedores principales */
  .welcome-container,
  .certifications-container {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  /* Imagen de bienvenida */
  .welcome-image img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 20px;
  }

  /* Texto de bienvenida */
  .welcome-text {
    text-align: center;
    max-width: 100%;
  }

  /* Botones en la sección de bienvenida */
  .welcome-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Sección de certificaciones */
  .certifications-column {
    width: 100%;
  }

  .certification-card {
    width: 100%;
    padding: 15px;
  }

  .certifications-title {
    font-size: 24px;
  }

  /* Botones de certificaciones */
  .btn-certification {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
  }
}

/* Para pantallas aún más pequeñas (menos de 480px) */
@media (max-width: 480px) {
  .welcome-text h1 {
    font-size: 20px;
  }

  .welcome-text h2 {
    font-size: 28px;
  }

  .certifications-title {
    font-size: 20px;
  }

  .btn-certification {
    font-size: 14px;
  }
}
