@font-face {
    font-family:'YekanBakh-Medium'; ;
    src: url('../font/woff/YekanBakh-Medium.woff') format(woff),
    url('../font/ttf/YekanBakh-Medium.ttf') format(truetype),
    url('../font/AnyConv.com__YekanBakh-Medium.woff2') format(woff2); 
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family:'YekanBakh-Bold';
    src: url('../font/woff/YekanBakh-Bold.woff') format(woff);
}
@font-face {
    font-family: 'YekanBakh-Bold';
    src: url(../font/ttf/YekanBakh-Bold.ttf) format('truetype');
  }
body{
    font-family: 'YekanBakh-Medium';
    color:black;
    background-color: #f7f7f7;
}
/* هدر */
.contianer{
    display: flex;
    width: 79.99%;
    height: 81px;
    margin: 0 auto;
    margin-top: 2rem;
    box-shadow:0 2px 8px 0 rgb(99,99,99,0.2);
    border-radius:50px;
    background-color: #ffff;
    align-items: center;
    flex-shrink: 1;
    position: relative;
    z-index: 20;
}
.flex{
    display: flex;
    flex-shrink: 1;
}
.h_part{
    margin-left: 100px;
}
.header{
   flex-grow: 1;
   justify-content: space-between;
}
.menu{
    column-gap: 24px;
    align-items: center;
    color: black;
}
.logo{
    width: 156px;
    height: 60px;
    margin-left: -20px;
    margin-right: 23px;
}
a{text-decoration: none;
    color: inherit;}
