/*********************
START: GENERAL STYLES
*********************/
html {

  font-size: 100%;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

:root {
  --direction: ltr;
  --container: 1320px;
  --font-family: "Nunito";
  --font-family-bold: "Nunito";
  --primary-color: #5a189a;
  --secondary-color: #f5d547;
  --text-color: #000;
  --text-color2: #555555;
  --border-color: #f5f5fa;
  --background-color: #f6f5fe;
  --white: #ffffff;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --text-size: 1rem;
  --text-size2: 0.9rem;
  --text-size3: 0.8rem;
  --line-height: 30px;
  --line-height2: 150%;
  --gap: 6rem;
  --border-radius: 10px;
  --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  direction: var(--direction);
  background-color: var(--background-color);
  height: 100%;
  overflow: hidden;
}

#mainContainer {
  scroll-behavior: smooth;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr var(--container) 1fr;
  grid-template-areas: ". content .";
}

.container>* {
  grid-area: content;
}

.bt {
  background-color: var(--primary-color);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  color: var(--white);
  display: inline-block;
}

.bt2 {
  display: flex;
  align-items: center;
}

.bt2 img {
  margin-inline-end: 5px;
}

.but2 {
  margin: 30px 0 70px;
  font-size: var(--text-size2);
  position: relative;
  display: inline-block;
}

.but2 span {
  color: var(--white);
}

.but-top,
.but-top2 {
  background-color: var(--secondary-color);
  box-sizing: border-box;
  border-radius: var(--border-radius);
  padding: 13px 33px;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}

.but-top2 {
  background-color: transparent;
  color: var(--secondary-color);
  border: solid 1px var(--secondary-color);
  box-shadow: none;
}

/*********************
END: GENERAL STYLES
*********************/
/*********************
START: MOBILE MENU STYLES
*********************/
div.darkPage {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 198;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all linear 0.4s;
  transition: all linear 0.4s;
}

div.darkPage.vis {
  visibility: visible;
}

nav.sideNav {
  display: none;
}

/*********************
END: MOBILE MENU STYLES
*********************/
/*********************
END: HEADER STYLES
*********************/
header {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  position: relative;
  background-color: var(--primary-color);
}

.header-right img.logo {
  width: 227px;
}

.s-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 15px;
}

header .s-header>* {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  width: 72%;
}

nav.desktopview ul {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  margin-inline-start: 15px;
}

nav.desktopview ul>li>a {
  display: block;
  margin: 0 25px;
  padding: 10px 0px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
}

nav.desktopview ul>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  left: 0;
  right: 0;
  border-radius: 3px;
}

nav.desktopview ul>li>a:hover {
  color: var(--secondary-color);
}

nav.desktopview ul>li.current-menu-item>a::after,
nav.desktopview ul>li>a:hover::after {
  background-color: var(--secondary-color);
}

.right-mobile-menu {
  display: none;
}

/*********************
END: HEADER STYLES
*********************/
/*********************
END: FOOTER STYLES
*********************/
footer {
  margin-block-start: var(--gap);
}

footer .top-footer {
  background-color: var(--primary-color);
  background-image: url(../img/Pattern.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: var(--white);
  background-position: center;
}

footer .top-footer .in-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

footer .top-footer .in-footer>img {
  width: 322px;

}

footer .top-footer .in-footer ul {
  display: flex;
}

footer .top-footer .in-footer ul li {
  margin-inline-start: 30px;
}

.copyright {
  text-align: center;
  font-size: 11px;
  padding: 7px 0;
}

/*********************
END: FOOTER STYLES
*********************/
/*********************
START: MEDIA
*********************/
/* container  */
@media screen and (min-width: 2560px) {}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1820px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1330px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1310px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1200px) and (max-width: 1319px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1140px 1fr;
    grid-template-areas: ". content .";
  }
}

/* @media screen and (max-width: 1199px) {
  nav.desktopview ul > li > a {
    margin: 0 15px;
  }
} */

@media screen and (min-width: 993px) and (max-width: 1199px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 970px 1fr;
    grid-template-areas: ". content .";
  }

  .footer--top>div p {
    width: 60%;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 750px 1fr;
    grid-template-areas: ". content .";
  }

  .footer--bottom {
    width: 55%;
  }

  .footer--top {
    width: 40%;
  }

  .footer--top>div p {
    width: 80%;
  }
}

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 95% 1fr;
    grid-template-areas: ". content .";
  }
}

