/* Consultation Page Specific Styles */

/* Hero Section */
.consultation-hero {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)), 
                url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.consultation-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffd700, #6a11cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #b0b0d0;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #6a11cb, #ffd700);
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: #b0b0d0;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Services Grid (NEW) */
.consultation-services {
    padding: 80px 0;
    background: rgba(10, 10, 20, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #6a11cb;
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #6a11cb;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.service-card p {
    color: #b0b0d0;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Consultation Process */
.consultation-content {
    padding: 80px 0;
}

.consultation-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.process-step {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: #6a11cb;
    box-shadow: 0 15px 30px rgba(106, 17, 203, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background: #6a11cb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.step-icon {
    font-size: 3rem;
    color: #6a11cb;
    margin-bottom: 20px;
    display: block;
}

.process-step h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.process-step p {
    color: #b0b0d0;
    line-height: 1.7;
}

/* Consultation Form */
.consultation-form-section {
    background: rgba(10, 10, 20, 0.8);
    padding: 80px 0;
}

.consultation-form-container {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(106, 17, 203, 0.3);
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.form-header p {
    color: #b0b0d0;
    font-size: 1rem;
}

.consultation-form .form-group {
    margin-bottom: 25px;
}

.consultation-form label {
    display: block;
    color: #b0b0d0;
    margin-bottom: 10px;
    font-weight: 500;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(106, 17, 203, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.consultation-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form Message (NEW/IMPROVED) */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-message-success {
    background: rgba(0, 200, 0, 0.15);
    color: #4caf50;
    border: 1px solid rgba(0, 200, 0, 0.3);
}

.form-message-error {
    background: rgba(244, 67, 54, 0.15);
    color: #ff6464;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 35px;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* FAQ Section */
.consultation-faq {
    padding: 80px 0;
    background: rgba(10, 10, 20, 0.5);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(106, 17, 203, 0.6);
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(106, 17, 203, 0.1);
}

.faq-question i {
    color: #6a11cb;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #b0b0d0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px;
    color: #b0b0d0;
}

.loading .loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(106, 17, 203, 0.3);
    border-top: 3px solid #6a11cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-data {
    text-align: center;
    padding: 60px;
    color: #b0b0d0;
    font-style: italic;
}

/* Footer */
.footer {
    background: #0a0a1a;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(106, 17, 203, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo i {
    color: #6a11cb;
}

.footer-about {
    color: #b0b0d0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6a11cb;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #6a11cb;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0d0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #6a11cb;
    padding-right: 5px;
}

.footer-contact li {
    color: #b0b0d0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 25px;
    color: #6a11cb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #b0b0d0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .consultation-hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .consultation-hero {
        padding: 120px 0 60px;
    }
    
    .consultation-hero h1 {
        font-size: 2rem;
    }
    
    .consultation-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .consultation-process {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .consultation-form-container {
        padding: 30px 25px;
        margin: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .faq-container {
        margin: 0 20px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-col h4:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .consultation-hero h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -15px;
        right: -15px;
    }
    
    .consultation-form-container {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}