/* Consultation Banner Styles */

.consultation-banner {
    background: #0066ff url('../images/banner-bg.png') center/cover no-repeat;
    background-blend-mode: soft-light;
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.consultation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.3) 0%, rgba(0, 82, 204, 0.4) 100%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.banner-text {
    max-width: 800px;
}

.banner-text h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.6;
}

.banner-btn {
    padding: 14px 42px;
    background: white;
    color: #0066ff;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    min-width: 140px;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    background: #f5f5f5;
}

/* QR Code Modal */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.qr-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.qr-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.qr-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.qr-close:hover {
    background: #f0f0f0;
    color: #333;
}

.qr-modal-content h3 {
    margin: 0 0 24px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.qr-code {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    display: inline-block;
}

.qr-code img {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-tip {
    margin: 16px 0 8px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.qr-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .consultation-banner {
        padding: 60px 20px;
        margin-top: 60px;
    }
    
    .banner-text h2 {
        font-size: 1.75rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .banner-btn {
        padding: 12px 36px;
        font-size: 1rem;
        min-width: 120px;
    }
    
    .qr-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .qr-code img {
        width: 180px;
        height: 180px;
    }
}

