/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red !important; */
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* با توجه به height هدر + nav (قابل تنظیم) */
}

/* BASE */
body {
  font-family: "Vazirmatn", sans-serif;
  background: #fff;
  color: #0f172a;
  overflow-x: hidden;
  color: #a3a3a3;
}
i {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------------HEADER ----------------- */

/* ===========================
   HEADER (GLASS + SCROLL)
=========================== */
/* =========================================================
   HEADER + OFFCANVAS (Optimized, Solid Dark Offcanvas)
   Works with Bootstrap Offcanvas + Navbar
========================================================= */

/* --------- VARIABLES --------- */
:root {
  --ep-accent: #00a3ff;
  --ep-blue: #318fe3;

  --ep-dark: #071a33; /* offcanvas solid background */
  --ep-dark-2: #0a2140;
  --ep-text-light: rgba(255, 255, 255, 0.92);
  --ep-text-light-soft: rgba(255, 255, 255, 0.62);

  --ep-text-dark: #0f172a;
  --ep-border-light: rgba(255, 255, 255, 0.12);
  --ep-border-dark: rgba(15, 23, 42, 0.12);

  --ep-radius: 5px;
  --ep-radius-sm: 5px;

  --ep-shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.35);
  --ep-shadow-md: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* --------- Z-INDEX (ALWAYS ON TOP) --------- */
.glassy-nav {
  z-index: 2147483646 !important;
}

.ep-offcanvas.offcanvas {
  z-index: 2147483647 !important;
}
/* 
.offcanvas-backdrop {
  z-index: 2147483645 !important;
} */

/* =========================================================
   HEADER
========================================================= */
.glassy-nav {
  padding: 0.55rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Optional: make header slightly readable on top of hero */
.glassy-nav:not(.scrolled) {
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(110%);
}

/* On scroll -> white */
.glassy-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Brand */
.brand-logo {
  height: 40px;
  width: auto;
}

/* Nav links */
.glassy-nav .nav-link {
  font-weight: 700;
  color: #fff !important;
  position: relative;
  padding: 0.35rem 0.15rem;
  transition: color 0.25s ease;
}

.glassy-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--ep-accent);
  transition: width 0.3s ease;
}
.glassy-nav .nav-link:hover::after {
  width: 100%;
}

/* scrolled link color */
.glassy-nav.scrolled .nav-link {
  color: #111 !important;
}

/* Desktop button */
.glassy-nav .btn-outline-glass {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 5px;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease;
}
.glassy-nav .btn-outline-glass:hover {
  background: rgba(0, 163, 255, 0.16);
  border-color: var(--ep-accent);
  /* transform: translateY(-1px); */
}

.glassy-nav.scrolled .btn-outline-glass {
  color: #111;
  background: #f2f4f7;
  border-color: rgba(0, 0, 0, 0.18);
}

/* Toggler / offcanvas trigger icon */
.ep-oc-trigger i {
  font-size: 2rem;
  color: #fff !important;
}
.glassy-nav.scrolled .ep-oc-trigger i {
  color: #318fe3 !important;
}

/* Remove bootstrap focus ring on toggler */
.glassy-nav .navbar-toggler:focus,
.glassy-nav .navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* =========================================================
   OFFCANVAS (SOLID DARK BLUE, NOT GLASS)
========================================================= */
.ep-offcanvas {
  width: min(92vw, 380px);
  border: 0 !important;

  background: white !important;
  color: var(--ep-text-light);

  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.55);
}

