/*-----------------------------------------------------------------
  [Master Stylesheet]

  Template Name: Ner

  Template URL: http://nero-per.bitballoon.com
  Description: Ner - Personal Portfolio Template.
  Author: design_grid
  Author URL: https://themeforest.net/user/design_grid
  Version: 1.0

  Brand palette: IVORY #F8F7F0 | MARINA #222B52 | RUST #B25640 | SLATE #7F858D
  Marina overlays: #1A213F (sections) | Hero: blur + black veil (--header-veil-*)
  UI: flat surfaces — solid fills, 1px borders, no drop shadows / glass blur / gradient faux-depth

-------------------------------------------------------------------*/
/*------------------------------------------------------------------

 [Table of contents]

  01 default Style
  02 Navbar
  03 Header
  04 About
  05 Skills
  06 Services
  07 Hire Me
  08 Portfolio
  09 Testimonial
  10 Blog
  11 Contact
  12 Footer

---------------------------------------------------------------- */
/** Template Color **/
/* ----------------------------------------------------------------
     [ 01 default Style ]
-----------------------------------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none !important;
  list-style: none !important;
  outline: none !important;
  margin: 0;
  padding: 0;
}

:root {
  --brand-marina: #222B52;
  --brand-marina-overlay: #1A213F;
  --brand-marina-overlay-deep: #141A32;
  /*
   * Photo overlays — tune here so header + template feel matched.
   * Header: neutral black (busy photos). Other photo bands: dark marina (footer #222B52).
   * If hire-me feels lighter than the hero, raise --veil-photo-strength-brand or lower --veil-photo-strength-header.
   */
  --veil-photo-strength-header: 0.78;
  --veil-photo-strength-brand: 0.86;
  --veil-photo-header-rgb: 0, 0, 0;
  --veil-photo-brand-rgb: 7, 9, 18;
  --header-veil-blur: 0px;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: #F8F7F0;
  color: #222B52;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
html[dir="rtl"] body {
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}

p {
  line-height: 1.6;
  color: #7F858D;
  margin: 0;
}

span, a {
  display: inline-block;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222B52;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}

button.btn, a.btn {
  position: relative;
  background-color: #B25640;
  border: 1px solid #B25640;
  padding: 15px 20px;
  -webkit-box-shadow: none;
          box-shadow: none;
  letter-spacing: 1px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  -webkit-transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
button.btn span, a.btn span {
  display: inline-block;
  position: relative;
  border-radius: 3px;
  z-index: 1;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
  -webkit-transform: none;
          transform: none;
}
button.btn:after, a.btn:after {
  display: none !important;
  content: none !important;
}
button.btn:hover, a.btn:hover,
button.btn:focus, a.btn:focus {
  background-color: #984a36;
  border-color: #843e2f;
  color: #fff;
}
button.btn:hover span, a.btn:hover span,
button.btn:focus span, a.btn:focus span {
  color: #fff;
  -webkit-transform: none;
          transform: none;
}

button.btn-light, a.btn-light {
  background-color: transparent;
  border: 1px solid #B25640;
  color: #222B52;
}
button.btn-light:after, a.btn-light:after {
  display: none !important;
  content: none !important;
}
button.btn-light span, a.btn-light span {
  color: #222B52;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}
button.btn-light:hover, a.btn-light:hover,
button.btn-light:focus, a.btn-light:focus {
  background-color: #B25640;
  border-color: #B25640;
  color: #fff;
}
button.btn-light:hover span, a.btn-light:hover span,
button.btn-light:focus span, a.btn-light:focus span {
  color: #fff;
  -webkit-transform: none;
          transform: none;
}

[data-overlay]:before {
  content: '';
  position: absolute;
  background: #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

[data-overlay="0"]:before {
  opacity: 0;
}

[data-overlay="1"]:before {
  opacity: 0.1;
}

[data-overlay="2"]:before {
  opacity: 0.2;
}

[data-overlay="3"]:before {
  opacity: 0.3;
}

[data-overlay="4"]:before {
  opacity: 0.4;
}

[data-overlay="5"]:before {
  opacity: 0.5;
}

[data-overlay="6"]:before {
  opacity: 0.6;
}

[data-overlay="7"]:before {
  opacity: 0.7;
}

[data-overlay="8"]:before {
  opacity: 0.8;
}

[data-overlay="9"]:before {
  opacity: 0.9;
}

[data-overlay="10"]:before {
  opacity: 1;
}

.cover-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Home services → Core problem → Featured work: tighten adjacent section gaps */
#services.home-services.section-padding {
  padding-bottom: 44px !important;
}
#problem.services.section-padding {
  padding-top: 44px !important;
}
#work.portfolio.section-padding {
  padding-top: 44px !important;
}

