/* =========================================================
   ROOT
========================================================= */

:root{

    --bg:#071410;
    --bg-deep:#04100c;
    --bg-soft:#0b1b15;
    --bg-card:#0d2119;

    --green:#173d2d;
    --green-light:#245b43;

    --gold:#c9a04b;
    --gold-light:#e7c879;
    --gold-pale:#f1dca3;

    --white:#f7f3e9;
    --text:#f3efe5;
    --muted:#98a59f;
    --muted-light:#b8c0bb;

    --border:rgba(201,160,75,.20);
    --border-light:rgba(255,255,255,.08);

    --shadow:
        0 30px 90px rgba(0,0,0,.35);

    --radius:18px;

}


/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(34,91,67,.12),
            transparent 30%
        ),
        var(--bg);

    color:var(--text);

    font-family:"Vazirmatn",sans-serif;

    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}


/* =========================================================
   AMBIENT LIGHT
========================================================= */

.ambient-light{

    position:fixed;

    width:420px;
    height:420px;

    border-radius:50%;

    filter:blur(130px);

    pointer-events:none;

    z-index:-1;

    opacity:.08;
}

.ambient-light-1{

    top:-220px;
    right:-120px;

    background:#277653;
}

.ambient-light-2{

    bottom:-240px;
    left:-120px;

    background:#c9a04b;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar{

    position:relative;

    width:100%;

    height:82px;

    background:rgba(7,20,16,.78);

    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,.045);

    z-index:1000;
}

.main-navbar .container{

    height:100%;

    display:flex;

    align-items:center;
}


/* BRAND */

.navbar-brand{

    display:flex;

    align-items:center;

    gap:11px;

    color:var(--text);
}

.brand-icon{

    width:44px;
    height:44px;

    display:flex;

    align-items:center;
    justify-content:center;

    border:1px solid var(--border);

    border-radius:12px;

    background:rgba(201,160,75,.055);

    color:var(--gold-light);

    font-size:20px;
}

.brand-text strong{

    display:block;

    font-family:"Estedad",sans-serif;

    font-size:17px;

    font-weight:800;

    line-height:1.2;
}

.brand-text small{

    display:block;

    margin-top:4px;

    color:#74827b;

    font-size:8px;
}


/* NAV LINKS */

.nav-link{

    position:relative;

    color:#9eaaa4!important;

    margin:0 8px;

    padding:10px 8px!important;

    font-size:13px;

    transition:.3s ease;
}

.nav-link::after{

    content:"";

    position:absolute;

    bottom:2px;

    right:50%;

    width:0;

    height:1px;

    background:var(--gold);

    transition:.3s ease;

    transform:translateX(50%);
}

.nav-link:hover,
.nav-link.active{

    color:var(--gold-light)!important;
}

.nav-link:hover::after,
.nav-link.active::after{

    width:18px;
}


/* NAV ACTIONS */

.nav-actions{

    display:flex;

    align-items:center;

    gap:22px;
}

.login-link{

    color:#b5bfba;

    font-size:13px;

    transition:.3s;
}

.login-link:hover{

    color:var(--gold-light);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-gold{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    padding:12px 20px;

    border-radius:11px;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color:#17140e;

    font-size:12px;

    font-weight:800;

    box-shadow:
        0 10px 30px rgba(201,160,75,.08);

    transition:.3s ease;
}

.btn-gold:hover{

    color:#17140e;

    transform:translateY(-2px);

    box-shadow:
        0 14px 35px rgba(201,160,75,.15);
}


/* =========================================================
   HERO
========================================================= */

.hero{

    position:relative;

    min-height:calc(100vh - 82px);

    overflow:hidden;

    isolation:isolate;
}

.hero-pattern{

    position:absolute;

    inset:0;

    opacity:.028;

    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(255,255,255,.8) 1px,
            transparent 0
        );

    background-size:42px 42px;

    pointer-events:none;
}