/* kill any “aura” or glass leftovers */
.ep-offcanvas::before {
  content: none !important;
}
.ep-offcanvas * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Offcanvas scrollbar (nice on dark) */
.ep-offcanvas .offcanvas-body {
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar {
  width: 10px;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Top area */
.ep-offcanvas__top {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 14px 16px 12px;
  background: var(--ep-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo + title */
.ep-oc-logo {
  height: 28px;
  width: auto;
}
.ep-oc-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ep-text-light);
}

/* Divider */
.ep-oc-divider {
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.1);
}

/* Close button */
.ep-oc-close {
  width: 38px;
  height: 38px;
  border-radius: var(--ep-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-close:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(90, 167, 255, 0.35);
}
.ep-oc-close i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Body */
.ep-offcanvas__body {
  padding: 14px 16px 18px;
}

/* Auth card */
.ep-oc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: var(--ep-text-light);
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-auth:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(90, 167, 255, 0.35);
}

.ep-oc-auth__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ep-oc-auth__icon i {
  color: #5aa7ff;
  font-size: 1.1rem;
}
.ep-oc-auth__text {
  font-weight: 900;
}
.ep-oc-auth__chev {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.ep-oc-section {
  margin-top: 14px;
}
.ep-oc-section__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

/* Links */
.ep-oc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;

  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-link:hover {
  /* transform: translateY(-1px); */
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(90, 167, 255, 0.35);
}
.ep-oc-link i {
  font-size: 1.05rem;
  color: #5aa7ff;
}
.ep-oc-link__chev {
  margin-right: auto;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.62);
}

/* CTA box */
.ep-oc-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid rgba(90, 167, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.ep-oc-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-weight: 900;
  border-radius: 5px;

  padding: 12px 14px;
  background: var(--ep-blue);
  color: #fff;

  box-shadow: 0 12px 26px rgba(49, 143, 227, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.ep-oc-cta__btn:hover {
  /* transform: translateY(-1px); */
  filter: brightness(0.98);
}

.ep-oc-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

/* Backdrop (darker + premium) */
.offcanvas-backdrop.show {
  opacity: 0.78;
  background-color: #000;
}

/* =========================================================
   MOBILE POLISH
========================================================= */
@media (max-width: 991.98px) {
  /* You wanted mobile header white */
  .glassy-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }

  .glassy-nav .nav-link {
    color: #111 !important;
    font-size: 1.05rem;
  }

  .glassy-nav .btn-outline-glass {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111;
  }
  .glassy-nav .btn-outline-glass:hover {
    background: #e5e7eb;
    border-color: #cbd5e1;
    color: #000;
  }

  /* toggler icon always dark on mobile */
  .ep-oc-trigger i {
    color: #111;
  }

  .brand-logo {
    height: 34px;
  }
}

@media (max-width: 420px) {
  .ep-offcanvas {
    width: 92vw;
  }
  .brand-logo {
    height: 32px;
  }
}

.ep-offcanvas.offcanvas {
  --bs-offcanvas-width: 290px !important;
  width: 290px !important;
  max-width: 88vw !important;
}
/* =========================================================
   OFFCANVAS (WHITE THEME - SOLID, NOT GLASS)
========================================================= */

:root {
  --ep-oc-bg: #ffffff;
  --ep-oc-bg-2: #f6f8fc; /* subtle section bg */
  --ep-oc-text: rgba(15, 23, 42, 0.92);
  --ep-oc-text-soft: rgba(15, 23, 42, 0.62);
  --ep-oc-border: rgba(15, 23, 42, 0.1);
  --ep-oc-border-2: rgba(15, 23, 42, 0.08);
  --ep-oc-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
}

/* ✅ Always above everything */
.glassy-nav {
  z-index: 2147483646 !important;
}
.ep-offcanvas.offcanvas {
  z-index: 2147483647 !important;
}

/* ✅ Prevent mobile full width (Bootstrap default) */
.ep-offcanvas.offcanvas {
  --bs-offcanvas-width: 290px !important;
  width: var(--bs-offcanvas-width) !important;
  max-width: 88vw !important;
}

/* Panel base */
.ep-offcanvas {
  border: 0 !important;
  background: var(--ep-oc-bg) !important;
  color: var(--ep-oc-text) !important;
  box-shadow: var(--ep-oc-shadow);
}

/* kill any “aura/glass” */
.ep-offcanvas::before {
  content: none !important;
}
.ep-offcanvas * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrollbar (light) */
.ep-offcanvas .offcanvas-body {
  scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar {
  width: 10px;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Top sticky area */
.ep-offcanvas__top {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 14px 16px 12px;
  background: var(--ep-oc-bg) !important;
  border-bottom: 1px solid var(--ep-oc-border-2);
}

/* Title text in header */
.ep-oc-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ep-oc-text);
}

/* Divider */
.ep-oc-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--ep-oc-border-2);
}

/* Close button (white theme) */
.ep-oc-close {
  width: 38px;
  height: 38px;
  border-radius: var(--ep-radius-sm);
  border: 1px solid var(--ep-oc-border);
  background: var(--ep-oc-bg-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-close:hover {
  /* transform: translateY(-1px); */
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-close i {
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.82);
}

/* Body padding */
.ep-offcanvas__body {
  padding: 14px 16px 18px;
}

/* Auth card (white theme) */
.ep-oc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: var(--ep-oc-bg-2);
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);

  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-auth:hover {
  /* transform: translateY(-1px); */
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-auth__icon {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: grid;
  place-items: center;

  background: #ffffff;
  border: 1px solid rgba(49, 143, 227, 0.18);
}
.ep-oc-auth__icon i {
  color: var(--ep-blue);
  font-size: 1.1rem;
}
.ep-oc-auth__text {
  font-weight: 900;
  color: var(--ep-oc-text);
}
.ep-oc-auth__chev {
  margin-right: auto;
  color: rgba(15, 23, 42, 0.5);
}

/* Section titles */
.ep-oc-section {
  margin-top: 14px;
}
.ep-oc-section__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ep-oc-text-soft);
  margin-bottom: 10px;
}

