@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root{
    --lime:#d9ff32;
    --bg:#030706;
    --panel:#080e0c;
    --soft:#0d1411;
    --text:#fff;
    --muted:#aeb8b0;
    --line:rgba(255,255,255,.12);
    --max:1180px;
    --radius:22px;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:85px;
}

body{
    font-family:Vazirmatn,Tahoma,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.9;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(var(--max),calc(100% - 40px));
    margin:auto;
}

.skip{
    position:fixed;
    top:-80px;
    right:20px;
    background:var(--lime);
    color:#07100b;
    padding:8px 15px;
    z-index:999;
    border-radius:8px;
}

.skip:focus{
    top:12px;
}

.header{
    position:fixed;
    inset:0 0 auto;
    z-index:100;
    background:rgba(2,7,5,.78);
    backdrop-filter:blur(18px);
    border-bottom:1px solid transparent;
    transition:.3s;
}

.header.scrolled{
    border-color:var(--line);
    background:rgba(2,7,5,.94);
}

.nav{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.brand{
    font-size:27px;
    font-weight:900;
    display:flex;
    gap:9px;
    align-items:center;
}

.brand b{
    color:var(--lime);
}

.brand img{
    width:38px;
    height:38px;
}

.links{
    display:flex;
    align-items:center;
    gap:27px;
}

.links a{
    font-size:14px;
    font-weight:600;
}

.links a:hover{
    color:var(--lime);
}

.nav-phone,
.primary{
    background:var(--lime);
    color:#061008!important;
    border-color:var(--lime)!important;
    font-weight:900!important;
}

.nav-phone{
    direction:ltr;
    padding:8px 16px;
    border-radius:99px;
}

.menu{
    display:none;
    border:1px solid var(--line);
    background:var(--panel);
    color:#fff;
    border-radius:11px;
    width:43px;
    height:43px;
    font-size:22px;
}


/* HERO */

.hero{
    min-height:720px;
    padding:130px 0 80px;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(217,255,50,.07),
            transparent 25%
        ),
        #030706;
}

.hero:after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:160px;
    background:linear-gradient(
        transparent,
        var(--bg)
    );
    pointer-events:none;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1.05fr;
    gap:55px;
    align-items:center;
    position:relative;
    z-index:2;
}

.hero-media{
    position:relative;
    border-radius:30px;
    overflow:hidden;
    min-height:540px;
    border:1px solid var(--line);
    box-shadow:0 30px 100px #000;
}

.hero-media img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-media:after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,7,6,.2),
            transparent 60%
        ),
        linear-gradient(
            0deg,
            rgba(3,7,6,.6),
            transparent 45%
        );
}

.eyebrow{
    color:var(--lime);
    font-size:14px;
    font-weight:800;
    letter-spacing:.1px;
}

.hero h1{
    font-size:clamp(53px,7vw,86px);
    line-height:1.08;
    letter-spacing:-4px;
    margin:9px 0 16px;
}

.hero h1 span{
    color:var(--lime);
}

.hero h2{
    font-size:26px;
    margin-bottom:12px;
}

.hero p{
    color:#d3dad4;
    font-size:16px;
}

.coming{
    display:flex;
    gap:13px;
    align-items:center;
    margin:24px 0;
    padding:14px 17px;
    border:1px solid rgba(217,255,50,.7);
    border-radius:13px;
    background:rgba(217,255,50,.055);
    color:var(--lime);
    font-weight:800;
}

.actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:99px;
    padding:10px 22px;
    font-weight:700;
    transition:.25s;
}

.btn:hover{
    transform:translateY(-3px);
    border-color:var(--lime);
}


/* FEATURES */

.features{
    position:relative;
    z-index:5;
    margin-top:-35px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid rgba(255,255,255,.22);
    background:rgba(6,12,9,.96);
    border-radius:17px;
    overflow:hidden;
    box-shadow:0 25px 70px #000;
}

.feature{
    padding:21px;
    display:flex;
    align-items:center;
    gap:14px;
    border-left:1px solid var(--line);
}

.feature:last-child{
    border:0;
}

.feature i{
    font-style:normal;
    color:var(--lime);
    font-size:30px;
}

.feature strong{
    display:block;
    color:var(--lime);
}

.feature small{
    color:var(--muted);
}


/* SECTIONS */

.section{
    padding:90px 0;
}

.section.alt{
    background:#070c0a;
}

