body:has(form.webform-submission-sepidar-form) .breadcrumb,
body:has(form.webform-submission-sepidar-form) footer {
  display: none;
}

body:has(form.webform-submission-sepidar-form) {
  background-color: #fcfaed;
}

#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
  background-color: #fcfaed;
}

form.webform-submission-sepidar-form {
  --sp-cream: #fcfaed;
  --sp-primary: #126e72;
  --sp-primary-dark: #0c5055;
  --sp-navy: #173247;
  --sp-border: #dce5eb;
  --sp-muted: #64748b;

  position: relative;
  isolation: isolate;
  display: block;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  direction: rtl;
  width: 100%;
  margin: 24px auto 16px;
  padding: clamp(20px, 4vw, 44px);
  overflow: visible;
  color: var(--sp-navy);
  background: var(--sp-cream);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: Vazirmatn, Tahoma, sans-serif;
  text-align: right;
}

form.webform-submission-sepidar-form,
form.webform-submission-sepidar-form *,
form.webform-submission-sepidar-form *::before,
form.webform-submission-sepidar-form *::after {
  box-sizing: border-box;
}

form.webform-submission-sepidar-form > .webform-elements {
  grid-column: 1 / -1;
  display: block;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form .form-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form :is(
  .form-item-city,
  .form-actions,
  .webform-required,
  .messages,
  [data-drupal-messages],
  .captcha,
  .webform-flexbox,
  fieldset,
  .webform-section,
  .form-type-processed-text,
  .webform-wizard-pages,
  .webform-progress,
  .webform-wizard-buttons
) {
  grid-column: 1 / -1;
  min-width: 0;
}

form.webform-submission-sepidar-form :is(
  fieldset,
  .fieldset-wrapper,
  .webform-section,
  .webform-section-wrapper,
  .webform-wizard-pages,
  .webform-wizard-page,
  .webform-flexbox,
  .webform-flex,
  .webform-flex--container,
  .form-type-processed-text,
  .js-form-type-processed-text,
  .webform-progress,
  .webform-wizard-buttons,
  .captcha,
  .messages,
  [data-drupal-messages]
) {
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form label,
form.webform-submission-sepidar-form legend {
  color: var(--sp-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

form.webform-submission-sepidar-form .form-item > label {
  display: block;
  margin: 0 0 10px;
}

form.webform-submission-sepidar-form .form-required::after {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 5px 0 0;
  color: #bf5548;
  background: none;
  content: "*";
  font-size: 15px;
  vertical-align: middle;
}

form.webform-submission-sepidar-form :is(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="password"],
  input[type="date"],
  input[type="search"],
  select,
  textarea
) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 13px 16px;
  color: var(--sp-navy);
  background-color: #f7f9fc;
  border: 1px solid var(--sp-border);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px #17324706;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition:
    border-color .18s,
    background-color .18s,
    box-shadow .18s;
}

form.webform-submission-sepidar-form textarea {
  min-height: 140px;
  resize: vertical;
  direction: rtl;
  text-align: right;
}

form.webform-submission-sepidar-form select {
  padding-left: 40px;
  direction: rtl;
  cursor: pointer;
}

form.webform-submission-sepidar-form :is(
  input,
  select,
  textarea
):focus-visible {
  background-color: #fff;
  border-color: var(--sp-primary);
  outline: 2px solid var(--sp-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #126e7214;
}

form.webform-submission-sepidar-form :is(
  input[name="codemelli"],
  input[name="mobile"],
  input[type="email"],
  input[type="tel"]
) {
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

form.webform-submission-sepidar-form input:is(
  [type="checkbox"],
  [type="radio"]
) {
  width: auto;
  min-height: 0;
  accent-color: var(--sp-primary);
}

form.webform-submission-sepidar-form .form-type-checkbox > label,
form.webform-submission-sepidar-form .form-type-radio > label {
  display: inline;
  margin-inline-start: 6px;
  font-weight: 400;
}

form.webform-submission-sepidar-form :is(
  .description,
  small.description
) {
  display: block;
  margin: 8px 0 0;
  color: var(--sp-muted);
  font-size: 12px;
  line-height: 1.9;
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form .webform-element-description {
  font-size: inherit;
  line-height: inherit;
}

form.webform-submission-sepidar-form :is(
  input,
  select,
  textarea
):is(
  .error,
  [aria-invalid="true"]
) {
  border-color: #c44242;
  background-color: #fff7f7;
}

form.webform-submission-sepidar-form .form-item--error-message {
  margin-top: 8px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.9;
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form .webform-required {
  padding: 12px 16px;
  background: var(--sp-cream);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.9;
}

form.webform-submission-sepidar-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  padding-top: 24px;
  background: var(--sp-cream);
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form .form-actions :is(
  .webform-button--submit,
  button[type="submit"],
  input[type="submit"]
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 190px;
  min-height: 54px;
  margin: 0;
  padding: 13px 34px;
  color: #fff;
  background: linear-gradient(135deg, #178187, #105a60);
  border: 1px solid #105a60;
  border-radius: 13px;
  box-shadow: 0 8px 20px #126e7233;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .18s, transform .18s;
}

form.webform-submission-sepidar-form .form-actions :is(
  button,
  input[type="submit"]
):hover {
  color: #fff;
  filter: brightness(1.08);
}

form.webform-submission-sepidar-form .form-actions :is(
  button,
  input
):disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}

form.webform-submission-sepidar-form input[type="hidden"] {
  display: none !important;
}

form.webform-submission-sepidar-form .webform-wizard-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

form.webform-submission-sepidar-form .webform-wizard-page > :is(
  .form-item-city,
  .form-type-processed-text,
  .js-form-type-processed-text,
  [id*="processed-text"]
) {
  grid-column: 1 / -1;
  min-width: 0;
}

form.webform-submission-sepidar-form .webform-wizard-page:has(
  #sepidar-page
) {
  display: block;
}

form.webform-submission-sepidar-form .webform-wizard-page[hidden] {
  display: none !important;
}

#sepidar-page {
  --cream: #fcfaed;
  --navy: #18264f;
  --gold: #e7bd70;

  margin: auto;
  background: var(--cream);
  color: var(--navy);
  border: 0;
  box-shadow: none;
}

#sepidar-page * {
  box-sizing: border-box;
}

form.webform-submission-sepidar-form #sepidar-page {
  width: 100%;
  margin: 0 auto;
  background: var(--cream);
  border: 0;
  box-shadow: none;
  font-family: Vazirmatn, Tahoma, sans-serif;
}

#sepidar-page .site-header {
  background: var(--cream);
  border: 0;
  min-height: 60px;
  box-shadow: none;
}

#sepidar-page .navbar-brand {
  margin: 0;
  font-size: clamp(9px, 1.25vw, 16px);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

#sepidar-page .brand-icon {
  color: #b38b43;
  font-size: 27px;
  font-style: italic;
}

#sepidar-page .nav-link {
  color: #131e45 !important;
  font-weight: 800;
  font-size: clamp(10px, 1.25vw, 16px);
  padding-inline: 9px !important;
}