/* Links (white theme) */
.ep-oc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: var(--ep-radius);

  background: #ffffff;
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);

  margin-bottom: 10px;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}
.ep-oc-link:hover {
  /* transform: translateY(-1px); */
  background: #f2f7ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-link i {
  font-size: 1.05rem;
  color: var(--ep-blue);
}
.ep-oc-link__chev {
  margin-right: auto;
  opacity: 0.75;
  color: rgba(15, 23, 42, 0.55);
}

/* CTA box (white theme) */
.ep-oc-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid rgba(49, 143, 227, 0.2);
  background: linear-gradient(180deg, #f6f9ff, #ffffff);
}
.ep-oc-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  font-weight: 900;
  border-radius: 5px;

  padding: 12px 14px;
  background: var(--ep-blue);
  color: #fff;

  box-shadow: 0 12px 26px rgba(49, 143, 227, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.ep-oc-cta__btn:hover {
  /* transform: translateY(-1px); */
  filter: brightness(0.98);
}
.ep-oc-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ep-oc-text-soft);
}

/* Backdrop (premium, not too dark) */
.offcanvas-backdrop.show {
  opacity: 0.55;
  background-color: #000;
}

/* Tiny screens */
@media (max-width: 420px) {
  .ep-offcanvas.offcanvas {
    --bs-offcanvas-width: 280px !important;
    max-width: 90vw !important;
  }
}

/* HERO WRAPPER (taller) */
.about-hero {
  position: relative;
  background: url("/src/img/eskanParsBgImage.jpg") center/cover no-repeat;
  color: #f9fafb;

  /* ✅ more height */
  min-height: 52vh; /* add height */
  display: flex;
  align-items: center;

  /* keep your spacing but slightly bigger */
  padding: clamp(7rem, 20vh, 10rem) 0 clamp(3.5rem, 12vh, 6rem);
  overflow: hidden;
}

/* overlay (unchanged) */
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      160deg,
      rgba(15, 23, 42, 0.52),
      rgba(15, 23, 42, 0.42)
    ),
    radial-gradient(circle at 10% 0%, rgba(93, 173, 236, 0.35), transparent 60%);
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
}

/* ---------- Large screens (1400px+) ---------- */

/* ---------- Tablets (1024px and down) ---------- */

/* ---------- Small tablets / large phones ---------- */
@media (max-width: 768px) {
  .about-hero {
    min-height: 50vh;
    padding: 6rem 1.25rem 3.5rem;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .about-hero {
    min-height: 45vh;
    padding: 5rem 1rem 3rem;
  }
}

/* ✅ PIPE: move it a bit down */
.bluePipe {
  display: inline-block;
  width: 3px;
  height: 1.15em;
  border-radius: 999px;
  background: #fff;

  /* ✅ push down slightly */
  transform: translateY(0.36em);
  margin-inline: 10px; /* keep breathing room */
}
/* ///////////////// ABOUT INTRO – What We Do (Trendy) ///////////////// */

.about-intro {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(93, 173, 236, 0.09),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 23, 42, 0.05),
      transparent 55%
    ),
    #ffffff;
  padding: clamp(3.5rem, 8vh, 5rem) 0;
}

/* TEXT CARD */
.intro-card {
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(49, 143, 227, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff, #f9fcff);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

/* خط آبی باریک کنار کارت – حس برَندینگ */
.intro-card::before {
  content: "";
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #318fe3, #5dadec);
}

/* TITLE */
.intro-card h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: #0f172a;
}

/* TEXT */
.intro-card p {
  font-size: 0.96rem;
  line-height: 1.9;
  color: #4b5563;
}

/* تصویر سمت راست */
.intro-figure {
  text-align: center;
}

.intro-figure img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* افکت hover روی دسکتاپ */
@media (hover: hover) {
  .intro-figure img:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(49, 143, 227, 0.35);
  }
}

/* ---------- RESPONSIVE ---------- */

/* موبایل / تبلت: متن وسط‌چین و فاصله‌ها نرم‌تر */
@media (max-width: 991.98px) {
  .about-intro {
    padding: 3rem 0;
  }

  .intro-card {
    margin-top: 0.5rem;
    text-align: center;
  }

  .intro-card::before {
    inset-inline-start: auto;
    inset-inline: 40% 40%;
    inset-block-end: 0;
    height: 3px;
    width: auto;
    background: linear-gradient(90deg, #318fe3, #5dadec);
  }
}

/* خیلی کوچک‌ها */
@media (max-width: 575.98px) {
  .intro-card {
    padding: 1.5rem 1.3rem !important;
    border-radius: 5px;
  }

  .intro-card h2 {
    font-size: 1.25rem;
  }

  .intro-card p {
    font-size: 0.9rem;
  }

  .intro-figure img {
    border-radius: 5px;
  }
}
/* ///////////////// ABOUT VALUES – Trendy Cards ///////////////// */

.about-values {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(49, 143, 227, 0.08),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 23, 42, 0.05),
      transparent 55%
    ),
    #ffffff;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
}

