/* Consultation Page Styles */

/* Banner Styles */
.page-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 8rem;
}

.page-banner .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-banner .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(192, 57, 43, 0.85) 100%);
    z-index: -1;
}

.page-banner .banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.page-banner .banner-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 4.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner .banner-content p {
    font-size: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Consultation Intro Section */
.consultation-intro {
    padding: 8rem 0;
    background-color: white;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.text-column h2 {
    margin-bottom: 2rem;
    font-size: 3.6rem;
    color: var(--primary-color);
}

.text-column .lead {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

.text-column p {
    margin-bottom: 3rem;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-light);
}

.consultation-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-icon i {
    font-size: 2.4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon i {
    color: white;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(0deg);
}

.image-column:hover img {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Process Timeline Section */
.consultation-process {
    padding: 8rem 0;
    background-color: var(--light-bg);
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 6rem auto 4rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 2px;
}

.process-step {
    position: relative;
    display: flex;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.step-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 8rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.step-icon i {
    font-size: 3.2rem;
    color: #fff;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.6rem;
    height: 3.6rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.step-content {
    width: 45%;
    padding: 3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.step-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.6rem;
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
}

.process-cta p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Responsive styles for process timeline */
@media (max-width: 992px) {
    .process-timeline::before {
        left: 3rem;
    }
    
    .process-step, 
    .process-step:nth-child(odd) {
        flex-direction: row;
    }
    
    .step-icon {
        left: 3rem;
    }
    
    .step-content {
        width: 80%;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .step-content {
        width: 85%;
        padding: 2rem;
    }
    
    .step-icon {
        width: 6rem;
        height: 6rem;
    }
    
    .step-icon i {
        font-size: 2.4rem;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .process-timeline::before {
        left: 2rem;
    }
    
    .step-icon {
        left: 2rem;
        width: 5rem;
        height: 5rem;
    }
    
    .step-icon i {
        font-size: 2rem;
    }
    
    .step-content {
        width: 80%;
        margin-left: 6rem;
    }
    
    .step-content h3 {
        font-size: 1.8rem;
    }
    
    .step-content p {
        font-size: 1.4rem;
    }
    
    .step-features li {
        font-size: 1.3rem;
    }
}

/* Consultation Form Section */
.consultation-form-section {
    padding: 8rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.consultation-form-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.05;
    z-index: 0;
}

.consultation-form-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.consultation-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.consultation-form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.6rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.2);
    background-color: white;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-submit {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.form-submit button {
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-submit button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.form-submit button:hover {
    background-color: #a93226;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-submit button:hover:after {
    left: 100%;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.error-message {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

/* Success Message Styles */
.success-message {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 4rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 6rem;
    color: #27ae60;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease;
}

.success-message h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.success-message p {
    font-size: 1.6rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1rem;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 2rem;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.faq-question:hover h3 {
    color: var(--secondary-color);
}

.toggle-icon {
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: transform 0.4s ease;
}

.faq-question:hover .toggle-icon {
    color: var(--secondary-color);
}

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

.faq-question.active {
    background-color: #f5f5f5;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-question.active h3 {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
    background-color: #f9f9f9;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.faq-answer p {
    padding: 2rem 0;
    margin: 0;
    opacity: 1;
}

.faq-question.active + .faq-answer {
    max-height: 2000px;
    padding: 0 2rem 2rem;
    border-top: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background-color: var(--light-color);
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 6rem;
    position: absolute;
    left: -1rem;
    top: -2rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 1.4rem;
}

.testimonial-rating {
    color: #f39c12;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .content-columns,
    .form-columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .image-column {
        order: -1;
        text-align: center;
    }
    
    .image-column img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-banner .banner-content h1 {
        font-size: 3.6rem;
    }
    
    .page-banner .banner-content p {
        font-size: 1.8rem;
    }
    
    .text-column h2 {
        font-size: 3rem;
    }
    
    .text-column .lead {
        font-size: 1.8rem;
    }
    
    .consultation-form-container {
        padding: 3rem 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 480px) {
    .page-banner .banner-content h1 {
        font-size: 3rem;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .form-footer {
        flex-direction: column;
    }
    
    .checkbox-group {
        margin-bottom: 2rem;
    }
}