#sepidar-page .account {
  background: var(--cream);
  color: var(--navy);
  font-size: 12px;
  white-space: nowrap;
  border: 0;
  box-shadow: none;
}

#sepidar-page .scene {
  position: relative;
  width: 100%;
  aspect-ratio: 432 / 955;
  overflow: hidden;
  background: var(--cream);
  container-type: inline-size;
  border: 0;
  box-shadow: none;
}

#sepidar-page .scene h1 {
  position: absolute;
  top: 1.35%;
  width: 100%;
  text-align: center;
  font-size: 4.75cqw;
  font-weight: 900;
  color: #72400c;
  text-shadow: 0 2px #e8d6a8;
  margin: 0;
}

#sepidar-page .road {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(1294 / 955 * 100%);
  pointer-events: none;
}

#sepidar-page .mobile-road {
  display: none;
}

#sepidar-page .course,
#sepidar-page .decoration {
  position: absolute;
  left: calc(var(--x) / 432 * 100%);
  top: calc(var(--y) / 955 * 100%);
  width: calc(var(--w) / 432 * 100%);
  height: auto;
}

#sepidar-page .course {
  display: block;
  transition: filter .2s, transform .2s;
  z-index: 2;
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sepidar-page .course img {
  width: 100%;
  height: auto;
  display: block;
}

