/* الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.7;
}

:root {
    --green-main: #0C513F;
    --gold-main: #D4AF37;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

/* الحاوية */
.container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 0 16px;
}

/* الهيدر */
.main-header {
    background-color: var(--green-main);
    padding: 16px 0 20px 0;
    color: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
}

/* القائمة */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* زر الهيدر */
.btn-gold {
    background-color: var(--gold-main);
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

/* زر همبرغر */
.hamburger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transition: .3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* القائمة في الجوال */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: var(--green-main);
        padding: 20px 0;
        display: none;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .main-nav.open {
        display: block;
    }

    .header-cta {
        display: none;
    }
}

/* HERO */
.hero-section {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 42px;
    color: var(--gold-main);
    font-weight: bold;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
}

/* الأقسام */
.section {
    padding: 60px 0;
}

.section-about {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.section-text {
    font-size: 16px;
    text-align: center;
}

.section-text-wide {
    max-width: 820px;
    margin: auto;
}

/* الباقات */
.cards-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: 280px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

/* فيديو إثبات التنفيذ */
.video-placeholder img {
    width: 100%;
    max-width: 820px;
    margin: auto;
    display: block;
    border-radius: 8px;
}

/* قسم الفتاوى */
.fatwa-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.fatwa-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
}

.fatwa-title {
    margin-top: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .fatwa-grid {
        grid-template-columns: 1fr;
    }
}

/* الأسئلة الشائعة */
.faq-item {
    margin-bottom: 18px;
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 8px;
}

/* تجارب العملاء */
.card-testimonial {
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.testimonial-name {
    display: block;
    font-size: 12px;
    margin-top: 10px;
    color: #666;
}

/* الفوتر */
.main-footer {
    background: var(--green-main);
    color: #fff;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 10px;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 4px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------
   Breadcrumb بتصميم راقٍ
-------------------- */
.breadcrumb-wrapper {
    margin-top: 40px;
    margin-bottom: 20px;
}

.breadcrumb-box {
    background: #f2f2f2;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    text-align: right;
}

.breadcrumb-box a {
    color: var(--green-main);
    text-decoration: none;
}

/* --------------------
   العنوان
-------------------- */
.package-title-section {
    text-align: center;
    margin-bottom: 35px;
}

.package-main-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--green-main);
}

.package-main-subtitle {
    font-size: 18px;
    color: #444;
}

/* --------------------
   شبكة المحتوى
-------------------- */
.package-details-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 35px;
}

/* النقاط */
.details-left {
    flex: 1;
}

.features-cards {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.features-cards li {
    background: #fff;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 16px;
}

/* السعر + الزر — صف واحد */
.price-and-button-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}

.price-value {
    background: var(--gold-main);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.book-btn {
    padding: 12px 26px;
    font-size: 18px;
    font-weight: bold;
    background: var(--gold-main);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
}

/* --------------------
   الصورة يمين
-------------------- */
.details-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* يجعل الصورة بأقصى اليمين */
}

.package-side-image {
    width: 100%;
    max-width: 420px; /* الحجم المطلوب */
    border-radius: 12px;
}

/* --------------------
   الفيديو
-------------------- */
.section-video-proof {
    margin-top: 60px;
    padding: 40px 0;
    background: #fafafa;
}

.video-wrapper iframe {
    border-radius: 12px;
}

/* --------------------
   استجابة الجوال
-------------------- */
@media (max-width: 768px) {

    .package-details-grid {
        flex-direction: column;
        text-align: center;
    }

    .details-right {
        order: -1; /* الصورة فوق النقاط */
        justify-content: center;
    }

    .package-side-image {
        max-width: 300px;
        margin-bottom: 20px;
    }

    .price-and-button-row {
        justify-content: center;
        flex-direction: column;
    }
}

/* عنوان صفحة الباقات */
.packages-main-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 35px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--green-main);
}

.page-subtitle {
    font-size: 18px;
    color: #555;
}

/* شبكة الباقات */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* بطاقة باقة */
.package-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    padding: 14px;
    text-align: center;
    transition: 0.2s;
}

.package-card:hover {
    transform: translateY(-4px);
}

.package-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.package-card-title {
    margin: 14px 0 6px;
    font-size: 20px;
    font-weight: bold;
    color: var(--green-main);
}

