/* Styles for Consultation Form Page */

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(128, 97, 32, 0), rgba(133, 103, 26, 0.8)), url('../images/consultation-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 90px;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    color: var(--white);
    font-size: 16px;
}

.breadcrumb li a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb li a:hover {
    opacity: 1;
}

.breadcrumb li:not(:last-child):after {
    content: '/';
    margin-right: 10px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.progress-steps:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--secondary-color);
}

.step.completed .step-number {
    background-color: var(--primary-color);
}

.step-title {
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.step.active .step-title, .step.completed .step-title {
    color: var(--primary-color);
}

/* Consultation Form */
.consultation-form-section {
    padding: var(--section-padding);
}

.consultation-form {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: 30px;
}

.form-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input[type="file"] {
    padding: 10px 0;
    border: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 12px;
}

.required {
    color: #e74c3c;
}

/* Bank Details */
.bank-details, .consultation-fees {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.bank-details h4, .consultation-fees h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.bank-details p, .consultation-fees p {
    margin-bottom: 10px;
}

.fee-display {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-top: 15px;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
}

.terms-checkbox input {
    width: auto;
    margin-left: 10px;
    margin-top: 5px;
}

.terms-checkbox label {
    margin-bottom: 0;
}

.terms-checkbox a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.reset-btn, .submit-btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid #ddd;
}

.reset-btn:hover {
    background-color: #f5f5f5;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--neutral-color);
    padding: var(--section-padding);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Contact Info Section */
.contact-info-section {
    padding: var(--section-padding);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-item .icon i {
    font-size: 30px;
    color: var(--white);
}

.contact-info-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Form Validation Styles */
.error {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

.success-message {
    background-color: #2ecc71;
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .consultation-form {
        padding: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .reset-btn, .submit-btn {
        width: 100%;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .step {
        width: 100%;
    }
    
    .bank-details, .consultation-fees {
        padding: 15px;
    }
    
    .fee-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