.heading{
    text-align:center;
    max-width:760px;
    margin:0 auto 43px;
}

.heading h2{
    font-size:clamp(29px,4vw,43px);
    line-height:1.35;
}

.heading p{
    color:var(--muted);
    margin-top:9px;
}

.line{
    width:45px;
    height:3px;
    background:var(--lime);
    margin:11px auto;
    border-radius:9px;
}


/* COURSES */

.course-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.course{
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--panel);
    transition:.3s;
}

.course:hover{
    transform:translateY(-7px);
    border-color:rgba(217,255,50,.5);
}

.course img{
    width:100%;
    height:225px;
    object-fit:cover;
}

.course-body{
    padding:22px;
}

.course h3{
    color:var(--lime);
    font-size:22px;
}

.course p{
    color:var(--muted);
    font-size:14px;
    margin:5px 0 15px;
}


/* GALLERY */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    grid-auto-rows:170px;
    gap:10px;
}

.gallery-grid figure{
    overflow:hidden;
    border-radius:15px;
    border:1px solid var(--line);
}

.gallery-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.gallery-grid figure:hover img{
    transform:scale(1.06);
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(4){
    grid-column:span 3;
}

.gallery-grid figure:nth-child(5),
.gallery-grid figure:nth-child(6){
    grid-column:span 6;
}


/* ABOUT */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:55px;
    align-items:center;
}

.about-media{
    position:relative;
}

.about-media img{
    border-radius:25px;
    width:100%;
    height:470px;
    object-fit:cover;
}

.about-media:after{
    content:"";
    position:absolute;
    inset:18px -18px -18px 18px;
    border:1px solid rgba(217,255,50,.35);
    border-radius:25px;
    z-index:-1;
}

.about-copy h2{
    font-size:38px;
}

.about-copy p{
    color:var(--muted);
    margin:12px 0;
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:22px;
}

.stat{
    padding:17px;
    text-align:center;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:15px;
}

.stat b{
    display:block;
    color:var(--lime);
    font-size:24px;
}

.stat span{
    font-size:12px;
    color:var(--muted);
}


/* WHY */

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.why{
    padding:25px 18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:linear-gradient(
        145deg,
        #0c130f,
        #070c0a
    );
    text-align:center;
}

.why i{
    font-style:normal;
    font-size:35px;
}

.why h3{
    font-size:16px;
    margin:7px 0;
}

.why p{
    font-size:12px;
    color:var(--muted);
}


/* LOCAL SEO */

.local-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:35px;
}

.local h2{
    font-size:35px;
}

.local p{
    color:var(--muted);
    margin:10px 0;
}

.tags{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-top:18px;
}

.tag{
    border:1px solid var(--line);
    border-radius:99px;
    padding:5px 11px;
    font-size:12px;
    color:#c8d0c9;
}

.local-card{
    padding:30px;
    border:1px solid rgba(217,255,50,.25);
    border-radius:22px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(217,255,50,.1),
            transparent 35%
        ),
        var(--panel);
}

.local-card h3{
    color:var(--lime);
    font-size:22px;
}


/* FAQ */

.faq{
    max-width:850px;
    margin:auto;
}

.faq details{
    border-bottom:1px solid var(--line);
    padding:18px 0;
}

.faq summary{
    cursor:pointer;
    font-weight:700;
    list-style:none;
}

.faq summary::before{
    content:"+";
    color:var(--lime);
    font-size:22px;
    margin-left:12px;
}

.faq details[open] summary::before{
    content:"−";
}

.faq p{
    color:var(--muted);
    padding:10px 30px 0 0;
}


/* CTA */

.cta{
    padding:20px 0 85px;
}

.cta-box{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(217,255,50,.3);
    border-radius:28px;
    padding:55px;
    text-align:center;
    background:#0b120e;
}

.cta-box:before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../images/cta.webp')
        left center/42% 100%
        no-repeat;
    opacity:.25;
    mask-image:linear-gradient(
        90deg,
        #000,
        transparent
    );
}

.cta-box>*{
    position:relative;
}

.cta-box h2{
    font-size:37px;
}

.cta-box p{
    color:var(--muted);
    margin:8px auto 22px;
    max-width:650px;
}


/* FOOTER */

footer{
    border-top:1px solid var(--line);
    padding:42px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr .8fr;
    gap:40px;
}

.footer-brand{
    font-size:27px;
    font-weight:900;
}

.footer-brand b{
    color:var(--lime);
}