#sepidar-page .course:hover {
  transform: none;
  filter: none;
}

#sepidar-page .decoration {
  z-index: 3;
  object-fit: contain;
}

#sepidar-page .cta {
  position: absolute;
  left: 16%;
  top: 92%;
  width: 68%;
  height: 4.5%;
  border: 1px solid #fff;
  outline: 1px dashed #c9a767;
  outline-offset: 3px;
  border-radius: 10px;
  background: linear-gradient(110deg, #f4b15d, #e7ca87);
  box-shadow: none;
  color: #064a98;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 3cqw;
  font-weight: 900;
}

#sepidar-page .cta small {
  font-size: 1.25cqw;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  padding: 1px 7px;
  color: #5286a4;
}

#sepidar-page .footer {
  position: relative;
  background: var(--cream);
  border: 0;
  box-shadow: none;
}

#sepidar-page .footer img {
  width: 100%;
  display: block;
}

#sepidar-page .back-top {
  position: absolute;
  top: 2.5%;
  left: 47.5%;
  width: 5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  box-shadow: none;
  color: #745120;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: clamp(12px, 2vw, 25px);
}

#sepidar-page .message-group {
  position: absolute;
  left: calc(var(--x) / 432 * 100%);
  top: calc(var(--y) / 955 * 100%);
  width: calc(var(--w) / 432 * 100%);
  z-index: 4;
  direction: rtl;
  font-size: 1.45cqw;
  color: #322c20;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sepidar-page .step-heading {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  margin-bottom: 2cqw;
  min-height: 4.5cqw;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sepidar-page .step-heading h2 {
  font-size: 1.5cqw;
  font-weight: 700;
  margin: 0;
  background: #fffdf3;
  padding: .65cqw 1cqw;
  border: 0;
  border-bottom: 1px solid #d6b56b;
  box-shadow: none;
  line-height: 1.6;
  flex: 1;
}

#sepidar-page .step-number {
  flex: 0 0 4.5cqw;
  height: 4.5cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8c57d;
  color: #fff;
  font-size: 3.6cqw;
  font-weight: 900;
  border: 0;
  box-shadow: 0 0 1.5cqw #ddbe80;
}

#sepidar-page .message-box {
  background: #fff;
  border: 0;
  border-radius: 1.2cqw;
  overflow: hidden;
  direction: ltr;
  box-shadow: 0 1px 4px #1728520a;
}

#sepidar-page .message-box header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(#e7e7e7, #f4f4f4);
  border: 0;
  box-shadow: none;
  padding: .7cqw 1cqw;
  color: #777;
  font: 1.4cqw Arial, sans-serif;
}

#sepidar-page .message-box header span {
  display: flex;
  align-items: center;
  gap: .6cqw;
}

#sepidar-page .message-box i {
  display: inline-block;
  width: 1.7cqw;
  height: 1.7cqw;
  background: #4cdb64;
  border-radius: .5cqw;
  border: 0;
  box-shadow: none;
}

#sepidar-page .message-box p {
  direction: rtl;
  text-align: justify;
  text-align-last: right;
  line-height: 1.85;
  margin: 0;
  padding: 1.2cqw;
  font-size: 1.4cqw;
  color: #333;
  background: #fff;
  border: 0;
  box-shadow: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

#sepidar-page .course-visual {
  border-radius: 2cqw;
  overflow: hidden;
  background: #111;
  border: 0;
  box-shadow: none;
}