.open_header{
    margin-bottom: -6px;
    width:20px ;
    height: 20px ;
}
ul{
    list-style-type: none;
}
.sing_in{
    background-color: #00b2ff;
    color: aliceblue;
    align-items: center;
    width: 131px;
    justify-content: center;
    height: 44px;
    column-gap: 4px;
    margin-left: 22px ;
    border-radius: 13px;
}
.H_part2{
    margin-left: 1rem;
    align-items: center;
    column-gap: 17px;
}
.shop_img{
    width: 24px;
    height: 24px;
    margin-top:6px;
}
.search{
    width: 25px;
    height: 25px;
}
.shop_number{
    position: absolute;
    background-color: #00b2ff;
    width: 22px;
    height: 22px;
    border: 2px solid white;
    top: -7px;
    right: -7px;
    line-height: 24px;
    text-align: center;
    border-radius:100% ;
    font-size: 10px;
    color: white;
}
.open{
    column-gap: 6px;
}
.menu_items{
    transition: all 130ms ease-in;
    position: relative;
}
.maga-menu1{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0;
    background-color:transparent;
}
.sub-mega-menu{
    background-color: white;
    /*opacity: 0;
    visibility: hidden;*/
    top: 27.5px;
    z-index: 21;
    width: 440px;
    height: 288px;
    position: relative;
    border-top: 1px solid #e1e1e1;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}
.sub-menu-items{
    align-items: center;
    justify-content: space-between;
    width: 200px;
    padding: 12px 20px;
    background-color: #f4f4f5;
}
.sub-menu-items-body{
    display: none;
    width: 160px;
    padding: 20px;
    font-size: 14px;
    color: #667085;
    flex-direction: column;
    row-gap: 18px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}
.sub-menu-items-box:hover  .sub-menu-items-body{
    display: flex;
}
.sub-menu-items:hover{
    background-color: white;
}
.open_header-sub-menu{
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
}
.menu-has-sub1:hover .maga-menu1{
    visibility:visible;
    opacity: 1;
}
.menu-has-sub:hover .maga-menu1{
    visibility: visible;
    opacity: 1;
}
.menu_items:hover .menu_link{
    color: #00b2ff;
}
.open_header{
    fill: #000000;
}
.menu_items:hover .open_header{
    fill: #00b2ff;
}
.cart{
    position: relative;
}
.cart-btn{
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    position: relative;
    justify-content: center;
    cursor: pointer;
}
.cart-body{
    position: absolute;
    width: 320px;
    height: 440px;
    border-radius: 12px;
    box-shadow: rgba(39, 39, 39, 0.2);
    background-color: rgb(94, 228, 28);
    padding: 16px 20px;
    left: 0;
    top: 64px;
    opacity: 0;
    visibility: hidden;
}
.cart-header{
    align-items: center;
    justify-content: space-between;
    border-bottom:1px solid #e5e5e5 ;
    padding-bottom:16px ;
    margin-bottom: 12px;
}
.cart-footer{
    border-top:1px solid #e5e5e5 ;
    padding-top: 20px;
    margin-top:20px ;
    
}
.cart-title{
    font-family:'YekanBakh-Bold';
}
.cart-count{
    font-size: 14px;
    color: #667085;
}
.cart:hover .cart-body{
    opacity: 1;
    visibility:visible;
}
/* شمارنده انیمیشنی */
.contianer_number_teacher{
    width:1213px ;
    height: 328px ;
    background:linear-gradient( #00b2ff , #40c6ff);
    border-radius: 45px;
    box-shadow: rgb(251, 242, 242);
    flex-direction: row;
    position: relative;
}
.section_number_teacher{
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    flex-shrink: 1;
    margin:-3rem 9.2% 0 0 ;
    position: absolute;
}
.box_teacher_number{
    flex-direction: column;
    width: 746px;
    height: 100%;
}
.box_img_number{
    width: 451px;
    height: 100%;
    align-items: center;
    right: 12px;
    left: -18px;
}
.img_teacher_number{
    width: 400px;
    height: 400px;
    position: absolute;
    left: 27px;
}
.titel_teacher_number{
    font-family:'YekanBakh-Bold';
    font-size: 50px;
    color: #ffff;
    font-weight:900px;
    text-align:center;
    position: absolute;
    right: 100px;
    top: -30px;
}
.benefits-item{
    margin-top: -26px;
}
.benefits-item {
    font-size: 45px;
    color: white;
}
.benefits-item span{
    color: white;
    margin-top: -12px;
}
.number span{
    color: white;
}
/* انیپوت سرچ */
.search-box{
    width:697px ;
    height:60px ;
    background-color:#ffff ;
    border-radius:60px ;
    box-shadow: 0 2px 18px -15px rgb(0, 180, 225);
    line-height: 60px;
    margin: 100px auto;
    right: -5px;
    position: relative;
}
.search-box input{
height: 89%;
border:0px;
border-radius:60px;
position:relative;
font-family:'YekanBakh-Medium' ;
width: 93%;
line-height: 1.75rem;
font-size: 18px;
padding-right:25px;
border: none;
}
/*.svg-search:hover{
    text-align: center;
    
    position: absolute;
}
.icon-search:hover{
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color:#00b2ff;
    right: 93%;
    position:absolute;
    top: 10%;
    align-items: center;
}*/
.svg-search{
   margin: auto;
   margin-right: -30px;
   cursor: pointer;
}
.icon-search{
    position: relative;
    top: 0;
    border: none;
    background: transparent;
}
.animation-number-box{
    flex-direction: row-reverse;
    column-gap: 18px;
    margin: 110px auto;
}
.animation-number-box div{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px ;
}
.titel-animation-number{
    margin: -80px auto;
    color: #ffff;
    font-size: 21px;
}
/* دسته بندی ها */
.box-category{
    width: 80.99%;
    height: 166px;
    margin: 7rem auto;
    bottom: -5rem;
    align-items: center;
    justify-content: space-around;
}
.category{
    width:224px ;
    height:166px ;
    border-radius:12px ;
    margin: auto;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
    row-gap: 6px;
}
.category-one{
    background: linear-gradient(rgba(228, 16, 72, 0.805), rgb(249, 21, 59));
}
.category-two{
    background: linear-gradient(#1ab656,#62ff9e);
}
.category-three{
    background: linear-gradient(#00b2ff,#70ccf4);
}
.category-four{
    background: linear-gradient(#0756aa, #3697ff );
}
.category-five{
    background: linear-gradient(rgb(18, 17, 17), rgb(113, 110, 110));
}
.category-img{
    width:48px ;
    height:48px ;
    margin: 1.2rem ;
}
.category span{
    color: #ffff;
    font-size:18px ;
    margin: -3px;
}
.title-category{
    font-size: 22px;
    margin: 2rem auto;
    right: 11%;
    position:absolute ;
}
/* اسلایدر */
.swiper {
    width: 79.95%;
    height: 57vh;
    border-radius: 18px;
    margin: 2rem auto;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slide1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
  }
  
  .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }
  @media only screen and (max-width: 500px) {
    .swiper{
        height: 28vh;
        margin: 1rem auto;
    }
  }
  @media only screen and (max-width: 800px) {
    .swiper{
        height: 40vh;
        margin: auto;
    }
  }
  @media only screen and (max-width: 800px) {
    .autoplay-progress svg {
        width: 90%;
        height: 90%;
        left: 2px;
        top: 2px;
    }
  }
/*   */
  .information{
    margin: 30rem auto 0 auto;
    width: 1220px;
    height: 130px;
    box-shadow:0 2px 8px 0 rgb(99,99,99,0.2);
    border-radius: 8px;
    background-color: white;
  }
  .p-information{
    font-size: 17px;
    margin: auto;
  }
  .information-img{
    width: 258px;
    height: 130px;
    margin: auto;
    border-radius: 8px;
  }
/*  */
.overlay{
    background-color: rgba(0,0 ,0 ,0.4);
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}
.overlay-show{
    opacity: 1;
    visibility: visible;
}
/*  فوتر  */
.index-footer{
    width: 81%;
    height: 50vh;
    background-color: white;
    flex-direction: column;
    border-radius:35px ;
    box-shadow: 0 12px 50px 10px rgba(0, 0, 0,0.07);
    margin:2rem auto 10px auto;
    margin-bottom: 10px;
}
.box-img-e img{
    width: 145px;
    height: 145px;
}
.box-about-us{
    width: 440px;
    height:201px ;
    flex-direction: column;
    text-align: center;
    margin-right: 20px;
}
.box-about-us p{
    font-size: 15px;
    line-height: 30px;
    margin-top: 11px;
    word-spacing: 0;
}
.footer-box-up{
    column-gap: 28px;
    margin-top: 15px;
}
.box-Contact-us{
    flex-direction: column;
    width: 366px;
    height: 201px;
    align-items: center;
}
.box-Contact-us ul{
    margin-top: -0px;
}
.contact-items span{
    font-size: 14px;
    margin-bottom: 6px;
}
.contact-items img{
    margin-top: 10px;
    margin-left: 4px;

}
.box-img-e{
    margin-top:2.3rem;
    margin-left: 20px;
}
.img-enemad{
    width: 164px;
    height: 178px;
    background-color: #f0f0f0;
    border-radius: 25px;
    margin: 4px 4px 0 4px;
    align-items: center;
    justify-content: space-around;
}
.footer-box-down{
    width: 1160px;
    height: 85px;
    background-color: #00b2ff ;
    border-radius: 35px;
    align-items: center;
    justify-content: center;
    margin: 1.8rem auto;
}
.footer-box-down span{
    color: white;
    margin-right: 5px;
    padding-top: -5px;
}