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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #07111f;
    color: #f8fafc;
    overflow: hidden;
}


/* =========================
   SLIDE
========================= */

.slide {
    width: 100%;
    height: 100vh;
    min-height: 650px;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 50px 8%;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(14, 165, 233, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(16, 185, 129, 0.10),
            transparent 30%
        ),
        #07111f;
}

.slide.active {
    display: flex;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================
   CONTENT
========================= */

.content {
    width: 100%;
    max-width: 1200px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 20px;
}

.content::-webkit-scrollbar {
    width: 5px;
}

.content::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.center {
    text-align: center;
    max-width: 950px;
    overflow: visible;
}


/* =========================
   TEXT
========================= */

.badge {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 20px;

    border-radius: 50px;

    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);

    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 3px;
}

.number {
    display: inline-block;

    color: #38bdf8;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 10px;
}

h1 {
    font-size: clamp(45px, 7vw, 82px);
    line-height: 1.05;

    margin-bottom: 25px;

    font-weight: 800;
}

h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;

    margin-bottom: 20px;
}

h3 {
    margin-bottom: 10px;
}

p {
    color: #cbd5e1;
    line-height: 1.7;
}

.description {
    max-width: 780px;

    margin: 0 auto 25px;

    font-size: 17px;
}

.intro {
    max-width: 900px;
    margin-bottom: 25px;
}

.creator {
    margin-bottom: 30px;

    color: #94a3b8;

    font-size: 14px;
}

.creator strong {
    color: #38bdf8;
}


/* =========================
   BUTTON
========================= */

button {
    border: none;
    cursor: pointer;

    padding: 13px 24px;

    border-radius: 12px;

    background: #0284c7;

    color: white;

    font-size: 15px;
    font-weight: 600;

    transition: 0.25s;
}

button:hover {
    background: #0ea5e9;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}


/* =========================
   CARDS
========================= */

.cards {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.card {
    padding: 23px;

    border-radius: 18px;

    background: rgba(30, 41, 59, 0.55);

    border: 1px solid rgba(148, 163, 184, 0.12);

    backdrop-filter: blur(10px);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);

    border-color: rgba(56, 189, 248, 0.4);
}

.card-icon {
    font-size: 28px;

    margin-bottom: 10px;
}

.card h3 {
    color: #f8fafc;
}

.card p {
    font-size: 14px;
}


/* =========================
   MASJID ILLUSTRATION
========================= */

.mosque {
    height: 170px;

    position: relative;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    margin: 15px 0 5px;

    border-radius: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            #172554,
            #07111f
        );
}

.moon {
    position: absolute;

    top: 20px;
    right: 15%;

    font-size: 30px;

    color: #f8fafc;
}

.dome {
    position: absolute;

    bottom: 70px;

    width: 110px;
    height: 65px;

    border-radius: 100px 100px 0 0;

    background: #475569;
}

.mosque-body {
    width: 65%;
    height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 22px;

    background: #475569;

    border-radius: 6px 6px 0 0;
}

.door {
    width: 35px;
    height: 53px;

    background: #172033;

    border-radius: 18px 18px 0 0;
}

.window {
    width: 25px;
    height: 35px;

    background: #94a3b8;

    border-radius: 5px;
}

.visual-note {
    text-align: center;

    font-size: 11px;

    color: #64748b;

    margin-bottom: 15px;
}


/* =========================
   INFO
========================= */

.info-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.info-box {
    padding: 18px;

    border-left: 3px solid #38bdf8;

    background: rgba(30, 41, 59, 0.5);

    border-radius: 0 12px 12px 0;
}

.info-box h3 {
    color: #38bdf8;

    font-size: 17px;
}

.info-box p {
    font-size: 13px;
}


/* =========================
   METHODS
========================= */

.methods {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.method {
    padding: 20px;

    background: rgba(30, 41, 59, 0.55);

    border: 1px solid rgba(148, 163, 184, 0.12);

    border-radius: 16px;

    transition: 0.3s;
}

.method:hover {
    transform: translateY(-5px);

    border-color: rgba(56, 189, 248, 0.3);
}

.method > span {
    display: block;

    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    margin-bottom: 8px;
}

.method h3 {
    font-size: 18px;
}

.method p {
    font-size: 13px;

    margin-bottom: 10px;
}

.method small {
    color: #94a3b8;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================
   AYAT
========================= */

.ayat {
    padding: 25px;

    margin-bottom: 18px;

    background: rgba(30, 41, 59, 0.6);

    border: 1px solid rgba(148, 163, 184, 0.12);

    border-radius: 20px;
}

.arabic {
    direction: rtl;

    text-align: right;

    color: #f8fafc;

    font-size: 24px;

    line-height: 2;

    margin-bottom: 20px;
}

.translation {
    padding-left: 15px;

    border-left: 3px solid #38bdf8;

    font-size: 13px;

    font-style: italic;
}

.source {
    margin-top: 15px;

    color: #38bdf8;

    font-weight: bold;
}

.explanation {
    padding: 20px;

    background: rgba(15, 23, 42, 0.7);

    border-radius: 16px;
}

.explanation h3 {
    color: #38bdf8;
}

.explanation p {
    font-size: 13px;

    margin-bottom: 10px;
}

.reference {
    padding-top: 10px;

    color: #94a3b8;

    font-size: 11px;
}


/* =========================
   IBRAH
========================= */

.ibrah {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 30px 0;
}

.ibrah-card {
    flex: 1;

    padding: 25px;

    text-align: center;

    background: rgba(30, 41, 59, 0.6);

    border: 1px solid rgba(148, 163, 184, 0.12);

    border-radius: 18px;
}

.big-icon {
    font-size: 35px;

    margin-bottom: 10px;
}

.ibrah-card h3 {
    color: #38bdf8;

    letter-spacing: 2px;
}

.ibrah-card p {
    font-size: 13px;
}

.arrow {
    color: #38bdf8;

    font-size: 28px;

    font-weight: bold;
}

.example {
    padding: 20px;

    background: rgba(30, 41, 59, 0.5);

    border-radius: 16px;
}

.example h3 {
    color: #38bdf8;
}

.example ul {
    padding-left: 20px;
}

.example li {
    color: #cbd5e1;

    margin: 7px 0;

    font-size: 13px;
}


/* =========================
   NAVIGATION
========================= */

.navigation {
    position: fixed;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 100;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 8px 12px;

    border-radius: 50px;

    background: rgba(7, 17, 31, 0.9);

    border: 1px solid rgba(148, 163, 184, 0.2);

    backdrop-filter: blur(10px);
}

.navigation button {
    width: 40px;
    height: 40px;

    padding: 0;

    border-radius: 50%;

    background: #1e293b;
}

.navigation button:hover {
    background: #0284c7;
}

#slideNumber {
    min-width: 50px;

    text-align: center;

    color: #cbd5e1;

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

.footer {
    position: fixed;

    bottom: 12px;
    right: 20px;

    color: #475569;

    font-size: 10px;

    z-index: 90;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .slide {
        padding: 35px 5% 90px;
    }

    .cards,
    .info-grid {
        grid-template-columns: 1fr;
    }

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


@media (max-width: 600px) {

    .slide {
        min-height: 100vh;

        padding: 25px 15px 90px;
    }

    .content {
        max-height: 85vh;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

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

    .ibrah {
        flex-direction: column;
    }

    .ibrah-card {
        width: 100%;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .arabic {
        font-size: 19px;
    }

    .mosque-body {
        width: 85%;
    }

    .footer {
        display: none;
    }
}