/* عنوان و خط کنار آن */
.about-values h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: #0f172a;
}

/* خط آبی کنار تیتر */
.title-accent {
  display: inline-block;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #318fe3, #5dadec);
}

/* VALUE CARD BASE */
.value-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(49, 143, 227, 0.09),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff, #f9fcff);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* hover effect */
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(49, 143, 227, 0.25);
  border-color: rgba(49, 143, 227, 0.8);
}

/* ICON WRAP */
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff,
    rgba(49, 143, 227, 0.2)
  );
  color: #318fe3;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.value-icon i {
  font-size: 1.6rem;
}

/* TEXTS */
.value-card h5 {
  font-size: 1rem;
  color: #0f172a;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #4b5563;
}

/* ---------- RESPONSIVE ---------- */

/* بین موبایل و تبلت */
@media (max-width: 991.98px) {
  .about-values {
    padding: 3rem 0;
  }

  .about-values .d-flex.align-items-center {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .about-values h2 {
    font-size: 1.4rem;
  }
}

/* موبایل کوچک */
@media (max-width: 575.98px) {
  .about-values {
    padding: 2.75rem 0;
  }

  .value-card {
    padding: 1.4rem 1.1rem;
    border-radius: 5px;
  }

  .value-icon {
    width: 46px;
    height: 46px;
    border-radius: 5px;
  }

  .value-icon i {
    font-size: 1.4rem;
  }

  .value-card h5 {
    font-size: 0.95rem;
  }

  .value-card p {
    font-size: 0.86rem;
  }
}

/* =================== bookamrk ================= */

.ep-aboutNav {
  position: sticky;
  top: 84px; /* اگر هدر ثابت داری، اینو با ارتفاع هدر هماهنگ کن */
  z-index: 1020;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ep-aboutNav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 12px;

  border: 1px solid rgba(49, 143, 227, 0.22);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: grid;
  gap: 10px;
}

.ep-aboutNav__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 950;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.78);
}

.ep-aboutNav__label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.ep-aboutNav__links {
  display: flex;
  gap: 8px;
  align-items: center;

  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.ep-aboutNav__links::-webkit-scrollbar {
  display: none;
}

.ep-aboutNav__link {
  flex: 0 0 auto;
  text-decoration: none;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 850;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.78);

  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ep-aboutNav__link:hover {
  border-color: rgba(49, 143, 227, 0.32);
}

.ep-aboutNav__link.is-active {
  color: #fff;
}

/* موبایل: کمی فشرده‌تر */
@media (max-width: 575.98px) {
  .ep-aboutNav {
    top: 74px;
  }
  .ep-aboutNav__link {
    padding: 7px 10px;
    font-size: 0.86rem;
  }
}
.ep-aboutNav__link {
  position: relative;
  flex: 0 0 auto;
  text-decoration: none;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 850;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.78);

  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

/* underline base (hidden) */
.ep-aboutNav__link::after {
  content: "";
  position: absolute;

  left: 50%;
  right: 50%;
  bottom: 6px; /* زیر متن داخل pill */
  height: 2px;
  border-radius: 999px;

  background: #3490e3;
  opacity: 0;

  transition: left 180ms ease, right 180ms ease, opacity 140ms ease;
}

/* hover / focus -> underline opens left & right */
.ep-aboutNav__link:hover,
.ep-aboutNav__link:focus-visible {
  color: rgba(15, 23, 42, 0.9);
}

.ep-aboutNav__link:hover::after,
.ep-aboutNav__link:focus-visible::after {
  left: 12px;
  right: 12px;
  opacity: 1;
}

/* click feel (optional) */
.ep-aboutNav__link:active::after {
  left: 18px;
  right: 18px;
  opacity: 1;
}

/* manual active (اگر خواستی خودت با کلاس ست کنی) */
.ep-aboutNav__link.is-active {
  border-color: rgba(49, 143, 227, 0.38);
  color: rgba(15, 23, 42, 0.95);
}

.ep-aboutNav__link.is-active::after {
  left: 12px;
  right: 12px;
  opacity: 1;
}
/* =================== bookamrk ================= */

/* ////////////////////// ABOUT STORY – Timeline Style ////////////////////// */

.about-story {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(49, 143, 227, 0.08),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 23, 42, 0.05),
      transparent 55%
    ),
    #ffffff;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
  position: relative;
}