.package-card-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
}

.package-price {
    background: var(--gold-main);
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto 15px;
}

.card-btn {
    display: block;
    width: fit-content;
    margin: auto;
    padding: 10px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* استجابة الجوال */
@media(max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}
.packages-grid {
    padding-bottom: 60px;
}
/* checkout page */

.checkout-wrapper {
    padding: 40px 0 60px;
    background: #f7f7f7;
}

.checkout-title {
    text-align: center;
    font-size: 28px;
    color: var(--green-main);
    margin-bottom: 25px;
}

.checkout-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.checkout-alert.error {
    background: #ffe5e5;
    color: #a10000;
}

.checkout-alert.success {
    background: #e4ffe5;
    color: #006b2d;
}

.checkout-form {
    max-width: 820px;
    margin: 0 auto;
}

/* كروت فخمة */
.checkout-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.45); /* ذهبي خفيف */
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 22px 20px;
    margin-bottom: 18px;
}

.checkout-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--green-main);
    margin-bottom: 14px;
}

/* ملخص الباقة */
.checkout-package-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.checkout-package-summary .summary-text {
    font-size: 15px;
    color: #333;
}

.checkout-package-summary .summary-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* عناصر النموذج */
.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: Tahoma, Arial, sans-serif;
}

.form-row textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
}

.radio-group label {
    cursor: pointer;
}

.required {
    color: #d00;
    font-weight: bold;
}

/* نطق الاسم */
.record-status {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

.small-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

/* Stripe placeholder */
.stripe-card-element {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 12px;
    background: #fafafa;
    margin-bottom: 16px;
}

.checkout-submit {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
}

/* استجابة الجوال */
@media (max-width: 768px) {
    .checkout-package-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-package-summary .summary-image img {
        width: 100%;
        max-width: 260px;
        height: auto;
    }
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(12, 81, 63, 0.55); /* أخضر رايق */
    box-shadow: 0 0 6px rgba(12, 81, 63, 0.25); /* وهج ناعم */
    background: #fff;
}

/* Success Page */
.success-wrapper {
    background: #f7f7f7;
    padding: 60px 0;
}

.success-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding: 35px 25px;
}

.success-icon {
    background: var(--green-main);
    color: #fff;
    font-size: 36px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: auto;
}

.success-title {
    font-size: 26px;
    color: var(--green-main);
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.success-message {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.success-order {
    font-size: 16px;
    margin-bottom: 25px;
    color: #222;
}

.success-order span {
    font-weight: bold;
    color: var(--gold-main);
}

.success-btn {
    padding: 12px 35px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}

/* Failed Page */
.failed-wrapper {
    background: #f7f7f7;
    padding: 60px 0;
}

.failed-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding: 35px 25px;
}

.failed-icon {
    background: #b30000;
    color: #fff;
    font-size: 36px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: auto;
}

.failed-title {
    font-size: 26px;
    color: #b30000;
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.failed-message {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
}

.failed-btn {
    padding: 12px 35px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.back-link {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--green-main);
    text-decoration: underline;
}

/* ============================
   SUCCESS PAGE
============================= */
.success-wrapper {
    padding: 60px 0;
}

.success-card {
    max-width: 520px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: #0C513F;
    color: #fff;
    border-radius: 50%;
    font-size: 40px;
    line-height: 70px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.success-title {
    color: #0C513F;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.success-text {
    color: #444;
    font-size: 16px;
    margin-bottom: 25px;
}

.order-box {
    background: #F5F5F5;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

.order-box strong {
    color: #0C513F;
}

.success-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.success-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #0C513F;
    border: 2px solid #0C513F;
}

/* ============================
   FAILED PAGE
============================= */

.failed-wrapper {
    padding: 60px 0;
}

.failed-card {
    max-width: 520px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    text-align: center;
    padding: 40px 30px;
}

.failed-icon {
    width: 70px;
    height: 70px;
    background: #C62828;
    color: #fff;
    border-radius: 50%;
    font-size: 40px;
    line-height: 70px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.failed-title {
    color: #C62828;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.failed-text {
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
}

.failed-list {
    list-style: none;
    padding: 0;
    color: #555;
    margin-bottom: 20px;
}

.failed-list li {
    margin: 5px 0;
}

.failed-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.failed-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.btn-outline-red {
    background: transparent;
    color: #C62828;
    border: 2px solid #C62828;
}

/* ============================
   PENDING PAGE
============================= */

.pending-wrapper {
    padding: 60px 0;
}

.pending-card {
    max-width: 520px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    text-align: center;
    padding: 40px 30px;
}

/* Loader (دائرة دوران) */
.pending-loader {
    width: 60px;
    height: 60px;
    border: 6px solid #eee;
    border-top-color: #0C513F;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pending-title {
    color: #0C513F;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pending-text {
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
}

.pending-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.pending-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

/* =========================================================
   Checkout Page — Premium UI by Nova & Abo Ahmed 💛
   ========================================================= */

.checkout-wrapper {
    padding: 50px 0;
}

.checkout-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-main);
    text-align: center;
    margin-bottom: 35px;
}

/* ------------------ Cards ------------------ */

.checkout-card {
    background: #ffffff;
    padding: 22px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}

.checkout-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #333;
}

/* ------------------ Summary Section ------------------ */

.checkout-package-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.summary-text div {
    margin-bottom: 6px;
    font-size: 15px;
}

.summary-image img {
    width: 160px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ------------------ Form Rows ------------------ */

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease-in-out;
    background: #fff;
}

.form-row textarea {
    resize: none;
}

/* -------- Improved Focus Effect -------- */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #0C513F;
    box-shadow: 0 0 0 3px rgba(12,81,63,0.15);
    outline: none;
}

