/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@font-face {
  font-family: "IRANSansWeb_Light";
  src: url("../fonts/IRANSansWeb_Light.woff") format("woff");
}

@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-display: fallback;
  font-weight: bold;
  src: url("../fonts/iranyekanwebbold(fanum).eot");
  src:
    url("../fonts/iranyekanwebbold(fanum).eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/iranyekanwebbold(fanum).woff2") format("woff2"),
    url("../fonts/iranyekanwebbold(fanum).woff") format("woff"),
    url("../fonts/iranyekanwebbold(fanum).ttf") format("truetype");
}

@font-face {
  font-family: IRANYekan;
  font-display: fallback;
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/iranyekanweblight(fanum).eot");
  src:
    url("../fonts/iranyekanweblight(fanum).eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/iranyekanweblight(fanum).woff2") format("woff2"),
    url("../fonts/iranyekanweblight(fanum).woff") format("woff"),
    url("../fonts/iranyekanweblight(fanum).ttf") format("truetype");
}

@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/iranyekanwebregular(fanum).eot");
  src:
    url("../fonts/iranyekanwebregular(fanum).eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/iranyekanwebregular(fanum).woff2") format("woff2"),
    url("../fonts/iranyekanwebregular(fanum).woff") format("woff"),
    url("../fonts/iranyekanwebregular(fanum).ttf") format("truetype");
}

@font-face {
  font-family: iranyekan;
  src: url("../fonts/iranyekanwebregular.eot");
  src:
    url("../fonts/iranyekanwebregular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/iranyekanwebregular.woff2") format("woff2"),
    url("../fonts/iranyekanwebregular.woff") format("woff"),
    url("../fonts/iranyekanwebregular.ttf") format("truetype");
}

:root {
  --navy: #053c84;
  --navy-dark: #032a5e;
  --blue: #0f5cc0;
  --blue-light: #17abe8;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --green: #12af4c;
  --green-600: #16a34a;
  --pink: #ec4899;
  --red: #ef4444;

  --bg-tint-blue: #eef5ff;
  --bg-tint-orange: #fff7e8;
  --bg-tint-purple: #f3e8ff;
  --bg-tint-green: #eafbf1;

  --hero-bg-1: #eaf2fe;
  --hero-bg-2: #f7faff;
  --panel-blue: #e5f0ff;
  --footer-bar: #eef5ff;

  --text-dark: #26324a;
  --text-body: #55607a;
  --text-muted: #7a8aa3;

  --bg-soft: #fbfbfc;
  --border-soft: #e7ecf3;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-card: 0 4px 20px rgba(15, 60, 132, 0.06);
  --shadow-card-hover: 0 10px 30px rgba(15, 60, 132, 0.12);

  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IRANSansWeb_Light";
  color: var(--text-body);
  background: #fff;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IRANSansWeb_Light";
  line-height: 1.5rem !important;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.number,
.eng,
.eng-fa {
  font-family: iranyekan !important;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1200px) {
  .nav-container {
    max-width: calc(100vw - 80px) !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 40px;
}
.section-title-start {
  text-align: start;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #003882;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #045ccf;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  direction: rtl;
  transition: all 0.5s;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}
.header.header-scrolled {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0px 3px 5px rgba(1, 32, 85, 0.1);
}
.header.header-scrolled .btn {
  color: #003882;
}

.header .logo {
  line-height: 0;
}
.header .logo img {
  width: 70px;
  height: 60px;
}
.header .logo span {
  font-size: 1.2em;
  font-weight: bolder !important;
  color: #003882;
  font-family: "IRANSansWeb_Light";
  margin-top: 3px;
}

.header .btn {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50px;
  font-size: 1em;
  color: #ffffff;
  background-color: transparent;
  border-color: #003882;
  float: right;
  font-weight: 700;
  box-shadow: none !important;
  /* padding: 5px 15px 15px 5px */
}
.header .fa {
  padding-right: 10px;
  font-size: 20px;
  padding-bottom: 3px;
}
.header .btn:hover,
.header .btn .active,
.header .btn .active:focus {
  background-color: #003882;
  color: white;
  box-shadow: none !important;
}

.header .repo-hidden-btn {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50px;
  font-size: 1em;
  color: #ffffff;
  background-color: transparent;
  border-color: #003882;
  float: right;
  font-weight: 700;
  box-shadow: none !important;
  transition: all .35s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  /* padding: 5px 15px 15px 5px */
}

.header .repo-hidden-btn.show-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  text-align: right;
}
.navbar ul {
  margin: 0;
  margin-top: 2px;
  padding-right: 50px;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "IRANSansWeb_Light";
  color: #003882;
  white-space: nowrap;
  transition: 0.3s;
}
.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #025bd1;
}
.navbar .nav-link {
  font-size: 1em !important;
  font-weight: 700;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #003882;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  position: absolute;
  top: 1rem;
  right: 0;
}
.mobile-nav-toggle.bi-x {
  color: #fff;
}

