/* ========== Vazirmatn — local (official package paths) ========== */
/* Primary load is fonts/vazirmatn/Vazirmatn-font-face.css from HTML.
   These rules are a backup with the same webfonts paths. */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


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

html,
body,
button,
input,
select,
textarea,
a,
p,
span,
li,
h1, h2, h3, h4, h5, h6,
label,
td, th,
.btn-primary,
.btn-secondary,
.btn-consult,
.mobile-consult,
.nav a,
.mobile-nav a,
.asa-phone,
.hero-title,
.hero-subtitle,
.hero-desc,
.logo-text {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif !important;
}


html {
  scrollbar-gutter: stable;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  background: #f8fbff;
  color: #1a2b4a;
  line-height: 1.7;
  min-height: 100vh;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid #C9890A;
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C9890A;
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

button,
.btn-primary,
.btn-secondary,
.btn-consult,
.mobile-consult,
.nav a,
.mobile-nav a,
.asa-phone,
.hero-title,
.hero-subtitle,
.hero-desc,
.logo-text {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
}

.header {
  --header-pad-x: 40px;
  --logo-shift-x: 80px;
  --logo-shift-y: 0px;
  --nav-shift-x: 60px;
  --nav-shift-y: 0px;
  --buttons-shift-x: -100px;
  --buttons-shift-y: 0px;

  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: min(92%, 1400px);
  margin-top: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0;
  padding: 16px var(--header-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none !important;
  z-index: 1000;
  min-height: 64px;
  overflow: visible;
  transition:
    padding 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-radius 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    min-height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    backdrop-filter 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.header.is-scrolled {
  --logo-shift-x: 0px;
  --logo-shift-y: 0px;
  --nav-shift-x: 60px;
  --nav-shift-y: 0px;
  --buttons-shift-x: -20px;
  --buttons-shift-y: 0px;
  --header-pad-x: 32px;

  top: 16px;
  margin-top: 0;
  width: min(87%, 1320px);
  padding: 11px 40px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.37) !important;
  backdrop-filter: blur(18px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35) !important;
  border: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07) !important;
  min-height: 64px;
  overflow: visible;
}

.header.is-scrolled .logo,
.header.is-scrolled .header-left {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.header.is-scrolled .nav a {
  color: #1a2b4a;
}

.logo {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #1a2b4a;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  white-space: nowrap;
  transform: translate(var(--logo-shift-x), var(--logo-shift-y));
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.logo img {
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.logo-text {
  display: none;
}
.logo-desktop {
  display: block;
  width: auto;
  height: 70px;
  max-width: 230px;
  object-fit: contain;
}
.logo-mobile {
  display: none;
}
.header.is-scrolled .logo {
  font-size: 20px;
  gap: 10px;
  white-space: nowrap;
}
.header.is-scrolled .logo-desktop {
  height: 60px;
  max-width: 230px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  list-style: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--nav-shift-x)), calc(-50% + var(--nav-shift-y)));
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  z-index: 1;
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), gap 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav li {
  flex-shrink: 0;
  white-space: nowrap;
}
.nav a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.25s ease, font-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #F5C518, #C9890A);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav a:hover {
  color: #C9890A;
}
.nav a:hover::after {
  width: 100%;
}

.header.is-scrolled .nav {
  gap: 40px;
}
.header.is-scrolled .nav a {
  font-size: 16px;
}

.header-left {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  white-space: nowrap;
  transform: translate(var(--buttons-shift-x), var(--buttons-shift-y));
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.asa-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  text-decoration: none;
  color: #1a2b4a;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  height: 42px;
  padding: 0 8px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background 0.3s ease, transform 0.3s ease, color 0.25s ease, font-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.asa-phone:hover {
  transform: translateY(-1px);
}
.asa-phone-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2b4a;
  flex-shrink: 0;
  transition: color 0.25s ease, filter 0.25s ease, width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.asa-phone-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.25s ease, stroke 0.25s ease;
}
.asa-phone-number {
  display: inline-flex;
  direction: ltr;
}
.asa-phone-number span {
  display: inline-block;
  color: inherit;
  transition: color 0.22s ease, transform 0.22s ease;
}
.asa-phone:hover .asa-phone-icon {
  color: #C9890A;
  filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.45));
  animation: phone-ring 0.6s ease-in-out infinite;
}
.asa-phone:hover .asa-phone-icon svg {
  fill: #C9890A;
  stroke: #C9890A;
}
.asa-phone:hover .asa-phone-number span {
  color: #C9890A;
}
.asa-phone:hover .asa-phone-number span:nth-child(1)  { transition-delay: 0.00s; }
.asa-phone:hover .asa-phone-number span:nth-child(2)  { transition-delay: 0.06s; }
.asa-phone:hover .asa-phone-number span:nth-child(3)  { transition-delay: 0.12s; }
.asa-phone:hover .asa-phone-number span:nth-child(4)  { transition-delay: 0.18s; }
.asa-phone:hover .asa-phone-number span:nth-child(5)  { transition-delay: 0.24s; }
.asa-phone:hover .asa-phone-number span:nth-child(6)  { transition-delay: 0.30s; }
.asa-phone:hover .asa-phone-number span:nth-child(7)  { transition-delay: 0.36s; }
.asa-phone:hover .asa-phone-number span:nth-child(8)  { transition-delay: 0.42s; }
.asa-phone:hover .asa-phone-number span:nth-child(9)  { transition-delay: 0.48s; }
.asa-phone:hover .asa-phone-number span:nth-child(10) { transition-delay: 0.54s; }
.asa-phone:hover .asa-phone-number span:nth-child(11) { transition-delay: 0.60s; }