/* تیتر اصلی */
.about-story h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: #0f172a;
}

/* خط تایم‌لاین (فقط دسکتاپ/تبلت) */
.about-story::before {
  content: "";
  position: absolute;
  top: 6.5rem;
  bottom: 2rem;
  /* چون RTL هست، خط سمت راست بیاد */
  right: clamp(1.25rem, 4vw, 2.5rem);
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(148, 163, 184, 0.4),
    rgba(148, 163, 184, 0.1)
  );
  pointer-events: none;
}

/* بلاک‌های داستان */
.about-block {
  position: relative;
  margin-right: clamp(2.3rem, 5vw, 3.2rem); /* از خط فاصله بگیره */
  padding: 1.4rem 1.4rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, #ffffff, #f9fcff);
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* دایره‌های تایم‌لاین کنار هر بلاک */
.about-block::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: calc(-1.15rem); /* روی خط تایم‌لاین بنشیند */
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #318fe3;
  box-shadow: 0 0 0 4px rgba(49, 143, 227, 0.25);
}

/* افکت هاور برای کارت‌ها */
.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(49, 143, 227, 0.2);
  border-color: rgba(49, 143, 227, 0.85);
}

/* تیترهای داخلی */
.about-block h5 {
  font-size: 1rem;
  color: #0f172a;
}

/* متن داخلی */
.about-block p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 0;
}

/* رنگ آبی تم (اگر قبلاً تعریف نشده) */
.text-primary-blue {
  color: #318fe3 !important;
}

/* ---------- ریسپانسیو ---------- */

/* تبلت و پایین‌تر: خط تایم‌لاین حذف، کارت‌ها فول‌عرض و نفس‌کش‌تر */
@media (max-width: 991.98px) {
  .about-story::before {
    display: none;
  }

  .about-block {
    margin-right: 0;
    border-radius: 5px;
  }
}

/* موبایل کوچک */
@media (max-width: 575.98px) {
  .about-story {
    padding: 2.75rem 0;
  }

  .about-story h2 {
    font-size: 1.3rem;
  }

  .about-block {
    padding: 1.2rem 1rem;
  }

  /* .about-block::before {
    right: 0.75rem;
  } */

  .about-block h5 {
    font-size: 0.95rem;
  }

  .about-block p {
    font-size: 0.86rem;
  }
}

/* ////////////////////// ABOUT CTA – Trendy Glass ////////////////////// */

.about-cta {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 23, 42, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, #5dadec, #3c8bc6);
  color: #ffffff;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
}

/* کارت داخل CTA */
.cta-wrap {
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.16),
      transparent 55%
    ),
    linear-gradient(150deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.18));
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.45);
  position: relative;
  overflow: hidden;
  gap: 1.5rem;
}

/* نوار نور نرم گوشه کارت */
.cta-wrap::before {
  content: "";
  position: absolute;
  inset-inline-end: -40%;
  inset-block-start: -40%;
  width: 65%;
  height: 65%;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(93, 173, 236, 0.5),
    transparent 60%
  );
  opacity: 0.6;
  pointer-events: none;
}

/* متن داخل CTA */
.about-cta h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.about-cta p {
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 620px;
  color: #e5f2ff;
}

/* دکمه گفت‌وگو با ما */
.cta-btn {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  border-radius: 999px; /* قرصی و ترندی */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-btn i {
  font-size: 1.1rem;
}

/* Hover */
.cta-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.5);
}

/* ------------- ریسپانسیو ------------- */

@media (max-width: 991.98px) {
  .cta-wrap {
    text-align: center;
    flex-direction: column;
    align-items: center !important;
  }

  .about-cta p {
    margin-inline: auto;
  }

  .cta-btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 575.98px) {
  .about-cta {
    padding: 2.8rem 0;
  }

  .cta-wrap {
    border-radius: 5px;
    padding: 1.6rem 1.4rem !important;
    gap: 1.1rem;
  }

  .about-cta h3 {
    font-size: 1.1rem;
  }

  .about-cta p {
    font-size: 0.88rem;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
  }
}

/* ================== know us =========  */

/* =========================
   Know Us Section (simple)
========================= */
.ep-knowUs {
  padding: clamp(2.2rem, 6vh, 3.4rem) 0;
}

/* make sure the grid behaves nicely */
.ep-knowUs .row {
  --bs-gutter-x: 1.25rem; /* tighter than default if you want */
  --bs-gutter-y: 1rem;
}

/* TEXT */
.ep-knowUs__title {
  margin: 0 0 0.9rem;
  font-weight: 900;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: black;
  text-align: right;
}

.ep-knowUs__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: var(--ep-ink-muted);
  text-align: right;

  /* ✅ better readability on wide screens */
  max-width: 62ch;
}

