@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;
font-family: "vazirmatn";
}
body{
    overflow-x: hidden;
}
.main-body{
    width: 100%;
    background-color:#ffff;
}
.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: left 0.4s ease;
    }
    .nav ul {
        flex-direction: column;
        padding-right: 30px;
        gap: 25px;
    }
    .nav.active{
        left: 0;
    }
    .hamburger{
        display: block;
    }
    .nav a{
        color: blue;
    }
    .logo img {
        height: 45px; 
    }
}
.hero {
    background-image: url(../img/banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 650px;
    display: flex;         
    align-items: center;   
    justify-content: flex-start;
    padding: 0 5%;
    padding-top: 85px;
}
.hero-content {
    text-align: right;
    color: rgba(0, 0, 0, 0.87);
    max-width: 600px;
}
.hero-content h1{
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: bold;
    width: 100%;
}
.btn{
    display: inline-block;
    background-color: rgb(5, 33, 192);
    color: #ffff;
    padding:  12px 28px;
    text-decoration: none;
    font-size: 20px;
    border-radius: 15px;
    transition: 0.3s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.btn:hover{
    background-color: #ffff;
    color: blue;
    border: 1px solid #0521c0;
}
@media(max-width:768px){
    .hero-content h1{
        font-size: 24px;
        width: 100%;
    }
    .hero {
        background-image: url(../img/mobilebanner.png);
        min-height: 100dvh;
        justify-content: center; 
        padding-top: 150px;
        align-items: flex-start;
    }
    .hero-content {
        text-align: center; 
        width: 100%;
    }
    .btn{
        font-size: 18px;
        padding: 8px 16px;
        display: inline-block;
    }
}
.main-section{
    width: 100%;
    background: rgb(249, 251, 252);
    padding: 80px 20px;
}
.main-section-container{
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
.team-title{
    font-size: 32px;
    margin-bottom: 20px;
}
.team-description{
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
    color: #555;
}
.main-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.main-section-grid-box{
    background: white;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.4s;
}
.main-section-grid-box img {
    width: 64px;         
    height: 64px;         
    object-fit: contain;  
    margin-bottom: 20px;  
    display: block;       
}
.main-section-grid-box h3{
     margin-bottom: 15px;
}
.main-section-grid-box p{
    color: #555;
    line-height: 1.6;
}
.main-section-grid-box:hover{
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(37, 99, 235, 0.30);
}
@media (max-width: 768px) {
  .main-section-grid{
    grid-template-columns: 1fr;
  }
  .main-section-container h2{
    font-size: 28px;
  }
}
.portfolio{
    width: 100%;
    padding: 40px 20px;
}
.portfolio-heading{
    max-width: 1200px;
    margin:0 auto;
    text-align: center;
}
.portfolio-heading h2{
    font-size: clamp(24px , 5vw , 32px);
    margin-bottom: 40px;
    margin-top: 40px;
}
.slider-container{
    width: 500px;
    max-width:100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    direction: ltr;
}
.image-container{
    width: 100%;
    display: flex;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.30);
    transition: transform 0.4s ease-in-out;
}
.image-container img{
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
    height: auto;
}
.arrow{
    position: absolute;
    top: 50%;
    width: 30px;
    transform: translateY(-50%);
    opacity: 0.6;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}
.arrow.back-btn{
    left: 10px;
}
.arrow.forward-btn{
    right: 10px;
}
.arrow:hover{
    opacity: 1;
}
.consult {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(249, 251, 252);
    padding: 40px;
}
.consult h3 {
    font-size: 32px;
    color: rgb(5, 33, 192);
    margin-bottom: 30px;
}

.consult-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.consult input {
    padding: 15px 20px;
    color: #333;
    background-color: #ffffff; 
    border: 1px solid #ccc;
    width: 300px;
    border-radius: 12px;
    text-align: right; 
}

.consult .btn {
    margin-top: 0;
    cursor: pointer; 
}
.footer {
    width: 100%;
    height: auto;
    background: rgb(249, 251, 252);
}
.footer-info-flex {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgb(5, 33, 192);
    border-radius: 30px 30px 0 0;
}

.footer-info-flex-details {
    padding: 40px;
    line-height: 1.5;  
    color: white;
}
.footer-info-flex-details li {
    list-style: none;
    margin-bottom: 8px;
}
.footer-info-flex-details h4{
    margin-bottom: 10px;
}
.footer-icon-png {
    width: 20px;
    height: 20px;
}
.footer-icon {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}
@media (max-width: 768px){
   .footer-info-flex {
        flex-direction: column;
        height: auto;
    }
    .footer-info-flex-details {
        padding: 40px;
    }
    .consult h3 {
        font-size: 25px;
    }
    .consult-form {
        flex-direction: column;
        width: 100%;
    }
    .consult input {
        width: 100%;
    }
}


@media (max-width: 768px){
    .portfolio{
    padding:20px 10px ;
    }
    .arrow{
        width: 24px;
    }
    .back-btn{
        left: 5px;
    }
    .forward-btn{
        right: 5px;
    }
}
.footer-icon-png{
    width: 20px;
    height: 20px;
}
.footer-icon{
    display: flex;
    flex-direction: row;
    gap: 6px;
}