/* container */
@media screen and (min-width: 993px) and (max-width: 1200px) {
  nav.desktopview ul>li>a {
    margin: 0 15px;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  nav.desktopview ul>li>a {
    margin: 0px 5px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --h1-size: 2rem;
    --h2-size: 1.5rem;
    --h3-size: 1.2rem;
    --text-size: 1rem;
    --text-size2: 0.9rem;
    --text-size3: 0.8rem;
    --line-height: 160%;
    --gap: 3rem;
  }

  .header-left {
    display: none !important;
  }

  .header-right {
    width: 100%;
  }

  nav.desktopview {
    display: none;
  }

  nav.sideNav {
    position: fixed;
    width: 250px;
    overflow: hidden;
    height: 100%;
    top: 0;
    right: 0;
    transform: translateX(250px);
    background: #f5f5f5;
    z-index: 200;
    display: block;
    -webkit-transition: all linear 0.4s;
    transition: all linear 0.4s;
    overflow-y: scroll;
  }

  nav.sideNav.open {
    transform: translateX(0);
  }

  nav.sideNav ul>li>ul {
    flex-basis: 100%;
    flex-shrink: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }

  nav.sideNav ul>li.open {
    max-height: 500px;
  }

  div.logo-2 {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  div.logo-2 img {
    padding: 7px;
    width: 45%;
    margin: 0 auto;
    display: block;
  }

  nav.sideNav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  li.menu-item-has-children>a::after {
    display: none;
  }

  nav.sideNav ul>li {
    font-size: 0.8em;
    margin-bottom: 5px;
    background: #f1f1f1f1;
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 48.5px;
    max-height: 48.5px;
    transition: max-height ease 0.5s;
    opacity: 0;
  }

  nav.sideNav ul>li>ul>li {
    background: transparent !important;
  }

  nav.sideNav ul>li>ul>li.current-menu-item>a {
    color: white !important;
  }

  nav.sideNav ul>li>a {
    padding: 16px 30px 15px 16px;
    display: block;
  }

  nav.sideNav ul>li.menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    background-image: url(./assets/img/icon/arrow-down.svg);
    width: 14px;
    height: 12px;
    background-size: 26%;
    top: 0;
    background-repeat: no-repeat;
    padding: 24px 50px 24px 10px;
    box-sizing: border-box;
    text-align: center;
    background-position: center;
    z-index: 100;
  }

  nav.sideNav ul>li.open::after {
    transform: rotate(180deg);
  }

  nav.sideNav ul>li.open {
    max-height: 500px;
  }

  nav.sideNav ul>li>ul {
    flex-basis: 100%;
    flex-shrink: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }

  .ripple {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(77, 194, 204, 0.4);
    transform: scale(0);
    position: absolute;
    opacity: 1;
  }

  .rippleEffect {
    animation: rippleDrop 0.6s linear;
  }

  @keyframes rippleDrop {
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }

  span.menu {
    display: inline-block;
    background: #333333;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    position: relative;
    vertical-align: top;
    margin: 20px 0;
    text-align: center;
    line-height: 45px;
    font-size: 1em;
    color: white;
    min-height: 25px;
  }

  span.menu.activate {
    background: transparent !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
  }

  span.menu.activate span {
    width: 80%;
    background-color: var(--text-color);
    border-radius: 8px;
    height: 6px;
    margin-block: 3px;
    transition: all 0.5s ease;
  }

  span.menu.activate span:nth-child(2) {
    background-color: var(--secondary-color);
  }

  span.menu.activate span:last-child {
    width: 40%;
  }

  span.menu.activate:hover span:nth-child(2) {
    background-color: var(--primary-color);
    width: 40%;
  }

  span.menu.activate:hover span:last-child,
  span.menu.activate:hover span:first-child {
    width: 80%;
    background-color: var(--secondary-color);
  }

  div.search {
    display: none;
  }

  img.logo-mobile {
    width: 68%;
    display: block;
    margin: 17px auto;
  }

  div.searchMobile {
    margin: 20px 0;
  }

  div.searchMobile .searchForm {
    justify-content: center;
    border: none;
    align-items: center;
    display: flex;
    opacity: 0;
  }

  div.searchMobile .searchForm input[type="search"] {
    padding: 10px;
    border-radius: 0 11px 11px 0;
    border: 2px solid var(var(--primary-color));
    border-left: none;
    font-size: 13px;
    width: 190px;
    outline: none;
    font-family: "iranyekan";
    height: 40px;
    box-sizing: border-box;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }

  div.searchMobile .searchForm button {
    background-color: white;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 11px 0 0 11px;
    width: 25px;
    height: 40px;
    box-sizing: border-box;
  }

  nav.topMenu ul {
    display: none;
  }

  nav.sideNav ul li.current-menu-item {
    background-color: var(--primary-color) !important;
    color: white;
  }

  nav.sideNav.open div.searchMobile .searchForm {
    opacity: 1;
  }

  nav.sideNav.open ul>li {
    opacity: 1;
  }

  /* hmp */
  nav.sideNav.open ul>li:first-child {
    transition: all 0.5s ease;
    transition-delay: 0.2s;
  }

  nav.sideNav.open ul>li:nth-child(2) {
    transition: opacity 0.5s ease;
    transition-delay: 0.4s;
  }

  nav.sideNav.open ul>li:nth-child(3) {
    transition: opacity 0.5s ease;
    transition-delay: 0.6s;
  }

  nav.sideNav.open ul>li:nth-child(4) {
    transition: opacity 0.5s ease;
    transition-delay: 0.8s;
  }

  nav.sideNav.open ul>li:nth-child(5) {
    transition: opacity 0.5s ease;
    transition-delay: 1s;
  }

  nav.sideNav.open div.searchMobile .searchForm {
    transition: opacity 0.5s ease;
    transition-delay: 1.2s;
  }

  .right-mobile-menu {
    display: flex;
    width: 58%;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
  }

  .header-right img.logo {
    width: 120px;
  }

  footer .top-footer .in-footer {
    flex-direction: column;
  }

  footer .top-footer .in-footer>img {
    width: 60%;
    margin-block: 30px;
  }

  footer .top-footer .in-footer ul li:first-child {
    margin-inline-start: 0;
  }
}

@media screen and (max-width: 576px) {}

@media screen and (max-width: 425px) {}

@media screen and (max-width: 375px) {}

/*********************
  END: MEDIA
  *********************/