/* IMAGE */
.ep-knowUs__img {
  width: 100%;
  max-width: 100%;
  display: block;

  /* ✅ responsive height without weird stretching */
  aspect-ratio: 16 / 10; /* desktop-ish */
  height: auto;

  object-fit: cover;
  border-radius: calc(var(--ep-radius));
  border: 1px solid var(--ep-border);
  box-shadow: var(--ep-shadow-1);
}

/* ✅ Desktop refinement */
@media (min-width: 992px) {
  .ep-knowUs .row {
    align-items: center;
  }

  .ep-knowUs__img {
    aspect-ratio: 4 / 3; /* more “card photo” feel on desktop */
  }
}

/* ✅ Mobile / Tablet */
@media (max-width: 991.98px) {
  .ep-knowUs {
    padding: 2rem 0;
  }

  .ep-knowUs__title,
  .ep-knowUs__text {
    text-align: right;
  }

  .ep-knowUs__img {
    /* ✅ nicer hero-style image on mobile */
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--ep-radius));
  }
}

/* ✅ Very small phones */
@media (max-width: 360px) {
  .ep-knowUs__title {
    font-size: 1.25rem;
  }

  .ep-knowUs__text {
    font-size: 0.92rem;
    line-height: 1.9;
  }
}
/* =============== know us =============== */

/* =============== our story ========== */

/* =========================
   OUR STORY — Split Card (Fully Responsive)
   ✅ keeps YOUR exact HTML/content
   ✅ no overflow on any width
   ✅ image always fits
   ✅ clean stack on mobile
========================= */

.ep-story2 {
  padding: clamp(2.2rem, 6vh, 3.6rem) 0;
}

/* Card */
.ep-story2__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); /* ✅ prevents overflow */
  gap: clamp(12px, 2vw, 22px);
  align-items: stretch;

  border-radius: calc(var(--ep-radius));
  border: 1px solid var(--ep-border);
  box-shadow: var(--ep-shadow-1);
  overflow: hidden;
  background: var(--ep-surface);

  /* ✅ makes the two panels look like one piece even when gap exists */
  padding: 0;
}

/* Image panel */
.ep-story2__imgBox {
  position: relative;

  /* ✅ responsive image height without weird jumps */
  min-height: clamp(220px, 34vw, 360px);

  /* ✅ important for overflow safety */
  min-width: 0;
}

.ep-story2__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* subtle overlay on image so text side feels connected */
.ep-story2__imgBox::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.22), transparent 58%);
}

/* Text panel */
.ep-story2__content {
  min-width: 0; /* ✅ prevents long text overflow */
  padding: clamp(16px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* ✅ ensures nice spacing on short screens */
  gap: 0;
}

.ep-story2__title {
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: black;
  text-align: right;

  /* ✅ prevents weird breaks */
  text-wrap: balance;
}

.ep-story2__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: var(--ep-ink-muted);
  text-align: right;

  /* ✅ never overflow */
  overflow-wrap: anywhere;
  word-break: normal;
}

/* =========================
   TABLET & DOWN: stack
========================= */
@media (max-width: 991.98px) {
  .ep-story2__wrap {
    grid-template-columns: 1fr;
    gap: 0; /* ✅ real “one card” feel when stacked */
  }

  .ep-story2__imgBox {
    min-height: clamp(210px, 46vw, 300px);
  }

  .ep-story2__imgBox::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.22),
      transparent 62%
    );
  }

  .ep-story2__content {
    padding: clamp(14px, 3.6vw, 22px);
  }

  .ep-story2__text {
    line-height: 1.95;
  }
}

/* =========================
   SMALL PHONES
========================= */
@media (max-width: 575.98px) {
  .ep-story2 {
    padding: 2.1rem 0;
  }

  .ep-story2__imgBox {
    min-height: 220px;
  }

  .ep-story2__content {
    padding: 14px 14px 16px;
  }
}

/* =========================
   VERY SMALL PHONES
========================= */
@media (max-width: 360px) {
  .ep-story2__title {
    font-size: 1.25rem;
  }

  .ep-story2__text {
    font-size: 0.92rem;
    line-height: 1.9;
  }
}

/* ============= our story =========== */

/* =================== aim ===================  */

/* =========================
   AIM — Center Layout (FULLY responsive)
========================= */

.ep-aimCenter {
  padding: clamp(2.2rem, 6vh, 3.6rem) 0;
}

/* ✅ makes spacing consistent with your site */
.ep-aimCenter__container {
  padding-inline: 14px;
}

.ep-aimCenter__wrap {
  max-width: 980px;
  margin-inline: auto;

  border-radius: calc(var(--ep-radius));
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow-1);
  overflow: hidden;
}

