@font-face {
    font-family: vazir;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Vazir-Regular.eot");
    src: url("../fonts/Vazir-Regular.ttf") format("ttf"),
         url("../fonts/Vazir-Regular.woff") format("woff"),
         url("../fonts/Vazir-Regular.woff2") format("woff2");
}
@font-face {
    font-family: sahel;
    font-style: normal;
    font-weight: 950;
    src: url("../fonts/Sahel-Bold.eot");
    src: url("../fonts/Sahel-Bold.ttf") format("ttf"),
         url("../fonts/Sahel-Bold.woff") format("woff"),
         url("../fonts/Sahel-Bold.woff2") format("woff2");
}
*{
    margin: 0;
    padding: 0;
}
body{
    font-family: vazir;
    direction: rtl;
    background-color:#fafafa;
    min-height: 100vh;
}
html{
    scroll-behavior: smooth;
}

/* Global */
.container{
    width:80%;
    margin:auto;
    overflow:hidden;
}
p{
    font-family: vazir;
    line-height: normal;
}
h1,h2,h3{
    font-family: sahel;
    padding-bottom: 20px;
}
.button_g{
    height:30px;
    background: #D2042D;
    border:none;
    padding:0 15px;
    border-radius: 15px;
}
.button_g a{
    font-family: sahel;
    text-decoration: none;
    font-size: 15px;
    color:#fff;
}
.button_g a:hover{
    font-weight: bold;
    color:#ccc;
}
/* Header */
/* top header */
.top-header{
    background:#D2042D;
    color:#fff;
    min-height:50px;
}
.social-media{
    float:right;
    padding:10px 20px 0 20px;
}
.social-icon{
    text-decoration: none;
    color:#fff;
    padding:0 7px;
}
.social-icon:hover{
    color:#ccc;
    font-weight: bold;
    transition: color 0.2s;
}
.phone-numb{
    color:#fff;
    float:left;
    padding:12px 0 0 20px;
    font-size:17px;
    letter-spacing: 0.2em;
}
/* main header */
.site-header{
    color:#35424a;
    background-color: rgb(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding-top:15px;
    min-height:30px;
    z-index: 1;
    position:sticky;
    top:0;
}

header nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
header li{
    height: 50px;
}
header nav a{
    height: 100%;
    padding: 0 20px;
    text-decoration:none;
    display: flex;
    align-items: center;
    color:#35424a;
    font-size: 18px;
}
nav a:hover{
    color:#D2042D;
    font-weight:bold;
}
nav li:first-child{
    margin-left: auto;
  }
.site-header-logo{
    width:135px;
    margin-top: 7px;
}
.site-header .highlight, header .current .site-header-a{
    color:#D2042D;
    font-weight: bold;
}

.mobileMenu{
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgb(255, 255, 255);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .mobileMenu li{
    width: 100%;
  }
  .mobileMenu a{
    width: 100%;
  }
  .menu-button{
    display: none;
  }
/* showcase */
#showcase{
    min-height:350px;
    background-image:url(../images/showcase.avif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    margin-top: 10px;
    color:#35424a;
    line-height: 3em;
    position: relative;
}
.showcase-h1, .showcase-h2{
    position: absolute;
}
.showcase-h1{
    text-align: right;
    font-size: 35px;
    top:40%;
    width: 100%;
}
.showcase-h2{
    text-align: right;
    font-size: 25px;
    top: 65%;
    width: 100%;
}
/* scroll down animation */
#sec-1 {
    min-height: 20vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
.scroll-down {
  height: 50px;
  width: 25px;
  border: 2px solid #D2042D;
  position: absolute;
  left: 50%;
  bottom: 20px;
  border-radius: 50px;
  cursor: pointer;
  margin: 0;
}
.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  height: 10px;
  width: 10px;
  transform: translate(-50%, -100%) rotate(45deg);
  border: 2px solid #D2042D;
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 1s ease-in-out infinite;
}
.scroll-down::after {
  top: 30%;
  animation-delay: 0.25s;
}

@keyframes scroll-down {
  0% {
    /* top:20%; */
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 95%;
  }
}

/* products */
#products{
    margin-top:50px;
}
#products .index-products-h2{
    text-align:center;
    color: #35424a;
    font-size: 35px;
}
#products .box-2{
    float:left;
    width:29%;
    padding: 1%;
    margin: 1%;
    text-align: center;
}
#products .box-2 img{
    width:200px;
    height:197px;
}
/* services */
#services{
    margin-top:50px;
    text-align:center;
}
#services .services-h2{
    text-align: center;
    color: #35424a;
    font-size: 35px;
}
#services .services-h3{
    text-align: center;
    color: #35424a;
    margin-top: 20px;
    font-size: 25px;
}
#services .services-img{
    width:200px;
    transition: transform 0.2s;
}
#services .box-3{
    float:left;
    width:30%;
    padding:17px;
}
#services .services-img:hover{
    transform:scale(0.5);
}
/* why karajwin */
#why-us{
    margin:0;
    margin-top:50px;
}
#why-us .why-us-h2{
    text-align: right;
    color: #35424a;
    font-size: 35px;
}
#why-us .why-us-h3{
    text-align: right;
    color: #D2042D;
    font-size: 25px;
}
#why-us .why-us-p{
    text-align: right;
    font-size: 20px;
    line-height: 2em;
}
#why-us .box-5-1{
    float:left;
    width:50%;
    padding:20px;
    box-shadow: 10px 10px 10px 3px #ccc;
}
#why-us .box-5-2{
    float:right;
    width:50%;
    padding:20px;
    margin-right: 30px;
    margin-bottom: 30px;
    box-shadow: 10px 10px 10px 3px #ccc;
}
#why-us .box-5-3{
    float:left;
    width:50%;
    padding:20px;
    margin-right: 30px;
    margin-bottom: 30px;
    margin-top:40px;
    box-shadow: 10px 10px 10px 3px #ccc;
}
#why-us .box-5-4{
    float:right;
    width:50%;
    padding:20px;
    margin-right: 30px;
    margin-bottom: 30px;
    box-shadow: 10px 10px 10px 3px #ccc;
}
#online-price{
    margin:0;
    margin-top:50px;
    min-height: 250px;
    background: url(../images/onlineprice.avif) no-repeat;
}
/* online price */
#online-price{
    margin: 0;
    margin-top: 20px;
}
#online-price .box-6{
    float:right;
    width:30%;
    padding-top:20px;
    text-align: center;
}
.online-price-h2{
    font-size: 27px;
    text-align: right;
}
.price-button{
    font-family: sahel;
    height:40px;
    background: #D2042D;
    border:none;
    margin-top: 30px;
    padding:0px 15px 0 15px;
    text-align: center;
}
.price-anchor{
    text-decoration: none;
    font-size:20px;
    color:#fff;
}
.price-button .price-anchor:hover{
    color:#ccc;
    font-weight: bold;
}

