/* Suaviza el scroll */
html {
  scroll-behavior: smooth;
}

/* Estilos para el footer */

/* Contenedor principal del footer */
.footer-contact {
  background-color: #f47b20;
  padding: 30px 20px;
  color: white;
  box-sizing: border-box;
}

/* Encabezado del footer con título e iconos */
.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Título del footer */
.footer-title {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

/* Contenedor de iconos sociales */
.social-icons {
  display: flex;
  gap: 15px;
}

/* Estilo base para iconos sociales */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  
  color: #f47b20;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Animación para iconos sociales */
.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animación de pulso para iconos sociales */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.social-icon.pulse {
  animation: pulse 0.5s ease-in-out;
}

/* Formulario de contacto */
.contact-form {
  width: 100%;
  box-sizing: border-box;
}

/*Enlace a tica solutions*/
.tica{
  text-decoration: none;
}

/* Layout del formulario en dos columnas */
.form-layout {
  display: flex;
  gap: 20px;
  box-sizing: border-box;
}

/* Columna izquierda del formulario */
.form-left {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
}

/* Columna derecha del formulario */
.form-right {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Grupos de formulario */
.form-group {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* Grupo del mensaje */
.message-group {
  flex-grow: 1;
  margin-bottom: 15px;
  box-sizing: border-box;
}

/* Estilos para inputs y textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  color: white;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

/* Placeholder para inputs y textarea */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Estilos específicos para textarea */
.contact-form textarea {
  height: 100%;
  min-height: 140px;
  resize: none;
  box-sizing: border-box;
  padding: 15px;
}

/* Grupo del botón de envío */
.submit-group {
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

/* Botón de envío */
.btn-submit {
  width: 150px;
  padding: 12px;
  background-color: white;
  color: #f47b20;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  box-sizing: border-box;
}

.btn-submit:hover {
  background-color: #f8f8f8;
  transform: translateY(-2px);
}

/* Créditos del footer */
.footer-credits {
  background-color: white;
  padding: 15px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .footer-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .form-layout {
    flex-direction: column;
    gap: 15px;
  }

  .form-left,
  .form-right {
    flex: 0 0 100%;
  }

  .message-group {
    min-height: 120px;
  }

  .submit-group {
    justify-content: center;
  }

  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    padding: 25px 15px;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
