@font-face {
    font-family: 'Vazir';
    src: url('fonts/vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

body{
    font-family:'Vazir',sans-serif;
    direction:rtl;
}

html, body{
    width:100%;
    height:100%;
    overflow-x:hidden;
}

.hero{
    height:85vh;
    min-height:85vh;
    background-image:url("images/laptop.webp");
    background-size:cover;
    background-position:center 40%;
    background-repeat:no-repeat;
    background-attachment:scroll;
    position:relative;
    overflow:hidden;
}

.navbar{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:40px;
    padding:0 5%;
    position:relative;
    z-index:2;
}

nav{
    display:flex;
    gap:40px;
    margin-right:0;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    font-size:20px;
}

.buttons{
    display:flex;
    gap:15px;
    order:3;
}

.login,
.download{
    padding:14px 65px;
    border-radius:40px;
    text-decoration:none;
    cursor:pointer;
    transition:.3s;
}

.login{
    font-size:20px;
    background:white;
    color:#333;
}

.download{
    background:#ef5350;
    color:white;
}

.hero-content{
    position:absolute;
    top:78%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    max-width:1100px;
    text-align:center;
    z-index:5;
}

.hero-content h1{
    font-size:90px;
    font-weight:700;
    margin-bottom:20px;
    color:#fff;
}

.hero-content p{
    font-size:22px;
    line-height:2;
    font-weight:500;
    width:100%;
    max-width:1200px;
    margin:auto;
    white-space:nowrap;
    color:#fff;
}

.big{
    display:inline-block;
    margin-top:30px;
    font-size:20px;
}

.about{
    height:500px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
}

.about h2{
    font-size:40px;
    margin-bottom:40px;
}

.about p{
    max-width:900px;
    font-size:20px;
    line-height:1.9;
    margin:4px 0;
}

.hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.30);
    pointer-events:none;
    z-index:1;
}

.download:hover{
    transform:translateY(-3px);
}

.parallax-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.35);
}

.parallax-content{
    position:relative;
    z-index:2;
    color:white;
    max-width:1000px;
    padding:20px;
}

.parallax-content h2{
    font-size:50px;
    margin-bottom:30px;
}

.parallax-content p{
    font-size:28px;
    line-height:2;
}

.parallax-section{
    height:1025px;
    background-image:url("images/company.webp");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:scroll !important;
    position:relative;
    overflow:hidden;
}

.parallax-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.parallax-container{
    display:flex;
    flex-direction:row-reverse;
    justify-content:center;
    gap:80px;
    color:white;
    text-shadow:0 2px 10px rgba(0,0,0,.8);
    position:relative;
    z-index:2;
    height:100%;
    align-items:flex-start;
    padding:0 8%;
    padding-top:88px;
    padding-left:10%;
    padding-right:21%;
}

.parallax-center{
    width:48%;
    text-align:center;
    margin-top:390px;
}

.parallax-center h2{
    font-size:26px;
    font-weight:700;
    line-height:1.5;
    color:white;
    width:72%;
}

.parallax-right{
    max-width:600px;
    width:35%;
    display:flex;
    flex-direction:column;
    gap:16px;
    text-align:right;
}

.parallax-right h3{
    font-size:20px;
    font-weight:700;
    color:white;
    margin-top:0;
    margin-bottom:4px;

  
background:
linear-gradient(
90deg,
rgba(255,255,255,.20),
rgba(255,255,255,.08) 45%,
transparent 75%
);

backdrop-filter:blur(12px);

padding:14px 20px;

border-radius:16px;

border-right:
2px solid white;

border-top:
2px solid white;

box-shadow:
0 0 20px rgba(255,255,255,.10);
}

.parallax-right h4{
    margin-top:30px;
    font-size:24px;
    #font-weight:700;
    color:white;
    text-align:center;
    width:100%;
    margin-bottom:10px;
}

.parallax-right p{
    font-size:18px;
    line-height:1.6;
    color:white;
}

.parallax-section h2,
.parallax-section h3,
.parallax-section p{
    color:white;
}


@media (max-width:1024px){


.hero{
    height:75vh;
    min-height:75vh;
    background-size:auto 100%;
    background-position:center center;
}


.navbar{
    height:70px;
    padding:0 20px;
    gap:15px;
}


nav{
    gap:15px;
}


nav a{
    font-size:14px;
}


.login,
.download{
    padding:8px 20px;
    border-radius:30px;
}


.login{
    font-size:14px;
}



.hero-content{
    top:78%;
    padding:0 20px;
}


.hero-content h1{
    font-size:32px;
    margin-bottom:15px;
}


.hero-content p{
    font-size:14px;
    line-height:1.8;
    white-space:normal;
}


.big{
    font-size:14px;
    margin-top:20px;
}



.about{
    height:auto;
    padding:40px 20px;
}


.about h2{
    font-size:28px;
}


.about p{
    font-size:14px;
    line-height:2;
}



.parallax-section{
    height:900px !important;
    background:url("images/company-mobile.webp") center / cover no-repeat;
}



.parallax-container{
    flex-direction:column;
    padding:30px 20px;
    gap:20px;
    align-items:center;
    padding-bottom:80px;
}



.parallax-center{
    width:100%;
    margin-top:40px;
}


.parallax-center h2{
    font-size:18px;
    width:100%;
}



.parallax-right{
    width:100%;
    max-width:none;
    text-align:center;
}


.parallax-right h3{
    font-size:15px;
}


.parallax-right h4{
    font-size:20px;
}


.parallax-right p{
    font-size:14px;
    line-height:1.8;
}

}


@media (max-width:1024px) and (orientation:landscape){

    .hero{
        height:85vh;
        min-height:85vh;
        background-image:url("images/laptop-mobile.webp");
        background-size:cover;
        background-position:center center;
    }

    .parallax-section{
     height:750px !important;

}
}

