/* =============================
   Global
============================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* دوره های رایگان */
.courses-carousel-section.free-courses-section {
  padding-top: 42px;
  background: #fff;
}

.free-courses-section .free-course-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 185, 17, 0.32), transparent 28%),
    linear-gradient(135deg, #361e50 0%, #643abc 100%);
  color: #fff;
  text-align: center;
}

.free-courses-section .course-card:nth-child(2n) .free-course-cover {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 185, 17, 0.3), transparent 30%),
    linear-gradient(135deg, #4d246b 0%, #7d51d5 100%);
}

.free-courses-section .free-course-price {
  color: #159447;
}

/* تصویر یکپارچه جایگزین مهره شطرنج و سایه قدیمی */
.about-visual>svg.main-pawn,
.about-visual>.ghost-pawn,
.about-visual>.pawn-shadow {
  display: none;
}

.about-visual>img.about-banner-image {
  width: min(100%, 520px);
  max-height: 580px;
  height: auto;
  left: 50%;
  bottom: 0;
  object-fit: contain;
  transform: translateX(-50%) translateY(25px) scale(0.96);
  filter: none;
}

.about-visual>img.about-banner-image.show {
  transform: translateX(-50%) translateY(0) scale(1);
}

.about-visual:hover>img.about-banner-image.show {
  transform: translateX(-50%) translateY(-7px) scale(1);
}

@media (max-width: 768px) {
  .about-visual>img.about-banner-image {
    width: min(100%, 310px);
    max-height: 350px;
  }
}

:root {
  --primary: #643abc;
  --primary-dark: #361e50;
  --primary-light: #eee8fa;

  --yellow: #ffb911;
  --yellow-dark: #eaa800;

  --white: #ffffff;

  --text: #242027;
  --text-light: #8a858b;

  --border: #eae7ec;
}

body {
  margin: 0;
  direction: rtl;
  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
  background: #f5f5f5;
  color: var(--text);
}

body,
button,
input,
textarea,
select {
  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif) !important;
}

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

button,
input {
  font-family: inherit;
}

/* =============================
   Header
============================= */

.main-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 1000;
}

.header-top-container {
  width: min(1440px, calc(100% - 60px));
  margin: 0 auto;
  height: 95px;
  display: grid;
  grid-template-columns: 240px minmax(400px, 650px) 300px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

/* =============================
   Logo
============================= */

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  width: 160px;
}

.brand img {
  display: block;

  width: 130px;
  max-height: 85px;

  object-fit: contain;
}

/* اگر لوگو هنوز قرار ندادی */

.brand:has(img[src=""]) {
  width: 140px;
  height: 70px;
}

/* =============================
   Search
============================= */

.search-box {
  position: relative;

  width: 100%;
  max-width: 650px;

  height: 52px;
}

.search-box input {
  width: 100%;
  height: 100%;

  border: 1px solid #e0dde3;

  border-radius: 35px;

  outline: none;

  padding: 0 28px 0 70px;

  background: #fff;

  color: var(--primary-dark);

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;

  box-shadow: 0 13px 25px rgba(54, 30, 80, 0.08);
}

.search-box input::placeholder {
  color: #968d99;
}

.search-box input:focus {
  border-color: rgba(100, 58, 188, 0.55);

  box-shadow: 0 8px 25px rgba(100, 58, 188, 0.12);
}

.search-button {
  position: absolute;

  left: 3px;
  top: 3px;

  width: 46px;
  height: 46px;

  border: 0;

  border-radius: 50%;

  background: var(--primary-light);

  color: var(--primary);

  cursor: pointer;

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

  transition: 0.25s;
}

.search-button:hover {
  background: var(--primary);

  color: #fff;
}

/* =============================
   Contact
============================= */

.contact-box {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.contact-icon {
  color: var(--yellow);

  display: flex;
  align-items: center;
}

.contact-divider {
  width: 1px;
  height: 46px;

  background: #cbc7cc;
}

.contact-content {
  direction: rtl;
  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif) !important;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 3px;

  font-size: 13px;
}

.contact-content strong,
.contact-content a {
  font-family: inherit !important;
}

.contact-content strong {
  font-size: 15px;

  color: #28242a;
}

.contact-content a {
  font-weight: 600;

  color: #29252c;
}

/* =============================
   Bottom Header
============================= */

.header-bottom {
  width: 100%;
}

.header-bottom-container {
  width: min(1440px, calc(100% - 60px));
  margin: 0 auto;
  height: 75px;
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* =============================
   Navigation
============================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 12px;

  height: 100%;
}

.nav-item {
  height: 42px;

  display: flex;
  align-items: center;

  gap: 6px;

  border: none;

  background: transparent;

  color: #29262b;

  padding: 0 12px;

  border-radius: 12px;

  font-size: 13px;

  font-weight: 700;

  white-space: nowrap;

  cursor: pointer;

  transition: 0.2s;
}

.nav-item:hover {
  color: var(--primary);

  background: #f8f5fc;
}

.nav-item.active {
  color: var(--primary);

  background: #eee7f8;

  padding-left: 18px;
  padding-right: 18px;
}

.nav-item svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2;

  transition: transform 0.25s;
}

/* =============================
   Dropdown
============================= */

.nav-dropdown {
  position: relative;

  height: 100%;

  display: flex;

  align-items: center;
}

.dropdown-menu {
  position: absolute;

  top: calc(100% - 7px);
  right: 0;

  min-width: 220px;

  padding: 10px;

  border-radius: 17px;

  background: #fff;

  box-shadow: 0 13px 40px rgba(35, 22, 48, 0.13);

  border: 1px solid #eeeaf1;

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  pointer-events: none;

  transition: 0.22s;

  z-index: 30;
}

.dropdown-menu a,
.dropdown-menu .dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  width: 100%;

  padding: 12px 13px;

  border: none;
  border-radius: 10px;

  background: transparent;

  color: #444047;

  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: right;

  cursor: pointer;

  transition: 0.2s;
}

.dropdown-menu a:hover,
.dropdown-menu .dropdown-link:hover,
.dropdown-menu a.active,
.dropdown-menu .dropdown-link.active {
  background: #f4effb;

  color: var(--primary);
}

.dropdown-menu .nav-dropdown {
  position: relative;

  display: block;

  width: 100%;
  height: auto;
}

.dropdown-menu .dropdown-menu {
  top: -6px;
  right: calc(100% - 8px);
  left: auto;

  min-width: 200px;

  z-index: 40;
}

.dropdown-menu .dropdown-menu.flip-inline {
  right: auto;
  left: calc(100% - 8px);
}

.dropdown-menu .submenu-caret {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.nav-dropdown:hover>.dropdown-menu,
.nav-dropdown.open>.dropdown-menu {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);

  pointer-events: auto;
}

.nav-dropdown:hover>.dropdown-trigger svg,
.nav-dropdown.open>.dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu .nav-dropdown:hover>.dropdown-trigger svg,
.dropdown-menu .nav-dropdown.open>.dropdown-trigger svg {
  transform: none;
}

/* =============================
   Actions
============================= */

.header-actions {
  direction: rtl;

  display: flex;
  align-items: center;

  gap: 8px;
}

/* Cafe button */

.cafe-button {
  height: 40px;

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

  gap: 6px;

  padding: 0 14px;

  border-radius: 14px;

  background: var(--yellow);

  color: #fff;

  font-size: 13px;
  font-weight: bold;

  white-space: nowrap;

  transition: 0.25s;
}

.cafe-button:hover {
  background: var(--yellow-dark);

  transform: translateY(-1px);
}

.cafe-button svg {
  flex: 0 0 auto;
  fill: currentColor;
}

/* Login */

.login-button {
  position: relative;
  height: 40px;
  padding: 0 42px 0 8px;

  display: flex;
  align-items: center;

  border-radius: 14px;

  overflow: hidden;

  background: var(--primary);

  color: #fff;

  font-size: 13px;

  font-weight: 700;

  white-space: nowrap;
}

.login-button>span:first-child {
  padding: 0 13px;
  order: 2;
  position: relative;
  z-index: 2;
}

.login-arrow {
  position: absolute;
  z-index: 1;
  right: 5px;
  top: 3px;
  width: 34px;
  height: 34px;

  background: #fff;

  color: var(--yellow);

  border-radius: 11px;

  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
  transition:
    width 0.45s ease,
    border-radius 0.45s ease;
}

.login-button:hover {
  background: #5126a8;
}

.login-button:hover .login-arrow {
  z-index: 3;
  right: 5px;
  width: calc(100% - 10px);
  border-radius: 11px;
}

.login-button:hover>span:first-child {
  color: var(--primary);
}

.login-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Cart */

.cart-button {
  width: 43px;
  height: 43px;

  position: relative;

  border: none;

  border-radius: 13px;

  background: #eee7fa;

  color: var(--primary);

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

  cursor: pointer;
}

.cart-button svg {
  fill: currentColor;
}

.cart-count {
  position: absolute;

  width: 19px;
  height: 19px;

  top: -11px;
  left: -5px;

  border-radius: 50%;

  background: #d95c56;

  color: #fff;

  font-size: 10px;

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

  border: 2px solid #fff;
}

/* =============================
   Mobile button
============================= */

.mobile-menu-button {
  display: none;

  width: 43px;
  height: 43px;

  border: none;

  border-radius: 12px;

  background: var(--primary-light);

  cursor: pointer;

  padding: 10px;
}

.mobile-menu-button span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  border-radius: 10px;

  background: var(--primary);

  transition: 0.25s;
}

/* =============================
   Responsive
============================= */

@media (max-width: 1250px) {
  .header-top-container {
    width: calc(100% - 30px);
  }

  .header-bottom-container {
    width: calc(100% - 30px);
  }

  .header-top-container {
    grid-template-columns: 180px minmax(300px, 1fr) 240px;
  }

  .main-nav {
    gap: 3px;
  }

  .nav-item {
    font-size: 12px;
    padding: 0 7px;
  }

  .cafe-button {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-top-container {
    height: 85px;
    grid-template-columns: 130px 1fr;
  }

  .contact-box {
    display: none;
  }

  .brand img {
    width: 110px;
  }

  .header-bottom-container {
    height: 65px;
  }

  .mobile-menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;

    top: 150px;
    right: 15px;
    left: 15px;

    height: auto;

    background: #fff;

    padding: 15px;

    border-radius: 20px;

    border: 1px solid #eee;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 3px;
  }

  .main-nav.show {
    display: flex;
  }

  .nav-dropdown {
    display: block;

    height: auto;
  }

  .nav-item {
    width: 100%;

    justify-content: space-between;

    font-size: 14px;
  }

  .dropdown-menu {
    position: static;

    display: none;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: none;

    box-shadow: none;

    border: none;

    background: #f8f5fc;

    margin-top: 5px;
  }

  .dropdown-menu .dropdown-menu {
    position: static;

    top: auto;
    right: auto;
    left: auto;

    min-width: 0;

    margin-top: 4px;
    margin-right: 10px;

    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.open>.dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover>.dropdown-menu {
    display: none;
  }

  .nav-dropdown.open:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-submenu-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    margin-top: 4px;
    background: transparent;
  }

  .dropdown-submenu.open>.dropdown-submenu-menu {
    display: block;
  }

  .dropdown-submenu:hover>.dropdown-submenu-menu {
    display: none;
  }

  .dropdown-submenu.open:hover>.dropdown-submenu-menu {
    display: block;
  }
}

@media (max-width: 650px) {
  .header-top-container {
    width: calc(100% - 22px);
  }

  .header-bottom-container {
    width: calc(100% - 22px);
  }

  .header-top-container {
    height: auto;

    padding: 15px 0;

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    gap: 13px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 100px;
  }

  .search-box {
    order: 3;

    width: 100%;

    max-width: none;

    height: 48px;
  }

  .header-bottom-container {
    height: 60px;
  }

  .cafe-button {
    display: none;
  }

  .login-button>span:first-child {
    padding: 0 11px;
    font-size: 11px;
  }

  .main-nav {
    top: 173px;
  }
}

@media (max-width: 420px) {
  .login-button {
    display: none;
  }
}

.mobile-bar,
.mobile-drawer,
.mobile-drawer-backdrop {
  display: none;
}

@media (max-width: 980px) {

  .header-top,
  .header-bottom {
    display: none;
  }

  .mobile-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 8px 14px;
  }

  .mobile-bar .mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    gap: 5px;
  }

  .mobile-bar .mobile-menu-button span {
    width: 18px;
    height: 2px;
    margin: 0;
  }

  .mobile-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .mobile-brand img {
    display: block;
    width: 112px;
    max-height: 46px;
    object-fit: contain;
  }

  .mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-tool {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-tool svg {
    fill: currentColor;
  }

  .mobile-tool svg[fill="none"] {
    fill: none;
  }

  .mobile-tool--account {
    background: var(--yellow);
    color: var(--primary);
  }

  .mobile-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(36, 32, 39, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .mobile-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1110;
    width: 80%;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    overflow: auto;
    transition: transform 0.28s ease, visibility 0.28s ease;
    box-shadow: -12px 0 36px rgba(54, 30, 80, 0.16);
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #eeeaf1;
  }

  .mobile-drawer-logo {
    display: flex;
    align-items: center;
  }

  .mobile-drawer-logo img {
    display: block;
    width: 118px;
    max-height: 48px;
    object-fit: contain;
  }

  .mobile-drawer-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 12px 4px;
  }

  .mobile-drawer-nav .nav-item {
    width: 100%;
    height: 46px;
    justify-content: space-between;
    font-size: 15px;
    padding: 0 12px;
  }

  .mobile-drawer-nav .nav-dropdown {
    display: block;
    height: auto;
  }

  .mobile-drawer-nav .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    margin-top: 4px;
    background: #f8f5fc;
  }

  .mobile-drawer-nav .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .mobile-drawer-nav .nav-dropdown:hover .dropdown-menu {
    display: none;
  }

  .mobile-drawer-nav .nav-dropdown.open:hover .dropdown-menu {
    display: block;
  }

  .mobile-drawer-nav .dropdown-submenu-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    min-width: 0;
    margin-top: 4px;
    background: transparent;
  }

  .mobile-drawer-nav .dropdown-submenu.open>.dropdown-submenu-menu {
    display: block;
  }

  .mobile-drawer-nav .dropdown-submenu:hover>.dropdown-submenu-menu {
    display: none;
  }

  .mobile-drawer-nav .dropdown-submenu.open:hover>.dropdown-submenu-menu {
    display: block;
  }

  .mobile-drawer-search {
    width: auto;
    max-width: none;
    height: 48px;
    margin: 14px 16px 0;
    order: 0;
  }

  .mobile-consult {
    margin-top: auto;
    padding: 18px 16px 20px;
  }

  .mobile-consult p {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-consult-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .consult-phone,
  .consult-cafe {
    min-height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
  }

  .consult-phone {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: #fff;
  }

  .consult-cafe {
    background: var(--yellow);
    color: #fff;
  }
}