/* ORBITS */

.hero-orbit{

    position:absolute;

    border:1px solid rgba(201,160,75,.08);

    border-radius:50%;

    pointer-events:none;

    z-index:-1;
}

.hero-orbit-1{

    width:620px;
    height:620px;

    left:-100px;
    top:50%;

    transform:translateY(-50%);
}

.hero-orbit-2{

    width:780px;
    height:780px;

    left:-180px;
    top:50%;

    transform:translateY(-50%);

    border-style:dashed;

    opacity:.55;
}


/* HERO CONTAINER */

.hero-container{

    position:relative;

    min-height:calc(100vh - 82px);

    display:flex;

    flex-direction:column;

    justify-content:center;
}


/* HERO CONTENT */

.hero-content{

    position:relative;

    min-height:610px;

    display:flex;

    align-items:center;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy{

    position:relative;

    z-index:20;

    width:52%;

    padding:30px 0 30px 5%;
}


/* BADGE */

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:9px;

    padding:9px 15px;

    margin-bottom:25px;

    border:1px solid var(--border);

    border-radius:999px;

    background:rgba(201,160,75,.045);

    color:var(--gold-light);

    font-size:11px;
}

.pulse-dot{

    width:7px;
    height:7px;

    border-radius:50%;

    background:#73c99b;

    box-shadow:
        0 0 12px rgba(115,201,155,.8);

    animation:pulse 2s infinite;
}

@keyframes pulse{

    0%,100%{
        opacity:.7;
        transform:scale(.9);
    }

    50%{
        opacity:1;
        transform:scale(1.1);
    }
}


/* TITLE */

.hero-title{

    margin:0;

    font-family:"Estedad",sans-serif;

    font-size:clamp(55px,6vw,86px);

    font-weight:900;

    line-height:1.08;

    letter-spacing:-3px;

    color:var(--text);
}

.hero-title span{

    display:block;
}

.gold-text{

    color:transparent;

    background:
        linear-gradient(
            120deg,
            #f3d98f,
            #c79c45 65%,
            #a77c2e
        );

    -webkit-background-clip:text;
    background-clip:text;
}


/* ARABIC */

.hero-arabic{

    margin:22px 0 10px;

    font-family:"Amiri",serif;

    color:var(--gold-light);

    font-size:28px;

    line-height:1.5;
}


/* DESCRIPTION */

.hero-description{

    max-width:520px;

    margin:10px 0 27px;

    color:var(--muted);

    font-size:13px;

    line-height:2.1;
}


/* HERO BUTTONS */

.hero-buttons{

    display:flex;

    align-items:center;

    gap:11px;

    flex-wrap:wrap;
}

.btn-primary-custom,
.btn-outline-custom{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    min-height:48px;

    padding:12px 20px;

    border-radius:10px;

    font-size:12px;

    font-weight:700;

    transition:.3s ease;
}

.btn-primary-custom{

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color:#17140e;
}

.btn-primary-custom:hover{

    color:#17140e;

    transform:translateY(-2px);
}

.btn-outline-custom{

    color:#c7cec9;

    border:1px solid rgba(255,255,255,.10);

    background:rgba(255,255,255,.025);
}

