/* ==================================================
   HAMIYARAN BADRAGHE
   ICC IRAN
================================================== */

:root {

    --bg: #0b0b0b;
    --bg2: #121212;

    --card: #181818;

    --gold: #d4af37;
    --gold-light: #f0d36d;

    --green: #1f7a4d;

    --text: #f5f5f5;
    --muted: #b9b9b9;

    --border: rgba(255,255,255,.08);

    --radius: 18px;

    --shadow:
        0 12px 40px rgba(0,0,0,.35);

    --container: 1400px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Vazirmatn',sans-serif;

    background:
        radial-gradient(
            circle at top right,
            rgba(31,122,77,.12),
            transparent 25%
        ),
        radial-gradient(
            circle at top left,
            rgba(212,175,55,.10),
            transparent 30%
        ),
        var(--bg);

    color:var(--text);

    min-height:100vh;
}

a{
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

button,
input,
textarea{
    font-family:inherit;
}


.registration-header
{
    padding-bottom: 20px;
    text-align: center;
    font-size: 21px;
}

.container{

    width:min(
        calc(100% - 40px),
        var(--container)
    );

    margin:auto;
}

/* ===================================
   HEADER
=================================== */
.verse-box
{
    margin-right:1.5rem;
    margin-top:1.5rem;
    
}
.site-header{

    position:sticky;
    top:0;

    z-index:999;

    background:
        rgba(11,11,11,.92);

    backdrop-filter:blur(15px);

    border-bottom:
        1px solid var(--border);
}

.header-inner{

    min-height:95px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}

.logo-box{

    width: 70px;
    height: 70px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: #ffffff;
    border-radius: 50%;
    box-shadow: white 0px 0px 16px;
}

.logo-box img{

    max-height:70px;
}

.title-box{

    text-align:center;
}

.title-box h1{

    color:var(--gold);

    font-size:2rem;

    font-weight:800;
}

.title-box p{

    color:var(--muted);

    margin-top:6px;
}

/* ===================================
   HERO
=================================== */

.hero{

    padding:
        80px 0
        90px;
}

.hero-content{

    max-width:900px;

    margin:auto;

    text-align:center;
}

.hero-badge{

    display:inline-flex;

    padding:
        8px 18px;

    border-radius:999px;

    border:
        1px solid var(--gold);

    color:var(--gold);

    background:
        rgba(212,175,55,.12);

    margin-bottom:25px;
}

.hero h2{

    font-size:
        clamp(
            3rem,
            1vw,
            2rem
        );

    margin-bottom:20px;

    font-weight:800;
}

.hero p{

    color:var(--muted);

    line-height:2;
    
    font-size: 1.5rem;
    
    text-align: justify;
}

.hero-actions{

    margin-top:35px;

    display:flex;

    justify-content:center;

    gap:15px;
}

/* ===================================
   BUTTONS
=================================== */

.btn{

    border:none;

    cursor:pointer;

    border-radius:14px;

    padding:
        14px 28px;

    transition:.25s;

    font-weight:700;
}

.btn-primary{

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-light)
        );

    color:#111;
}

.btn-primary:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(212,175,55,.25);
}

.btn-secondary{

    background:transparent;

    color:#fff;

    border:
        1px solid var(--border);
}

.btn-secondary:hover{

    border-color:
        var(--green);

    color:
        var(--green);
}

.full-width{

    width:100%;
}

/* ===================================
   STATS
=================================== */

.stats-section{

    margin-bottom:35px;
}

.stats-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap:20px;
}

.stat-card{

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    padding:25px;

    text-align:center;

    box-shadow:
        var(--shadow);
}

.stat-icon{

    display:block;

    font-size:2rem;

    margin-bottom:10px;
}

.stat-card strong{

    display:block;

    font-size:2rem;

    color:var(--gold);

    margin-bottom:5px;
}

.stat-card small{

    color:var(--muted);
}

/* ===================================
   CONTENT
=================================== */

.main-content{

    padding-bottom:80px;
}

.content-grid{

    display:grid;

    grid-template-columns:
        330px
        1fr;

    gap:25px;
}

.registration-card,
.tracking-card{

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}

.registration-card{

    padding:35px;
}

.tracking-card{

    padding:25px;

    position:sticky;

    top:115px;
}

/* ===================================
   PROGRESS
=================================== */

.progress-wrapper{

    margin-bottom:35px;
}

.progress-bar{

    height:12px;

    background:#252525;

    border-radius:999px;

    overflow:hidden;
}

.progress-fill{

    width:20%;

    height:100%;

    transition:.4s;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--green)
        );
}