footer p,
footer a{
    color:#9ca69e;
    font-size:13px;
}

.copyright{
    text-align:center;
    border-top:1px solid var(--line);
    padding-top:18px;
    margin-top:28px;
    color:#69736b;
    font-size:12px;
}


/* REVEAL */

.reveal{
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible{
    opacity:1;
    transform:none;
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.instagram-section{
    padding:0 0 70px;
    background:var(--bg);
}

.instagram-card{
    position:relative;
    min-height:220px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:35px;

    overflow:hidden;

    padding:38px 45px;

    border-radius:30px;

    border:1px solid rgba(217,255,50,.25);

    background:
        radial-gradient(
            circle at 8% 50%,
            rgba(217,255,50,.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 0%,
            rgba(217,255,50,.08),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #070c09 0%,
            #0b130f 55%,
            #101b13 100%
        );

    box-shadow:0 25px 80px rgba(0,0,0,.35);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.instagram-card:hover{
    transform:translateY(-6px);

    border-color:rgba(217,255,50,.65);

    box-shadow:
        0 30px 90px rgba(0,0,0,.5),
        0 0 50px rgba(217,255,50,.08);
}

.instagram-main{
    display:flex;
    align-items:center;

    gap:25px;

    position:relative;
    z-index:2;

    min-width:0;
}

.instagram-icon{
    width:82px;
    height:82px;

    flex:0 0 82px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--lime);

    border:1px solid rgba(217,255,50,.55);

    border-radius:24px;

    background:rgba(217,255,50,.07);

    box-shadow:
        0 0 35px rgba(217,255,50,.08);

    transition:.35s ease;
}

.instagram-icon svg{
    width:46px;
    height:46px;
}

.instagram-card:hover .instagram-icon{
    background:var(--lime);
    color:#07100b;

    transform:
        rotate(-5deg)
        scale(1.05);

    box-shadow:
        0 0 40px rgba(217,255,50,.22);
}

.instagram-text{
    min-width:0;
}

.instagram-label{
    display:block;

    color:var(--muted);

    font-size:13px;

    margin-bottom:3px;
}

.instagram-text h2{
    margin:0;

    font-size:clamp(28px,4vw,42px);

    line-height:1.2;

    font-weight:900;
}

.instagram-text h2 span{
    color:var(--lime);

    direction:ltr;

    display:inline-block;
}

.instagram-text p{
    color:#b8c2ba;

    font-size:13px;

    margin-top:8px;

    max-width:570px;

    line-height:1.9;
}

.instagram-button{
    flex:0 0 auto;

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:12px;

    min-width:150px;

    padding:13px 20px;

    border-radius:999px;

    color:#07100b;

    background:var(--lime);

    font-size:13px;

    font-weight:900;

    position:relative;

    z-index:3;

    transition:.3s ease;
}

.instagram-arrow{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    width:27px;
    height:27px;

    border-radius:50%;

    background:rgba(0,0,0,.12);

    font-size:17px;

    transition:.3s ease;
}

.instagram-card:hover .instagram-button{
    transform:translateX(-4px);
}

.instagram-card:hover .instagram-arrow{
    transform:translateX(-4px);
}

.instagram-ball{
    position:absolute;

    left:-55px;
    bottom:-65px;

    width:180px;
    height:180px;

    border-radius:50%;

    background:
        radial-gradient(
            circle at 32% 28%,
            #f3ff91 0%,
            #d9ff32 22%,
            #9dbb18 62%,
            #56680c 100%
        );

    box-shadow:
        inset -20px -25px 35px rgba(0,0,0,.28),
        0 20px 60px rgba(0,0,0,.4);

    opacity:.9;

    transform:rotate(-18deg);

    transition:.5s ease;
}

.instagram-ball span{
    position:absolute;

    width:150px;
    height:65px;

    left:12px;
    top:53px;

    border-top:3px solid rgba(255,255,255,.75);

    border-radius:50%;

    transform:rotate(24deg);
}

.instagram-card:hover .instagram-ball{
    transform:
        rotate(-8deg)
        translateY(-8px)
        scale(1.04);
}

.instagram-decoration{
    position:absolute;

    border:1px solid rgba(217,255,50,.12);

    border-radius:50%;

    pointer-events:none;
}

.instagram-decoration-1{
    width:300px;
    height:300px;

    left:-130px;
    top:-120px;
}

.instagram-decoration-2{
    width:450px;
    height:450px;

    right:-230px;
    bottom:-310px;
}


/* RESPONSIVE */

@media(max-width:950px){

    .links{
        position:fixed;

        top:78px;
        right:20px;
        left:20px;

        display:flex;
        flex-direction:column;
        align-items:stretch;

        padding:20px;

        background:#08100c;

        border:1px solid var(--line);

        border-radius:18px;

        opacity:0;

        transform:translateY(-15px);

        pointer-events:none;

        transition:.25s;
    }

    .links.open{
        opacity:1;
        transform:none;
        pointer-events:auto;
    }

    .menu{
        display:block;
    }

    .nav-phone{
        display:none;
    }

    .hero-grid,
    .about-grid,
    .local-grid{
        grid-template-columns:1fr;
    }

    .hero-media{
        min-height:420px;
        order:-1;
    }

    .feature-grid{
        grid-template-columns:1fr 1fr;
    }

    .course-grid{
        grid-template-columns:1fr;
    }

    .why-grid{
        grid-template-columns:1fr 1fr;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

    .gallery-grid figure{
        grid-column:span 6!important;
    }

    .instagram-card{
        padding:32px;
        gap:25px;
    }

    .instagram-button{
        min-width:135px;
    }
}


@media(max-width:600px){

    .container{
        width:min(
            var(--max),
            calc(100% - 28px)
        );
    }

    .nav{
        height:70px;
    }

    .brand{
        font-size:21px;
    }

    .brand img{
        width:31px;
    }

    .hero{
        padding:100px 0 55px;
    }

    .hero-media{
        min-height:320px;
    }

    .hero h1{
        font-size:53px;
    }

    .hero h2{
        font-size:21px;
    }

    .hero p{
        font-size:14px;
    }

    .coming{
        font-size:13px;
    }

    .actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .features{
        margin-top:-20px;
    }

    .feature-grid{
        grid-template-columns:1fr 1fr;
    }

    .feature{
        padding:13px 8px;
        gap:7px;
    }

    .feature i{
        font-size:22px;
    }

    .feature strong{
        font-size:12px;
    }

    .feature small{
        font-size:9px;
    }

    .section{
        padding:65px 0;
    }

    .course img{
        height:205px;
    }

    .gallery-grid{
        grid-auto-rows:120px;
    }

    .about-media img{
        height:330px;
    }

    .about-copy h2,
    .local h2,
    .cta-box h2{
        font-size:29px;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .why-grid{
        grid-template-columns:1fr 1fr;
    }

    .cta-box{
        padding:40px 20px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }


    /* Instagram Mobile */

    .instagram-section{
        padding-bottom:55px;
    }

    .instagram-card{
        min-height:0;

        display:flex;

        flex-direction:column;

        align-items:stretch;

        justify-content:center;

        gap:22px;

        padding:28px 22px;

        border-radius:24px;

        text-align:center;
    }

    .instagram-main{
        display:flex;

        flex-direction:column;

        align-items:center;

        gap:14px;

        width:100%;
    }

    .instagram-icon{
        width:68px;
        height:68px;

        flex:0 0 68px;

        border-radius:20px;
    }

    .instagram-icon svg{
        width:39px;
        height:39px;
    }

    .instagram-label{
        font-size:11px;
    }

    .instagram-text{
        width:100%;
    }

    .instagram-text h2{
        font-size:29px;
    }

    .instagram-text p{
        max-width:100%;

        font-size:11px;

        line-height:1.9;

        margin-top:8px;
    }

    .instagram-button{
        width:100%;

        min-height:48px;

        font-size:12px;
    }

    .instagram-ball{
        width:115px;
        height:115px;

        left:-48px;
        bottom:-55px;

        opacity:.18;
    }

    .instagram-ball span{
        width:95px;
        height:42px;

        left:9px;
        top:35px;

        border-width:2px;
    }

    .instagram-decoration-1{
        width:190px;
        height:190px;

        left:-100px;
        top:-110px;
    }

    .instagram-decoration-2{
        width:250px;
        height:250px;

        right:-150px;
        bottom:-190px;
    }
}


@media(prefers-reduced-motion:reduce){

    html{
        scroll-behavior:auto;
    }

    .reveal{
        opacity:1;
        transform:none;
        transition:none;
    }

    *{
        animation:none!important;
        transition:none!important;
    }
}


/* Phone numbers */

a[href^="tel:"]{
    unicode-bidi:isolate;
}