.section-title {
  position: relative;
  margin-bottom: 48px;
  width: 100%;
}
.section-title p {
  position: relative;
  background-color: #B25640;
  color: #fff;
  display: inline-block;
  margin-bottom: 5px;
  text-align: center;
  text-transform: uppercase;
  padding: 0 12px;
  letter-spacing: 1px;
}
.section-title p:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border: 11px solid #B25640;
  z-index: 2;
  left: -12px;
  border-right-width: 11px;
  border-left-color: transparent !important;
}
.section-title p:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border: 11px solid #B25640;
  z-index: 2;
  right: -12px;
  border-left-width: 11px;
  border-right-color: transparent !important;
}
.section-title h3 {
  font-size: 36px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.14;
  letter-spacing: 1.4px;
  padding-bottom: 13px;
  position: relative;
}
.section-title h3:after {
  position: absolute;
  content: '';
  display: block;
  height: 30px;
  width: 1px;
  bottom: -30px;
  left: 50%;
  background-color: #B25640;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

/* Brand display: Hourglass on key Latin headlines (decorative; skip RTL — Vazirmatn) */
html[dir="ltr"] .section-title h3 > span {
  font-family: "Hourglass", "Montserrat", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}
html[dir="ltr"] .header .caption h2 {
  font-family: "Hourglass", "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
html[dir="ltr"] .header .caption .header-motto {
  font-family: "Hourglass", "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 2.5vw, 20px);
  letter-spacing: 0.05em;
}

.subtitle {
  margin-bottom: 30px;
}
.subtitle h4 {
  font-size: 20px;
}

/* -------------------------------------------------------
                   02 - Navbar
-------------------------------------------------------- */
.navbar {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  min-height: 50px;
  line-height: 50px;
  background: transparent;
  z-index: 1030;
}
.navbar .active {
  color: #7F858D !important;
}
.nav-scroll .active {
  color: #B25640 !important;
}
.navbar .navbar-brand {
  width: 90px;
}
.navbar .navbar-brand img {
  max-width: 56px;
  height: auto;
}
.navbar .navbar-home-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f1f1;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.navbar .navbar-home-icon:hover {
  color: #B25640;
}
.navbar .navbar-home-icon .home-svg {
  display: block;
  fill: currentColor;
}
.nav-scroll .navbar-home-icon {
  color: #222B52;
}
.nav-scroll .navbar-home-icon:hover {
  color: #B25640;
}
.navbar .nav-item {
  position: relative;
  margin: 0 5px;
  padding: 0;
}
.navbar .nav-item a {
  color: #f1f1f1;
  font-weight: 500;
}
.navbar-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}
.navbar-lang .lang-toggle {
  background: transparent;
  border: none;
  color: #f1f1f1;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 4px;
  cursor: pointer;
}
.navbar-lang .lang-toggle.active {
  color: #B25640;
}
.navbar-lang .lang-separator {
  color: rgba(241, 241, 241, 0.6);
}
.nav-scroll .navbar-lang .lang-toggle {
  color: #222B52;
}
.nav-scroll .navbar-lang .lang-toggle.active {
  color: #B25640;
}
.nav-scroll .navbar-lang .lang-separator {
  color: rgba(34, 43, 82, 0.45);
}
.navbar-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.navbar-auth .auth-btn {
  border: none;
  background: transparent;
  color: #f1f1f1 !important;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
  transition: all .2s ease;
}
.navbar-auth .auth-btn:hover {
  color: #B25640;
}
.navbar-auth .auth-btn-outline {
  color: #f1f1f1 !important;
  border: 1px solid rgba(241, 241, 241, 0.45);
}
.navbar-auth .auth-btn-outline:hover {
  color: #B25640 !important;
  border-color: #B25640;
}
.navbar-auth .auth-user .auth-user-trigger {
  border: 1px solid rgba(241, 241, 241, 0.45);
  background: transparent;
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}
.navbar-auth .auth-user .auth-user-trigger:hover {
  color: #B25640;
  border-color: #B25640;
}
.navbar-auth .dropdown-menu .dropdown-item {
  text-transform: none;
  letter-spacing: 0;
}
.nav-scroll .navbar-auth .auth-btn {
  color: #222B52 !important;
}
.nav-scroll .navbar-auth .auth-btn-outline,
.nav-scroll .navbar-auth .auth-user .auth-user-trigger {
  border-color: rgba(34, 43, 82, 0.35);
  color: #222B52;
}
.nav-scroll .navbar-auth .auth-btn:hover,
.nav-scroll .navbar-auth .auth-user .auth-user-trigger:hover {
  color: #B25640;
  border-color: #B25640;
}
.auth-form-message {
  margin-bottom: 14px;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
}
.auth-form-message.success {
  background: #ebf7ee;
  color: #205e2d;
}
.auth-form-message.error {
  background: #fdecec;
  color: #8a1f1f;
}
.auth-modal-form .form-group label {
  display: block;
  text-align: start;
}
.auth-modal-form .form-control {
  text-align: start;
}
.auth-modal-form .modal-footer {
  justify-content: flex-end;
}
html[dir="rtl"] .auth-modal-form .modal-footer {
  justify-content: flex-start;
}
.navbar .dropdown-menu {
  margin-top: 10px;
  border: 1px solid rgba(34, 43, 82, 0.12);
  border-radius: 4px;
  -webkit-box-shadow: none;
          box-shadow: none;
  background-color: #fff;
  min-width: 160px;
  padding: 0;
  list-style: none;
  top: 100%;
  left: 0;
}
.navbar .dropdown-menu .dropdown-item {
  position: relative;
  padding: 12px 15px;
  text-align: left;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #505050;
  text-transform: uppercase;
  background-color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar .dropdown-menu .dropdown-item a {
  color: inherit;
}
.navbar .dropdown-menu .dropdown-item:hover {
  background: #F8F7F0;
  opacity: .7;
}
.navbar .dropdown-menu .dropdown-submenu {
  position: relative;
}
.navbar .dropdown-menu .dropdown-submenu .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 5px;
}
.navbar .dropdown-menu .dropdown-submenu .dropdown-item {
  background-color: #fff;
  color: #505050;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 1;
  z-index: 999;
}
.navbar .dropdown-menu .dropdown-submenu .dropdown-item a {
  color: inherit;
}
.navbar .dropdown-menu .dropdown-submenu .dropdown-item:hover {
  background: #F8F7F0;
}
.navbar .dropdown-menu .dropdown-submenu:before {
  position: absolute;
  right: 10px;
  content: "\f105";
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
}
.navbar .dropdown-menu .dropdown-submenu:hover {
  opacity: 1 !important;
}
.navbar .dropdown-menu .dropdown-submenu:hover a {
  opacity: 1 !important;
}
.navbar .dropdown-menu .dropdown-item:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.navbar .dropdown-menu .dropdown-item:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.navbar .dropdown-toggle::after {
  display: none;
  color: #fff !important;
}
.navbar .nav-link {
  position: relative;
  padding: 0;
}
.navbar .navbar-toggler {
  cursor: pointer;
}
.navbar .navbar-toggler span {
  color: #fff;
}

.nav-scroll {
  background: #F8F7F0;
  border-bottom: 1px solid rgba(34, 43, 82, 0.08);
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: background-color .4s ease, border-color .4s ease;
  transition: background-color .4s ease, border-color .4s ease;
}
.nav-scroll .navbar-nav > li > a {
  color: #222B52;
}
.nav-scroll .navbar-brand img {
  max-width: 56px;
  -webkit-transform: scale(1.03) !important;
          transform: scale(1.03) !important;
}
.nav-scroll .navbar-home-icon .home-svg {
  fill: currentColor;
}
.nav-scroll .navbar-toggler {
  cursor: pointer;
}
.nav-scroll .navbar-toggler span {
  color: #222B52;
}

/* -------------------------------------------------------
                   03 - Header
-------------------------------------------------------- */
.header {
  position: relative;
  background-attachment: fixed;
  height: 100vh;
  width: 100%;
  z-index: 888;
}
/* Hero: light blur + black tint on photo; content stays above the veil */
#header.header {
  isolation: isolate;
}
#header::before {
  display: none;
}
#header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(var(--veil-photo-header-rgb), var(--veil-photo-strength-header));
  -webkit-backdrop-filter: blur(var(--header-veil-blur));
  backdrop-filter: blur(var(--header-veil-blur));
}
#header > #particles-js {
  z-index: 2;
  pointer-events: none;
}
#header > .container {
  position: relative;
  z-index: 3;
}
/* Photo bands with brand (marina) veil — same recipe as hire-me */
.hire-me,
#testimonial,
#contact {
  isolation: isolate;
}
.hire-me::before,
#testimonial::before,
#contact::before {
  display: none;
}
.hire-me::after,
#testimonial::after,
#contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(var(--veil-photo-brand-rgb), var(--veil-photo-strength-brand));
}
.hire-me > .container,
#testimonial > .container,
#contact > .container {
  position: relative;
  z-index: 2;
}
.header .caption {
  position: relative;
  z-index: 1;
  text-align: center;
}
.header .caption h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}
.header .caption h4 span {
  font-weight: 600;
}
.header .caption h2 {
  position: relative;
  text-align: center;
  font-weight: bold;
  font-size: 70px;
  color: #FFFFFF;
  letter-spacing: -1px;
  line-height: 1.22;
}
/* Rotating role line: slightly smaller than "I'M" so script ascenders don't clash with h4 / p */
.header .caption h2 .typed-text,
.header .caption h2 .typed-cursor {
  font-size: 0.78em;
  vertical-align: baseline;
}
.header .caption p {
  font-size: 17px;
  color: #fff;
  line-height: 32px;
  opacity: 0.7;
}
.header .caption .header-motto {
  margin-top: 8px;
  margin-bottom: 4px;
  color: #fff;
  opacity: 0.95;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}
.header .caption .header-hire-cta {
  display: inline-block;
  margin-top: 14px;
  max-width: 100%;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 12px 24px;
}
.header .caption .header-hire-cta span {
  white-space: normal;
}
.header .caption .header-work-cta,
.header .caption .header-work-cta span {
  color: #fff !important;
}
.header .caption .header-work-cta:hover,
.header .caption .header-work-cta:focus,
.header .caption .header-work-cta:hover span,
.header .caption .header-work-cta:focus span {
  color: #fff !important;
}
.header .caption .scoial-icon {
  position: relative;
}
.header .caption .scoial-icon a {
  display: inline-block;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 16px;
  -webkit-transition: color .2s ease, background-color .2s ease;
  transition: color .2s ease, background-color .2s ease;
}
.header .caption .scoial-icon a i,
.header .caption .social-icons .social-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.header .caption .social-icons a span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.header .caption .social-icons .social-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.header .caption .scoial-icon a:hover {
  color: #B25640;
}

/* -------------------------------------------------------
                   04 - About
-------------------------------------------------------- */
.about {
  position: relative;
  padding-bottom: 0 !important;
}
#about-photo-image {
  display: block;
  max-width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.35s ease;
}
/* Persian (RTL): mirror so subject faces the other way (toward the text column in RTL layout) */
html[dir="rtl"] #about-photo-image {
  transform: scaleX(-1);
}
.about .part-text {
  position: relative;
}
.about .part-text h4 {
  font-size: 24px;
  font-weight: 600;
}
.about .part-text p {
  border-bottom: 1px solid #f1f1f1;
}
.about .part-text .info li {
  width: 48%;
  display: inline-block;
  margin-bottom: 15px;
}
.about .part-text .info li .title {
  display: inline-block;
  font-weight: 600;
  padding-right: 5px;
}
.about .part-text .info li .title:after {
  content: ':';
  padding-left: 5px;
}
.about .part-text .info li .value {
  display: inline-block;
}

/* -------------------------------------------------------
                   05 - Skills
-------------------------------------------------------- */
.skills {
  position: relative;
  background-color: #F8F7F0;
  overflow: hidden;
}
.skills .part-text h4 {
  font-size: 18px;
  font-weight: 700;
}
.skills .part-skills {
  position: relative;
}
.skills .part-skills .skills-item {
  position: relative;
  width: 100%;
}
.skills .part-skills .skills-item h6 {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.skills .part-skills .skills-item .bar {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 4px;
}
.skills .part-skills .skills-item .bar .fill {
  position: absolute;
  width: 0;
  height: 100%;
  background-color: #B25640;
  border-radius: 4px;
  -webkit-transition: all 3s;
  transition: all 3s;
}
.skills .part-skills .skills-item .bar .fill:before {
  content: attr(data-width);
  position: absolute;
  top: -30px;
  right: -15px;
  color: #222;
  font-size: 12px;
  font-weight: 600;
}
.skills .part-skills .skills-item .bar .fill:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid #B25640;
  position: absolute;
  top: -12px;
  right: -4px;
}

