/* تحسينات صفحة طلب عرض سعر - Enhanced Quote Request Styles
   تنسيقات مخصصة لصفحة طلب عرض سعر وعرضها بشكل أكثر جاذبية
*/

/* قسم طلب عرض السعر */
.quote-section {
    padding: 60px 0;
    position: relative;
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* معلومات طلب عرض السعر */
.quote-info {
    padding: 50px;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.quote-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-light.png');
    background-size: cover;
    opacity: 0.07;
    z-index: 0;
}

.quote-info-content {
    position: relative;
    z-index: 1;
}

.quote-info h2 {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 700;
}

.quote-info p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.quote-features {
    margin-top: 40px;
}

.quote-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.quote-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.quote-feature-icon i {
    font-size: 18px;
    color: #fff;
}

.quote-feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.quote-feature-text p {
    font-size: 15px;
    margin-bottom: 0;
    opacity: 0.8;
}

.quote-contact {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quote-contact-item i {
    font-size: 20px;
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.quote-contact-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.quote-contact-item a:hover {
    opacity: 0.8;
}

/* نموذج طلب عرض السعر */
.quote-form {
    padding: 50px;
    background: #fff;
}

.quote-form h3 {
    font-size: 24px;
    color: #0a3a78;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.quote-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
}

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

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.form-col {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #0a3a78;
    box-shadow: 0 0 0 3px rgba(10, 58, 120, 0.1);
    outline: none;
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    cursor: pointer;
}

.form-check-input {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-check-label {
    font-size: 15px;
    color: #555;
    user-select: none;
}

.btn-submit {
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(10, 58, 120, 0.2);
    display: block;
    margin-top: 20px;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 58, 120, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 70px 0;
    background-color: #f9fafb;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-size: cover;
    opacity: 0.04;
    z-index: 0;
}

.faq-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 32px;
    color: #0a3a78;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-header p {
    color: #555;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #0a3a78;
    font-size: 18px;
    font-weight: 600;
}

.faq-question:hover {
    background: rgba(10, 58, 120, 0.05);
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* تأثيرات الانتقال */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 992px) {
    .quote-container {
        grid-template-columns: 1fr;
    }
    
    .quote-info, .quote-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .quote-info, .quote-form {
        padding: 30px;
    }
    
    .quote-info h2 {
        font-size: 28px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }
}