.btn-outline-custom:hover{

    color:var(--gold-light);

    border-color:var(--border);

    background:rgba(201,160,75,.04);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats{

    display:flex;

    align-items:center;

    gap:24px;

    margin-top:35px;

    width:max-content;

    max-width:100%;
}

.stat strong{

    display:block;

    color:var(--gold-light);

    font-family:"Estedad",sans-serif;

    font-size:20px;

    font-weight:800;
}

.stat span{

    display:block;

    margin-top:3px;

    color:#73817a;

    font-size:9px;
}

.stat-divider{

    width:1px;

    height:34px;

    background:rgba(255,255,255,.10);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual{

    position:absolute;

    left:0;

    top:50%;

    width:50%;

    height:600px;

    transform:translateY(-50%);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:5;

    pointer-events:none;
}


/* GLOW */

.quran-glow{

    position:absolute;

    width:430px;
    height:430px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(201,160,75,.16),
            rgba(35,105,75,.09) 45%,
            transparent 72%
        );

    filter:blur(50px);
}


/* RINGS */

.quran-ring{

    position:absolute;

    border-radius:50%;

    border:1px solid rgba(201,160,75,.12);
}

.ring-one{

    width:500px;
    height:500px;
}

.ring-two{

    width:640px;
    height:640px;

    border-style:dashed;

    opacity:.6;
}


/* =========================================================
   QURAN CARD
========================================================= */

.quran-card{

    position:relative;

    width:310px;
    height:410px;

    padding:30px;

    border-radius:10px;

    transform:rotate(-5deg);

    background:
        linear-gradient(
            145deg,
            #15372a,
            #081a13
        );

    border:1px solid rgba(201,160,75,.45);

    box-shadow:
        0 45px 100px rgba(0,0,0,.50),
        0 0 70px rgba(201,160,75,.06),
        inset 0 0 60px rgba(201,160,75,.025);

    overflow:hidden;
}

.quran-border{

    position:absolute;

    inset:11px;

    border:1px solid rgba(201,160,75,.17);

    pointer-events:none;
}

.quran-border::before,
.quran-border::after{

    content:"";

    position:absolute;

    width:35px;
    height:35px;

    border-color:rgba(201,160,75,.35);

    border-style:solid;
}

.quran-border::before{

    top:-1px;
    right:-1px;

    border-width:1px 1px 0 0;
}

.quran-border::after{

    bottom:-1px;
    left:-1px;

    border-width:0 0 1px 1px;
}


.quran-top{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:space-between;

    color:#819189;

    font-size:9px;
}

.quran-main{

    position:relative;

    z-index:2;

    height:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    padding-top:92px;
}

.bismillah-title{

    font-family:"Amiri",serif;

    color:var(--gold-light);

    font-size:62px;

    line-height:1;
}

.quran-divider{

    width:80px;

    height:1px;

    margin:28px 0 18px;

    background:var(--gold);

    opacity:.45;
}

.bismillah{

    font-family:"Amiri",serif;

    color:#bdc7c1;

    font-size:17px;

    text-align:center;
}

.quran-ornament{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    color:var(--gold);

    font-family:"Amiri",serif;

    font-size:20px;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card{

    position:absolute;

    z-index:10;

    display:flex;

    align-items:center;

    gap:11px;

    padding:12px 14px;

    min-width:165px;

    border:1px solid rgba(255,255,255,.09);

    border-radius:13px;

    background:rgba(13,33,25,.88);

    backdrop-filter:blur(15px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.30);

    animation:float 4s ease-in-out infinite;
}

.floating-bottom{
    animation-delay:-2s;
}

@keyframes float{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }
}

.floating-top{

    top:105px;
    right:5px;
}

.floating-bottom{

    bottom:85px;
    left:5px;
}

.floating-icon{

    width:34px;
    height:34px;

    flex:none;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:9px;

    color:var(--gold-light);

    background:rgba(201,160,75,.09);
}

.floating-card strong{

    display:block;

    color:#dbe0dc;

    font-size:10px;
}

.floating-card small{

    display:block;

    margin-top:4px;

    color:#74817b;

    font-size:8px;
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom{

    position:relative;

    z-index:20;

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    padding-bottom:25px;
}

.ornament-line{

    width:150px;

    height:1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(201,160,75,.42)
        );
}

.ornament-line:last-of-type{

    background:
        linear-gradient(
            to left,
            transparent,
            rgba(201,160,75,.42)
        );
}

.ornament-symbol{

    margin:0 13px;

    color:var(--gold);

    font-family:"Amiri",serif;

    font-size:20px;
}

.hero-bottom p{

    position:absolute;

    top:27px;

    margin:0;

    color:#66746d;

    font-size:10px;
}


/* =========================================================
   SECTIONS
========================================================= */

.courses-section,
.why-section{

    position:relative;

    padding:110px 0;

    background:
        linear-gradient(
            to bottom,
            #0a1a14,
            #081611
        );

    border-top:1px solid rgba(255,255,255,.025);
}


/* SECTION HEADING */

.section-heading{

    position:relative;

    z-index:2;
}

.section-label{

    display:inline-block;

    margin-bottom:10px;

    color:var(--gold-light);

    font-size:11px;

    font-weight:500;
}

.section-heading h2{

    margin:0;

    font-family:"Estedad",sans-serif;

    font-size:36px;

    font-weight:800;

    color:var(--text);
}

.section-heading p{

    margin-top:10px;

    color:var(--muted);

    font-size:12px;
}


/* =========================================================
   COURSE CARDS
========================================================= */

.course-card{

    position:relative;

    min-height:400px;

    padding:40px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.065);

    border-radius:20px;

    background:
        linear-gradient(
            145deg,
            #10281e,
            #091712
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.18);

    transition:.35s ease;
}