/* -------------------------------------------------------
                   06 - Services
-------------------------------------------------------- */
.services {
  position: relative;
}
.services .box {
  position: relative;
  padding: 50px;
  height: 100%;
  overflow: hidden;
}
.services .box:hover .box-title:before {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-transform: translate3d(100%, 0, 0) scale3d(2, 1, 1);
          transform: translate3d(100%, 0, 0) scale3d(2, 1, 1);
}
.services .box:hover .box-title:after {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
  -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
          transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}
.services .box-title {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
}
.services .box-title:after, .services .box-title:before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transform-origin: left center;
          transform-origin: left center;
  background-color: rgba(178, 86, 64, 0.25);
  -webkit-transition: -webkit-transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  transition: -webkit-transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  transition: transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  transition: transform 0.65s cubic-bezier(0.7, 0, 0.2, 1), -webkit-transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
}
.services .box-title:before {
  -webkit-transform: scale3d(0.13, 1, 1);
          transform: scale3d(0.13, 1, 1);
}
.services .box-title:after {
  -webkit-transform: translate3d(-10px, 0, 0) scale3d(0, 1, 1);
          transform: translate3d(-10px, 0, 0) scale3d(0, 1, 1);
}
.services .services-box {
  position: relative;
  border: 1px solid #fafafa;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.services .services-box .icon {
  position: relative;
}
.services .services-box .icon i,
.services .services-box .icon .service-icon {
  display: inline-block;
  color: #B25640;
  font-size: 38px;
}
.services .services-box .icon .service-icon {
  width: 38px;
  height: 38px;
  vertical-align: middle;
  stroke: currentColor;
}
.services .services-box .text {
  position: relative;
}
.services .services-box .text h4 {
  margin-bottom: 15px;
}
.services .services-box:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-top: 50px solid transparent;
  border-bottom: 50px solid #F8F7F0;
  position: absolute;
  bottom: 4px;
  right: 4px;
}
.services .services-box:hover {
  border-color: rgba(34, 43, 82, 0.12);
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* -------------------------------------------------------
                   07 - Hire Me
-------------------------------------------------------- */
.hire-me {
  position: relative;
  background-attachment: fixed;
}
.hire-me h2 {
  position: relative;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
}
.hire-me p {
  position: relative;
  color: #fff;
}
.hire-me button.btn, .hire-me a.btn {
  background-color: rgba(63, 71, 71, 0.38);
  border: 1px solid rgba(0, 0, 0, 0.28);
}
.hire-me button.btn:hover,
.hire-me button.btn:focus,
.hire-me a.btn:hover,
.hire-me a.btn:focus {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.hire-me button.btn:hover span,
.hire-me button.btn:focus span,
.hire-me a.btn:hover span,
.hire-me a.btn:focus span {
  color: #fff;
}

/* -------------------------------------------------------
                   08 - portfolio
-------------------------------------------------------- */
.portfolio {
  overflow: hidden;
}
.portfolio .filtering {
  border-radius: 28px;
  margin: 0 auto;
  border: 1px dotted #e1e1e1;
}
.portfolio .filtering button {
  position: relative;
  top: -1px;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 30px;
  letter-spacing: 2px;
  color: #7F858D;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.portfolio .filtering .active {
  background-color: #B25640;
  color: #fff;
  border-radius: 28px;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.portfolio .gallery .item-img {
  position: relative;
  overflow: hidden;
}
.portfolio .gallery .item-img a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.portfolio .gallery .item-img .part-img {
  position: relative;
}
.portfolio .gallery .item-img .part-img img {
  width: 100%;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.portfolio .gallery .item-img .part-img .overlay-img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.portfolio .gallery .item-img .part-img .overlay-img:after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 150ms ease-in-out 200ms;
  transition: all 150ms ease-in-out 200ms;
}
.portfolio .gallery .item-img .part-img .overlay-img:before {
  content: '';
  position: absolute;
  right: -100%;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 150ms ease-in-out 200ms;
  transition: all 150ms ease-in-out 200ms;
}
.portfolio .gallery .item-img .part-img .overlay-img a {
  width: 100%;
  height: 100%;
}
.portfolio .gallery .item-img .part-img .overlay-img h4 {
  color: transparent;
  overflow: hidden;
  position: absolute;
  top: 54px;
  right: 25px;
  z-index: 2;
  font-size: 18px;
  -webkit-transition: color 150ms ease-in-out 200ms;
  transition: color 150ms ease-in-out 200ms;
  text-align: center;
  padding: 0 10px;
}
.portfolio .gallery .item-img .part-img .overlay-img h4:before {
  content: '';
  background: #fff;
  bottom: 0;
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  -webkit-transition: right 600ms ease-in-out 0s;
  transition: right 600ms ease-in-out 0s;
}
.portfolio .gallery .item-img .part-img .overlay-img h6 {
  color: transparent;
  overflow: hidden;
  position: absolute;
  top: 30px;
  right: 25px;
  z-index: 2;
  font-size: 18px;
  -webkit-transition: color 150ms ease-in-out 200ms;
  transition: color 150ms ease-in-out 200ms;
  text-align: center;
  padding: 0 10px;
}
.portfolio .gallery .item-img .part-img .overlay-img h6::before {
  content: '';
  background: #fff;
  bottom: 0;
  right: auto;
  position: absolute;
  left: 100%;
  top: 0;
  width: 100%;
  -webkit-transition: left 600ms ease-in-out 0s;
  transition: left 600ms ease-in-out 0s;
}
.portfolio .gallery .item-img:hover img {
  -webkit-transform: none;
          transform: none;
}
.portfolio .gallery .item-img:hover .overlay-img:after {
  left: 0;
  -webkit-transition: all .8s;
  transition: all .8s;
  opacity: 1;
}
.portfolio .gallery .item-img:hover .overlay-img:before {
  right: 0;
  width: 100%;
  height: 50%;
  -webkit-transition: all .8s;
  transition: all .8s;
  opacity: 1;
}
.portfolio .gallery .item-img:hover .overlay-img h4 {
  color: white;
}
.portfolio .gallery .item-img:hover .overlay-img h4:before {
  right: -100%;
}
.portfolio .gallery .item-img:hover .overlay-img h6 {
  color: white;
}
.portfolio .gallery .item-img:hover .overlay-img h6:before {
  left: -100%;
}
.portfolio .work-grid {
  margin-left: 0;
  margin-right: 0;
}
.portfolio .work-card {
  background: #fff;
  border: 1px solid rgba(34, 43, 82, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .2s ease, background-color .2s ease;
  height: 100%;
}
.portfolio .work-card:hover {
  transform: none;
  border-color: rgba(178, 86, 64, 0.45);
  box-shadow: none;
  background: #fff;
}
.portfolio .work-card .work-card-image {
  display: block;
  overflow: hidden;
}
.portfolio .work-card .work-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.portfolio .work-card:hover .work-card-image img {
  transform: none;
}
.portfolio .work-card .work-card-body {
  padding: 18px;
}
.portfolio .work-card .work-card-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.portfolio .work-card .work-card-body h4 a {
  color: #222B52;
}
.portfolio .work-card .work-card-body h4 a:hover {
  color: #B25640;
}
.portfolio .work-card .work-card-body p {
  color: #7F858D;
  font-size: 14px;
  min-height: 66px;
  margin-bottom: 14px;
}
.portfolio .work-card .work-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.portfolio .work-card .work-link-primary,
.portfolio .work-card .work-link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 8px 14px;
  transition: all .2s ease;
}
.portfolio .work-card .work-link-primary {
  background: #B25640;
  border: 1px solid #B25640;
  color: #fff;
}
.portfolio .work-card .work-link-primary:hover {
  background: #fff;
  color: #B25640;
}
.portfolio .work-card .work-link-secondary {
  border: 1px solid rgba(178, 86, 64, 0.35);
  color: #B25640;
  background: #fff;
}
.portfolio .work-card .work-link-secondary:hover {
  border-color: #B25640;
  background: rgba(178, 86, 64, 0.06);
}
/* -------------------------------------------------------
                   Home services (offering cards — not .services-box / Problem)
-------------------------------------------------------- */
.home-services {
  position: relative;
  background-color: rgba(34, 43, 82, 0.035);
  border-top: 1px solid rgba(34, 43, 82, 0.08);
  border-bottom: 1px solid rgba(34, 43, 82, 0.08);
}
.home-services__loading,
.home-services__empty {
  color: #7F858D;
  margin: 0;
}
.home-services__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(34, 43, 82, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.home-services__card:hover {
  border-color: rgba(178, 86, 64, 0.4);
}
.home-services__card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 22px 20px;
  background-color: #fff;
  border-bottom: 1px solid rgba(34, 43, 82, 0.08);
}
.home-services__card-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.home-services__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
}
.home-services__card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #222B52;
  margin: 0 0 10px;
}
.home-services__card-text {
  color: #7F858D;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.home-services__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #B25640;
  transition: color 0.2s ease;
}
.home-services__card-cta::after {
  content: '→';
  font-size: 1.05em;
  line-height: 1;
}
.home-services__card-cta:hover,
.home-services__card-cta:focus {
  color: #222B52;
}
html[dir="rtl"] .home-services__card {
  text-align: right;
}
html[dir="rtl"] .home-services__card-title,
html[dir="rtl"] .home-services__card-text {
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}
html[dir="rtl"] .home-services__card-cta::after {
  content: '←';
}
@media (max-width: 767px) {
  .home-services__card-head {
    min-height: 92px;
    padding: 18px 16px;
  }
  .home-services__card-body {
    padding: 18px 18px 22px;
  }
}
.work-pagination {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.work-pagination .work-page-btn {
  border: 1px solid #d9e0f2;
  background: #fff;
  color: #222B52;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.work-pagination .work-page-btn:hover {
  border-color: #B25640;
  color: #B25640;
}
.work-pagination .work-page-btn.active {
  background: #B25640;
  border-color: #B25640;
  color: #fff;
}
.work-pagination .work-page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* -------------------------------------------------------
                   09 - Testimonial
-------------------------------------------------------- */
.testimonial {
  position: relative;
  background-attachment: fixed;
}
.testimonial .section-title h3 {
  color: #fff;
}
.testimonial .testimonial-item {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 30px;
}
.testimonial .testimonial-item .icon {
  margin-bottom: 20px;
}
.testimonial .testimonial-item .icon i,
.testimonial .testimonial-item .icon .testimonial-quote-icon {
  color: #B25640;
  font-size: 30px;
}
.testimonial .testimonial-item .icon .testimonial-quote-icon {
  display: block;
  width: 30px;
  height: 30px;
}
.testimonial .testimonial-item p {
  max-width: 700px;
  margin: auto;
  color: #fff;
  margin-bottom: 20px;
}
.testimonial .testimonial-item .testimonial-author {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 0 auto 10px;
}
.testimonial .testimonial-item .testimonial-author .part-img {
  display: inline-block;
  float: left;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}
.testimonial .testimonial-item .testimonial-author .part-img img {
  border-radius: 50%;
}
.testimonial .testimonial-item .testimonial-author .text {
  display: inline-block;
  text-align: justify;
}
.testimonial .testimonial-item .testimonial-author .text h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.testimonial .testimonial-item .testimonial-author .text h6 {
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
}
.testimonial .owl-nav .owl-prev, .testimonial .owl-nav .owl-next {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  padding: 0;
  text-align: center;
}
.testimonial .owl-nav .owl-prev i, .testimonial .owl-nav .owl-next i {
  font-size: 10px;
}

/* -------------------------------------------------------
                   10 - Blog
-------------------------------------------------------- */
.blog {
  position: relative;
}
.blog .blog-subsection-head {
  margin-bottom: 28px;
}
.blog .blog-subsection-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7F858D;
  margin-bottom: 8px;
}
.blog .blog-subsection-title {
  font-size: 22px;
  font-weight: 700;
  color: #222B52;
  margin: 0;
}
.blog .blog-roadmap {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: transparent;
}
.blog .blog-roadmap.section-padding {
  padding-left: 0;
  padding-right: 0;
}
.blog .blog-stream.blog-stream--general.blog-stream--after-technical {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
html[dir="rtl"] .blog .blog-subsection-kicker {
  letter-spacing: 0;
}
.blog .blog-item {
  position: relative;
  border: 1px solid #fafafa;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .part-img {
  position: relative;
  margin-bottom: 15px;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .part-img img {
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .part-img .post-info-category {
  position: absolute;
  left: 0;
  bottom: -16px;
}
.blog .blog-item .part-img .post-info-category a {
  background-color: #B25640;
  height: 33px;
  padding: 7px 19px;
  color: #fff;
  font-style: italic;
}
.blog .blog-item .part-img .post-info-category .blog-members-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  margin-top: 6px;
  border-radius: 999px;
  border: 1px solid rgba(178, 86, 64, 0.35);
  background: #fff;
  color: #174dcc;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 6px 10px;
}
html[dir="rtl"] .blog .blog-item .part-img .post-info-category .blog-members-badge {
  margin-left: 0;
  margin-right: 6px;
}
.blog .blog-item .content {
  padding: 20px;
}
.blog .blog-item .content .title {
  margin-bottom: 20px;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .content .title h4 {
  font-size: 16px;
  font-weight: 600;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .content .title h4 a {
  color: #222B52;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog .blog-item .content .title h4:hover a {
  color: #B25640;
}
.blog .blog-item .content .title li {
  position: relative;
  color: #7F858D;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  padding-left: 0px;
  margin-right: 10px;
  display: inline-block;
}
.blog .blog-item .content .title li:nth-child(1) {
  border-right: 1px solid rgba(34, 43, 82, 0.15);
}
.blog .blog-item .content .author {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.blog .blog-item .content .author .part-img {
  width: 35px;
  height: 35px;
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-right: 20px;
  margin-bottom: 0;
}
.blog .blog-item .content .author .part-img img {
  border-radius: 50%;
}
.blog .blog-item .content .author .text {
  display: inline-block;
  margin-top: 10px;
}
.blog .blog-item .content .author .text h5 {
  font-size: 10px;
  font-weight: 800;
}
.blog .blog-item .content .author .text h5 a {
  color: #222B52;
}
.blog .blog-item:hover .part-img img {
  opacity: .7;
}
.blog .blog-item:hover .author .part-img img {
  opacity: 1;
}
.blog-pagination {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .blog-page-btn {
  border: 1px solid #d9e0f2;
  background: #fff;
  color: #222B52;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.blog-pagination .blog-page-btn:hover {
  border-color: #B25640;
  color: #B25640;
}
.blog-pagination .blog-page-btn.active {
  background: #B25640;
  border-color: #B25640;
  color: #fff;
}
.blog-pagination .blog-page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* -------------------------------------------------------
                   11 - Contact
-------------------------------------------------------- */
.contact {
  position: relative;
  background-attachment: fixed;
}
.contact .section-title h3 {
  color: #fff;
}
.contact .part-info {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px;
  margin-bottom: 50px;
}
.contact .part-info .contact-info-grid .contact-info-cell .info-block {
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.28);
}
@media (min-width: 992px) {
  .contact .part-info .contact-info-grid .contact-info-cell:last-child .info-block {
    border-right: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .contact .part-info .contact-info-grid .contact-info-cell:nth-child(2n) .info-block {
    border-right: 0;
  }
  .contact .part-info .contact-info-grid .contact-info-cell:nth-child(n+3) {
    margin-top: 28px;
  }
}
.contact .part-info .info-block .icon i,
.contact .part-info .info-block .icon .contact-icon {
  display: inline-block;
  color: #fff;
  font-size: 38px;
}
.contact .part-info .info-block .icon .contact-icon {
  width: 38px;
  height: 38px;
  vertical-align: middle;
  stroke: currentColor;
}
.contact .part-info .info-block .icon .contact-icon.contact-icon-linkedin,
.contact .part-info .info-block .icon .contact-icon.contact-icon-youtube {
  stroke: none;
  fill: currentColor;
}
.contact .part-info .info-block h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact .part-info .info-block p, .contact .part-info .info-block a {
  color: #fff;
  opacity: .9;
}
.contact .contact-form {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px;
}
.contact .contact-form .help-block li {
  color: red;
  font-size: 12px;
}
.contact .contact-form input, .contact .contact-form textarea {
  color: #fff;
  background: transparent;
  padding: 10px 15px;
  border-radius: 0;
  width: 100%;
  border: transparent;
  border: 1px solid rgba(0, 0, 0, 0.28);
  margin-bottom: 15px;
  font-size: 12px;
}
.contact .contact-form textarea {
  width: 100%;
  min-height: 120px;
  max-height: 120px;
}
.contact .contact-form ::-webkit-input-placeholder {
  color: #fff !important;
}
.contact .contact-form :-ms-input-placeholder {
  color: #fff !important;
}
.contact .contact-form ::-ms-input-placeholder {
  color: #fff !important;
}
.contact .contact-form ::placeholder {
  color: #fff !important;
}
.contact .contact-form ::-webkit-input-placeholder {
  color: #fff !important;
}
.contact .contact-form ::-ms-input-placeholder {
  color: #fff !important;
}
.contact .contact-form ::-webkit-input-placeholder {
  color: #fff !important;
}
.contact .contact-form button.btn, .contact .contact-form a.btn {
  background-color: rgba(63, 71, 71, 0.38);
  border: 1px solid rgba(0, 0, 0, 0.28);
}
.contact .contact-form button.btn:hover,
.contact .contact-form button.btn:focus,
.contact .contact-form a.btn:hover,
.contact .contact-form a.btn:focus {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.contact .contact-form button.btn:hover span,
.contact .contact-form button.btn:focus span,
.contact .contact-form a.btn:hover span,
.contact .contact-form a.btn:focus span {
  color: #fff;
}
.contact .contact-form .messages .alert {
  unicode-bidi: plaintext;
}
.contact .contact-form .messages .alert[dir="rtl"] .close {
  float: left;
}
.contact .contact-form .messages .ticket-inline-code {
  display: inline-block;
  unicode-bidi: isolate;
}
.contact .ticket-lookup-inline {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 18px;
}
.contact .ticket-lookup-inline h5 {
  color: #fff;
  margin-bottom: 6px;
}
.contact .ticket-lookup-inline p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}
html[dir="rtl"] .contact .ticket-lookup-inline h5,
html[dir="rtl"] .contact .ticket-lookup-inline p {
  text-align: right;
}
.academy {
  background: #F8F7F0;
}
.academy .section-title p {
  color: #fff;
  letter-spacing: 2px;
}
.academy-intro {
  padding-right: 20px;
}
.academy-badge {
  background: rgba(178, 86, 64, 0.1);
  color: #B25640;
  border: 1px solid rgba(178, 86, 64, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.academy-feature-list {
  display: grid;
  gap: 18px;
}
.academy-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.academy-action-primary,
.academy-action-secondary {
  border-radius: 12px;
  font-size: 13px;
  padding: 10px 16px;
}
.academy-action-primary {
  background: #B25640;
  border: 1px solid #B25640;
  color: #fff !important;
  box-shadow: none;
}
.academy-action-primary:hover,
.academy-action-primary:focus {
  background: #984a36;
  border-color: #843e2f;
  color: #fff !important;
}
.academy-action-secondary {
  background: #222B52;
  border: 1px solid #222B52;
  color: #fff !important;
}
.academy-action-secondary:hover,
.academy-action-secondary:focus {
  background: #F8F7F0;
  border-color: #B25640;
  color: #222B52 !important;
}
.academy-action-secondary span {
  color: #fff !important;
}
.academy-action-secondary:hover span,
.academy-action-secondary:focus span {
  color: #222B52 !important;
}
.academy-feature {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: none;
  border: 1px solid rgba(34, 43, 82, 0.12);
}
.academy-feature h6 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #222B52;
}
.academy-feature p {
  font-size: 13px;
  color: #7F858D;
}
.academy-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(178, 86, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B25640;
  flex-shrink: 0;
}
.academy-feature-icon svg {
  width: 22px;
  height: 22px;
}
.academy-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: none;
  border: 1px solid rgba(34, 43, 82, 0.12);
}
.academy-form-header h5 {
  margin-bottom: 6px;
  font-size: 20px;
}
.academy-form-header p {
  color: #7F858D;
  margin-bottom: 22px;
}
.academy-field {
  margin-bottom: 18px;
}
.academy-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #222B52;
}
.academy-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8F7F0;
  border: 1px solid rgba(178, 86, 64, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.academy-input:focus-within {
  border-color: rgba(178, 86, 64, 0.6);
  box-shadow: none;
  background: #ffffff;
}
.academy-input input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #222B52;
}
.academy-input input::placeholder {
  color: #7F858D;
}
.academy-input-icon {
  color: #B25640;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.academy-input-icon svg {
  width: 18px;
  height: 18px;
}
.academy-check {
  margin-bottom: 20px;
}
.academy-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7F858D;
}
.academy-check-input {
  width: 18px;
  height: 18px;
  accent-color: #B25640;
}
.academy-submit {
  width: 100%;
}
.academy-note {
  margin-top: 12px;
  font-size: 12px;
  color: #7F858D;
  text-align: center;
}

.linkedin-shell {
  overflow: hidden;
}
.linkedin-carousel .linkedin-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: none;
  border: 1px solid rgba(34, 43, 82, 0.12);
  height: 340px;
  display: flex;
  flex-direction: column;
}
.linkedin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.linkedin-card-header h5 {
  margin: 0;
  font-size: 18px;
}
.linkedin-card-header a {
  color: #B25640;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.linkedin-feed {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  min-height: 220px;
}
.linkedin-cta {
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.linkedin-cta p {
  color: #7F858D;
}
.linkedin-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
  color: #7F858D;
  background: #f7f9ff;
  border: 1px dashed rgba(178, 86, 64, 0.25);
  border-radius: 14px;
  font-size: 13px;
  z-index: 1;
}
.linkedin-feed.ready .linkedin-fallback {
  display: none;
}
.linkedin-carousel .owl-nav {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.linkedin-carousel .owl-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #B25640;
  color: #fff;
  border: none;
}
.linkedin-carousel .owl-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.linkedin-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: rgba(178, 86, 64, 0.3);
  display: block;
  border-radius: 50%;
}
.linkedin-carousel .owl-dots .owl-dot.active span {
  background: #B25640;
}

/* -------------------------------------------------------
                   12 - Footer
-------------------------------------------------------- */
.footer {
  position: relative;
  background-color: #222B52;
  padding: 72px 0 28px;
}
.footer .footer-grid {
  row-gap: 28px;
}
.footer .footer-brand .logo {
  margin-bottom: 18px;
}
.footer .footer-brand .logo img {
  width: 86px;
}
.footer .footer-brand h5 {
  color: #fff;
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer .footer-brand p {
  color: rgba(248, 247, 240, 0.78);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer .footer-cta {
  min-width: 210px;
}
.footer .footer-cta:hover,
.footer .footer-cta:focus {
  background-color: #F8F7F0;
  border-color: #F8F7F0;
  color: #222B52 !important;
}
.footer .footer-cta:hover span,
.footer .footer-cta:focus span {
  color: #222B52 !important;
}
.footer .footer-heading {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer .footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-quick-links li {
  margin-bottom: 10px;
}
.footer .footer-quick-links a {
  color: rgba(248, 247, 240, 0.78);
  font-size: 14px;
  transition: all .3s ease;
}
.footer .footer-quick-links a:hover {
  color: #fff;
}
.footer .footer-contact-wrap p {
  color: rgba(248, 247, 240, 0.78);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.footer .footer-contact-wrap p strong {
  color: #fff;
  margin-right: 4px;
}
.footer .footer-contact-wrap a {
  color: rgba(248, 247, 240, 0.78);
}
.footer .footer-contact-wrap a:hover {
  color: #fff;
}
.footer .scoial-icon {
  position: relative;
  margin-top: 16px;
  display: flex;
  gap: 10px;
}
.footer .scoial-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-sizing: border-box;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.footer .scoial-icon a i,
.footer .scoial-icon a .social-svg {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}
.footer .social-icons a span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.footer .social-icons .social-svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  fill: currentColor;
}
.footer .scoial-icon a:hover {
  color: #B25640;
}
.footer .scoial-icon a:hover i,
.footer .scoial-icon a:hover .social-svg {
  color: #B25640;
  fill: #B25640;
}
.footer .cop {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 22px;
  text-align: center;
}
.footer .cop h6 {
  color: rgba(248, 247, 240, 0.55);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.4px;
}
.footer .cop h6 .footer-heart-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
}
.floating-enamad-badge {
  display: none;
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 1200;
}
.floating-enamad-badge img {
  display: block;
  max-height: 92px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
}
html.lang-fa .floating-enamad-badge {
  display: block;
}
@media (max-width: 767.98px) {
  .floating-enamad-badge {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .floating-enamad-badge img {
    max-height: 72px;
    max-width: 64px;
  }
}
@media (max-width: 575.98px) {
  .floating-enamad-badge {
    left: max(8px, env(safe-area-inset-left));
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .floating-enamad-badge img {
    max-height: 64px;
    max-width: 58px;
  }
}
html[dir="rtl"] .navbar-nav.ml-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}
html[dir="rtl"] .navbar-lang {
  margin-right: 14px;
  margin-left: 0;
}
html[dir="rtl"] .navbar-auth {
  margin-right: 12px;
  margin-left: 0;
}
html[dir="rtl"] .navbar-auth .dropdown-menu {
  text-align: right;
}
html[dir="rtl"] .footer .footer-brand,
html[dir="rtl"] .footer .footer-links-wrap,
html[dir="rtl"] .footer .footer-contact-wrap {
  text-align: right;
}
html[dir="rtl"] .footer .footer-contact-wrap p strong {
  margin-right: 0;
  margin-left: 4px;
}
html[dir="rtl"] .about .part-text,
html[dir="rtl"] .skills .part-text,
html[dir="rtl"] .services .services-box .text,
html[dir="rtl"] .academy-intro,
html[dir="rtl"] .academy-form-card,
html[dir="rtl"] .linkedin-card {
  text-align: right;
}
html[dir="rtl"] .about .part-text .info li .title {
  padding-right: 0;
  padding-left: 5px;
}
html[dir="rtl"] .about .part-text .info li .title:after {
  padding-left: 0;
  padding-right: 5px;
}
html[dir="rtl"] .academy-input {
  flex-direction: row-reverse;
}
html[dir="rtl"] .academy-check-label {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
html[dir="rtl"] .academy-actions {
  justify-content: flex-end;
}
html[dir="rtl"] .academy-feature {
  flex-direction: row-reverse;
  text-align: right;
}
@media (max-width: 991.98px) {
  .footer {
    padding: 58px 0 24px;
  }
  .footer .footer-brand,
  .footer .footer-links-wrap,
  .footer .footer-contact-wrap {
    text-align: center;
  }
  .footer .scoial-icon {
    justify-content: center;
  }
  .footer .footer-cta {
    width: 100%;
    max-width: 320px;
  }
}
@media (max-width: 575.98px) {
  .footer .footer-brand h5 {
    font-size: 19px;
  }
  .footer .footer-heading {
    margin-bottom: 12px;
  }
}
html[dir="rtl"] .footer .footer-quick-links {
  padding-right: 0;
}
@media (max-width: 991.98px) {
  html[dir="rtl"] .footer .footer-brand,
  html[dir="rtl"] .footer .footer-links-wrap,
  html[dir="rtl"] .footer .footer-contact-wrap {
    text-align: center;
  }
}
html[dir="rtl"] .academy-feature {
  align-items: flex-start;
}
html[dir="rtl"] .academy-feature > div {
  text-align: right;
  direction: rtl;
  width: 100%;
}
html[dir="rtl"] .academy-field label,
html[dir="rtl"] .academy-input input,
html[dir="rtl"] .contact .contact-form input,
html[dir="rtl"] .contact .contact-form textarea {
  text-align: right;
}
html[dir="rtl"] .linkedin-card-header {
  flex-direction: row-reverse;
}
html[dir="rtl"] .linkedin-cta {
  text-align: right;
}
html[dir="rtl"] .filtering {
  direction: rtl;
}
html[dir="rtl"] .portfolio .work-card .work-card-body {
  text-align: right;
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}
html[dir="rtl"] .portfolio .work-card .work-card-actions {
  justify-content: flex-start;
}
html[dir="rtl"] .portfolio .work-card .work-card-body h4,
html[dir="rtl"] .portfolio .work-card .work-card-body p,
html[dir="rtl"] .portfolio .work-card .work-link-primary,
html[dir="rtl"] .portfolio .work-card .work-link-secondary {
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}
html[dir="rtl"] body {
  direction: rtl;
  line-height: 1.85;
}
html[dir="rtl"] p {
  line-height: 1.9;
}
html[dir="rtl"] .navbar .nav-item a,
html[dir="rtl"] .section-title p,
html[dir="rtl"] .section-title h3,
html[dir="rtl"] .header .caption h4,
html[dir="rtl"] .header .caption h2,
html[dir="rtl"] .header .caption p,
html[dir="rtl"] .services .services-box h4,
html[dir="rtl"] .services .services-box p,
html[dir="rtl"] .blog .content h4,
html[dir="rtl"] .blog .content p,
html[dir="rtl"] .contact .info-block h5,
html[dir="rtl"] .contact .info-block p,
html[dir="rtl"] .footer .cop h6 {
  letter-spacing: 0;
  text-transform: none;
}
html[dir="rtl"] .section-title,
html[dir="rtl"] .contact .part-info .info-block,
html[dir="rtl"] .blog .content {
  text-align: right;
}
html[dir="rtl"] .header .caption {
  text-align: center;
}
html[dir="rtl"] .header .caption h2 .typed-text {
  margin-left: 10px;
  margin-right: 0;
}
html[dir="rtl"] .header .caption .header-hire-cta {
  direction: rtl;
  text-align: center;
}
html[dir="rtl"] .contact .part-info .info-block .icon {
  margin-left: 12px;
  margin-right: 0;
}
html[dir="rtl"] .blog .content .meta ul {
  padding-right: 0;
}
html[dir="rtl"] .blog .content .author {
  flex-direction: row-reverse;
  text-align: right;
}
html[dir="rtl"] .blog .content .author .part-img {
  margin-left: 12px;
  margin-right: 0;
}
html[dir="rtl"] .contact .contact-form .form-group input,
html[dir="rtl"] .contact .contact-form .form-group textarea {
  padding-right: 18px;
  padding-left: 12px;
}
html[dir="rtl"] .btn span {
  letter-spacing: 0;
}
html[dir="rtl"] .skills .part-skills {
  direction: ltr;
}
html[dir="rtl"] .skills .part-skills .skills-item h6 {
  text-align: right;
  direction: rtl;
}
html[dir="rtl"] .skills .part-skills .skills-item .bar {
  direction: ltr;
}
html[dir="rtl"] .skills .part-skills .skills-item .bar .fill {
  left: 0;
  right: auto;
}
html[dir="rtl"] .skills .part-skills .skills-item .bar .fill:before {
  right: auto;
  left: -15px;
}
html[dir="rtl"] .skills .part-skills .skills-item .bar .fill:after {
  right: auto;
  left: -4px;
}
html[dir="rtl"] .contact .info-block .contact-phone {
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
}

/* -------------------------------------------------------
                   13 - Demo-particles
-------------------------------------------------------- */
.particles-demo #particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* -------------------------------------------------------
                   14 - Theme-review
-------------------------------------------------------- */
.demo-review {
  position: relative;
  height: 50vh;
}
.demo-review .caption {
  text-align: center;
  margin: auto;
}
.demo-review .caption h2 {
  font-size: 32px;
}
.demo-review .part-botton {
  position: relative;
  margin: auto;
}
.demo-review .part-botton a {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  text-align: center;
  border-radius: 24px;
  vertical-align: middle;
  font-size: 12px;
  color: #fff;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.demo-review .part-botton a:hover {
  background-color: #B25640;
  color: #fff;
}

.prt_temp_wrapper {
  position: relative;
}
.prt_temp_wrapper .part {
  position: relative;
  padding: 120px 100px;
  overflow: hidden;
}
.prt_temp_wrapper .part .part-img {
  border-radius: 4px;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.prt_temp_wrapper .part .part-img img {
  border-radius: 4px;
}
.prt_temp_wrapper .part h4 {
  font-size: 24px;
  font-weight: 600;
  position: absolute;
  top: -60px;
  left: -500px;
  margin: 0px auto;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.prt_temp_wrapper .part:hover .part-img {
  -webkit-transform: none;
          transform: none;
}
.prt_temp_wrapper .part:hover h4 {
  left: 0;
}

/* -------------------------------------------------------
                   15 - Blog Page
-------------------------------------------------------- */
.banner {
  position: relative;
  padding: 200px 0 150px;
}
.banner .page-title {
  position: relative;
}
.banner .page-title h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}
.banner .page-title nav {
  position: relative;
}
.banner .page-title nav .ln {
  color: #e1e1e1;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.banner .page-title nav .ln span {
  color: #aaa;
}
.banner .page-title nav .ln a {
  color: inherit;
}
.banner .page-title nav .ln a:hover {
  opacity: .7;
}
.banner .page-title nav .ln a span {
  color: inherit;
}
.banner .page-title nav .sep {
  color: #ddd;
  margin: 0 10px;
}

.blog_area {
  position: relative;
  background-color: #fff;
}
.blog_area .navigation {
  position: relative;
  margin: auto;
}
.blog_area .navigation .page-numbers {
  display: inline-block;
  min-width: 30px;
  margin: 2px;
  padding: 3px 5px;
  border: 1px solid #f1f1f1;
  color: #222B52;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.blog_area .navigation .page-numbers:hover {
  background-color: #B25640;
  border: 1px solid #B25640;
  color: #fff;
}
.blog_area .navigation .page-numbers.current {
  background-color: #B25640;
  border: 1px solid #B25640;
  color: #fff;
}

/* -------------------------------------------------------
                   15 - Single Page
-------------------------------------------------------- */
.s-p-contet {
  position: relative;
}
.s-p-contet .img-area {
  position: relative;
}
.s-p-contet .img-area .meta-categories {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 6px 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f8f8f8;
  font-size: 14px;
  line-height: 1.5;
  pointer-events: none;
  border-radius: 5px;
  background-color: #B25640;
  z-index: 4;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.s-p-contet .img-area .meta-categories a {
  color: inherit;
}
.s-p-contet .post-content {
  position: relative;
}
.s-p-contet .post-content .post-header {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}
.s-p-contet .post-content .post-header .post-meta {
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.s-p-contet .post-content .post-header .post-meta span + span {
  margin-left: 25px;
}
.s-p-contet .post-content .post-header .post-meta span + span a {
  color: inherit;
}
.s-p-contet .post-content .post-header .post-meta span + span a:hover {
  opacity: .7;
}
.s-p-contet .post-content .post-header h4 {
  font-size: 22px;
}
.s-p-contet .post-content .post-entry-content blockquote {
  padding: 30px 0 30px 30px;
  border-left: 4px solid #B25640;
}
.s-p-contet .post-content .post-entry-content h4 {
  font-size: 22px;
}
.s-p-contet .post-content .post-share {
  position: relative;
}
.s-p-contet .post-content .post-share span {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.s-p-contet .post-content .post-share .customer.share {
  color: #fff;
  width: 35px;
  height: 35px;
  display: inline-block;
  border-radius: 30px;
  text-align: center;
  line-height: 35px;
  margin-right: 8px;
}
.s-p-contet .post-content .post-share .customer.share.facebook {
  background: #3b5998;
}
.s-p-contet .post-content .post-share .customer.share.twitter {
  background: #00acee;
}
.s-p-contet .post-content .post-share .customer.share.linkedin {
  background: #0e76a8;
}
.s-p-contet .post-content .post-share .customer.share.google-plus {
  background: #dd4b39;
}
.s-p-contet .post-content .post-tags {
  position: relative;
}
.s-p-contet .post-content .post-tags .tags-name {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.s-p-contet .post-content .post-tags a {
  background-color: #B25640;
  color: #fff;
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 10px;
}
.s-p-contet .post-content .comment-respond {
  position: relative;
}
.s-p-contet .post-content .comment-respond h4 {
  font-size: 22px;
}
.s-p-contet .post-content .comment-respond form input, .s-p-contet .post-content .comment-respond form textarea {
  padding: 10px 15px;
  border-radius: 0;
  width: 100%;
  border: transparent;
  border: 1px solid rgba(0, 0, 0, 0.28);
  margin-bottom: 15px;
  font-size: 12px;
}
.s-p-contet .post-content .comment-respond form textarea {
  width: 100%;
  min-height: 120px;
  max-height: 120px;
}
.s-p-contet .sidebar {
  position: relative;
}
.s-p-contet .sidebar aside {
  background-color: #F8F7F0;
  padding: 30px 20px;
  margin-bottom: 30px;
}
.s-p-contet .sidebar aside .title-side {
  position: relative;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.s-p-contet .sidebar aside .title-side:before {
  content: '';
  position: absolute;
  bottom: 0;
  margin-top: 10px;
  left: 0;
  width: 50px;
  height: 1px;
  background: #999;
}
.s-p-contet .sidebar aside ul li {
  position: relative;
  margin-bottom: 14px;
  color: #505050;
  overflow: hidden;
}
.s-p-contet .sidebar aside ul li a {
  color: inherit;
}
.s-p-contet .sidebar aside ul li .count {
  background-color: #B25640;
  float: right;
  min-width: 20px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  border-radius: 12px;
  line-height: 21px;
}
.s-p-contet .sidebar aside ul li:last-child {
  margin-bottom: 0;
}
.s-p-contet .sidebar aside .recent_posts {
  position: relative;
}
.s-p-contet .sidebar aside .recent_posts article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 70px;
}
.s-p-contet .sidebar aside .recent_posts article .post-thumbnail {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  width: 80px;
  line-height: 0;
}
.s-p-contet .sidebar aside .recent_posts article .post--content {
  padding-left: 15px;
}
.s-p-contet .sidebar aside .recent_posts article .post--content h5 {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
  color: #505050;
}
.s-p-contet .sidebar aside .recent_posts article .post--content h5 a {
  color: inherit;
}
.s-p-contet .sidebar aside .recent_posts article .post--content span {
  display: block;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1;
}
.s-p-contet .sidebar aside .tags {
  position: relative;
}
.s-p-contet .sidebar aside .tags .tagcloud a {
  border: 1px solid #ebebeb;
  font-size: 13px !important;
  color: inherit;
  display: inline-block;
  padding: 8px;
  margin: 0 6px 6px 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.s-p-contet .sidebar aside .tags .tagcloud a:hover {
  background-color: #B25640;
  color: #fff;
}
.s-p-contet .sidebar .search-form-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.s-p-contet .sidebar .search-form-field input[type="text"] {
  padding: 13px 20px;
  color: #606060;
  border-radius: 2px 0 0 2px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
}
.s-p-contet .sidebar .search-form-field button {
  width: auto;
  padding: 18px 25px;
  background-color: #B25640;
  cursor: pointer;
  color: #fff;
  border-right: 0;
  border-radius: 0 2px 2px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: none;
}

/* -------------------------------------------------------
   Roadmap — motion infographic (ivory field, navy road + rust)
-------------------------------------------------------- */
.roadmap-wave {
  position: relative;
  background-color: transparent;
  overflow: hidden;
}
.roadmap-wave__head.section-title {
  margin-bottom: 28px;
}
.roadmap-wave__head.section-title h3,
.roadmap-wave__head.section-title h3 span {
  color: #222B52;
}
.roadmap-wave__head.section-title h3 cite {
  color: #B25640;
}

.roadmap-wave__motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.roadmap-wave__blob {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.roadmap-wave__blob--1 {
  width: 320px;
  height: 320px;
  left: -8%;
  top: 8%;
  background: rgba(34, 43, 82, 0.04);
  animation: roadmap-drift-a 20s ease-in-out infinite;
}
.roadmap-wave__blob--2 {
  width: 240px;
  height: 240px;
  right: -4%;
  top: 22%;
  background: rgba(178, 86, 64, 0.05);
  animation: roadmap-drift-b 17s ease-in-out infinite;
}
.roadmap-wave__blob--3 {
  width: 180px;
  height: 180px;
  left: 38%;
  bottom: -6%;
  background: rgba(34, 43, 82, 0.03);
  animation: roadmap-drift-c 14s ease-in-out infinite;
}
.roadmap-wave__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 43, 82, 0.12);
  display: block;
}
.roadmap-wave__ring--1 {
  width: 120px;
  height: 120px;
  left: 18%;
  top: 42%;
  animation: roadmap-ring-pulse 4.5s ease-in-out infinite;
}
.roadmap-wave__ring--2 {
  width: 88px;
  height: 88px;
  right: 22%;
  bottom: 18%;
  border-color: rgba(178, 86, 64, 0.28);
  animation: roadmap-ring-pulse 4.5s ease-in-out infinite 1.2s;
}

.roadmap-wave__band {
  position: relative;
  min-height: 340px;
  margin: 10px auto 0;
  max-width: 1140px;
  z-index: 1;
}

/* Wave + blobs: same field as the page — no separate “card” behind the graphic */
.roadmap-wave__canvas {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.roadmap-wave__svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 300px;
  position: relative;
  z-index: 0;
}

.roadmap-wave__glow {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.roadmap-wave__progress {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.roadmap-wave__station {
  opacity: 0;
  transform-origin: center;
  transition: fill 0.35s ease, stroke 0.35s ease, r 0.35s ease, opacity 0.35s ease;
}
.roadmap-wave__road,
.roadmap-wave__dash {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.roadmap-wave__road {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.roadmap-wave__dash {
  stroke-dasharray: 14 20;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2.2s ease 0.15s, opacity 0.5s ease;
}
.roadmap-wave.roadmap-wave--inview .roadmap-wave__glow {
  opacity: 1;
}
.roadmap-wave.roadmap-wave--inview .roadmap-wave__road,
.roadmap-wave.roadmap-wave--inview .roadmap-wave__dash {
  opacity: 1;
}
.roadmap-wave.roadmap-wave--inview .roadmap-wave__road {
  stroke-dashoffset: 0;
}
.roadmap-wave.roadmap-wave--inview .roadmap-wave__dash {
  stroke-dashoffset: 0;
}

.roadmap-wave.roadmap-wave--live .roadmap-wave__progress,
.roadmap-wave.roadmap-wave--live .roadmap-wave__station {
  opacity: 1;
}
.roadmap-wave.roadmap-wave--live .roadmap-wave__dash {
  animation: roadmap-dash-march 2.4s linear infinite;
}

/* Journey sync: keep panels fully opaque so titles/body stay readable; use scale + color for hierarchy */
.roadmap-wave--live .roadmap-wave__stop .roadmap-wave__panel {
  opacity: 1;
  transform: scale(0.99);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}
.roadmap-wave--live .roadmap-wave__stop.is-passed .roadmap-wave__panel {
  transform: scale(1);
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__panel {
  transform: scale(1.02);
  border-color: transparent;
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__copy {
  border-color: rgba(178, 86, 64, 0.42);
  box-shadow: 0 4px 18px rgba(178, 86, 64, 0.12);
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__orb {
  background: #fff;
  border-color: #B25640;
  color: #B25640;
  animation: roadmap-orb-active 1.1s ease-in-out infinite;
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__title {
  color: #B25640 !important;
}
.roadmap-wave--live .roadmap-wave__stop:not(.is-passed):not(.is-active) .roadmap-wave__title {
  color: #2a3358 !important;
}
.roadmap-wave--live .roadmap-wave__stop:not(.is-passed):not(.is-active) .roadmap-wave__text {
  color: #49566f !important;
}
.roadmap-wave--live .roadmap-wave__stop.is-passed:not(.is-active) .roadmap-wave__title {
  color: #222B52 !important;
}
.roadmap-wave--live .roadmap-wave__stop.is-passed:not(.is-active) .roadmap-wave__text {
  color: #3d4556 !important;
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__text {
  color: #2b3344 !important;
}
.roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__copy::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  background: linear-gradient(90deg, transparent, #B25640 20%, #B25640 80%, transparent);
}
.roadmap-wave--live .roadmap-wave__station {
  fill: #F8F7F0;
  stroke: #222B52;
  stroke-width: 3;
}
.roadmap-wave--live .roadmap-wave__station.is-passed {
  fill: #B25640;
  stroke: #222B52;
}
.roadmap-wave--live .roadmap-wave__station.is-active {
  fill: #B25640;
  stroke: #F8F7F0;
  stroke-width: 4;
  animation: roadmap-station-pulse 1.1s ease-in-out infinite;
}

@keyframes roadmap-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -18px) scale(1.06); }
}
@keyframes roadmap-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-22px, 14px) scale(0.94); }
}
@keyframes roadmap-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -24px) scale(1.08); }
}
@keyframes roadmap-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.18); opacity: 0.85; }
}
@keyframes roadmap-dash-march {
  to { stroke-dashoffset: -68; }
}
html[dir="rtl"] .roadmap-wave.roadmap-wave--live .roadmap-wave__dash {
  animation-direction: reverse;
}
@keyframes roadmap-orb-active {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes roadmap-station-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 1; }
}

.roadmap-wave__stops {
  list-style: none !important;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.roadmap-wave__stops > * {
  pointer-events: auto;
}

.roadmap-wave__panel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 38px 16px 18px;
  border-radius: 0;
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
  isolation: isolate;
}

.roadmap-wave__orb-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.roadmap-wave__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 4px auto 0;
  padding: 12px 14px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(34, 43, 82, 0.1);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(34, 43, 82, 0.07);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.roadmap-wave__copy::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: min(88%, 200px);
  height: 2px;
  transform: translateX(-50%) scaleX(0.35);
  border-radius: 2px;
  opacity: 0.35;
  background: linear-gradient(90deg, transparent, rgba(34, 43, 82, 0.22) 25%, rgba(34, 43, 82, 0.22) 75%, transparent);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.45s ease;
}
.roadmap-wave__title {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #222B52 !important;
  margin: 0 0 8px;
  line-height: 1.35;
  transition: color 0.35s ease;
}
.roadmap-wave__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3d475c !important;
  transition: color 0.35s ease;
}
html[dir="rtl"] .roadmap-wave__title,
html[dir="rtl"] .roadmap-wave__text {
  font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}

.roadmap-wave__orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #B25640;
  border: 2px solid rgba(248, 247, 240, 0.95);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(34, 43, 82, 0.08);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.roadmap-wave__orb:hover {
  transform: none;
  background: #984a36;
  border-color: #F8F7F0;
  box-shadow: 0 0 0 1px rgba(34, 43, 82, 0.12);
}
.roadmap-wave__orb svg {
  display: block;
}

@media (min-width: 992px) {
  .roadmap-wave__band {
    min-height: 380px;
  }
  .roadmap-wave__canvas {
    min-height: 300px;
    margin: 0;
  }
  .roadmap-wave__svg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-44%);
    min-height: 260px;
    max-height: none;
    z-index: 0;
  }
  html[dir="rtl"] .roadmap-wave__svg {
    transform: translateY(-44%) scaleX(-1);
  }

  .roadmap-wave__panel {
    max-width: 278px;
  }

  .roadmap-wave__stop {
    position: absolute;
    width: 30%;
    max-width: 300px;
    opacity: 0;
  }
  .roadmap-wave__stop:nth-child(1) {
    transition: opacity 0.7s ease 0.12s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
  }
  .roadmap-wave__stop:nth-child(2) {
    transition: opacity 0.7s ease 0.28s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
  }
  .roadmap-wave__stop:nth-child(3) {
    transition: opacity 0.7s ease 0.44s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.44s;
  }

  .roadmap-wave__stop--high {
    left: 2%;
    top: 50%;
    transform: translateY(calc(-50% + 24px));
  }
  .roadmap-wave__stop--low {
    left: 50%;
    top: 56%;
    transform: translate(-50%, calc(-50% + 24px));
  }
  .roadmap-wave__stop--high:last-child {
    left: auto;
    right: 2%;
  }

  .roadmap-wave.roadmap-wave--inview .roadmap-wave__stop--high {
    opacity: 1;
    transform: translateY(-50%);
  }
  .roadmap-wave.roadmap-wave--inview .roadmap-wave__stop--low {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  html[dir="rtl"] .roadmap-wave__stop--high {
    left: auto;
    right: 2%;
  }
  html[dir="rtl"] .roadmap-wave__stop--high:last-child {
    right: auto;
    left: 2%;
  }
}

/* ----- Mobile: panels stack (same “on-road” look) ----- */
@media (max-width: 991px) {
  .roadmap-wave__band {
    min-height: 0;
    padding-bottom: 8px;
  }
  .roadmap-wave__canvas {
    margin: 0;
    border-radius: 0;
  }
  .roadmap-wave__svg {
    display: block;
    position: relative;
    transform: none;
    top: auto;
    max-height: 140px;
    min-height: 120px;
    margin: 0;
    opacity: 0.85;
  }
  html[dir="rtl"] .roadmap-wave__svg {
    transform: scaleX(-1);
  }
  .roadmap-wave__stops {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 0 4px 0 22px;
    margin-top: 6px;
    z-index: 2;
  }
  html[dir="rtl"] .roadmap-wave__stops {
    padding: 0 22px 0 4px;
  }
  .roadmap-wave--live .roadmap-wave__stops::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 28px;
    bottom: 28px;
    width: 3px;
    border-radius: 3px;
    background: rgba(34, 43, 82, 0.12);
  }
  html[dir="rtl"] .roadmap-wave--live .roadmap-wave__stops::before {
    left: auto;
    right: 5px;
  }
  .roadmap-wave--live .roadmap-wave__stops::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 28px;
    width: 3px;
    height: calc((100% - 56px) * var(--journey-progress, 0));
    border-radius: 3px;
    background: #B25640;
    transition: height 0.2s linear;
  }
  html[dir="rtl"] .roadmap-wave--live .roadmap-wave__stops::after {
    left: auto;
    right: 5px;
  }
  .roadmap-wave__stop {
    position: relative;
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto;
    margin-right: auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .roadmap-wave.roadmap-wave--inview .roadmap-wave__stop {
    opacity: 1;
    transform: translateY(0) !important;
  }
  .roadmap-wave__panel {
    max-width: none;
    padding: 42px 18px 16px;
  }
  .roadmap-wave__title {
    font-size: 18px;
  }
  .roadmap-wave__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .roadmap-wave__orb {
    width: 58px;
    height: 58px;
  }
  html[dir="rtl"] .roadmap-wave__stop {
    transform: translateY(14px);
  }
  html[dir="rtl"] .roadmap-wave.roadmap-wave--inview .roadmap-wave__stop {
    transform: translateY(0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-wave__blob,
  .roadmap-wave__ring {
    animation: none !important;
  }
  .roadmap-wave__road,
  .roadmap-wave__dash,
  .roadmap-wave__glow {
    transition: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .roadmap-wave__progress {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
  .roadmap-wave__station {
    opacity: 1 !important;
  }
  .roadmap-wave__stop {
    opacity: 1 !important;
  }
  .roadmap-wave--live .roadmap-wave__stop .roadmap-wave__panel,
  .roadmap-wave--live .roadmap-wave__stop.is-active .roadmap-wave__panel {
    opacity: 1 !important;
    transform: none !important;
  }
  .roadmap-wave__orb {
    animation: none !important;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 992px) {
  .roadmap-wave__stop--high {
    transform: translateY(-50%) !important;
  }
  .roadmap-wave__stop--low {
    transform: translate(-50%, -50%) !important;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 991px) {
  .roadmap-wave__stop {
    transform: none !important;
  }
}