/* image banner */
.ep-aimCenter__imgBox {
  position: relative;
  height: clamp(220px, 28vw, 340px);
  min-height: 220px; /* ✅ safety */
  overflow: hidden;
}

.ep-aimCenter__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* subtle overlay to connect with content */
.ep-aimCenter__imgBox::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.14),
      transparent 55%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28));
}

/* centered content */
.ep-aimCenter__content {
  padding: clamp(16px, 2.4vw, 28px);
  text-align: center;
}

.ep-aimCenter__title {
  margin: 0;
  font-weight: 950;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: black;
}

/* decorative rule */
.ep-aimCenter__rule {
  margin: 14px auto 16px;
  width: min(320px, 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ep-aimCenter__ruleLine {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(49, 143, 227, 0.1),
    rgba(49, 143, 227, 0.55),
    rgba(49, 143, 227, 0.1)
  );
}

.ep-aimCenter__ruleDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(49, 143, 227, 0.95);
  box-shadow: 0 0 0 7px rgba(49, 143, 227, 0.12);
}

.ep-aimCenter__text {
  margin: 0 auto;
  max-width: 860px;

  font-weight: 800;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: var(--ep-ink-muted);

  text-wrap: pretty;
  overflow-wrap: anywhere;
}

/* ✅ tablets */
@media (max-width: 991.98px) {
  .ep-aimCenter__container {
    padding-inline: 12px;
  }
  .ep-aimCenter__imgBox {
    height: 260px; /* ✅ stable on tablets */
  }
  .ep-aimCenter__text {
    line-height: 1.95;
  }
}

/* ✅ small phones */
@media (max-width: 575.98px) {
  .ep-aimCenter__container {
    padding-inline: 10px;
  }

  .ep-aimCenter__imgBox {
    height: 220px;
  }

  .ep-aimCenter__content {
    padding: 14px;
  }

  .ep-aimCenter__text {
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .ep-aimCenter__rule {
    width: min(260px, 86%);
    gap: 8px;
  }
}
/* ============= aim ============== */

/* ==================== why =================  */
.ep-whyPro {
  padding: clamp(2.2rem, 6vh, 3.6rem) 0;
}

.ep-whyPro__wrap {
  max-width: 1120px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;

  border: 1px solid var(--ep-border);
  border-radius: calc(var(--ep-radius));
  background: var(--ep-surface);
  overflow: hidden;
}

/* media */
.ep-whyPro__media {
  margin: 0;
  position: relative;
  min-height: 340px;
}

.ep-whyPro__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* very subtle “connect” overlay (no heavy colors) */
.ep-whyPro__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.18), transparent 62%);
}

/* content */
.ep-whyPro__body {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 34px);
  display: grid;
  gap: 16px;
  align-content: center;
  text-align: right;
}

.ep-whyPro__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.2;
  color: #0f172a;
  position: relative;
}

.ep-whyPro__title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #318fe3, #6ec1ff);
}

.ep-whyPro__text {
  margin: 0;
  font-weight: 700;
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
  line-height: 2;
  color: var(--ep-ink-muted);
}

.ep-whyPro__text--small {
  font-size: clamp(0.92rem, 1vw, 1rem);
  opacity: 0.9;
}

/* grid */
.ep-whyPro__grid {
  display: grid;
  /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
  gap: 12px;
  margin-top: 6px;
}

/* card items */
.ep-whyPro__item {
  position: relative;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 16px;
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;

  display: flex;
  align-items: center;
  gap: 10px;

  transition: all 0.25s ease;
}

/* modern bullet */
.ep-whyPro__item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #318fe3;
  flex-shrink: 0;
}

/* hover interaction */
.ep-whyPro__item:hover {
  border-color: rgba(49, 143, 227, 0.35);
}

/* responsive */
@media (max-width: 991px) {
  .ep-whyPro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ep-whyPro__grid {
    grid-template-columns: 1fr;
  }

  .ep-whyPro__body {
    padding: 16px;
    gap: 12px;
  }

  .ep-whyPro__item {
    font-size: 0.95rem;
  }
}

/* ==================== why =================  */

/* ============= support ========= */
/* =========================
   SUPPORT — Clean Pro Section
   ✅ one image
   ✅ RTL
   ✅ minimal colors/shadows
   ✅ fully responsive
========================= */

.ep-support {
  padding: clamp(2.2rem, 6vh, 3.6rem) 0;
}

.ep-support__wrap {
  max-width: 1080px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;

  border-radius: calc(var(--ep-radius));
  border: 1px solid var(--ep-border);
  background: var(--ep-surface);
  overflow: hidden;
}

/* content */
.ep-support__content {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 28px);
  text-align: right;
}

.ep-support__title {
  margin: 0 0 12px;
  font-weight: 950;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: black;
}

