@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap");


* {
     margin: 0%;
    padding: 0%;

}
html { direction: rtl; 
scroll-behavior: smooth;}



body{
    background:#fff9f9;
    margin:0;
    padding:0;
    direction:rtl;
    font-family:"Vazirmatn",sans-serif;
    overflow-x:hidden;
}


header {
        padding: 10px 20px 0;
        border-bottom: 1px solid #ddd;
       display: flex;
       flex-direction: column;
        justify-content: center;
        box-shadow: 0px 0px 6px 0px #4B5563;
    }
a{
    color: inherit;
    text-decoration: none;
}
.top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 5px;
    }
.menu-header{
        display: flex;
        align-items: center;
        white-space: nowrap;
        gap: 8px;
        justify-content: space-between;
        margin-top: 15px;
    }
.auth-buttons{
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-btn,
.signup-btn{
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: Vazirmatn, sans-serif;
    font-size: 15px;
    transition: 0.3s;
}

.login-btn{
    color: #2d6a73;
    border: 2px solid #2d6a73;
    background: white;
}

.login-btn:hover{
    background: #2d6a73;
    color: white;
}

.signup-btn{
    background: #2d6a73;
    color: white;
    border: 2px solid #2d6a73;
}

.signup-btn:hover{
    background: #1f4f55;
    border-color: #1f4f55;
}

.logo{
    width: 200px;
    flex-shrink:0;
}

.logo img{
    width:100%;
    height:auto;
    display:block;
    border-radius:50%;
}

img{
    max-width:100%;
    height:auto;
}

.search-box {
        width: 40%;
        position: relative;
    }

.search-box input {
        width: 100%;
        padding: 10px 50px 10px 10px;
        font-size: 14px;
        border-radius: 15px;
        border: none;
        outline: none;
        box-sizing: border-box;
        background-color: #f0f0f1;
        font-family: 'Vazir';
        cursor: pointer;
    }

.search-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
    }

 .menu-header{
    width:100%;
    margin-top:20px;
}





.dropdown>ul{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    list-style:none;
    padding:0;
    margin:0;
}

.dropdown>ul>li{
    position: relative;

}

.dropdown>ul>li>a{
    display:block;
    text-decoration:none;
    color:#444;
    font-size:15px;
    padding:12px 15px;
    white-space:nowrap;
}

/* زیرمنو */
.dropdown ul li ul{
    display:none;
    position:absolute;
    top:100%;
    right:0;
    background:#fff;
    min-width:220px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    z-index:999;
}

.dropdown ul li:hover>ul{
    display:block;
}

.dropdown ul li ul li a{
    padding:12px;
}

/* موبایل */
@media(max-width:768px){

.menu-header{
    overflow-x:auto;
}

.dropdown>ul{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:15px;
    padding:10px;
}

.dropdown>ul::-webkit-scrollbar{
    display:none;
}

.dropdown>ul>li{
    flex:0 0 auto;
}

.dropdown>ul>li>a{
    font-size:14px;
    padding:10px 12px;
}

/* زیرمنوها با لمس راحت‌تر */
.dropdown ul li ul{
    position:absolute;
    min-width:180px;
}

}


    /* ریسپانسیو */
    @media (max-width: 768px) {
        header {
            padding: 5px;
        }

    .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .logo {
            width: 160px;
        }

    .search-box {
            width: 50%;
        }

    .dropdown ul li ul {
            position: relative;
            right: auto;
            top: auto;
            border: none;
            border: 1px solid #ccc;
            padding: 5px;
        }

     .dropdown ul li ul li ul {
            right: auto;
            left: 0;
        }
    }

#header .nav{
    display: flex;
    justify-content: center;
}
.menu-header{
    font-weight: 700;
}


@media (max-width:768px){
    .order h1{
        font-size: 32px;
        line-height: 1.6;
        padding: 0 15px;
    }
}


.order{
    background-color: ;
    color: rgb(3, 3, 56);
    border-radius: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}


.hero-slider{
    position:relative;
    width:100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    height: 100vh;
    min-height: 250px;
    max-height:700px;
    margin:30px auto;
    border-radius:20px;
    overflow:hidden;
}

.hero-slider .slide{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    animation:slideAnimation 30s infinite;
    opacity:0;
    position:absolute;
    inset: 0;
    width:100%;
    height:100%;
}

  /* بک‌گراند برای هر اسلاید */
  .hero-slider .slide:nth-child(1){
    background-image: url('../image/2/file_00000000f02071fd813cd1ed94a812a1.png');
    animation-delay: 0s;
  }
  .hero-slider .slide:nth-child(2) {
      background-image: url('../image/2/file_00000000024471f48ca02734247a67ba.png');
      animation-delay: 10s;
  }

  .hero-slider .slide:nth-child(3) {
      background-image: url('../image/2/file_00000000e28471f487182cc04ae23bee.png');
      animation-delay: 20s;
  }

  /* انیمیشن */
  @keyframes slideAnimation {
      0% {
          opacity: 0;
      }

      5% {
          opacity: 1;
      }

      30% {
          opacity: 1;
      }

      35% {
          opacity: 0;
      }

      100% {
          opacity: 0;
      }
  }


