* {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        /* مخفی کردن اسکرول افقی */
        width: 100%;
    }


}


/* اسکرول بار کلی */
::-webkit-scrollbar {
    width: 6px;
    /* عرض اسکرول بار */
}

/* پس‌زمینه اسکرول بار */
::-webkit-scrollbar-track {
    background: #959ea1;
}

/* قسمت قابل حرکت اسکرول */
::-webkit-scrollbar-thumb {
    background: rgb(34, 34, 34);
    border-radius: 6px;
}

/* رنگ هنگام هاور */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.705);
}

@font-face {
    font-family: "PEYDA";
    src: url(../font/vazir.ttf) format("truetype");


}

/*بک گراند*/
input,
select,
textarea {
    font-size: 16px;
}

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

body {
    font-family: "PEYDA";
background-color: rgb(39, 26, 26);
  background-color: rgba(0, 0, 0, 0.877);
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

/* دایره بزرگ - دسکتاپ */
body::before {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 600px;
    max-height: 600px;
    background: #47a0fa88;
    border-radius: 50%;
    top: -20vw;
    right: -20vw;
    filter: blur(80px);
}

/* دایره کوچک - دسکتاپ */
body::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    max-width: 400px;
    max-height: 400px;
    background: rgb(0, 122, 153);
    border-radius: 50%;
    bottom: -10vw;
    left: -10vw;
    filter: blur(60px);
    opacity: 0.9;
}

/* موبایل */
@media (max-width: 480px) {
    body::before {
        width: 60vw;
        height: 60vw;
        top: -15vw;
        right: -15vw;
        filter: blur(50px);
    }

    body::after {
        width: 40vw;
        height: 40vw;
        bottom: -10vw;
        left: -10vw;
        filter: blur(40px);
    }
}

.offcanvas {
    background-color: rgba(10, 10, 26, 0.85);

    margin: auto;
    height: 100vh;

}

.offcanvas .offcanvas-body ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s;

    /* هاور با رنگ نارنجی */
    border: 1px solid transparent;
}

.offcanvas .offcanvas-body ul li a:hover {
    background: rgba(53, 117, 255, 0.671);
    border-color: rgba(53, 181, 255, 0.849);
    color: #35b5ff;
    padding-right: 30px;
}

.btn-close {
    color: #fff;
}


.navbar {
    height: 10vh;
    justify-content: space-around;
    transition: all 0.5s linear;
    width: 100%;

}


.navbar-brand {
    margin-right: 10px;
}

/*معرفی*/
.nor {
    font-size: 30px;
    /* اندازه فونت بزرگ برای نمایش بهتر */
    font-weight: bold;

    /* تعریف گرادینت برای پس‌زمینه */
    background: linear-gradient(45deg, #ff00ff, #2121dd);

    /* این ویژگی باعث می‌شود پس‌زمینه فقط روی متن برش بخورد */
    -webkit-background-clip: text;
    background-clip: text;

    /* رنگ خودِ متن را شفاف می‌کنیم تا گرادینت دیده شود */
    color: transparent;
}

.code {
    font-size: 30px;
    /* اندازه فونت بزرگ برای نمایش بهتر */
    font-weight: bold;
    color: #ffff;
}



.nav-item .nav-text {
    color: #ffff;
    display: inline-block;
    padding-bottom: 10px;
    /* فاصله متن تا خط */
    cursor: pointer;

    /* تنظیمات گرادینت */
    background-image: linear-gradient(to right, #020488, #24faef);
    background-repeat: no-repeat;
    background-position: bottom left;
    /* شروع از سمت چپ */
    background-size: 0% 1px;
    /* در حالت عادی عرض صفر است (خط مخفی) */

    /* تنظیمات انیمیشن */
    transition: background-size 0.4s ease-in-out;
}



.nav-item a:hover {
    background-size: 100% 2px;
    color: #ffff;
}

.navbar-toggler {
    border: none;
}

.btn-desketap:hover {
    transition: all 1s;
}

.btn-ertbate {
    height: 52px;
    border: none;
    border-radius: 50px;
    width: 110px;
    background: linear-gradient(to left, #3b0269c4, #6f00ff);
    margin-right: 100px;

}

.nav-item .nav-text1 {
    color: #ffff;
    display: inline-block;
    padding-bottom: 10px;
    /* فاصله متن تا خط */
    cursor: pointer;

    /* تنظیمات گرادینت */


    /* در حالت عادی عرض صفر است (خط مخفی) */
    transition: all 1200000000000000000000000ms ease-in-out;
    /* تنظیمات انیمیشن */
}

.btn-ertbate:hover {
    transform: translateY(0px);
    box-shadow:
        0 0 0 0 rgba(118, 75, 162, 0),
        0 6px 12px rgba(118, 75, 162, 0.2),
        0 12px 24px rgba(118, 75, 162, 0.15),
        0 18px 36px rgba(118, 75, 162, 0.1),
        0 24px 48px rgba(118, 75, 162, 0.06);
    background: linear-gradient(to left, #6f00ff, #3b0269c4);

}

.btn-ertbate:active {
    transform: translateY(0);
    box-shadow:
        0 0 0 0 rgba(118, 75, 162, 0),
        0 2px 4px rgba(118, 75, 162, 0.1),
        0 4px 8px rgba(118, 75, 162, 0.08);

}

.btn-moon {
    border: none;
    background-color: whitesmoke;
}

.s1 {
    margin-top: 10px;
    height: 80vh;
}

.s1 .right {
    color: #fff;
}

.s1 .left {
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
}

.s1 .right .text-box {
    width: 100%;
    height: 40vh;
    margin-top: 100px;
}

.s1 .left-1 {
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
}

.s1 .left-1 .img-mobile {
    border-radius: 45px;
    border: 3px solid #000000;
    margin: auto;
}

.s1 .left img {
    height: 65vh;
    width: 400px;
    border-radius: 45px;
    border: 3px solid #000000;
    margin-right: 170px;
}

.address .btn-aaddress {
    display: flex;
    text-align: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

/*شمارمنده ها*/
.s3 {
    height: 130px;

}
/*باکس شمارنده ها*/
.s3 .box1,
.box2,
.box3,
.box4 {
    background-color: #ffffff36;
    height: 130px;
    border-radius: 17px;
    border: 1px solid whitesmoke;
text-align: center;
    backdrop-filter: blur(10px);
}

/* موبایل */
@media (max-width: 480px) {

    .s3 .box1,
    .box2,
    .box3,
    .box4 {
        height: 160px;
        margin-top: 30px;
        border-radius: 20px;
        padding-top: 13%;

    }

    .s3 {
        height: 55vh;

    }
}