﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

body {
    background: url('https://www.transparenttextures.com/patterns/arabesque.png') repeat, linear-gradient(to bottom, #fefaf5, #eae3d2);
    color: #222;
    direction: rtl;
    overflow-x: hidden;
}

.main-header {
    background: #7b2c2c;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

    .main-header h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

.scroll-btn {
    background: #fff;
    color: #7b2c2c;
    font-weight: bold;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s;
}

    .scroll-btn:hover {
        background: #f7e8e8;
    }

.white-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}


.info-section,
.cards-section,
.form-section {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1rem;
}

    .info-section.with-border {
        background-color: #fff;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
    }

    .cards-section h2,
    .info-section h2,
    .form-section h2 {
        text-align: center;
        margin-bottom: 1.2rem;
        color: #7b2c2c;
    }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #7b2c2c; /* أو أي لون مناسب */
    }

    .service-card p {
        font-size: 1rem;
        color: #333;
        margin: 0;
    }

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4CAF50; /* يمكنك تخصيص اللون هنا */
}



form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    form input,
    form textarea {
        padding: 0.8rem;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    form textarea {
        resize: vertical;
    }

.submit-btn {
    padding: 1rem;
    background-color: #7b2c2c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

    .submit-btn:hover {
        background-color: #561e1e;
    }

.note {
    color: red;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}



.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

    .footer .privacy-link {
        display: inline-block;
        margin-top: 0.5rem;
        color: #fff; /* لون ذهبي لافت */
        text-decoration: none;
        font-size: 1rem;
        text-decoration: underline;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }

        .footer .privacy-link:hover {
            color: #ffffff;
            border-bottom: 2px solid #ffffff;
        }



#faq-section {
    background-color: transparent;
    padding: 40px 20px;
    text-align: center;
}

    #faq-section h2 {
        margin-bottom: 30px;
        color: #7b2c2c;
        font-size: 1.8rem;
    }

.faq {
    background-color: #ffffff;
    max-width: 870px;
    margin: 0 auto 15px;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-align: right;
    transition: box-shadow 0.3s ease;
}

    .faq:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    }

    .faq .question {
        font-weight: bold;
        color: #7b2c2c;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* لجعل العناصر تبدأ من اليمين */
        direction: rtl;
        text-align: right;
        gap: 10px; /* مسافة بين الأيقونة والنص */
    }

.toggle-icon {
    font-size: 1.2rem;
    order: 2; /* يجعل الأيقونة بعد النص */
    margin-left: 0;
    margin-right: auto;
}

    .faq .answer {
        display: none;
        margin-top: 10px;
        color: #000;
        line-height: 1.6;
        text-align: right;
        transition: all 0.3s ease;
    }