@keyframes phone-ring {
  0%   { transform: rotate(0deg); }
  12%  { transform: rotate(14deg); }
  24%  { transform: rotate(-14deg); }
  36%  { transform: rotate(11deg); }
  48%  { transform: rotate(-11deg); }
  60%  { transform: rotate(7deg); }
  72%  { transform: rotate(-7deg); }
  84%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

.header.is-scrolled .asa-phone {
  font-size: 15px;
  height: 36px;
}
.header.is-scrolled .asa-phone-icon {
  width: 18px;
  height: 18px;
}

.btn-consult,
.btn-primary,
.mobile-consult {
  background: linear-gradient(135deg, #F5C518 0%, #E8A317 40%, #C9890A 100%);
  color: #fff;
  border: none;
  height: 42px;
  padding: 0 22px;
  border-radius: 21px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(201, 137, 10, 0.3);
  white-space: nowrap;
  line-height: 1;
  transition: filter 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  min-width: 200px;
  height: 54px;
  padding: 0 28px;
  border-radius: 30px;
  font-size: 18px;
}

.mobile-consult {
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 16px;
  height: auto;
  box-shadow: 0 6px 20px rgba(201, 137, 10, 0.4);
}

.btn-consult:hover,
.btn-primary:hover,
.mobile-consult:hover {
  filter: brightness(1.08);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(201, 137, 10, 0.4);
}

.header.is-scrolled .btn-consult {
  height: 42px;
  padding: 0 22px;
  border-radius: 21px;
  font-size: 14px;
}

.btn-secondary {
  --gold: #C9890A;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 54px;
  padding: 0 28px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
  background: linear-gradient(
    to right,
    rgba(245, 197, 24, 0.12) 1%,
    transparent 40%,
    transparent 60%,
    rgba(245, 197, 24, 0.12) 100%
  );
  color: var(--gold);
  box-shadow:
    inset 0 0 10px rgba(245, 197, 24, 0.35),
    0 0 9px 3px rgba(245, 197, 24, 0.12);
  z-index: 1;
  box-sizing: border-box;
}

.btn-secondary:hover {
  color: #C9890A;
  box-shadow:
    inset 0 0 12px rgba(245, 197, 24, 0.55),
    0 0 12px 4px rgba(245, 197, 24, 0.22);
  transform: translateY(-1px);
}

.btn-secondary:before {
  content: "";
  position: absolute;
  left: -4em;
  width: 4em;
  height: 100%;
  top: 0;
  transition: transform 0.45s ease-in-out;
  background: linear-gradient(
    to right,
    transparent 1%,
    rgba(245, 197, 24, 0.18) 40%,
    rgba(245, 197, 24, 0.18) 60%,
    transparent 100%
  );
  z-index: -1;
}

.btn-secondary:hover:before {
  transform: translateX(18em);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.menu-toggle .ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(245, 197, 24, 0.7) 0deg,
    rgba(245, 197, 24, 0.4) 40deg,
    transparent 70deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 1.5px));
  filter: blur(1.8px);
  opacity: 0.8;
  animation: goldenShadowSpin 2.8s linear infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes goldenShadowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.menu-toggle .dots {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.menu-toggle .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #1a2b4a;
  border-radius: 50%;
}
.menu-toggle .dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.menu-toggle .dot:nth-child(2) { top: 50%; left: 0; transform: translateY(-50%); }
.menu-toggle .dot:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.menu-toggle .dot:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 51, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-menu.open .mobile-menu-bg {
  opacity: 1;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: min(84vw, 340px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 88px 18px 36px;
  gap: 14px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(245, 197, 24, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #0c1a30 0%, #152942 50%, #0a1220 100%);
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.28);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open .mobile-menu-content {
  transform: translateX(0);
}

/* Mobile menu close (circular X) — top left */
.mobile-menu-close {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: #0f1c33;
  box-shadow: 0 4px 16px rgba(8, 30, 70, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.mobile-menu-close:hover,
.mobile-menu-close:active {
  background: #fff;
  color: #C9890A;
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(201, 137, 10, 0.28);
}
.mobile-menu-close svg {
  display: block;
  pointer-events: none;
}



.mobile-nav {
  list-style: none;
  text-align: right;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.mobile-nav li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu.open .mobile-nav li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open .mobile-nav li:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-nav li:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open .mobile-nav li:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-nav li:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-nav li:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-nav li:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-nav li:nth-child(7) { transition-delay: 0.30s; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 13px 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a2b4a;
  text-decoration: none;
  border-radius: 14px;
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 16px rgba(8, 30, 70, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.mobile-nav a::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5C518, #C9890A);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.45);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  color: #0f1c33;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow:
    0 6px 20px rgba(8, 30, 70, 0.12),
    0 0 0 1px rgba(245, 197, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}
.mobile-nav a:hover::before,
.mobile-nav a:active::before {
  transform: scale(1.25);
  opacity: 1;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}
.mobile-phone {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero {
  position: relative;
  overflow-x: clip;
  min-height: 140vh;
  padding: 160px 3% 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-image: url('../images/back1.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 580px;
  min-height: 440px;
  flex-shrink: 0;
  overflow: visible;
  margin-right: 2%;
  transform: translateY(-120px);
}

.hero-subtitle {
  position: absolute;
  font-size: 15px;
  color: #0c2c52;
  display: flex;
  align-items: center;
  top: -48px;
  right: 270px;
  white-space: nowrap;
}

.hero-subtitle strong {
  font-weight: 700;
  color: #0c2c52;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  right: -135px;
  top: 50%;
  width: 80px;
  height: 3px;
  background: #0c2c52;
  border-radius: 2px;
  transform: translateY(-50%);
}

.hero-title {
  position: absolute;
  /* base = mid size so first paint matches laptop; desktop upsizes in min-width:1400 */
  font-size: 48px;
  font-weight: 800;
  line-height: 1.30;
  color: #0c2c52;
  top: 8px;
  right: 130px;
}

.hero-title > span { 
  display: block; 
}

.hero-title > span:last-child {
  position: relative;
  display: block;
}

.hero-title > span:last-child::after {
  position: absolute;
  left: 50px;
  top: 50%;
  width: 80px;
  height: 3px;
  background: #E29A11;
  border-radius: 2px;
  transform: translateY(-50%);
}

.gold-text {
  background: linear-gradient(135deg, #F5C518 0%, #E8A317 50%, #C9890A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #C9890A;
  display: inline !important;
}

.hero-desc {
  position: absolute;
  font-size: 16px;
  color: #4a5a75;
  max-width: 560px;
  width: 560px;
  top: 205px;
  right: 125px;
  line-height: 1.75;
}
.hero-buttons {
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: nowrap;
  top: 315px;
  right: 125px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 700px;
  height: 700px;
  flex-shrink: 0;
  margin-left: -10px;
  margin-right: auto;
  overflow: visible;
  transform: translate(100px, -120px) scale(1.08);
  transform-origin: center center;
  /* جلوگیری از انتخاب متن/تصویر با دوبار کلیک روی الماس‌ها */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.golden-ring {
  position: absolute;
  top: 45%;
  left: 60%;
  width: 726px;
  height: 1000px;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
  pointer-events: none;
  
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.golden-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  /* سایه ثابت نزدیک به حالت میانی softGlow — بدون انیمیشن فیلتر (منبع اصلی لگ GPU) */
  filter: drop-shadow(0 0 18px rgba(240, 165, 0, 0.42))
          drop-shadow(0 0 36px rgba(240, 165, 0, 0.26));
}

.circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  animation: softFloat 8s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.hover-ready .circle:not(.circle-center):hover {
  transform: scale(1.02);
}
.circle img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;

}

.circle-software { animation-delay: 0s; }
.circle-network  { animation-delay: 1.5s; }
.circle-support  { animation-delay: 3s; }
.circle-infra    { animation-delay: 0.7s; }
.circle-digital  { animation-delay: 2.2s; }
.circle-center   { animation-delay: 3.8s; animation-duration: 10s; }

@keyframes softFloat {
  /* فقط حرکت عمودی — scale خیلی جزئی بود و هزینه کامپوزیت اضافه می‌کرد */
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.circle-software {
  width: 215px; height: 400px;
  top: -90px; left: 320px;
}
.circle-network {
  width: 215px; height: 400px;
  top: 28px; left: 112px;
}
.circle-support {
  width: 215px; height: 400px;
  top: 35px; left: 520px;
}
.circle-infra {
  width: 215px; height: 400px;
  top: 285px; left: 147px;
}
.circle-digital {
  width: 215px; height: 400px;
  top: 301px; left: 478px;
}
.circle-center {
  width: 350px; height: 400px;
  top: 140px; left: 250px;
  z-index: 5;
}

html { scroll-behavior: smooth; }

.scroll-widget {
  --track-size: 2px;
  --accent: #1a2b4a;
  --track: rgba(26, 43, 74, 0.18);

  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 9999;

  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;

  color: #1a2b4a;
  user-select: none;
}

.scroll-track {
  position: relative;
  width: 2px;
  height: 88px;
  background: var(--track);
  overflow: hidden;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #F5C518, #C9890A);
  transition: height .12s linear;
}

.scroll-action {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: .95;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .25s ease;
}
.scroll-action:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.mouse-icon,
.arrow-icon {
  width: 25px;
  height: 32px;
  position: absolute;
  transition: opacity .8s ease, transform .9s cubic-bezier(.22,.61,.36,1);
}
.mouse-icon {
  opacity: 1;
  transform: translateY(0);
}
.arrow-icon {
  opacity: 0;
  transform: translateY(8px);
}
.scroll-widget.is-scrolled .mouse-icon {
  opacity: 0;
  transform: translateY(-8px);
}
.scroll-widget.is-scrolled .arrow-icon {
  opacity: 1;
  transform: translateY(0);
}

.mouse-wheel {
  animation: wheel 1.45s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wheel {
  0%, 100% { transform: translateY(-3px); opacity: .35; }
  50%      { transform: translateY(4px); opacity: 1; }
}

.scroll-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
  opacity: .75;
  color: #1a2b4a;
}

.scroll-widget:not(.is-scrolled) .scroll-action {
  cursor: default;
}


/* ========== HERO: laptop / mid screens (993px – 1399px) — keep side-by-side, scaled ========== */
@media (min-width: 993px) and (max-width: 1399px) {
  .hero {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    min-height: auto !important;
    height: auto !important;
    padding: 120px 2.5% 80px !important;
    gap: 16px !important;
    overflow-x: clip;
    overflow-y: visible;
    text-align: right;
  }

  .hero-content {
    display: block !important;
    position: relative !important;
    z-index: 2;
    width: min(420px, 42%) !important;
    min-height: 320px !important;
    flex-shrink: 0;
    overflow: visible;
    margin-right: 1% !important;
    margin-left: 0 !important;
    /* no scale() — real font sizes only, avoids text jump/blur */
    transform: translateY(-40px) !important;
    transform-origin: center right !important;
  }

  .hero-subtitle {
    position: absolute !important;
    top: -36px !important;
    right: 180px !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    font-size: 15px !important; /* fixed — no vw jump */
    white-space: nowrap;
    order: unset !important;
  }
  .hero-subtitle::before {
    display: block !important;
    right: -100px !important;
    width: 60px !important;
    height: 3px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .hero-subtitle::after {
    display: none !important;
    content: none !important;
  }

  .hero-title {
    position: absolute !important;
    top: 4px !important;
    right: 70px !important;
    left: auto !important;
    margin: 0 !important;
    font-size: 42px !important; /* fixed — no vw jump */
    line-height: 1.28 !important;
    text-align: right !important;
    order: unset !important;
  }
  .hero-title > span:first-child {
    display: block;
    white-space: nowrap;
  }
  .hero-title > span:last-child {
    position: relative;
    display: block;
    width: auto;
    margin: 0;
  }
  .hero-title > span:last-child::after {
    left: 36px !important;
    right: auto !important;
    width: 56px !important;
  }

  .hero-desc {
    position: absolute !important;
    top: 155px !important;
    right: 70px !important;
    left: auto !important;
    width: min(420px, 100%) !important;
    max-width: 420px !important;
    margin: 0 !important;
    font-size: 15px !important; /* fixed — no vw jump */
    line-height: 1.75 !important;
    text-align: right !important;
    order: unset !important;
  }

  .hero-buttons {
    position: absolute !important;
    top: 250px !important;
    right: 70px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    align-items: center;
    gap: 10px !important;
    margin: 0 !important;
    width: auto !important;
    order: unset !important;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    max-width: none;
    min-width: 140px;
    height: 46px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 24px;
  }

  .hero-visual {
    order: unset !important;
    display: block !important;
    position: relative !important;
    width: min(520px, 48vw) !important;
    height: min(520px, 48vw) !important;
    margin: 0 auto 0 0 !important;
    transform: translate(20px, -30px) scale(0.92) !important;
    transform-origin: center center !important;
    flex-shrink: 0 !important;
  }

  .hero-visual .golden-ring {
    width: 105% !important;
    height: 105% !important;
    top: 45% !important;
    /* align with diamond cluster center (~54% of visual) */
    left: 55% !important;
    right: auto !important;
    margin: 0 !important;
    /* rotation is driven by JS; only set origin here */
    transform-origin: center center !important;
  }

  .hero-visual .circle-software { width: 30%; height: 57%; top: -12%; left: 42%; }
  .hero-visual .circle-network  { width: 30%; height: 57%; top: 4%;  left: 14%; }
  .hero-visual .circle-support  { width: 30%; height: 57%; top: 4%;  left: 68%; }
  .hero-visual .circle-infra    { width: 30%; height: 57%; top: 40%; left: 18%; }
  .hero-visual .circle-digital  { width: 30%; height: 57%; top: 42%; left: 62%; }
  .hero-visual .circle-center   { width: 48%; height: 57%; top: 18%; left: 30%; z-index: 5; }
}


/* tighter scale for smaller laptops / large tablets landscape (993–1200) */
@media (min-width: 993px) and (max-width: 1200px) {
  .hero {
    padding: 100px 2% 60px !important;
    gap: 8px !important;
  }
  .hero-content {
    width: min(360px, 40%) !important;
    min-height: 280px !important;
    transform: translateY(-24px) !important; /* no scale */
  }
  .hero-title {
    font-size: 36px !important;
  }
  .hero-desc {
    top: 140px !important;
    width: min(360px, 100%) !important;
    max-width: 360px !important;
    font-size: 14px !important;
  }
  .hero-buttons {
    top: 230px !important;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-width: 120px;
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero-visual {
    width: min(440px, 50vw) !important;
    height: min(440px, 50vw) !important;
    transform: translate(10px, -20px) scale(0.88) !important;
  }
  .hero-subtitle {
    right: 140px !important;
    font-size: 13px !important;
  }
  .hero-subtitle::before {
    right: -80px !important;
    width: 48px !important;
  }
  .hero-visual .golden-ring {
    /* keep ring centered on diamond cluster at smaller laptop sizes */
    left: 54% !important;
    top: 46.5% !important;
    width: 104% !important;
    height: 112% !important;
  }
}

/* ========== HERO STACK: tablet + mobile only (<= 992px) ========== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column !important;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    min-height: auto !important;
    height: auto !important;
    padding: 110px 4% 50px !important;
    gap: 10px !important;
    overflow: hidden;
  }
  .hero-content {
    display: contents !important;
  }
  .hero-subtitle {
    order: 1;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px !important;
    font-size: clamp(13px, 1.6vw, 16px) !important;
    gap: 8px;
    white-space: nowrap;
  }
  .hero-subtitle::before { display: none !important; }
  .hero-subtitle::after {
    content: '' !important;
    display: block !important;
    width: clamp(36px, 5vw, 52px);
    height: 3px;
    background: #1a2b4a;
    border-radius: 2px;
    flex-shrink: 0;
    margin-right: 8px;
    position: static !important;
    transform: none !important;
  }
  .hero-title {
    order: 2;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0 auto 6px !important;
    font-size: 34px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  .hero-title > span:first-child { display: block; white-space: nowrap; }
  .hero-title > span:last-child {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  .hero-title > span:last-child::after {
    right: -52px !important;
    left: auto !important;
    width: 40px !important;
  }
  .hero-visual {
    order: 3;
    display: block !important;
    position: relative !important;
    width: min(420px, 86vw) !important;
    height: min(340px, 72vw) !important;
    margin: 2px auto 6px !important;
    transform: none !important;
    transform-origin: center center !important;
    flex-shrink: 0 !important;
  }
  .hero-visual .golden-ring {
    width: 110% !important;
    height: 120% !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    margin: 0 !important;
    /* transform left to JS (translate + rotate) */
    transform-origin: center center !important;
  }
  .hero-visual .circle-software { width: 30%; height: 70%; top: -16%; left: 37%; }
  .hero-visual .circle-network  { width: 30%; height: 70%; top: 3%; left: 11%; }
  .hero-visual .circle-support  { width: 30%; height: 70%; top: 3.5%; left: 61%; }
  .hero-visual .circle-infra    { width: 30%; height: 70%; top: 45%; left: 15%; }
  .hero-visual .circle-digital  { width: 30%; height: 70%; top: 47%; left: 56%; }
  .hero-visual .circle-center   { width: 46%; height: 70%; top: 20%; left: 27%; z-index: 5; }
  .hero-desc {
    order: 4;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: min(560px, 90vw) !important;
    max-width: 560px !important;
    margin: 6px auto 16px !important;
    font-size: clamp(14px, 1.5vw, 16px) !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }
  .hero-buttons {
    order: 5;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 12px !important;
    margin: 0 auto !important;
    width: auto !important;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    max-width: 170px;
    min-width: 130px;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 24px;
  }
}

/* soft scale for mid desktop 1400–1600 so absolute layout fits */
@media (min-width: 1400px) and (max-width: 1600px) {
  .hero {
    padding: 130px 2% 90px;
    gap: 20px;
    min-height: auto;
  }
  .hero-content {
    width: 500px;
    min-height: 380px;
    transform: translateY(-70px);
    transform-origin: center right;
  }
  .hero-title { font-size: 56px !important; }
  .hero-desc { font-size: 16px !important; width: 480px; max-width: 480px; top: 175px; }
  .hero-subtitle { font-size: 16px !important; }
  .hero-buttons { top: 280px; }
  .hero-visual {
    width: 560px;
    height: 560px;
    transform: translate(20px, -50px) scale(0.92);
  }

  /* keep ring aligned with diamond center (same as desktop 60%) */
  .hero-visual .golden-ring {
    left: 75% !important;
    top: 55% !important;
  }
}

/* Full desktop: large hero type (only when wide enough) */
@media (min-width: 1601px) {
  .hero-title { font-size: 68px !important; }
  .hero-subtitle { font-size: 17px !important; }
  .hero-desc { font-size: 18.5px !important; }
}




@media (max-width: 1200px) {
  .nav { gap: 28px; }
  .nav a { font-size: 15px; }
}
/* desktop-absolute tweaks only while side-by-side layout is active */
@media (min-width: 993px) and (max-width: 1200px) {
  /* font sizes set in the dedicated tighter laptop block above */
}

@media (max-width: 992px) {
  
  .header {
    width: calc(100% - 24px);
    top: 12px;
    margin-top: 0;
    padding: 12px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(18px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    --header-pad-x: 16px;
    --logo-shift-x: 0px;
    --logo-shift-y: 0px;
    --nav-shift-x: 0px;
    --nav-shift-y: 0px;
    --buttons-shift-x: 0px;
    --buttons-shift-y: 0px;
  }

  .header.is-scrolled {
    width: calc(100% - 24px);
    top: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(18px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .header .logo,
  .header.is-scrolled .logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
.sortable-section {
    margin-top: 0 !important;
    padding-top: 90px !important;
  }
  .nav { display: none; }
  .header-left .btn-consult { display: none; }
  .menu-toggle { display: block; }

  .logo-desktop { display: none; }
  .logo-mobile { display: block; width: 44px; height: 44px; }
  .logo-text { display: inline; font-size: 17px; font-weight: 700; }
  .header.is-scrolled .logo-mobile { width: 44px; height: 44px; }

  
  /* hero mobile stack is handled by dedicated @media (max-width: 992px) block above */
}

@media (max-width: 600px) {
  .header {
    width: calc(100% - 16px);
    top: 10px;
    padding: 10px 14px;
    border-radius: 32px;
  }

  .logo-mobile { width: 40px; height: 40px; }
  .logo-text { font-size: 16px; }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
.sortable-section {
    margin-top: 0 !important;
    padding-top: 90px !important;
  }
  .hero {
    padding: 100px 16px 60px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    max-width: 160px;
    min-width: 132px;
    height: 46px;
    font-size: 13.5px;
    padding: 0 14px;
  }

  .scroll-widget {
    left: 12px;
    bottom: 16px;
    transform: scale(0.85);
    transform-origin: bottom left;
  }
  .scroll-track { height: 60px; }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-buttons {
    gap: 8px;
  }
  .hero-visual {
    width: min(340px, 94vw);
    height: min(280px, 82vw);
    transform: scale(1.06) !important;
    transform-origin: center center;
  }
  .hero-visual .golden-ring {
    width: 115% !important;
    height: 155% !important;
    top: 50% !important;
    left: 50% !important;
  }
  
}

@media (max-width: 992px) {
  .hero-visual,
  .golden-ring,
  .circle {
    max-width: 100%;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 360px) {
  .header {
    width: calc(100% - 12px);
    padding: 8px 10px;
  }
  .logo-text {
    font-size: 14px;
  }
  .hero {
    padding: 90px 12px 40px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-width: 120px;
    max-width: 145px;
    font-size: 12.5px;
    height: 44px;
    padding: 0 12px;
  }
}
  

@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 300;
  src: url('../images/cards-assets/Switzer-Light.woff') format('woff');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 500;
  src: url('../images/cards-assets/Switzer-Medium.woff') format('woff');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 600;
  src: url('../images/cards-assets/Switzer-Semibold.woff') format('woff');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 700;
  src: url('../images/cards-assets/Switzer-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 800;
  src: url('../images/cards-assets/Switzer-Extrabold.woff') format('woff');
}

.sortable-section {
  
  padding: 60px 3% 80px;
  position: relative;
  overflow: visible;
}
.sortable-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.sortable-section-title {
  text-align: center;
  color: #1a2b4a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section-desc {
  text-align: center;
  color: #5a6a85;
  font-size: 15px;
  margin-bottom: 48px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}

.sortable-section .cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  gap: 50px;
}

/* Keep 3 cards in one row from ~1000px up; allow wrap only on small screens */
@media (max-width: 999px) {
  .sortable-section .cards {
    flex-wrap: wrap;
  }
}

@media (min-width: 1000px) and (max-width: 1399px) {
  .sortable-section .cards {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .sortable-section .card {
    height: 22rem;
    width: 18.5rem;
    min-height: 22rem;
    min-width: 18.5rem;
    max-height: 22rem;
    max-width: 18.5rem;
    margin: 0.55rem;
  }
}

@media (min-width: 1400px) {
  .sortable-section .cards {
    flex-wrap: nowrap;
  }
}

.sortable-section .card-wrap {
  position: relative;
  cursor: grab;
  transition: transform 0.2s ease;
}
.sortable-section .card-wrap:active,
.sortable-section .card-wrap.dragging {
  cursor: grabbing !important;
}
.sortable-section .card-wrap.dragging {
  z-index: 200;
  opacity: 0.85;
}
.sortable-section .card-wrap.dragging .card {
  transform: scale(1.04) rotate(1.5deg);
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.35);
}
.sortable-section .card-wrap.drag-over .card {
  transform: scale(0.97);
  opacity: 0.9;
}

.sortable-section .card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  
  height: 26rem;
  width: 22rem;
  min-height: 26rem;
  min-width: 22rem;
  max-height: 26rem;
  max-width: 22rem;
  margin: 0.9rem;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.5rem;
  box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.12);
  position: relative;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, box-shadow 0.3s ease;
  color: #fff;
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

.sortable-section .card-filter {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.08);
  z-index: 9;
  pointer-events: none;
  backdrop-filter: blur(0.15rem);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.sortable-section .card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.sortable-section .card-wrap:hover .card-bg {
  filter: grayscale(0%);
  transform: none;
}
.sortable-section .card-wrap:hover .card {
  transform: scale(1.03);
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.2);
}

.sortable-section .card-bg.idle {
  animation: none;
}
.sortable-section .card-wrap:hover .card-bg.idle {
  animation: none;
}

.sortable-section .card-status {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.7rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: #fff;
}
.sortable-section .card-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #888;
}
.sortable-section .card-status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.sortable-section .card-handle {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 12;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #111;
  pointer-events: none;
}
.sortable-section .card-handle .handle,
.sortable-section .card-handle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sortable-section .card-content {
  position: relative;
  z-index: 10;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sortable-section .card-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.sortable-section .card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
}
.sortable-section .card-verification,
.sortable-section .card-verfied svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #fff;
  filter: drop-shadow(0 0 0.4rem rgba(255, 255, 255, 0.5));
}

.sortable-section .card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.sortable-section .card-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.55rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  color: #fff !important;
}
.sortable-section .card-rating-stars {
  display: flex;
  align-items: center;
}
.sortable-section .card-rating-star,
.sortable-section .card-rating-star svg {
  width: 0.7rem;
  height: 0.7rem;
  color: #f5c518;
}
.sortable-section .card-tag-icon,
.sortable-section .card-tag-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.sortable-section .card-description {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 1rem;
  font-weight: 300;
}

.sortable-section .card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  max-width: 11.5rem;
  min-width: 9.5rem;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 1.6rem;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
  color: #fff;
  cursor: pointer;
}
.sortable-section .card-button:hover {
  background: #FF004D;
}
.sortable-section .card-button-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff !important;
}
.sortable-section .card-button-call {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}
.sortable-section .card-button-call-icon,
.sortable-section .card-button-call-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sortable-section .card-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 45%, transparent 70%);
  z-index: 5;
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sortable-section .card-wrap:hover .card-fade {
  opacity: 1;
}

@media (max-width: 992px) {
  .sortable-section .card {
    height: 22rem;
    width: 18rem;
    min-height: 22rem;
    min-width: 18rem;
    max-height: 22rem;
    max-width: 18rem;
  }
}
@media (max-width: 600px) {
  .sortable-section .card {
    height: 20rem;
    width: 16rem;
    min-height: 20rem;
    min-width: 16rem;
    max-height: 20rem;
    max-width: 16rem;
    margin: 0.65rem;
  }
  .sortable-section-title { font-size: 24px; }
}

  

.sortable-section-eyebrow {
  text-align: center;
  color: #5a6a85;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section-title {
  text-align: center;
  color: #1a2b4a;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section-title .gold-text {
  color: #C9890A;
  background: none;
  -webkit-text-fill-color: #C9890A;
}
.sortable-section-desc {
  text-align: center;
  color: #5a6a85;
  font-size: 15px;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 48px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}

.sortable-section .card-number {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  z-index: 12;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  font-family: Vazirmatn, Tahoma, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  line-height: 1;
}

.sortable-section .card-bg {
  filter: grayscale(100%);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}
.sortable-section .card-wrap:hover .card-bg {
  filter: grayscale(0%);
  transform: none;
}

.sortable-section .card-wrap {
  cursor: default;
}
.sortable-section .card-wrap:active {
  cursor: default;
}

.sortable-section .card-button-call {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  margin-left: 0;
  margin-right: 6px;
  flex-shrink: 0;
}
.sortable-section .card-button-arrow {
  width: 0.9rem;
  height: 0.9rem;
  transform: scaleX(-1);
}

.sortable-section .card-button {
  padding-left: 0.35rem !important;
  width: auto !important;
  max-width: 11.5rem !important;
  min-width: 9.5rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

.sortable-section .card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section .card-description {
  font-size: 0.92rem;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section .card-button-text {
  font-family: Vazirmatn, Tahoma, sans-serif;
}

  

.sortable-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: right;
}
.sortable-section-eyebrow {
  text-align: right;
  color: #5a6a85;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section-title {
  text-align: right;
  color: #1a2b4a;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.sortable-section-title .gold-text {
  color: #C9890A !important;
  background: none !important;
  -webkit-text-fill-color: #C9890A !important;
}
.sortable-section-desc {
  text-align: right;
  color: #5a6a85;
  font-size: 15px;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 0 48px auto;
  margin-right: 0;
  margin-left: auto;
  font-family: Vazirmatn, Tahoma, sans-serif;
}

.sortable-section .card-number {
  position: absolute;
  top: 1.2rem;
  left: 1.25rem;
  right: auto;
  z-index: 12;
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  font-family: Vazirmatn, Tahoma, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  line-height: 1;
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  gap: 0.5rem;
}
.sortable-section .card-number::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #F5C518, #C9890A);
  border-radius: 2px;
}

.sortable-section .card-icon-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  left: auto;
  z-index: 12;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.6px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: none;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.85, 0.2, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}
.sortable-section .card-wrap:hover .card-icon-badge {
  transform: scale(1.1);
  color: #F5C518;
  border-color: #F5C518;
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    0 0 0 3px rgba(245, 197, 24, 0.22),
    0 0 14px rgba(245, 197, 24, 0.45),
    0 0 28px rgba(245, 197, 24, 0.2),
    inset 0 0 10px rgba(245, 197, 24, 0.12);
}
.sortable-section .card-icon-badge svg {
  width: 1.3rem;
  height: 1.3rem;
  transition: stroke 0.35s ease, fill 0.35s ease;
}

.sortable-section .card {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.85, 0.2, 1),
    box-shadow 0.35s ease,
    opacity 0.4s ease;
  will-change: transform;
}

.sortable-section .card-wrap:hover .card {
  transform: scale(1.04);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
}

.sortable-section .card-bg {
  filter: grayscale(100%);
  transform: none;
  transition: filter 0.5s ease;
  will-change: filter;
}
.sortable-section .card-wrap:hover .card-bg {
  filter: grayscale(0%);
  transform: none;
}

@keyframes sortable-bg-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.sortable-section .card-bg.idle {
  animation: sortable-bg-pulse 14s ease-in-out infinite;
}

.sortable-section .card-wrap:hover .card-bg.idle {
  animation: none;
  transform: scale(1);
}

.sortable-section .card-fade {
  transition: opacity 0.25s ease;
}
.sortable-section .card-wrap:hover .card-fade {
  opacity: 1;
}

.sortable-section .card-content {
  transition: none;
}

.sortable-section .card-button {
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sortable-section .card-wrap:hover .card-button {
  background: #C9890A;
  box-shadow: 0 4px 14px rgba(201, 137, 10, 0.35);
}
.sortable-section .card-button:active {
  transform: scale(0.97);
}
.sortable-section .card-button-call {
  transition: transform 0.25s ease, background 0.25s ease;
}
.sortable-section .card-wrap:hover .card-button-call {
  transform: scale(1.08);
}

.sortable-section .card-name,
.sortable-section .card-description {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sortable-section .cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  text-align: right;
}

@media (max-width: 992px) {
  .sortable-section-inner,
  .sortable-section-eyebrow,
  .sortable-section-title,
  .sortable-section-desc {
    text-align: center;
  }
  .sortable-section-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

  

  

.sortable-section-eyebrow {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
  margin-bottom: 12px;
  color: #5a6a85;
  font-size: 14px;
  font-family: Vazirmatn, Tahoma, sans-serif;
  text-align: right;
  padding-right: 96px; 
}
.sortable-section-eyebrow::before {
  content: '';
  position: absolute;
  right: 0; 
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 3px;
  background: #0c2c52;
  border-radius: 2px;
}

.sortable-section-heading {
  text-align: right;
  margin-bottom: 16px;
  padding-left: 0;
  margin-right: 0;
  
  transform: translateX(-24px);
}
.sortable-section-eyebrow-wrap {
  text-align: right;
  transform: translateX(-24px);
}
.sortable-section-desc {
  transform: translateX(-24px);
}
@media (max-width: 992px) {
  .sortable-section-heading,
  .sortable-section-eyebrow-wrap,
  .sortable-section-desc {
    transform: none;
  }
  .sortable-section-eyebrow {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

  

.sortable-section-eyebrow {
  font-size: 17px !important;
  color: #0c2c52 !important;
}
.sortable-section-title {
  font-size: 68px !important;
  line-height: 1.30 !important;
  color: #0c2c52 !important;
  font-weight: 800 !important;
}
.sortable-section-desc {
  font-size: 18.5px !important;
  color: #4a5a75 !important;
  line-height: 1.7 !important;
  max-width: 560px !important;
}

.sortable-section-heading,
.sortable-section-eyebrow-wrap,
.sortable-section-desc {
  transform: translateX(-72px) !important;
}
.sortable-section-inner {
  padding-right: 4% !important;
}

@media (max-width: 1200px) {
  .sortable-section-title {
    font-size: 52px !important;
  }
  .sortable-section-heading,
  .sortable-section-eyebrow-wrap,
  .sortable-section-desc {
    transform: translateX(-40px) !important;
  }
}
@media (max-width: 992px) {
  .sortable-section-title {
    font-size: clamp(36px, 9vw, 48px) !important;
  }
  .sortable-section-eyebrow {
    font-size: 15px !important;
  }
  .sortable-section-desc {
    font-size: 16px !important;
  }
  .sortable-section-heading,
  .sortable-section-eyebrow-wrap,
  .sortable-section-desc {
    transform: none !important;
  }
}

  

.sortable-section {
  padding: 0px 3% 100px !important;
  margin-top: 0;
  
}
.sortable-section-inner {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
}

.sortable-section-text {
  width: 1650px;
  max-width: 100%;
  margin-right: 2%; 
  margin-left: 0;
  text-align: right;
  transform: none !important;
}
.sortable-section-eyebrow-wrap,
.sortable-section-heading,
.sortable-section-desc {
  transform: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100%;
  max-width: 100%;
}
.sortable-section-desc {
  max-width: 560px !important; 
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: auto !important;
}

.sortable-section .cards {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.sortable-section .card {
  width: 22rem !important;
  min-width: 22rem !important;
  max-width: 22rem !important;
  height: 26rem !important;
  min-height: 26rem !important;
  max-height: 26rem !important;
}

@media (max-width: 992px) {
  .sortable-section-inner {
    align-items: center;
  }
  .sortable-section-text {
    width: 100%;
    max-width: 520px;
    margin-right: 0;
    text-align: center;
  }
  .sortable-section-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .sortable-section .card {
    width: 18rem !important;
    min-width: 18rem !important;
    max-width: 18rem !important;
    height: 22rem !important;
    min-height: 22rem !important;
    max-height: 22rem !important;
  }
}

  

.sortable-section {
  position: relative;
  overflow: hidden;
  
  background-color: transparent;
  background-image: url('../images/back2.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.sortable-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/navar-zard.png');
  
  background-size: auto;
  background-position: center center;
  background-repeat: no-repeat;
  
  animation: yellow-stripe-glow 2.4s ease-in-out infinite;
  will-change: opacity, filter;
}

@keyframes yellow-stripe-glow {
  0%, 100% {
    opacity: 0.35;
    filter: brightness(0.85) drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    filter: brightness(1.25) drop-shadow(0 0 18px rgba(245, 197, 24, 0.55));
  }
}

.sortable-section-corner {
  position: absolute;
  right: -50px;
  bottom: 10px;
  width: min(250px, 20vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  user-select: none;
}
.sortable-section-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 992px) {
  .sortable-section-corner {
    width: min(10px, 40vw);
    right: -30px;
    bottom: 20px;
    opacity: 0.7;
  }
}

  

@keyframes section2-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
.sortable-section-corner {
  animation: section2-float 4.5s ease-in-out infinite;
  will-change: transform;
}

@media (min-width: 993px) {
  .sortable-section {
    margin-top: -250px !important;   
    padding-top: 60px !important;
  }
}

@media (max-width: 992px) {
  .sortable-section {
    margin-top: 0 !important;
    padding-top: 48px !important;
  }
}
@media (max-width: 600px) {
  .sortable-section {
    margin-top: 0 !important;
    padding-top: 36px !important;
  }
}

.hero {
  margin-bottom: 0;
  overflow: visible;
}

.sortable-section-inner,
.sortable-section-text,
.sortable-section-eyebrow-wrap,
.sortable-section-heading,
.sortable-section-title,
.sortable-section-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}
.sortable-section-inner {
  align-items: center !important;
}

.sortable-section-eyebrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: rtl;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: 0 !important;
  position: relative;
  width: auto;
  max-width: 100%;
  color: #0c2c52 !important;
  font-size: 15px;
}
.sortable-section-eyebrow::before {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 56px;
  height: 3px;
  background: #0c2c52;
  border-radius: 2px;
  flex-shrink: 0;
  transform: none !important;
  right: auto !important;
  top: auto !important;
}
.sortable-section-eyebrow-wrap {
  text-align: center !important;
  width: 100%;
}

.sortable-section .card-content {
  align-items: center !important;
  text-align: center !important;
}
.sortable-section .card-name-wrap {
  justify-content: center !important;
}
.sortable-section .card-name,
.sortable-section .card-description {
  text-align: center !important;
}
.sortable-section .card-button {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

.sortable-section .card-en {
  position: absolute;
  top: 1.2rem;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.85, 0.2, 1);
}
.sortable-section .card-wrap:hover .card-en {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sortable-section .card-en-title-box {
  background: rgba(255, 255, 255, 0.95);
  color: #0c2c52;
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.4rem;
  border-radius: 1.2rem;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(245, 197, 24, 0.35);
  transform: translateY(-12px) scale(0.92);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.85, 0.2, 1) 0.05s,
    opacity 0.35s ease 0.05s;
}
.sortable-section .card-wrap:hover .card-en-title-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sortable-section .card-en-desc {
  display: none;
}

.sortable-section .card-content {
  transition: none;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}
.sortable-section .card-wrap:hover .card-content {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}
.sortable-section .card-name {
  transition: opacity 0.3s ease;
}
.sortable-section .card-wrap:hover .card-name {
  opacity: 0;
}
.sortable-section .card-description,
.sortable-section .card-button {
  opacity: 1 !important;
}

    .services-section {
      position: relative;
      overflow-x: clip;
      overflow-y: visible;
      padding: 60px 20px 70px;
      
      background-color: transparent;
      background-image: url('../images/back3.webp') !important;
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      background-attachment: scroll;
    }

    .services-section .container {
      position: relative;
      z-index: 1;
      max-width: 1400px;
      margin: 0 auto;
    }

    .services-section .glass-wrapper {
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 28px;
      padding: 28px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .services-section .main-layout {
      display: grid;
      grid-template-columns: 340px 1fr 400px;
      gap: 28px;
      align-items: stretch;
      min-height: 460px;
      direction: ltr;
    }

    
    .services-section .services-menu {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .services-section .menu-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 15px 16px;
      border-radius: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #1a365d;
      font-size: 0.95rem;
      font-weight: 500;
      white-space: nowrap;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.7);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
      direction: rtl;
      text-align: right;
    }

    .services-section .menu-item .icon-box {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      background: rgba(26, 54, 93, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all 0.3s ease;
      order: 3;
    }

    .services-section .menu-item .icon-box svg {
      width: 20px;
      height: 20px;
      stroke: #1a365d;
      fill: none;
      stroke-width: 1.8;
      transition: all 0.3s ease;
    }

    .services-section .menu-item .menu-text {
      flex: 1;
      white-space: nowrap;
      color: #1a365d;
      order: 2;
    }

    .services-section .menu-item .num {
      font-size: 0.85rem;
      opacity: 0.75;
      font-weight: 600;
      flex-shrink: 0;
      color: #1a365d;
      order: 1;
    }

    .services-section .menu-item:hover,
    .services-section .menu-item.active {
      background: linear-gradient(135deg, #1e3a5f, #1a365d);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 8px 22px rgba(30, 58, 95, 0.3);
    }

    .services-section .menu-item:hover .icon-box,
    .services-section .menu-item.active .icon-box {
      background: rgba(246, 173, 85, 0.25);
    }

    .services-section .menu-item:hover .icon-box svg,
    .services-section .menu-item.active .icon-box svg {
      stroke: #f6ad55;
    }

    .services-section .menu-item:hover .num,
    .services-section .menu-item.active .num {
      color: #f6ad55;
      opacity: 1;
    }

    .services-section .menu-item:hover .menu-text,
    .services-section .menu-item.active .menu-text {
      color: #fff;
    }

    
    .services-section .image-area {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
    }

    .services-section .image-area img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      min-height: 440px;
      transition: opacity 0.4s ease;
    }

    .services-section .floating-badge {
      position: absolute;
      top: 22px;
      right: 22px;
      background: rgba(255, 255, 255, 0.92);
      padding: 10px 16px;
      border-radius: 12px;
      font-size: 0.88rem;
      color: #1a365d;
      border: 1px solid rgba(26, 54, 93, 0.12);
      max-width: 200px;
      line-height: 1.5;
      z-index: 2;
      direction: rtl;
      font-weight: 500;
    }

    
    .services-section .text-area {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 10px 5px 10px 0;
      direction: rtl;
      text-align: right;
    }

    .services-section .text-area h2 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 6px;
      color: #1a365d;
    }

    .services-section .text-area h2 .gold {
      display: block;
      color: #d69e2e;
      font-size: 1.5rem;
      font-weight: 600;
      margin-top: 10px;
    }

    .services-section .text-area p {
      font-size: 1.05rem;
      line-height: 1.9;
      color: #2c5282;
      margin: 22px 0 30px;
      max-width: 390px;
    }

    .services-section .btn-details {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-width: 200px;
      height: 54px;
      padding: 0 28px;
      border-radius: 30px;
      border: none;
      background: linear-gradient(135deg, #F5C518 0%, #E8A317 40%, #C9890A 100%);
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
      text-decoration: none;
      width: fit-content;
      box-shadow: 0 3px 12px rgba(201, 137, 10, 0.3);
      transition: filter 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
      line-height: 1;
    }

    .services-section .btn-details:hover {
      filter: brightness(1.08);
      transform: scale(1.05);
      box-shadow: 0 6px 18px rgba(201, 137, 10, 0.4);
    }

    .services-section .btn-details svg {
      width: 18px;
      height: 18px;
      stroke: #fff;
      fill: none;
      stroke-width: 2.4;
    }

    
    .services-section .bottom-glass {
      margin-top: 40px;
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 28px;
      padding: 28px 24px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .services-section .bottom-cards {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
      direction: rtl;
    }

    .services-section .card {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 18px;
      padding: 24px 14px 20px;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .services-section .card:hover {
      background: #fff;
      transform: translateY(-5px);
      border-color: rgba(214, 158, 46, 0.4);
    }

    .services-section .card .card-icon {
      width: 52px;
      height: 52px;
      margin: 0 auto 12px;
      border-radius: 50%;
      background: rgba(26, 54, 93, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .services-section .card .card-icon svg {
      width: 23px;
      height: 23px;
      stroke: #1a365d;
      fill: none;
      stroke-width: 1.7;
    }

    .services-section .card:hover .card-icon {
      background: rgba(246, 173, 85, 0.2);
    }

    .services-section .card:hover .card-icon svg {
      stroke: #d69e2e;
    }

    .services-section .card h4 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 7px;
      color: #1a365d;
    }

    .services-section .card p {
      font-size: 0.78rem;
      color: #2c5282;
      line-height: 1.55;
    }

    
    @media (max-width: 1200px) {
      .services-section .main-layout {
        grid-template-columns: 310px 1fr 360px;
        gap: 22px;
      }
      .services-section .text-area h2 { font-size: 2.2rem; }
      .services-section .text-area h2 .gold { font-size: 1.35rem; }
    }

    @media (max-width: 1000px) {
      .services-section .main-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        direction: rtl;
      }

      .services-section .services-menu {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 6px;
        scrollbar-width: none;
      }

      .services-section .services-menu::-webkit-scrollbar {
        display: none;
      }

      .services-section .menu-item {
        flex-direction: column;
        min-width: 140px;
        text-align: center;
        padding: 16px 14px;
        font-size: 0.84rem;
        gap: 8px;
        white-space: normal;
        direction: ltr;
      }

      .services-section .menu-item .icon-box {
        order: 1;
        margin: 0 auto;
      }

      .services-section .menu-item .menu-text {
        order: 2;
        white-space: normal;
        line-height: 1.35;
        font-size: 0.82rem;
      }

      .services-section .menu-item .num {
        display: none;
      }

      .services-section .image-area img {
        min-height: 320px;
      }

      .services-section .text-area {
        padding: 10px 0;
        text-align: center;
        align-items: center;
      }

      .services-section .text-area h2 {
        font-size: 1.85rem;
      }

      .services-section .text-area h2 .gold {
        font-size: 1.25rem;
      }

      .services-section .text-area p {
        max-width: 100%;
      }

      .services-section .bottom-cards {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 560px) {
      .services-section {
        padding: 40px 14px 50px;
      }
      .services-section .glass-wrapper,
      .services-section .bottom-glass {
        padding: 18px 14px;
      }
      .services-section .text-area h2 {
        font-size: 1.55rem;
      }
      .services-section .text-area h2 .gold {
        font-size: 1.15rem;
      }
      .services-section .text-area p {
        font-size: 0.94rem;
      }
      .services-section .bottom-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
      .services-section .card {
        padding: 18px 10px 15px;
      }
      .services-section .card h4 {
        font-size: 0.9rem;
      }
      .services-section .card p {
        font-size: 0.72rem;
      }
    }
  

.s4-why-asaidea {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 1536 / 1024;
  min-height: 0;
  overflow: hidden;
  
  background-image: url('../images/back4.webp');
  background-position: center center;
  background-repeat: no-repeat;
  container-type: inline-size;
}

.s4-why-asaidea::before {
  content: none !important;
  display: none !important;
}

.s4-top-label {
  position: absolute;
  z-index: 5;
  top: 6.4%;
  right: 8.4%;
  display: flex;
  align-items: center;
  gap: 1.1cqw;
  white-space: nowrap;
  color: var(--navy);
  font-size: 1.12cqw;
  font-weight: 700;
}

.s4-top-label { display: none !important; }

.s4-top-label::before {
  content: "";
  width: 3.2cqw;
  height: 1px;
  background: linear-gradient(90deg, var(--navy), rgba(9,38,90,.15));
  order: 2;
}

.s4-top-label span {
  color: var(--navy);
}

.s4-main-visual {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 56.4%;
  height: 63.9%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.s4-content-side {
  position: absolute;
  z-index: 6;
  top: 15.2%;
  right: 5.0%;
  width: 38.0%;
  direction: rtl;
  text-align: right;
}

.s4-headline {
  color: var(--navy);
  font-size: 3.28cqw;
  line-height: 1.48;
  font-weight: 900;
  letter-spacing: -.045em;
  margin: 0 0 2.3cqw;
}

.s4-headline .s4-gold {
  color: var(--gold);
}

.s4-desc {
  width: 91%;
  color: var(--muted);
  font-size: 1.18cqw;
  line-height: 2.05;
  font-weight: 500;
  margin: 0 0 2.8cqw;
}

.s4-stats {
  width: 95%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  direction: rtl;
  margin-bottom: 3.0cqw;
}

.s4-stat {
  position: relative;
  text-align: center;
  padding: 0 .8cqw;
}

.s4-stat + .s4-stat::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  width: 1px;
  height: 78%;
  background: linear-gradient(to bottom, transparent, rgba(201,135,24,.72), transparent);
}

.s4-stat-num {
  will-change: contents;
  direction: ltr;
  color: #a96912;
  font-size: 2.55cqw;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.s4-stat-label {
  margin-top: .75cqw;
  color: var(--navy);
  font-size: 1.05cqw;
  line-height: 1.5;
  font-weight: 600;
  white-space: nowrap;
}

.s4-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7cqw;
  min-width: 0;
  height: 2.85cqw;
  padding: 0 1.35cqw;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #d18b16 0%, #b96e08 100%);
  box-shadow: 0 0.7cqw 1.5cqw rgba(150, 96, 8, .18);
  font-size: 0.95cqw;
  font-weight: 700;
  /* shift left so it sits under "سازمان و شرکت" (3rd stat) instead of under "سال تجربه" */
  margin-right: calc( (95% / 4) * 2 );
  margin-left: auto;
}

.s4-cta-arrow {
  font-size: 1.15cqw;
  line-height: 1;
  direction: ltr;
}

.s4-features {
  position: absolute;
  z-index: 7;
  left: 5.3%;
  top: 74%;
  width: 52.3%;
  height: 18.3%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25cqw;
  direction: ltr;
}

.s4-feat {
  min-width: 0;
  height: 100%;
  direction: rtl;
  text-align: center;
  padding: 1.45cqw .9cqw 1.0cqw;
  border: 1px solid rgba(185,195,209,.55);
  border-radius: 1.05cqw;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,253,.92));
  box-shadow:
    0 .6cqw 1.7cqw rgba(18,45,77,.06),
    inset 0 0 2.0cqw rgba(255,255,255,.90);
}

.s4-feat-icon {
  width: 3.4cqw;
  height: 3.4cqw;
  margin: 0 auto .7cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #fff 30%, #edf2f8 100%);
  color: var(--navy);
  font-size: 1.95cqw;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 .08cqw 0 rgba(201,135,24,.35);
}

.s4-feat-icon img {
  width: 68%;
  height: 68%;
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.s4-feat h3 {
  color: var(--navy);
  font-size: 1.05cqw;
  font-weight: 800;
  margin-bottom: .55cqw;
}

.s4-feat p {
  color: #163767;
  font-size: .83cqw;
  line-height: 1.8;
  font-weight: 500;
}

.s4-thumb {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 27.0%;
  height: 44.0%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.s4-bottom-info {
  position: absolute;
  z-index: 8;
  left: 4.4%;
  bottom: 4.3%;
  width: 42%;
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 1.0cqw;
  color: var(--navy);
  font-size: .83cqw;
  white-space: nowrap;
}

.s4-bottom-info { display: none !important; }

.s4-bottom-info .s4-brand {
  font-weight: 900;
}

.s4-bottom-info .s4-sep {
  width: 1px;
  height: 1.0cqw;
  background: rgba(201,135,24,.7);
}

.s4-bottom-info .s4-line {
  width: 7.0cqw;
  height: 1px;
  background: var(--navy);
  margin-left: 1.0cqw;
}

.s4-bottom-info .s4-tagline {
  margin-left: .2cqw;
}

.s4-curve {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(201,135,24,.75);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(-3deg);
}

.s4-curve.one {
  left: -6%;
  bottom: 6%;
  width: 73%;
  height: 19%;
}

.s4-curve.two {
  right: 8%;
  top: 54%;
  width: 37%;
  height: 24%;
  transform: rotate(-10deg);
}

.s4-dot {
  position: absolute;
  z-index: 9;
  width: .85cqw;
  height: .85cqw;
  border-radius: 50%;
  background: #d28a16;
  box-shadow: 0 0 .8cqw rgba(210,138,22,.35);
}

.s4-dot.d1 { left: 19.4%; bottom: 7.4%; }
.s4-dot.d2 { left: 70.9%; bottom: 10.7%; }

@media (min-width: 1101px) {
  .s4-why-asaidea {
    width: 100vw;
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .s4-why-asaidea {
    aspect-ratio: auto;
    min-height: 0;
    padding-bottom: 7vw;
    overflow: hidden;
  }

  
  .s4-main-visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 866 / 654;
    object-fit: fill;
    display: block;
  }

  .s4-top-label {
    top: 4vw;
    right: 5.5vw;
    font-size: 2.1vw;
  }

  .s4-top-label::before {
    width: 7vw;
  }

  .s4-content-side {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    padding: 6.5vw 7vw 0;
  }

  .s4-headline {
    font-size: 5.8vw;
    line-height: 1.55;
    margin-bottom: 3.5vw;
    letter-spacing: -.035em;
  }

  .s4-desc {
    width: 100%;
    max-width: 760px;
    font-size: 2.7vw;
    line-height: 2;
    margin-bottom: 4.5vw;
  }

  .s4-stats {
    width: 100%;
    max-width: 760px;
    margin-bottom: 4.5vw;
  }

  .s4-stat-num {
    font-size: 5vw;
  }

  .s4-stat-label {
    font-size: 2.35vw;
    white-space: normal;
  }

  .s4-cta {
    min-width: 0;
    height: 7vw;
    font-size: 2.2vw;
    padding: 0 4vw;
    margin-bottom: 8vw;
  }

  .s4-cta-arrow {
    font-size: 4vw;
  }

  
  .s4-features {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0 5vw;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8vw;
  }

  .s4-feat {
    min-height: 24vw;
    height: auto;
    padding: 3vw 1.4vw 2.4vw;
    border-radius: 2.2vw;
  }

  .s4-feat-icon {
    width: 8vw;
    height: 8vw;
    font-size: 4.5vw;
    margin-bottom: 1.5vw;
  }

  .s4-feat h3 {
    font-size: 2.7vw;
    margin-bottom: .8vw;
  }

  .s4-feat p {
    font-size: 2vw;
    line-height: 1.8;
  }

  
  .s4-thumb {
    position: relative;
    right: auto;
    bottom: auto;
    width: 58%;
    height: auto;
    aspect-ratio: 406 / 449;
    object-fit: fill;
    display: block;
    margin: 7vw 0 0 auto;
  }

  .s4-bottom-info {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 4vw 6vw 0;
    font-size: 1.9vw;
    white-space: normal;
    flex-wrap: wrap;
  }

  .s4-bottom-info .s4-line {
    width: 15vw;
    height: 1px;
  }

  .s4-bottom-info .s4-sep {
    height: 2.5vw;
  }

  .s4-curve,
  .s4-dot {
    display: none;
  }
}

@media (max-width: 700px) {
  .s4-top-label {
    font-size: 2.7vw;
  }

  .s4-headline {
    font-size: 7vw;
  }

  .s4-desc {
    font-size: 3.35vw;
  }

  .s4-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4vw;
  }

  .s4-stat-num {
    font-size: 6.5vw;
  }

  .s4-stat-label {
    font-size: 3vw;
  }

  /* خطوط جداکننده فقط بین دو ستون، وسط هر ردیف */
  .s4-stat + .s4-stat::before {
    display: none;
  }
  .s4-stat:nth-child(2)::before,
  .s4-stat:nth-child(4)::before {
    display: block !important;
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201,135,24,.72), transparent);
  }
  .s4-stat:nth-child(3)::before {
    display: none !important;
  }

  .s4-cta {
    min-width: 0;
    height: 10vw;
    font-size: 3vw;
    padding: 0 5vw;
    margin-bottom: 7vw;
  }

  .s4-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    margin: 4vw 5vw 0;
  }

  .s4-feat {
    min-height: 35vw;
    padding: 4vw 2vw;
    border-radius: 3vw;
  }

  .s4-feat-icon {
    width: 11vw;
    height: 11vw;
    font-size: 6vw;
    margin-bottom: 2vw;
  }

  .s4-feat h3 {
    font-size: 3.7vw;
    margin-bottom: 1.2vw;
  }

  .s4-feat p {
    font-size: 2.75vw;
    line-height: 1.8;
  }

  .s4-thumb {
    width: 82%;
    margin-top: 8vw;
  }

  .s4-bottom-info {
    margin: 5vw 6vw 0;
    font-size: 2.4vw;
  }

  .s4-bottom-info .s4-line {
    width: 18vw;
  }

  .s4-bottom-info .s4-sep {
    height: 3vw;
  }
}

@media (max-width: 420px) {
  .s4-content-side {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .s4-features {
    grid-template-columns: 1fr;
    margin-left: 7vw;
    margin-right: 7vw;
  }

  .s4-feat {
    min-height: 31vw;
  }

  .s4-thumb {
    width: 88%;
  }
}

.s4-why-asaidea {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.s4-why-asaidea > .s4-main-visual,
.s4-why-asaidea > .s4-thumb {
  max-width: none;
}

@media (max-width: 767px) {
  
  .s4-thumb {
    display: none !important;
  }

  .s4-why-asaidea {
    padding-bottom: 8vw;
  }

  .s4-content-side {
    width: 100%;
  }

  .s4-features {
    width: auto;
  }
}

@media (max-width: 420px) {
  .s4-content-side {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .s4-features {
    margin-left: 7vw;
    margin-right: 7vw;
  }
}

:root{
  --navy:#092f78;
  --navy-dark:#06245d;
  --gold:#d89522;
  --gold-light:#f6d27d;
  --text:#0d347b;
  --muted:#5672a5;
  --line:#e1e8f2;
  --white:#fff;
  --shadow:0 12px 32px rgba(19,53,105,.10);
}

.projects-section {scroll-behavior:smooth}
.projects-section {
  margin:0;
  font-family:"Vazirmatn",Tahoma,sans-serif;
  color:var(--text);
  
  background-image: url('../images/back5.webp');
  background-position: center;
  background-repeat: no-repeat;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.p5-page{position:relative;min-height:auto;overflow:hidden;background:transparent}
.p5-page:before,.p5-page:after{
  content:"";position:absolute;pointer-events:none;border:1px solid rgba(214,145,28,.42);
  border-radius:50%;
}
.p5-page:before{width:1080px;height:600px;right:-430px;top:-410px;transform:rotate(18deg)}
.p5-page:after{width:960px;height:560px;left:-510px;top:15px;transform:rotate(-20deg)}
.p5-container{
  width:min(1448px,calc(100% - 90px));
  margin:auto;position:relative;z-index:2;
}

.p5-topbar{
  height:78px;display:flex;align-items:center;justify-content:space-between;
  padding-top:18px;
}
.p5-eyebrow{display:flex;align-items:center;gap:18px;font-weight:700;font-size:18px;white-space:nowrap}
.p5-eyebrow .num{color:var(--gold);font-size:22px;font-weight:900}
.p5-eyebrow .rule{width:62px;height:1px;background:var(--gold);display:block}

.p5-hero{
  min-height:278px;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  direction:ltr;
  align-items:center;
  gap:24px;
  padding:0 0 10px;
}
.p5-hero-copy{
  direction:rtl;order:2;text-align:right;padding:0 5px 0 0;
  transform:translateY(1px);
  grid-column:2;
  grid-row:1;
}
.p5-hero-copy h1{
  margin:0 0 15px;font-size:clamp(40px,4vw,61px);line-height:1.17;
  font-weight:900;letter-spacing:-1.8px;color:var(--navy-dark);
}
.p5-hero-copy h1 span{color:var(--gold)}
.p5-hero-copy p{
  margin:0 0 20px;max-width:620px;font-size:16px;line-height:2.05;
  color:#21498b;
}
.p5-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:44px;padding:0 24px;border:1.5px solid var(--navy);
  border-radius:999px;background:#fff;color:var(--navy);font-weight:700;
  box-shadow:0 6px 18px rgba(10,45,100,.05);transition:.25s ease;
  text-decoration:none;
}
.p5-btn:hover{background:var(--navy);color:#fff;transform:translateY(-2px)}

.p5-hero-row{
  grid-column:1;
  grid-row:1;
  display:contents;
}
.p5-btn-mobile{ display:none !important; }
.p5-btn-desktop{ display:inline-flex !important; }
.p5-hero-art{
  direction:ltr;order:1;position:relative;min-height:278px;
  display:flex;align-items:center;justify-content:center;
  transform:translateX(-6px);
}
.p5-book{
  width:205px;height:302px;position:relative;z-index:3;
  transform:rotate(-9deg);
  border-radius:10px 14px 16px 8px;
  background:linear-gradient(145deg,#061c44 0%,#0b326e 57%,#061c45 100%);
  box-shadow:22px 24px 38px rgba(7,37,81,.23),inset -8px 0 13px rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;
}
.p5-book:before{content:"";position:absolute;inset:10px;border:1px solid rgba(246,190,82,.68);border-radius:5px}
.p5-book:after{
  content:"";position:absolute;right:12px;top:10px;width:1px;height:280px;
  background:linear-gradient(180deg,transparent,#f1b95c,transparent);opacity:.75;
}
.p5-book-content{position:relative;z-index:2;transform:translateY(1px)}
.p5-logo-mark{
  width:66px;height:66px;margin:auto;border-radius:12px 5px 12px 5px;
  transform:rotate(45deg);background:linear-gradient(135deg,#ffe6a6,#b97513);
  position:relative;box-shadow:0 0 25px rgba(238,172,59,.16);
}
.p5-logo-mark:after{
  content:"A";position:absolute;inset:0;display:grid;place-items:center;
  color:#092e73;font-size:42px;font-weight:900;transform:rotate(-45deg);
}
.p5-book strong{display:block;margin-top:17px;font-size:17px;letter-spacing:4px}
.p5-book small{display:block;margin-top:23px;line-height:1.85;letter-spacing:3px;font-size:9px}
.p5-glass{
  position:absolute;width:130px;height:218px;border:1px solid rgba(224,165,68,.28);
  border-radius:15px;background:rgba(255,255,255,.17);backdrop-filter:blur(2px);
  box-shadow:0 10px 25px rgba(45,74,115,.04);
}
.g1{transform:translate(142px,11px) rotate(4deg)}
.g2{transform:translate(-142px,25px) rotate(-5deg)}
.p5-spark{position:absolute;color:#e4a53b;font-size:30px;z-index:4}
.s1{right:25%;top:15%}.s2{left:22%;bottom:13%}
.p5-hero-note{
  position:absolute;left:2px;top:35px;width:155px;font-size:20px;line-height:1.72;
  font-weight:700;color:#123f83;transform:rotate(-4deg);direction:rtl;text-align:right;
}
.p5-hero-note:after{
  content:"";display:block;width:112px;height:8px;border-bottom:2px solid var(--gold);
  transform:rotate(-7deg);margin-right:0;
}

.p5-articles{
  display:grid;
  grid-template-columns:1.55fr repeat(4,1fr);
  gap:16px;
  align-items:stretch;
  direction:ltr;
  margin-top:0;
}
.p5-card{
  min-width:0;background:rgba(255,255,255,.92);border:1px solid #e2e8f1;
  border-radius:20px;overflow:hidden;box-shadow:var(--shadow);
  display:flex;flex-direction:column;direction:rtl;
}
.p5-card .p5-thumb{
  height:135px;position:relative;background-size:cover;background-position:center;
}
.p5-featured .p5-thumb{height:305px}
.p5-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(5,27,65,.10))}
.p5-tag{
  position:absolute;right:10px;top:0;z-index:2;padding:6px 15px;
  border-radius:0 0 14px 14px;color:#fff;font-size:13px;font-weight:800;
  background:var(--gold);
}
.p5-featured .p5-tag{left:12px;right:auto;color:#17366f;background:#ffe18b}
.p5-date{
  position:absolute;left:9px;top:8px;z-index:2;padding:6px 9px;
  border-radius:12px;background:rgba(255,255,255,.94);color:var(--navy);
  font-size:11px;font-weight:700;backdrop-filter:blur(3px)
}
.p5-card-body{padding:13px 16px 13px;display:flex;flex-direction:column;flex:1}
.p5-card h3{font-size:15px;line-height:1.72;margin:0 0 7px;font-weight:900;color:#0c3479}
.p5-featured h3{font-size:20px;line-height:1.65}
.p5-card p{font-size:12px;line-height:1.9;color:#31578f;margin:0}
.p5-card-footer{
  margin-top:auto;padding-top:9px;display:flex;justify-content:space-between;
  align-items:center;font-size:11px;font-weight:700;color:#0b347b
}
.p5-arrow{font-size:21px;line-height:1}

.p5-categories{
  margin-top:21px;padding:19px 22px 18px;border:1px solid #e3e9f2;border-radius:22px;
  background:rgba(255,255,255,.90);box-shadow:0 10px 30px rgba(15,50,100,.055);
}
.p5-categories-title{font-size:16px;font-weight:900;margin-bottom:10px;text-align:right}
.p5-cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;direction:rtl}
.p5-cat{
  min-height:80px;border-radius:13px;background:#fbfcff;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:6px;border:1px solid transparent;
  font-size:13px;font-weight:600;transition:.2s;color:#123a7d;
}
.p5-cat:hover{border-color:#d9e3f2;transform:translateY(-2px)}
.p5-cat.active{background:linear-gradient(135deg,#0d438e,#082d68);color:#fff;box-shadow:0 12px 22px rgba(8,45,105,.18)}
.p5-icon{font-size:26px;line-height:1}

@media(max-width:1100px){
  .p5-container{width:min(100% - 42px,1100px)}
  .p5-hero{grid-template-columns:1fr 1fr}
  .p5-hero-copy h1{font-size:48px}
  .p5-hero-note{left:-10px}
  .p5-articles{grid-template-columns:repeat(4,1fr)}
  .p5-featured{grid-column:span 2;grid-row:span 2}
  .p5-cat-grid{grid-template-columns:repeat(4,1fr)}
  .newsletter{grid-template-columns:1fr}
  .newsletter p{text-align:center}
  .subscribe{max-width:620px;margin:auto;width:100%}
  .contact{justify-content:center}
}
@media(max-width:760px){
  body{overflow-x:hidden}
  .p5-container{width:calc(100% - 26px)}
  .p5-topbar{height:58px;padding-top:12px}
  .p5-eyebrow{gap:9px;font-size:13px}
  .p5-eyebrow .num{font-size:17px}
  .p5-eyebrow .rule{width:34px}
  .left-label{font-size:11px!important}
  .p5-hero{
    display:flex;flex-direction:column;min-height:0;gap:0;padding:0;
  }
  .p5-hero-copy{order:1;text-align:center;padding:8px 0 0}
  .p5-hero-copy h1{font-size:34px;line-height:1.34;margin:0 0 8px}
  .p5-hero-copy p{font-size:12px;line-height:2;margin:0 auto 12px;max-width:520px}
  .p5-btn-desktop{display:none !important}
  .p5-btn-mobile{display:inline-flex !important}
  .p5-hero-row{
    display:flex !important;flex-direction:row !important;align-items:center !important;
    justify-content:center !important;gap:14px !important;width:100% !important;
    margin-top:6px !important;direction:rtl !important;order:2 !important;
  }
  .p5-hero-row .p5-btn-mobile{min-height:40px;font-size:11px;padding:0 17px;flex-shrink:0}
  .p5-hero-art{min-height:0;width:auto;margin-top:0;transform:none;flex-shrink:0}
  .p5-book{width:110px;height:160px}
  .p5-book:after{height:195px}
  .p5-book small{margin-top:15px;font-size:7px;letter-spacing:2px}
  .p5-book strong{margin-top:11px;font-size:12px}
  .p5-logo-mark{width:46px;height:46px}
  .p5-logo-mark:after{font-size:29px}
  .p5-glass{width:94px;height:145px}
  .g1{transform:translate(68px,7px) rotate(4deg)}
  .g2{transform:translate(-68px,13px) rotate(-5deg)}
  .p5-hero-note{display:none}
  .p5-spark{font-size:18px}
  .p5-articles{
    grid-template-columns:1fr 1fr;gap:9px;margin-top:8px;
  }
  .p5-featured{grid-column:1/-1;grid-row:auto}
  .p5-card .p5-thumb{height:116px}
  .p5-featured .p5-thumb{height:195px}
  .p5-featured h3{font-size:17px}
  .p5-card h3{font-size:12px}
  .p5-card p{font-size:10px;line-height:1.85}
  .p5-card-body{padding:10px}
  .p5-date{font-size:8px;padding:5px 6px}
  .p5-tag{font-size:9px;padding:5px 8px}
  .p5-card-footer{font-size:9px}
  .p5-arrow{font-size:18px}
  .p5-categories{margin-top:13px;padding:12px}
  .p5-categories-title{font-size:13px}
  .p5-cat-grid{grid-template-columns:repeat(4,1fr);gap:6px}
  .p5-cat{min-height:62px;font-size:9px}
  .p5-icon{font-size:20px}
  .newsletter{padding:20px 2px 26px;gap:13px}
  .newsletter p{font-size:10px}
  .subscribe{flex-direction:row}
  .subscribe input{font-size:10px;padding:10px 14px}
  .subscribe button{padding:0 16px;font-size:10px;min-width:72px}
  .contact{font-size:11px;gap:10px;flex-wrap:wrap}
  .divider{height:20px}
}
@media(max-width:430px){
  .p5-container{width:calc(100% - 18px)}
  .left-label{display:none!important}
  .p5-hero-copy h1{font-size:29px}
  .p5-hero-copy p{font-size:11px}
  .p5-hero-art{min-height:0;height:auto}
  .p5-book{width:96px;height:142px}
  .p5-glass{width:82px;height:128px}
  .g1{transform:translate(60px,7px) rotate(4deg)}
  .g2{transform:translate(-60px,12px) rotate(-5deg)}
  .p5-articles{gap:7px}
  .p5-featured .p5-thumb{height:170px}
  .p5-card .p5-thumb{height:100px}
  .p5-featured h3{font-size:15px}
  .p5-card h3{font-size:11px}
  .p5-card p{font-size:9px}
  .p5-cat{min-height:58px;font-size:8px}
  .p5-icon{font-size:18px}
}

.p5-topbar{display:none}

.p5-hero-art{
  min-height:300px;
  transform:translateX(-10px);
}
.p5-book{
  animation:asaideaFloat 4.8s ease-in-out infinite;
  transform:rotate(-9deg) translateY(0);
  transition:transform .45s ease, box-shadow .45s ease, filter .45s ease;
  will-change:transform;
}
.p5-book:hover{
  transform:rotate(-7deg) translateY(-10px) scale(1.018);
  box-shadow:
    22px 28px 42px rgba(7,37,81,.25),
    0 0 22px rgba(231,170,57,.18),
    inset -8px 0 13px rgba(255,255,255,.07);
  filter:saturate(1.08);
}
.p5-book:before{
  transition:box-shadow .4s ease, border-color .4s ease, opacity .4s ease;
}
.p5-book:hover:before{
  border-color:#ffd77d;
  box-shadow:
    0 0 8px rgba(255,207,101,.95),
    0 0 24px rgba(238,172,59,.72),
    inset 0 0 13px rgba(238,172,59,.12);
}
.p5-book:after{
  transition:opacity .4s ease, box-shadow .4s ease;
}
.p5-book:hover:after{
  opacity:1;
  box-shadow:0 0 12px rgba(246,193,88,.95);
}
.p5-logo-mark{
  transition:filter .4s ease, box-shadow .4s ease;
}
.p5-book:hover .p5-logo-mark{
  filter:brightness(1.08);
  box-shadow:0 0 22px rgba(246,193,88,.48);
}
@keyframes asaideaFloat{
  0%,100%{transform:rotate(-9deg) translateY(0)}
  50%{transform:rotate(-9deg) translateY(-8px)}
}

.p5-glass,.p5-spark{display:none}

.p5-articles{
  gap:14px;
}
.p5-card{
  min-height:0;
}
.p5-card .p5-thumb{
  height:122px;
}
.p5-featured .p5-thumb{
  height:260px;
}
.p5-card-body{
  padding:11px 14px 11px;
}
.p5-card h3{
  font-size:14px;
  line-height:1.6;
  margin-bottom:5px;
}
.p5-featured h3{
  font-size:19px;
  line-height:1.58;
}
.p5-card p{
  font-size:11px;
  line-height:1.72;
}
.p5-card-footer{
  padding-top:7px;
  font-size:10px;
}
.p5-article-date{
  left:auto;
  right:10px;
  top:9px;
  padding:6px 10px;
  border:1px solid rgba(216,149,34,.22);
  box-shadow:0 5px 15px rgba(10,45,100,.08);
}
.p5-featured-badge{
  left:12px;
  right:auto;
}

.p5-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  font-size:0;
}
.p5-icon svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.p5-cat.active .p5-icon svg{stroke-width:2}
.p5-cat{
  min-height:74px;
  gap:8px;
}

@media(max-width:760px){
  .p5-hero{
    padding-top:8px;
  }
  .p5-hero-art{
    min-height:0;
    height:auto;
    transform:none;
  }
  .p5-book{
    animation-duration:5.2s;
  }

  .p5-articles{
    gap:8px;
    margin-top:5px;
  }
  .p5-card .p5-thumb{height:105px}
  .p5-featured .p5-thumb{height:175px}
  .p5-card-body{padding:9px}
  .p5-card h3{font-size:11.5px;line-height:1.6}
  .p5-featured h3{font-size:16px}
  .p5-card p{font-size:9.5px;line-height:1.72}
  .p5-card-footer{font-size:8.5px;padding-top:6px}

  .p5-categories{
    margin-top:12px;
    padding:12px 10px;
    overflow:hidden;
  }
  .p5-categories-title{
    font-size:13px;
    margin-bottom:9px;
  }
  .p5-cat-grid{
    display:flex;
    flex-wrap:nowrap;
    grid-template-columns:none;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 7px;
    direction:rtl;
    justify-content:flex-start;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    cursor:grab;
    user-select:none;
    touch-action:pan-x;
  }
  .p5-cat-grid::-webkit-scrollbar{display:none}
  .p5-cat-grid.is-dragging{
    cursor:grabbing;
    scroll-snap-type:none;
  }
  .p5-cat{
    flex:0 0 112px;
    min-width:112px;
    min-height:68px;
    padding:7px 5px;
    font-size:10px;
    scroll-snap-align:start;
  }
  .p5-icon{
    width:28px;
    height:28px;
  }
  .p5-icon svg{
    width:24px;
    height:24px;
  }
}

@media(max-width:430px){
  .p5-hero-art{min-height:180px}
  .p5-book{width:132px;height:190px}
  .p5-book:after{height:178px}
  .p5-articles{gap:7px}
  .p5-featured .p5-thumb{height:160px}
  .p5-card .p5-thumb{height:94px}
  .p5-card h3{font-size:10.8px}
  .p5-featured h3{font-size:14.5px}
  .p5-card p{font-size:9px}
  .p5-cat{
    flex-basis:104px;
    min-width:104px;
    min-height:65px;
    font-size:9px;
  }
}

.p5-articles{
  align-items:start !important;
  grid-auto-rows:auto;
  gap:12px;
}
.p5-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start;
}
.p5-card-body{
  flex:0 0 auto !important;
  min-height:0 !important;
}
.p5-card-footer{
  margin-top:12px !important;
}

.p5-card .p5-thumb{height:118px !important}
.p5-featured .p5-thumb{height:255px !important}
.p5-card-body{padding:10px 13px 11px !important}
.p5-card h3{font-size:14px !important;line-height:1.58 !important;margin-bottom:4px !important}
.p5-featured h3{font-size:18px !important;line-height:1.55 !important}
.p5-card p{font-size:11px !important;line-height:1.68 !important}
.p5-card-footer{font-size:10px !important;padding-top:2px !important}

.p5-topic-tag{
  right:10px !important;
  left:auto !important;
  top:8px !important;
  border-radius:999px !important;
  padding:6px 12px !important;
  font-size:11px !important;
  color:#fff !important;
  box-shadow:0 5px 15px rgba(7,43,100,.10);
}
.p5-topic-tag.education{background:#8d27e8 !important}
.p5-topic-tag.technology{background:#05a8d9 !important}
.p5-topic-tag.security{background:#e49a16 !important}
.p5-topic-tag.products{background:#38935c !important}
.p5-featured .p5-topic-tag{
  left:10px !important;
  right:auto !important;
  background:#ffe08b !important;
  color:#15356e !important;
}
.p5-article-date{
  left:10px !important;
  right:auto !important;
  top:8px !important;
  padding:6px 10px !important;
  border-radius:12px !important;
  background:#fff !important;
  color:var(--navy) !important;
  font-size:10px !important;
  font-weight:800 !important;
  border:1px solid rgba(216,149,34,.18);
  box-shadow:0 5px 15px rgba(10,45,100,.08);
}

.p5-featured .p5-topic-tag + .p5-article-date{left:10px !important;top:44px !important}

.p5-cat{
  position:relative;
  transition:background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.p5-cat:hover{
  background:linear-gradient(145deg,#0b438d,#082f6f) !important;
  color:#fff !important;
  border-color:#0b438d !important;
  box-shadow:0 12px 24px rgba(8,45,105,.16);
  transform:translateY(-2px);
}
.p5-cat:hover .p5-icon svg{
  stroke:#f2b544 !important;
}
.p5-cat.active .p5-icon svg{
  stroke:#fff;
}
.p5-cat.active:hover .p5-icon svg{
  stroke:#f2b544 !important;
}

.p5-categories{margin-top:16px !important;padding:17px 18px !important}
.p5-cat-grid{gap:8px !important}
.p5-cat{min-height:72px !important}

@media(min-width:761px){
  .p5-articles{grid-template-columns:1.55fr repeat(4,1fr) !important}
  .p5-featured{grid-column:auto !important;grid-row:auto !important}
}

@media(max-width:760px){
  .p5-articles{
    align-items:start !important;
    gap:8px !important;
  }
  .p5-card .p5-thumb{height:102px !important}
  .p5-featured .p5-thumb{height:165px !important}
  .p5-card-body{padding:8px !important}
  .p5-card h3{font-size:11.2px !important}
  .p5-featured h3{font-size:15px !important}
  .p5-card p{font-size:9.2px !important}
  .p5-card-footer{font-size:8.5px !important;margin-top:8px !important}
  .p5-topic-tag{
    font-size:9px !important;
    padding:5px 8px !important;
  }
  .p5-article-date{
    font-size:8px !important;
    padding:5px 7px !important;
  }
  .p5-featured .p5-topic-tag + .p5-article-date{top:38px !important}
}

@media(max-width:430px){
  .p5-card .p5-thumb{height:92px !important}
  .p5-featured .p5-thumb{height:155px !important}
  .p5-card h3{font-size:10.5px !important}
  .p5-featured h3{font-size:14px !important}
  .p5-card p{font-size:8.8px !important}
}

@media(min-width:761px){
  .p5-articles{
    align-items:stretch !important;
    grid-auto-rows:336px !important;
  }

  .p5-articles .p5-card{
    height:336px !important;
    min-height:336px !important;
    align-self:stretch !important;
    overflow:hidden !important;
  }

  .p5-articles .p5-card-body{
    flex:1 1 auto !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }

  
  .p5-articles .p5-featured .p5-thumb{
    height:178px !important;
    flex:0 0 178px !important;
  }

  .p5-articles .p5-card:not(.p5-featured) .p5-thumb{
    height:118px !important;
    flex:0 0 118px !important;
  }

  
  .p5-articles .p5-featured h3{
    font-size:18px !important;
    line-height:1.55 !important;
    margin-bottom:5px !important;
  }

  .p5-articles .p5-card:not(.p5-featured) h3{
    font-size:14px !important;
    line-height:1.55 !important;
    margin-bottom:4px !important;
  }

  .p5-articles .p5-card p{
    font-size:11px !important;
    line-height:1.65 !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }

  .p5-articles .p5-featured p{
    -webkit-line-clamp:2;
  }

  .p5-articles .p5-card-footer{
    margin-top:auto !important;
    padding-top:7px !important;
    flex:0 0 auto !important;
  }
}

@media(min-width:761px) and (max-width:1100px){
  .p5-articles{
    grid-auto-rows:330px !important;
  }
  .p5-articles .p5-card{
    height:330px !important;
    min-height:330px !important;
  }
}

@media(max-width:760px){
  .p5-articles{
    align-items:stretch !important;
  }
  .p5-articles .p5-card{
    height:auto !important;
    min-height:0 !important;
  }
  .p5-articles .p5-card-body{
    flex:1 1 auto !important;
  }
  .p5-articles .p5-card p{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .p5-articles .p5-featured p{
    -webkit-line-clamp:2;
  }
}

.projects-section {
  background-color: transparent !important;
}
.p5-page{
  background: transparent !important;
}
.p5-page:before,
.p5-page:after{
  display:none !important;
}

.p5-book{
  overflow:visible !important;
  background:transparent !important;
  box-shadow:
    0 24px 38px rgba(8,34,75,.20),
    0 0 0 1px rgba(216,149,34,.10);
  transform:rotate(-9deg) translateY(0);
  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    filter .5s ease,
    box-shadow .5s ease;
}

.p5-book-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:10px 14px 16px 8px;
  z-index:2;
  box-shadow:
    inset 0 0 0 1px rgba(255,214,122,.70),
    inset -12px 0 18px rgba(255,255,255,.08);
}

.p5-book:before{
  content:"";
  position:absolute;
  inset:-7px;
  z-index:1;
  border-radius:13px 17px 19px 11px;
  border:1px solid rgba(224,164,53,.48);
  box-shadow:
    0 0 0 1px rgba(245,195,88,.12),
    0 0 16px rgba(220,153,35,.20),
    10px 15px 24px rgba(191,128,25,.08);
  transition:
    border-color .45s ease,
    box-shadow .45s ease,
    opacity .45s ease;
}

.p5-book:after{
  content:"";
  position:absolute;
  top:-10px;
  right:-8px;
  width:4px;
  height:calc(100% + 20px);
  z-index:4;
  border-radius:99px;
  background:linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,210,111,.55) 18%,
    #f2b94f 50%,
    rgba(255,210,111,.55) 82%,
    transparent 100%
  );
  opacity:.72;
  filter:blur(.2px);
  box-shadow:0 0 10px rgba(240,177,54,.38);
  transition:
    opacity .45s ease,
    box-shadow .45s ease,
    filter .45s ease;
}

.p5-book:hover{
  transform:rotate(-6deg) translateY(-13px) scale(1.025);
  filter:saturate(1.08);
  box-shadow:
    0 30px 42px rgba(8,34,75,.22),
    0 0 18px rgba(239,175,50,.45),
    0 0 42px rgba(239,175,50,.20);
}
.p5-book:hover:before{
  border-color:#ffd46c;
  box-shadow:
    0 0 8px rgba(255,210,104,.95),
    0 0 24px rgba(239,174,48,.80),
    0 0 48px rgba(239,174,48,.35),
    12px 18px 30px rgba(196,132,29,.16);
}
.p5-book:hover:after{
  opacity:1;
  filter:blur(.1px);
  box-shadow:
    0 0 10px rgba(255,214,116,1),
    0 0 24px rgba(239,174,48,.95),
    0 0 42px rgba(239,174,48,.55);
}

.p5-hero-note{
  left:2px !important;
  right:auto !important;
  direction:ltr !important;
  text-align:left !important;
}
.p5-hero-note:after{
  margin-left:0 !important;
  margin-right:auto !important;
  transform:rotate(7deg) !important;
}

.p5-cat.active{
  background:#fbfcff !important;
  color:#123a7d !important;
  box-shadow:none !important;
}

.p5-cat:hover{
  background:linear-gradient(135deg,#0d438e,#082d68) !important;
  color:#fff !important;
  border-color:#0d438e !important;
  box-shadow:
    0 12px 24px rgba(8,45,105,.20),
    inset 0 0 0 1px rgba(255,255,255,.06);
  transform:translateY(-2px);
}

.p5-cat:hover .p5-icon svg{
  stroke:#f2b544 !important;
}

.p5-articles .p5-card:not(.p5-featured) h3{
  font-size:14px !important;      
  line-height:1.55 !important;
}

.p5-articles .p5-featured h3{
  font-size:18px !important;      
  line-height:1.55 !important;
}

.p5-articles .p5-card:not(.p5-featured) p{
  font-size:11px !important;      
  line-height:1.65 !important;
}

.p5-articles .p5-featured p{
  font-size:11px !important;      
  line-height:1.65 !important;
}

.p5-articles .p5-card-footer{
  font-size:10px !important;
}

@media(max-width:760px){
  .p5-book-image{
    border-radius:9px 12px 14px 7px;
  }

  .p5-hero-note{
    display:none;
  }

  .p5-articles .p5-card:not(.p5-featured) h3{
    font-size:11.2px !important;
  }

  .p5-articles .p5-featured h3{
    font-size:15px !important;
  }

  .p5-articles .p5-card:not(.p5-featured) p,
  .p5-articles .p5-featured p{
    font-size:9.2px !important;
  }
}

@media(max-width:430px){
  .p5-articles .p5-card:not(.p5-featured) h3{
    font-size:10.5px !important;
  }

  .p5-articles .p5-featured h3{
    font-size:14px !important;
  }
}

@media screen and (min-width:761px){

  
  .p5-articles > .p5-featured{
    margin-top:0 !important;
    transform:none !important;
    align-self:stretch !important;
    height:336px !important;
    min-height:336px !important;
    max-height:336px !important;
  }

  
  .p5-articles > .p5-featured > .p5-thumb{
    height:118px !important;
    min-height:118px !important;
    max-height:118px !important;
    flex:0 0 118px !important;
    margin:0 !important;
  }

  
  .p5-articles > .p5-card:not(.p5-featured){
    margin-top:0 !important;
    transform:none !important;
    height:336px !important;
    min-height:336px !important;
    max-height:336px !important;
    align-self:stretch !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) > .p5-thumb{
    height:118px !important;
    min-height:118px !important;
    max-height:118px !important;
    flex:0 0 118px !important;
    margin:0 !important;
  }

  
  .p5-articles > .p5-featured > .p5-card-body,
  .p5-articles > .p5-card:not(.p5-featured) > .p5-card-body{
    padding-top:10px !important;
    margin-top:0 !important;
  }

  
  .p5-articles > .p5-featured h3{
    font-size:20px !important;
    line-height:1.5 !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) h3{
    font-size:14px !important;
    line-height:1.55 !important;
  }
}

@media screen and (min-width:761px){

  
  .p5-articles{
    align-items:start !important;
    grid-auto-rows:auto !important;
  }

  
  .p5-articles > .p5-card:not(.p5-featured){
    height:350px !important;
    min-height:350px !important;
    max-height:350px !important;
    align-self:start !important;
    margin-top:0 !important;
  }

  
  .p5-articles > .p5-card:not(.p5-featured) > .p5-thumb{
    height:155px !important;
    min-height:155px !important;
    max-height:155px !important;
    flex:0 0 155px !important;
  }

  
  .p5-articles > .p5-featured{
    height:390px !important;
    min-height:390px !important;
    max-height:390px !important;
    align-self:start !important;
    margin-top:0 !important;
  }

  
  .p5-articles > .p5-featured > .p5-thumb{
    height:255px !important;
    min-height:255px !important;
    max-height:255px !important;
    flex:0 0 255px !important;
  }

  
  .p5-articles > .p5-featured h3{
    font-size:18px !important;
    line-height:1.55 !important;
    margin-bottom:5px !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) h3{
    font-size:16px !important;
    line-height:1.55 !important;
  }

  
  .p5-articles > .p5-featured p{
    font-size:13px !important;
    line-height:1.65 !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) p{
    font-size:12px !important;
    line-height:1.65 !important;
  }

  
  .p5-articles > .p5-featured .p5-card-body,
  .p5-articles > .p5-card:not(.p5-featured) .p5-card-body{
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }

  .p5-articles > .p5-featured .p5-card-footer,
  .p5-articles > .p5-card:not(.p5-featured) .p5-card-footer{
    margin-top:auto !important;
  }
}

@media screen and (min-width:761px) and (max-width:1100px){
  .p5-articles > .p5-card:not(.p5-featured){
    height:340px !important;
    min-height:340px !important;
    max-height:340px !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) > .p5-thumb{
    height:140px !important;
    min-height:140px !important;
    max-height:140px !important;
    flex-basis:140px !important;
  }

  .p5-articles > .p5-featured{
    height:370px !important;
    min-height:370px !important;
    max-height:370px !important;
  }

  .p5-articles > .p5-featured > .p5-thumb{
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
    flex-basis:220px !important;
  }
}

@media screen and (max-width:760px){
  .p5-articles > .p5-card:not(.p5-featured) > .p5-thumb{
    height:125px !important;
    min-height:125px !important;
    max-height:125px !important;
    flex-basis:125px !important;
  }

  .p5-articles > .p5-featured > .p5-thumb{
    height:190px !important;
    min-height:190px !important;
    max-height:190px !important;
    flex-basis:190px !important;
  }

  .p5-articles > .p5-featured h3{
    font-size:15px !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) h3{
    font-size:11.2px !important;
  }
}

@media screen and (max-width:430px){
  .p5-articles > .p5-card:not(.p5-featured) > .p5-thumb{
    height:112px !important;
    min-height:112px !important;
    max-height:112px !important;
    flex-basis:112px !important;
  }

  .p5-articles > .p5-featured > .p5-thumb{
    height:175px !important;
    min-height:175px !important;
    max-height:175px !important;
    flex-basis:175px !important;
  }

  .p5-articles > .p5-featured h3{
    font-size:14px !important;
  }

  .p5-articles > .p5-card:not(.p5-featured) h3{
    font-size:10.5px !important;
  }
}

@media screen and (min-width:1101px){
  .p5-articles > .p5-featured{
    margin-top:-40px !important;
  }
}

@media screen and (min-width:761px) and (max-width:1100px){
  
  .p5-articles > .p5-featured{
    margin-top:-30px !important;
  }
}

.p5-hero-note:after{
  display:none !important;
  content:none !important;
}

@media (max-width:760px){

  
  html{scroll-behavior:smooth}
  body{
    overflow-x:hidden !important;
    background:#fff !important;
    -webkit-tap-highlight-color:transparent;
  }
  .p5-page{
    min-height:100vh;
    overflow-x:hidden;
    overflow-y:visible;
  }
  .p5-container{
    width:calc(100% - 20px) !important;
    max-width:none !important;
  }

  
  .p5-hero{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    min-height:0 !important;
    padding:6px 0 0 !important;
    position:relative;
  }
  .p5-hero-copy{
    order:1 !important;
    padding:6px 2px 0 !important;
    text-align:center !important;
    z-index:5;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }
  .p5-hero-copy h1{
    font-size:clamp(30px,9.2vw,42px) !important;
    line-height:1.2 !important;
    letter-spacing:-1.1px !important;
    margin:0 0 8px !important;
    width:100% !important;
  }
  .p5-hero-copy p{
    max-width:360px !important;
    margin:0 auto 14px !important;
    font-size:12px !important;
    line-height:1.9 !important;
    color:#2a4f8c !important;
    width:100% !important;
  }
  
  .p5-btn-desktop{ display:none !important; }
  .p5-btn-mobile{ display:inline-flex !important; }
  .p5-hero-row{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:14px !important;
    width:100% !important;
    margin-top:4px !important;
    direction:rtl !important;
    order:2 !important;
  }
  .p5-hero-row .p5-btn-mobile{
    min-height:42px !important;
    padding:0 18px !important;
    font-size:11.5px !important;
    gap:8px !important;
    border-width:1.5px !important;
    box-shadow:0 10px 26px rgba(8,45,105,.10) !important;
    flex-shrink:0 !important;
    white-space:nowrap !important;
  }
  .p5-hero-art{
    order:2 !important;
    min-height:0 !important;
    height:auto !important;
    width:auto !important;
    transform:none !important;
    margin-top:0 !important;
    overflow:visible !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-shrink:0 !important;
  }
  .p5-book{
    width:100px !important;
    height:148px !important;
    transform:rotate(-8deg) translateY(0) !important;
    animation:mobileBookFloat 5.2s ease-in-out infinite !important;
    will-change:transform;
  }
  .p5-book:hover{
    transform:rotate(-5deg) translateY(-4px) scale(1.03) !important;
  }
  .p5-book-image{
    border-radius:9px 12px 14px 7px !important;
  }
  .p5-book:before{
    inset:-6px !important;
    box-shadow:
      0 0 14px rgba(220,153,35,.22),
      0 0 32px rgba(239,174,48,.14) !important;
  }
  .p5-book:after{
    top:-8px !important;
    right:-6px !important;
    height:calc(100% + 16px) !important;
    box-shadow:0 0 12px rgba(240,177,54,.5) !important;
  }
  .p5-glass,.p5-spark,.p5-hero-note{display:none !important}

  @keyframes mobileBookFloat{
    0%,100%{transform:rotate(-8deg) translateY(0)}
    50%{transform:rotate(-6deg) translateY(-6px)}
  }

  
  .p5-articles{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    margin:14px -10px 0 !important;
    
    padding:36px 10px 22px !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    direction:ltr !important;
    
    align-items:flex-end !important;
    overscroll-behavior-x:contain !important;
    touch-action:pan-x !important;
  }
  .p5-articles::-webkit-scrollbar{display:none !important}

  
  .p5-articles .p5-card{
    flex:0 0 78vw !important;
    width:78vw !important;
    min-width:78vw !important;
    max-width:78vw !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    border-radius:20px !important;
    scroll-snap-align:center !important;
    scroll-snap-stop:always !important;
    box-shadow:
      0 14px 36px rgba(13,48,96,.11),
      0 2px 8px rgba(13,48,96,.04) !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    background:rgba(255,255,255,.97) !important;
    border:1px solid #e4eaf3 !important;
    align-self:flex-end !important;
  }

  
  .p5-articles .p5-featured{
    flex:0 0 86vw !important;
    width:86vw !important;
    min-width:86vw !important;
    max-width:86vw !important;
    height:380px !important;
    min-height:380px !important;
    max-height:380px !important;
    margin:0 !important;
    align-self:flex-end !important;
    border:1px solid rgba(216,149,34,.18) !important;
    box-shadow:
      0 20px 48px rgba(8,42,93,.14),
      0 0 0 1px rgba(218,154,40,.10),
      0 0 28px rgba(216,149,34,.08) !important;
  }

  
  .p5-articles .p5-card:not(.p5-featured) > .p5-thumb{
    height:140px !important;
    min-height:140px !important;
    max-height:140px !important;
    flex:0 0 140px !important;
    background-position:center !important;
    background-size:cover !important;
  }
  .p5-articles .p5-featured > .p5-thumb{
    height:200px !important;
    min-height:200px !important;
    max-height:200px !important;
    flex:0 0 200px !important;
    background-position:center !important;
    background-size:cover !important;
  }

  .p5-articles .p5-card-body{
    padding:12px 14px 13px !important;
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
    min-height:0 !important;
  }

  
  .p5-articles .p5-card:not(.p5-featured) h3{
    font-size:13.5px !important;
    line-height:1.65 !important;
    margin:0 0 5px !important;
    font-weight:900 !important;
  }
  .p5-articles .p5-featured h3{
    font-size:18.5px !important;
    line-height:1.55 !important;
    margin:0 0 6px !important;
    font-weight:900 !important;
  }
  .p5-articles .p5-card:not(.p5-featured) p{
    font-size:11px !important;
    line-height:1.75 !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .p5-articles .p5-featured p{
    font-size:12px !important;
    line-height:1.75 !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .p5-articles .p5-card-footer{
    margin-top:auto !important;
    padding-top:10px !important;
    font-size:10px !important;
    font-weight:700 !important;
  }
  .p5-articles .p5-arrow{font-size:18px !important}

  
  .p5-articles .p5-topic-tag,
  .p5-articles .p5-tag{
    right:10px !important;
    left:auto !important;
    top:0 !important;
    font-size:10px !important;
    padding:6px 11px !important;
    border-radius:0 0 12px 12px !important;
  }
  .p5-articles .p5-featured .p5-topic-tag,
  .p5-articles .p5-featured .p5-tag{
    left:10px !important;
    right:auto !important;
    background:#ffe08b !important;
    color:#15356e !important;
  }
  .p5-articles .p5-article-date,
  .p5-articles .p5-date{
    left:8px !important;
    right:auto !important;
    top:8px !important;
    font-size:9px !important;
    padding:5px 8px !important;
    border-radius:10px !important;
  }
  .p5-articles .p5-featured .p5-topic-tag + .p5-article-date,
  .p5-articles .p5-featured .p5-tag + .p5-date{
    top:42px !important;
  }

  
  .p5-categories{
    margin:4px 0 0 !important;
    padding:14px 12px 12px !important;
    border-radius:18px !important;
    box-shadow:0 12px 32px rgba(15,50,100,.07) !important;
    border:1px solid #e6ecf5 !important;
  }
  .p5-categories-title{
    font-size:13.5px !important;
    margin-bottom:10px !important;
    font-weight:900 !important;
  }
  .p5-cat-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:9px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:2px 2px 8px !important;
    direction:rtl !important;
    justify-content:flex-start !important;
    scroll-snap-type:x proximity !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-x !important;
  }
  .p5-cat-grid::-webkit-scrollbar{display:none !important}
  .p5-cat{
    flex:0 0 102px !important;
    min-width:102px !important;
    min-height:72px !important;
    padding:8px 6px !important;
    border-radius:14px !important;
    gap:6px !important;
    font-size:10.5px !important;
    font-weight:600 !important;
    scroll-snap-align:start !important;
    box-shadow:0 4px 14px rgba(15,50,100,.04) !important;
    background:#fbfcff !important;
    border:1px solid transparent !important;
    transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease !important;
  }
  .p5-cat .p5-icon{
    width:28px !important;
    height:28px !important;
  }
  .p5-cat .p5-icon svg{
    width:24px !important;
    height:24px !important;
  }
  
  .p5-cat:hover{transform:none !important}
  .p5-cat:active,
  .p5-cat.touch-active{
    background:linear-gradient(135deg,#0d438e,#082d68) !important;
    color:#fff !important;
    border-color:#0d438e !important;
    box-shadow:0 10px 22px rgba(8,45,105,.18) !important;
  }
  .p5-cat:active .p5-icon svg,
  .p5-cat.touch-active .p5-icon svg{
    stroke:#f2b544 !important;
  }
}

@media (max-width:430px){
  .p5-container{width:calc(100% - 16px) !important}
  .p5-hero-copy h1{font-size:29px !important}
  .p5-hero-copy p{font-size:11.2px !important}
  .p5-hero-art{
    height:auto !important;
    min-height:0 !important;
  }
  .p5-book{
    width:96px !important;
    height:142px !important;
  }
  .p5-articles{
    gap:10px !important;
    padding:30px 8px 18px !important;
    margin-left:-8px !important;
    margin-right:-8px !important;
  }
  .p5-articles .p5-card{
    flex-basis:82vw !important;
    width:82vw !important;
    min-width:82vw !important;
    max-width:82vw !important;
    height:300px !important;
    min-height:300px !important;
    max-height:300px !important;
  }
  .p5-articles .p5-featured{
    flex-basis:90vw !important;
    width:90vw !important;
    min-width:90vw !important;
    max-width:90vw !important;
    height:360px !important;
    min-height:360px !important;
    max-height:360px !important;
  }
  .p5-articles .p5-card:not(.p5-featured) > .p5-thumb{
    height:130px !important;
    min-height:130px !important;
    max-height:130px !important;
    flex-basis:130px !important;
  }
  .p5-articles .p5-featured > .p5-thumb{
    height:185px !important;
    min-height:185px !important;
    max-height:185px !important;
    flex-basis:185px !important;
  }
  .p5-articles .p5-card:not(.p5-featured) h3{font-size:12.5px !important}
  .p5-articles .p5-featured h3{font-size:17px !important}
  .p5-articles .p5-card:not(.p5-featured) p,
  .p5-articles .p5-featured p{font-size:10.5px !important}
  .p5-cat{
    flex-basis:96px !important;
    min-width:96px !important;
    min-height:68px !important;
    font-size:10px !important;
  }
}

@media (max-width:360px){
  .p5-hero-copy h1{font-size:27px !important}
  .p5-hero-copy p{font-size:10.5px !important}
  .p5-articles .p5-card{
    flex-basis:85vw !important;
    width:85vw !important;
    min-width:85vw !important;
    max-width:85vw !important;
  }
  .p5-articles .p5-featured{
    flex-basis:92vw !important;
    width:92vw !important;
    min-width:92vw !important;
    max-width:92vw !important;
  }
  .p5-articles .p5-featured > .p5-thumb{
    height:185px !important;
    min-height:185px !important;
    max-height:185px !important;
    flex-basis:185px !important;
  }
  .p5-articles .p5-featured h3{font-size:16px !important}
}

:root {
  --navy: #082c62;
  --navy2: #123f7d;
  --gold: #c98918;
  --gold2: #f1b83b;
  --text: #0b336e;
  --muted: #4c6280;
  --line: #c8d1dc;
  --white: #fff;
  --card: #f8fafc;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 10px 30px rgba(23, 51, 80, 0.07);
  --shadow-hover: 0 14px 32px rgba(29, 56, 85, 0.13);
}

.clients-section { scroll-behavior: smooth; }
.clients-section {
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
.clients-section button { font: inherit; border: none; cursor: pointer; }

.clients-section {
  position: relative;
  padding: 48px 4vw 80px;
  isolation: isolate;
  
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.clients-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: -280px;
  bottom: -420px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(201, 137, 24, 0.2);
  pointer-events: none;
  z-index: 0;
}

.c6-hero {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 500px;
  direction: ltr;
}

.c6-hero-visual {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, #172536 0%, #293545 40%, #d6d7d5 70%, #f9f9f8 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.08);
}

.c6-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
  background: #0a1628;
}
.c6-video-shade {
  z-index: 2;
  pointer-events: none;
}
.c6-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(8,20,36,0.65) 0%,
    rgba(8,25,45,0.35) 35%,
    rgba(255,255,255,0.08) 55%,
    rgba(255,255,255,0.9) 80%,
    rgba(255,255,255,0.98) 100%);
}

.c6-hero-copy {
  direction: rtl;
  text-align: right;
  padding: 10px 10px 0 5px;
}
.c6-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 3.8vw, 58px);
  line-height: 1.5;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1.4px;
}
.c6-hero-copy h1 .gold { color: #c88312; }
.c6-hero-copy p {
  margin: 0 0 26px;
  max-width: 580px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 2;
  font-weight: 500;
  color: #123c75;
}

.c6-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  direction: rtl;
  gap: 0;
}
.c6-feature {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid #d0d7e0;
}
.c6-feature:last-child { border-left: 0; }

.c6-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border: 1.5px solid #e4a52e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.7);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.c6-feature:hover .c6-feature-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(201, 137, 24, 0.2);
}
.c6-feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.c6-feature strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 3px;
  font-weight: 700;
}
.c6-feature small {
  display: block;
  font-size: 11.5px;
  line-height: 1.6;
  color: #183f72;
}

.c6-customers-panel {
  max-width: 1400px;
  margin: 28px auto 0;
  padding: 28px 18px 30px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(230,236,243,0.9);
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  direction: rtl;
}

.c6-panel-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 0 36px 20px;
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 800;
}
.c6-panel-title::before,
.c6-panel-title::after {
  content: "";
  display: block;
  height: 1px;
  width: 52px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.c6-panel-title::before { order: 2; transform: scaleX(-1); }
.c6-panel-title::after { order: 0; }
.c6-panel-title span { order: 1; }

.c6-customers-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.c6-customer-scroller {
  flex: 1;
  overflow: hidden;
  position: relative;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.c6-customer-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll-logos 48s linear infinite;
  will-change: transform;
}
.c6-customer-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.c6-customer-card {
  flex: 0 0 152px;
  min-height: 168px;
  padding: 16px 8px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow: 0 4px 16px rgba(29,56,85,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  direction: rtl;
}
.c6-customer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.c6-logo-link {
  height: 64px;
  width: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  text-decoration: none;
}
.c6-logo-link img {
  width: 78px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.c6-customer-card:hover .c6-logo-link img {
  transform: scale(1.06);
}

.c6-customer-card strong {
  font-size: 11.5px;
  line-height: 1.55;
  color: #0b336e;
  min-height: 36px;
  font-weight: 700;
}
.c6-customer-card small {
  font-size: 9px;
  line-height: 1.55;
  color: #41618a;
  margin-top: 2px;
}

.c6-nav-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--navy2);
  color: var(--navy2);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.25s ease;
  z-index: 2;
}
.c6-nav-btn:hover {
  background: var(--navy2);
  color: #fff;
  transform: scale(1.08);
}

@media (max-width: 1200px) {
  .clients-section { padding: 40px 3.5vw 70px; }
  .c6-hero {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .c6-hero-visual { min-height: 440px; }
  .c6-customer-card { flex: 0 0 140px; }
}

@media (max-width: 992px) {
  .c6-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
  .c6-hero-copy {
    order: 1;
    text-align: center;
    padding: 0 12px;
  }
  .c6-hero-copy h1 {
    font-size: clamp(32px, 6vw, 46px);
  }
  .c6-hero-copy p {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .c6-hero-visual {
    order: 2;
    min-height: 380px;
    border-radius: 28px;
  }
  .c6-video-shade {
    background: linear-gradient(180deg,
      rgba(8,25,43,0.15) 0%,
      rgba(255,255,255,0.2) 35%,
      rgba(255,255,255,0.92) 70%,
      #fff 100%);
  }
  
  .c6-features {
    max-width: 640px;
    margin: 8px auto 0;
  }
  
  .c6-customers-panel {
    margin-top: 24px;
    padding: 22px 14px 24px;
    border-radius: 32px;
  }
  .c6-panel-title {
    margin: 0 20px 16px;
    font-size: 15.5px;
  }
  .c6-customer-card {
    flex: 0 0 132px;
    min-height: 155px;
  }
}

@media (max-width: 700px) {
  .clients-section {
    padding: 28px 14px 50px;
  }
  
  .c6-hero-copy h1 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.55;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
  }
  .c6-hero-copy p {
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 20px;
  }
  
  .c6-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
    max-width: 100%;
  }
  .c6-feature {
    padding: 0 10px;
    border-left: 1px solid #d5dce5;
  }
  .c6-feature:nth-child(2n) { border-left: 0; }
  .c6-feature-icon {
    width: 54px;
    height: 54px;
  }
  .c6-feature-icon img {
    width: 28px;
    height: 28px;
  }
  .c6-feature strong { font-size: 13.5px; }
  .c6-feature small { font-size: 11px; }
  
  .c6-hero-visual {
    min-height: 300px;
    border-radius: 24px;
  }
  
  .c6-customers-panel {
    margin-top: 20px;
    padding: 18px 10px 20px;
    border-radius: 26px;
  }
  .c6-panel-title {
    margin: 0 12px 14px;
    font-size: 14.5px;
    gap: 10px;
  }
  .c6-panel-title::before,
  .c6-panel-title::after { width: 36px; }
  
  .c6-customer-card {
    flex: 0 0 118px;
    min-height: 148px;
    padding: 14px 6px 10px;
    border-radius: 16px;
  }
  .c6-logo-link {
    height: 54px;
    width: 70px;
  }
  .c6-logo-link img {
    width: 68px;
    height: 52px;
  }
  .c6-customer-card strong {
    font-size: 10.5px;
    min-height: 32px;
  }
  .c6-customer-card small {
    font-size: 8.5px;
  }
  
  .c6-nav-btn {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  
  .c6-customer-track {
    gap: 10px;
    animation-duration: 38s;
  }
}

@media (max-width: 420px) {
  .clients-section {
    padding: 22px 12px 42px;
  }
  
  .c6-hero-copy h1 {
    font-size: 26px;
  }
  .c6-hero-copy p {
    font-size: 13.5px;
  }
  
  .c6-feature-icon {
    width: 48px;
    height: 48px;
  }
  .c6-feature-icon img {
    width: 24px;
    height: 24px;
  }
  .c6-feature strong { font-size: 12.5px; }
  .c6-feature small { font-size: 10px; }
  
  .c6-hero-visual {
    min-height: 260px;
    border-radius: 20px;
  }
  
  .c6-customers-panel {
    padding: 16px 8px 18px;
    border-radius: 22px;
  }
  
  .c6-customer-card {
    flex: 0 0 108px;
    min-height: 140px;
  }
  .c6-logo-link {
    height: 48px;
    width: 64px;
  }
  .c6-logo-link img {
    width: 62px;
    height: 46px;
  }
  .c6-customer-card strong {
    font-size: 10px;
  }
  
  .c6-nav-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .c6-customer-track {
    gap: 8px;
    animation-duration: 34s;
  }
}

@media (min-width: 1500px) {
  .c6-hero {
    min-height: 540px;
  }
  .c6-hero-visual {
    min-height: 520px;
  }
  .c6-customer-card {
    flex: 0 0 160px;
  }
}

.asaidea-footer a {
    color: inherit;
    text-decoration: none;
}

.asaidea-footer ul {
    list-style: none;
}

.asaidea-footer {

    
    --desktop-bg: url('../images/footer-bg-desktop.png');
    --laptop-bg: url('../images/footer-bg-laptop.png');
    --tablet-bg: url('../images/footer-bg-tablet.png');
    --mobile-bg: url('../images/footer-bg-mobile.png');

    --white: #ffffff;
    --text: #edf1f7;

    --gold: #ffb300;
    --gold-light: #ff9f2d;

    width: 100%;

    position: relative;

    overflow: hidden;

    color: var(--white);

    direction: rtl;

    background-image: var(--desktop-bg);

    background-repeat: no-repeat;

    background-position: center center;
}

.asaidea-footer::before {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.025);

    pointer-events: none;

    z-index: 0;
}

.footer-container {

    position: relative;

    z-index: 2;

    width: min(92%, 1680px);

    margin: 0 auto;

    padding-top:
        clamp(65px, 7vw, 115px);

    padding-bottom:
        clamp(18px, 2.2vw, 36px);
}

.footer-main {

    width: 100%;

    display: grid;

    grid-template-columns:
        1.45fr
        1fr
        1fr
        1fr
        1fr;

    direction: rtl;

    align-items: stretch;
}

.footer-column {

    position: relative;

    min-width: 0;

    padding:
        8px
        clamp(18px, 2vw, 38px);

    text-align: right;

    direction: rtl;
}

.footer-column:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 12px;

    bottom: auto;
    height: 72%;

    left: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(255,255,255,.22) 10%,
            rgba(255,255,255,.22) 90%,
            transparent
        );
}

.footer-brand {

    padding-right:
        clamp(20px, 2vw, 40px);

    padding-left:
        clamp(20px, 2.8vw, 55px);

    text-align: right;
}

.footer-brand::after {

    display: none;
}

.brand-logo {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    margin-bottom: 17px;
}

.brand-image {

    display: block;

    width:
        clamp(120px, 10vw, 190px);

    height: auto;

    max-width: 100%;

    object-fit: contain;
}

.brand-categories {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 15px;

    margin-bottom: 24px;

    color: #fff;

    font-size:
        clamp(11px, .82vw, 15px);
}

.brand-categories span {

    white-space: nowrap;
}

.brand-categories i {

    width: 1px;

    height: 17px;

    background: var(--gold);

    opacity: .75;
}

.brand-description {

    max-width: 400px;

    margin:
        0
        0
        0
        0;

    color: var(--text);

    font-size:
        clamp(11px, .83vw, 15px);

    line-height: 2.15;

    text-align: right;
}

.brand-lower {

    width: 100%;

    display: flex;

    flex-direction: row;

    align-items: flex-start;

    justify-content: space-between;

    gap: 25px;

    margin-top:
        clamp(25px, 2.5vw, 38px);

    direction: rtl;
}

.brand-social {

    flex: 1 1 auto;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

    gap: 12px;
}

.social-row {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 13px;

    min-height: 28px;
}

.social-icon {

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    color: var(--gold);

    transform-origin: center center;

    transition:
        color .25s ease,
        filter .25s ease,
        transform .25s ease;

    will-change: transform, filter;
}

.social-row:hover .social-icon {
    color: var(--gold-light, #f4c45d);
    filter:
        drop-shadow(0 0 5px rgba(244, 196, 93, 0.4))
        drop-shadow(0 0 12px rgba(244, 196, 93, 0.2));
    animation: footerSocialPop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.social-row:nth-child(1):hover .social-icon {
    animation: footerSocialInsta 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.social-row:nth-child(2):hover .social-icon {
    animation: footerSocialTelegram 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.social-row:nth-child(3):hover .social-icon {
    animation: footerSocialGlobe 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes footerSocialPop {
    0%   { transform: translateY(0) scale(1); }
    40%  { transform: translateY(-4px) scale(1.12); }
    70%  { transform: translateY(1px) scale(0.98); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes footerSocialInsta {
    0%   { transform: rotate(0deg) scale(1); }
    35%  { transform: rotate(-8deg) scale(1.12); }
    65%  { transform: rotate(6deg) scale(1.08); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes footerSocialTelegram {
    0%   { transform: translate(0, 0) scale(1); }
    45%  { transform: translate(3px, -4px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes footerSocialGlobe {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(18deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.social-text {

    color: var(--text);

    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;

    font-size:
        clamp(10px, .72vw, 14px);

    direction: ltr;

    text-align: left;

    white-space: nowrap;

    transition: color .25s ease;
}

.social-row:hover .social-text {
    color: var(--gold-light, #f4c45d);
}

.trust-badges {

    flex: 0 0 auto;

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    padding-top: 2px;
}

.trust-badge {

    width:
        clamp(58px, 5vw, 78px);

    height:
        clamp(58px, 5vw, 78px);

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.96);

    border-radius: 8px;

    padding: 5px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.trust-badge:hover {

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.18);
}

.trust-badge img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;
}

.footer-title {

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    margin-bottom: 17px;

    min-height: 34px;

    text-align: right;
}

.footer-title-icon {

    width: 30px;

    height: 30px;

    flex: 0 0 30px;

    color: var(--gold);
}

.footer-title h3 {

    margin: 0;

    color: var(--white);

    font-size:
        clamp(14px, 1vw, 20px);

    line-height: 1.8;

    font-weight: 700;

    white-space: nowrap;

    text-align: right;
}

.footer-title-line {

    width: 34px;

    height: 2px;

    margin:
        0
        0
        23px
        auto;

    background: var(--gold);

    border-radius: 10px;
}

.footer-links {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap:
        clamp(12px, 1vw, 19px);

    width: 100%;
}

.footer-links li {

    width: 100%;

    text-align: right;
}

.footer-links li a {

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    gap: 11px;

    width: 100%;

    color: var(--text);

    font-size:
        clamp(11px, .82vw, 15px);

    line-height: 1.9;

    text-align: right;

    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-links li a:hover {

    color: var(--gold-light);

    transform: translateX(-5px);
}

.link-arrow {

    width: 7px;

    height: 7px;

    flex: 0 0 7px;

    border-top:
        1.5px solid var(--gold);

    border-right:
        1.5px solid var(--gold);

    transform: rotate(45deg);
}

.contact-list {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

    width: 100%;
}

.contact-item {

    display: flex;

    flex-direction: row;

    align-items: flex-start;

    justify-content: flex-start;

    gap: 10px;

    width: 100%;
}

.contact-icon {

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    color: var(--gold);
}

.contact-text {

    flex: 0 0 auto;

    width: auto;

    min-width: 0;

    color: var(--text);

    font-size:
        clamp(10px, .8vw, 15px);

    line-height: 1.9;

    text-align: right;
}

.phone-numbers {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

    width: auto;

    direction: ltr;

    text-align: left;

    white-space: nowrap;
}

.phone-numbers span {

    display: block;

    direction: ltr;

    text-align: left;
}

.email {

    direction: ltr;

    text-align: left;

    white-space: nowrap;
}

.footer-bottom {

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top:
        clamp(16px, 2vw, 28px);

    padding-top: 18px;

    border-top:
        1px solid
        rgba(245,197,93,.8);

    direction: rtl;
}

.footer-bottom-nav {

    display: flex;

    flex-direction: row;

    align-items: center;

    flex-wrap: wrap;

    direction: rtl;
}

.footer-bottom-nav a {

    color: var(--text);

    font-size:
        clamp(10px, .72vw, 14px);

    white-space: nowrap;
}

.footer-bottom-nav a:not(:last-child)::after {

    content: "|";

    color: var(--gold);

    margin:
        0
        clamp(9px, 1vw, 18px);
}

.copyright {

    color: var(--text);

    font-size:
        clamp(9px, .7vw, 13px);

    white-space: nowrap;
}

.copyright span {

    color: var(--gold);
}

@media (max-width: 1300px) {

    .asaidea-footer {

        background-image: var(--laptop-bg);

        background-size: auto;

        background-position: center center;
    }

    .footer-container {

        width: 94%;
    }

    .footer-column {

        padding-left: 18px;

        padding-right: 18px;
    }

    .footer-links li a {

        font-size: 12px;
    }

    .brand-image {

        width:
            clamp(115px, 10vw, 175px);
    }

    .brand-lower {

        gap: 18px;

        margin-top: 30px;
    }

    .trust-badges {

        gap: 10px;
    }

    .trust-badge {

        width: 65px;

        height: 65px;
    }
}

@media (max-width: 1100px) {

    .asaidea-footer {

        background-image: var(--tablet-bg);

        background-size: auto;

        background-position: center center;
    }

    .footer-container {

        width: 92%;

        padding-top: 55px;

        padding-bottom: 45px;
    }

    .footer-main {

        grid-template-columns:
            1.3fr
            1fr
            1fr
            1fr
            1fr;
    }

    .footer-column {

        padding:
            22px
            15px;
    }

    .footer-title {

        gap: 9px;
    }

    .footer-title h3 {

        font-size: 13px;
    }

    .footer-title-icon {

        width: 27px;

        height: 27px;

        flex-basis: 27px;
    }

    .footer-links {

        gap: 11px;
    }

    .footer-links li a {

        font-size: 10px;
    }

    .brand-image {

        width:
            clamp(105px, 11vw, 155px);
    }

    .brand-description {

        font-size: 10px;
    }

    .brand-lower {

        margin-top: 24px;

        gap: 10px;
    }

    .social-text {

        font-size: 10px;
    }

    .contact-text {

        font-size: 10px;
    }

    .contact-item {

        gap: 8px;
    }

    .contact-icon {

        width: 25px;

        height: 25px;

        flex-basis: 25px;
    }

    .trust-badges {

        gap: 7px;
    }

    .trust-badge {

        width: 57px;

        height: 57px;

        border-radius: 7px;

        padding: 4px;
    }
}

@media (max-width: 900px) and (min-width: 701px) {

    .footer-container {

        width: 91%;
    }

    .footer-main {

        grid-template-columns:
            1.25fr
            1fr
            1fr
            1fr
            1fr;
    }

    .footer-column {

        padding:
            20px
            11px;
    }

    .footer-title h3 {

        font-size: 12px;
    }

    .footer-links li a {

        font-size: 9px;

        gap: 7px;
    }

    .brand-image {

        width: 115px;
    }

    .brand-lower {

        margin-top: 20px;

        gap: 7px;
    }

    .brand-social {

        gap: 8px;
    }

    .social-row {

        gap: 7px;
    }

    .social-icon {

        width: 22px;

        height: 22px;

        flex-basis: 22px;
    }

    .social-text {

        font-size: 8px;
    }

    .trust-badges {

        gap: 6px;
    }

    .trust-badge {

        width: 52px;

        height: 52px;
    }

    .contact-item {

        gap: 6px;
    }

    .contact-icon {

        width: 22px;

        height: 22px;

        flex-basis: 22px;
    }

    .contact-text {

        font-size: 12px;
    }
}

@media (max-width: 700px) {

    .asaidea-footer {

        background-image: var(--mobile-bg);

        background-size: auto;

        background-position: center top;

        background-repeat: no-repeat;
    }

    .footer-container {

        width: 90%;

        padding:
            35px
            0
            30px;
    }

    

    .footer-main {

        width: 100%;

        display: grid;

        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            auto
            auto
            auto;

        gap: 0 14px;

        direction: rtl;
    }

    

    .footer-brand {

        grid-column: 1 / -1;

        grid-row: 3;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        padding:
            28px
            0
            0;

        text-align: center;
    }

    

    .footer-main > .footer-column:nth-child(2) {

        grid-column: 1;

        grid-row: 1;
    }

    

    .footer-main > .footer-column:nth-child(5) {

        grid-column: 2;

        grid-row: 1;

        display: block;
    }

    

    .footer-main > .footer-column:nth-child(3) {

        grid-column: 1;

        grid-row: 2;
    }

    

    .footer-main > .footer-column:nth-child(4) {

        grid-column: 2;

        grid-row: 2;
    }

    

    .brand-description {

        display: none;
    }

    .brand-categories {

        display: none;
    }

    

    .footer-main > .footer-column:nth-child(5) .contact-list {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        margin-top: 4px;
    }

    .footer-main > .footer-column:nth-child(5) .contact-item {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .footer-main > .footer-column:nth-child(5) .contact-icon {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        color: var(--gold, #C9890A);
    }

    .footer-main > .footer-column:nth-child(5) .contact-text {
        font-size: 11px !important;
        line-height: 1.6;
        color: rgba(255,255,255,0.9);
        word-break: break-word;
    }

    .footer-main > .footer-column:nth-child(5) .phone-numbers {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .footer-main > .footer-column:nth-child(5) .phone-numbers span {
        font-size: 11px !important;
        direction: ltr;
        unicode-bidi: embed;
    }

    

    .brand-logo {

        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        margin-bottom: 14px;
    }

    .brand-image {

        width:
            clamp(105px, 30vw, 155px);

        height: auto;

        max-width: 70%;
    }

    

    .brand-lower {

        width: 100%;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: center;

        gap: 18px;

        margin-top: 5px;
    }

    

    .brand-social {

        flex: 0 1 auto;

        width: auto;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: center;

        gap: 10px;
    }

    .social-row {

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 0;

        min-height: 26px;
    }

    .social-text {

        display: none;
    }

    .social-icon {

        width: 25px;

        height: 25px;

        flex: 0 0 25px;
    }

    

    .trust-badges {

        flex: 0 0 auto;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: center;

        gap: 8px;

        padding: 0;
    }

    .trust-badge {

        width:
            clamp(48px, 14vw, 62px);

        height:
            clamp(48px, 14vw, 62px);

        padding: 4px;

        border-radius: 7px;
    }

    

    .footer-column {

        width: 100%;

        min-height: auto;

        padding:
            20px
            8px;

        border-bottom:
            1px solid
            rgba(255,255,255,.14);
    }

    
    .footer-main > .footer-column:nth-child(5) {
        min-height: auto;
        grid-row: span 1;
    }

    

    .footer-main > .footer-column:nth-child(2)::after,
    .footer-main > .footer-column:nth-child(3)::after,
    .footer-main > .footer-column:nth-child(4)::after {

        display: block;

        top: 20px;

        bottom: 20px;

        left: 0;

        background:
            rgba(255,255,255,.15);
    }

    

    .footer-title {

        gap: 7px;

        margin-bottom: 9px;

        min-height: 28px;
    }

    .footer-title-icon {

        width: 24px;

        height: 24px;

        flex-basis: 24px;
    }

    .footer-title h3 {

        font-size: 13px;
    }

    .footer-title-line {

        width: 24px;

        margin-bottom: 12px;
    }

    

    .footer-links {

        gap: 7px;
    }

    .footer-links li a {

        font-size: 11px;

        gap: 6px;

        line-height: 1.7;
    }

    .link-arrow {

        width: 5px;

        height: 5px;

        flex-basis: 5px;
    }

    

    .footer-bottom {

        display: none;
    }
}

@media (max-width: 500px) {

    .footer-container {

        width: 91%;

        padding-top: 30px;

        padding-bottom: 25px;
    }

    .footer-main {

        gap: 0 9px;
    }

    .footer-column {

        min-height: auto;

        padding:
            17px
            6px;
    }

    .footer-title {

        gap: 6px;
    }

    .footer-title-icon {

        width: 22px;

        height: 22px;

        flex-basis: 22px;
    }

    .footer-title h3 {

        font-size: 10px;
    }

    .footer-title-line {

        width: 21px;

        height: 1.5px;

        margin-bottom: 10px;
    }

    .footer-links {

        gap: 6px;
    }

    .footer-links li a {

        font-size: 8px;

        gap: 5px;
    }

    .brand-image {

        width:
            clamp(100px, 32vw, 145px);

        max-width: 65%;
    }

    .brand-lower {

        gap: 13px;
    }

    .brand-social {

        gap: 8px;
    }

    .social-icon {

        width: 23px;

        height: 23px;

        flex-basis: 23px;
    }

    .trust-badges {

        gap: 7px;
    }

    .trust-badge {

        width:
            clamp(46px, 14vw, 58px);

        height:
            clamp(46px, 14vw, 58px);

        padding: 3px;
    }
}

@media (max-width: 380px) {

    .footer-container {

        width: 93%;

        padding-top: 25px;
    }

    .footer-main {

        gap: 0 7px;
    }

    .footer-column {

        min-height: 92px;

        padding:
            15px
            4px;
    }

    .footer-title {

        gap: 5px;

        margin-bottom: 7px;
    }

    .footer-title-icon {

        width: 20px;

        height: 20px;

        flex-basis: 20px;
    }

    .footer-title h3 {

        font-size: 9px;
    }

    .footer-title-line {

        width: 19px;

        margin-bottom: 9px;
    }

    .footer-links {

        gap: 5px;
    }

    .footer-links li a {

        font-size: 7.2px;

        line-height: 1.6;
    }

    .brand-image {

        width: 105px;
    }

    .brand-lower {

        gap: 9px;
    }

    .brand-social {

        gap: 6px;
    }

    .social-icon {

        width: 21px;

        height: 21px;

        flex-basis: 21px;
    }

    .trust-badges {

        gap: 5px;
    }

    .trust-badge {

        width: 43px;

        height: 43px;

        padding: 3px;
    }
}

@media (max-width: 340px) {

    .footer-container {

        width: 94%;
    }

    .footer-column {

        min-height: 88px;

        padding:
            13px
            3px;
    }

    .footer-title h3 {

        font-size: 8.5px;
    }

    .footer-links li a {

        font-size: 6.8px;
    }

    .brand-image {

        width: 95px;
    }

    .brand-lower {

        gap: 6px;
    }

    .brand-social {

        gap: 4px;
    }

    .social-icon {

        width: 19px;

        height: 19px;

        flex-basis: 19px;
    }

    .trust-badges {

        gap: 4px;
    }

    .trust-badge {

        width: 39px;

        height: 39px;
    }
}

.projects-section {
  
  --projects-bg-image: url('../images/back5.webp');
  position: relative;
  overflow: hidden;
  background-image: var(--projects-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.projects-section::before,
.projects-section::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.projects-section > .p5-page {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.p5-page {
  position: relative;
  overflow: hidden;
  background: transparent !important;
}
.p5-page::before,
.p5-page::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  border: 1px solid rgba(214, 145, 28, 0.35) !important;
  border-radius: 50% !important;
  z-index: 0;
  display: block !important;
  background: transparent !important;
}
.p5-page::before {
  width: 1080px !important;
  height: 600px !important;
  right: -430px !important;
  top: -410px !important;
  transform: rotate(18deg) !important;
}
.p5-page::after {
  width: 960px !important;
  height: 560px !important;
  left: -510px !important;
  top: 15px !important;
  transform: rotate(-20deg) !important;
}
.p5-container {
  position: relative;
  z-index: 2;
}

.clients-section {
  
  --clients-bg-image: url("");
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: var(--clients-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.clients-section > .clients-bg-layer,
.clients-section > .clients-bg-overlay {
  display: none !important;
}
.clients-section::before {
  
  content: "" !important;
  position: absolute !important;
  width: 700px !important;
  height: 700px !important;
  left: -280px !important;
  bottom: -420px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid rgba(201, 137, 24, 0.2) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}
.clients-section > .c6-hero,
.clients-section > .c6-customers-panel {
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .projects-section {
    padding-top: 88px;
    padding-bottom: 40px;
  }
  .projects-section .p5-page {
    min-height: auto;
    padding-top: 24px;
  }
  .projects-section .p5-hero {
    padding-top: 20px;
    min-height: 300px;
  }
  .projects-section .p5-articles {
    margin-top: 28px;
  }
}
@media (min-width: 1200px) {
  .projects-section {
    padding-top: 110px;
  }
}

@media (min-width: 992px) {
  .clients-section {
    padding-top: 72px !important;
    padding-bottom: 80px;
  }
}
@media (min-width: 1200px) {
  .clients-section {
    padding-top: 96px !important;
  }
}

.projects-section,
.clients-section,
.asaidea-footer {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif !important;
}

.sortable-section {
  background-image: url('../images/back2.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}
.services-section {
  background-image: url('../images/back3.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}
.s4-why-asaidea {
  background-image: url('../images/back4.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  
  background-blend-mode: normal;
}
.s4-why-asaidea::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.projects-section {
  background-image: url('../images/back5.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  margin-top: 0 !important;
  
}
.projects-section .p5-page,
.projects-section .p5-container {
  background: transparent !important;
}

.p5-page::before,
.p5-page::after,
.p5-page:before,
.p5-page:after {
  display: none !important;
  content: none !important;
}

.s4-curve,
.s4-dot {
  display: none !important;
}
.s4-why-asaidea {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
@media (min-width: 992px) {
  .projects-section {
    padding-top: 48px !important; 
  }
}
@media (min-width: 1200px) {
  .projects-section {
    padding-top: 56px !important;
  }
}

.asaidea-footer {
    margin-top: 40px; 
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
}
@media (max-width: 1300px) {
  .asaidea-footer { background-size: auto !important; }
}
@media (max-width: 1100px) {
  .asaidea-footer { background-size: auto !important; }
}
@media (max-width: 700px) {
  .asaidea-footer { background-size: auto !important; }
}

.asaidea-footer .contact-item {
    transition: transform .28s ease;
}

.asaidea-footer .contact-item:hover {
    transform: translateX(-3px);
}

.asaidea-footer .contact-item:hover .contact-icon {
    color: var(--gold-light);
    filter: drop-shadow(0 0 5px rgba(244,196,93,.35));
}

.asaidea-footer .contact-item:hover .contact-icon-phone {
    animation: footerPhoneRing .72s cubic-bezier(.22,.61,.36,1) both;
    transform-origin: 50% 50%;
}

.asaidea-footer .contact-item:hover .contact-icon-location {
    animation: footerLocationBounce .72s cubic-bezier(.22,.61,.36,1) both;
    transform-origin: 50% 100%;
}

.asaidea-footer .contact-item:hover .contact-icon-email {
    animation: footerEmailPop .72s cubic-bezier(.22,.61,.36,1) both;
    transform-origin: 50% 50%;
}

@keyframes footerPhoneRing {
    0% { transform: rotate(0) scale(1); }
    18% { transform: rotate(-12deg) scale(1.06); }
    36% { transform: rotate(11deg) scale(1.08); }
    54% { transform: rotate(-8deg) scale(1.05); }
    72% { transform: rotate(6deg) scale(1.03); }
    100% { transform: rotate(0) scale(1); }
}

@keyframes footerLocationBounce {
    0% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-5px) scale(1.08); }
    60% { transform: translateY(1px) scale(.98); }
    78% { transform: translateY(-2px) scale(1.03); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes footerEmailPop {
    0% { transform: translateY(0) scale(1) rotate(0); }
    35% { transform: translateY(-3px) scale(1.08) rotate(-3deg); }
    65% { transform: translateY(1px) scale(1.03) rotate(2deg); }
    100% { transform: translateY(0) scale(1) rotate(0); }
}

.asaidea-footer .footer-title-icon {
    overflow: visible;
    transform-origin: 50% 50%;
    transform-box: fill-box;
    will-change: transform, filter;
    transition: color .25s ease, filter .25s ease;
    cursor: pointer;
}

.asaidea-footer .footer-title:hover .footer-title-icon {
    color: var(--gold-light);
    filter: drop-shadow(0 0 5px rgba(244,196,93,.38)) drop-shadow(0 0 11px rgba(244,196,93,.18));
}

.asaidea-footer .footer-title:hover .footer-icon-gear .gear-body {
    transform-box: fill-box;
    transform-origin: center;
    animation: footerGearSpin .9s cubic-bezier(.22,.61,.36,1) both;
}

.asaidea-footer .footer-title:hover .footer-icon-bulb .bulb-main {
    animation: footerBulbFloat .8s ease both;
}
.asaidea-footer .footer-title:hover .footer-icon-bulb .bulb-rays {
    animation: footerBulbRays .75s ease both;
    transform-origin: center;
}

.asaidea-footer .footer-title:hover .footer-icon-book .book-pages {
    animation: footerBookOpen .7s cubic-bezier(.22,.61,.36,1) both;
}
.asaidea-footer .footer-title:hover .footer-icon-book .book-spine {
    animation: footerBookSpine .7s ease both;
}

.asaidea-footer .footer-icon-chat .chat-back,
.asaidea-footer .footer-icon-chat .chat-front {
    transform-box: fill-box;
    transform-origin: center;
}
.asaidea-footer .footer-title:hover .footer-icon-chat .chat-back {
    animation: footerChatBack .7s cubic-bezier(.22,.61,.36,1) both;
}
.asaidea-footer .footer-title:hover .footer-icon-chat .chat-front {
    animation: footerChatFront .7s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes footerGearSpin {
    0% { transform: rotate(0deg) scale(1); }
    55% { transform: rotate(180deg) scale(1.07); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes footerBulbFloat {
    0% { transform: translateY(0) scale(1); }
    45% { transform: translateY(-2px) scale(1.06); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes footerBulbRays {
    0% { opacity: .45; transform: scale(.82); }
    55% { opacity: 1; transform: scale(1.13); }
    100% { opacity: .9; transform: scale(1); }
}

@keyframes footerBookOpen {
    0% { transform: scaleX(.96); }
    50% { transform: scaleX(1.06) translateY(-1px); }
    100% { transform: scaleX(1); }
}

@keyframes footerBookSpine {
    0%,100% { opacity: 1; }
    50% { opacity: .55; }
}

@keyframes footerChatBack {
    0%   { transform: translate(0, 0) scale(1); }
    45%  { transform: translate(2px, -3px) scale(1.04); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes footerChatFront {
    0%   { transform: translate(0, 0) scale(1); }
    45%  { transform: translate(-2px, 3px) scale(1.04); }
    100% { transform: translate(0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .asaidea-footer .footer-title-icon,
    .asaidea-footer .footer-title:hover .footer-title-icon,
    .asaidea-footer .footer-title:hover .footer-icon-gear .gear-body,
    .asaidea-footer .footer-title:hover .footer-icon-bulb .bulb-main,
    .asaidea-footer .footer-title:hover .footer-icon-bulb .bulb-rays,
    .asaidea-footer .footer-title:hover .footer-icon-book .book-pages,
    .asaidea-footer .footer-title:hover .footer-icon-book .book-spine,
    .asaidea-footer .footer-title:hover .footer-icon-chat .chat-back,
    .asaidea-footer .footer-title:hover .footer-icon-chat .chat-front,
    .asaidea-footer .contact-item,
    .asaidea-footer .contact-item:hover .contact-icon-phone,
    .asaidea-footer .contact-item:hover .contact-icon-location,
    .asaidea-footer .contact-item:hover .contact-icon-email,
    .asaidea-footer .social-row:hover .social-icon {
        animation: none !important;
        transition: none !important;
    }
}


@media (min-width: 701px) and (max-width: 1100px) {
  
  .asaidea-footer .brand-lower {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .asaidea-footer .brand-social {
    width: 100%;
    flex: 0 0 auto;
  }

  .asaidea-footer .trust-badges {
    width: 100%;
    justify-content: flex-start;
    flex: 0 0 auto;
  }
}

@media (max-width: 700px) {
  
  .asaidea-footer .brand-lower {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: 8px;
  }

  .asaidea-footer .brand-social {
    order: 1;
    width: 100%;
    flex: 0 0 auto;
  }

  .asaidea-footer .trust-badges {
    order: 2;
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
  }

  
  .asaidea-footer .footer-main > .footer-column:nth-child(5) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .asaidea-footer .footer-main > .footer-column:nth-child(5) .footer-title,
  .asaidea-footer .footer-main > .footer-column:nth-child(5) .footer-title-line {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .asaidea-footer .footer-main > .footer-column:nth-child(5) .footer-title-line {
    display: block !important;
  }

  .asaidea-footer .footer-main > .footer-column:nth-child(5) .contact-list {
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 12px;
  }

  .asaidea-footer .footer-main > .footer-column:nth-child(5) .contact-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 380px) {
  .asaidea-footer .brand-lower {
    gap: 10px;
  }
}



.asaidea-footer {
  background-color: #ffffff;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

@media (max-width: 1300px) {
  .asaidea-footer {
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (max-width: 1100px) {
  .asaidea-footer {
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (max-width: 700px) {
  .asaidea-footer {
    background-size: cover !important;
    background-position: center top !important;
  }
}







.sortable-section .card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.sortable-section .card-wrap.is-video-playing .card-video {
  opacity: 1;
}
.sortable-section .card-wrap.is-video-playing .card-bg {
  opacity: 0;
  transition: opacity 0.45s ease;
}
@media (hover: none), (max-width: 992px) {
  .sortable-section .card-video {
    display: block !important;
    opacity: 0;
    pointer-events: none;
  }
  .sortable-section .card-wrap.is-video-playing .card-video {
    opacity: 1;
  }
  .sortable-section .card-wrap.is-video-playing .card-bg {
    opacity: 0;
  }
}



/* =========================================
   HERO BACKGROUND
   Desktop/laptop: full stretch (original)
   Mobile only: no vertical stretch
   ========================================= */
.hero {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 1399px) {
  .hero {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
}

/* فقط موبایل: بدون کشیدگی */
@media (max-width: 992px) {
  .hero {
    background-size: 100% auto !important;
    background-position: center top !important;
  }
}

@media (max-width: 600px) {
  .hero {
    background-size: 100% auto !important;
    background-position: center top !important;
  }
}

@media (max-width: 400px) {
  .hero {
    background-size: 100% auto !important;
    background-position: center top !important;
  }
}


/* ===== Section 2 spacing fixes (prevent overlap with hero) ===== */
.sortable-section {
  padding: 80px 3% 80px;
  margin-top: 0;
  position: relative;
  overflow: visible;
}

@media (min-width: 993px) and (max-width: 1600px) {
  .sortable-section {
    margin-top: 40px !important;
    padding-top: 60px !important;
  }
}

@media (min-width: 993px) and (max-width: 1399px) {
  .sortable-section {
    margin-top: 60px !important;
    padding-top: 70px !important;
  }
}

@media (max-width: 992px) {
  .sortable-section {
    margin-top: 0 !important;
    padding-top: 70px !important;
  }
}


/* Contact column: badges sit at bottom, not mixed with contact items */
.footer-main > .footer-column:last-child {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.footer-main > .footer-column:last-child .contact-list {
  flex: 0 0 auto;
}
.contact-trust-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 0;
}
.contact-trust-badges .trust-badge {
  width: clamp(58px, 5vw, 78px);
  height: clamp(58px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.0%);
  border-radius: 8px;
  padding: 5px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-trust-badges .trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.contact-trust-badges .trust-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 769px) {
  .brand-lower .trust-badges {
    display: none !important;
  }
  .contact-trust-badges {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .contact-trust-badges {
    display: none !important;
  }
  .brand-lower .trust-badges {
    display: flex !important;
  }
}


/* Footer CTA & phone responsive alignment */
.brand-actions,
.footer-cta-row,
.brand-phone-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  width: 100%;
}

.brand-actions .btn-consult,
.footer-cta-row .btn-consult,
.brand-phone-cta .btn-consult {
  height: clamp(36px, 4vw, 44px);
  padding: 0 clamp(14px, 2vw, 22px);
  font-size: clamp(12px, 1.1vw, 14px);
  border-radius: 21px;
  flex-shrink: 0;
}

.brand-actions .asa-phone,
.footer-cta-row .asa-phone,
.brand-phone-cta .asa-phone,
.footer-brand .asa-phone {
  font-size: clamp(13px, 1.2vw, 17px);
  height: auto;
  padding: 4px 0;
}

@media (max-width: 1100px) {
  .brand-actions,
  .footer-cta-row,
  .brand-phone-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .brand-actions,
  .footer-cta-row,
  .brand-phone-cta {
    align-items: center;
    width: 100%;
  }
  .brand-actions .btn-consult,
  .footer-cta-row .btn-consult {
    width: 100%;
    max-width: 240px;
  }
}


/* Force 3 cards in a row on tablet/laptop; slightly smaller */
@media (min-width: 1000px) and (max-width: 1399px) {
  .sortable-section .cards {
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 4px;
  }
  .sortable-section .card-wrap {
    flex: 0 0 auto;
  }
  .sortable-section .card {
    width: 18.5rem !important;
    min-width: 18.5rem !important;
    max-width: 18.5rem !important;
    height: 22rem !important;
    min-height: 22rem !important;
    max-height: 22rem !important;
    margin: 0.55rem !important;
  }
}
@media (min-width: 1400px) {
  .sortable-section .cards {
    flex-wrap: nowrap !important;
  }
  .sortable-section .card {
    width: 22rem !important;
    min-width: 22rem !important;
    max-width: 22rem !important;
    height: 26rem !important;
    min-height: 26rem !important;
    max-height: 26rem !important;
  }
}

/* Footer contact phones scale with viewport */
.asaidea-footer .phone-numbers span,
.asaidea-footer .contact-text {
  font-size: clamp(12px, 1.05vw, 15px);
}
.asaidea-footer .contact-item {
  gap: clamp(8px, 1vw, 14px);
}


/* Card button text centering (section 2) */
.sortable-section .card-button {
  justify-content: center !important;
  gap: 8px;
  padding-left: 0.55rem !important;
  padding-right: 0.55rem !important;
}
.sortable-section .card-button-text {
  text-align: center;
  flex: 1;
  padding-right: 0;
  /* 4px shift left for optical center */
  transform: translateX(-4px);
}


/* Clients nav buttons both at bottom */
.c6-customers-wrap {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}
.c6-customer-scroller {
  width: 100%;
  order: 1;
}
.c6-nav-row {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding-top: 4px;
}
.c6-nav-row .c6-nav-btn {
  flex: 0 0 40px;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
}


/* Section 2: English hover badge — keep compact so it does not cover number/icon */
.sortable-section .card-en {
  top: 0.85rem !important;
  z-index: 11 !important;
  padding: 0 0.75rem !important;
}
.sortable-section .card-en-title-box {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 0.85rem !important;
  max-width: calc(100% - 5.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(245, 197, 24, 0.3) !important;
}
/* Ensure number and icon stay above the English badge */
.sortable-section .card-number,
.sortable-section .card-icon-badge {
  z-index: 16 !important;
}


/* Reset s4-cta horizontal shift on smaller screens */
@media (max-width: 992px) {
  .s4-cta {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}


/* ===== Footer background: always cover, responsive fallbacks ===== */
.asaidea-footer {
  background-color: #ffffff !important;
  background-image: var(--desktop-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 1300px) {
  .asaidea-footer {
    background-image: var(--laptop-bg) !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}
@media (max-width: 1100px) {
  .asaidea-footer {
    background-image: var(--tablet-bg) !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}
@media (max-width: 700px) {
  .asaidea-footer {
    background-image: var(--mobile-bg) !important;
    background-size: cover !important;
    background-position: center top !important;
  }
}
/* intermediate sizes still use cover so image never tiles/crops badly */
@media (min-width: 701px) and (max-width: 1099px) {
  .asaidea-footer {
    background-size: cover !important;
    background-position: center center !important;
  }
}
@media (min-width: 1101px) and (max-width: 1299px) {
  .asaidea-footer {
    background-size: cover !important;
    background-position: center center !important;
  }
}



/* Projects (p5): improve mobile vertical scroll */
@media (max-width: 760px) {
  .projects-section,
  .projects-section .p5-page,
  .projects-section .p5-container {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    touch-action: pan-x pan-y !important;
  }
  .p5-articles {
    /* اسلایدر نمونه‌کارها در موبایل باید افقی اسکرول شود */
    touch-action: pan-x pan-y !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .p5-cat-grid {
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
  }
}


/* ===== Performance: reduced motion + pause heavy hero anims when off-screen ===== */
@media (prefers-reduced-motion: reduce) {
  .golden-ring img,
  .circle,
  .menu-toggle .ring,
  .mouse-wheel,
  .c6-customer-track {
    animation: none !important;
  }
  .golden-ring,
  .circle,
  .c6-customer-track {
    will-change: auto !important;
  }
}

/* JS adds .hero-anim-paused on #heroVisual when out of view or tab hidden */
.hero-anim-paused .golden-ring img,
.hero-anim-paused .circle {
  animation-play-state: paused !important;
}
.hero-anim-paused .golden-ring,
.hero-anim-paused .circle {
  will-change: auto !important;
}
/* آدرس فوتر: شکستن خط و جلوگیری از بیرون‌زدن */
.asaidea-footer .contact-address {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  line-height: 1.75;
  white-space: normal;
}
.asaidea-footer .contact-item {
  max-width: 100%;
  min-width: 0;
}
.asaidea-footer .contact-text {
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 700px) {
  .asaidea-footer .contact-address {
    font-size: 13px;
  }
}
/* =========================================================
   HEADER FIX — لوگو زیر هم نرود + جلوگیری از روی هم افتادن
   این کد را به آخر فایل css/style.css بچسبانید
   ========================================================= */

/* لینک لوگو باید افقی بماند (چون داخل a رفته) */
.logo a {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  max-width: 100%;
}

.logo,
.header .logo,
.header.is-scrolled .logo {
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.logo-text {
  white-space: nowrap;
  line-height: 1;
}

/* هدر و سمت چپ هرگز نشکند */
.header {
  flex-wrap: nowrap !important;
}
.header-left {
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  min-width: 0;
}

/* ----- لپ‌تاپ / دسکتاپ متوسط: فشرده‌سازی تدریجی ----- */
@media (max-width: 1400px) and (min-width: 993px) {
  .nav {
    gap: 26px !important;
  }
  .nav a {
    font-size: 14px !important;
  }
  .logo-desktop {
    height: 56px !important;
    max-width: 190px !important;
  }
  .header.is-scrolled .logo-desktop {
    height: 50px !important;
    max-width: 180px !important;
  }
  .asa-phone {
    font-size: 14px !important;
  }
  .btn-consult {
    padding: 0 16px !important;
    font-size: 13px !important;
    height: 38px !important;
  }
}

@media (max-width: 1240px) and (min-width: 993px) {
  .nav {
    gap: 14px !important;
  }
  .nav a {
    font-size: 12.5px !important;
  }
  .logo-desktop {
    height: 48px !important;
    max-width: 160px !important;
  }
  .header.is-scrolled .logo-desktop {
    height: 44px !important;
    max-width: 150px !important;
  }
  .asa-phone {
    font-size: 12.5px !important;
    gap: 6px !important;
    padding: 0 4px !important;
  }
  .asa-phone-icon {
    width: 16px !important;
    height: 16px !important;
  }
  .btn-consult {
    padding: 0 12px !important;
    font-size: 12px !important;
    height: 36px !important;
  }
  .header-left {
    gap: 6px !important;
  }
  /* شیفت‌ها را کم کن تا به هم نچسبند */
  .header {
    --nav-shift-x: 20px;
    --buttons-shift-x: -10px;
    --logo-shift-x: 10px;
  }
  .header.is-scrolled {
    --nav-shift-x: 10px;
    --buttons-shift-x: 0px;
    --logo-shift-x: 0px;
  }
}

/* نزدیک به نقطه شکست موبایل: شماره را مخفی کن، فقط آیکون تلفن */
@media (max-width: 1120px) and (min-width: 993px) {
  .asa-phone-number {
    display: none !important;
  }
  .nav {
    gap: 12px !important;
  }
  .nav a {
    font-size: 12px !important;
  }
  .logo-desktop {
    height: 44px !important;
    max-width: 140px !important;
  }
}

/* موبایل: لوگو + متن کنار هم (نه زیر هم) */
@media (max-width: 992px) {
  .logo a {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .logo-text {
    display: inline-block !important;
    white-space: nowrap !important;
  }
  .logo-mobile {
    display: block !important;
    flex-shrink: 0;
  }
  /* شماره در موبایل اگر جا نبود فقط آیکون */
  .header-left {
    gap: 8px !important;
  }
}

@media (max-width: 420px) {
  /* صفحه‌های خیلی کوچک: متن لوگو کمی جمع‌وجور */
  .logo-text {
    font-size: 14px !important;
  }
  .logo-mobile {
    width: 36px !important;
    height: 36px !important;
  }
  .asa-phone-number {
    display: none !important;
  }
}



/* ===== Desktop Nav Dropdown ===== */
.nav-item.has-dropdown {
  position: relative;
}
.nav-item.has-dropdown > a.nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  transition: transform 0.25s ease;
  opacity: 0.75;
}
.nav-item.has-dropdown:hover .nav-chevron,
.nav-item.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  /* پس‌زمینه ساده و ثابت — مثل حالت اول سایت، بدون شفافیت زیاد */
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(15, 28, 51, 0.08);
  box-shadow: 0 12px 32px rgba(8, 20, 50, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  z-index: 1200;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li {
  margin: 0;
}
.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #0f1c33;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: rgba(245, 197, 24, 0.18);
  color: #0a1220;
  transform: translateX(-3px);
}

/* ===== Glass background ONLY for mobile menu panel (~50% opacity) ===== */
.mobile-menu-content {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(245, 197, 24, 0.10) 0%, transparent 50%),
    linear-gradient(165deg, rgba(12, 26, 48, 0.52) 0%, rgba(21, 41, 66, 0.50) 50%, rgba(10, 18, 32, 0.55) 100%) !important;
  backdrop-filter: blur(20px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.35) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile submenu parents (keep original nav item look) */
.mobile-nav-item.has-submenu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  color: #1a2b4a;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 4px 16px rgba(8, 30, 70, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mobile-nav-parent:hover,
.mobile-nav-parent[aria-expanded="true"] {
  color: #0f1c33;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(245, 197, 24, 0.55);
}
.submenu-chevron {
  transition: transform 0.28s ease;
  flex-shrink: 0;
  opacity: 0.8;
  color: #1a2b4a;
}
.mobile-nav-parent[aria-expanded="true"] .submenu-chevron {
  transform: rotate(180deg);
}
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.mobile-nav-item.has-submenu.is-open .mobile-submenu {
  display: flex;
}
.mobile-submenu a {
  font-size: 14px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.55) !important;   /* ← اینجا شفافیت رو کم کردم */
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 2px 10px rgba(8, 30, 70, 0.06) !important;
}
.mobile-submenu a:hover,
.mobile-submenu a:active {
  background: rgba(255, 255, 255, 0.75) !important;
}

/* Smooth scroll enhancement */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Subpage content base */
.subpage-main {
  padding: 140px 5% 80px;
  max-width: 960px;
  margin: 0 auto;
  min-height: 60vh;
}
.subpage-main h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #0f1c33;
  margin-bottom: 20px;
  line-height: 1.35;
}
.subpage-main h1 span {
  color: #C9890A;
}
.subpage-main p {
  font-size: 16px;
  line-height: 1.9;
  color: #3a4a65;
  margin-bottom: 16px;
}
.subpage-main .subpage-lead {
  font-size: 18px;
  color: #1a2b4a;
  font-weight: 500;
}