body.mobile-menu-open {
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

:root {
  --purple: #361e50;
  --purple-light: #71328c;
  --yellow: #ffb911;
  --text: #242126;
  --border: #eeeaf0;
}

/* ===========================
   ABOUT SECTION
=========================== */

.rahbar-about {
  width: 100%;
  min-height: 610px;

  position: relative;

  background: #ffffff;

  overflow: hidden;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);

  border-top: 1px solid #ededed;
}

.about-container {
  width: min(1380px, calc(100% - 60px));
  min-height: 610px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(440px, 1fr) minmax(520px, 1.1fr);

  align-items: center;

  position: relative;

  z-index: 2;
}

/* ===========================
   LEFT VISUAL
=========================== */

.about-visual {
  direction: ltr;

  height: 600px;

  position: relative;

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

.main-pawn {
  width: 185px;

  position: absolute;

  bottom: 38px;
  left: 150px;

  z-index: 4;

  filter: drop-shadow(0 15px 12px rgba(54, 30, 80, 0.12));

  transition: transform 0.5s ease;
}

.about-visual:hover .main-pawn {
  transform: translateY(-7px);
}

/* مهره سایه */

.ghost-pawn {
  width: 230px;

  position: absolute;

  left: 275px;
  bottom: 95px;

  z-index: 1;

  fill: rgba(0, 0, 0, 0.12);

  filter: blur(3px);

  transform: scaleY(1.2) skewY(-4deg);
}

/* سایه کف */

.pawn-shadow {
  position: absolute;

  width: 320px;
  height: 55px;

  left: 125px;
  bottom: 23px;

  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.14),
      rgba(0, 0, 0, 0) 70%);

  transform: rotate(-5deg);

  z-index: 0;
}

/* ===========================
   DOT PATTERN
=========================== */