.logo-text {
  display: none;
  padding-right: 10px;
}

@media (max-width: 1060px) {
  .navbar {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .header .logo span {
    font-size: 1em;
    font-weight: bolder !important;
    color: #003882;
    font-family: "IRANSansWeb_Light";
    margin-top: 3px;
  }
}

@media (min-width: 1330px) {
  .logo-text {
    display: block;
  }
}

@media (min-width: 700px) and (max-width: 1060px) {
  .logo-text {
    display: block;
  }

  .navbar-mobile ul {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(1, 22, 61, 0.9);
  transition: 0.3s;
}
.navbar-mobile .mobile-nav-toggle {
  top: 1rem;
  right: 1rem;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #012970;
}
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #4154f1;
}

/* =========================== Hero =========================== */
.hero {
  position: relative;
  /* overflow: hidden; */
  padding: 64px 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 56px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 2;
  color: #4b4b4b;
}

.search-form {
  max-width: 720px;
  height: 60px;
  margin: 0 auto;

  display: flex;
  align-items: center;

  background: #fff;
  border-radius: 32px;
  padding: 16px;
  border-color: #efefef;
}

.search-input {
  flex: 1;
  position: relative;
}

.search-input input {
  width: 100%;
  height: 40px;

  border: none;
  outline: none;
  background: transparent;

  text-align: right;
  font-size: 14px;
  font-family: inherit;

  padding-right: 52px;
  padding-left: 16px;
}

.search-input input::placeholder {
  color: #607d8b;
  opacity: 0.7;
  font-size: 16px;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.search-btn {
  width: 140px;
  height: 40px;

  border: none;
  border-radius: 16px;

  background: var(--navy);
  color: #fff;

  font-size: 16px;
  font-family: inherit;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  cursor: pointer;
}
/* ================= tech slider ================= */
/* .tech-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 8px 0 64px;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
} */
/* .tech-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollTech 32s linear infinite;
} */
.tech-slider {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 64px;
  position: relative;
}

.tech-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  width: 100%;
  animation: scrollTech 15s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTech {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.tech-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.tech-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.tech-item span {
  font-size: 16px;
  font-weight: 500;
  color: #4b4b4b;
}

/* =========================== Quick Access =========================== */
.quick-access {
  padding: 56px 0;
  background: var(--bg-soft);
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.qa-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  margin: 0 auto;
  max-width: 400px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.qa-blue {
  border-top-color: var(--blue);
}
.qa-orange {
  border-top-color: var(--orange);
}
.qa-purple {
  border-top-color: var(--purple);
}
.qa-green {
  border-top-color: var(--green);
}

.qa-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.qa-blue .qa-icon {
  background: var(--bg-tint-blue);
}
.qa-orange .qa-icon {
  background: var(--bg-tint-orange);
}
.qa-purple .qa-icon {
  background: var(--bg-tint-purple);
}
.qa-green .qa-icon {
  background: var(--bg-tint-green);
}

.qa-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.qa-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  margin: 0 0 20px;
  min-height: 66px;
}

.qa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s;
}
.qa-link:hover {
  background: var(--navy);
  color: #fff;
}

.qa-link i {
  display: flex;
}

/* =========================== Stats =========================== */

.stats-bar {
  background: rgba(243, 245, 248, 0.4);
  border: 1px solid #e7ecf2;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.stat {
  flex: 1 1 calc(20% - 20px);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: #e7ecf2;
}

.stat div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat strong {
  font-size: 24px;
  color: var(--navy);
  font-weight: 800;
  font-family: IRANYekan;
}

.stat span {
  font-size: 16px;
  color: #4b4b4b;
}

@media (max-width: 1024px) {
  .stat {
    flex: 0 0 calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .stat {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 568px) {
  .stat {
    flex: 0 0 100%;
    max-width: 202px;
    justify-content: start;
  }
  .stat::after {
    display: none;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 50px 0;
  font-family: "IRANSansWeb_Light";
}
.counts .container {
  padding: 0;
}
.counts .col-count {
  flex: 0 0 auto;
  width: 100%;
}
@media (min-width: 992px) {
  .counts .col-count {
    width: 28%;
  }
}
@media (min-width: 1200px) {
  .counts .col-count {
    width: 23%;
  }
}
@media (min-width: 1400px) {
  .counts .col-count {
    flex: 0 0 auto;
    width: 20%;
  }
}
@media (max-width: 768px) {
  .counts .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.counts .count-box {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 15px rgba(1, 41, 112, 0.2);
  border-radius: 10px;
  justify-content: space-around;
  text-align: right;
}
.counts .count-box i {
  font-size: 48px;
  line-height: 0;
  margin-right: 20px;
  color: #4154f1;
}

.counts .count-box.green i {
  color: #34dd75;
}
.counts .count-box.pink i {
  color: #d62a72;
}
.counts .count-box.orange i {
  color: #f17c38;
}
.counts .count-box.blue i {
  color: #2db6fa;
}
.counts .count-box.purple i {
  color: #4154f1;
}

.counts .count-box span {
  font-size: 25px;
  display: block;
  font-weight: 600;
  color: #003882;
  font-family: IRANYekan;
}
.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "IRANSansWeb_Light";
  font-size: 16px;
}

.counts .download-counter {
  height: 101.5px;
  position: relative;
  overflow: hidden;
}
.counts .download-counter .download-counter-box {
  display: flex;
  position: absolute;
  transition: all 0.4s;
  transform: translate(0, 0);
  text-align: right;
  justify-content: space-around;
  width: 200px;
  align-items: center;
  opacity: 1;
  visibility: visible;
}
.counts .download-counter.expanded .download-counter-box {
  transform: translate(100%, 0);
  opacity: 0;
  visibility: hidden;
}
.counts .download-counter .download-record-box {
  position: absolute;
  top: 20px;
  width: 230px;
  height: 79px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  font-size: 0.8rem;
  direction: rtl;
  text-align: right;
  transition: all 0.4s;
  transform: translate(-100%, 0);
  opacity: 0;
  visibility: hidden;
}
.counts .download-counter.expanded .download-record-box {
  transform: translate(0, 0);
  opacity: 1;
  visibility: visible;
}
.counts .download-counter .download-record-box .month-col {
  width: 45%;
  display: flex;
  justify-content: space-between;
}
.counts .download-counter .download-counter-expand {
  display: flex;
  overflow: hidden;
  width: 64px;
  position: absolute;
  padding: 2px 7px;
  top: 0;
  left: 0;
  direction: rtl;
  border: dashed 2px #4154f1b5;
  border-left: none;
  border-top: none;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all 0.4s;
  cursor: pointer;
}
.counts .download-counter .download-counter-expand:hover {
  background: #4154f1;
  border-color: #fff;
}
.counts .download-counter.expanded .download-counter-expand {
  background: #003882;
  border-color: #fff !important;
  color: #fff !important;
  width: 100%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 0;
  border-right: none;
}
.counts .download-counter.expanded .download-counter-expand:hover {
  background: #111fa0;
}
.counts .download-counter .download-counter-expand .download-counter-title {
  text-align: center;
  font-size: 0.6rem !important;
  color: #4154f1b5 !important;
  transition: all 0.4s;
}
.counts
  .download-counter
  .download-counter-expand:hover
  .download-counter-title {
  color: #fff !important;
}
.counts
  .download-counter.expanded
  .download-counter-expand
  .download-counter-title {
  color: #fff !important;
}
.counts .download-counter .download-counter-expand .download-counter-icon {
  font-size: 0.8rem;
  color: #fff;
  position: absolute;
  left: -20px;
  margin: 0;
  transition: all 0.4s;
}
.counts
  .download-counter.expanded
  .download-counter-expand
  .download-counter-icon {
  left: 10px;
}

/* =========================== Mirror guide =========================== */
.mirror-guide {
  padding: 40px 0;
}

.mirror-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e5f0ff;
  padding: 40px 32px;
}

.mirror-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.mirror-wrap > *:not(.mirror-bg) {
  position: relative;
  z-index: 1;
}

.mirror-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-inline: 32px;
  flex-wrap: wrap;
}

.mirror-card {
  flex: 1 1 calc(50% - 16px);
  width: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.mirror-card.mirror-recommended {
  -webkit-box-shadow: 0px 0px 0px 4px #16A34A; 
  box-shadow: 0px 0px 0px 4px #16A34A;
  padding-top: 40px !important;
}

.mirror-card p {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--text-body);
  margin: 0 0 24px;
}

.badge {
  position: absolute;
  top: -0.75px;
  right: -0.75px;
  height: 38px;
  padding: 0 24px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 16px 0 0;
}

.badge::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0px;
  width: 30px;
  height: 38px;
  border-radius: 3px;
  background: #16a34a;
  clip-path: polygon(0 0, 14px 50%, 0 100%, 100% 100%, 100% 0);
}

.outline-btn {
  display: block;
  width: fit-content;
  margin: auto auto 0;
  /* display: inline-block; */
  border: 1.5px solid var(--navy);
  color: var(--navy);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s;
}

.outline-btn:hover {
  background: var(--navy);
  color: #fff;
}

.os-logos {
  margin-top: 32px;
  display: flex;
  direction: ltr;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.os-logo {
  width: 60px;
  height: 50px;
  padding: 0;
  margin: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  filter: none;
  transition: 0.3s;
}

.os-logo img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.os-logo:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.os-logo:nth-last-child(2) {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.os-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.more-link {
  direction: ltr;
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: 16px;
  padding: 4px;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}

.more-link i {
  display: flex;
}

@media (max-width: 824px) {
  .more-link {
    margin: 6px 0px;
  }
}

@media (max-width: 778px) {
  .mirror-grid {
    padding-inline: 16px;
  }

  .mirror-card {
    flex: 0 0 100%;
    padding: 40px 28px;
  }
}

@media (max-width: 684px) {
  .os-logos {
    display: none;
  }
}

@media (max-width: 433px) {
  .mirror-wrap {
    padding: 32px 16px;
  }

  .mirror-grid {
    padding: 0;
    flex-direction: column;
  }

  .mirror-card {
    padding: 20px 10px;
  }
}

@media (max-width: 333px) {
  .mirror-guide .container {
    padding: 0 12px;
  }

  .mirror-wrap {
    padding: 0 12px;
  }
}

@media (max-width: 233px) {
  .mirror-guide .container {
    padding: 0 6px;
  }

  .mirror-wrap {
    padding: 0 6px;
  }

  .mirror-grid {
    padding: 0;
    flex-direction: column;
  }

  .mirror-card {
    flex: 0 0 100%;
    padding: 10px 5px;
  }
}

/* =========================== About =========================== */
.about-repo {
  padding: 40px 0;
}

.about-card {
  background: #fff;
  border: 1px solid #e5f0ff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.2);
  padding: 44px;
}

.about-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.about-grid > img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.about-text {
  direction: rtl;
  text-align: right;
}

.about-text p {
  font-size: 15px;
  line-height: 2.1;
  color: #4b4b4b;
  margin: 0 0 18px;
}

.arrow-left {
  font-size: 16px;
}

@media (max-width: 778px) {
  .about-repo {
    padding: 40px 0;
  }

  .about-card {
    padding: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 433px) {
  .about-card {
    padding: 24px 20px;
  }
}

@media (max-width: 333px) {
  .about-repo .container {
    padding: 0 12px;
  }
  .about-card {
    padding: 20px 14px;
  }
}

@media (max-width: 233px) {
  .about-repo .container {
    padding: 0 6px;
  }
  .about-card {
    padding: 16px 8px;
  }
}

/*--------------------------------------------------------------
# F.A.Q
--------------------------------------------------------------*/
.faq {
  direction: rtl;
}
.faq .section-header {
  margin-bottom: 32px;
}
.faq .accordion-collapse {
  border: 0;
}
.faq .accordion {
  padding: 15px 15px 20px 0;
  font-weight: 600;
  border: 0;
  font-size: 16px;
  color: #003882;
  text-align: right;
  background-color: transparent;
  width: 100%;
}

.faq button.accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq .accordion i {
  color: #003882;
  float: left;
  justify-items: flex-start;
  width: 1rem;
  height: 1rem;
}

.accordion.collapsed .collapse-icon {
  transform: rotate(0deg);
}

.accordion .collapse-icon {
  transition: all 0.5s 0s;
  transform: rotate(180deg);
}

.faq .accordion-button:focus {
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
  background: none;
  color: #4154f1;
  border-bottom: 0;
}
.faq .accordion-body {
  padding: 0 15px 25px 0;
  border: 0;
  font-weight: normal;
  font-size: 14px;
  color: #444444;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #001e4f;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #001e4f;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #e1ecfd;
  /* padding: 0 0 20px 0; */
  padding-bottom: 10px;
  font-size: 14px;
}

.footer .container {
  max-width: max-content;
  padding: 0 30px;
}

.footer .footer-top {
  background: rgb(255, 255, 255) url(../images/front_page/footer-bg.png)
    no-repeat left top;
  background-size: 40%;
  border-top: 1px solid #d9e4fa;
  border-bottom: 1px solid #ccdcfc;
  padding: 60px 0 30px 0;
}
@media (max-width: 1270px) {
  .footer .howto_link_arrow {
    display: none;
  }
}

@media (max-width: 1120px) {
  .footer .howto_link .howto_link_imgs img:nth-child(n + 11) {
    display: none;
  }

  .footer .howto_link {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin: 0 2rem;
  }

  .footer .howto_link .howto_link_imgs {
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .footer .footer-top {
    background-position: center bottom;
  }
}
.footer .footer-top .footer-info .logo {
  line-height: 30px;
  /* margin-bottom: 50px; */
}
.footer .footer-top .footer-info .logo img {
  max-height: 50px;
  margin-right: 6px;
}
.footer .footer-top .footer-info .logo span {
  font-size: 20px;
  font-weight: 700;
  color: #012970;
  font-family: "IRANSansWeb_Light";
  margin-top: 3px;
}
.footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "IRANSansWeb_Light";
}
.footer .footer-top .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
  text-decoration: none;
}
.footer .footer-top .social-links a:hover {
  color: #012970;
}
.footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #012970;
  position: relative;
  padding-bottom: 12px;
  margin-right: 50px;
  text-align: right;
}
.footer .footer-top .footer-links {
  margin-bottom: 20px;
}
.footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-top .footer-links ul i {
  padding-left: 5px;
  color: #003882;
  font-size: 12px;
  line-height: 0;
}
.footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  margin-right: 50px;
}
.footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
.footer .footer-top .footer-links ul a {
  color: #013289;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}
.footer .footer-top .footer-links ul a:hover {
  color: #4154f1;
}
.footer .footer-top .footer-contact div {
  line-height: 30px;
  margin-right: 50px;
  margin-bottom: 1rem;
  text-align: right;
}
.footer .footer-top .footer-contact strong {
  color: #012970;
}
.footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: #012970;
}
.footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

.footer .howto_link_box {
  position: relative;
  display: block;
  padding: 20px 0 !important;
  background: #003d9e;
  width: 100vw;
  max-width: 100vw !important;
  margin-top: 2rem;
}

.footer .howto_link {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  border-radius: 12px;
  background: #022c63;
  border: 2px solid #022c63;
  padding: 1.1rem;
  margin: 0 4.5rem;
  transition: all linear 0.3s;
  color: #fff;
}

.footer .howto_link:hover {
  background-color: #1051a7;
  border-color: #022c63;
}

.footer .howto_link .howto_link_imgs {
  margin-right: 3rem;
  background: #fff;
  padding: 5px 12px;
  border-radius: 12px;
  color: #022c63;
}

.footer .howto_link .howto_link_imgs img {
  width: 2rem;
  height: 2rem;
  margin: 0 5px;
  display: inline-block;
}

@media (max-width: 768px) {
  .footer .howto_link .howto_link_imgs img:nth-child(n + 6) {
    display: none;
  }

  .footer .howto_link {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin: 0 1rem;
  }

  .footer .howto_link .howto_link_imgs {
    margin-right: 0;
  }

  .footer .howto_link_arrow {
    display: none;
  }
}

.footer .howto_link_arrow {
  position: absolute;
  left: 100px;
  transform: rotate(90deg);
  transition: all linear 0.3s;
  pointer-events: none;
}

.footer .howto_link_arrow span {
  display: block;
  width: 1.5vw;
  height: 1.5vw;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  margin: -10px;
}

.footer .howto_link:hover > .howto_link_arrow span {
  animation: howto_link_arrow_animate 2s infinite;
}

.footer .howto_link_arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.footer .howto_link_arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes howto_link_arrow_animate {
  0% {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(30px, 30px);
  }
}

/* =========================== Responsive =========================== */
@media (max-width: 1024px) {
  .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mirror-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-illustration {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-soft);
    display: none;
    gap: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .search-form {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 14px;
  }
  .search-form input {
    width: 100%;
    order: 1;
    text-align: right;
  }
  .search-icon {
    order: 2;
  }
  .search-form button {
    order: 3;
    width: 100%;
    margin-top: 1rem;
    border-radius: 12px;
  }
  .qa-grid {
    grid-template-columns: 1fr;
  }
  .mirror-wrap {
    padding: 28px 20px;
  }
  .about-card {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}