/* subtle rule under title (minimal) */
.ep-support__title::after {
  content: "";
  display: block;
  width: min(180px, 55%);
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(49, 143, 227, 0.35);
}

/* text */
.ep-support__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: var(--ep-ink-muted);
  overflow-wrap: anywhere;
}

/* image */
.ep-support__imgBox {
  position: relative;
  height: clamp(220px, 26vw, 340px);
  border-inline-start: 1px solid var(--ep-border);
}

.ep-support__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* very light overlay to “blend” image into card */
.ep-support__imgBox::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.55)
  );
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .ep-support__wrap {
    grid-template-columns: 1fr; /* stack */
  }

  .ep-support__imgBox {
    height: 240px;
    border-inline-start: 0;
    border-top: 1px solid var(--ep-border);
  }

  .ep-support__imgBox::after {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.6)
    );
  }
}

@media (max-width: 575.98px) {
  .ep-support__content {
    padding: 14px;
  }

  .ep-support__text {
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .ep-support__imgBox {
    height: 220px;
  }
}
/* ============= support ========= */

/* ===================== mission ================== */
/* =========================
/* =========================
   MISSION — Image Header Card (NEW)
   ✅ one image
   ✅ minimal borders
   ✅ RTL
   ✅ fully responsive
========================= */

.ep-missionHeader {
  padding: clamp(2.2rem, 6vh, 3.8rem) 0;
}

.ep-missionHeader__card {
  max-width: 980px;
  margin-inline: auto;

  border: 1px solid var(--ep-border);
  border-radius: calc(var(--ep-radius));
  background: var(--ep-surface);
  overflow: hidden;
}

/* image header area */
.ep-missionHeader__media {
  position: relative;
  height: clamp(220px, 30vw, 360px);
  background: #000; /* fallback while loading */
}

.ep-missionHeader__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* very light readability glaze */
.ep-missionHeader__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0.12)
  );
}

/* body */
.ep-missionHeader__body {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 14px;
  padding: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

/* minimal accent (no color pop) */
.ep-missionHeader__accent {
  width: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
}

/* text */
.ep-missionHeader__title {
  margin: 0 0 10px;
  font-weight: 950;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: black;
  text-align: right;
}

.ep-missionHeader__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: var(--ep-ink-muted);
  text-align: right;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* responsive */
@media (max-width: 575.98px) {
  .ep-missionHeader__media {
    height: 220px;
  }

  .ep-missionHeader__body {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .ep-missionHeader__text {
    font-size: 0.92rem;
    line-height: 1.9;
  }
}

/* ===================== mission ================== */

/* ////////////////////////FOOTER */

.soft-footer {
  background: radial-gradient(
    circle at top,
    #f9fafb 0,
    #f2f3f5 45%,
    #e5e7eb 100%
  );
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  color: #4b5563;
  font-size: 0.9rem;
}

/* روی هر چیزی داخل فوتر، رنگ متن را کنترل می‌کنیم */
.soft-footer * {
  color: inherit;
}

/* عنوان هر ستون */
.soft-footer-title {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
  color: #111827;
}

/* لینک‌ها */
.soft-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soft-footer-links li {
  margin-bottom: 0.45rem;
}

.soft-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.soft-footer-links a:hover {
  color: #111827;
  transform: translateX(-2px);
}

/* لوگو و شبکه اجتماعی */
.soft-footer .col:first-child p {
  color: #6b7280;
}

/* آیکن شبکه اجتماعی در دایره ملایم */
.footer-social-icon {
  font-size: 1.4rem;
  color: #4b5563;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e5e7eb;
}

.footer-social-icon:hover {
  color: #000;
  /* transform: translateY(-1px); */
}

/* دکمه دانلود اپ */
.soft-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  background: #3490e3;
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  width: auto;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-download-btn i {
  font-size: 1rem;
}

.soft-download-btn:hover {
  background: #2677c6;
  /* transform: translateY(-2px); */
}

/* پایین فوتر */
.soft-footer-bottom {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.8;
}

/* خط بالای بخش پایینی کمی ملایم‌تر */
.soft-footer-bottom.border-top {
  border-color: #e5e7eb !important;
}

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

/* تراز بهتر روی تبلت و موبایل */
@media (max-width: 991.98px) {
  .soft-footer .row > .col {
    text-align: center;
  }

  .soft-footer img[alt="لوگو"] {
    margin: 0 auto 0.75rem;
    display: block;
  }

  .soft-footer .col:nth-child(4) img {
    max-width: 120px;
    margin: 0 auto;
    display: block;
  }

  .soft-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 575.98px) {
  .soft-footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .soft-footer-title {
    margin-top: 0.5rem;
  }

  .soft-footer .row {
    row-gap: 1.5rem;
  }
}
