/* ============================
   MMAR NAQEL — Inner Pages CSS
   Loaded after style.css on all
   standalone section pages.
   ============================ */

/* ---------- Page Hero Banner ---------- */
.page-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    font-family: var(--font-primary);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero .hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: var(--gold);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb .bc-sep {
    font-size: 0.65rem;
    opacity: 0.5;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--dark);
    padding: 64px 0;
}

.stats-bar .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stats-bar .stat-item {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-bar .stat-item:last-child {
    border-right: none;
}

.stats-bar .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stats-bar .stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ---------- Values Grid (About page) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--mid-grey);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.value-card .value-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gold);
    color: var(--white);
}

.value-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Service Feature List (Services page) ---------- */
.service-card .service-features {
    list-style: none;
    margin: 12px 0 20px;
    border-top: 1px solid var(--light-grey);
    padding-top: 14px;
}

.service-card .service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-card .service-features li i {
    color: var(--gold);
    font-size: 0.65rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* ---------- FAQ Categories ---------- */
.faq-categories {
    max-width: 840px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-lighter);
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-category-title i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--dark);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ---------- Responsive: 1024px ---------- */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar .stat-item:nth-child(2) {
        border-right: none;
    }

    .stats-bar .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-bar .stat-item:nth-child(4) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        padding: 40px 0;
    }

    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 110px 0 50px;
    }

    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar .stat-item:nth-child(2) {
        border-right: none;
    }

    .stats-bar .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-bar .stat-item:nth-child(4) {
        border-right: none;
    }
}

/* ---------- RTL Overrides ---------- */
[dir="rtl"] .bc-sep i.fa-chevron-right {
    transform: scaleX(-1);
}

[dir="rtl"] .faq-category-title {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .service-card .service-features li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .stats-bar .stat-item {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .stats-bar .stat-item:last-child {
    border-left: none;
}

@media (max-width: 1024px) {
    [dir="rtl"] .stats-bar .stat-item:nth-child(2) {
        border-left: none;
    }

    [dir="rtl"] .stats-bar .stat-item:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
    }

    [dir="rtl"] .stats-bar .stat-item:nth-child(4) {
        border-left: none;
    }
}