/*footer*/
#footer{
    margin-top:50px;
    color:#35424a;
    background:#fafafa;
    text-align:right;
}
#footer .box-8{
    float:right;
    width:29%;
    margin: 1%;
    padding: 1%;
    text-align: center;
}
#footer .footer-h2{
    margin: 0;
    text-align: right;
}
footer .footer-a{
    text-decoration: none;
    color:#35424a;
    line-height: 2em;
}
footer .footer-a:hover{
    color:#cccccc;
    font-weight:bold;
}
footer .footer-ul{
    list-style-type: none;
    text-align: right;
}

footer .social-media{
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;

}
footer .social-icon{
    color: #fff;
    display: inline;
    width: 50%;
}
footer .circle{
    width: 60px;
    height: 48px;
    border-radius: 50%;
    background-color: #D2042D;
    display: inline-block;
    padding-top: 10px;
    margin-left: 8px;
}
.footer-p{
    text-align: center;
    font-size: 17px;
    line-height: 2em;
}
/*---------------------------------------------------------------------------------------------*/
/* about page css */
#main-about-us{
    margin:0;
    margin-top:20px;
}
aside .side-img{
    float: right;
    width:30%;
}
.first-art{
    float:left;
    width:60%;
    padding-top: 40px;
}
#main-about-us .main-about-us-h2{
    text-align:right;
    font-size: 35px;
    color: #35424a;
}
.main-about-us-p{
    text-align:right;
    font-size: 20px;
    line-height: 2em;
}
#about-us{
    margin:0;
    margin-top:20px;
}
#about-us .about-us-h2{
    text-align:center;
    font-size: 35px;
    color: #35424a;
}
.about-us-p{
    text-align:center;
    font-size: 20px;
    line-height: 2em;
}
/*----------------------------------------------------------------------------------------------------------*/
/* products page css */
#products{
    margin:0;
    margin-top:20px;
}
#products .products-h2{
    text-align: right;
    font-size: 35px;
    color: #35424a;
}
.products-p{
    text-align: right;
    font-size: 20px;
    line-height: 2em;
}
#products .products-a{
    text-decoration: none;
    color: #000;
}
#products img{
    width: 350px;
}
#products .pbox1{
    float:left;
    padding: 20px;
}
#products .pbox1-i{
    float:left;
    width: 30%;
    padding: 10px;
}
#products .pbox1-hp{
    float:right;
    width: 60%;
    padding: 70px 10px 10px 10px;
}
#products .pbox2{
    float:right;
    padding: 20px;
}
#products .pbox2-i{
    float:right;
    width: 30%;
    padding: 10px;
}
#products .pbox2-hp{
    float:right;
    width: 60%;
    padding: 40px 10px 10px 10px;
}
#products .pbox3{
    float:left;
    padding: 20px;
}
#products .pbox3-i{
    float:left;
    width: 30%;
    padding: 10px;
}
#products .pbox3-hp{
    float:right;
    width: 60%;
    padding: 50px 10px 10px 10px;
}
/*--------------------------------------------------------------------------------------*/
/* blog page style */
.containerBlog{
    margin:50px auto;
}