.about-dots {
  position: absolute;

  left: 13.5%;
  top: 100px;

  width: 110px;
  height: 250px;

  opacity: 0.75;

  background-image: radial-gradient(circle, #655bff 1.5px, transparent 1.7px);

  background-size: 20px 20px;

  z-index: 1;
}

/* ===========================
   TEXT / CARD
=========================== */

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  padding: 18px;

  background: transparent;

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  border: 1px solid rgba(255, 255, 255, 0.72);

  border-radius: 22px;

  box-shadow:
    0 0 0 1px rgba(54, 30, 80, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-card {
  width: 635px;
  min-height: 315px;

  position: relative;

  padding: 70px 50px 50px;

  background: transparent;

  border: none;

  border-radius: 17px;

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

  z-index: 3;
}

/* آیکن زرد */

.about-icon {
  width: 55px;
  height: 55px;

  position: absolute;

  top: 12px;
  left: 12px;

  border-radius: 50%;

  background: var(--yellow);

  color: #fff;

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

.about-icon svg {
  transform: rotate(-45deg);
  transform-origin: center;
}

/* متن */

.about-text {
  text-align: right;

  width: 100%;
}

.about-text h3 {
  margin: 0 0 28px;

  font-size: 22px;
  line-height: 1.7;

  font-weight: 800;

  color: var(--purple);
}

.about-text h2 {
  margin: 0 0 18px;

  font-size: 25px;
  line-height: 1.7;

  font-weight: 900;

  color: #29252c;
}

.about-text p {
  max-width: 590px;

  margin: 0;

  font-size: 17px;

  line-height: 2;

  color: #28242a;

  font-weight: 500;
}

/* ===========================
   PURPLE CORNER
=========================== */

.corner-line {
  position: absolute;

  right: -2px;
  bottom: -2px;

  width: 98px;
  height: 100px;

  border-right: 3px solid #9341b9;
  border-bottom: 3px solid #9341b9;

  border-bottom-right-radius: 21px;
}

/* ===========================
   WAVES
=========================== */

.about-wave {
  position: absolute;

  pointer-events: none;

  z-index: 1;
}

.about-wave-top {
  width: 830px;
  height: 530px;

  right: 11%;
  top: 10px;

  opacity: 0.32;
}

.wave-lines path {
  fill: none;

  stroke-width: 1;

  stroke-linecap: round;

  stroke: url(#waveGradient);
}

/*
چون برای چند رنگ کردن path به Gradient نیاز داریم،
پایین با CSS برای هر خط Gradient تقریبی می‌سازیم
*/

.wave-lines path:nth-child(1) {
  stroke: #59c9ec;
}

.wave-lines path:nth-child(2) {
  stroke: #74daee;
}

.wave-lines path:nth-child(3) {
  stroke: #95c3ee;
}

.wave-lines path:nth-child(4) {
  stroke: #b0a9ef;
}

.wave-lines path:nth-child(5) {
  stroke: #c28ae8;
}

.wave-lines path:nth-child(6) {
  stroke: #d887dc;
}

.wave-lines path:nth-child(7) {
  stroke: #e49cd4;
}

.wave-lines path:nth-child(8) {
  stroke: #eab1db;
}

.wave-lines path:nth-child(9) {
  stroke: #bea6ed;
}

.wave-lines path:nth-child(10) {
  stroke: #87bdeb;
}

/* ===========================
   subtle animation
=========================== */

@keyframes waveFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.about-wave {
  animation: waveFloat 8s ease-in-out infinite;
}

/* ===========================
   RESPONSIVE 1200
=========================== */

@media (max-width: 1200px) {
  .about-container {
    width: calc(100% - 40px);

    grid-template-columns:
      0.85fr 1.15fr;
  }

  .about-card {
    width: 100%;

    padding-left: 35px;
    padding-right: 35px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 15px;
  }

  .main-pawn {
    left: 100px;
  }

  .ghost-pawn {
    left: 210px;
  }
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 900px) {
  .rahbar-about {
    min-height: auto;

    padding: 70px 0;
  }

  .about-container {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 30px;
  }

  .about-content {
    order: 1;
  }

  .about-visual {
    order: 2;

    height: 450px;
  }

  .about-card {
    max-width: 680px;

    margin: auto;
  }

  .main-pawn {
    left: 38%;
    transform: translateX(-50%);

    bottom: 10px;
  }

  .ghost-pawn {
    left: 53%;
    transform: translateX(-50%);

    bottom: 65px;
  }

  .about-dots {
    left: 8%;
    top: 55%;
  }

  .about-wave-top {
    width: 700px;

    right: -150px;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 600px) {
  .rahbar-about {
    min-height: 0;

    padding: 12px 0 8px;

    display: block;
  }

  .about-container {
    width: calc(100% - 20px);
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    padding: 8px 8px 4px;

    border-radius: 26px;

    background: rgba(255, 255, 255, 0.42);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.72);

    box-shadow: 0 0 0 1px rgba(54, 30, 80, 0.04);

    overflow: hidden;
  }

  .about-content {
    flex: 0 0 auto;

    padding: 0;

    background: transparent;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: none;

    border-radius: 0;

    box-shadow: none;
  }

  .about-card {
    width: 100%;
    min-height: auto;

    padding: 52px 16px 8px;

    border-radius: 0;
  }

  .about-text {
    text-align: center;
  }

  .about-text h3 {
    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 16px;
  }

  .about-text h2 {
    font-size: 16px;

    line-height: 1.75;

    margin-bottom: 14px;
  }

  .about-text p {
    max-width: none;

    font-size: 13px;

    line-height: 1.85;
  }

  .about-icon {
    width: 42px;
    height: 42px;

    top: 10px;
    left: 10px;
  }

  .about-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-visual {
    position: relative;

    height: 390px;
    flex: 0 0 auto;
    min-height: 0;
  }

  .about-visual > img.about-banner-image {
    width: min(86%, 320px);
    max-height: 378px;
  }

  .about-dots {
    display: none;
  }

  .corner-line {
    width: 78px;
    height: 64px;

    right: 6px;
    bottom: 0;
  }
}

/*سکشن دوم*/

* {
  box-sizing: border-box;
}

:root {
  --purple: #361e50;
  --purple-light: #71328c;
  --yellow: #ffb911;
  --text: #242126;
  --border: #eeeaf0;
}

/* ===========================
   ABOUT SECTION
=========================== */

.rahbar-about {
  width: 100%;
  min-height: 610px;

  position: relative;

  background: #ffffff;

  overflow: hidden;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);

  border-top: 1px solid #ededed;
}

.about-container {
  width: min(1380px, calc(100% - 60px));
  min-height: 610px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(440px, 1fr) minmax(520px, 1.1fr);

  align-items: center;

  position: relative;

  z-index: 2;
}

/* ===========================
   LEFT VISUAL
=========================== */

.about-visual {
  direction: ltr;

  height: 600px;

  position: relative;

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

.main-pawn {
  width: 185px;

  position: absolute;

  bottom: 38px;
  left: 150px;

  z-index: 4;

  filter: drop-shadow(0 15px 12px rgba(54, 30, 80, 0.12));

  transition: transform 0.5s ease;
}

.about-visual:hover .main-pawn {
  transform: translateY(-7px);
}

/* مهره سایه */

.ghost-pawn {
  width: 230px;

  position: absolute;

  left: 275px;
  bottom: 95px;

  z-index: 1;

  fill: rgba(0, 0, 0, 0.12);

  filter: blur(3px);

  transform: scaleY(1.2) skewY(-4deg);
}

/* سایه کف */

.pawn-shadow {
  position: absolute;

  width: 320px;
  height: 55px;

  left: 125px;
  bottom: 23px;

  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.14),
      rgba(0, 0, 0, 0) 70%);

  transform: rotate(-5deg);

  z-index: 0;
}

/* ===========================
   DOT PATTERN
=========================== */

.about-dots {
  position: absolute;

  left: 13.5%;
  top: 100px;

  width: 110px;
  height: 250px;

  opacity: 0.75;

  background-image: radial-gradient(circle, #655bff 1.5px, transparent 1.7px);

  background-size: 20px 20px;

  z-index: 1;
}

/* ===========================
   TEXT / CARD
=========================== */

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  padding: 18px;

  background: transparent;

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  border: 1px solid rgba(255, 255, 255, 0.72);

  border-radius: 22px;

  box-shadow:
    0 0 0 1px rgba(54, 30, 80, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-card {
  width: 635px;
  min-height: 315px;

  position: relative;

  padding: 70px 50px 50px;

  background: transparent;

  border: none;

  border-radius: 17px;

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

  z-index: 3;
}

/* آیکن زرد */

.about-icon {
  width: 55px;
  height: 55px;

  position: absolute;

  top: 12px;
  left: 12px;

  border-radius: 50%;

  background: var(--yellow);

  color: #fff;

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

/* متن */

.about-text {
  text-align: right;

  width: 100%;
}

.about-text h3 {
  margin: 0 0 28px;

  font-size: 22px;
  line-height: 1.7;

  font-weight: 800;

  color: var(--purple);
}

.about-text h2 {
  margin: 0 0 18px;

  font-size: 25px;
  line-height: 1.7;

  font-weight: 900;

  color: #29252c;
}

.about-text p {
  max-width: 590px;

  margin: 0;

  font-size: 17px;

  line-height: 2;

  color: #28242a;

  font-weight: 500;
}

/* ===========================
   PURPLE CORNER
=========================== */

.corner-line {
  position: absolute;

  right: -2px;
  bottom: -2px;

  width: 98px;
  height: 100px;

  border-right: 3px solid #9341b9;
  border-bottom: 3px solid #9341b9;

  border-bottom-right-radius: 21px;
}

/* ===========================
   WAVES
=========================== */

.about-wave {
  position: absolute;

  pointer-events: none;

  z-index: 1;
}

.about-wave-top {
  width: 830px;
  height: 530px;

  right: 11%;
  top: 10px;

  opacity: 0.32;
}

.wave-lines path {
  fill: none;

  stroke-width: 1;

  stroke-linecap: round;

  stroke: url(#waveGradient);
}

/*
چون برای چند رنگ کردن path به Gradient نیاز داریم،
پایین با CSS برای هر خط Gradient تقریبی می‌سازیم
*/

.wave-lines path:nth-child(1) {
  stroke: #59c9ec;
}

.wave-lines path:nth-child(2) {
  stroke: #74daee;
}

.wave-lines path:nth-child(3) {
  stroke: #95c3ee;
}

.wave-lines path:nth-child(4) {
  stroke: #b0a9ef;
}

.wave-lines path:nth-child(5) {
  stroke: #c28ae8;
}

.wave-lines path:nth-child(6) {
  stroke: #d887dc;
}

.wave-lines path:nth-child(7) {
  stroke: #e49cd4;
}

.wave-lines path:nth-child(8) {
  stroke: #eab1db;
}

.wave-lines path:nth-child(9) {
  stroke: #bea6ed;
}

.wave-lines path:nth-child(10) {
  stroke: #87bdeb;
}

/* ===========================
   subtle animation
=========================== */

@keyframes waveFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.about-wave {
  animation: waveFloat 8s ease-in-out infinite;
}

/* ===========================
   RESPONSIVE 1200
=========================== */

@media (max-width: 1200px) {
  .about-container {
    width: calc(100% - 40px);

    grid-template-columns:
      0.85fr 1.15fr;
  }

  .about-card {
    width: 100%;

    padding-left: 35px;
    padding-right: 35px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 15px;
  }

  .main-pawn {
    left: 100px;
  }

  .ghost-pawn {
    left: 210px;
  }
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 900px) {
  .rahbar-about {
    min-height: auto;

    padding: 70px 0;
  }

  .about-container {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 30px;
  }

  .about-content {
    order: 1;
  }

  .about-visual {
    order: 2;

    height: 450px;
  }

  .about-card {
    max-width: 680px;

    margin: auto;
  }

  .main-pawn {
    left: 38%;
    transform: translateX(-50%);

    bottom: 10px;
  }

  .ghost-pawn {
    left: 53%;
    transform: translateX(-50%);

    bottom: 65px;
  }

  .about-dots {
    left: 8%;
    top: 55%;
  }

  .about-wave-top {
    width: 700px;

    right: -150px;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 600px) {
  .rahbar-about {
    min-height: 0;

    padding: 12px 0 8px;

    display: block;
  }

  .about-container {
    width: calc(100% - 20px);
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    padding: 8px 8px 4px;

    border-radius: 26px;

    background: rgba(255, 255, 255, 0.42);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.72);

    box-shadow: 0 0 0 1px rgba(54, 30, 80, 0.04);

    overflow: hidden;
  }

  .about-content {
    flex: 0 0 auto;

    padding: 0;

    background: transparent;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: none;

    border-radius: 0;

    box-shadow: none;
  }

  .about-card {
    width: 100%;
    min-height: auto;

    padding: 52px 16px 8px;

    border-radius: 0;
  }

  .about-text {
    text-align: center;
  }

  .about-text h3 {
    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 16px;
  }

  .about-text h2 {
    font-size: 16px;

    line-height: 1.75;

    margin-bottom: 14px;
  }

  .about-text p {
    max-width: none;

    font-size: 13px;

    line-height: 1.85;
  }

  .about-icon {
    width: 42px;
    height: 42px;

    top: 10px;
    left: 10px;
  }

  .about-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-visual {
    position: relative;

    height: 390px;
    flex: 0 0 auto;
    min-height: 0;
  }

  .about-visual > img.about-banner-image {
    width: min(86%, 320px);
    max-height: 378px;
  }

  .about-dots {
    display: none;
  }

  .corner-line {
    width: 78px;
    height: 64px;

    right: 6px;
    bottom: 0;
  }
}

/* ورود سکشن هنگام اسکرول */

.about-card {
  opacity: 0;
  transform: translateX(-35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.main-pawn {
  opacity: 0;

  transform: translateY(25px) scale(0.96);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.about-card.show {
  opacity: 1;
  transform: translateX(0);
}

.main-pawn.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* جلوگیری از تداخل hover */

.about-visual:hover .main-pawn.show {
  transform: translateY(-7px) scale(1);
}

/*سکشن rahbar-app-section*/

/* =========================================
   RAHBAR APP SECTION
========================================= */

.rahbar-app-section {
  --app-purple: #361e50;
  --app-purple-2: #4d246b;
  --app-yellow: #ffb911;
  --app-yellow-hover: #f0a900;
  --app-text: #252026;
  --app-border: #ded9e2;

  width: 100%;
  min-height: 610px;

  position: relative;

  background: linear-gradient(90deg,
      #d6d6d6 0%,
      #eeeeee 32%,
      #f8f8f8 47%,
      #ffffff 62%,
      #ffffff 100%);

  overflow: hidden;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   BACKGROUND SHAPE
========================================= */

.app-bg-shape {
  display: none;
}

/* =========================================
   MAIN CONTAINER
========================================= */

.rahbar-app-container {
  width: min(1370px, calc(100% - 60px));

  min-height: 610px;

  margin: 0 auto;

  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(560px, 1.08fr) minmax(480px, 0.92fr);

  align-items: center;

  column-gap: 40px;
}

/* =========================================
   CONTENT
========================================= */

.rahbar-app-content {
  width: 100%;

  max-width: 745px;

  justify-self: start;

  padding-top: 12px;
}

/* headings */

.app-headings {
  text-align: right;

  margin-bottom: 46px;
}

.app-headings h2 {
  margin: 0 0 43px;

  color: var(--app-purple);

  font-size: 30px;

  line-height: 1.7;

  font-weight: 900;
}

.app-headings p {
  margin: 0;

  color: #272129;

  font-size: 17px;

  line-height: 2;

  font-weight: 500;
}

/* =========================================
   FEATURES BOX
========================================= */

.app-features {
  width: 100%;

  min-height: 160px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  align-items: stretch;

  border: 1px solid var(--app-border);

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.92);

  overflow: hidden;
}

/* feature */

.app-feature {
  position: relative;

  min-width: 0;

  padding: 14px 15px 10px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.app-feature:hover {
  background: rgba(54, 30, 80, 0.035);
}

/* separator */

.app-feature:not(:last-child)::after {
  content: "";

  position: absolute;

  left: 0;

  top: 32px;

  bottom: 32px;

  width: 1px;

  background: rgba(54, 30, 80, 0.08);
}

/* icon */

.feature-icon {
  width: 48px;
  height: 48px;

  margin-bottom: 10px;

  color: var(--app-purple);

  display: flex;

  align-items: center;

  justify-content: center;
}

.feature-icon svg {
  width: 43px;
  height: 43px;

  display: block;
}

/* feature title */

.app-feature h3 {
  margin: 0 0 13px;

  color: var(--app-purple);

  font-size: 15px;

  line-height: 1.8;

  font-weight: 900;

  white-space: nowrap;
}

/* description */

.app-feature p {
  margin: 0;

  color: #29232c;

  font-size: 14px;

  line-height: 1.8;

  font-weight: 400;

  white-space: nowrap;
}

/* =========================================
   DOWNLOAD BUTTON
========================================= */

.app-download-button {
  width: 100%;
  height: 47px;

  margin-top: 22px;

  border-radius: 16px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--app-yellow);

  color: var(--app-purple);

  text-decoration: none;

  font-size: 18px;

  font-weight: 900;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.app-download-button:hover {
  background: var(--app-yellow-hover);

  transform: translateY(-2px);

  box-shadow: 0 9px 24px rgba(255, 185, 17, 0.23);
}

.app-download-button:active {
  transform: translateY(0);
}

/* =========================================
   LEFT VISUAL
========================================= */

.rahbar-app-visual {
  height: 610px;

  position: relative;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  direction: ltr;
}

/* mockup */

.app-mockup-image {
  display: block;

  width: auto;

  height: 535px;

  max-width: 100%;

  object-fit: contain;

  object-position: bottom center;

  position: relative;

  z-index: 3;

  transform-origin: bottom center;

  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-app-visual:hover .app-mockup-image {
  transform: translateY(-6px);
}

/* shadow under image */

.rahbar-app-visual::after {
  content: "";

  position: absolute;

  width: 390px;
  height: 42px;

  bottom: 10px;

  left: 50%;

  transform: translateX(-50%);

  background: radial-gradient(ellipse at center,
      rgba(29, 20, 34, 0.17),
      rgba(29, 20, 34, 0) 72%);

  filter: blur(3px);

  z-index: 1;
}

/* faint glow */

.app-image-glow {
  position: absolute;

  width: 450px;
  height: 450px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 255, 255, 0.25) 47%,
      rgba(255, 255, 255, 0) 74%);

  z-index: 0;
}


/* =========================================
   ENTER ANIMATION
========================================= */

.rahbar-app-content {
  opacity: 0;

  transform: translateX(-25px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.app-mockup-image {
  opacity: 0;

  transform: translateX(-25px) translateY(20px) scale(0.97);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-app-section.is-visible .rahbar-app-content {
  opacity: 1;

  transform: translateX(0);
}

.rahbar-app-section.is-visible .app-mockup-image {
  opacity: 1;

  transform: translateX(0) translateY(0) scale(1);
}

.rahbar-app-section.is-visible .rahbar-app-visual:hover .app-mockup-image {
  transform: translateY(-6px) scale(1.005);
}

/* =========================================
   RESPONSIVE - 1200
========================================= */

@media (max-width: 1200px) {
  .rahbar-app-container {
    width: calc(100% - 40px);

    grid-template-columns:
      1.1fr 0.9fr;

    column-gap: 20px;
  }

  .rahbar-app-content {
    max-width: 650px;
  }

  .app-headings h2 {
    font-size: 27px;
  }

  .app-headings p {
    font-size: 15px;
  }

  .app-feature h3 {
    font-size: 13px;
  }

  .app-feature p {
    font-size: 12px;
  }

  .app-mockup-image {
    height: 500px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {
  .rahbar-app-section {
    min-height: auto;

    padding: 70px 0 0;
  }

  .app-bg-shape {
    width: 100%;

    top: auto;

    height: 46%;

    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }

  .rahbar-app-container {
    min-height: auto;

    grid-template-columns: 1fr;

    row-gap: 35px;
  }

  .rahbar-app-content {
    max-width: 760px;

    justify-self: center;

    order: 1;
  }

  .rahbar-app-visual {
    order: 2;

    height: 520px;
  }

  .app-mockup-image {
    height: 500px;
  }

  .app-headings {
    text-align: center;
  }

  .app-headings h2 {
    margin-bottom: 20px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .rahbar-app-section {
    padding-top: 45px;
  }

  .rahbar-app-container {
    width: calc(100% - 28px);
  }

  .app-headings {
    margin-bottom: 30px;
  }

  .app-headings h2 {
    font-size: 23px;

    line-height: 1.8;
  }

  .app-headings p {
    font-size: 14px;

    line-height: 2;
  }

  .app-features {
    grid-template-columns: 1fr;

    border-radius: 18px;

    overflow: visible;
  }

  .app-feature {
    min-height: 145px;

    padding: 20px;
  }

  .app-feature:not(:last-child)::after {
    width: calc(100% - 40px);

    height: 1px;

    top: auto;

    bottom: 0;

    left: 20px;
  }

  .app-feature h3 {
    font-size: 15px;
  }

  .app-feature p {
    font-size: 13px;
  }

  .app-download-button {
    min-height: 50px;

    height: auto;

    padding: 10px 15px;

    font-size: 15px;

    border-radius: 14px;

    text-align: center;
  }

  .rahbar-app-visual {
    height: 400px;
  }

  .app-mockup-image {
    height: 390px;

    max-width: 100%;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .app-headings h2 {
    font-size: 20px;
  }

  .app-headings p {
    font-size: 13px;
  }

  .rahbar-app-visual {
    height: 340px;
  }

  .app-mockup-image {
    height: 330px;
  }
}

/* سکشن چهارم rahbar-benefits */

/* ========================================
   BENEFITS SECTION
======================================== */

.rahbar-benefits {
  --purple: #361e50;
  --gray-card: #d9d9d9;
  --white: #ffffff;
  --border: #d8d5da;

  width: 100%;

  min-height: 355px;

  position: relative;

  background: #ffffff;

  direction: rtl;

  overflow: hidden;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* container */

.benefits-container {
  width: min(1280px, calc(100% - 60px));

  min-height: 355px;

  margin: 0 auto;

  display: flex;

  align-items: center;
}

/* ========================================
   GRID
======================================== */

.benefits-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 20px;

  align-items: start;
}

.benefits-grid--n1 {
  grid-template-columns: minmax(0, 280px);
  justify-content: center;
}

.benefits-grid--n2 {
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
}

.benefits-grid--n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid--n4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ========================================
   CARD
======================================== */

.benefit-card {
  position: relative;

  min-width: 0;

  height: 300px;

  display: flex;

  align-items: flex-start;

  justify-content: center;
}

/*
کارت‌های یکی درمیان پایین‌تر هستند
دقیقاً مشابه تصویر
*/

.benefit-card--down {
  padding-top: 58px;
}

.benefit-card--up {
  padding-top: 0;
}

/* ========================================
   PANEL
======================================== */

.benefit-panel {
  width: 100%;

  max-width: 240px;

  height: calc(300px - 58px);

  min-height: 0;

  padding: 42px 18px 25px;

  border-radius: 17px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  text-align: center;

  position: relative;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* سفید */

.benefit-panel--white {
  background: #ffffff;

  border: 1px solid var(--border);
}

/* خاکستری */

.benefit-panel--gray {
  background: linear-gradient(135deg, #eeeeec 0%, #d6d6d4 62%, #cacaca 100%);
}

/* hover */

.benefit-card:hover .benefit-panel {
  transform: translateY(-6px);

  box-shadow: 0 15px 35px rgba(54, 30, 80, 0.09);
}

/* ========================================
   CAP
======================================== */

.benefit-cap {
  width: 58px;
  height: 48px;

  position: absolute;

  top: 0;

  left: calc(50% - 120px);

  z-index: 3;

  --cap-shift-x: -40px;
  --cap-shift-y: 0px;

  transform: translate(var(--cap-shift-x), var(--cap-shift-y)) rotate(-45deg);
  transform-origin: top left;

  transition: transform 0.3s ease;
}

.benefit-card--down .benefit-cap {
  top: 58px;
}

.benefit-cap svg {
  width: 100%;
  height: 100%;

  display: block;
}

.benefit-card:hover .benefit-cap {
  transform: translate(var(--cap-shift-x), calc(var(--cap-shift-y) - 5px)) rotate(-45deg);
}

/* ========================================
   TITLE
======================================== */

.benefit-panel h3 {
  width: 100%;

  margin: 0 0 23px;

  color: var(--purple);

  font-size: 15px;

  font-weight: 900;

  line-height: 1.8;
}

/* ========================================
   DESCRIPTION
======================================== */

.benefit-panel p {
  margin: 0;

  color: #362547;

  font-size: 14px;

  font-weight: 500;

  line-height: 2;

  text-align: justify;

  text-align-last: center;
}

/* ========================================
   ENTER ANIMATION
======================================== */

.benefit-card {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.rahbar-benefits.is-visible .benefit-card {
  opacity: 1;

  transform: translateY(0);
}

/* stagger */

.rahbar-benefits.is-visible .benefit-card:nth-child(1) {
  transition-delay: 0.05s;
}

.rahbar-benefits.is-visible .benefit-card:nth-child(2) {
  transition-delay: 0.13s;
}

.rahbar-benefits.is-visible .benefit-card:nth-child(3) {
  transition-delay: 0.21s;
}

.rahbar-benefits.is-visible .benefit-card:nth-child(4) {
  transition-delay: 0.29s;
}

.rahbar-benefits.is-visible .benefit-card:nth-child(5) {
  transition-delay: 0.37s;
}

/* ========================================
   1200
======================================== */

@media (max-width: 1200px) {
  .benefits-container {
    width: calc(100% - 40px);
  }

  .benefits-grid {
    gap: 13px;
  }

  .benefit-panel {
    padding-left: 13px;

    padding-right: 13px;
  }

  .benefit-panel h3 {
    font-size: 14px;
  }

  .benefit-panel p {
    font-size: 12px;
  }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .rahbar-benefits {
    padding: 70px 0;

    background: #ffffff;
  }

  .benefits-container {
    padding-left: 36px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 48px 18px;

    align-items: stretch;
  }

  .benefit-card,
  .benefit-card--down,
  .benefit-card--up {
    height: auto;

    padding-top: 0;
  }

  .benefit-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .benefit-panel {
    max-width: 330px;

    height: auto;

    min-height: 240px;
  }

  .benefit-card:nth-child(5) .benefit-panel {
    max-width: 330px;
  }

  .benefit-cap,
  .benefit-card--down .benefit-cap {
    top: 0;

    left: max(0px, calc((100% - 330px) / 2));
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
  .rahbar-benefits {
    padding: 56px 0 48px;
  }

  .benefits-container {
    width: min(420px, calc(100% - 24px));

    padding-left: 46px;

    padding-right: 4px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;

    gap: 46px;
  }

  .benefit-card:nth-child(5) {
    grid-column: auto;
  }

  .benefit-panel,
  .benefit-card:nth-child(5) .benefit-panel {
    max-width: 100%;

    width: 100%;

    min-height: 0;

    height: auto;

    padding: 32px 18px 24px;

    border-radius: 18px;

    box-shadow: 0 10px 28px rgba(54, 30, 80, 0.07);
  }

  .benefit-panel h3 {
    margin-bottom: 12px;

    font-size: 16px;
  }

  .benefit-panel p {
    font-size: 13.5px;

    text-align: center;

    line-height: 1.95;
  }

  .benefit-cap,
  .benefit-card--down .benefit-cap {
    width: 58px;

    height: 48px;

    top: 0;

    left: 0;
  }
}

/*سکشن 5*/
/* =====================================
   COURSES CAROUSEL
===================================== */

.courses-carousel-section {
  --course-purple: #361e50;
  --course-purple-2: #643abc;
  --course-yellow: #ffb911;
  --course-red: #e7194d;
  --course-border: #d7d4da;

  width: 100%;

  padding: 20px 0 45px;

  background: #ffffff;

  direction: rtl;

  overflow: hidden;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

.courses-carousel-container {
  width: min(1320px, calc(100% - 50px));

  margin: 0 auto;
}

/* =====================================
   HEADER
===================================== */

.courses-section-header {
  margin-bottom: 11px;
}

.courses-section-header h2 {
  margin: 0 0 20px;

  color: #222;

  font-size: 16px;

  line-height: 1.8;

  font-weight: 900;

  text-align: right;
}


/* =====================================
   SLIDER
===================================== */

.courses-slider {
  position: relative;

  width: calc(100% + 90px);

  margin-right: -45px;

  padding: 0 45px;
}

.courses-viewport {
  width: 100%;

  overflow: hidden;

  padding: 0 0 5px;

  cursor: grab;
}

.courses-viewport.dragging {
  cursor: grabbing;
}

.courses-track {
  display: flex;

  gap: 12px;

  direction: ltr;

  transition: transform 0.48s cubic-bezier(0.22, 0.8, 0.25, 1);

  will-change: transform;
}

/* =====================================
   CARD
===================================== */

.course-card {
  --cc-pad: 10px;
  --cc-radius: 16px;
  --cc-img-radius: 12px;

  direction: rtl;
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  height: auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--course-border);
  border-radius: var(--cc-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(54, 30, 80, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(100, 58, 188, 0.3);
  box-shadow: 0 10px 28px rgba(54, 30, 80, 0.1);
}

.course-card--linked,
.course-card a.course-image,
.course-card a.course-title {
  cursor: pointer;
}

.course-card a.course-image:focus-visible,
.course-card a.course-title:focus-visible {
  outline: 2px solid var(--course-purple-2);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  .course-card,
  .course-card:hover,
  .course-image img,
  .course-card:hover .course-image img {
    transition: none;
    transform: none;
  }
}

/* =====================================
   IMAGE
===================================== */

.course-image {
  position: relative;
  width: calc(100% - (var(--cc-pad) * 2));
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: var(--cc-pad) auto 0;
  border-radius: var(--cc-img-radius);
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.course-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.04);
}

.free-course-cover-title {
  display: -webkit-box;
  max-width: 88%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
}

.course-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(18, 8, 32, 0.18);
  pointer-events: none;
}

.course-badge--sale {
  background: var(--course-red);
  color: #fff;
}

.course-badge--free {
  background: var(--course-yellow);
  color: var(--course-purple);
}

/* =====================================
   CARD CONTENT
===================================== */

.course-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 10px 12px 12px;
  text-align: right;
}

.course-title {
  display: -webkit-box;
  margin: 0;
  min-height: 2.9em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #2f2b32;
  text-decoration: none;
  text-align: right;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.course-title:hover {
  color: var(--course-purple-2);
}

/* =====================================
   META
===================================== */

.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  color: #6b6570;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.course-meta-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-meta-item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--course-purple-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* Legacy aliases (older markup) */
.course-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.course-info-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b6570;
  font-size: 11.5px;
  line-height: 1.4;
}

.course-info-item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--course-purple-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================
   PRICE
===================================== */

.course-price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0edf3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  min-height: 42px;
}

.course-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.course-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.current-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--course-purple);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.price-unit {
  color: #8a858b;
  font-size: 11px;
  font-weight: 700;
}

.course-price-old {
  color: #9a949c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-color: rgba(231, 25, 77, 0.75);
  text-decoration-thickness: 1.5px;
}

.discount-percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 36px;
  height: 22px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(231, 25, 77, 0.1);
  color: var(--course-red);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.course-price.is-free .current-price,
.free-course-price {
  color: #159447;
  font-size: 15px;
}

/* =====================================
   ARROWS
===================================== */

.courses-slider-btn {
  width: 39px;

  height: 39px;

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  border: none;

  border-radius: 50%;

  background: #ede7fb;

  color: #7244cd;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.courses-slider-btn svg {
  width: 24px;

  height: 24px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.6;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.courses-prev {
  left: 0;
}

.courses-next {
  right: 0;
}

.courses-slider-btn:hover {
  color: #fff;

  background: var(--course-purple-2);

  transform: translateY(-50%) scale(1.06);
}

.courses-slider-btn:disabled {
  opacity: 0.32;

  cursor: default;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1050px) {
  .course-card {
    flex-basis: calc((100% - 24px) / 3);
  }
}

/* =====================================
   SMALL TABLET
===================================== */

@media (max-width: 780px) {

  .courses-carousel-container,
  .rahbar-finance-container {
    width: calc(100% - 30px);
  }

  .courses-slider {
    width: calc(100% + 60px);

    margin-right: -30px;

    padding: 0 30px;
  }

  .course-card {
    flex-basis: calc((100% - 12px) / 2);
  }

  .courses-slider-btn {
    width: 34px;

    height: 34px;
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 520px) {
  .courses-carousel-section {
    padding-top: 15px;
  }

  .courses-section-header h2 {
    font-size: 15px;
  }

  .courses-slider {
    width: calc(100% + 30px);

    margin-right: -15px;

    padding: 0 15px;
  }

  .course-card {
    flex-basis: 86%;
  }

  .course-title {
    font-size: 14px;
  }

  .courses-slider-btn {
    display: none;
  }
}

/* سکشن ششم rahbar-finance-section */

/* =========================================
   RAHBAR FINANCE SECTION
========================================= */

.rahbar-finance-section {
  --rf-purple: #643abc;
  --rf-dark-purple: #361e50;
  --rf-text: #27232a;
  --rf-gray: #e3e3e3;
  --rf-gray-dark: #d6d6d6;

  width: 100%;

  min-height: 455px;

  position: relative;

  background: linear-gradient(to left,
      #ececec 0%,
      #dedede 35%,
      #d7d7d7 50%,
      #eeeeee 55%,
      #ffffff 57%,
      #ffffff 100%);

  direction: rtl;

  overflow: hidden;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.rahbar-finance-container {
  width: min(1320px, calc(100% - 50px));

  min-height: 455px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 57% 43%;

  align-items: stretch;
}

/* =========================================
   RIGHT CONTENT
========================================= */

.rahbar-finance-content {
  position: relative;

  background: transparent;

  display: flex;

  align-items: center;

  justify-content: center;
}

.finance-content-inner {
  width: 100%;

  max-width: 100%;

  padding: 30px 0;
}

/* =========================================
   HEADING
========================================= */

.finance-content-inner h2 {
  margin: 0 0 22px;

  color: var(--rf-dark-purple);

  font-size: 16px;

  line-height: 1.9;

  font-weight: 900;

  text-align: right;
}

/* =========================================
   DESCRIPTION
========================================= */

.finance-description {
  margin: 0 0 20px;

  max-width: 720px;

  color: #29252d;

  font-size: 14px;

  line-height: 2.2;

  font-weight: 500;

  text-align: right;
}

/* =========================================
   FEATURE LIST
========================================= */

.finance-features {
  list-style: none;

  margin: 0 0 25px;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 8px;
}

.finance-features li {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 8px;

  color: #33273d;

  font-size: 14px;

  line-height: 1.8;

  font-weight: 600;
}

/* تیک بنفش */

.finance-check {
  width: 20px;

  height: 20px;

  flex: 0 0 20px;

  border-radius: 50%;

  background: var(--rf-purple);

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;
}

.finance-check svg {
  width: 15px;

  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   BUTTON
========================================= */

.finance-more-button {
  width: 232px;

  height: 44px;

  margin-right: 0;

  border-radius: 13px;

  background: var(--rf-purple);

  color: #fff;

  text-decoration: none;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  font-size: 13px;

  font-weight: 900;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.finance-more-button:hover {
  background: #522aaa;

  transform: translateY(-2px);

  box-shadow: 0 10px 24px rgba(100, 58, 188, 0.22);
}

.finance-button-arrow {
  width: 22px;

  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.finance-button-arrow svg {
  width: 18px;

  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   LEFT VISUAL
========================================= */

.rahbar-finance-visual {
  min-height: 455px;

  position: relative;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  background: transparent;

  direction: ltr;
}

/* =========================================
   IMAGE WRAPPER
========================================= */

.finance-image-wrapper {
  width: 430px;

  height: 430px;

  position: relative;

  display: flex;

  align-items: flex-start;

  justify-content: center;
}

/* تصویر افراد */

.finance-team-image {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center center;

  position: relative;

  z-index: 1;

  transform-origin: center center;

  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.rahbar-finance-visual:hover .finance-team-image {
  transform: translateY(-5px);
}

/* =========================================
   CIRCLE DECORATIONS
========================================= */

.finance-circle {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.finance-circle-1 {
  width: 315px;

  height: 315px;

  left: 50%;

  top: 28px;

  transform: translateX(-50%);

  z-index: 2;

  overflow: hidden;

  border: 1px solid rgba(54, 30, 80, 0.16);

  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.3),
      rgba(54, 30, 80, 0.035));
}

.finance-circle-2 {
  width: 120px;

  height: 120px;

  left: 8%;

  top: 36px;

  z-index: 3;

  background: rgba(54, 30, 80, 0.035);
}

/* =========================================
   DOT PATTERN
========================================= */

.finance-dots {
  width: 105px;

  height: 160px;

  position: absolute;

  left: 0;

  bottom: 88px;

  z-index: 1;

  opacity: 0.55;

  background-image: radial-gradient(circle, #777 2.4px, transparent 2.7px);

  background-size: 15px 15px;
}

/* =========================================
   IMAGE FLOOR SHADOW
========================================= */

.finance-circle-1::after {
  content: "";

  position: absolute;

  width: 72%;

  height: 22px;

  left: 50%;

  bottom: 10px;

  transform: translateX(-50%);

  background: radial-gradient(ellipse at center,
      rgba(20, 17, 23, 0.14) 0%,
      rgba(20, 17, 23, 0) 72%);

  filter: blur(4px);

  z-index: 2;

  pointer-events: none;
}

/* =========================================
   ENTRANCE ANIMATION
========================================= */

.finance-content-inner {
  opacity: 0;

  transform: translateX(-25px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.finance-team-image {
  opacity: 0;

  transform: translateY(22px) scale(0.98);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.rahbar-finance-section.is-visible .finance-content-inner {
  opacity: 1;

  transform: translateX(0);
}

.rahbar-finance-section.is-visible .finance-team-image {
  opacity: 1;

  transform: translateY(0) scale(1);
}

.rahbar-finance-section.is-visible .rahbar-finance-visual:hover .finance-team-image {
  transform: translateY(-5px) scale(1.005);
}

/* =========================================
   1200
========================================= */

@media (max-width: 1200px) {
  .rahbar-finance-container {
    grid-template-columns: 60% 40%;
  }

  .finance-content-inner {
    width: calc(100% - 60px);
  }

  .finance-description {
    font-size: 13px;
  }

  .finance-features li {
    font-size: 13px;
  }

  .finance-image-wrapper {
    width: 380px;
  }

  .finance-circle-1 {
    width: 290px;

    height: 290px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .rahbar-finance-container {
    grid-template-columns: 1fr;
  }

  .rahbar-finance-content {
    order: 1;

    min-height: auto;

    padding: 55px 0;
  }

  .rahbar-finance-visual {
    order: 2;

    min-height: 420px;
  }

  .finance-content-inner {
    width: calc(100% - 50px);

    max-width: 700px;

    text-align: center;
  }

  .finance-content-inner h2,
  .finance-description {
    text-align: center;
  }

  .finance-features {
    width: fit-content;

    margin-left: auto;

    margin-right: auto;
  }

  .finance-more-button {
    margin: 0 auto;
  }

  .finance-dots {
    left: 4%;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .rahbar-finance-content {
    padding: 40px 0;
  }

  .finance-content-inner {
    width: calc(100% - 32px);
  }

  .finance-content-inner h2 {
    font-size: 17px;

    line-height: 2;
  }

  .finance-description {
    font-size: 13px;

    line-height: 2;
  }

  .finance-features {
    width: 100%;

    align-items: flex-start;
  }

  .finance-features li {
    width: 100%;

    font-size: 13px;

    text-align: right;
  }

  .finance-more-button {
    width: 100%;

    max-width: 300px;

    height: 48px;
  }

  .rahbar-finance-visual {
    min-height: 360px;
  }

  .finance-image-wrapper {
    width: 320px;

    height: 355px;
  }

  .finance-circle-1 {
    width: 270px;

    height: 270px;

    top: 24px;
  }

  .finance-circle-2 {
    width: 95px;

    height: 95px;

    left: 4%;
  }

  .finance-dots {
    width: 80px;

    height: 125px;

    left: 3%;

    bottom: 70px;

    background-size: 14px 14px;
  }
}

/* سکشن faq-carousel-section */

/* =========================================
   FAQ CAROUSEL SECTION
========================================= */

.faq-carousel-section {
  --faq-purple: #6b3eea;
  --faq-purple-dark: #361e50;
  --faq-light: #eee8fc;
  --faq-border: #9b79f3;
  --faq-text: #49444c;

  width: 100%;

  padding: 18px 0 42px;

  background: #ffffff;

  direction: rtl;

  overflow: hidden;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.faq-carousel-container {
  width: min(1380px, calc(100% - 50px));

  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.faq-section-header {
  margin-bottom: 22px;
}

.faq-section-header h2 {
  margin: 0;

  text-align: right;

  color: #242025;

  font-size: 16px;

  line-height: 1.8;

  font-weight: 900;
}

/* =========================================
   SLIDER
========================================= */

.faq-slider {
  width: calc(100% + 100px);

  margin-right: -50px;

  padding: 0 50px;

  position: relative;
}

.faq-viewport {
  width: 100%;

  overflow: hidden;

  cursor: grab;

  touch-action: pan-y;
}

.faq-viewport.dragging {
  cursor: grabbing;
}

.faq-track {
  display: flex;

  gap: 12px;

  direction: ltr;

  will-change: transform;

  transition: transform 0.48s cubic-bezier(0.22, 0.8, 0.25, 1);
}

/* =========================================
   CARD
========================================= */

.faq-card {
  direction: rtl;

  flex: 0 0 calc((100% - 36px) / 4);

  height: 144px;

  min-width: 0;

  padding: 20px 23px;

  border: 1px solid var(--faq-border);

  border-radius: 17px;

  background: #fff;

  text-decoration: none;

  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: flex-start;

  gap: 18px;

  color: var(--faq-text);

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* hover */

.faq-card:hover {
  transform: translateY(-4px);

  border-color: var(--faq-purple);

  background: #fcfaff;

  box-shadow: 0 10px 28px rgba(54, 30, 80, 0.09);
}

/* =========================================
   QUESTION ICON
========================================= */

.faq-icon {
  width: 64px;

  height: 64px;

  flex: 0 0 64px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--faq-purple);
}

.faq-icon svg {
  width: 62px;

  height: 62px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.2;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.faq-icon .faq-dot {
  fill: currentColor;

  stroke: none;
}

/* =========================================
   TEXT
========================================= */

.faq-card p {
  margin: 0;

  width: 100%;

  color: #555057;

  font-size: 14px;

  font-weight: 500;

  line-height: 2;

  text-align: right;
}

/* =========================================
   FIRST ACTIVE CARD
========================================= */

.faq-card:first-child {
  border-color: #7042eb;
}

.faq-card:first-child p {
  color: #2c2830;
}

/* =========================================
   ARROWS
========================================= */

.faq-slider-btn {
  width: 40px;

  height: 40px;

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  border: none;

  border-radius: 50%;

  background: var(--faq-light);

  color: var(--faq-purple);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.faq-slider-btn svg {
  width: 23px;

  height: 23px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.faq-prev {
  left: 0;
}

.faq-next {
  right: 0;
}

.faq-slider-btn:hover {
  color: #fff;

  background: var(--faq-purple);

  transform: translateY(-50%) scale(1.06);
}

.faq-slider-btn:disabled {
  opacity: 0.3;

  cursor: default;
}

/* =========================================
   ENTRY ANIMATION
========================================= */

.faq-card {
  opacity: 0;

  transform: translateY(16px);
}

.faq-carousel-section.is-visible .faq-card {
  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-carousel-section.is-visible .faq-card:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-carousel-section.is-visible .faq-card:nth-child(2) {
  transition-delay: 0.1s;
}

.faq-carousel-section.is-visible .faq-card:nth-child(3) {
  transition-delay: 0.15s;
}

.faq-carousel-section.is-visible .faq-card:nth-child(4) {
  transition-delay: 0.2s;
}

/* =========================================
   1100px
========================================= */

@media (max-width: 1100px) {
  .faq-card {
    flex-basis: calc((100% - 24px) / 3);
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {
  .faq-carousel-container {
    width: calc(100% - 30px);
  }

  .faq-slider {
    width: calc(100% + 70px);

    margin-right: -35px;

    padding: 0 35px;
  }

  .faq-card {
    flex-basis: calc((100% - 12px) / 2);

    height: 150px;
  }

  .faq-card p {
    font-size: 13px;
  }

  .faq-icon {
    width: 55px;

    height: 55px;

    flex-basis: 55px;
  }

  .faq-icon svg {
    width: 55px;

    height: 55px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 540px) {
  .faq-carousel-section {
    padding: 25px 0 35px;
  }

  .faq-section-header h2 {
    font-size: 15px;
  }

  .faq-slider {
    width: calc(100% + 30px);

    margin-right: -15px;

    padding: 0 15px;
  }

  .faq-card {
    flex-basis: 88%;

    height: 145px;

    padding: 18px;
  }

  .faq-slider-btn {
    display: none;
  }

  .faq-card p {
    font-size: 13px;

    line-height: 1.9;
  }
}

/*سکشن news-guides-section*/

/* =========================================
   NEWS & GUIDES SECTION
========================================= */

.news-guides-section {
  --ng-purple: #643abc;
  --ng-dark: #361e50;
  --ng-bg: #f4f3fb;
  --ng-border: #d3d0d8;
  --ng-text: #29242c;
  --ng-muted: #4d4850;

  width: 100%;

  padding: 15px 0 55px;

  background: #ffffff;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.news-guides-container {
  width: min(1320px, calc(100% - 50px));

  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.news-guides-header {
  margin-bottom: 23px;
}

.news-guides-header h2 {
  margin: 0;

  color: #262027;

  text-align: right;

  font-size: 16px;

  line-height: 1.8;

  font-weight: 900;
}

/* =========================================
   GRID
========================================= */

.news-guides-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px 22px;
}

/* =========================================
   CARD
========================================= */

.news-guide-card {
  min-width: 0;

  min-height: 175px;

  padding: 22px 22px;

  display: flex;

  flex-direction: row;

  align-items: flex-start;

  gap: 20px;

  background: linear-gradient(135deg, #f7f6fd 0%, #f2f1f9 100%);

  border: 1px solid var(--ng-border);

  border-radius: 17px;

  color: var(--ng-text);

  text-decoration: none;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.news-guide-card:hover {
  transform: translateY(-5px);

  border-color: rgba(100, 58, 188, 0.55);

  background: #faf9ff;

  box-shadow: 0 12px 30px rgba(54, 30, 80, 0.08);
}

/* =========================================
   ICON
========================================= */

.news-guide-icon {
  width: 68px;

  height: 68px;

  flex: 0 0 68px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--ng-purple);
}

.news-guide-icon svg {
  width: 64px;

  height: 64px;

  display: block;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.news-guide-icon .fill-dot {
  fill: currentColor;

  stroke: none;
}

/* =========================================
   CONTENT
========================================= */

.news-guide-content {
  flex: 1;

  min-width: 0;

  padding-top: 3px;
}

/* title */

.news-guide-content h3 {
  margin: 0 0 10px;

  color: #29232c;

  font-size: 16px;

  font-weight: 900;

  line-height: 1.9;

  text-align: right;
}

/* subtitle */

.news-guide-content p {
  margin: 0;

  color: #49434c;

  font-size: 13px;

  font-weight: 500;

  line-height: 1.9;

  text-align: right;
}

/* =========================================
   Entrance animation
========================================= */

.news-guide-card {
  opacity: 0;

  transform: translateY(18px);
}

.news-guides-section.is-visible .news-guide-card {
  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* stagger */

.news-guides-section.is-visible .news-guide-card:nth-child(1) {
  transition-delay: 0.03s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(2) {
  transition-delay: 0.07s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(3) {
  transition-delay: 0.11s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(4) {
  transition-delay: 0.15s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(5) {
  transition-delay: 0.19s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(6) {
  transition-delay: 0.23s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(7) {
  transition-delay: 0.27s;
}

.news-guides-section.is-visible .news-guide-card:nth-child(8) {
  transition-delay: 0.31s;
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1150px) {
  .news-guides-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .news-guides-container {
    width: calc(100% - 35px);
  }

  .news-guides-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
  }

  .news-guide-card {
    min-height: 165px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 580px) {
  .news-guides-section {
    padding: 25px 0 40px;
  }

  .news-guides-container {
    width: calc(100% - 28px);
  }

  .news-guides-header h2 {
    font-size: 15px;
  }

  .news-guides-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .news-guide-card {
    min-height: 140px;

    padding: 18px;

    gap: 15px;
  }

  .news-guide-icon {
    width: 58px;

    height: 58px;

    flex-basis: 58px;
  }

  .news-guide-icon svg {
    width: 55px;

    height: 55px;
  }

  .news-guide-content h3 {
    font-size: 14px;

    line-height: 1.9;
  }

  .news-guide-content p {
    font-size: 12px;

    line-height: 1.8;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {
  .news-guide-card {
    padding: 15px;

    gap: 10px;
  }

  .news-guide-icon {
    width: 50px;

    height: 50px;

    flex-basis: 50px;
  }

  .news-guide-icon svg {
    width: 48px;

    height: 48px;
  }
}

/*سکشن rahbar-system-section*/

/* =========================================
   RAHBAR SYSTEM
========================================= */

.rahbar-system-section {
  --rs-purple: #643abc;
  --rs-dark-purple: #361e50;
  --rs-text: #29242c;
  --rs-gray: #ededed;

  width: 100%;

  min-height: 445px;

  position: relative;

  direction: rtl;

  overflow: hidden;

  background: linear-gradient(100deg,
      #dddddd 0%,
      #eeeeee 29%,
      #ffffff 64%,
      #ffffff 100%);

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   MAIN CONTAINER
========================================= */

.rahbar-system-container {
  width: min(1320px, calc(100% - 60px));

  min-height: 445px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    330px 1fr;

  gap: 75px;

  align-items: center;
}

/* =========================================
   RIGHT IMAGE
========================================= */

.rahbar-system-visual {
  min-height: 445px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;
}

.rahbar-system-image-wrapper {
  width: 330px;
  height: 400px;

  border-radius: 17px;

  overflow: hidden;

  position: relative;

  background: #eee;
}

.rahbar-system-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-system-image-wrapper:hover .rahbar-system-image {
  transform: scale(1.025);
}

/* =========================================
   CONTENT
========================================= */

.rahbar-system-content {
  height: 100%;

  display: flex;

  align-items: center;
}

.rahbar-system-content-inner {
  width: 100%;

  max-width: 850px;

  padding: 35px 0;
}

/* =========================================
   TITLE
========================================= */

.rahbar-system-content h2 {
  margin: 0 0 18px;

  color: var(--rs-dark-purple);

  font-size: 16px;

  line-height: 2;

  font-weight: 900;

  text-align: right;
}

/* =========================================
   DESCRIPTION
========================================= */

.rahbar-system-description {
  max-width: 840px;

  margin: 0 0 20px;

  color: #29252c;

  font-size: 14px;

  font-weight: 500;

  line-height: 2.25;

  text-align: right;
}

/* =========================================
   FEATURES
========================================= */

.rahbar-system-features {
  list-style: none;

  margin: 0 0 25px;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 7px;
}

.rahbar-system-features li {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #34283d;

  font-size: 14px;

  line-height: 1.8;

  font-weight: 600;
}

/* =========================================
   CHECK ICON
========================================= */

.system-check {
  width: 20px;
  height: 20px;

  flex: 0 0 20px;

  border-radius: 50%;

  background: var(--rs-purple);

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;
}

.system-check svg {
  width: 15px;

  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   BUTTON
========================================= */

.rahbar-system-button {
  width: 225px;

  min-height: 42px;

  padding: 0 17px;

  border-radius: 12px;

  background: var(--rs-purple);

  color: #ffffff;

  text-decoration: none;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  font-size: 13px;

  font-weight: 900;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rahbar-system-button:hover {
  background: #542bae;

  transform: translateY(-2px);

  box-shadow: 0 10px 24px rgba(100, 58, 188, 0.2);
}

.system-button-arrow {
  width: 25px;

  height: 25px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.system-button-arrow svg {
  width: 18px;

  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   ENTRANCE ANIMATION
========================================= */

.rahbar-system-content-inner {
  opacity: 0;

  transform: translateX(-25px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.rahbar-system-image-wrapper {
  opacity: 0;

  transform: translateX(25px) scale(0.98);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-system-section.is-visible .rahbar-system-content-inner {
  opacity: 1;

  transform: translateX(0);
}

.rahbar-system-section.is-visible .rahbar-system-image-wrapper {
  opacity: 1;

  transform: translateX(0) scale(1);
}

/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1500px) {
  .rahbar-system-container {
    width: min(1320px, calc(100% - 80px));
  }
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1150px) {
  .rahbar-system-container {
    grid-template-columns:
      300px 1fr;

    gap: 40px;
  }

  .rahbar-system-image-wrapper {
    width: 300px;

    height: 375px;
  }

  .rahbar-system-description {
    font-size: 13px;
  }

  .rahbar-system-features li {
    font-size: 13px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .rahbar-system-section {
    background: linear-gradient(to bottom,
        #ffffff 0%,
        #ffffff 43%,
        #ededed 100%);
  }

  .rahbar-system-container {
    grid-template-columns: 1fr;

    gap: 30px;

    padding: 50px 0;
  }

  .rahbar-system-visual {
    order: 1;

    min-height: auto;
  }

  .rahbar-system-content {
    order: 2;
  }

  .rahbar-system-image-wrapper {
    width: 330px;

    max-width: 100%;

    height: 390px;
  }

  .rahbar-system-content-inner {
    max-width: 700px;

    margin: 0 auto;

    padding: 0;
  }

  .rahbar-system-content h2,
  .rahbar-system-description {
    text-align: center;
  }

  .rahbar-system-features {
    width: fit-content;

    margin: 0 auto 25px;
  }

  .rahbar-system-button {
    margin: 0 auto;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .rahbar-system-container {
    width: calc(100% - 30px);

    padding: 38px 0;
  }

  .rahbar-system-image-wrapper {
    width: 290px;

    height: 350px;
  }

  .rahbar-system-content h2 {
    font-size: 17px;

    line-height: 2;

    margin-bottom: 15px;
  }

  .rahbar-system-description {
    font-size: 13px;

    line-height: 2;
  }

  .rahbar-system-features {
    width: 100%;
  }

  .rahbar-system-features li {
    width: 100%;

    font-size: 13px;
  }

  .rahbar-system-button {
    width: 100%;

    max-width: 300px;

    min-height: 48px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
  .rahbar-system-image-wrapper {
    width: 260px;

    height: 315px;
  }
}

/*سکشن rahbar-instagram-section*/

/* =========================================
   RAHBAR INSTAGRAM SECTION
========================================= */

.rahbar-instagram-section {
  --ig-purple: #361e50;
  --ig-light-purple: #643abc;

  width: 100%;

  min-height: 610px;

  position: relative;

  background: #ffffff;

  direction: rtl;

  overflow: hidden;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.rahbar-instagram-container {
  width: min(1320px, calc(100% - 60px));

  min-height: 610px;

  margin: 0 auto;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: flex-start;
}

/* =========================================
   MAIN GRADIENT BOX
========================================= */

.rahbar-instagram-box {
  width: calc(100% - 310px);

  min-height: 325px;

  margin-right: 0;

  margin-left: auto;

  position: relative;

  border-radius: 30px;

  overflow: hidden;

  background: linear-gradient(110deg,
      #d85b08 0%,
      #df3b26 30%,
      #d51961 66%,
      #ca006d 100%);

  color: #ffffff;
}

/* =========================================
   DECORATIVE PATTERN
========================================= */

.instagram-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.09;

  pointer-events: none;

  background-image:
    radial-gradient(circle, #4c1038 0 4px, transparent 5px),
    radial-gradient(circle,
      transparent 0 7px,
      #4c1038 8px 10px,
      transparent 11px);

  background-size:
    86px 86px,
    86px 86px;

  background-position:
    0 0,
    43px 43px;
}

/* =========================================
   CONTENT
========================================= */

.instagram-content {
  position: relative;

  z-index: 3;

  min-height: 325px;

  padding: 22px 34px 20px;

  display: flex;

  flex-direction: column;
}

/* =========================================
   HEADER
========================================= */

.instagram-header {
  text-align: right;
}

.instagram-header h2 {
  margin: 0 0 18px;

  color: #ffffff;

  font-size: 17px;

  line-height: 1.8;

  font-weight: 900;
}

.instagram-header p {
  margin: 0;

  color: #ffffff;

  font-size: 14px;

  line-height: 2;

  font-weight: 600;
}

/* =========================================
   FEATURES
========================================= */

.instagram-features {
  width: 100%;

  margin-top: 43px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

/* item */

.instagram-feature {
  display: flex;

  flex-direction: row;

  align-items: flex-start;

  justify-content: center;

  gap: 12px;

  text-align: right;
}

/* icon */

.instagram-pin {
  width: 26px;

  height: 26px;

  flex: 0 0 26px;

  color: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;
}

.instagram-pin svg {
  width: 24px;

  height: 24px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* text */

.instagram-feature-text h3 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: 16px;

  font-weight: 900;

  line-height: 1.7;
}

.instagram-feature-text p {
  margin: 0;

  color: rgba(255, 255, 255, 0.98);

  font-size: 13px;

  font-weight: 600;

  line-height: 1.9;
}

/* =========================================
   BUTTON
========================================= */

.instagram-button {
  width: 232px;

  height: 43px;

  margin-top: auto;

  margin-right: auto;

  margin-left: 0;

  padding: 0 20px;

  border-radius: 13px;

  background: #ffffff;

  color: #3a303c;

  text-decoration: none;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  font-size: 13px;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.instagram-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(65, 0, 40, 0.2);
}

.instagram-button-arrow {
  width: 22px;

  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.instagram-button-arrow svg {
  width: 18px;

  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.3;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   PHONE
========================================= */

.rahbar-instagram-phone {
  width: 360px;

  height: 550px;

  position: absolute;

  left: 0;

  bottom: 25px;

  z-index: 6;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  direction: ltr;
}

/* image */

.instagram-phone-image {
  width: auto;

  height: 485px;

  max-width: 100%;

  display: block;

  object-fit: contain;

  position: relative;

  z-index: 3;

  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.08));

  transform-origin: bottom center;

  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-instagram-phone:hover .instagram-phone-image {
  transform: translateY(-6px) rotate(-0.5deg);
}

/* shadow */

.instagram-phone-shadow {
  position: absolute;

  width: 240px;

  height: 35px;

  left: 50%;

  bottom: 20px;

  transform: translateX(-50%);

  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.14),
      rgba(0, 0, 0, 0) 70%);

  filter: blur(4px);

  z-index: 1;
}

/* =========================================
   ENTRY ANIMATION
========================================= */

.rahbar-instagram-box {
  opacity: 0;

  transform: translateX(-25px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.instagram-phone-image {
  opacity: 0;

  transform: translateY(25px) scale(0.97);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rahbar-instagram-section.is-visible .rahbar-instagram-box {
  opacity: 1;

  transform: translateX(0);
}

.rahbar-instagram-section.is-visible .instagram-phone-image {
  opacity: 1;

  transform: translateY(0) scale(1);
}

.rahbar-instagram-section.is-visible .rahbar-instagram-phone:hover .instagram-phone-image {
  transform: translateY(-6px) scale(1.005);
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1200px) {
  .rahbar-instagram-container {
    width: calc(100% - 40px);
  }

  .rahbar-instagram-box {
    width: calc(100% - 270px);
  }

  .rahbar-instagram-phone {
    width: 310px;
  }

  .instagram-phone-image {
    height: 450px;
  }

  .instagram-content {
    padding-left: 25px;

    padding-right: 25px;
  }

  .instagram-features {
    gap: 15px;
  }

  .instagram-feature-text h3 {
    font-size: 14px;
  }

  .instagram-feature-text p {
    font-size: 12px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .rahbar-instagram-section {
    padding: 60px 0 30px;
  }

  .rahbar-instagram-container {
    min-height: auto;

    flex-direction: column;
  }

  .rahbar-instagram-box {
    width: 100%;

    min-height: auto;

    order: 1;
  }

  .instagram-content {
    min-height: auto;

    padding: 30px;
  }

  .instagram-header {
    text-align: center;
  }

  .instagram-features {
    margin-top: 35px;
  }

  .instagram-button {
    margin: 35px auto 0;
  }

  .rahbar-instagram-phone {
    width: 100%;

    height: 500px;

    position: relative;

    left: auto;

    bottom: auto;

    order: 2;
  }

  .instagram-phone-image {
    height: 470px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .rahbar-instagram-section {
    padding-top: 40px;
  }

  .rahbar-instagram-container {
    width: calc(100% - 28px);
  }

  .rahbar-instagram-box {
    border-radius: 22px;
  }

  .instagram-content {
    padding: 25px 20px;
  }

  .instagram-header h2 {
    font-size: 18px;
  }

  .instagram-header p {
    font-size: 13px;

    line-height: 2;
  }

  .instagram-features {
    grid-template-columns: 1fr;

    gap: 25px;

    margin-top: 32px;
  }

  .instagram-feature {
    justify-content: flex-start;

    max-width: 270px;

    margin: 0 auto;

    width: 100%;
  }

  .instagram-feature-text h3 {
    font-size: 15px;
  }

  .instagram-feature-text p {
    font-size: 13px;
  }

  .instagram-button {
    width: 100%;

    max-width: 280px;

    height: 48px;
  }

  .rahbar-instagram-phone {
    height: 430px;
  }

  .instagram-phone-image {
    height: 410px;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {
  .rahbar-instagram-phone {
    height: 380px;
  }

  .instagram-phone-image {
    height: 365px;
  }
}

/*سکشن mentor-section*/
/* =========================================
   RAHBAR MENTOR SECTION
========================================= */

.mentor-section {
  --mentor-purple: #643abc;
  --mentor-dark: #361e50;
  --mentor-gray: #dedede;
  --mentor-text: #28232b;

  width: 100%;

  min-height: 570px;

  position: relative;

  background: #ffffff;

  overflow: hidden;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.mentor-container {
  width: min(1325px, calc(100% - 60px));

  min-height: 570px;

  margin: 0 auto;

  position: relative;

  display: grid;

  grid-template-columns:
    635px 1fr;

  align-items: center;
}

/* =========================================
   RIGHT CONTENT CARD
========================================= */

.mentor-content {
  width: 635px;

  min-height: 428px;

  position: relative;

  z-index: 2;

  background: linear-gradient(135deg, #e4e4e4 0%, #dadada 100%);

  border-radius: 18px;

  display: flex;

  align-items: center;
}

.mentor-content-inner {
  width: 100%;

  padding: 31px 34px 32px;
}

/* =========================================
   HEADING
========================================= */

.mentor-content h2 {
  margin: 0 0 19px;

  color: var(--mentor-dark);

  font-size: 16px;

  line-height: 1.9;

  font-weight: 900;

  text-align: right;
}

/* =========================================
   DESCRIPTION
========================================= */

.mentor-description {
  max-width: 555px;

  margin: 0 0 20px;

  color: #29252c;

  font-size: 14px;

  line-height: 2.15;

  font-weight: 500;

  text-align: right;
}

/* =========================================
   FEATURES
========================================= */

.mentor-features {
  list-style: none;

  margin: 0 0 24px;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 8px;
}

.mentor-features li {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #35293f;

  font-size: 14px;

  line-height: 1.8;

  font-weight: 600;
}

/* check */

.mentor-check {
  width: 20px;
  height: 20px;

  flex: 0 0 20px;

  border-radius: 50%;

  background: var(--mentor-purple);

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;
}

.mentor-check svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   BUTTON
========================================= */

.mentor-button {
  width: 208px;

  height: 42px;

  margin-right: 0;

  border-radius: 12px;

  padding: 0 17px;

  background: var(--mentor-purple);

  color: #ffffff;

  text-decoration: none;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  font-size: 13px;

  font-weight: 900;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.mentor-button:hover {
  background: #522aaa;

  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(100, 58, 188, 0.2);
}

.mentor-button-arrow {
  width: 22px;
  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.mentor-button-arrow svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   CENTER SVG
========================================= */

.mentor-graphic {
  width: 500px;
  height: 500px;

  position: absolute;

  z-index: 3;

  left: 55%;
  top: 54%;

  transform: translate(-50%, -50%);

  pointer-events: none;
}

.mentor-graphic img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  opacity: 0.67;
}

/* =========================================
   LEFT IMAGE
========================================= */

.mentor-visual {
  min-height: 570px;

  position: relative;

  z-index: 4;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  direction: ltr;
}

.mentor-photo-wrapper {
  width: 632px;

  height: 421px;

  position: relative;

  overflow: hidden;

  border-radius: 17px;

  background: #eee;
}

.mentor-photo {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mentor-photo-wrapper:hover .mentor-photo {
  transform: scale(1.025);
}

/* =========================================
   SVG glow overlay
========================================= */

.mentor-graphic::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 50%;

  background: radial-gradient(circle,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.07) 75%,
      rgba(255, 255, 255, 0) 100%);
}

/* =========================================
   ENTRANCE
========================================= */

.mentor-content {
  opacity: 0;

  transform: translateX(-25px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.mentor-photo-wrapper {
  opacity: 0;

  transform: translateX(25px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.mentor-graphic {
  opacity: 0;

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.mentor-section.is-visible .mentor-content {
  opacity: 1;

  transform: translateX(0);
}

.mentor-section.is-visible .mentor-photo-wrapper {
  opacity: 1;

  transform: translateX(0);
}

.mentor-section.is-visible .mentor-graphic {
  opacity: 1;

  transform: translate(-50%, -50%) rotate(0deg);
}

/* =========================================
   subtle SVG animation
========================================= */

@keyframes mentorGraphicFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  50% {
    transform: translate(-50%, -52%) rotate(3deg);
  }
}

.mentor-section.is-visible .mentor-graphic {
  animation: mentorGraphicFloat 9s ease-in-out infinite;
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1200px) {
  .mentor-container {
    width: calc(100% - 40px);

    grid-template-columns: 52% 48%;
  }

  .mentor-content {
    width: 100%;
  }

  .mentor-photo-wrapper {
    width: 100%;

    max-width: 560px;
  }

  .mentor-graphic {
    width: 340px;
    height: 340px;

    left: 51%;
    top: 53%;
  }

  .mentor-content-inner {
    padding: 28px 25px;
  }

  .mentor-description {
    font-size: 13px;
  }

  .mentor-features li {
    font-size: 13px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .mentor-section {
    padding: 55px 0;
  }

  .mentor-container {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 30px;
  }

  .mentor-content {
    width: 100%;

    min-height: auto;

    order: 1;
  }

  .mentor-visual {
    min-height: auto;

    order: 2;

    justify-content: center;
  }

  .mentor-photo-wrapper {
    width: 100%;

    max-width: 630px;

    height: auto;

    aspect-ratio: 632 / 421;
  }

  /*
       در تبلت SVG را پایین کارت نگه می‌داریم
       اما دیگر روی متن نمی‌اندازیم
    */

  .mentor-graphic {
    width: 260px;
    height: 260px;

    left: 10px;
    top: 43%;

    transform: translate(0, -50%);

    opacity: 0.28 !important;

    z-index: 1;
  }

  .mentor-section.is-visible .mentor-graphic {
    animation: none;

    transform: translate(0, -50%);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .mentor-section {
    padding: 40px 0;
  }

  .mentor-container {
    width: calc(100% - 28px);

    gap: 25px;
  }

  .mentor-content {
    border-radius: 17px;
  }

  .mentor-content-inner {
    padding: 28px 20px;
  }

  .mentor-content h2 {
    font-size: 17px;

    line-height: 2;
  }

  .mentor-description {
    font-size: 13px;

    line-height: 2;
  }

  .mentor-features {
    gap: 10px;
  }

  .mentor-features li {
    font-size: 13px;
  }

  .mentor-button {
    width: 100%;

    max-width: 280px;

    height: 48px;

    margin: 0 auto;
  }

  .mentor-graphic {
    width: 210px;
    height: 210px;

    left: -50px;
    top: 35%;

    opacity: 0.16 !important;
  }

  .mentor-photo-wrapper {
    border-radius: 14px;
  }
}

/*student-experience-section سکشن*/

/* =========================================
   STUDENT EXPERIENCES
========================================= */

.student-experience-section {
  --se-purple: #643abc;
  --se-purple-dark: #361e50;

  width: 100%;

  padding: 28px 0 55px;

  background: #ffffff;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.student-experience-container {
  width: min(1320px, calc(100% - 60px));

  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.student-experience-header {
  width: 100%;

  min-height: 60px;

  margin-bottom: 6px;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;
}

/* title */

.student-experience-header h2 {
  margin: 0;

  color: #262126;

  font-size: 16px;

  font-weight: 900;

  line-height: 1.8;

  text-align: right;
}

/* =========================================
   MORE BUTTON
========================================= */

.student-experience-more {
  width: 178px;

  height: 43px;

  padding: 0 18px;

  border-radius: 13px;

  background: var(--se-purple);

  color: #ffffff;

  text-decoration: none;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 13px;

  font-size: 13px;

  font-weight: 900;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.student-experience-more svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.4;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-experience-more:hover {
  background: #522baa;

  transform: translateY(-2px);

  box-shadow: 0 9px 23px rgba(100, 58, 188, 0.2);
}

/* =========================================
   GRID
========================================= */

.student-experience-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

/* =========================================
   CARD
========================================= */

.student-experience-card {
  width: 100%;

  aspect-ratio: 425 / 240;

  position: relative;

  display: block;

  overflow: hidden;

  border-radius: 17px;

  background: #eeeeee;

  text-decoration: none;

  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.student-experience-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 14px 30px rgba(54, 30, 80, 0.1);
}

/* =========================================
   IMAGE
========================================= */

.student-experience-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.student-experience-card:hover img {
  transform: scale(1.035);
}

/* overlay بسیار ظریف */

.student-experience-card::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background: rgba(0, 0, 0, 0);

  transition: background 0.3s ease;
}

.student-experience-card:hover::after {
  background: rgba(20, 10, 30, 0.07);
}

/* =========================================
   PLAY BUTTON
========================================= */

.student-play-button {
  width: 105px;
  height: 105px;

  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 3;

  display: flex;

  align-items: center;

  justify-content: center;

  color: rgba(255, 255, 255, 0.92);

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.student-play-button svg {
  width: 100%;
  height: 100%;

  display: block;
}

/* دایره */

.student-play-button circle {
  fill: rgba(255, 255, 255, 0.05);

  stroke: currentColor;

  stroke-width: 3;
}

/* مثلث */

.student-play-button path {
  fill: rgba(255, 255, 255, 0.88);

  stroke: none;
}

.student-experience-card:hover .student-play-button {
  transform: translate(-50%, -50%) scale(1.08);

  color: #ffffff;
}

/* =========================================
   ENTRY ANIMATION
========================================= */

.student-experience-card {
  opacity: 0;

  transform: translateY(20px);
}

.student-experience-section.is-visible .student-experience-card {
  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease;
}

.student-experience-section.is-visible .student-experience-card:nth-child(1) {
  transition-delay: 0.05s;
}

.student-experience-section.is-visible .student-experience-card:nth-child(2) {
  transition-delay: 0.13s;
}

.student-experience-section.is-visible .student-experience-card:nth-child(3) {
  transition-delay: 0.21s;
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1100px) {
  .student-experience-container {
    width: calc(100% - 40px);
  }

  .student-experience-grid {
    gap: 16px;
  }

  .student-play-button {
    width: 90px;

    height: 90px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {
  .student-experience-header {
    align-items: center;

    margin-bottom: 22px;
  }

  .student-experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .student-experience-card:last-child {
    grid-column: 1 / -1;

    width: calc(50% - 8px);

    justify-self: center;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 580px) {
  .student-experience-section {
    padding: 25px 0 40px;
  }

  .student-experience-container {
    width: calc(100% - 28px);
  }

  .student-experience-header {
    min-height: auto;

    margin-bottom: 20px;

    align-items: center;
  }

  .student-experience-header h2 {
    font-size: 15px;
  }

  .student-experience-more {
    width: auto;

    min-width: 135px;

    height: 40px;

    padding: 0 13px;

    font-size: 12px;
  }

  .student-experience-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .student-experience-card,
  .student-experience-card:last-child {
    width: 100%;

    grid-column: auto;
  }

  .student-play-button {
    width: 82px;

    height: 82px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {
  .student-experience-header {
    flex-direction: column;

    align-items: stretch;

    gap: 14px;
  }

  .student-experience-more {
    width: 100%;
  }
}

/*سکشن rahbar-partners-section*/

/* =========================================
   RAHBAR PARTNERS
========================================= */

.rahbar-partners-section {
  --partners-bg: #f0ecfa;
  --partners-purple: #361e50;

  width: 100%;

  padding: 32px 0 45px;

  background: #ffffff;

  direction: rtl;

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

/* =========================================
   CONTAINER
========================================= */

.rahbar-partners-container {
  width: min(1320px, calc(100% - 60px));

  min-height: 86px;

  margin: 0 auto;

  padding: 0 22px 0 28px;

  border-radius: 17px;

  background: linear-gradient(100deg, #f3f0fa 0%, #efebf8 100%);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

/* =========================================
   TITLE
========================================= */

.rahbar-partners-title {
  flex: 0 0 auto;

  min-width: 180px;
}

.rahbar-partners-title h2 {
  margin: 0;

  color: #2c2632;

  font-size: 15px;

  font-weight: 900;

  line-height: 1.8;

  text-align: right;
}

/* =========================================
   LOGOS
========================================= */

.rahbar-partners-logos {
  flex: 1;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  direction: ltr;

  gap: 55px;
}

/* هر لوگو */

.partner-logo {
  height: 62px;

  min-width: 145px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.partner-logo img {
  display: block;

  max-width: 165px;

  max-height: 55px;

  width: auto;

  height: auto;

  object-fit: contain;

  filter: none;

  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-3px);
}

.partner-logo:hover img {
  transform: scale(1.04);
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1100px) {
  .rahbar-partners-container {
    width: calc(100% - 40px);
  }

  .rahbar-partners-logos {
    gap: 35px;
  }

  .partner-logo {
    min-width: 120px;
  }

  .partner-logo img {
    max-width: 140px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {
  .rahbar-partners-container {
    padding: 22px;

    flex-direction: column;

    align-items: stretch;

    gap: 20px;
  }

  .rahbar-partners-title {
    min-width: auto;
  }

  .rahbar-partners-title h2 {
    text-align: center;
  }

  .rahbar-partners-logos {
    justify-content: center;

    flex-wrap: wrap;

    gap: 25px 35px;
  }

  .partner-logo {
    min-width: 120px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {
  .rahbar-partners-section {
    padding: 25px 0 35px;
  }

  .rahbar-partners-container {
    width: calc(100% - 28px);

    border-radius: 15px;
  }

  .rahbar-partners-title h2 {
    font-size: 15px;
  }

  .rahbar-partners-logos {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
  }

  .partner-logo {
    min-width: 0;

    width: 100%;

    height: 58px;
  }

  .partner-logo img {
    max-width: 125px;

    max-height: 48px;
  }

  .partner-logo:last-child {
    grid-column: 1 / -1;

    justify-self: center;

    max-width: 160px;
  }
}

/*فوتر*/

/* =========================================
   RAHBAR FOOTER
========================================= */

.rahbar-footer {
  --footer-purple: #643abc;
  --footer-dark: #361e50;
  --footer-yellow: #ffb911;
  --footer-bg: #ede8fa;

  width: 100%;

  position: relative;

  direction: rtl;

  background: linear-gradient(115deg, #ebe6f8 0%, #e9e4f7 55%, #f0ecfa 100%);

  color: var(--footer-dark);

  font-family: var(--rh-font, 'Vazirmatn Variable', 'Vazirmatn', Tahoma, sans-serif);
}

.rahbar-footer-container {
  width: min(1320px, calc(100% - 60px));

  margin: 0 auto;

  position: relative;
}

/* =========================================
   MAIN
========================================= */

.footer-main {
  padding: 28px 0 22px;

  padding-inline-end: 160px;

  display: grid;

  grid-template-columns: minmax(240px, 1.55fr) minmax(120px, 0.8fr) minmax(120px,
      0.85fr) minmax(155px, 1fr);

  gap: 24px;

  align-items: start;
}

/* =========================================
   ABOUT
========================================= */

.footer-about {
  min-width: 0;
}

.footer-logo {
  display: flex;

  justify-content: flex-start;

  align-items: center;

  height: 54px;

  margin-bottom: 12px;
}

.footer-logo img {
  width: 165px;

  max-height: 52px;

  object-fit: contain;

  object-position: right center;
}

.footer-about h3,
.footer-column h3,
.footer-contact h3 {
  margin: 0 0 12px;

  color: var(--footer-dark);

  font-size: 14px;

  line-height: 1.6;

  font-weight: 900;
}

.footer-about p {
  margin: 0 0 12px;

  max-width: 465px;

  color: #312638;

  font-size: 12px;

  line-height: 1.85;

  font-weight: 500;
}

/* خط سمت راست متن */

.footer-about>p {
  position: relative;

  padding-right: 14px;
}

.footer-about>p::before {
  content: "";

  width: 1px;

  position: absolute;

  right: 0;

  top: 0;

  bottom: 0;

  background: #7041ce;
}

/* =========================================
   SOCIAL BOX
========================================= */

.footer-social-box {
  padding: 10px 12px;

  border-radius: 13px;

  background: var(--footer-purple);

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 10px 12px;
}

.footer-social-box strong {
  color: #fff;

  font-size: 13px;

  white-space: nowrap;
}

.footer-socials {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 5px;

  direction: ltr;
}

.social-link {
  width: 34px;

  height: 34px;

  border-radius: 9px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-link svg {
  width: 21px;

  height: 21px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.social-link:hover {
  transform: translateY(-3px);

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

/* شبکه‌ها */

.social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcaf45);
}

.social-link.telegram {
  background: #279ed8;
}

.social-link.whatsapp {
  background: #1bc85c;
}

.social-link.youtube {
  background: #e32629;
}

.social-link.aparat {
  background: #ec1561;
}

.social-link.other {
  background: #a08aef;
}

.social-link.linkedin {
  background: #1768b5;
}

/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-column {
  padding-top: 66px;
}

.footer-column ul {
  list-style: none;

  margin: 0;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 8px;
}

.footer-column a {
  color: #372840;

  font-size: 12px;

  font-weight: 500;

  line-height: 1.6;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--footer-purple);
}

/* =========================================
   CONTACT
========================================= */

.footer-contact {
  padding-top: 66px;
}

.footer-contact-item {
  min-height: 42px;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 10px;

  direction: ltr;

  color: #3a2942;

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;
}

.contact-footer-icon {
  width: 34px;

  height: 34px;

  flex: 0 0 34px;

  border-radius: 10px;

  background: #fff;

  color: var(--footer-yellow);

  display: flex;

  align-items: center;

  justify-content: center;
}

.contact-footer-icon svg {
  width: 20px;

  height: 20px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================================
   BACK TO TOP
========================================= */

.footer-back-top {
  width: 150px;

  height: 38px;

  position: absolute;

  top: 28px;

  inset-inline-end: 0;

  z-index: 2;

  border: 0;

  border-radius: 13px;

  background: var(--footer-purple);

  color: #fff;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  font-family: inherit;

  font-size: 13px;

  font-weight: 900;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-back-top svg {
  width: 17px;

  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.4;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.footer-back-top:hover {
  background: #5128a5;

  transform: translateY(-2px);
}

/* =========================================
   DIVIDER
========================================= */

.footer-divider {
  width: 100%;

  height: 1px;

  background: rgba(54, 30, 80, 0.15);
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
  padding: 18px 0 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

/* =========================================
   CERTIFICATES
========================================= */

.footer-certificates {
  flex: 0 0 auto;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  direction: ltr;

  gap: 14px;
}

.footer-certificate {
  display: flex;

  align-items: flex-end;

  justify-content: center;
}

.footer-certificate img {
  width: auto;

  height: 130px;

  max-width: 88px;

  object-fit: contain;
}

.footer-certificate.enamad img {
  height: 88px;
}

/* =========================================
   BENEFITS BAR
========================================= */

.footer-benefits {
  flex: 1;

  max-width: 975px;

  padding: 8px 12px;

  border-radius: 14px;

  background: #fff;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  align-items: center;

  gap: 8px;
}

/* benefit */

.footer-benefit {
  min-width: 0;

  display: flex;

  align-items: center;

  gap: 8px;
}

.footer-benefit>div {
  min-width: 0;
}

.footer-benefit-icon {
  width: 46px;

  height: 46px;

  flex: 0 0 46px;

  border-radius: 10px;

  background: #eee8fa;

  color: var(--footer-purple);

  display: flex;

  align-items: center;

  justify-content: center;
}

.footer-benefit-icon svg {
  width: 36px;

  height: 36px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.footer-benefit h4 {
  margin: 0 0 3px;

  color: #34283d;

  font-size: 12px;

  line-height: 1.55;

  font-weight: 900;
}

.footer-benefit p {
  margin: 0;

  color: #655c69;

  font-size: 10px;

  line-height: 1.55;
}

/* =========================================
   FLOATING SUPPORT
========================================= */

.footer-floating-support {
  width: 51px;

  height: 51px;

  position: fixed;

  right: 24px;

  bottom: 19px;

  z-index: 999;

  border: 0;

  border-radius: 50%;

  background: #e6ad00;

  color: #fff;

  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

  display: flex;

  align-items: center;

  justify-content: center;
}

.footer-floating-support svg {
  width: 27px;

  height: 27px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1150px) {
  .rahbar-footer-container {
    width: calc(100% - 40px);
  }

  .footer-main {
    padding-inline-end: 155px;

    gap: 18px;
  }

  .footer-benefit h4 {
    font-size: 11px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .footer-main {
    padding-inline-end: 0;

    padding-top: 56px;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-column,
  .footer-contact {
    padding-top: 0;
  }

  .footer-back-top {
    top: 24px;

    width: 160px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: center;
  }

  .footer-benefits {
    width: 100%;

    max-width: none;
  }

  .footer-certificates {
    width: 100%;

    justify-content: center;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .rahbar-footer-container {
    width: calc(100% - 28px);
  }

  .footer-main {
    padding-top: 52px;

    grid-template-columns: 1fr;

    gap: 22px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-about h3 {
    text-align: center;
  }

  .footer-about p {
    max-width: none;

    text-align: center;

    padding: 0;
  }

  .footer-about>p::before {
    display: none;
  }

  .footer-social-box {
    flex-direction: column;
  }

  .footer-socials {
    flex-wrap: wrap;

    justify-content: center;
  }

  .footer-column,
  .footer-contact {
    text-align: center;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-back-top {
    top: 16px;

    width: calc(100% - 32px);

    inset-inline-end: 16px;
  }

  .footer-benefits {
    grid-template-columns: 1fr;

    padding: 12px;

    gap: 12px;
  }

  .footer-benefit {
    padding-bottom: 10px;

    border-bottom: 1px solid #eee;
  }

  .footer-benefit:last-child {
    border-bottom: 0;

    padding-bottom: 0;
  }

  .footer-certificates {
    gap: 12px;
  }

  .footer-certificate img {
    height: 105px;

    max-width: 78px;
  }

  .footer-certificate.enamad img {
    height: 72px;
  }

  .footer-floating-support {
    right: 15px;

    bottom: 15px;
  }
}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {
  --contact-ink: #29114e;
  background: #fff;
  color: #271149;
}

.contact-sprite {
  display: block;
  width: 0;
  height: 0;
}

.contact-wrap {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.contact-hero {
  position: relative;
  min-height: 155px;
  background: #e9e3f8;
}

.contact-hero .contact-wrap {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.contact-hero__card {
  position: absolute;
  width: min(530px, calc(100% - 30px));
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 8px 25px;
  text-align: center;
  background: #fff;
  border: 1px solid #cacaca;
  border-radius: 18px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.05);
  z-index: 5;
}

.contact-hero__card h1,
.contact-guide__content h2,
.contact-info__item h3,
.contact-form-title {
  margin: 0;
  font-weight: 700;
}

.contact-hero__card h1 {
  margin-bottom: 3px;
  font-size: 16px;
  color: #161616;
}

.contact-hero__card p,
.contact-guide__content p {
  margin: 0;
  font-size: 14px;
}

.contact-hero__card p {
  color: #181818;
}

.contact-guide {
  padding: 64px 0 20px;
}

.contact-guide__content {
  text-align: center;
}

.contact-guide__content h2 {
  margin-bottom: 17px;
  font-size: 16px;
  color: var(--contact-ink);
}

.contact-guide__content p {
  max-width: 1150px;
  margin: 0 auto 20px;
  font-weight: 600;
  color: var(--contact-ink);
}

.contact-guide__btn,
.contact-form-section .form-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-guide__btn {
  min-width: 275px;
  min-height: 42px;
  padding: 7px 25px;
  background: #ffad0a;
  font-weight: 600;
}

.contact-guide__btn:hover,
.contact-form-section .form-submit button:hover {
  transform: translateY(-2px);
}

.contact-guide__btn:hover {
  background: #f19e00;
  box-shadow: 0 8px 18px rgba(255, 173, 10, 0.28);
}

.contact-info {
  padding-bottom: 10px;
}

.contact-info__box,
.contact-form-grid {
  display: grid;
}

.contact-info__box {
  min-height: 225px;
  padding: 25px 35px;
  grid-template-columns: 1fr 1.1fr 1.8fr 1fr;
  align-items: start;
  gap: 35px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.025);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.7px solid #683bd8;
  border-radius: 50%;
  color: #6338cf;
}

.contact-info__icon svg,
.contact-social:not(.contact-social--aparat):not(.contact-social--bale):not(.contact-social--rubika) svg {
  display: block;
  fill: currentColor;
}

.contact-info__icon svg {
  width: 21px;
  height: 21px;
}

.contact-info__item h3 {
  margin-bottom: 7px;
  font-size: 15px;
  color: var(--contact-ink);
}

.contact-info__text,
.contact-info__phones {
  font-size: 14px;
  line-height: 1.9;
  color: #321454;
}

.contact-info__phones {
  display: flex;
  flex-direction: column;
}

.contact-info__phones a:hover {
  color: #6738dd;
}

.contact-socials {
  margin-top: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  direction: ltr;
}

.contact-social {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-social svg {
  display: block;
  width: 20px;
  height: 20px;
}

.contact-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
}

.contact-social--instagram {
  background: radial-gradient(circle at 30% 105%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.contact-social--telegram {
  background: #299bd6;
}

.contact-social--whatsapp {
  background: #17bd4c;
}

.contact-social--youtube {
  background: #dc2c25;
}

.contact-social--linkedin {
  background: #0a66c2;
}

.contact-social--aparat,
.contact-social--bale,
.contact-social--rubika {
  background: #fff;
  box-shadow: inset 0 0 0 1px #ece8f4;
}

.contact-social--aparat svg,
.contact-social--bale svg,
.contact-social--rubika svg {
  width: 30px;
  height: 30px;
  fill: none;
}

.contact-form-section {
  padding: 70px 0 80px;
  border-bottom: 8px solid #ece6fb;
}

.contact-form-box {
  position: relative;
  padding: 55px 24px 22px;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 0 16px;
  background: #fff;
  text-align: center;
  color: #2c2c2c;
  font-size: 15px;
  white-space: nowrap;
}

.contact-form-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 35px;
}

.contact-form-grid>form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-form-alert {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f3eefe;
  color: #3b2170;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.contact-form-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form-section .form-group {
  width: 100%;
}

.contact-form-section .form-group-full {
  margin-bottom: 18px;
}

.contact-form-section .form-group input,
.contact-form-section .form-group textarea {
  width: 100%;
  border: 1px solid #d2d2d2;
  border-radius: 16px;
  background: #fff;
  padding: 0 22px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-section .form-group input {
  height: 46px;
}

.contact-form-section .form-group textarea {
  min-height: 100px;
  padding-top: 10px;
  resize: vertical;
}

.contact-form-section .form-group input::placeholder,
.contact-form-section .form-group textarea::placeholder {
  color: #a5a5a5;
}

.contact-form-section .form-group input:focus,
.contact-form-section .form-group textarea:focus {
  border-color: #7a55d9;
  box-shadow: 0 0 0 3px rgba(122, 85, 217, 0.08);
}

.contact-form-section .is-invalid {
  border-color: #e11d48;
}

.contact-form-error {
  margin-top: 6px;
  font-size: 12px;
  color: #e11d48;
}

.contact-form-section .form-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.contact-form-section .form-submit button {
  width: 170px;
  height: 44px;
  background: #ffb311;
}

.contact-form-section .form-submit button:hover {
  background: #f5a600;
  box-shadow: 0 8px 20px rgba(255, 179, 17, 0.23);
}

.contact-map,
.contact-map iframe {
  width: 100%;
  min-height: 365px;
}

.contact-map {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
}

.contact-map__link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 10px;
  background: #fff;
  color: #29114e;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.contact-map iframe {
  display: block;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .contact-guide {
    padding-top: 70px;
  }

  .contact-info__box {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 25px;
    padding: 35px 25px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 340px;
  }
}

@media (max-width: 650px) {
  .contact-wrap {
    width: min(100% - 24px, 1320px);
  }

  .contact-hero {
    min-height: 130px;
  }

  .contact-hero__card {
    bottom: -35px;
    padding: 10px 15px;
  }

  .contact-hero__card h1 {
    font-size: 15px;
  }

  .contact-hero__card p {
    font-size: 12px;
    line-height: 1.8;
  }

  .contact-guide {
    padding-top: 85px;
  }

  .contact-guide__content h2 {
    font-size: 15px;
  }

  .contact-guide__content p,
  .contact-guide__btn {
    font-size: 13px;
  }

  .contact-guide__btn {
    width: 100%;
    min-width: 0;
  }

  .contact-info {
    padding-top: 10px;
    padding-bottom: 25px;
  }

  .contact-info__box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 35px 20px;
  }

  .contact-form-section {
    padding: 65px 0 50px;
  }

  .contact-form-box {
    padding: 55px 15px 18px;
  }

  .contact-form-title {
    width: 90%;
    white-space: normal;
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-form-section .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-section .form-group-full {
    margin-bottom: 14px;
  }

  .contact-form-section .form-submit {
    justify-content: center;
  }

  .contact-form-section .form-submit button {
    width: 100%;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 280px;
  }
}

/* =========================================
   ABOUT PAGE
========================================= */

.about-page {
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: #333;
}

.about-page .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.about-page .page-hero {
  background: #eee8fa;
  padding: 58px 0 25px;
  margin-bottom: 70px;
}

.about-page .page-title-box {
  width: 365px;
  max-width: 100%;
  margin: 0 auto -53px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(34, 20, 61, 0.08);
}

.about-page .page-title-box h1 {
  font-size: 18px;
  margin: 0 0 6px;
  color: #27212d;
  font-weight: 700;
}

.about-page .page-title-box p {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.about-page .about-section {
  padding: 34px 0;
}

.about-page .section-heading {
  text-align: right;
  margin-bottom: 20px;
}

.about-page .section-heading h2 {
  display: inline-block;
  position: relative;
  font-size: 21px;
  color: #33213f;
  margin: 0;
  padding-bottom: 12px;
  font-weight: 700;
}

.about-page .section-heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 3px;
  background: #ffb911;
  border-radius: 10px;
}

.about-page .content-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
}

.about-page .achievements-card {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 45px;
  align-items: center;
}

.about-page .achievement-text ul {
  margin: 0;
  padding: 0 20px 0 0;
  list-style: disc;
}

.about-page .achievement-text li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: #3f3f3f;
}

.about-page .achievement-text li::marker {
  color: #361e50;
}

.about-page .achievement-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.about-page .award-section {
  padding-top: 45px;
}

.about-page .award-card {
  padding: 25px;
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 32px;
  align-items: center;
}

.about-page .award-description {
  font-size: 14px;
  line-height: 2;
  color: #444;
}

.about-page .award-description p {
  margin: 0 0 15px;
}

.about-page .award-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.about-page .award-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1.75;
  object-fit: cover;
}

.about-page .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: rgba(54, 30, 80, 0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .play-btn:focus-visible {
  outline: 3px solid #ffb911;
  outline-offset: 3px;
}

.about-page .play-btn span {
  display: block;
  margin-left: 3px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 0;
  border-left: 13px solid #fff;
}

.about-page .about-text-section {
  padding-top: 55px;
}

.about-page .about-article {
  font-size: 14px;
  line-height: 2.3;
  color: #444;
}

.about-page .about-article h2,
.about-page .about-article h3 {
  color: #361e50;
  font-weight: 700;
}

.about-page .about-article h2 {
  font-size: 19px;
  margin: 0 0 20px;
}

.about-page .about-article h3 {
  font-size: 15px;
  margin: 25px 0 7px;
}

.about-page .about-article p {
  margin: 0 0 14px;
  text-align: justify;
}

.about-page .article-list {
  padding-right: 20px;
  margin: 10px 0 20px;
  list-style: disc;
}

.about-page .article-list li {
  margin: 5px 0;
}

.about-page .article-list li::marker {
  color: #361e50;
}

.about-page .about-final-text {
  margin-top: 25px;
  font-weight: 700;
}

.about-page .about-cta-section {
  padding-top: 50px;
  padding-bottom: 65px;
}

.about-page .about-cta {
  background: #eee8fa;
  text-align: center;
  padding: 18px 25px;
  border-radius: 10px;
}

.about-page .about-cta h3 {
  color: #361e50;
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
}

.about-page .about-cta p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.about-page .team-section {
  padding-top: 5px;
  padding-bottom: 90px;
}

.about-page .team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 25px;
  row-gap: 65px;
}

.about-page .team-member {
  text-align: center;
}

.about-page .team-member h4 {
  margin: 0 0 6px;
  color: #29222e;
  font-size: 14px;
  font-weight: 700;
}

.about-page .team-member span {
  display: block;
  color: #9c9c9c;
  font-size: 11px;
  line-height: 1.7;
}

.about-video-dialog {
  width: min(860px, calc(100% - 32px));
  padding: 18px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #33213f;
  box-shadow: 0 18px 50px rgba(34, 20, 61, 0.22);
}

.about-video-dialog::backdrop {
  background: rgba(34, 20, 61, 0.55);
}

.about-video-dialog h2 {
  margin: 0 48px 14px 0;
  font-size: 16px;
  color: #361e50;
}

.about-video-dialog__close {
  position: absolute;
  top: 14px;
  left: 14px;
  border: 0;
  background: #eee8fa;
  color: #361e50;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.about-video-dialog__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1b1224;
}

.about-video-dialog__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-video-dialog__empty {
  margin: 0;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 2;
}

@media (max-width: 1100px) {
  .about-page .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 850px) {

  .about-page .achievements-card,
  .about-page .award-card {
    grid-template-columns: 1fr;
  }

  .about-page .achievement-image,
  .about-page .award-image {
    order: -1;
  }

  .about-page .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .about-page .container {
    width: min(100% - 24px, 1180px);
  }

  .about-page .page-hero {
    margin-bottom: 45px;
  }

  .about-page .section-heading h2 {
    font-size: 18px;
  }

  .about-page .achievements-card,
  .about-page .award-card {
    padding: 18px;
    gap: 20px;
  }

  .about-page .achievement-text li,
  .about-page .award-description,
  .about-page .about-article {
    font-size: 13px;
  }

  .about-page .team-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 45px;
  }
}

@media (max-width: 450px) {
  .about-page .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-page .page-title-box {
    width: 280px;
  }
}
