
@font-face {
    font-family: 'BrittanySignature';
    src: url('fonts/BrittanySignature.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Bold';
    src: url('fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-ExtraBold';
    src: url('fonts/Raleway-ExtraBold.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-ExtraLight';
    src: url('fonts/Raleway-ExtraLight.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Heavy';
    src: url('fonts/Raleway-Heavy.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Light';
    src: url('fonts/Raleway-Light.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Medium';
    src: url('fonts/Raleway-Medium.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Regular';
    src: url('fonts/Raleway-Regular.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-SemiBold';
    src: url('fonts/Raleway-SemiBold.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Thin';
    src: url('fonts/Raleway-Thin.ttf') format('truetype');
     font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TrashHand';
    src: url('fonts/TrashHand.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}


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

body {
    
    font-family: 'Raleway-SemiBold';
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    background-image: url('../imagen/fondo1.png'); /* Cambia esto por la ruta de tu imagen */

}

/* Contenedor del horario */
.horario {
    background-color:#f7d18d;
    color: rgb(0, 0, 0);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
    font-family: 'Raleway-SemiBold';
}

/* Estilos para el contenedor de la imagen y el menú */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 80%;
    margin: 20px auto;
    padding: 0 20px;
}


/* Imagen */
.container img {
    width: 200px;
    height: auto;
}

/* Estilos para el menú */
nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Alinea los elementos del menú a la derecha */
}

nav ul li {
    margin-left: 30px; /* Espacio entre los elementos del menú */
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color:  rgb(255, 167, 1); /* Color al pasar el cursor */
}

nav ul li a.active {
    color:  rgb(0, 0, 0); /* Color para el enlace activo */
    border-bottom: 2px solid rgb(255, 167, 1); /* Línea debajo del enlace activo */
}


/* Estilos para el formulario de suscripción */
.subscription-container {
    display: flex; /* Usar flexbox para alinear los elementos */
    justify-content: space-between; /* Espaciado entre elementos */
    align-items: center; /* Alinea verticalmente los elementos */
    padding: 20px; /* Espaciado interno */
    border-radius: 10px;
    box-shadow: 0px 12px 12px rgb(214, 214, 214);
    max-width: 80%;
    margin: 40px auto; /* Centra el contenedor */
    background-image:url(imagen/Fotos2024/fondo-contacto2.png); /* Fondo opcional */
}

.text-container {
    max-width: 70%; /* Ajusta el ancho del contenedor de texto */
}

.image-container img {
    max-width: 400px; /* Ajusta el ancho de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
}


.subscription-container1 {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgb(214, 214, 214);
    max-width: 1200px; /* Aumentar el ancho máximo */
    text-align: center;
    margin: 40px auto; /* Centra el contenedor con márgenes automáticos */
    background-image: url('imagen/servicios2.jpg'); /* Cambia esto por la ruta de tu imagen */
    background-size: cover; /* Asegúrate de que la imagen cubra todo el fondo */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    padding: 40px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
}

.subscription-container h1 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 5px;
}

.subscription-container h1 span {
    color: #FFA701;
     font-family: 'TrashHand';
    font-size: 40px; /* Ajusta el tamaño según tus necesidades */
    

}
.subscription-container p {
    font-size: 16px;
    color: #000000;
    
}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Alinea todos los elementos al ancho completo */
}
form input[type="email"] {
    padding: 10px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
}

form button {
    padding: 10px 20px;
    background-color: #012b25;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}

form button:hover {
    background-color: #ffa701;
}

.checkbox-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.checkbox-container input {
    margin-right: 10px;
}

/* Estilos para el contenedor de contacto y mapa */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}


/* Inicio Estilos del mapa */
.map-container {
    flex: 1;
    margin-right: 10px;
}

.map-container iframe {
    width: 70%;
    height: 300px;
    border: 0;
}
/* Fin Estilos del mapa */



/* Inicio Estilos para el formulario de contacto */
.form-container {
    flex: 1;
    background-color: white;
    padding: 30px; /* Aumenta el espaciado interno */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra más suave */
}

form label {
    margin-bottom: 5px;  /* Espacio debajo de la etiqueta */
    font-weight: bold;   /* Hace que el texto de la etiqueta sea negrita */
    color: #000000; /* Color del texto */
}


form input,
form textarea {
    padding: 12px; /* Aumenta el padding para un área más cómoda */
    margin-bottom: 15px; /* Espacio debajo del campo */
    border: 1px solid #ccc; /* Bordes de 1 píxel con color gris claro */
    border-radius: 5px; /* Bordes redondeados */
    width: 100%; /* Ancho del campo al 100% de su contenedor */
    font-size: 16px; /* Tamaño de fuente de 16 píxeles */
    transition: border-color 0.3s; /* Transición suave en el borde */
}



form textarea {
    resize: none; /* Evita que el área de texto sea redimensionable */
}

/* Fin Estilos para el formulario de contacto */

.whatsapp-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #012b25; /* Color de WhatsApp */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.whatsapp-button:hover {
    background-color:#ffa701; /* Color más oscuro al pasar el ratón */
}
.services-container {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 0 20px;
}
/* Estilos para la sección de contacto con íconos */


h1 span {
    color: #012b25 ;
    font-family: 'BrittanySignature';
    font-size: 4rem; /* Ajusta el tamaño según tus necesidades */
}

 span {
    color: #FFA701 ;
    font-family: 'TrashHand';
    font-size: 30px; /* Ajusta el tamaño según tus necesidades */
}


/* Inicia whatsapp flotante  */
.whatsapp-float {
    position: fixed; /* Permite que el ícono permanezca en la misma posición al hacer scroll */
    bottom: 20px; /* Distancia desde el fondo de la ventana */
    right: 20px; /* Distancia desde la derecha de la ventana */
    z-index: 1000; /* Asegura que esté encima de otros elementos */
}

.whatsapp-float img {
    width: 60px; /* Ajusta el tamaño del ícono */
    height: auto; /* Mantiene la proporción */
    border-radius: 50%; /* Opcional: para darle un efecto redondeado */
}

/* Termina whatsapp flotante  */



.contenedor-informacio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 0; /* Ajuste para evitar desbordamiento */
}

.social-media img {
    width: 25px;
    height: 25px;
    margin: 0 5px; /* Espaciado entre los iconos si es necesario */
}

.contact-info{
    display: flex ;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}


.social-media h3 {
    font-size: 14px;
    color: #000000;
    margin-bottom: 0px;
}

  .contact-item {
    text-align: center;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .contact-item h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .contact-item p {
    font-size: 15px;
    margin: 0;
    color: #000000;
  }
  
  /* Estilo para las secciones de pie de página */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f1f1; /* Fondo más claro */
    padding: 20px; /* Aumento del padding */
  }
  
  .footer p {
    margin: 0;
    font-size: 14px; /* Aumento del tamaño de fuente */
  }

  /* Estilos del chatbot */
        
  .chatbot {
    display: none; /* Oculta el chat por defecto */
    position: fixed;
    bottom: 85px; /* Ajusta según tus necesidades */
    right: 0px;
    width: 255px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background-color: #25D366;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-body {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-message {
    margin: 5px 0;
    padding: 8px;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background-color: #eefae3;
    align-self: flex-end;
}

.bot-message {
    background-color: #e8e8e8;
    align-self: flex-start;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ccc;
}

.chat-input input {
    border: none;
    padding: 10px;
    flex: 1;
    border-bottom-left-radius: 10px;
    outline: none;
}

.chat-input button {
    padding: 10px;
    border: none;
    background-color: #25D366;
    color: rgb(0, 0, 0);
    cursor: pointer;
    border-bottom-right-radius: 10px;
}

.button-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.quick-reply {
    padding: 10px;
    background-color: #ffa701;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px 0;
    text-align: center;
}

.quick-reply:hover {
    background-color: #f7d18d;
}


nav ul li a[href*="capacitaciones"] {
    background-color: #ffa701; /* Fondo azul */
    color: white; /* Texto blanco para contraste */
    padding: 10px; /* Espacio alrededor del texto */
    border-radius: 5px; /* Bordes redondeados opcionales */
    text-decoration: none; /* Elimina subrayado */
}

nav ul li a[href*="capacitaciones"]:hover {
    background-color: #012b25; /* Fondo cambia a un azul más oscuro al pasar el mouse */
    color: #f0f0f0; /* Cambia el color del texto también si lo deseas */
}
.contacto-container {
      display: flex;
      flex-wrap: wrap;
      padding: 40px 20px;
     
      gap: 20px;
      justify-content: center;
    }
  
    .info-contacto {
      flex: 1 1 300px;
      max-width: 500px;
    }
  
    .info-contacto h2 {
      margin-bottom: 20px;
      color: #FFA701;
      font-family: 'Raleway-Bold';
    }
  
    .info-contacto p {
      margin: 10px 0;
      font-size: 16px;
      color: #000000;
    }
  
    .mapa {
      flex: 1 1 300px;
      max-width: 600px;
    }
  
    .mapa iframe {
      width: 100%;
      height: 100%;
      min-height: 300px;
      border: 0;
    }
  
    .info-contacto strong {
      color:#FFA701;
      font-family: 'Raleway-Bold';
    }

@media (max-width: 768px) {
  /* Mantener menú horizontal */
  nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    position: static;
    background: transparent;
    box-shadow: none;
  }

  nav ul li {
    margin: 5px 10px;
  }

  nav ul li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  /* Ajustes generales para layout */
  .container,
  .contenedor-informacio,
  .subscription-container,
  .contact-container,
  .contacto-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-icon,
  .contact-item img,
  .social-media img {
    width: 30px !important;
    height: 30px !important;
  }

  h1 span {
    font-size: 2.5rem;
  }

  span {
    font-size: 24px;
  }

  form input[type="email"] {
    max-width: 100%;
  }

  .image-container img,
  .map-container iframe,
  .form-container,
  .subscription-container1 {
    width: 100% !important;
    max-width: 100% !important;
  }
}
