*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:#f5f7fa;
    color:#222;
    line-height:1.9;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:min(1200px,90%);
    margin:auto;

}

.hero{
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0f2027;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url("logo.jpg") center center / contain no-repeat;
    opacity: .7;
}

.overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10,20,30,.85) 0%,
        rgba(10,20,30,.65) 35%,
        rgba(10,20,30,.35) 70%,
        rgba(10,20,30,.15) 100%
    );
}

.hero-content{
    position:relative;
    z-index:5;
    color:#fff;
}

.badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    margin-bottom:25px;
    font-size:15px;
}

.hero h1{
    font-size:62px;
    margin-bottom:20px;
    font-weight:800;
}

.hero p{
    max-width:720px;
    margin:auto;
    font-size:20px;
    color:#ddd;
}

.hero-buttons{
    margin-top:45px;
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.btn{
    padding:16px 34px;
    border-radius:60px;
    transition:.35s;
    font-weight:700;
}

.btn i{
    margin-left:10px;
}

.btn-primary{
    background:#229ED9;
    color:#fff;
}

.btn-primary:hover{
    transform:translateY(-5px);
    background:#0d8bcb;
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#222;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:#229ED9;
    font-weight:700;
}

.section-title h2{
    font-size:40px;
    margin:15px 0;
}

.section-title p{
    color:#777;
}

.services{
    padding:110px 0;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    transition:.35s;
    box-shadow:0 15px 40px rgba(0,0,0,.07);
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:45px;
    color:#229ED9;
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
}

.about{
    padding:110px 0;
    background:#fff;
}

.about-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about span{
    color:#229ED9;
    font-weight:700;
}

.about h2{
    font-size:42px;
    margin:15px 0 25px;
}

.about p{
    color:#666;
}

.about ul{
    margin-top:30px;
}

.about li{
    margin-bottom:15px;
}

.about li i{
    color:#22c55e;
    margin-left:8px;
}

.about-image{
    display: flex;
    justify-content: flex-end;
}

.about-image img{
    max-width: 100%;
    max-height: 450px;
    height: auto;
    border-radius: 16px;
}

.cta{
    padding:120px 20px;
    text-align:center;
    background:linear-gradient(135deg,#229ED9,#1572a1);
    color:#fff;
}

.cta h2{
    font-size:45px;
}

.cta p{
    margin:25px auto 40px;
    max-width:700px;
    color:#e8f8ff;
}

footer{
    background:#101820;
    color:#ddd;
    text-align:center;
    padding:70px 20px;

}

footer h3{
    color:#fff;
    margin-bottom:15px;
}

.social{
    margin:30px 0;
}

.social a{
    width:52px;
    height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#1b2733;
    color:#fff;
    margin:0 8px;
    font-size:20px;
    transition:.3s;
}

.social a:hover{
    background:#229ED9;
}

.copyright{
    color:#999;
    font-size:14px;
    line-height:2;
}

.copyright a{
    color:#fff;
    font-size:16px;
}

.copyright a:hover{
    color:#229ED9;
}

.back-to-top{
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #229ED9;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    box-shadow: 0 10px 30px rgba(34,158,217,.35);
    transition: .35s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 9999;
}

.back-to-top:hover{
    background: #1572a1;
    transform: translateY(-5px);
    color: #fff;
}

.back-to-top.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media(max-width:992px){

    .hero h1{
        font-size:44px;
    }

    .about-content{
        grid-template-columns:1fr;
        text-align:center;
    }

}

@media(max-width:768px){

    .hero{
        height: auto;
        min-height: 100vh;
    }

    .hero::before{
        background-size: contain;
        background-position: center center;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

    .section-title h2{
        font-size:30px;
    }

    .cta h2{
        font-size:32px;
    }

}