#sepidar-page .course-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

#sepidar-page .course-caption {
  position: relative;
  padding: 1cqw 1.2cqw;
  background: var(--cream);
  color: var(--navy);
  direction: rtl;
  border: 0;
  box-shadow: none;
}

#sepidar-page .course-caption h3 {
  font-size: 1.45cqw;
  font-weight: 800;
  line-height: 1.7;
  text-align: right;
  margin: 0 0 .65cqw;
}

#sepidar-page .course-tags {
  display: flex;
  gap: .7cqw;
  flex-wrap: wrap;
}

#sepidar-page .course-tags span {
  background: var(--cream);
  color: #263450;
  border-radius: 20px;
  padding: .1cqw 1cqw;
  font-size: 1cqw;
  border: 0;
  box-shadow: none;
}

#sepidar-page .rating {
  display: flex;
  direction: ltr;
  gap: .3cqw;
  padding: .8cqw 1.4cqw;
  color: #ffb300;
  font-size: 2.1cqw;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sepidar-page .rating .fa-star {
  color: #c8c6be;
  transition: color .25s;
}

#sepidar-page .rating .fa-star.is-complete {
  color: #ffb300;
  filter: drop-shadow(0 0 3px #ffc44a66);
}

#sepidar-page .course video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 428;
  object-fit: contain;
  background: #111;
  direction: ltr;
  border: 0;
  box-shadow: none;
}

#sepidar-page .video-shell {
  position: relative;
  border: 0;
  box-shadow: none;
}

#sepidar-page .video-start {
  position: absolute;
  inset: 0;
  border: 0;
  background: linear-gradient(transparent, #0005);
  box-shadow: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
}

#sepidar-page .video-start i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #18264fe6;
  border: 2px solid #edcc89;
  box-shadow: none;
  font-size: 22px;
}

#sepidar-page .video-start span {
  background: #18264fdf;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  border: 0;
  box-shadow: none;
}

#sepidar-page .video-start[hidden] {
  display: none;
}

form.webform-submission-sepidar-form #sepidar-page .video-start {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}