.course-card:hover{

    transform:translateY(-6px);

    border-color:var(--border);
}

.course-card::before{

    content:"";

    position:absolute;

    width:260px;
    height:260px;

    top:-160px;
    left:-100px;

    border-radius:50%;

    background:rgba(201,160,75,.06);

    filter:blur(35px);
}

.course-card-featured{

    background:
        linear-gradient(
            145deg,
            #123326,
            #091812
        );
}

.course-icon{

    width:58px;
    height:58px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:15px;

    color:var(--gold-light);

    border:1px solid var(--border);

    background:rgba(201,160,75,.055);

    font-size:23px;

    margin-bottom:28px;
}

.course-number{

    position:absolute;

    top:27px;
    left:32px;

    color:rgba(255,255,255,.035);

    font-family:"Estedad",sans-serif;

    font-size:65px;

    font-weight:900;
}

.course-card h3{

    margin-bottom:12px;

    font-family:"Estedad",sans-serif;

    font-size:25px;

    font-weight:800;
}

.course-card p{

    max-width:500px;

    color:var(--muted);

    font-size:12px;

    line-height:2;
}

.course-card ul{

    list-style:none;

    padding:0;

    margin:22px 0;
}

.course-card li{

    margin:9px 0;

    color:#aeb8b2;

    font-size:11px;
}

.course-card li i{

    margin-left:6px;

    color:var(--gold-light);
}

.course-link{

    display:inline-flex;

    align-items:center;

    gap:9px;

    color:var(--gold-light);

    font-size:11px;

    font-weight:700;
}


/* =========================================================
   WHY
========================================================= */

.big-heading{

    margin:10px 0 22px;

    font-family:"Estedad",sans-serif;

    font-size:42px;

    line-height:1.45;

    font-weight:800;
}

.big-heading span{

    color:var(--gold-light);
}

.text-muted-custom{

    max-width:470px;

    color:var(--muted);

    line-height:2.2;

    font-size:13px;
}


/* FEATURES */

.features-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:14px;
}

.feature-box{

    padding:27px;

    border:1px solid rgba(255,255,255,.055);

    border-radius:16px;

    background:rgba(255,255,255,.025);

    transition:.3s;
}

.feature-box:hover{

    transform:translateY(-5px);

    border-color:var(--border);

    background:rgba(201,160,75,.035);
}

.feature-box i{

    color:var(--gold-light);

    font-size:23px;
}

.feature-box h4{

    margin-top:17px;

    margin-bottom:8px;

    font-family:"Estedad",sans-serif;

    font-size:14px;
}

.feature-box p{

    margin:0;

    color:#77847e;

    font-size:10px;

    line-height:1.9;
}


