@import url(fonts.css);

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  direction: rtl;
  width: 100%;
  font-family: 'Yakan', Helvetica, Arial, sans-serif;
}

/* Nav Bar */

nav {
  background-color: #0F66DD;
  width: 100%;
  height: 60px;
  margin: auto;
  position: relative;
  direction: rtl;
  font-family: 'Yakan';
  z-index: 2000;
}

.main_nav_dropdown {
  background-color: #0a4faf;
}

.dropdown_menu {
  width: 100px;
  text-align: center;
  padding: 5px 0px;
  background-color: #0a4faf;
  box-shadow: 0px 20px 49px rgba(0, 0, 0, 0.67);
  position: absolute;
  display: none;
  border-radius: 10px;
}

/* Show the dropdown menu when hovering over the parent list item */
.main_nav_dropdown:hover .dropdown_menu {
  display: block;
}

.main_nav_dropdown .dropdown_menu li {
  margin: 0px;
  width: 100%;
}

.main_nav_dropdown .dropdown_menu li a {
  padding: 0;
  line-height: 30px;
}

nav ul {
  margin-bottom: 0;
}

#bc1,
#bc2,
.btn {
  display: none;
  position: relative;
  left: 5%;
  top: -100%;
}

nav label {
  margin-bottom: 0 !important;
}

nav label.logo {
  float: right;
  font-size: 25px;
  padding: 0 5%;
  color: royalblue;
  line-height: 60px;
  font-weight: 800;
  margin-bottom: 0;
  height: 60px;
}

nav label.logo img {
  position: relative;
  height: 100%;
  padding: 5px 0;
}

nav ul {
  float: right;
}

nav ul li {
  display: inline-block;
  list-style: none;
}

nav ul li a {
  color: #d4d2d2;
  text-decoration: none;
  padding: 0 15px;
  font-size: 14px;
  line-height: 60px;
  display: block;
}

nav ul li a:hover {
  background-color: royalblue;
  color: white;
}

.search-icon {
  float: left;
  position: relative;
  left: 5%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  color: #d4d2d2;
  font-size: 17px;
  text-align: center;
  cursor: pointer;
}

.search-box {
  position: absolute;
  float: left;
  background-color: royalblue;
  left: 5%;
  top: -65px;
  width: 300px;
  height: 60px;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.17s ease;
}

.search-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: royalblue;
  margin: -20px 0 0;
}

nav form {
  width: 100%;
  height: 38px;
  right: 0;
  background-color: royalblue;
  display: flex;
  overflow: hidden;
  padding: 2px;
  border-radius: 4px;
}

.search {
  width: 95%;
  background-color: royalblue;
  color: white;
  padding: 0 10px;
  font-size: 14px;
  border: 0;
  outline: none;
}

.search::placeholder {
  color: white;
}

.sub {
  font-size: 14px;
  padding: 0 10px;
  border: 0;
  background-color: white;
  color: royalblue;
  border-radius: 4px;
  cursor: pointer;
}

#bc2:checked~.search-box {
  top: 60px;
}

@media (max-width:1052px) {
  nav {
    width: 100%;
  }

  nav ul {
    position: fixed;
    width: 300px;
    background-color: #0F66DD;
    height: 100vh;
    text-align: center;
    transition: all 0.5s;
    top: 60px;
    right: -800px;
  }

  nav ul li {
    display: block;
    padding: 5px 0;
  }

  nav ul li a {
    color: white;
  }

  nav ul li a:hover {
    color: black;
  }

  nav label.logo {
    position: absolute;
    width: 100%;
    text-align: center;
  }

  .btn {
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    top: 10px;
    right: 5%;
    color: #d4d2d2;
    font-size: 25px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    z-index: 20;
  }

  #bc1:checked~ul {
    right: 0px;
  }
}

@media (max-width:652px) {
  nav ul {
    width: 100%;
  }
}

/* Section Main */
/* Section Main */
/* Section Main */
/* Section Main */
/* Section Main */
/* Section Main */
/* Section Main */
/* Section Main */