.post-link{
    text-decoration: none;
    color: #000;
}
.inline-container{
    margin:auto;
    padding-right: 5%;
    padding-bottom: 70px;
    overflow:hidden;
    background-color: #fff;
}
.blogImg {
    float: right;
    width: 30%;
    height: auto;
    margin: 10px;
  }
  
.blogH2 {
    font-size: 35px;
    color: #35424a;
    text-align: right;
    margin: 10px;
  }
  
.blogP {
    float: right;
    width: 50%;
    padding-right: 50px;
    padding-top: 30px;
    line-height: 2.5em;
    font-size: 20px;
  }
/*--------------------------------------------------------------------------------------*/
/* blog post style */
ul.breadcrumb {
    margin: 30px 5px 50px 0;
    list-style: none;
}
/* Display list items side by side */
ul.breadcrumb li {
    font-weight: lighter;
    display: inline;
    font-size: 20px;
    color: #555555;
}
  
/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 15px;
    color: black;
    content: "\00BB";
}
  
/* Add a color to all links inside the list */
  ul.breadcrumb li a {
    color: #000;
    text-decoration: none;
}
  
/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
    color: #7b7b7b;
    font-weight: bold;
}
/* article */
.art-container{
    background-color: #fff;
    color:#7b7b7b;
    padding: 10px 0 30px 0;
}
.awithhover{
    text-decoration: #fff;
    color:#D2042D;
}
.awithhover:hover{
    color:#35424a;
    transition: color 0.5s;
}
.art-container h1{
    font-size: 35px;
    font-weight: lighter;
    color: #000;
    text-align: center;
    padding: 20px;
}
/* author and date */
.date{
    float:left;
    display: block;
    unicode-bidi: isolate;
    margin-left: 12px;
}
.calendar{
    width: 35px;
    height: 35px;
    background-position: -258px -2500px;
    background: url(../images/calendar.png) top left no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: .5rem;
}
.author{
    float:left;
    display: block;
    unicode-bidi: isolate;
}
.sauthor{
    margin-left: .5rem;
    display: inline-block;
}
.avatar{
    border-radius: 100%;
    display: inline-block;
    width: 35px;
    height: 35px;
    vertical-align: middle;
    border-style: none;
}
/* table of content */
.tableofcontent{
    background :#f3f3f3;
    border-radius: 8px;
    padding:10px 20px;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    width:80%;
}
.tableofcontent h3{
    border-bottom: 3px solid #fff;
    font-size: 25px;
    font-weight: 800;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    margin-top:0;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: right;
    color: #35424a;
}
.tableofcontent ul{
    list-style: none;
    margin: 0;
    padding:0 10px;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
.tableofcontent ul li{
    position: relative;
    line-height: 2.5;
    font-size: 20px;
    font-weight: 600;
    left: 0;
    transition: left 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.tableofcontent ul li:hover{
    left:-10px;
}
.tableofcontent ul li a{
    text-decoration: none;
    color:#35424a;
}
/*-----------------------------------*/
article .art-container p{
    font-size: 17px;
    text-align: justify;
    line-height: 2em;
    margin:auto;
    width:80%;
}
.art-container .art-img{
    display: block;
    margin:auto;
    padding-top:30px;
    padding-bottom: 30px;
      /* واکنش‌گرا شدن تصویر */
    max-width: 100%;
    height: auto;
}

.art-container h2{
    font-size: 30px;
    font-weight: lighter;
    color:#35424a;
    text-align: center;
    padding : 20px;
}
.art-container .article-h3{
    font-size: 25px;
    font-weight: lighter;
    color:#D2042D;
    text-align: center;
    padding : 20px;
    background-color: #f3f3f3;
    width: 80%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 10px;
}
/*--------------------------------------------------------------------------------------*/
/* contact page */
#contact-title{
    margin:0;
    margin-top:50px;
}
.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: #35424a;
    text-align: center;
    font-size:40px;
    height: 1.5em;
    opacity:10;
    &:before {
      content: '';
      background: linear-gradient(to right, transparent, #35424a, transparent);
      position: absolute;
      left: 0;
      top: 50%;
      width: 100%;
      height: 2.5px;
    }
    &:after {
      content: attr(data-content);
      position: relative;
      display: inline-block;
      color: #35424a;
      padding: 0 .5em;
      line-height: 1.5em;
      color: #D2042D;
      background-color: #fafafa;
    }
}
.contact-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #35424a, transparent);
}
#phone{
    margin:50px 0;
}
#address{
    margin:50px 0;
}
#work-hours{
    margin:50px 0;
}
.contact-h2{
    font-size:35px;
    text-align:right;
    color: #35424a;
}
.contact-p{
    font-size:20px;
    line-height: 2em;
    padding-right: 3%;
    margin-bottom: 20px;
}

  /*------------------------------------------------------------------------------------------------*/
  /* media query */
  @media(max-width: 800px) {
    .hideOnMobile{
        display: none;
      }
    .menu-button{
        display:block;
    }
    .site-header-logo{
        width:120px;
        padding-top: 10px;
    }
    #about .box-1, #products .box-2, #services .box-3, #online-price .box-6, #footer .box-8, #footer .footer-h2, #products .pbox1, #products .pbox2, #products .pbox3, #products .pbox1-hp, #products .pbox1-i, #products .pbox2-hp, #products .pbox2-i, #products .pbox3-hp, #products .pbox3-i, #main-about-us aside, #main-about-us .first-art{
        float:none;
        text-align: center;
        width:100%;
        padding-top: 20px;
    }
    footer .box-8{
        text-align: center;
        margin-top: 10px;
    }
    footer .footer-ul{
        text-align: center;
    }
    #showcase{
        background-size: 100% auto;
    }
    #about .box-1::after{
        opacity: 0;
    }
    #why-us .box-5-1, #why-us .box-5-2, #why-us .box-5-3, #why-us .box-5-4{
        width: 60%;
    }
    #why-us .why-us-h3{
        font-size:20px;
    }
    #why-us .why-us-p{
        font-size:15px;
    }
    #online-price .online-price-h2{
        margin-top: 20px;
        font-size: 30px;
    }
    #products .products-h2{
        font-size: 25px;
    }
    #products .products-p{
        font-size: 15px;
    }
    #products img{
        width: 300px;
    }
    #main-about-us .main-about-us-h2, #about-us .about-us-h2{
        margin-top: 0;
    }
    .showcase-h1{
        font-size:25px;
    }
    .showcase-h2{
        top: 55%;
        font-size:18px;
    }
  }
  @media(max-width: 400px){
    .mobileMenu{
      width: 100%;
    }
    .site-header-logo{
        width:90px;
        padding-top: 12px;
    }
    #showcase{
        background-position: top;
    }
    .showcase-h1{
        top:2%;
        font-size:12px;
    }
    .showcase-h2{
        top: 9%;
        font-size:10px;
    }
  }