.active{
position: relative;
  }


.about-text{
    max-width:850px;
    margin:0 auto;
    padding:30px;
    text-align:right;
    line-height:2;
    font-weight: bold;
   

}

.about-text h2{
    text-align:center;
    margin-bottom:20px;
    font-size:32px;
    color:#0d3b8e;
}

.about-text h3{
    margin:20px 0 10px;
    color:#0d3b8e;
}

.about-text p{
    margin-bottom:18px;
    text-align:justify;
}

.about-text ul{
    margin:15px 25px;
    padding-right:20px;
}

.about-text li{
    margin-bottom:10px;
    list-style: none;
}
.container{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.block-features{
    margin: 50px auto;
}

.block-features__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.block-features__item{
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.block-features__item:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.block-features__divider{
    display: none;
}

.block-features__icon{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f3f8fb;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.block-features__title{
    font-size: 20px;
    font-weight: bold;
    color: #0a3d62;
    margin-bottom: 8px;
}

.block-features__subtitle{
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}





.section{
    width:100%;
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:repeat(2, minmax(160px, 320px));
    justify-content: center;
    gap:20px;
}

.section-box{
    width:100%;
    max-width: 320px;
    margin: 0 auto;
    box-sizing:border-box;
    background:#fff;
    border-radius:20px;
    padding:25px 20px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
}

.section-img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.section h3{
    font-size:22px;
    margin:15px 0 10px;
    line-height:1.5;
}

.section h5{
    font-size:16px;
    line-height:1.8;
    color:#444;
}

.section-text1{
    white-space: nowrap ;
}
.section-text{
    color: rgb(1, 1, 69);
    
}
@media (max-width:768px){

    .section{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
        padding:0 15px;
    }

    .section-box{
        padding:20px 15px;
    }

    .section h3{
        font-size:18px;
    }

    .section h5{
        font-size:14px;
        line-height:1.7;
    }

    .section-img{
        width:55px;
        height:55px;
    }
}

.about-vira{
   color: #0b2948; 
   padding: 6%;
}

.footer{
    background:#2d6a73;
    color:#fff;
    margin-top:70px;
    padding:60px 0 20px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-box h3{
    margin-bottom:20px;
    color: #0f2427;
    font-size:22px;
}

.footer-logo{
    width:150px;
    margin-bottom:20px;
}

.footer-box p{
    line-height:2;
    color:#ddd;
    font-size:15px;
}

.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.footer-box ul li a:hover{
    color: #000000;
    padding-right:8px;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}

.footer-social a{
    width:50px;
    height:50px;
    background:#fff;
    color:#0b2948;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    transition:.3s;
}

.footer-social a:hover{
    background: #18393e;
    color:#fff;
    transform:translateY(-5px);
}

.newsletter{
    width:90%;
    max-width:600px;
    margin:40px auto;
    text-align:center;
}

.newsletter h3{
    margin-bottom:20px;
    color: #193c42;
}

.newsletter input{
    width:70%;
    padding:15px;
    border:none;
    border-radius:30px;
    outline:none;
    font-family:inherit;
}

.newsletter button{
    padding:15px 30px;
    border:none;
    border-radius:30px;
    background: #132c30;
    color:#fff;
    cursor:pointer;
    margin-right:10px;
    transition:.3s;
}

.newsletter button:hover{
    background: #1f4950;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.2);
    margin-top:40px;
    padding-top:20px;
    text-align:center;
    color:#ddd;
    font-size:14px;
}

.footer-bottom p{
    margin:0;
}

/* ریسپانسیو */

@media(max-width:992px){

.footer-container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.footer{
    text-align:center;
}

.footer-container{
    grid-template-columns:1fr;
    gap:35px;
}

.footer-logo{
    margin:auto;
    display:block;
    margin-bottom:20px;
}

.newsletter input{
    width:100%;
    margin-bottom:15px;
}

.newsletter button{
    width:100%;
    margin:0;
}

.footer-social{
    flex-wrap:wrap;
}

}

@media (max-width:768px){

    .top-bar{
        flex-direction:column;
        gap:15px;
    }

    .search-box{
        width:90%;
    }

    .hero-slider{
        height: 350px;
    }

    .block-features__list{
        grid-template-columns:1fr;
    }

    .footer-info-box{
        flex-direction:column;
        text-align:center;
    }
}

@media (min-width:769px) and (max-width:1024px){

    .hero-slider{
        height:400px;
    }

    .block-features__list{
        grid-template-columns:repeat(2,1fr);
    }
}
@media (max-width: 768px) {
    .block-features__list{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .block-features__item{
        padding: 15px;
    }

    .block-features__title{
        font-size: 14px;
    }

    .block-features__subtitle{
        font-size: 12px;
    }

    .block-features__icon svg{
        width: 35px;
        height: 35px;
    }
}