@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb.woff2");
  font-weight: 400;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Medium.woff2");
  font-weight: 500;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Bold.woff2");
  font-weight: 700;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Light.woff2");
  font-weight: 300;
}

:root {
  --primary-color1: #0e8ed5;
  --primary-color2: #145396;
  --secondary-color: #a3dbfa;
  --text-color: #333;
  --swiper-navigation-size: 1rem;
  --primary-font-family: IRANSansWeb;
}

* {
  font-family: var(--primary-font-family);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a,
input[type="submit"] {
  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;
}

input:focus,
select:focus,
textarea:focus {
  border: solid 1px var(--secondary-color);
  outline: none;
}

textarea {
  height: 100px;
}

input:not(.search-input),
textarea,
select {
  margin: 5px 0;
  border: solid 1px #e4e4e4;
  padding: 8px;
  font-size: 0.8rem;
  border-radius: 5px;
  direction: rtl !important;
}

input[type="submit"] {
  background-color: var(--primary-color1);
  color: #fff;
  border: none;
  margin: 20px 0;
}

input[type="submit"]:hover {
  background-color: var(--primary-color2);
}

h1 {
  position: relative;
  color: #000;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  padding-bottom: 20px;
}

h1::after {
  content: "";
  width: 30px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  position: absolute;
  background-color: #999;
  height: 2px;
  bottom: 0;
  display: block;
}

img {
  max-width: 100% !important;
  height: auto;
}

.head-div {
  background-color: var(--primary-color2);
  color: #fff;
  padding-right: 25px;
  padding-left: 30px;
}

.head-div a {
  color: #fff;
}

.nav-div {
  padding-top: 10px;
  padding-bottom: 20px;
  position: relative;
  padding-right: 0;
  overflow: visible;
  padding-left: 10px;
}

.navbar {
  padding: 0;
  padding-right: 25px;
  background-color: var(--primary-color1);
  color: #fff;
  font-size: 12px;
}

.menu label,
.toggler-label {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.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 a {
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
  white-space: nowrap;
}

.menu a {
  color: var(--primary-color);
}

.menu-dropdown a:not(.menu-hasflyout > a) {
  border-bottom: 1px solid #d1dde3;
  padding: 12px;
  display: block;
  color: #666;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: normal;
}

.menu li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.search-div,
.login-link a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 35px;
  align-items: center;
}
.login-link a{
  padding: 0 10px;
  gap: 5px;
}
.search-div{
  width: 35px;
  background-color: var(--primary-color1);
  margin-left: 10px;
}

.search-div > a label {
  cursor: pointer;
}

.search-div > a:nth-child(1):hover {
  color: #32639e;
}

.login-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 5px;
  font-size: 0.8rem;
}
.login-link .login-a {
  background-color: #3eaf5a;
}
.login-link .login-a:hover {
  background-color: #1f893a;
}
.login-link .signup-a {
  background-color: #f0851a;
}
.login-link .signup-a:hover {
  background-color: #c56200;
}

.search-check:checked + .search-backdrop {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.75;
  z-index: 10;
}

.search-check:checked ~ .search-form {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 11;
}

.search-form {
  padding-left: 70px;
  width: 700px;
  max-width: 96%;
}

.search-form input {
  height: 60px;
  font-size: 16px;
  padding-right: 20px;
  padding-left: 20px;
  color: #888;
  width: 100%;
  display: block;
  border: 0;
  line-height: 2;
}

.search-form button {
  text-align: center;
  border: 0;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background-color: var(--primary-color2);
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 30px;
  color: #fff;
}

.contact-footer {
  border-top: 1px solid #e8e8e8;
  padding-top: 28px;
  padding-bottom: 28px;
}

.contact-footer p {
  font-size: 24px;
  padding-top: 5px;
  margin-bottom: 0;
}

.contact-footer p i {
  height: 40px;
  width: 40px;
  margin-left: 12px;
  border: 1px solid #000;
  text-align: center;
  line-height: 40px;
  position: relative;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  font-size: 1rem;
}

.contact-footer p a {
  color: #2a7ccc;
  font-size: 29px;
  font-weight: bold;
}
.app-div {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}
.app-div > div {
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.app-div > div a {
  color: inherit;
}
.app-div > div i {
  font-size: 1.3rem;
  margin-left: 8px;
}
.counseling-btn,
.app-div > div {
  color: #fff;
  font-size: 14px;
  background-image: -webkit-linear-gradient(
    90deg,
    var(--primary-color2) 0,
    var(--primary-color1) 100%
  );
  -webkit-box-shadow: 0 3px 5px 0 rgb(0 0 0 / 15%);
  box-shadow: 0 3px 5px 0 rgb(0 0 0 / 15%);
  font-weight: 500;
  border-radius: 4px;
}
.counseling-btn {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  border: 0;
  padding: 0 20px;
  height: 45px;
  line-height: 43px;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0s;
  -webkit-transition-duration: 0s;
  transition-duration: 0s;
  z-index: 1;
}

.contact-footer .counseling-btn:before {
  font-family: "Font Awesome 6 Free";
  margin-left: 10px;
  content: "\f095";
  font-weight: 900;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  font-size: 1rem;
}

.counseling-btn:hover,
.app-div > div:hover {
  background: #1c5796;
  color: #fff;
}

.title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 10px;
  line-height: 2;
}

.description {
  line-height: 28px;
  text-align: justify;
  margin-bottom: 1em;
  margin-top: 1em;
  font-size: 15px;
  color: #535353;
}

.footer {
  background-color: #f8f8f8;
  padding-bottom: 80px;
  padding-top: 45px;
}

