/**
 * Estilos para el área de pre-footer
 *
 * @package Seniors
 */

/* Estilos generales del pre-footer */
.pre-footer-section {
  background-color: #5840ba !important; /* Color primario original del mockup */
  color: #ffffff;
  text-align: center;
  padding: 3rem 0;
}

/* Estilos para el título */
.pre-footer-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

/* Estilos para el texto */
.pre-footer-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Roboto', sans-serif;
}

/* Contenedor para los botones */
.pre-footer-section .d-inline-flex {
  display: inline-flex !important;
  align-items: center !important;
}

/* Estilos para el botón principal */
.pre-footer-section .btn-custom-green,
.pre-footer-section .wp-block-button__link {
  background-color: #8BC34A !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px !important; /* Botón más redondeado */
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  margin-right: 0.5rem !important;
  font-size: 1rem !important;
}

.pre-footer-section .btn-custom-green:hover,
.pre-footer-section .wp-block-button__link:hover {
  background-color: #7CB342 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Estilos para el botón de icono circular */
.pre-footer-section .btn-icon,
.pre-footer-section .btn-outline-light {
  border-radius: 50% !important; /* Botón de icono circular */
  width: 50px !important;   /* Ancho fijo */
  height: 50px !important;  /* Alto fijo */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid #ffffff !important;
  background-color: transparent !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.pre-footer-section .btn-icon:hover,
.pre-footer-section .btn-outline-light:hover {
  background-color: #ffffff !important;
  color: #5840ba !important;
}

.pre-footer-section .btn-icon i,
.pre-footer-section .btn-outline-light i {
  font-size: 1.5rem !important;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .pre-footer-section h2 {
    font-size: 2rem;
  }
  
  .pre-footer-section p {
    font-size: 1rem;
  }
  
  .pre-footer-section .btn-custom-green,
  .pre-footer-section .wp-block-button__link {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  
  .pre-footer-section .btn-icon,
  .pre-footer-section .btn-outline-light {
    width: 40px !important;
    height: 40px !important;
  }
}