/* ------------------ Radio Buttons ------------------ */

.radio-group {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 6px;
}

.radio-group label {
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.radio-group input {
    margin-left: 5px;
    cursor: pointer;
}

/* ---------------- Alerts ---------------- */

.checkout-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 15px;
}

.checkout-alert.error {
    background: #ffe5e5;
    color: #b30000;
    border: 1px solid #ffb3b3;
}

.checkout-alert.success {
    background: #e6ffed;
    color: #0a7d37;
    border: 1px solid #b6f5cc;
}

/* ---------------- Record Status ---------------- */

.record-status {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* ---------------- Submit Button ---------------- */

.checkout-submit {
    width: 100%;
    text-align: center;
    padding: 14px;
    margin-top: 10px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 10px;
    background: var(--gold-main);
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-submit:hover {
    background: #e0c04a;
}

/* ---------------- Mobile Adjustments ---------------- */

@media (max-width: 768px) {
    .checkout-package-summary {
        flex-direction: column;
        text-align: center;
    }

    .summary-image img {
        width: 100%;
        height: 160px;
    }
}

/* ================================
   FAQ Page — Royal Accordion Style
   ================================ */

.faq-hero {
    background-color: #F5F5F5;
    padding: 50px 0;
    text-align: center;
}

.faq-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--green-main);
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 16px;
    color: #444;
}

.faq-section {
    padding: 40px 0;
}

.faq-category {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 10px;
    color: #0C513F;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: #fff;
    border: none;
    font-size: 17px;
    font-weight: 700;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-main);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .3s ease;
}

.faq-answer p {
    padding: 15px 0 18px;
    font-size: 16px;
    color: #444;
}

/* تحسين المسافات بين مجموعات الأسئلة */
.faq-category {
    margin-top: 45px;    /* زيادة المسافة بين الفئة واللي قبلها */
    margin-bottom: 18px; /* مسافة قبل أول سؤال */
}

/* مسافة بين السؤال والعنوان */
.faq-item {
    margin-bottom: 16px;
}

/* ===========================================
   About Page — Royal Design
   =========================================== */

.about-hero {
    background: #F5F5F5;
    padding: 60px 0;
    text-align: center;
}

.about-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--green-main);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 17px;
    color: #444;
}

.about-section {
    padding: 50px 0;
}

.light-bg {
    background: #F9F9F9;
}

.about-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 20px;
    text-align: center;
}

.about-text {
    font-size: 17px;
    color: #444;
    max-width: 900px;
    line-height: 1.8;
    text-align: center;
    margin: 0 auto; 
}

.about-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.about-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 15px;
    color: #444;
}

