/* ============================================================
   UMRAH GUIDE — Animated & Beautiful Styling
   ============================================================ */

:root {
    --card-bg: #ffffff;
    --card-radius: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.14);
    --text-main: #1a1a2e;
    --text-soft: #5a5a7a;
    --dua-bg: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    --dua-border: #10b981;
}

/* ---- Container ---- */
.umrah-guide {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 16px 80px;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

/* ---- Phase Header ---- */
.umrah-phase-header {
    text-align: center;
    padding: 32px 16px 24px;
    margin-bottom: 24px;
    border-radius: 24px;
    background: var(--phase-accent, #2e7d32);
    color: #fff;
    box-shadow: var(--shadow);
    animation: headerFadeIn 0.6s ease-out;
}

.umrah-phase-header .phase-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 8px;
    animation: floatY 3s ease-in-out infinite;
}

.umrah-phase-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.umrah-phase-header .phase-intro {
    margin-top: 8px;
    font-size: 16px;
    opacity: 0.92;
    direction: rtl;
}

/* ---- Step Card ---- */
.umrah-step {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 20px 20px 20px 64px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    border-right: 5px solid var(--step-accent, #2e7d32);
    direction: rtl;
    text-align: right;
    opacity: 0;
    transform: translateY(24px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.umrah-step.visible {
    animation: slideUp 0.5s ease-out forwards;
}

.umrah-step:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.umrah-step .step-icon {
    position: absolute;
    right: 16px;
    top: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: var(--step-accent, #2e7d32);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.umrah-step .step-text {
    font-size: 17px;
    line-height: 2;
    color: var(--text-main);
    margin: 0 0 8px;
}

.umrah-step .step-source {
    display: inline-block;
    font-size: 13px;
    color: var(--text-soft);
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 6px;
}

/* ---- Dua Box ---- */
.umrah-step .dua-box {
    margin-top: 14px;
    padding: 18px 16px;
    border-radius: 14px;
    background: var(--dua-bg);
    border: 1.5px solid var(--dua-border);
    position: relative;
    animation: duaGlow 3s ease-in-out infinite;
}

.umrah-step .dua-box::before {
    content: "🤲";
    position: absolute;
    top: -14px;
    right: 18px;
    font-size: 22px;
    background: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.umrah-step .dua-arabic {
    font-family: 'Traditional Arabic', 'Scheherazade New', 'Amiri', serif;
    font-size: 23px;
    line-height: 2.2;
    color: #065f46;
    direction: rtl;
    text-align: right;
    margin: 0 0 12px;
}

.umrah-step .dua-translation {
    font-size: 15px;
    line-height: 1.9;
    color: #047857;
    border-top: 1px dashed #a7f3d0;
    padding-top: 10px;
    margin: 0;
}

/* ---- Animations ---- */
@keyframes headerFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes duaGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.15); }
    50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .umrah-step,
    .umrah-step.visible,
    .umrah-phase-header,
    .umrah-phase-header .phase-icon,
    .umrah-step .dua-box {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}