
.hajj-page { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.hajj-hero,
.hajj-step,
.hajj-card,
.hajj-qurban-section,
.hajj-overview-video { scroll-margin-top: calc(var(--glrcf-sticky-top, 120px) + 65px); }
.hajj-hero {
    background: linear-gradient(135deg, #022c22 0%, #0f766e 40%, #22c55e 100%);
    color: #fff; border-radius: 16px; padding: 28px 24px; margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(4,120,87,0.5);
}
.hajj-hero h1 { margin: 0 0 8px 0; font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.hajj-hero p { margin: 0 0 12px 0; opacity: 0.95; font-size: 0.95rem; line-height: 1.5; }
.hajj-hero-note { font-size: 0.85rem; opacity: 0.9; padding: 10px 12px; background: rgba(255,255,255,0.12); border-radius: 10px; }

.hajj-overview-video {
    margin-bottom: 28px; border-radius: 14px; overflow: hidden;
    border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(15,23,42,0.08); background: #0b1220;
}
.hajj-overview-video .hv-head { padding: 12px 16px; background: #111827; color: #fff; font-weight: 600; font-size: 0.92rem; }
.hajj-overview-video .hv-frame { position: relative; padding-bottom: 56.25%; height: 0; }
.hajj-overview-video .hv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hajj-timeline { position: relative; padding-left: 0; }
.hajj-timeline::before {
    content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, #0f766e, #22c55e); border-radius: 3px;
}

.hajj-step {
    position: relative; margin-bottom: 28px; padding-left: 56px;
}
.hajj-step-num {
    position: absolute; left: 0; top: 0; width: 48px; height: 48px;
    border-radius: 50%; background: #0f766e; color: #fff; font-weight: 800; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px #ecfdf5; z-index: 1;
}
.hajj-step-body {
    background: #fff; border-radius: 16px; border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15,23,42,0.05); overflow: hidden;
}
.hajj-step-head { padding: 18px 20px 0; }
.hajj-step-day { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0f766e; margin-bottom: 4px; }
.hajj-step-title { margin: 0 0 6px 0; font-size: 1.15rem; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.hajj-step-title i { color: #0f766e; }
.hajj-step-loc { font-size: 0.82rem; color: #64748b; margin-bottom: 10px; }
.hajj-step-loc i { margin-right: 4px; color: #94a3b8; }
.hajj-step-summary { margin: 0; font-size: 0.92rem; color: #475569; line-height: 1.55; }

.hajj-step-media { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 14px; border-top: 1px solid #f1f5f9; }
@media (min-width: 640px) { .hajj-step-media { grid-template-columns: 1fr 1fr; } }
.hajj-step-photo img { display: block; width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.hajj-step-video { background: #0b1220; }
.hajj-step-video .sv-label { padding: 8px 12px; font-size: 0.78rem; color: #cbd5e1; background: #111827; }
.hajj-step-video .sv-frame { position: relative; padding-bottom: 56.25%; height: 0; }
.hajj-step-video .sv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hajj-step-actions { padding: 14px 20px; background: #f8fafc; border-top: 1px solid #f1f5f9; }
.hajj-step-actions h4 { margin: 0 0 8px 0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.hajj-step-actions ul { margin: 0; padding-left: 18px; font-size: 0.88rem; color: #334155; line-height: 1.55; }

.hajj-proof { padding: 14px 20px 18px; display: grid; gap: 10px; }
.hajj-quran, .hajj-hadith {
    font-size: 0.88rem; line-height: 1.55; padding: 12px 14px; border-radius: 10px; margin: 0;
}
.hajj-quran { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.hajj-hadith { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.hajj-quran cite, .hajj-hadith cite { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 700; font-style: normal; opacity: 0.85; }
.hajj-quran q, .hajj-hadith q { quotes: "\201C" "\201D" "\2018" "\2019"; font-style: italic; }

.hajj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.hajj-card {
    background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15,23,42,0.05);
}
.hajj-card h2 { margin: 0 0 10px 0; font-size: 1.1rem; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.hajj-card h2 i { color: #0f766e; }
.hajj-card p { margin: 0 0 12px 0; font-size: 0.92rem; color: #64748b; line-height: 1.5; }

.hajj-qurban-section {
    margin-top: 36px; background: #fff; border-radius: 16px; padding: 24px 22px;
    border: 1px solid #e2e8f0; box-shadow: 0 4px 14px rgba(15,23,42,0.05);
}
.hajj-qurban-section h2 { margin: 0 0 10px 0; font-size: 1.25rem; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.hajj-qurban-section h2 i { color: #0f766e; }
.hajj-qurban-intro { margin: 0 0 20px 0; font-size: 0.95rem; color: #475569; line-height: 1.55; }
.hajj-proof-block { margin-bottom: 22px; }
.hajj-proof-block h3 { margin: 0 0 10px 0; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.hajj-proof-list { display: grid; gap: 10px; }
.hajj-rules { margin-top: 8px; }
.hajj-rules h3 { margin: 0 0 14px 0; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.hajj-rule-block { margin-bottom: 18px; padding: 14px 16px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.hajj-rule-block h4 { margin: 0 0 8px 0; font-size: 0.95rem; color: #0f766e; }
.hajj-rule-block ul { margin: 0; padding-left: 18px; font-size: 0.88rem; color: #334155; line-height: 1.55; }
.hajj-rule-block li { margin-bottom: 6px; }
.hajj-rule-block li:last-child { margin-bottom: 0; }

.hajj-note { margin-top: 28px; font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }
.hajj-eid-wrap { margin-bottom: 28px; }
.hajj-eid-wrap .hajj-card { margin-bottom: 0; }

/* In-Page Dropdown Navigation (Option 3: Below Green Hero Banner) */
.hajj-dropdown-nav {
    position: relative;
    margin-bottom: 24px;
    z-index: 40;
}
.hajj-dropdown-container {
    position: relative;
    max-width: 100%;
}
.hajj-details-menu {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #0f766e;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.12);
}
.hajj-details-menu summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #065f46;
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
    background: #ffffff;
    transition: background 0.2s, color 0.2s;
}
.hajj-details-menu summary::-webkit-details-marker { display: none; }
.hajj-details-menu summary:hover { background: #f0fdf4; }
.hajj-details-menu[open] summary {
    border-bottom: 1px solid #e2e8f0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.hajj-details-menu summary i.fa-chevron-down { transition: transform 0.2s ease; }
.hajj-details-menu[open] summary i.fa-chevron-down { transform: rotate(180deg); }

.hajj-dropdown-list {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    max-height: min(380px, calc(100vh - 180px));
    overflow-y: auto;
    background: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.hajj-dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 0.92rem;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.hajj-dropdown-list li a:hover {
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 600;
}
.hajj-dropdown-list .step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f766e;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}
.hajj-dropdown-list .topic-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.hajj-dropdown-list .divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

/* Fixed Floating Quick-Jump Bar (Option 4: Floating when scrolling down) */
.hajj-floating-bar {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(680px, calc(100% - 24px)) !important;
    z-index: 2147483640 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.hajj-floating-details {
    position: relative;
    border-radius: 999px;
}
.hajj-floating-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #022c22 0%, #0f766e 60%, #10b981 100%) !important;
    border: 1.5px solid #34d399 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 26px rgba(2, 44, 34, 0.4), 0 2px 8px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hajj-floating-summary::-webkit-details-marker { display: none; }
.hajj-floating-summary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(2, 44, 34, 0.5), 0 4px 12px rgba(0,0,0,0.2) !important;
}
.hajj-floating-details[open] .hajj-floating-summary {
    border-bottom-left-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
}
.hajj-floating-arrow { transition: transform 0.2s ease; }
.hajj-floating-details[open] .hajj-floating-arrow { transform: rotate(180deg); }
.hajj-floating-menu-list {
    margin-top: 6px !important;
    border: 1.5px solid #0f766e !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 40px rgba(0,0,0,0.28) !important;
}
