@font-face {
    font-family: "vazirmatn";
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "vazirmatn";
    src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display:swap;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "vazirmatn";
    width: 100%;
    overflow-x: hidden;
}
.site-header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 85px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}
.logo{
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.logo img{
    width: auto;
    display: block;
    height: 60px;
    
}
.nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}
.nav a{
    text-decoration: none;
    color: blue;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    transition: 0.3s ease;
    border-radius: 6px;
}
.nav ul li a:hover {
    background-color: rgba(0, 0, 255, 0.973); 
    color: #ffff;
}
.hamburger{
    display: none;
}
.hamburger img{
    width: 40px;
    height: auto;
}
@media (max-width:900px){
    .nav{
        position: fixed;
        top: 85px;
        left: -100%;
        width: 280px;
        height:100dvh;
        background-color: white;
        padding-top: 20px;
        transition: 0.4;
    }
    .nav ul {
        flex-direction: column;
        padding-right: 30px;
        gap: 25px;
    }
    .nav.active{
        left: 0;
    }
    .hamburger{
        display: block;
    }
    .nav a{
        color: blue;
    }
}
@media(max-width:900px){
    .hero{
        flex-direction:column;
        text-align:center;
    }
}
.container{
    margin: 0 auto;
    width: 90%;
    margin-top: 100px;
    border-radius: 12px;
   background-color: #ffff;
   padding-bottom: 20px;
   
}
.flex-text{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
}
.flex-text img{
    width: 45%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}
.flex-text h1{
    padding: 20px 20px 0 20px;
    font-size: 28px;
    color: rgba(0, 0, 0, 0.87);
}
.flex-p{
    flex: 1;
    min-width: 280px;
}
.flex-p p{
  line-height: 1.8;
  color: #575555;
  padding: 20px;
}
.square{
    width: 300px;
    height: 4px;
    margin: 50px auto 0;
    background-color: #0521c0;
}
.trust-badges{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 30px;
    flex-wrap: wrap;
}
.trust-badges-box{
    width: 280px;
    height: 150px;
    background-color: #ffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background-color: #dadfff;
    flex: 1;
    min-width: 200px;
}
.trust-badges-box img{
    width: 40px;
}
.trust-badges-box-text{
    color: #0521c0;
    font-weight: bold;
    text-align: center;
}
.white-bg{
    width: 100%;
    margin-top: 50px;
    padding: 20px;
   
}
.white-bg h2{
    font-size: 22px;
}
.white-bg p{
    color: #575555;
    margin-top: 20px;
    line-height: 1.8;
}

@media(max-width:768px){
    .flex-text{
        flex-direction: column;
    }
    .flex-text img{
        width: 100%;
        order: -1;
        margin: 0 auto;
    }
    .flex-p p{
        width: 100%;
        padding: 15px;
        text-align: center;
    }
    .flex-text h1{
        font-size: 24px;
        text-align: center;
    }
    .trust-badges{
        gap: 15px;
    }
    .container{
        margin-top: 90px;
    }
    .white-bg{
        padding: 15px;
    }
    .white-bg h2{
        font-size: 20px;
        text-align: center;
    }
    .white-bg p{
        text-align: center;
    }
    .square{
        width: 200px;
    }
}
.footer{
    width: 100%;
    background-color: rgb(5, 33, 192);
    border-radius: 30px 30px 0 0;
    margin-top: 30px;
}
.footer-info-flex{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 50px;
    gap: 20px;
}
.footer-info-flex-details{
    line-height: 2;  
    color: white;
}
.footer-info-flex-details li{
    list-style: none;
}
.footer-info-flex-details h4{
    margin-bottom: 15px;
}
@media (max-width: 768px){
    .footer-info-flex{
        flex-direction: column;
        height: auto;
    }
}
.footer-icon-png{
    width: 20px;
    height: 20px;
}
.footer-icon{
    display: flex;
    flex-direction: row;
    gap: 6px;
}