form.webform-submission-sepidar-form #sepidar-page .video-start[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  #sepidar-page .scene {
    aspect-ratio: auto;
    display: block;
    position: relative;
    padding: 26px 12px 20px;
    overflow: hidden;
    background: var(--cream);
  }

  #sepidar-page .scene h1 {
    position: relative;
    top: auto;
    z-index: 2;
    margin: 0 0 28px;
    font-size: clamp(20px, 5vw, 30px);
    line-height: 1.7;
  }

  #sepidar-page .road {
    display: none;
  }

  #sepidar-page .mobile-road {
    display: block;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 230px);
    z-index: 0;
    pointer-events: none;
  }

  #sepidar-page .course,
  #sepidar-page .message-group {
    position: relative;
    left: auto;
    top: auto;
    width: 78%;
    max-width: 460px;
    z-index: 2;
    margin: 0 0 17px;
  }

  #sepidar-page .course {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  #sepidar-page .course:nth-of-type(even) {
    margin-left: auto;
    margin-right: 0;
  }

  #sepidar-page .scene > .course:nth-of-type(odd) {
    margin-left: 0;
    margin-right: auto;
  }

  #sepidar-page .scene > .course:nth-of-type(even) {
    margin-left: auto;
    margin-right: 0;
  }

  #sepidar-page .course img {
    border-radius: 14px;
  }

  #sepidar-page .message-group {
    width: 76%;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 36px;
    font-size: 14px;
  }

  #sepidar-page .message-group:nth-of-type(even) {
    margin-left: 0;
    margin-right: auto;
  }

  #sepidar-page .message-group:last-of-type {
    margin-bottom: 16px;
  }

  #sepidar-page .course-visual {
    border-radius: 14px;
  }

  #sepidar-page .course-visual > img {
    border-radius: 0;
  }

  #sepidar-page .course-caption {
    padding: 10px 12px;
  }

  #sepidar-page .course-caption h3 {
    font-size: clamp(12px, 3.1vw, 17px);
    margin-bottom: 7px;
  }

  #sepidar-page .course-tags {
    gap: 5px;
  }

  #sepidar-page .course-tags span {
    font-size: 10px;
    padding: 2px 8px;
  }

  #sepidar-page .rating {
    font-size: 17px;
    gap: 3px;
    padding: 7px 8px;
  }

  #sepidar-page .step-heading {
    gap: 7px;
    margin-bottom: 12px;
    min-height: 40px;
  }

  #sepidar-page .step-heading h2 {
    font-size: 13px;
    padding: 6px 8px;
    line-height: 1.8;
  }

  #sepidar-page .step-number {
    flex-basis: 31px;
    height: 31px;
    font-size: 23px;
    box-shadow: 0 0 12px #ddbe80;
  }

  #sepidar-page .message-box {
    border-radius: 12px;
    box-shadow: 0 3px 16px #1728520b;
  }

  #sepidar-page .message-box header {
    font-size: 12px;
    padding: 9px 12px;
  }

  #sepidar-page .message-box header span {
    gap: 6px;
  }

  #sepidar-page .message-box i {
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }

  #sepidar-page .message-box p {
    font-size: 13px;
    padding: 12px;
    line-height: 2;
    text-align: justify;
    text-align-last: right;
  }

  #sepidar-page .cta {
    position: relative;
    z-index: 2;
    display: flex;
    left: auto;
    top: auto;
    width: 92%;
    max-width: 460px;
    height: auto;
    min-height: 85px;
    margin: 12px auto 0;
    padding: 16px;
    font-size: clamp(16px, 4vw, 22px);
    gap: 8px;
    text-align: center;
  }

  #sepidar-page .cta small {
    font-size: 11px;
    padding: 3px 12px;
  }

  #sepidar-page .scene > .decoration {
    display: block;
    position: absolute;
    width: 12%;
    height: auto;
    left: 0;
    top: 13%;
    z-index: 1;
  }

  #sepidar-page .scene > .decoration:nth-of-type(2) {
    left: auto;
    right: 0;
    top: 44%;
  }

  #sepidar-page .scene > .decoration:nth-of-type(3) {
    left: 0;
    right: auto;
    top: 72%;
  }
}

@media (max-width: 640px) {
  form.webform-submission-sepidar-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 16px auto;
    padding: 24px 18px;
    border-radius: 0;
  }

  form.webform-submission-sepidar-form > .webform-elements {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  form.webform-submission-sepidar-form .webform-wizard-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  form.webform-submission-sepidar-form .form-actions :is(
    .webform-button--submit,
    button[type="submit"],
    input[type="submit"]
  ) {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 575px) {
  #sepidar-page .site-header {
    min-height: 26px;
  }

  #sepidar-page .navbar {
    padding: 2px 8px !important;
    flex-wrap: nowrap;
  }

  #sepidar-page .navbar-brand {
    font-size: 6px;
    gap: 3px;
  }

  #sepidar-page .brand-icon {
    font-size: 15px;
  }

  #sepidar-page .nav-link {
    font-size: 8px;
    padding: 2px 4px !important;
  }

  #sepidar-page .account {
    font-size: 7px;
    padding: 2px 7px;
  }

  #sepidar-page .navbar-nav {
    gap: 0 !important;
  }

  #sepidar-page {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  form.webform-submission-sepidar-form * {
    transition: none !important;
  }

  #sepidar-page .course {
    transition: none;
  }
}
form.webform-submission-sepidar-form :is( input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="password"], input[type="date"], input[type="search"], select, textarea ) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 13px 16px;
    color: var(--sp-navy);
    background-color: #fff;
    border: 1px solid #667029;
    border-radius: 13px;
    box-shadow: inset 0 1px 2px #17324706;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    transition: border-color .18s, background-color .18s, box-shadow .18s;
}