@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");
:root {
  --primary-color: #00b2f9;
  --primary-light: rgba(249, 0, 77, 0.1);
  --secondary-color: #191919;
  --dark-color: #101010;
  --light-color: #ffffff;
  --gray-color: #fcfcfc;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 15px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Vazirmatn, sans-serif;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
body{
    background: var(--dark-color);
    color: var(--light-color);
    line-height: 1,6;
    overflow-x: hidden;
}
body::selection{
    background-color: #00b2f981;
}
h1{
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}
h2{
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
h3{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
h4{
    font-size: 1.5rem;
    font-weight: 500;
}
h5{
    font-size: 1.3rem;
    font-weight: 500;
}
p{
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}
.container{
    width: 90%;
    min-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* header */

header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
}
header.scrolled{
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    font-size: 2rem;
    font-weight: 800;
    color: var(--light-color);
    text-decoration: none;
}
.highlight{
    color: var(--primary-color);
}
.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a{
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px  0;
}
.nav-links a:hover{
    color: var(--primary-color);
}
.nav-links a::after{
    content:"";
    position: absolute;
    bottom:  0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:hover::after{
    width: 100%;
}
.btn ,a:not(nav a,.scroll-indicator,.social-link){
    display: inline-block;
    color: var(--light-color);
    padding: 10px 30px;
    border-radius: 5em;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.btn:hover{
    background: linear-gradient(to bottom, #4dc7d9 0%,#66a6ff 100%);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);    
}
.scrollinger{
    width: 100%;
    height: 5px;
    position: fixed;
    top: 85px;
    z-index: 1000;
    border-radius: 50em;
    background-color: var(--primary-color);
    scale: 0 1;
    animation: scrollbigen linear;
    animation-timeline: scroll();
}
@keyframes scrollbigen {
    to{
        scale: 1 1;
    }
}
/* hero */
.hero{
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgb(16 16 16/ 46%)0%,
        rgb(25 25 25 /15%)50%,
        rgb(16 16 16 /0%)100%
        );
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 50px;
}
.hero-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.hero-content{
    animation: fadUp 1s ease;
    padding-left: 2rem;
}
.hero-content h4{
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    animation: fadUp 1s ease 0.2s both;
}
.hero-content h1{
    margin-bottom: 1rem;
    animation: fadUp 1s ease 0.4s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content h3{
    margin-bottom: 2.5rem;
    color: #ddd;
    animation: fadUp 1s ease 0.6s both;
}
@keyframes fadUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}
.typing-effect{
    position: relative;
    display: inline-block;
}
.typing-effect::after{
    content: "|";
    position: absolute;
    left: -5px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%,100%{
        opacity: 1;
    }
    50%{
        opacity: 0;        
    }
}
.hero-stats{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
    margin: 2rem;
    margin: 2rem 0;
    animation: fadUp 1s ease 0.8s both;
}
@keyframes fadUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}
.stat-item{
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.stat-item:hover{
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background-color: rgba(255,255,255,0.01);
}
.stat-number{
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color:var(--primary-color);
    margin-bottom: 0.5rem;
}
.stat-lable{
    font-size: 0.9rem;
    color: #aaa;
}
.newsletter-form{
    max-width: 500px;
    position: relative;
    animation: fadUp 1s ease 1s both;
    margin-bottom: 2rem;
}
.newsletter-form input[type="email"]{
    width: 100%;
    padding: 16px 140px 16px 20px;
    border:2px solid var(--primary-color);
    background-color: rgba(255,255,255,0.1);
    color: var(--light-color);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-radius: 5em;
}
.newsletter-form input[type="email"]:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 0, 77, 0.3);
    background: rgba(255,255,255,0.15);
}
.newsletter-form input[type="email"]::placeholder{
    color: rgba(255,255,255,0.15);
}
.newsletter-form input[type="submit"]{
    position: absolute;
    right: 10px;
    top:9px;
    padding: 11px 25px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.newsletter-form input[type="submit"]:hover{
    background-color: rgba(211, 67, 67, 0.623);    
    transform: scale(1.05);
}
.hero-cta{
    display: flex;
    gap: 1rem;
    flex-flow: row wrap;
    animation: fadUp 1s ease 1.2s both;
}
.btn-outline{
    background-color: var(--transition);
    border: 2px solid --primary-color;
}
.btn-outline {
    background-color: var(--primary-color);
}
.hero-image{
    position: relative;
    animation: fadUp 1s ease 1.5s both;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-container{
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.floating-element{
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 5em;
    z-index: -0.3;
    filter: blur(20px);
    opacity: 1;
    animation: floatElement 4s ease-in-out infinite;
}
.floating-element:nth-child(1){
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}
.floating-element:nth-child(2){
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
    background: #4284f53d;
}
.floating-element:nth-child(3){
    top: 50%;
    left: 5%;
    animation-delay: 2s;
    background: #34a85379;
}
.scroll-indicator{
    position: absolute;
    bottom: 60px;
    right: 50%;
    transform: translateX(50%);
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    transition: var(--transition);
    opacity: 0.7;
    animation: animat 2s infinite;
    grid-column: 1/-1;
    justify-self: center;
}
.scroll-indicator:hover{
    opacity: 1;    
}
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 20px;
    position: relative;
    background-color: #aaa;
}
.wheel{
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    position: absolute;
    top: 10px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
    animation: scroll 2s infinite;    
}
@keyframes floatElemen {
    0%,100%{
        transform: translateY(0) scale(1);
    }
    50%{
        transform: translateY(-20px) scale(1.1);
    }
}
@keyframes animat {
    0%, 100%{
        transform: translateX(50%) translateY(0);
    }
    50%{
        transform: translatex(50%) translateY(-10px);
    }
}
@keyframes scroll {
    0%{
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
    100%{
        opacity: 0;
        transform: translateX(50%) translateY(20px);
    }
}
/*about*/
.about{
    padding: 100px 0;
    background-color: var(--dark-color);   
}
.about-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img{
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: fadein 1s ease;
}
.about-img img{
    width: 80%;
    height: 80%;
    display: block;
    transition: var(--transition);
}
.about-img img:hover{
    transform: scale(1.05);
}
.about-txt{
    animation: fadein 1s ease 0.3 both;
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.ri-send-plane-line{
    padding-right: 10px;
}
/*logos*/
.logos{
    width: 100%;
    height: 10vh;
    background-color: var(--secondary-color);
    overflow: hidden;
    position: sticky;
    -webkit-user-drag: none;
}
.flexboxss{
    position: absolute;
    right: -2200px;    
    animation: runtoleft 40s infinite linear; 
    overflow: hidden;
}
.flexboxss > img,.flexboxssr>img{
    width: 45px;
    margin: 10px 40px; 
}
@keyframes runtoleft {
    0%{
        transform: translateX(0px);
    }
    100%{
       transform: translateX(-3600px);
    }
}
/*reverse*/
.flexboxssr{
    position: absolute;
    left: -2200px;    
    animation: runtoright 40s infinite linear; 
    overflow: hidden;
}
@keyframes runtoright {
    0%{
        transform: translateX(0px);
    }
    100%{
       transform: translateX(3600px);
    }
}
/*services*/
.services {
    padding: 90px 0;
    background-color: var(--secondary-color);
}
.services-grid{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;    
}
.section-title{
    text-align: center;
    margin-bottom: 3rem;
}
.service-card{
    width: 350px;
    height: 450px;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadUp 1s ease;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    margin: 10px 20px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.about *.service-card{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 316px;
}
.service-card:hover{
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
    transform: translateZ(10px) rotateX(20deg) rotateY(20deg);
}
.service-card img{
    width: 315px;
    border-radius: var(--border-radius);
}
.service-icon{
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.contact{
    padding: 40px 0;
    background-color: var(--secondary-color);
    text-align: center;
}
.ri-award-line{
    color: gold;
}
/*footer*/
footer{
    background-color: var(--dark-color);
    padding: 80px 0 30px;
    text-align: center;    
}
.social-links{
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    gap: 1rem;
    margin: 2rem 0;
}
.social-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--light-color);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.social-link:hover{
    background-color: var(--primary-color);
    transform: translateY(-5px);
}
.copyright{
    margin-top: 3rem;
    padding-top: 2rem;
    border-top:1px solid rgba(255,255,255,0.1);
    color: var(--gray-color);
    font-size: 0.9rem;
}
