﻿:root {
    --grey-color: #252525;
    --gold: #FEC800;
    --gold_50: hsl(47, 100%, 50%, 0.5);
    --gold-light: #eadca8;
    --orange: hsl(29, 100%, 61%);
    --gold-dark: #b59009;
    --golden-dark: #7a6106;
    --orange-dark: hsl(29, 71%, 40%);
    --text-color: #333333;
    --text-color-light: #4a4a4a;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding-block-start: 120px;
    padding-block-end: 80px;
    color: white;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-color);
}

    .hero-video,
    .hero::before {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.4;
    }

    .hero::before {
        content: '';
        background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
        animation: zoomInOut 20s infinite alternate;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(37,37,37,0.7);
    border-radius: 15px;
    border: 1px solid var(--gold_50);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    transition: all .5s ease;
}

.hero:hover .hero-content {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ===== SERVICES ===== */
.section {
    padding: 80px 0;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}


.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: right;
    direction: rtl;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(254, 200, 0, 0.1);
}

    .service-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: var(--gold);
    }
  

.service-image {
    height: 200px;
    overflow: hidden;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s;
    }

.service-content {
    padding: 20px;
}

.service-title {
    font-weight: 700;
    font-size: 2rem; /* زيد الحجم */
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-color-light);
    font-size: 1.5rem; /* أكبر شوي */
    margin-bottom: 20px;
}
.read-more-btn {
    display: inline-block;
    background-color: var(--gold); /* أصفر ذهبي */
    color: #000; /* لون الخط أسود عشان يكون أوضح */
    padding: 10px 20px;
    border-radius: 8px; /* حواف ناعمة */
    font-weight: 600;
    text-decoration: none; /* يشيل الخط تحت الرابط */
    transition: all 0.3s ease;
}

    .read-more-btn:hover {
        background-color: #e6e6e6; /* أصفر أغمق عند الهوفر */
        color: black; /* يصير الخط أبيض عند الهوفر */
    }

/* ===== FAQ SECTION ===== */
/* تنسيق عام للصفحة */ .faqMasterContainer {
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.faqPriceLabel {
    background: linear-gradient(to right, #f0ad4e, #ffc107);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
}

.q-section-subtitle {
    font-size: 1.8rem;
    color: var(--blog-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.faqMainHeading {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    padding: 15px;
    background: linear-gradient(to right, #2c3e50, #4a6580);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faqSubHeading {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}
/* تنسيق حاوية الأسئلة */

.faqItemsContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* تنسيق عناصر الأسئلة الشائعة */

.faqSingleItem {
    background-color: #fff;
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid #d1d1d1;
    overflow: hidden;
}

    .faqSingleItem.faqActiveState {
        border: 3px solid gray;
    }

.faqQuestionHeader {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    padding: 18px 20px;
    background: #fff;
}

    .faqQuestionHeader:hover {
        background-color: #f9f9f9;
    }

.faqIndicatorIcon {
    margin-left: 15px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcf8e3;
    border-radius: 50%;
    background: #ffc107;
    transition: all 0.3s;
    font-size: 12px;
    border: 1px solid gray;
    color: white;
}

.faqSingleItem.faqActiveState .faqIndicatorIcon {
    color: white;
    transform: rotate(180deg);
    border-color: gray;
}

.faqAnswerContent {
    padding: 0 20px 20px 55px;
    display: none;
    animation: faqFadeIn 0.4s ease;
    color: #555;
    line-height: 1.8;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
    padding-top: 20px;
}

.faqSingleItem.faqActiveState .faqAnswerContent {
    display: block;
}

.faqFeaturesList {
    list-style-type: none;
    margin: 10px 0;
}

    .faqFeaturesList li {
        padding: 5px 0;
        position: relative;
        padding-right: 25px;
    }

        .faqFeaturesList li:before {
            content: "•";
            color: #f0ad4e;
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-right: -1em;
            font-size: 18px;
        }

@@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* تخصيص التمرير */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d1b98a;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #b08d57;
    }
/* التنسيق للنصوص العربية */

.faqAnswerContent {
    font-size: 16px;
    text-align: right;
}

/* الحاوية العامة */
.faqContentWrapper {
    width: 100%;
    max-width: 1200px; /* يوقف التمدد */
    padding: 20px 150px;
    margin: 30px auto;
}

/* الهواتف الصغيرة */
@media (max-width: 600px) {
    .faqContentWrapper {
        padding: 15px;
    }

    .faqQuestionHeader {
        padding: 12px;
        font-size: 15px;
    }

    .faqAnswerContent {
        padding: 0 12px 12px 40px;
        font-size: 14px;
    }

    .faqIndicatorIcon {
        margin-left: 8px;
        width: 20px;
        height: 20px;
    }

    .faqMainHeading {
        font-size: 22px;
    }

    .q-section-subtitle {
        font-size: 1.2rem;
    }
}

/* التابلت */
@media (min-width: 601px) and (max-width: 992px) {
    .faqContentWrapper {
        padding: 20px 40px;
    }

    .faqMainHeading {
        font-size: 26px;
    }

    .q-section-subtitle {
        font-size: 1.4rem;
    }

    .faqQuestionHeader {
        font-size: 17px;
    }

    .faqAnswerContent {
        font-size: 15px;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 993px) {
    .faqContentWrapper {
        padding: 20px 80px;
    }

    .faqMainHeading {
        font-size: 32px;
    }

    .q-section-subtitle {
        font-size: 1.6rem;
    }
}
/* الهواتف حتى 425px */
@media (max-width: 425px) {
    .faqContentWrapper {
        padding: 8px;
        margin: 10px auto;
    }

    .faqMainHeading {
        font-size: 18px;
        line-height: 1.4;
        padding: 8px;
    }

    .q-section-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 4px;
    }

    .faqQuestionHeader {
        padding: 8px;
        font-size: 13px;
    }

    .faqAnswerContent {
        padding: 0 8px 8px 30px;
        font-size: 12.5px;
        line-height: 1.6;
    }

    .faqIndicatorIcon {
        margin-left: 6px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}
/* التلفون - الشاشات الصغيرة جدا */
@media (max-width: 480px) {
    .faqContentWrapper {
        padding: 10px;
        margin: 15px auto;
    }

    .faqMainHeading {
        font-size: 20px;
        line-height: 1.4;
        padding: 10px;
    }

    .q-section-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 5px;
    }

    .faqQuestionHeader {
        padding: 10px;
        font-size: 14px;
    }

    .faqAnswerContent {
        padding: 0 10px 10px 35px;
        font-size: 13px;
        line-height: 1.6;
    }

    .faqIndicatorIcon {
        margin-left: 8px;
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}



/* ===== MEDIA QUERIES ===== */

/* Large tablets */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .service-list {
        gap: 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero {
        padding-block-start: 80px;
        min-height: 60vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .service-image {
        height: 180px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: .9rem;
    }

    .service-card {
        margin: 0 5px;
    }

    .faqMainHeading {
        font-size: 24px;
    }

    .faqSubHeading {
        font-size: 14px;
    }
}
