/* ================= تنظیمات کلی ================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap');


*{
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    margin:0;

    padding:0;

    font-family:Vazirmatn,Tahoma,Arial,sans-serif;

    direction:rtl;

    background:#f7f7f7;

    color:#333;

    line-height:1.8;

}



a{

    text-decoration:none;

}



img{

    max-width:100%;

}


/* ================= صفحه اول - Hero ================= */


.hero{

    min-height:100vh;

    background-image:url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    position:relative;

}



.overlay{

    min-height:100vh;

    width:100%;

   background: rgba(0,0,0,0.45);

    display:flex;

    align-items:center;

    justify-content:center;

}



.content{

    text-align:center;

    color:white;

    width:90%;

    max-width:800px;

    padding:40px;

}



.content h1{

    font-size:52px;

    font-weight:800;

    margin-bottom:35px;

    text-shadow:
    0 3px 10px rgba(0,0,0,.5);

}



.content p{

    font-size:24px;

    line-height:2.4;

    font-weight:500;

    margin-bottom:45px;

    text-shadow:
    0 2px 8px rgba(0,0,0,.6);

}



/* دکمه ثبت عهد */


.btn{

    display:inline-block;

    background:#990000;

    color:white;

    padding:18px 55px;

    border-radius:50px;

    font-size:22px;

    font-weight:700;

    box-shadow:

    0 8px 25px rgba(0,0,0,.3);

    transition:.3s;

}



.btn:hover{

    background:#c00000;

    transform:translateY(-5px);

}


/* ================= بخش معرفی ================= */


.about{

    background:white;

    padding:80px 20px;

}



.about-container{

    max-width:1100px;

    margin:auto;

    display:flex;

    gap:50px;

    align-items:center;

}



.counter{

    flex:1;

    text-align:center;

    background:#fff;

    padding:40px 30px;

    border-radius:25px;

    box-shadow:
    0 10px 35px rgba(0,0,0,.08);

    border-top:6px solid #990000;

}



.counter h2{

    color:#990000;

    font-size:28px;

    margin:0;

}



.number{

    font-size:75px;

    font-weight:800;

    color:#990000;

    margin:25px 0;

}



.counter p{

    color:#555;

    font-size:18px;

}



.description{

    flex:2;

}



.description h2{

    color:#990000;

    font-size:34px;

    margin-bottom:25px;

}



.description p{

    font-size:19px;

    line-height:2.4;

    color:#555;

    text-align:justify;

}
/* ================= بخش مراحل شرکت ================= */


.steps{

    background:#f7f7f7;

    padding:80px 20px;

    text-align:center;

}



.steps h2{

    color:#990000;

    font-size:34px;

    font-weight:800;

    margin-bottom:45px;

}



.step-box{

    max-width:1150px;

    margin:auto;

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}



.card{

    background:white;

    width:240px;

    min-height:280px;

    padding:35px 25px;

    border-radius:25px;

    box-shadow:

    0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    border-bottom:5px solid transparent;

}



.card:hover{

    transform:translateY(-10px);

    border-bottom-color:#990000;

}



.icon{

    font-size:55px;

    margin-bottom:20px;

}



.card h3{

    color:#990000;

    font-size:23px;

    font-weight:700;

    margin-bottom:15px;

}



.card p{

    color:#555;

    font-size:17px;

    line-height:2;

}



/* ================= صفحه ثبت عهد ================= */


.register{

    min-height:100vh;

    background:#f7f7f7;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

}



.register-box{

    background:white;

    width:100%;

    max-width:550px;

    padding:45px;

    border-radius:30px;

    box-shadow:

    0 15px 40px rgba(0,0,0,.1);

    border-top:6px solid #990000;

}



.register-box h1{

    text-align:center;

    color:#990000;

    font-size:32px;

    font-weight:800;

    margin-bottom:25px;

}



.register-box p{

    text-align:center;

    color:#666;

    line-height:2.2;

    font-size:17px;

    margin-bottom:35px;

}



/* فرم */


form label{

    display:block;

    margin-bottom:8px;

    color:#444;

    font-weight:500;

}



form input,
form select{


    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:12px;

    margin-bottom:20px;

    font-family:Vazirmatn,Tahoma;

    font-size:16px;

    background:white;

}



form input:focus,
form select:focus{

    outline:none;

    border-color:#990000;

    box-shadow:

    0 0 0 3px rgba(153,0,0,.1);

}



form button{

    width:100%;

    background:#990000;

    color:white;

    border:none;

    padding:17px;

    border-radius:15px;

    font-size:19px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}



form button:hover{

    background:#c00000;

    transform:translateY(-3px);

}



/* ================= پیام موفقیت ================= */


.success {

    background:#e8f7e8;

    color:#176b17;

    padding:15px;

    border-radius:10px;

    text-align:center;

}



/* ================= نمایش موبایل ================= */


@media(max-width:700px){


    .content h1 {

        font-size:30px;

    }


    .content p {

        font-size:17px;

    }


    .about-container {

        flex-direction:column;

    }


    .content {

        padding:20px;

    }


    .register-box {

        padding:25px;

    }


    .steps h2 {

        font-size:26px;

    }

}
/* ================= نسخه موبایل نهایی ================= */


@media(max-width:700px){


    .content{

        width:95%;

        padding:20px;

    }



    .content h1{

        font-size:32px;

        line-height:1.8;

    }



    .content p{

        font-size:18px;

        line-height:2.3;

    }



    .btn{

        font-size:18px;

        padding:15px 35px;

    }



    .about{

        padding:50px 15px;

    }



    .about-container{

        flex-direction:column;

        gap:30px;

    }



    .counter{

        width:100%;

        padding:30px 20px;

    }



    .number{

        font-size:55px;

    }



    .description h2{

        font-size:26px;

        text-align:center;

    }



    .description p{

        font-size:16px;

        text-align:right;

    }



    .steps{

        padding:50px 15px;

    }



    .steps h2{

        font-size:27px;

    }



    .card{

        width:100%;

        max-width:350px;

    }



    .register{

        padding:20px 15px;

    }



    .register-box{

        padding:30px 20px;

        border-radius:20px;

    }



    .register-box h1{

        font-size:26px;

    }


}