:root{
    --primary-color:#230907;
    --secondary-color:#711D10;
    --tertiary-color:#CD8F24;

    --secondary-color-30:rgba(113, 29, 16, 0.30);

    --white-text-color:#f1f1f1;
    --dark-text-color:#000000a1;
}

*,
*:before,
*:after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a,
a:hover{
    text-decoration: none;
    color: var(--dark-text-color) ;
}


/* Font declaration */
@font-face {
  font-family: vazir;
  src: url(../webfonts/IRANYekanX-Regular.woff),
  url(../webfonts/IRANYekanX-Bold.woff),
  url(../webfonts/IRANYekanX-Light.woff),
  url(../webfonts/IRANYekanX-Black.woff),
  url(../webfonts/IRANYekanX-Medium.woff),
  url(../webfonts/IRANYekanX-Thin.woff),
  url(../webfonts/IRANYekanX-UltraLight.woff),
  url(../webfonts/IRANYekanXFaNum-Black.woff),
  url(../webfonts/IRANYekanXFaNum-Bold.woff),
  url(../webfonts/IRANYekanX-Light.woff),
  url(../webfonts/IRANYekanXFaNum-Regular.woff),
}

/* animations */

@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}









body{
  font-family: vazir;
  overflow-x: hidden;
}
h2{
  font-weight: 700;
}
.header{
    background:linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../images/6.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white-text-color);
    height: 400px;
    padding-top: 150px;
}
.header .top-div{
  /* padding-top: 150px !important; */
}

.header.header-main {
  height: 600px;
}

.brand-name-div img{
    height: 100px;
    width: 100px;
}
.header .nav-menu li{
    display: inline-block;
}
.breadcrumb .breadcrumb-item a{
  color: var(--white-text-color);
  font-size: 14px;
}
.breadcrumb .breadcrumb-item.active{
  color: var(--tertiary-color);
}
.header .page-title{
  text-align: center;
}
/* Slider in Home Page(index.html) */
.course-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
.course-div > * {
  text-decoration: none;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.course-div img {
  border-radius: 400px;
  width: 273px;
  height: 273px;
  -webkit-border-radius: 400px;
  -moz-border-radius: 400px;
  -ms-border-radius: 400px;
  -o-border-radius: 400px;
}
.course-div strong {
  opacity: 0;
  color: var(--white-text-color);
}
.course-swiper .swiper-slide-active .course-div strong {
  opacity: 1;
}
.course-swiper .swiper-slide-active .course-div img {
  -webkit-box-shadow: 0px 0px 10px 2px #0000009e;
          box-shadow: 0px 0px 10px 2px #0000009e;
}

/* Menu of the header */

.navbar {
  position: absolute;
  width: 100vw;
  left: 0;
  top: 0;
  background: rgb(0, 0, 0);
  background: -o-linear-gradient(
    top,
    rgba(0, 0, 0, 0.8940826330532213) 0%,
    rgba(0, 0, 0, 0) 90%
  );
  background: --webkit-gradient(
    linear,
    left top, left bottom,
    from(rgba(0, 0, 0, 0.8940826330532213)),
    color-stop(90%, rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8940826330532213) 0%,
    rgba(0, 0, 0, 0) 90%
  );
  color: #fff;
  z-index: 2;
}
.logo-a img {
  width: 80px;
  height: auto;
}
.menu label,
.toggler-label {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  color: var(--white-text-color);
}
.toggler-label span{
  color: var(--white-text-color);
}
.menu label:hover,
.toggler-label:hover {
  cursor: pointer;
}
.menu-dropdown,
.menu-check,
.toggler-check,
.search-form {
  display: none;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}
.menu .active {
  color: var(--tertiary-color);
}
.menu a {
  color: var(--white-text-color);
  font-weight: 700;
  font-size: .9rem;
  display: block;
  white-space: nowrap;
}

.menu-dropdown a {
  padding: 10px 15px;
  display: block;
  color: var(--white-text-color);
}

.menu li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.left-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}