.progress-text{

    margin-top:10px;

    color:var(--gold);

    font-size:.9rem;
}

/* ===================================
   STEPPER
=================================== */

.stepper{

    display:flex;

    gap:10px;

    margin-bottom:40px;
}

.step{

    flex:1;

    text-align:center;

    opacity:.4;

    transition:.3s;
}

.step.active{

    opacity:1;
}

.step.completed{

    opacity:1;
}

.step span{

    width:42px;
    height:42px;

    margin:auto auto 8px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#252525;

    border:
        2px solid var(--gold);

    color:var(--gold);

    font-weight:700;
}

.step.active span{

    background:var(--gold);

    color:#111;
}

.step.completed span{

    background:var(--green);

    border-color:var(--green);

    color:#fff;
}

/* ===================================
   FORM
=================================== */

.form-step{

    display:none;
}

.form-step.active{

    display:block;
}

.form-step h3{

    margin-bottom:25px;
}

.field{

    margin-bottom:20px;
}

.field label{

    display:block;

    margin-bottom:8px;

    font-weight:600;
}

.field input,
.field textarea{

    width:100%;

    padding:14px 16px;

    border-radius:14px;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.03);

    color:#fff;
}

.field input:focus,
.field textarea:focus{

    outline:none;

    border-color:var(--gold);
}

/* ===================================
   APPLICANTS
=================================== */

.applicant-cards{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap:18px;
}

.select-card{

    border:none;

    background:#202020;

    border:
        1px solid var(--border);

    border-radius:18px;

    padding:30px;

    color:#fff;

    cursor:pointer;

    transition:.25s;

    display:flex;

    flex-direction:column;

    gap:10px;

    align-items:center;
}

.select-card span{

    font-size:2rem;
}

.select-card:hover{

    border-color:var(--gold);

    transform:
        translateY(-2px);
}

.select-card.active{

    border-color:var(--gold);

    background:
        rgba(212,175,55,.10);
}

/* ===================================
   PARTICIPATION
=================================== */

.participation-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px,1fr)
        );

    gap:15px;
}

.participation-card{

    background:#202020;

    border:
        1px solid var(--border);

    border-radius:16px;

    padding:22px;

    text-align:center;

    cursor:pointer;

    transition:.25s;
}

.participation-card:hover{

    border-color:var(--green);
}

.participation-card.active{

    background:
        rgba(31,122,77,.15);

    border-color:var(--green);
}

/* ===================================
   SOCIAL
=================================== */

.social-grid{

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.social-grid label{

    display:flex;

    gap:8px;

    align-items:center;
}

/* ===================================
   SUMMARY
=================================== */

.summary-box{

    background:#141414;

    border:
        1px solid var(--border);

    border-radius:16px;

    padding:25px;

    line-height:2.2;
}

/* ===================================
   ACTIONS
=================================== */

.wizard-actions{

    margin-top:35px;

    display:flex;

    justify-content:space-between;

    gap:15px;
}

/* ===================================
   TRACKING
=================================== */

.tracking-result{

    display:none;

    margin-top:20px;

    padding:15px;

    border-radius:14px;

    background:
        rgba(31,122,77,.12);

    border:
        1px solid var(--green);
}

/* ===================================
   MODAL
=================================== */

.modal{

    position:fixed;

    inset:0;

    background:
        rgba(0,0,0,.8);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:99999;
}

.modal.show{

    display:flex;
}

.modal-content{

    width:500px;

    max-width:90%;

    background:#181818;

    padding:35px;

    border-radius:20px;

    text-align:center;
}

.success-icon{

    width:80px;
    height:80px;

    margin:auto auto 20px;

    border-radius:50%;

    background:var(--green);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;
}

.tracking-code{

    margin:20px 0;

    padding:15px;

    border-radius:12px;

    border:
        1px solid var(--gold);

    color:var(--gold);

    font-weight:700;
}

/* ===================================
   FOOTER
=================================== */

.site-footer{

    padding:40px 0;

    border-top:
        1px solid var(--border);

    text-align:center;

    color:var(--muted);
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:992px){

    .content-grid{

        grid-template-columns:1fr;
    }

    .tracking-card{

        position:static;
    }
}

@media(max-width:768px){

    .header-inner{

        flex-direction:column;

        gap:15px;

        padding:15px 0;
    }

    .hero-actions{

        flex-direction:column;
    }

    .btn{

        width:100%;
    }

    .wizard-actions{

        flex-direction:column;
    }

    .step small{

        font-size:.7rem;
    }

    .registration-card{

        padding:20px;
    }
}