.footer h6 {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color1);
  margin-bottom: 25px;
}

.footer .info-address p {
  margin-bottom: 15px;
  padding-right: 22px;
  font-size: 12px;
  position: relative;
  color: #333;
}

.footer .info-address p:after {
  font-family: "Font Awesome 6 Free";
  content: "\f1ad";
  font-weight: 900;
  font-size: 18px;
  color: var(--primary-color1);
  position: absolute;
  top: 0;
  right: 0;
}

.footer .ft ul li {
  margin-bottom: 10px;
  font-size: 12px;
}

.footer .ft ul li a {
  color: #000;
}

.footer .ft ul li a:hover {
  color: var(--primary-color1);
}

.footer .ft.list-items ul li a:before {
  font-family: "Font Awesome 6 Free";
  margin-left: 8px;
  font-size: 12px;
  content: "\f0d9";
  font-weight: 900;
  color: var(--primary-color1);
}

.footer .ft ul li a img {
  margin-left: 8px;
}

.copyright {
  background-color: #ddd;
  padding-top: 10px;
  padding-bottom: 10px;
}

.copyright p {
  line-height: 30px;
  color: #666;
  font-weight: 500;
  font-size: 12px;
  margin: 0;
}

.counseling-div {
  text-align: left;
  text-align: -webkit-left;
}

.breadcrumbs {
  padding: 15px 0;
  background-color: #f8f8f8;
  margin-bottom: 40px;
}

.breadcrumbs ul {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  font-size: 12px;
}

.breadcrumbs li {
  color: var(--primary-color1);
}

.breadcrumbs a {
  color: #999;
}

.breadcrumbs a::after {
  content: "/";
  margin: 0 7px;
  color: #ccc;
}

.contact-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: var(--primary-color1);
  color: #fff;
  gap: 15px;
}

.contact-div span {
  font-size: 14px;
}

@media only screen and (max-width: 991px) {
  .contact-footer p {
    font-size: 18px;
  }

  .contact-footer p a {
    font-size: 22px;
  }
}

@media only screen and (max-width: 767px) {
  .contact-footer p {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
  }

  .contact-footer p a {
    font-size: 16px;
  }

  .counseling-div {
    text-align: center;
    text-align: -webkit-center;
  }
  .app-div {
    flex-direction: row;
    column-gap: 10px;
    margin-bottom: 15px;
  }
  .app-div > div {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .contact-div span {
    font-size: 12px;
  }
  .app-div {
    flex-direction: column;
  }
  .app-div > div {
    width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .footer .info-address {
    padding-left: 30px;
  }
}

@media only screen and (min-width: 1025px) {
  .menu {
    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;
  }

  .toggler-label,
  .menu-check,
  .toggler-check {
    display: none;
  }

  .menu > ul > li > a:hover {
    background-color: #fff;
    color: var(--primary-color2);
  }

  .menu > ul > li > a {
    padding: 0px 11px;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 28px;
    border-top: 6px solid var(--primary-color1);
  }

  .menu > ul > li {
    display: inline-block;
  }

  .menu-hasdropdown {
    position: relative;
  }

  .menu-dropdown a:not(.menu-hasflyout > a):hover {
    padding-right: 15px;
    color: var(--primary-color2);
  }

  .menu-hasdropdown:hover > ul.mega-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-top: 10px solid #fff;
    background-color: #fff;
    z-index: 2;
    right: -15px;
  }

  .menu-hasdropdown:hover > ul {
    -webkit-animation: grow 0.5s ease-in-out;
    animation: grow 0.5s ease-in-out;
  }

  .menu-hasdropdown > ul {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
  }

  .menu-hasflyout:nth-child(2n) {
    background-color: var(--secondary-color);
  }

  .menu-hasflyout {
    width: 210px;
    height: 50px;
    line-height: 50px;
    background-color: #96d5f8;
  }

  .menu-hasflyout > a > label {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--primary-color2) !important;
    font-size: 14px;
    font-weight: 500;
  }

  .menu-hasflyout > ul {
    width: 210px;
    padding: 15px 20px;
    min-height: 350px;
  }

  .menu-hasflyout:nth-child(odd) .menu-dropdown {
    background-color: #e9f6fd;
  }

  .menu-hasflyout .menu-dropdown {
    display: block;
    animation: none !important;
    -webkit-animation: none !important;
    border-bottom: 8px solid var(--secondary-color);
  }

  .menu-plusicon {
    display: none;
  }

  .menu-dropdown a:hover {
    background-color: var(--background-color);
  }
}

@media only screen and (max-width: 1024px) {
  .head-div {
    padding-left: 0;
    padding-right: 0;
  }

  .login-link {
    font-size: 0.65rem;
  }

  .menu {
    width: 300px;
    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: 15px;
    padding: 10px 15px;
    background: var(--primary-color1);
    color: #fff;
  }

  .menu,
  .menu-lefticon {
    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.75;
    z-index: 8;
  }

  .toggler-check:checked ~ .menu {
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    background-color: #f5f5f5;
    -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 + a .menu-plusicon::before {
    content: "\f068";
  }

  .menu-check:checked ~ ul {
    display: block;
    background-color: #e4e4e469;
    -webkit-animation: grow 0.3s ease-in-out;
    animation: grow 0.3s ease-in-out;
  }

  .toggler-label {
    display: block;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar .fa-bars {
    font-size: 13px;
    vertical-align: middle;
  }

  .menu a {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .menu a {
    color: var(--text-color) !important;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px;
    font-weight: 300;
  }
}

@-webkit-keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-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);
  }
}