.section1 {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  direction: rtl;
  background-color: #ffffff;
  font-family: 'Yakan';
  padding: 0 15%;
  padding-top: 100px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.section1 .box {
  flex: 1;
}

.section1 .box:first-of-type {
  padding-left: 20px;
}

.section1 .box:last-of-type {
  padding-right: 20px;
}

.section1 a {
  text-align: center;
}

.section1 a video {
  position: relative;
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.section1 a i {
  position: relative;
  color: #0F66DD;
  font-size: 40px;
  right: 50%;
  transform: translateX(50%);
}

.right-img {
  position: relative;
  width: 33%;
}

.section1 h1 {
  font-size: 4em;
  color: dimgrey;
  line-height: 20px;
}

.section1 h3 {
  line-height: 25px;
  text-align: justify;
  font-size: 1.2em;
  font-family: 'IranSans';
  color: #717171;
}

.img {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 20px;
  padding-bottom: 0;
}

.img img,
.img video {
  position: relative;
  width: 100%;
  border-radius: 0px 200px 0px 0px;
}

.boxes {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 20px;
  padding-top: 0;
  overflow: hidden;
}

.boxes img {
  position: relative;
  width: 100%;
}

.boxes .three-box {
  position: absolute;
  width: 100%;
  top: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: space-between;
  align-content: center;
}

.boxes .three-box span {
  width: 33.33%;
  padding: 10px;
  border-radius: 5px;
  text-transform: uppercase;
  color: #999;
  font-size: 4em;
  font-weight: bold;
}

.boxes .three-box span p {
  margin-top: 5px;
  color: #0F66DD;
  font-size: .3em;
}


.section1 .box p {
  font-size: 18px;
}

/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */
/* Section 1-5 */

.section1-5 {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  direction: rtl;
  background-color: #ffffff;
  font-family: 'Yakan';
  padding: 0 15%;
  padding-top: 30px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin-bottom: 30px;
}

.section1-5 .box {
  flex: 1;
}

.section1-5 a {
  text-align: center;
}

.section1-5 a i {
  position: relative;
  color: #0F66DD;
  font-size: 40px;
  right: 50%;
  transform: translateX(50%);
}

.section1-5 h1 {
  font-size: 4em;
  color: dimgrey;
}

.section1-5 h2 {
  line-height: 25px;
  text-align: justify;
  font-size: 2em;
  font-family: 'IranSans';
  color: #717171;
}

.section1-5 h3 {
  line-height: 25px;
  text-align: justify;
  font-size: 1.2em;
  font-family: 'IranSans';
  color: #717171;
}

.section1-5 p {
  text-align: justify;
  font-size: 1.2em;
  font-family: 'IranSans';
  color: #717171;
}


/* Section 2 */
/* Section 2 */
/* Section 2 */
/* Section 2 */
/* Section 2 */
/* Section 2 */


.section2 {
  width: 100%;
  height: 100%;
  margin-bottom: 50px;
  direction: rtl;
  background-color: #ffffff;
  font-family: 'Yakan';
  display: flex;
  flex-direction: row;
  padding: 0 15%;
  padding-top: 30px;
  text-align: center;
  overflow: hidden;
}

.section2 .box {
  flex: 1;
  position: relative;
  /* Add position relative */
}

.section2 .box::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  /* Adjust width as needed */
  height: 130px;
  /* Same as width */
  border-radius: 50%;
  background-color: rgb(236, 231, 219);
  z-index: 1;
}

.section2 .box:first-of-type {
  margin-right: 50px;
}

.section2 .box:last-of-type {
  margin-left: 50px;
}

.section2 h1 {
  font-size: 2em;
  color: dimgrey;
  position: relative;
  z-index: 2;
}

.section2 h3 {
  text-align: justify;
  font-size: 1.2em;
  color: #717171;
  height: auto;
  /* Set max-height instead of height */
  overflow: hidden;
  cursor: pointer;
  line-height: 25px;
  font-family: 'IranSans';
  position: relative;
  transition: max-height 0.3s ease;
  /* Add transition for smooth effect */
}

.section2 .box .content {
  max-height: 200px;
  overflow: hidden;
}

.section2 .box .content.expand {
  max-height: 500px;
  overflow-y: auto;
  transition: max-height 0.3s ease;
}

.section2 .box .content.expand h3 {
  max-height: none;
  /* Remove the max-height for the h3 when expanded */
}

/* Remove the ellipsis when expanded */
.section2 .box .content.expand h3::after {
  content: none;
}


.section2 .box img {
  position: relative;
  height: 90px;
  width: auto;
  z-index: 1;
  /* Make sure the image is above the circle */
  margin-bottom: 40px;
}

/* Footer */
/* Footer */
/* Footer */
/* Footer */
/* Footer */
/* Footer */
/* Footer */
/* Footer */



.site-footer {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  bottom: 0 !important;
  top: 100%;
  padding: 45px 0 20px;
  background-image: repeating-linear-gradient(135deg, rgba(37, 37, 37, 0.5), rgba(54, 54, 54, 0.5) 1px, #111 5px, #111 2px);
  background-color: #171718;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
  direction: rtl;
}

footer .container {
  box-sizing: border-box;
  position: relative;
  width: 100% !important;
  padding-right: 15% !important;
  padding-left: 15% !important;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5
}

.site-footer hr.small {
  margin: 20px 0
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none
}

.footer-links li {
  display: block
}

.footer-links a {
  color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block
}

.site-footer .social-icons {
  text-align: right
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d
}

.copyright-text {
  margin: 0
}

@media (max-width:991px) {
  .site-footer [class^=col-] {
    margin-bottom: 30px
  }
}

@media (max-width:767px) {
  .site-footer {
    padding-bottom: 0
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center
  }
}

.social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.social-icons li {
  display: inline-block;
  margin-bottom: 4px
}

.social-icons li.title {
  margin-right: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px
}

.social-icons a {
  background-color: #eceeef;
  color: #818a91;
  font-size: 16px;
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #29aafe
}

.social-icons.size-sm a {
  line-height: 34px;
  height: 34px;
  width: 34px;
  font-size: 14px
}

.social-icons a.facebook:hover {
  background-color: #3b5998
}

.social-icons a.twitter:hover {
  background-color: #00aced
}

.social-icons a.linkedin:hover {
  background-color: #007bb6
}

.social-icons a.dribbble:hover {
  background-color: #ea4c89
}

@media (max-width:767px) {
  .social-icons li.title {
    display: block;
    margin-right: 0;
    font-weight: 600
  }
}

footer .container .col-md-5,
footer .container .col-md-2 {
  float: right;
}

footer .container .col-md-3 {
  position: relative;
  float: left;
}



/*****
Custom Pure CSS vertical carousel animation https://codepen.io/aija/pen/xvXWoK
*****/
*,
*::before,
*::after {
  box-sizing: border-box;
}

.cursor-pointer {
  cursor: pointer;
}

.vs-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.vs-wrapper {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.vs-carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.vs-carousel__item {
  position: relative;
  width: 100%;
  display: none;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
  padding: 0 12px;
}

.vs-carousel__item-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  margin-right: -45px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #d7f7fc;
}

.vs-carousel__item-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  margin-left: 25px;
  padding-bottom: 0.5rem;
  padding: 0 10px 0 10px;
  background-color: transparent;
  line-height: 1;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

.vs-carousel__item-body img {
  background-size: contain;
  border-radius: 10px;
  border: 3px solid #ffffff;
  width: 100%;
}

.vs-carousel__item-title {
  font-size: 16px;
  font-weight: bold;
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

.vs-carousel__item-description {
  font-size: 12px;
  padding-bottom: 0.5rem;
}

.vs-previous {
  display: flex;
  align-items: center;
  transform: scale(0.7);
  visibility: visible;
  opacity: 0.4;
  will-change: transform, opacity;
  animation-name: vs-carousel-animate-vertical-previous, vs-carousel-animate-vertical-remove;
  animation-delay: 0s, 0.5s;
  animation-duration: 0.5s, 3s;
  animation-timing-function: linear;
}

@keyframes vs-carousel-animate-vertical-previous {
  0% {
    transform: translateY(100%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.4;
  }
}

@keyframes vs-carousel-animate-vertical-remove {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
  }
}

.vs-active {
  display: flex;
  align-items: center;
  transform: scale(1);
  visibility: visible;
  opacity: 1;
  will-change: transform, opacity;
  animation: vs-carousel-animate-vertical-active 0.5s linear;
}

@keyframes vs-carousel-animate-vertical-active {
  0% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.vs-next {
  display: flex;
  align-items: center;
  transform: scale(0.7);
  visibility: visible;
  opacity: 0.4;
  will-change: transform, opacity;
  animation: vs-carousel-animate-vertical-next 0.5s linear;
}

@keyframes vs-carousel-animate-vertical-next {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.4;
  }
}

.vs-previous-reverse {
  display: flex;
  align-items: center;
  transform: scale(0.7);
  visibility: visible;
  opacity: 0.4;
  will-change: transform, opacity;
  animation-name: vs-carousel-animate-vertical-previous-reverse, vs-carousel-animate-vertical-remove-reverse;
  animation-delay: 0s, 0.5s;
  animation-duration: 0.5s, 3s;
  animation-timing-function: linear;
}

@keyframes vs-carousel-animate-vertical-previous-reverse {
  0% {
    transform: translateY(-100%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.4;
  }
}

@keyframes vs-carousel-animate-vertical-remove-reverse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
  }
}

.vs-active-reverse {
  display: flex;
  align-items: center;
  transform: scale(1);
  visibility: visible;
  opacity: 1;
  will-change: transform, opacity;
  animation: vs-carousel-animate-vertical-active-reverse 0.5s linear;
}

@keyframes vs-carousel-animate-vertical-active-reverse {
  0% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.vs-next-reverse {
  display: flex;
  align-items: center;
  transform: scale(0.7);
  visibility: visible;
  opacity: 0.4;
  will-change: transform, opacity;
  animation: vs-carousel-animate-vertical-next-reverse 0.5s linear;
}

@keyframes vs-carousel-animate-vertical-next-reverse {
  0% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.4;
  }
}

@media only screen and (max-width: 1150px) {
  .boxes .three-box span {
    font-size: 3em;
  }
}

@media only screen and (max-width: 1050px) {
  .section2 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .section2 .box {
    margin: 50px 0;
  }

  .section2 .box:first-of-type {
    margin-left: 0;
  }

  .section2 .box:last-of-type {
    margin-right: 0;
  }
}

@media only screen and (max-width: 950px) {
  .section1 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .section1 .box:first-of-type {
    padding-left: 0;
  }

  .section1 .box:last-of-type {
    padding-right: 0;
  }

  .box .img,
  .box .boxes {
    padding: 0;
  }
}

@media only screen and (max-width: 500px) {
  .boxes .three-box span {
    font-size: 2em;
    padding: 0;
  }

  .section1-5 .box span {
    font-size: 14px !important;
  }
}

@media only screen and (max-width: 400px) {
  nav label.logo img {
    padding: 10px 0;
  }
}