@media screen and (min-width: 1201px) {
  .menu .menu-hasdropdown > a .fa-chevron-down {
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .menu .menu-hasdropdown:hover > a .fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .menu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    margin-right: 25px;
  }
  .left-menu .button-style{
    background-color: var(--tertiary-color);
    color: var(--white-text-color);
    padding: 5px 10px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.left-menu .button-style svg{
  margin-left: 5px;
}

  .toggler-label,
  .menu-check,
  .toggler-check {
    display: none;
  }

  .menu > ul > li > a:hover {
    color: var(--tertiary-color);
  }

  .menu > ul > li > a {
    padding: 5px 15px;
    line-height: 50px;
  }

  .menu > ul > li {
    display: inline-block;
  }

  .menu-dropdown a:hover {
    color: var(--primary-color);
  }

  .menu-hasdropdown {
    position: relative;
  }
  .menu-hasdropdown:hover > ul {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  .menu-hasdropdown > ul {
    position: absolute;
    display: block;
    top: 100%;
    right: 0;
    z-index: 1;
    padding: 15px 0;
    border-radius: var(--input-radius);
    background-color: var(--tertiary-color);
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transform: scale(1, 0.1);
    -ms-transform: scale(1, 0.1);
    transform: scale(1, 0.1);
    opacity: 0;
    -webkit-transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 140px;
    -webkit-border-radius: var(--input-radius);
    -moz-border-radius: var(--input-radius);
    -ms-border-radius: var(--input-radius);
    -o-border-radius: var(--input-radius);
}
  .menu-hasflyout > ul {
    right: 100%;
    top: 0;
  }
  .menu-hasflyout .menu-downicon {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .menu {
    width: 400px;
    max-width: 100%;
  }
  .menu .toggler-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 18px;
    padding: 13px;
    color: var(--primary-color);
    font-weight: bold;
  }
  .menu,
  .menu-lefticon,
  .menu-backdrop {
    display: none;
  }
  .toggler-check:checked + .menu-backdrop {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.75;
    z-index: 0;
  }

  .toggler-check:checked ~ .menu-backdrop {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
    z-index: 8;
  }

  .toggler-check:checked ~ .menu {
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    background-color: var(--primary-color);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
    height: 100vh;
    overflow: scroll;
    z-index: 9;
  }

  .menu-check:checked ~ ul {
    display: block;
    background-color: rgba(241, 241, 241, 0.482);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
  }
  .menu a {
    font-size: 0.9rem;
    color: var(--text-color);
  }

  .menu ul a {
    border-bottom: 1px solid var(--border-color);
    padding: 13px;
    font-weight: 400;
  }
  .menu > ul > li:last-child a {
    border: none;
    margin-bottom: 15px;
  }
  .menu-check:checked ~ ul.menu-dropdown {
    -webkit-animation: none;
    animation: none;
  }
  .left-menu .button-style {
    padding: 0;
    width: 48px;
    background-color: var(--tertiary-color) !important;
    display: flex;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    width: fit-content;
    color: var(--white-text-color);
}
  .left-menu .button-style span {
    display: none;
  }
}


/* .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    align-self: center;
    margin-left: auto;
  }
  .menu a {
    color: var(--white-text-color);
    font-weight: 700;
    font-size: 16px;
  }
  .menu .active,
  .menu a:hover {
    color: var(--tertiary-color);
  }
  
  .menu a {
    display: block;
    white-space: nowrap;
  }
  .menu-dropdown,
  .menu-check,
  .toggler-check {
    display: none;
  }
  .menu label:hover,
  .toggler-label:hover {
    cursor: pointer;
  }
  .menu li label {
    display: flex;
    justify-content: space-between;
  }
  
  .menu-dropdown a {
    padding: 5px 10px;
  }
  
  @media screen and (min-width: 1025px) {
    .menu {
      display: contents;
    }
    .toggler-label,
    .menu-check,
    .toggler-check {
      display: none;
    }
    .menu > ul > li > a {
      padding: 0px 17px;
    }
    .menu > ul > li {
      display: inline-block;
    }
    .menu-hasdropdown {
      position: relative;
    }
    .menu-hasdropdown:hover > ul {
      display: block;
      -webkit-animation: grow 0.5s ease-in-out;
      animation: grow 0.5s ease-in-out;
    }
    .menu-hasdropdown > ul {
      position: absolute;
      top: 120%;
      right: 0;
      min-width: 150px;
      border-right: solid 2px var(--primary-color);
      background-color: var(--primary-color);
      box-shadow: rgb(0 0 0 / 22%) 0px 10px 15px;
    }
    .menu-hasflyout > ul {
      right: 100%;
      top: 0;
    }
    .menu-hasflyout .menu-downicon {
      display: none;
    }
    .menu-dropdown a:hover {
      background-color: #0000004f;
    }
  }
  
  @media screen and (max-width: 1024px) {
    .menu {
      width: 100%;
    }
    .menu,
    .menu-lefticon {
      display: none;
    }
    .toggler-check:checked + .menu {
      display: block;
      background-color: var(--primary-hover-color1);
      -webkit-animation: grow 0.5s ease-in-out;
      animation: grow 0.5s ease-in-out;
      margin-top: 10px;
      box-shadow: rgb(0 0 0 / 22%) 0px 10px 15px;
    }
    .menu-check:checked + ul {
      display: block;
      background-color: var(--primary-hover-color1);
      -webkit-animation: grow 0.5s ease-in-out;
      animation: grow 0.5s ease-in-out;
    }
    .toggler-label {
      display: block;
      padding: var(--bs-navbar-toggler-padding-y)
        var(--bs-navbar-toggler-padding-x);
      color: #ffffff6b;
      font-size: 1.5rem;
      text-align: end;
    }
    .menu a {
      padding: 15px 20px;
    }
  } */
  .button{
    background-color: var(--tertiary-color);
    padding:10px 20px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    color: var(--white-text-color) !important;
}
.hero-title{
    font-size: 52px;
    font-weight: bold;
}
  .hero-desc{
    color: var(--tertiary-color);
    font-size: 18px;
    font-weight: 600;
  }


  /* خدمات ما */
  .our-services{
    margin-top: 50px;
    position: relative;
  }
.service{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 150px;
  /* width: 270px; */
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  cursor: pointer;
  margin-top: 10px;
}

.our-services .service .service-image{
  position: absolute;
  height: 90px;
  width: 90px;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.our-services .service .service-image::before{
  content: '';
  height: 60px;
  width: 60px;
  background-color: var(--secondary-color-30);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.our-services .service .service-image img{
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  /* object-fit: contain; */
}
.our-services .service .service-name{
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  color: var(--secondary-color) !important;
  margin-top: 30px !important;
}
.our-services::before{
  content: '';
  height: 400px;
  width: 400px;
  position: absolute;
  top: -10%;
  right: -20%;
  background-image: url(../images/asset.svg);
  background-repeat: no-repeat;
  opacity: .2;
  z-index: -10;
}


/* بخش اخبار */
.blog-section .blog-section-post{
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding-bottom: 10px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  padding: 10px;
}
.blog-post-image{
  overflow: hidden;
}
.blog-section img{
  height: 100%;
  width: 100%;
  transition: .4s;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  -ms-transition: .4s;
  -o-transition: .4s;
}
.blog-section .blog-section-post:hover >.blog-post-image img{
  transform:scale(1.2);
  -webkit-transform:scale(1.2);
  -moz-transform:scale(1.2);
  -ms-transform:scale(1.2);
  -o-transform:scale(1.2);
}

.blog-section .blog-post-image,
.blog-section .blog-post-image img{
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
.blog-section .blog-post-image{
  height: 200px;
  /* width: 280px; */
  margin: auto;
  
}
.blog-section .blog-post-image img{
  height: 100%;
  width: 100%;
  border-radius: 12px;
  padding: 0 !important;
}
.blog-section .blog-section-title{
  font-size: 14px;
  margin: 20px 0 20px 0;
  color: #1d1c1c;
}
.blog-section p{
  font-size: 13px;
  font-weight: 400 !important;
  color: #0000009c;
  text-align: justify;
}
.blog-section .author-image{
  height: 40px;
  width: 40px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-left: 10px;
}
.blog-section .author-image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  padding: 0;
}
.blog-section .author-image + span{
  font-size: 12px;
  color: var(--tertiary-color);
}
.blog-section .post-info span{
  font-size: 10px;
  color: #0000009c;
}
.blog-section .post-info{
  display: flex;
  align-items: center;
}


/* بخش خبرنامه */
.news-section {
  text-align: center;
}
.news-section a {
  text-align: justify;
}

/* footer */
/* .footer{
  height: 500px;
  width: 100%;
  background-color: var(--primary-color);
} */

footer {
  width: 100%;
  background-color: rgba(0, 0, 0, .8);  /* background: linear-gradient(
    164deg,
    var(--primary-color) 80%,
    var(--secondary-color) 150%
  ); */
  color: #fff;
  text-shadow: rgb(104 104 104 / 45%) 1px 1px 3px;
  font-size: 0.8rem;
  text-align: justify;
  line-height: 2;
}
footer span {
  margin-top: 15px;
  padding-left: 20px;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer a,
footer a:hover {
  color: #fff;
}
footer h2 {
  font-size: 1rem;
  margin: 20px 0;
}
footer i {
  font-size: 2rem;
  margin-left: 15px;
}
@media (max-width: 992px) {
  footer h2 {
    text-align: right;
  }
}
@media (min-width: 992px) {
  footer .col-lg-3 {
    padding-left: 30px;
  }

}


input,
textarea,
select,
.show-all {
  margin: 5px 0;
  border: solid 1px #e4e4e4;
  padding: 8px;
  font-size: 0.8rem;
  border-radius: 5px;
  direction: rtl !important;
}

input:focus,
select:focus,
textarea:focus {
  border: solid 1px var(--tertiary-color);
  outline: none;
}
input[type="submit"],
.show-all {
  background-color: var(--tertiary-color);
  color: #fff;
  border: none;
  margin: 20px 0;
}
input[type="submit"]:hover,
.show-all:hover{
  box-shadow: rgba(124, 124, 124, 0.22) 0px 10px 10px;
  color: #fff;
}



/* Gallery */


.main.gallery {
  max-width: 1300px;
  margin: auto;
}


.main.gallery .row {
  margin: 15px -20px;
  --bs-gutter-x:0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


/*............ باکس ها  ...................*/

.main.gallery .column{
  height: 15rem;
  width: 25rem;
  margin: 1rem;
  box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .25) ;
  overflow: hidden;
  border-radius: 15px;
  display: none;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
} 

.main.gallery .column  .content{
  height: 15rem;
  width:25rem ;
}
.main.gallery .content .box{
  height:100%;
  width: 100%;
}

.main.gallery a{
  position: relative;
}
.main.gallery a .fa-play-circle{
  color: var(--tertiary-color);
  font-size: 4em;
  position: absolute;
  margin: 69px 161px;
}



.main.gallery .column  .content:hover{
  transition: .3s linear;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}


/* Clear floats after rows */
.main.gallery .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.main.gallery .content {
  background-color:var(--white-text-color);
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.main.gallery .show {
  display: block;
}

/* Style the buttons */

.main.gallery .BtnContainer {
  display: flex;
  justify-content: center
}

.main.gallery .btn{
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color:var(--tertiary-color);
  cursor: pointer;
  margin: 0px 5px;
  font-size: 14px;
  
}

.main.gallery .btn:hover {
  background-color: var(--secondary-color);
  color: var(--white-text-color);
}

.main.gallery .btn.active {
  background-color:var(--primary-color);
  color: white;
}

/* صفحه اخبار */
.news-div {
  position: relative;
  text-align: justify;
  position: relative;
  padding: 30px;
  border-radius: 5px;
}
.news-div:hover {
  box-shadow: rgb(0 0 0 / 18%) 0 19px 55px;
}
.news-div img {
  margin-bottom: 10px;
  border-radius: 5px;
}
.news-div h2 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 10px;
  color: #000;
}
img {
  max-width: 100% !important;
  height: auto;
}
.breadcrumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 5px;
  font-size: 0.8rem;
  text-shadow: rgb(104 104 104 / 45%) 1px 1px 3px;
}
.breadcrumbs a {
  color: #fff;
}
.breadcrumbs a::after {
  content: ">";
  margin-right: 5px;
  color: var(--secondary-color);
}
.date-time-div {
  display: flex;
  gap: 50px;
  font-size: 0.8rem;
  text-shadow: rgb(104 104 104 / 45%) 1px 1px 3px;
}
.date-time-div i {
  margin-left: 5px;
  vertical-align: middle;
}
article {
  padding-top: 30px;
  line-height: 2;
}
article a,
article a:hover {
  color: var(--secondary-color);
}
h3 {
  margin-bottom: 5px;
  margin-top: 10px;
  color: #000;
}
.swiper a {
  text-align: justify;
}
.search-div {
  position: relative;
  margin: auto 0;
}
.search-div input {
  padding-left: 50px;
}
.search-div button {
  border: none;
  border-radius: 5px 0 0 5px;
  background: none;
  position: absolute;
  left: 0;
  margin: 0px 12px;
  height: 100%;
  width: 45px;
  color: #fff;
  background-color: var(--tertiary-color);
}
.search-div i {
  padding: 5px;
}
@media (max-width: 992px) {
  .search-div {
    margin: 5px 0;
  }
}

.pagination {
  margin-top: 40px;
  justify-content: center;
  --bs-pagination-color: var(--dark-text-color);
  --bs-pagination-active-bg: var(--tertiary-color);
  --bs-pagination-active-border-color: var(--tertiary-color);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-hover-color: var(--dark-text-color);
  --bs-pagination-focus-color: var(--dark-text-color);
}
.pagination a span{
  font-size: 14px;
}


/* single blog */

.blog-main {
  background-color: #fff;
  /* position: relative; */
  margin-top: -80px !important;
  box-shadow: rgb(0 0 0 / 18%) 0 19px 55px;
  border-radius: 5px;
  padding: 50px;
}

@media (max-width: 992px) {
  .blog-main {
    padding: 20px;
  }
}


.page-title{
  position: relative;
}
.page-title span{
  display: inline-block;
  position: absolute;
  top: 35%;
  font-size: 14px;
  background-color: var(--tertiary-color);
  padding: 5px 10px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  cursor: pointer;
}
.header  .single-blog-date-container .date-time-div{
  font-size: 12px;
  background-color: #F1F1F1;
  width: fit-content;
  margin: 0 auto;
  color: var(--dark-text-color);
  padding: 5px 15px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  display: flex;
  align-items: center;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}


/* دروس آموزشگاه */
.courses-view .course-col > div{
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;

}
.courses-view .row h2:first-child{
  font-size: 20px;
  color: var(--dark-text-color);
  margin: 20px 0;
}
.courses-view .row h2:not(:first-child){
  margin: 10px 0;
}
.courses-view .course-col > div:before{
  width: 70px;
  height: 70px;
  background: url('../images/circle-bg.svg') no-repeat left bottom;
  content: '';
  position: absolute;
  left: -1px;
  bottom: 62px;
}
.courses-view .course-col > div .img-layer{
  width: 100%;
  position: relative;
}
.courses-view .course-col > div .img-layer img{
  width: 100%;
  display: block;
    height: 180px !important;
}
.courses-view .course-col > div .img-layer a{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
}
.courses-view .course-col > div .img-layer a:before{
  width: 100%;
  height: 55px;
  content: '';
  right: -5px;
  top: -1px;
  background: url('../images/more.svg') no-repeat right top;
  z-index: 100;
  background-size: contain;
  position: absolute;
  opacity: 0.4;
}
.courses-view .course-col > div .img-layer a i {
  font-size: 23px;
  position: absolute;
  right: 15px;
  top: 13px;
  color: #fff;
  z-index: 101;
}
.courses-view .course-col > div:hover .img-layer a:before {
  opacity: 1;
}
.courses-view .course-col > div:hover .img-layer a i {
  color: #00b3e9;
}
.courses-view .course-col > div > h2{
  padding: 7px 14px 4px;
  position: relative;
  z-index: 10;
}
.courses-view .course-col > div > h2 a {
  line-height: 20px;
  /* height: 40px; */
  font-size: 14px;
  color: #1e2f38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.courses-view .course-col .course-description p,
.courses-view .course-col .bottom span.time{
  font-size: 13px !important;
  color: var(--dark-text-color);
}
.courses-view .course-col .bottom span.price i{
  font-size: 13px !important;
}
.courses-view .course-col > div > h2 a:hover {
  color: #00b3e9;
}
.courses-view .course-col > div .detail {
  padding: 0 10px;
  
}
.courses-view .course-col > div .detail .top {
  border-bottom: 2px solid #eaeff2;
  padding-bottom: 12px;
  font-size: 15px;
}
.courses-view .course-col > div .detail .top a{
  width: auto;
  display: inline-table;
  white-space: nowrap;
  font-size: 13px;
  /* color: #778286; */
  line-height: 25px;
  padding-left: 20px;
  color: var(--dark-text-color);
}
.courses-view .course-col > div .detail .top span{
  width: auto;
  display: inline-table;
  white-space: nowrap;
  font-size: 13px;
  color: #778286;
  line-height: 25px;
  position: relative;
  top: -1px;
}
.courses-view .course-col > div .detail .top a i{
  position: relative;
  top: 2px;
  margin-left: 5px;
  font-size: 17px;
  color: #d2dbdf;
}
.courses-view .course-col > div .detail .top a:hover{
  color: var(--secondary-color);
}
.courses-view .course-col > div .detail .top span i{
  position: relative;
  top: 3px;
  margin-left: 5px;
  font-size: 17px;
  color: #d2dbdf;
}
.courses-view .course-col > div .detail .bottom{
  position: relative;
}
.courses-view .course-col > div .detail .bottom .time{
  line-height: 35px;
  color: var(--dark-text-color);
  font-size: 15px;
  word-spacing: 1px;
  padding: 7px 0 8px;
}
.courses-view .course-col > div .detail .bottom .time i{
  position: relative;
  top: 2px;
  margin-left: 3px;
  font-size: 16px;
}
.courses-view .course-col > div .detail .bottom .price{
  position: absolute;
  left: 0;
  bottom: 14px;
  font-size: 13px;
  color: var(--tertiary-color);
}
.courses-view .course-col > div .detail .bottom .price i{
  font-style: normal;
  font-size: 17px;
}

/* تماس با ما */
.contact-us {
  position: relative;
  font-size: 14px !important;
  margin-top: -120px;
}
.contact-us p:first-child{
  color: var(--white-text-color);
}
.contact-us form input::placeholder,
.contact-us form .form-select,
.contact-us form .text-contact-us,
.contact-us .h6-contact-us{
  font-size: 13px !important;
  color: var(--dark-text-color);
}

.border-contact-us {
  border-radius: 10px;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .5);
}

.border-box-contact-us {
  border: var(--tertiary-color) 1px solid;
  border-radius: 10px;
}

a .fa-earth {
  color: var(--tertiary-color);
  font-size: 30px;

}
.contact-us .text-contact-us{
  max-height: 130px;
}

.loc-contact-us {
  /* width: 1600px; */
  width: 100%;
  height: auto;
  border: 0;


}
@media (max-width:1500px){
  
.loc-contact-us {
  /* width: 1200px; */
  height: 450px;
  border: 0;


}
}
@media (max-width:1000px){
  
.loc-contact-us {
  /* width: 850px; */
  height: 450px;
  border: 0;


}

}
@media (max-width:750px){
  
.loc-contact-us {
  /* width:auto;
  height: 450px; */
  border: 0;


}

}


/* معرفی اساتید */
.teacher{
  position: relative;
  height: 200px;
  /* width: 250px; */
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.teachers-container h2{
  margin-bottom: -40px;
}
.teacher .teacher-image{
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.teacher .teacher-image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.teacher .teacher-info{
  transform: translate(-25px,150px);
  width: 80%;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  padding: 5px 14px;
  text-align: center;
  /*overflow: hidden;
  */border: 0;
  outline: none;
  background-color: var(--white-text-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transition: .4s;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  -ms-transition: .4s;
  -o-transition: .4s;
}
.teacher h3{
  font-size: 18px;
  font-weight: bold;
}
.teacher span{
  font-size: 14px;
}
.teacher span:last-child{
  color: var(--tertiary-color);
  font-size: 12px;
}
.teacher:hover>.teacher-info{
  transform: translate(-25px,105px);
  -webkit-transform: translate(-25px,105px);
  -moz-transform: translate(-25px,105px);
  -ms-transform: translate(-25px,105px);
  -o-transform: translate(-25px,105px);
}


/* Download app */

.download-app .description {
  color: var(--dark-text-color);
  text-align: justify;
  line-height: 2.5;
}

.download-app{
  position: relative;
}
.download-app::before{
  content: '';
  height: 300px;
  width: 300px;
  position: absolute;
  top: 25%;
  left: -22%;
  background-image: url(/images/asset3.svg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .1;
  z-index: -10;
}

.download-app h2{
  margin-bottom: 20px;
}
.download-app .app-div .download{
  box-shadow: rgb(0 0 0 / 8%) 0px 10px 15px;
  background-color: #f1f1f1;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  display: flex;
  padding: 15px 20px;
  margin-bottom: 30px;
  transition: .4s;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  -ms-transition: .4s;
  -o-transition: .4s;
  cursor: pointer;
}
.download-app .app-div .download i{
  margin-left: 10px ;
}
.download-app .app-div .download:hover{
 transform: translateY(-10px);
 -webkit-transform: translateY(-10px);
 -moz-transform: translateY(-10px);
 -ms-transform: translateY(-10px);
 -o-transform: translateY(-10px);
}


footer .socials a{
  font-size: 20px !important;

}