/* =========================================================
   CTA
========================================================= */

.cta-section{

    padding:90px 0;

    background:#071410;
}

.cta-box{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:80px 25px;

    border:1px solid var(--border);

    border-radius:24px;

    background:
        radial-gradient(
            circle at center,
            rgba(201,160,75,.12),
            transparent 55%
        ),
        #0d2118;
}

.cta-box > span{

    color:var(--gold-light);

    font-size:11px;
}

.cta-box h2{

    position:relative;

    z-index:2;

    margin:14px 0 28px;

    font-family:"Estedad",sans-serif;

    font-size:38px;

    line-height:1.7;

    font-weight:800;
}

.cta-decoration{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    color:rgba(201,160,75,.025);

    font-family:"Amiri",serif;

    font-size:250px;
}

.btn-light-custom{

    position:relative;

    z-index:2;

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:13px 25px;

    border-radius:10px;

    background:var(--gold-pale);

    color:#17140e;

    font-size:12px;

    font-weight:800;
}


/* =========================================================
   FOOTER
========================================================= */

.footer{

    padding:65px 0 20px;

    background:#050e0b;

    border-top:1px solid rgba(255,255,255,.05);
}

.footer-brand{

    display:flex;

    align-items:center;

    gap:11px;

    margin-bottom:18px;
}

.footer-brand strong{

    display:block;

    font-family:"Estedad",sans-serif;

    font-size:15px;
}

.footer-brand small{

    display:block;

    margin-top:3px;

    color:#65736c;

    font-size:8px;
}

.footer p{

    color:#6f7d76;

    font-size:11px;

    line-height:2;
}

.footer h5{

    margin-bottom:18px;

    font-family:"Estedad",sans-serif;

    font-size:12px;
}

.footer a{

    display:block;

    margin-bottom:11px;

    color:#707d77;

    font-size:10px;

    transition:.3s;
}

.footer a:hover{

    color:var(--gold-light);
}

.footer-bottom{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-top:45px;

    padding-top:18px;

    border-top:1px solid rgba(255,255,255,.05);

    color:#4e5c55;

    font-size:9px;
}

