/* Consultation Page Styles */

/* Benefits Section */
.consultation-benefits {
    padding: 80px 0;
    background: #fafbfc;
}

.consultation-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.consultation-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 50px;
    font-family: 'Krona One', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px 0 rgba(0,0,0,0.18);
    background: linear-gradient(120deg, #fffbe6 60%, #ffe06633 100%);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-family: 'Readex Pro', sans-serif;
}

.benefit-card p {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Form Section */
.consultation-form-section {
    padding: 80px 0;
    background: white;
}

.consultation-form-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: visible;
    border: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
}

.form-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Krona One', sans-serif;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.progress-indicator {
    margin-bottom: 20px;
}

.progress-step {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.progress-step.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-signal {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.95;
}

.trust-signal i {
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.input-wrapper input {
    padding-right: 40px;
}

.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.validation-icon.valid {
    opacity: 1;
    color: #28a745;
}

.validation-icon.invalid {
    opacity: 1;
    color: #dc3545;
}

.optional-indicator {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 5px;
    font-style: italic;
}

.form-group input.valid {
    border-color: #28a745;
}

.form-group input.invalid {
    border-color: #dc3545;
}

.consultation-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required-indicator {
    color: #dc3545;
    font-weight: 700;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(129, 164, 205, 0.1);
}

.form-group input:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.form-help-text {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 4px;
    border-left: 3px solid #dc3545;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.form-section.required-fields {
    border-bottom-color: #dc3545;
    border-bottom-width: 3px;
}

.form-section.optional-fields {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-family: 'Krona One', sans-serif;
}

.section-description {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.5;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--yellow) 0%, #f4f5a8 100%);
    color: var(--dark-blue);
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(237, 231, 66, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.slot-card {
    display: block;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.slot-card:hover {
    border-color: var(--light-blue);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.slot-card input[type="radio"] {
    display: none;
}

.slot-card input[type="radio"]:checked + .slot-time,
.slot-card input[type="radio"]:checked ~ .slot-time {
    color: var(--dark-blue);
}

.slot-card input[type="radio"]:checked ~ .slot-meta,
.slot-card input[type="radio"]:checked ~ .slot-time {
    font-weight: 600;
}

.slot-time {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.slot-date {
    font-weight: 700;
}

.slot-hour {
    font-weight: 600;
    color: #2c3e50;
}

.slot-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
}

.slot-duration {
    font-weight: 500;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 15px;
    margin: 20px;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    color: #155724;
    margin-bottom: 15px;
    font-family: 'Krona One', sans-serif;
}

.success-message p {
    font-size: 1.1rem;
    color: #155724;
    line-height: 1.6;
}

/* CTA Section */
.consultation-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    color: white;
}

.consultation-cta .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Krona One', sans-serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background: var(--yellow);
    color: var(--dark-blue);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(237, 231, 66, 0.3);
    color: var(--dark-blue);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* reCAPTCHA Styles */
.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-benefits h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .consultation-benefits,
    .consultation-form-section,
    .consultation-cta {
        padding: 60px 0;
    }

    .consultation-benefits h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
    }
}