.values-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.value-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-main);
    margin-bottom: 6px;
}

.value-box p {
    font-size: 15px;
    color: #444;
}

.about-cta {
    background: var(--green-main);
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-top: 40px;
}

.about-cta h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.cta-btn {
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 8px;
}

/* ======================================
   Fatwa Page — Royal Islamic Design
   ====================================== */

.fatwa-hero {
    background: #F5F5F5;
    padding: 60px 0;
    text-align: center;
}

.fatwa-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--green-main);
    margin-bottom: 10px;
}

.fatwa-subtitle {
    color: #555;
    font-size: 16px;
}

.fatwa-section {
    padding: 50px 0;
}

.light-bg {
    background: #F9F9F9;
}

.fatwa-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 25px;
}

.fatwa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.fatwa-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}

.fatwa-card h3 {
    font-size: 18px;
    color: var(--green-main);
    margin-bottom: 8px;
}

.fatwa-card p {
    color: #444;
    font-size: 15px;
    margin-bottom: 12px;
}

.fatwa-link {
    color: var(--gold-main);
    font-weight: 700;
    text-decoration: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.video-box iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.fatwa-summary {
    max-width: 900px;
    margin: auto;
    font-size: 17px;
    color: #444;
    line-height: 1.9;
    text-align: center;
}

.fatwa-cta {
    background: var(--green-main);
    text-align: center;
    padding: 60px 0;
    color: #fff;
}

.fatwa-cta h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

/* ==============================
   Contact Page — Royal Style
   ============================== */

.contact-hero {
    background: #F5F5F5;
    padding: 60px 0;
    text-align: center;
}

.contact-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--green-main);
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: #555;
}

.contact-section {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.contact-form .form-row {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green-main);
    box-shadow: 0 0 0 3px rgba(12, 81, 63, 0.15);
}

.contact-submit {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================
   How It Works Page — Royal Workflow Style
   ======================================= */

.how-hero {
    background: #F5F5F5;
    padding: 60px 0;
    text-align: center;
}

.how-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--green-main);
}

.how-subtitle {
    font-size: 16px;
    color: #555;
}

/* Steps Section */
.how-steps {
    padding: 60px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.step-box {
    background: white;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: var(--green-main);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features */
.how-features {
    background: #F9F9F9;
    padding: 60px 0;
}

.features-title {
    text-align: center;
    font-size: 26px;
    color: var(--green-main);
    font-weight: 700;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-box {
    background: white;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-main);
    margin-bottom: 6px;
}

.feature-box p {
    font-size: 15px;
    color: #444;
}

/* CTA */
.how-cta {
    background: var(--green-main);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.how-cta h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

/* =====================================
   HOME PAGE — Royal Service Landing
   ===================================== */

/* عناوين الأقسام العامة في الهوم */
.home-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--green-main);
    text-align: center;
    margin-bottom: 10px;
}

.home-section-subtitle {
    font-size: 16px;
    color: #555;
    text-align: center;
    max-width: 780px;
    margin: 0 auto 25px;
}

/* لماذا نحن */
.home-why {
    padding: 50px 0;
    background: #F9F9F9;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home-why-card {
    background: #fff;
    padding: 18px 18px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
}

.home-why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 8px;
}

.home-why-card p {
    font-size: 15px;
    color: #444;
}

/* الباقات في الهوم */
.home-packages {
    padding: 50px 0;
    background: #FFFFFF;
}

.home-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home-package-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
}

.home-package-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 8px;
}

.home-package-text {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
}

.home-package-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
}

/* قسم الفتاوى في الهوم */
.home-fatwa {
    padding: 50px 0;
    background: #F5F5F5;
}

.home-fatwa-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 25px;
    align-items: center;
    margin-top: 10px;
}

.home-fatwa-text ul.home-fatwa-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
    font-size: 15px;
    color: #444;
}

.home-fatwa-list li {
    margin-bottom: 6px;
    position: relative;
    padding-right: 14px;
}

.home-fatwa-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--gold-main);
}

.home-fatwa-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.home-fatwa-summary {
    font-size: 15px;
    color: #444;
}

/* فيديو التوثيق */
.home-video {
    padding: 50px 0;
    background: #FFFFFF;
}

