@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald:    #0a7c4e;
    --emerald-dk: #065c39;
    --emerald-lt: #d4f4e5;
    --gold:       #c9a227;
    --gold-lt:    #f7e9b0;
    --cream:      #f8faf9;
    --white:      #ffffff;
    --text-dark:  #0e2218;
    --text-mid:   #3a5a48;
    --text-light: #6b8f7a;
    --shadow:     rgba(10, 60, 35, 0.13);
}

body {
    overflow: hidden;
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--cream);
    color: var(--text-dark);
}

/* ── HEADER ─────────────────────────────── */

.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: var(--emerald-dk);
    z-index: 200;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 6px;
}

.title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-lt);
    letter-spacing: .5px;
}

#progress {
    background: var(--gold);
    color: var(--emerald-dk);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ── SLIDER ──────────────────────────────── */

.slider {
    display: flex;
    height: 100vh;
    width: 2000vw;
    transition: transform .75s cubic-bezier(.77, 0, .18, 1);
}

/* ── SLIDE ──────────────────────────────── */

.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    padding: 90px 60px 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

/* subtle geometric bg motif */
.slide::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,124,78,.07), transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

/* ── IMAGE AREA ─────────────────────────── */

.image-area {
    width: 380px;
    height: 380px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boy {
    width: 300px;
    height: 360px;
    border-radius: 24px;
    background: linear-gradient(160deg, #eaf8f1, #d4f4e5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    box-shadow:
        0 8px 32px var(--shadow),
        0 2px 8px rgba(0,0,0,.08);
    animation: float 3.5s ease-in-out infinite;
}

.boy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

/* ── CONTENT CARD ───────────────────────── */

.content-card {
    width: 540px;
    background: var(--white);
    padding: 44px 48px;
    border-radius: 28px;
    border-top: 5px solid var(--gold);
    box-shadow: 0 20px 60px var(--shadow);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--emerald-lt) transparent;
}

.content-card::-webkit-scrollbar { width: 5px; }
.content-card::-webkit-scrollbar-thumb { background: var(--emerald-lt); border-radius: 10px; }

.content-card h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 14px;
    line-height: 1.3;
}

.content-card h2 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.content-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-mid);
}

.content-card hr {
    border: none;
    border-top: 1px dashed var(--emerald-lt);
    margin: 14px 0;
}

/* Arabic Quran font */
.quran-indopak {
    font-family: 'SaleemQuran', serif;
    font-size: 36px;
    font-weight: 700;
    direction: rtl;
    text-align: center;
    line-height: 2.5;
    color: var(--emerald-dk);
}

.quran-indopak p {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    direction: ltr;
    text-align: center;
    margin-bottom: 6px;
}

/* Section divider title */
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 10px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-label::before,
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-lt), transparent);
}

/* Allahu Akbar callout */
.takbeer-box {
    background: var(--emerald-lt);
    border-left: 4px solid var(--emerald);
    border-radius: 10px;
    padding: 12px 18px;
    margin: 14px 0 6px;
    text-align: center;
}

.takbeer-box h3 {
    font-family: 'SaleemQuran', serif;
    font-size: 26px;
    direction: rtl;
    color: var(--emerald-dk);
    margin: 0;
}

/* Completion card */
.slide:last-child .boy {
    font-size: 90px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}

.content-card button {
    margin-top: 26px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(10,124,78,.35);
    transition: transform .2s, box-shadow .2s;
}

.content-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(10,124,78,.4);
}

/* ── NAVIGATION BAR ─────────────────────── */

.navigation {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: var(--white);
    border-top: 1px solid var(--emerald-lt);
    box-shadow: 0 -4px 20px rgba(0,0,0,.07);
    z-index: 200;
}

.navigation button {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(10,124,78,.3);
    transition: transform .2s, box-shadow .2s;
}

.navigation button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10,124,78,.35);
}

.navigation button:active {
    transform: translateY(0);
}

/* Progress dots */
.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-lt);
    border: 2px solid var(--emerald);
    transition: all .3s;
    cursor: pointer;
}

.dot.active {
    background: var(--gold);
    border-color: var(--gold);
    width: 22px;
    border-radius: 5px;
}

/* ── MOBILE ─────────────────────────────── */

@media (max-width: 900px) {
    .header { padding: 0 16px; height: 60px; }
    .header .title { display: none; }
    .logo img { height: 40px; }
    #progress { padding: 6px 14px; font-size: 12px; }

    .slide {
        flex-direction: column;
        gap: 18px;
        padding: 80px 16px 90px;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .image-area { width: 200px; height: 240px; }
    .boy { width: 180px; height: 220px; border-radius: 16px; font-size: 80px; }

    .content-card {
        width: 100%;
        padding: 22px 20px;
        border-radius: 20px;
        max-height: none;
    }

    .content-card h1 { font-size: 18px; }
    .content-card h2 { font-size: 16px; }
    .quran-indopak { font-size: 22px; }

    .navigation { height: 62px; gap: 16px; }
    .navigation button { padding: 10px 22px; font-size: 14px; }
}
