body {
    background-color: #f8f9fa;
}

/* Estilos para el navbar sticky */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.sticky + main {
    padding-top: 80px; 
}



.form-container {
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}
.form-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.form-section {
    margin-bottom: 30px;
}
.form-group label {
    font-weight: bold;
}
.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.step {
    text-align: center;
    flex: 1;
}
.step.active .step-number {
    background-color: #007bff;
    color: white;
}
.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    display: inline-block;
    line-height: 30px;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Estilo personalizado para el título del mes */
.fc-toolbar-title {
    font-size: 1.8rem; /* Tamaño del título */
    font-weight: bold;
    color: #0056b3; /* Color azul para hacerlo más profesional */
    text-transform: capitalize; /* Capitaliza el texto */
    text-align: center;
}

@media (max-width: 768px) {
    .fc-toolbar-title {
        font-size: 1.5rem; /* Tamaño más pequeño para móviles */
    }
}

/* ******************** */
/* VALIDACIONES */
/* ******************** */
/* Campos válidos */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745; /* Verde */
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

/* Campos inválidos */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545; /* Rojo */
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

/* Mensajes de error */
.invalid-feedback {
    display: none;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
    display: block;
    color: #dc3545;
}




/* Estilos para el botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px #999;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    box-shadow: 4px 4px 10px #999;
    transform: scale(1.1);
}

.my-float {
    margin-top: 16px;
}

/* Estilos personalizados para el botón de WhatsApp */
.btn-wsp {
    display: inline-flex;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-wsp i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.btn-wsp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}



.accordion-button {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border-radius: 0;
    border: none;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #0056b3;
    color: #fff;
}

.accordion-button::after {
    filter: invert(100%);
}

.accordion-body {
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    padding: 20px;
    border-top: none;
    border-left: 1px solid #007bff;
    border-right: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    border-radius: 0 0 5px 5px;
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
}

.accordion-item:first-of-type .accordion-button {
    border-radius: 5px 5px 0 0;
}

.accordion-item:last-of-type .accordion-body {
    border-radius: 0 0 5px 5px;
}





.form-container {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.form-header {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.form-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group label {
    font-weight: bold;
}

textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
}

textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

button[type="submit"], .btn-secondary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: #fff;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover, .btn-secondary:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: translateY(-2px);
}

button[type="submit"]:focus, .btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.alert {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 8px;
}

.form-group.d-flex {
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}













/* Ajustes generales */
#calendar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px;
    background-color: #f9f9f9; /* Fondo claro para separar del resto */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

#timeSlots {
    max-height: 300px; /* Limitar la altura de la sección de horas */
    overflow-y: auto; /* Añadir scroll si hay demasiadas horas */
}

h6#selectedDate {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.fc-toolbar-title {
    font-size: 1.5rem; /* Ajustar el tamaño del título del calendario */
    font-weight: bold;
}

/* Ajustar los botones del calendario */
.fc .fc-button {
    margin: 5px;
    font-size: 0.9rem;
}

/* Ajustes adicionales de layout */
.form-group label {
    font-weight: bold;
}

.form-group small {
    font-style: italic;
}

.d-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

textarea {
    resize: none;
}

.container {
    margin-top: 20px;
}

h5 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 125px;
}
/* ************************** */
/* FAQ  */
/* ************************** */


#faq {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.faq-title {
    font-size: 36px;
    font-weight: bold;
    color: #007BFF;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h5 {
    font-size: 18px;
    font-weight: bold;
    color: #007BFF;
    margin-bottom: 0;
}

.faq-toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg); /* Cambiar de + a x */
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 16px;
    color: #23272b;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}








.time-slots-container {
    display: grid; /* Usar CSS Grid para el diseño */
    grid-template-columns: repeat(4, 1fr); /* 4 columnas de igual ancho */
    gap: 10px; /* Espaciado entre los botones */
    margin-top: 20px; /* Espacio superior opcional */
}

.time-slots-container .btn {
    width: 100%; /* Asegura que el botón ocupe el ancho completo de la celda */
    height: 50px; /* Ajusta la altura del botón según sea necesario */
}

/* Limitar el número de botones visibles a 8 para 2 filas */
.time-slots-container {
    max-height: 150px; /* Ajusta la altura máxima según el número de filas que quieras mostrar */
    overflow-y: auto; /* Habilita el desplazamiento vertical si hay más botones */
}