.home-video-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.home-video-placeholder {
    background: #000;
    border-radius: 12px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    font-size: 15px;
    margin-bottom: 12px;
}

.home-video-note {
    font-size: 14px;
    color: #666;
}

/* كيف تعمل الخدمة مختصر */
.home-how {
    padding: 50px 0;
    background: #F9F9F9;
}

.home-how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.home-how-step {
    background: #fff;
    padding: 16px 14px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.home-how-step p {
    font-size: 14px;
    color: #444;
}

.how-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-main);
    color: #fff;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.home-how-link {
    text-align: center;
    margin-top: 25px;
}

/* تجارب العملاء */
.home-testimonials {
    padding: 50px 0;
    background: #FFFFFF;
}

.home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home-testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.home-testimonial-text {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
}

.home-testimonial-name {
    font-size: 13px;
    color: #777;
}

/* FAQ + CTA نهائي */
.home-faq-cta {
    padding: 50px 0 60px;
    background: #F5F5F5;
}

.home-faq-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
}

.home-faq-cta-text h2 {
    font-size: 22px;
    color: var(--green-main);
    margin-bottom: 6px;
}

.home-faq-cta-text p {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

.home-faq-cta-action h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
}

.home-main-cta {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 10px;
}

/* تجاوب */
@media (max-width: 768px) {
    .home-fatwa-inner {
        grid-template-columns: 1fr;
    }

    .home-faq-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Fatwa new layout */
.home-fatwa-layout {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}

.fatwa-video-box {
    text-align: center;
}

.fatwa-video-placeholder {
    background: #000;
    height: 240px;
    border-radius: 12px;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 8px;
}

.fatwa-video-note {
    color: #666;
    font-size: 13px;
}

.home-faq-mini {
    padding: 50px 0 60px;
    background: #F9F9F9;
    text-align: center;
}

.home-faq-mini-box {
    max-width: 760px;
    margin: 20px auto 30px;
    display: grid;
    gap: 20px;
}

.faq-small-item {
    background: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.faq-small-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 6px;
}

.faq-small-item p {
    font-size: 14px;
    color: #555;
}

.faq-mini-btn {
    padding: 12px 26px;
    border-radius: 10px;
}

/* ================================
   Home Page — FAQ Accordion
   ================================ */

.faq-accordion {
    max-width: 750px;
    margin: 25px auto 35px;
}

.faq-acc-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-acc-btn {
    width: 100%;
    background: #fff;
    border: none;
    text-align: right;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 22px;
    color: var(--green-main);
    transition: transform 0.25s;
}

.faq-acc-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.3s ease;
}

.faq-acc-content p {
    margin: 12px 0 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* عند الفتح */
.faq-acc-item.active .faq-acc-content {
    max-height: 200px;
}

.faq-acc-item.active .faq-icon {
    transform: rotate(45deg);
}

.home-package-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.home-about {
    padding: 80px 0;   /* نفس الأقسام الفخمة */
}

.home-about .container {
    max-width: 900px;
    text-align: center;
}

.home-about {
    background-color: #F5F5F5;
    padding: 80px 0;
}

/* منع سحب صورة الهيرو + منع تحديدها */
.hero img,
.hero-image,
.hero-media img {
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.home-about-text {
    margin-bottom: 16px;
}

/* صفحات السياسات */
.policy-hero{
  background:#F5F5F5;
  padding:60px 0;
}
.policy-title{
  color: var(--green-main);
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 8px 0;
}
.policy-subtitle{
  color:#444;
  margin:0;
  font-size:16px;
  line-height:1.8;
}
.policy-content{
  padding:50px 0 70px;
}
.policy-card{
  background:#fff;
  border-radius:14px;
  padding:26px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.policy-card h2{
  color: var(--gold-main);
  font-size:18px;
  margin:22px 0 10px;
}
.policy-card p, .policy-card li{
  color:#222;
  line-height:1.9;
  font-size:15px;
}
.policy-card ul{
  margin: 0 0 14px 0;
  padding-right: 18px;
}
.policy-card a{
  color: var(--green-main);
  font-weight:700;
  text-decoration:none;
}
.policy-updated{
  margin-top: 20px;
  color:#666;
  font-size:13px;
}