.footer-bottom div{

    display:flex;

    gap:15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:991px){

    .main-navbar{

        height:72px;
    }

    .nav-actions{

        justify-content:center;

        margin-top:15px;

        padding-top:15px;

        border-top:1px solid rgba(255,255,255,.05);
    }

    .hero{

        min-height:auto;
    }

    .hero-container{

        min-height:auto;
    }

    .hero-content{

        min-height:auto;
    }

    .hero-copy{

        width:100%;

        padding:100px 0 40px;
    }

    .hero-visual{

        position:relative;

        width:100%;

        height:500px;

        top:auto;
        left:auto;

        transform:none;

        order:2;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:767px){


    /* ================= NAVBAR ================= */

    .main-navbar{

        position:absolute;

        top:0;
        right:0;
        left:0;

        height:72px;

        background:transparent;

        border:0;

        backdrop-filter:none;
    }

    .main-navbar .container{

        justify-content:flex-start;

        padding:0 17px;
    }

    .navbar-brand{

        display:none;
    }

    .navbar-toggler{

        width:54px;
        height:54px;

        padding:0;

        display:flex;

        align-items:center;
        justify-content:center;

        border:1px solid rgba(201,160,75,.45);

        border-radius:50%;

        background:rgba(7,20,16,.72);

        color:var(--gold-light);

        font-size:25px;

        box-shadow:
            0 12px 35px rgba(0,0,0,.18);
    }

    .navbar-toggler:focus{

        box-shadow:
            0 0 0 3px rgba(201,160,75,.10);
    }


    /*
       Bootstrap کنترل collapse را در دست دارد.
       اینجا display:none!important نداریم.
    */

    .navbar-collapse{

        position:absolute;

        top:66px;

        right:16px;
        left:16px;

        padding:12px;

        border:1px solid rgba(201,160,75,.16);

        border-radius:17px;

        background:
            rgba(8,22,17,.97);

        backdrop-filter:blur(20px);

        box-shadow:
            0 25px 60px rgba(0,0,0,.35);
    }

    .navbar-collapse:not(.show){

        display:none;
    }

    .navbar-nav{

        width:100%;

        margin:0!important;
    }

    .navbar-nav .nav-link{

        width:100%;

        margin:0;

        padding:12px 14px!important;

        border-radius:9px;

        font-size:12px;
    }

    .navbar-nav .nav-link::after{

        display:none;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active{

        background:rgba(201,160,75,.07);
    }

    .nav-actions{

        flex-direction:column;

        width:100%;

        gap:9px;

        margin-top:8px;

        padding-top:10px;
    }

    .login-link,
    .nav-start-btn{

        width:100%;

        text-align:center;

        justify-content:center;
    }


    /* ================= HERO ================= */

    .hero{

        min-height:auto;

        padding:95px 0 0;

        overflow:hidden;
    }

    .hero-container{

        min-height:auto;

        display:block;
    }

    .hero-content{

        min-height:0;

        display:block;
    }


    /* ================= COPY ================= */

    .hero-copy{

        width:100%;

        padding:0 18px;

        text-align:center;
    }

    .hero-badge{

        margin:0 auto 25px;

        padding:9px 14px;

        font-size:10px;
    }

    .hero-title{

        font-size:clamp(52px,15.5vw,72px);

        line-height:1.02;

        letter-spacing:-2.5px;
    }

    .hero-title span{

        text-align:center;
    }

    .hero-arabic{

        margin-top:18px;

        font-size:25px;
    }

    .hero-description{

        max-width:330px;

        margin:12px auto 22px;

        font-size:11px;

        line-height:2.05;

        color:#929f98;
    }

    .desktop-only{

        display:none;
    }


    /* ================= BUTTONS ================= */

    .hero-buttons{

        width:100%;

        display:flex;

        flex-direction:column;

        gap:10px;

        margin-top:8px;
    }

    .btn-primary-custom,
    .btn-outline-custom{

        width:100%;

        min-height:57px;

        border-radius:13px;

        font-size:13px;
    }


    /* ================= STATS ================= */

    .hero-stats{

        width:100%;

        margin-top:25px;

        padding:22px 9px;

        gap:0;

        justify-content:space-between;

        border:1px solid rgba(255,255,255,.08);

        border-radius:18px;

        background:
            rgba(13,33,25,.78);

        backdrop-filter:blur(15px);

        box-shadow:
            0 20px 50px rgba(0,0,0,.20);
    }

    .stat{

        flex:1;

        text-align:center;
    }

    .stat strong{

        font-size:23px;
    }

    .stat span{

        margin-top:6px;

        font-size:8px;

        white-space:nowrap;
    }

    .stat-divider{

        height:45px;
    }


    /* =====================================================
       MOBILE VISUAL

       مهم:
       absolute است و هیچ فضایی در جریان صفحه نمی‌گیرد.
    ===================================================== */

    .hero-visual{

        position:absolute;

        top:245px;
        right:0;
        left:0;

        width:100%;

        height:510px;

        transform:none;

        display:block;

        z-index:3;

        pointer-events:none;
    }


    /* FADE OVER VISUAL */

    .hero-visual::after{

        content:"";

        position:absolute;

        inset:0;

        z-index:20;

        background:
            linear-gradient(
                to bottom,
                rgba(7,20,16,.05) 0%,
                rgba(7,20,16,.05) 40%,
                rgba(7,20,16,.55) 75%,
                var(--bg) 100%
            );

        pointer-events:none;
    }


    /* GLOW */

    .quran-glow{

        width:320px;
        height:320px;

        top:40px;
        left:50%;

        transform:translateX(-50%);

        opacity:.85;

        filter:blur(65px);
    }


    /* RINGS */

    .quran-ring{

        left:50%;

        top:50px;

        transform:translateX(-50%);
    }

    .ring-one{

        width:350px;
        height:350px;
    }

    .ring-two{

        width:470px;
        height:470px;
    }


    /* QURAN CARD */

    .quran-card{

        position:absolute;

        top:45px;
        left:50%;

        width:275px;
        height:365px;

        margin:0;

        transform:
            translateX(-50%)
            rotate(-5deg);

        opacity:.40;

        border-radius:9px;

        background:
            linear-gradient(
                145deg,
                rgba(20,55,42,.92),
                rgba(6,22,16,.94)
            );

        box-shadow:
            0 35px 70px rgba(0,0,0,.40),
            0 0 50px rgba(201,160,75,.04);
    }

    .quran-border{

        inset:9px;
    }

    .quran-top{

        font-size:8px;
    }

    .quran-main{

        padding-top:72px;
    }

    .bismillah-title{

        font-size:53px;
    }

    .quran-divider{

        width:65px;

        margin:21px 0 13px;
    }

    .bismillah{

        font-size:14px;
    }

    .quran-ornament{

        bottom:25px;

        font-size:17px;
    }


    /* FLOATING CARDS */

    .floating-card{

        z-index:25;

        min-width:140px;

        padding:9px 11px;

        transform:scale(.62);

        opacity:.35;
    }

    .floating-top{

        top:70px;
        right:-40px;
    }

    .floating-bottom{

        bottom:45px;
        left:-40px;
    }


    /*
       Visual به هیچ عنوان در جریان صفحه نیست.
       Hero با محتوای واقعی خودش تمام می‌شود.
    */

    .hero-bottom{

        position:relative;

        z-index:30;

        margin-top:24px;

        padding:0 18px 32px;
    }

    .ornament-line{

        width:auto;

        flex:1;
    }

    .ornament-symbol{

        font-size:17px;

        margin:0 8px;
    }

    .hero-bottom p{

        top:23px;

        width:100%;

        text-align:center;

        font-size:9px;
    }


    /* =====================================================
       COURSES
    ===================================================== */

    .courses-section{

        padding:70px 0;

        background:
            linear-gradient(
                to bottom,
                #081611,
                #07130f
            );
    }

    .section-heading{

        padding:0 18px;
    }

    .section-heading h2{

        font-size:27px;

        line-height:1.5;
    }

    .section-heading p{

        font-size:10px;

        line-height:2;
    }

    .course-card{

        min-height:auto;

        padding:28px;

        border-radius:17px;
    }

    .course-card h3{

        font-size:22px;
    }

    .course-card p{

        font-size:11px;
    }


    /* =====================================================
       WHY
    ===================================================== */

    .why-section{

        padding:70px 0;
    }

    .big-heading{

        font-size:31px;

        line-height:1.55;
    }

    .features-grid{

        grid-template-columns:1fr;

        gap:11px;
    }

    .feature-box{

        padding:24px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .cta-section{

        padding:60px 0;
    }

    .cta-box{

        padding:60px 20px;

        border-radius:19px;
    }

    .cta-box h2{

        font-size:27px;

        line-height:1.7;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer{

        padding:55px 0 20px;
    }

    .footer-bottom{

        flex-direction:column;

        gap:14px;

        text-align:center;
    }

}
/* =========================================================
   JS REVEAL
========================================================= */

.reveal{

    opacity:0;

    transform:translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.is-visible{

    opacity:1;

    transform:translateY(0);
}


/* NAVBAR AFTER SCROLL */

.main-navbar.navbar-scrolled{

    background:rgba(7,20,16,.94);

    box-shadow:
        0 10px 40px rgba(0,0,0,.16);
}
/* =========================================================
   SITE MESSAGES
========================================================= */

.site-messages {
    position: relative;

    z-index: 1000;

    width: 100%;

    padding:
        14px 0 4px;

    pointer-events: none;
}


.messages-stack {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;
}


.site-message {
    position: relative;

    width: min(620px, 100%);

    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        10px 13px 10px 10px;

    border-radius: 15px;

    overflow: hidden;

    pointer-events: auto;

    background:
        rgba(12, 31, 24, .94);

    border:
        1px solid
        rgba(255,255,255,.08);

    box-shadow:
        0 18px 45px
        rgba(0,0,0,.28),

        inset 0 1px 0
        rgba(255,255,255,.035);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    animation:
        message-in .45s
        cubic-bezier(.22,.61,.36,1)
        both;
}


.site-message::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        var(--gold);

    box-shadow:
        0 0 18px
        rgba(201,160,75,.35);
}


/* =========================================================
   ICON
========================================================= */

.message-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color:
        var(--gold-light);

    background:
        rgba(201,160,75,.08);

    border:
        1px solid
        rgba(201,160,75,.13);

    font-size: 16px;
}


/* =========================================================
   CONTENT
========================================================= */

.message-content {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.message-label {
    color:
        var(--gold-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .2px;
}


.message-text {
    color:
        var(--white);

    font-size: 12px;

    line-height: 1.8;

    font-weight: 500;
}


/* =========================================================
   CLOSE
========================================================= */

.message-close {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 9px;

    color:
        rgba(255,255,255,.38);

    background:
        transparent;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.message-close:hover {
    color:
        var(--white);

    background:
        rgba(255,255,255,.06);

    transform:
        rotate(90deg);
}


/* =========================================================
   SUCCESS
========================================================= */

.site-message-success {
    border-color:
        rgba(103,180,137,.18);
}

.site-message-success::before {
    background:
        #70b991;

    box-shadow:
        0 0 18px
        rgba(112,185,145,.35);
}

.site-message-success
.message-icon {
    color:
        #8ac7a2;

    background:
        rgba(112,185,145,.08);

    border-color:
        rgba(112,185,145,.13);
}


/* =========================================================
   WARNING
========================================================= */

.site-message-warning {
    border-color:
        rgba(201,160,75,.20);
}

.site-message-warning::before {
    background:
        var(--gold);
}


/* =========================================================
   ERROR
========================================================= */

.site-message-error,
.site-message-danger {
    border-color:
        rgba(210,95,95,.18);
}

.site-message-error::before,
.site-message-danger::before {
    background:
        #d87878;

    box-shadow:
        0 0 18px
        rgba(216,120,120,.30);
}

.site-message-error
.message-icon,
.site-message-danger
.message-icon {
    color:
        #e18b8b;

    background:
        rgba(216,120,120,.08);

    border-color:
        rgba(216,120,120,.13);
}


/* =========================================================
   INFO
========================================================= */

.site-message-info {
    border-color:
        rgba(100,150,180,.15);
}

.site-message-info::before {
    background:
        #7daec4;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes message-in {

    from {
        opacity: 0;

        transform:
            translateY(-18px)
            scale(.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.site-message.is-closing {

    animation:
        message-out .3s
        ease
        forwards;
}


@keyframes message-out {

    to {
        opacity: 0;

        transform:
            translateY(-10px)
            scale(.97);

        max-height: 0;

        margin: 0;

        padding-top: 0;
        padding-bottom: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .site-messages {
        padding:
            9px 12px 2px;
    }

    .site-message {
        min-height: 54px;

        border-radius: 13px;

        padding:
            8px 9px 8px 8px;
    }

    .message-icon {
        flex-basis: 34px;

        width: 34px;
        height: 34px;

        border-radius: 9px;

        font-size: 14px;
    }

    .message-label {
        font-size: 8px;
    }

    .message-text {
        font-size: 10px;

        line-height: 1.7;
    }

    .message-close {
        flex-basis: 29px;

        width: 29px;
        height: 29px;
    }

}