:root {
  --blue: #0B4FB3;
  --blue-2: #0A3E8F;
  --blue-3: #082D68;
  --gold: #E9A900;
  --gold-2: #C98900;
  --white: #FFFFFF;
  --ink: #102033;
  --muted: #637083;
  --line: rgba(11, 79, 179, 0.12);
  --soft: #F6F9FF;
  --shadow: 0 24px 70px rgba(8, 45, 104, 0.12);
  --radius: 28px;
  --primary: var(--blue);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

body[dir="ltr"] {
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

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

button, input, textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 18px;
  top: -100px;
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 79, 179, 0.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 210px;
}

.brand-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 52px;
  overflow: hidden;
}

.brand-logo {
  width: 220px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  width: 46px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(11, 79, 179, 0.08);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--blue);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 16px 36px rgba(11, 79, 179, 0.28);
}

.btn-ghost {
  background: white;
  color: var(--blue);
  border-color: rgba(11, 79, 179, 0.16);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: white;
}

.btn-small {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 20% 15%, rgba(233, 169, 0, 0.13), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(11, 79, 179, 0.15), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.hero-bg {
  position: absolute;
  inset: auto -120px -230px -120px;
  height: 360px;
  background: linear-gradient(90deg, rgba(11,79,179,.08), rgba(233,169,0,.10));
  transform: rotate(-3deg);
  border-radius: 80px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  background: rgba(11, 79, 179, 0.07);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(233, 169, 0, 0.14);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--blue-3);
}

body[dir="rtl"] .hero h1 {
  letter-spacing: -0.015em;
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 680px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 700;
}

.hero-meta span {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FBFF 52%, #EEF5FF 100%);
  border: 1px solid rgba(11, 79, 179, .14);
  box-shadow: 0 24px 70px rgba(8, 45, 104, 0.13);
  border-radius: 34px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 169, 0, .18), rgba(233, 169, 0, 0) 70%);
  inset-inline-end: -95px;
  top: -95px;
}

.logo-showcase {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid rgba(11, 79, 179, .10);
  border-radius: 26px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 34px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85);
}

.logo-showcase img {
  max-width: min(92%, 560px);
  height: auto;
  border-radius: 18px;
  display: block;
}

.showcase-panel {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  color: var(--blue-3);
}

.showcase-panel strong {
  display: block;
  font-size: 1.05rem;
  color: var(--blue-3);
}

.showcase-panel span {
  color: var(--muted);
}

.status-badge {
  background: rgba(233, 169, 0, .12);
  border: 1px solid rgba(233, 169, 0, .32);
  color: var(--gold-2);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 900;
}

.stats-section {
  padding: 28px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.section-kicker {
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: .02em;
}

.section h2 {
  color: var(--blue-3);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.18;
  margin: 8px 0 14px;
  letter-spacing: -0.025em;
}

.section p {
  color: var(--muted);
  margin: 0 0 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 34px;
  align-items: start;
}

.about-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-line {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.about-line:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-line span {
  display: block;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.cards-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card, .product-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 18px 45px rgba(8, 45, 104, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover, .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 79, 179, .24);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(11, 79, 179, .08);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 16px;
}

.service-card h3, .product-card h3 {
  color: var(--blue-3);
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -50px;
  top: -50px;
  width: 120px;
  height: 120px;
  background: rgba(233,169,0,.12);
  border-radius: 50%;
}

.product-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: white;
  border-radius: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

.product-card a {
  color: var(--blue);
  font-weight: 900;
}

.downloads-section {
  background: #061E46;
  color: white;
}

.downloads-section .section-kicker,
.downloads-section h2,
.downloads-section p {
  color: white;
}

.downloads-section .section-kicker {
  color: #FFD76A;
}

.download-list {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.06);
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.download-row:last-child {
  border-bottom: 0;
}

.pill {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 8px 14px;
  margin-inline-start: 8px;
  color: white;
  background: rgba(255,255,255,.08);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  line-height: 1.4;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pill-active {
  color: #061E46;
  background: linear-gradient(135deg, #FFD76A, var(--gold));
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 14px 30px rgba(233,169,0,.25);
}

.pill-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(233,169,0,.32);
}

.pill.disabled {
  opacity: .72;
  cursor: not-allowed;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(11,79,179,.95), rgba(8,45,104,.98)),
    radial-gradient(circle at 20% 10%, rgba(233,169,0,.25), transparent 28%);
  color: white;
}

.contact-section h2,
.contact-section p,
.contact-section .section-kicker {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 34px;
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(18px);
}

.contact-item {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  color: rgba(255,255,255,.72);
  font-weight: 900;
}

.contact-item a {
  color: white;
  font-weight: 900;
  text-align: start;
}

.site-footer {
  background: #050D1C;
  color: white;
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 24px;
}

.footer-logo {
  width: min(230px, 100%);
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
  background: transparent;
}

.footer-grid p {
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 560px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.footer-links a:hover {
  color: #FFD76A;
}

.copyright {
  color: rgba(255,255,255,.60);
  padding-top: 20px;
  font-size: .94rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset-inline: 20px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-logo-box {
    width: 180px;
  }

  .brand-logo {
    width: 190px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .stats-grid,
  .cards-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .download-row,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions .btn {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo-box {
    width: 150px;
  }

  .brand-logo {
    width: 168px;
  }

  .section {
    padding: 64px 0;
  }

  .logo-showcase {
    min-height: 230px;
  }
}


/* Final responsive and readability refinements */
.ltr-number {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  font-family: "Inter", "Cairo", system-ui, sans-serif;
  letter-spacing: .01em;
}

body[dir="rtl"] .ltr-number {
  display: inline-block;
  text-align: left;
}

img {
  max-width: 100%;
}

@media (min-width: 1280px) {
  .hero {
    padding-block: 96px 70px;
  }

  .logo-showcase {
    min-height: 380px;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    gap: 30px;
  }

  .main-nav {
    gap: 16px;
  }

  .cards-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-card {
    max-width: 760px;
    margin-inline: auto;
  }

  .logo-showcase {
    min-height: 300px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .hero-card {
    padding: 16px;
    border-radius: 26px;
  }

  .logo-showcase {
    min-height: 210px;
    padding: 16px;
    border-radius: 20px;
  }

  .showcase-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta span {
    width: 100%;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-item a {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: 100%;
    gap: 12px;
  }

  .footer-links a {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand-logo-box {
    width: 132px;
  }

  .brand-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .logo-showcase {
    min-height: 178px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}


.collaboration-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(11, 79, 179, .07), rgba(233, 169, 0, .10));
  border: 1px solid rgba(11, 79, 179, .12);
}

.collaboration-note span {
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 6px;
}

.collaboration-note p {
  margin: 0;
  color: var(--muted);
}


/* About card update: include the expert network item with the core values */
.about-box .about-line:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}


/* Image-first update */
.white-stage {
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}

.product-card::after {
  width: 150px;
  height: 150px;
  opacity: .9;
}

.product-media {
  margin: 0;
  min-height: 250px;
  border-radius: 24px;
  border: 1px solid rgba(11, 79, 179, .10);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
}

.product-media img {
  width: 100%;
  max-width: 280px;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.product-copy {
  position: relative;
  z-index: 1;
}

.product-copy h3 {
  margin: 0 0 10px;
}

.product-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.download-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.download-thumb {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.16);
}

.download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.download-product strong {
  font-size: 1rem;
}

.download-meta {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-size: .84rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-media {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
.products-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 210px;
    padding: 14px;
  }

  .download-row {
    align-items: stretch;
  }

  .download-product {
    width: 100%;
  }

  .download-row > div:last-child {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pill {
    margin-inline-start: 0;
  }
}


/* Hero card cleanup: removed extra icon chips under the logo */
.logo-showcase {
  margin-bottom: 16px;
}


/* V8 critical hero logo fix:
   Keep the large logo fully contained inside the white frame on desktop, tablet, and mobile. */
.hero-card {
  overflow: hidden;
}

.hero-card .logo-showcase {
  width: 100%;
  height: clamp(280px, 32vw, 430px);
  min-height: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card .logo-showcase img,
.hero-card .logo-showcase .hero-logo-img {
  width: min(78%, 520px) !important;
  height: auto !important;
  max-width: 520px !important;
  max-height: calc(100% - 48px) !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
}

@media (max-width: 980px) {
  .hero-card .logo-showcase {
    height: clamp(250px, 48vw, 360px);
  }

  .hero-card .logo-showcase img,
  .hero-card .logo-showcase .hero-logo-img {
    width: min(82%, 460px) !important;
    max-height: calc(100% - 40px) !important;
  }
}

@media (max-width: 680px) {
  .hero-card .logo-showcase {
    height: 230px;
    padding: 18px;
  }

  .hero-card .logo-showcase img,
  .hero-card .logo-showcase .hero-logo-img {
    width: min(86%, 330px) !important;
    max-height: 180px !important;
  }
}

@media (max-width: 420px) {
  .hero-card .logo-showcase {
    height: 190px;
  }

  .hero-card .logo-showcase img,
  .hero-card .logo-showcase .hero-logo-img {
    width: min(88%, 270px) !important;
    max-height: 150px !important;
  }
}


/* === V14 Elmam Flow detailed section === */
.product-card-featured {
  border-color: rgba(11,79,179,.22);
  box-shadow: 0 22px 54px rgba(8,45,104,.10);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-detail-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(233,169,0,.10), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 42%, #FFFFFF 100%);
}

.flow-head {
  max-width: 920px;
}

.flow-overview {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.flow-copy-panel,
.flow-showcase-card,
.flow-capability-card,
.flow-shot,
.flow-lightbox-dialog {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8,45,104,.08);
}

.flow-copy-panel {
  padding: 28px;
}

.flow-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(11,79,179,.07);
  color: var(--blue);
  border: 1px solid rgba(11,79,179,.10);
  font-weight: 800;
}

.flow-overview-text {
  font-size: 1.04rem;
}

.flow-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.flow-checklist li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink);
  font-weight: 700;
}

.flow-checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,79,179,.10);
  color: var(--blue);
  font-weight: 900;
  line-height: 1;
}

.flow-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.flow-showcase-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.flow-showcase-card {
  overflow: hidden;
}

.flow-showcase-card img {
  width: 100%;
  display: block;
  height: auto;
}

.flow-showcase-card.main-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.flow-showcase-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.flow-showcase-meta {
  padding: 16px 18px 18px;
}

.flow-showcase-meta strong {
  display: block;
  color: var(--blue-3);
  margin-bottom: 4px;
  font-size: 1rem;
}

.flow-showcase-meta span {
  color: var(--muted);
  font-size: .95rem;
}

.flow-showcase-meta.compact {
  padding: 14px 16px 16px;
}

.flow-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.flow-capability-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.flow-capability-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -36px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(233,169,0,.10);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(11,79,179,.10), rgba(233,169,0,.12));
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 16px;
}

.flow-capability-card h3 {
  margin: 0 0 12px;
  color: var(--blue-3);
  font-size: 1.24rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.flow-capability-card p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.flow-gallery-block {
  margin-top: 42px;
}

.flow-gallery-head {
  margin-bottom: 24px;
}

.flow-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-shot {
  padding: 0;
  overflow: hidden;
  text-align: start;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.flow-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(11,79,179,.22);
  box-shadow: 0 24px 56px rgba(8,45,104,.12);
}

.flow-shot img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef4ff;
}

.flow-shot-copy {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.flow-shot-copy strong {
  color: var(--blue-3);
  font-size: 1rem;
}

.flow-shot-copy span {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.65;
}

.flow-shot-wide {
  grid-column: span 2;
}

.flow-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 15, 35, .82);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 300;
}

.flow-lightbox-dialog {
  width: min(1080px, 100%);
  overflow: hidden;
}

.flow-lightbox-dialog img {
  width: 100%;
  display: block;
  max-height: 72vh;
  object-fit: contain;
  background: #F5F8FE;
}

.flow-lightbox-copy {
  padding: 18px 22px 24px;
}

.flow-lightbox-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-3);
  font-size: 1.12rem;
}

.flow-lightbox-copy span {
  color: var(--muted);
}

.flow-lightbox-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

body[dir="ltr"] .flow-shot,
body[dir="ltr"] .flow-lightbox-copy,
body[dir="ltr"] .flow-showcase-meta,
body[dir="ltr"] .flow-copy-panel,
body[dir="ltr"] .flow-capability-card {
  text-align: left;
}

@media (max-width: 1100px) {
  .flow-overview {
    grid-template-columns: 1fr;
  }

  .flow-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .flow-capabilities-grid,
  .flow-gallery-grid,
  .flow-showcase-stack {
    grid-template-columns: 1fr;
  }

  .flow-shot-wide {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .flow-copy-panel,
  .flow-capability-card,
  .flow-lightbox-copy {
    padding: 20px;
  }

  .flow-cta-row .btn {
    width: 100%;
  }

  .flow-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* V14.1 hotfix: keep gallery lightbox hidden on initial page load */
.flow-lightbox[hidden] {
  display: none !important;
}


/* v15: Standalone Elmam Flow product page */
.product-page .site-header {
  background: rgba(255, 255, 255, 0.92);
}

.flow-page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(9, 191, 180, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(11, 79, 179, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.flow-page-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 55%;
  background: linear-gradient(135deg, rgba(11, 79, 179, 0.10), rgba(7, 191, 181, 0.10));
  filter: blur(30px);
  pointer-events: none;
}

.flow-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.flow-page-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.flow-page-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
}

.back-link::before {
  content: "↩";
  font-family: Inter, Cairo, sans-serif;
}

[dir="ltr"] .back-link::before {
  transform: scaleX(-1);
}

.flow-page-visual {
  padding: 28px;
  border: 1px solid rgba(12, 40, 80, 0.10);
  border-radius: 36px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 28px 80px rgba(15, 42, 92, 0.14);
}

.flow-page-visual img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: contain;
}

.product-page .flow-detail-section {
  padding-top: 86px;
}

.product-page .flow-head {
  display: none;
}

.flow-download-section {
  padding-top: 40px;
}

.flow-download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(11, 79, 179, 0.96), rgba(5, 142, 160, 0.96));
  color: #fff;
  box-shadow: 0 24px 70px rgba(11, 79, 179, 0.22);
}

.flow-download-panel h2,
.flow-download-panel p,
.flow-download-panel .section-kicker,
.flow-download-panel .download-meta {
  color: #fff;
}

.flow-download-panel .section-kicker {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
}

.flow-download-panel .download-product {
  align-items: center;
}

.flow-download-panel .download-thumb {
  min-width: 86px;
  width: 86px;
  height: 86px;
}

.flow-download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.flow-download-actions .pill {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 980px) {
  .flow-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .flow-page-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .flow-download-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .flow-page-hero {
    padding: 120px 0 56px;
  }

  .flow-page-visual,
  .flow-download-panel {
    border-radius: 24px;
    padding: 20px;
  }
}


/* === V16 professional design refinements === */
/* Fix accidental extra spacing and make main page sections stable after standalone product page split. */
#products + .downloads-section {
  margin-top: 0;
}

.product-card-featured {
  position: relative;
  border-color: rgba(11, 79, 179, .24);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-card-featured::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 169, 0, .20), rgba(233, 169, 0, 0) 68%);
  pointer-events: none;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.product-actions a {
  text-decoration: none;
}

.product-details-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--blue-2));
  box-shadow: 0 16px 34px rgba(11, 79, 179, .22);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
}

.product-details-btn::after {
  content: "↗";
  font-family: Inter, Cairo, sans-serif;
  font-weight: 900;
  opacity: .9;
}

[dir="rtl"] .product-details-btn::after {
  transform: scaleX(-1);
}

.product-request-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px !important;
  border-radius: 999px;
  color: var(--primary) !important;
  background: rgba(11,79,179,.07);
  border: 1px solid rgba(11,79,179,.14);
  font-weight: 900;
}

.contact-card-modern {
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.contact-card-modern .contact-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
}

[dir="rtl"] .contact-card-modern .contact-item {
  grid-template-columns: 1fr 54px;
}

.contact-card-modern .contact-item > div {
  display: grid;
  gap: 3px;
}

.contact-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.09));
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
}

[dir="rtl"] .contact-card-modern .contact-icon {
  grid-column: 2;
  grid-row: 1;
}

[dir="rtl"] .contact-card-modern .contact-item > div {
  grid-column: 1;
  grid-row: 1;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-card-modern .contact-item span:not(.contact-icon) {
  color: rgba(255,255,255,.72);
  font-size: .94rem;
}

.contact-card-modern .contact-item a {
  font-size: 1.05rem;
  line-height: 1.3;
}

/* Standalone Elmam Flow page: compact hero, modern visual, and corrected image sizing. */
.product-page .site-header {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(12,40,80,.08);
}

.flow-page-hero {
  padding: 132px 0 74px;
  background:
    radial-gradient(circle at 88% 4%, rgba(233,169,0,.16), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(7,191,181,.15), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f6faff 100%);
}

.flow-page-hero::before {
  display: none;
}

.flow-page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
}

.flow-page-copy h1 {
  max-width: 880px;
  color: var(--blue-3);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.flow-page-copy p {
  max-width: 780px;
  color: #53647c;
}

.flow-page-visual {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.flow-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(12,40,80,.10);
  box-shadow: 0 28px 80px rgba(15,42,92,.14);
  padding: 18px;
}

.flow-hero-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(233,169,0,.12);
  pointer-events: none;
}

.flow-hero-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11,79,179,.08), rgba(7,191,181,.08));
}

.flow-hero-logo {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(12,40,80,.08);
  box-shadow: 0 12px 28px rgba(15,42,92,.10);
  overflow: hidden;
  flex: 0 0 auto;
}

.flow-hero-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.flow-hero-card-top strong {
  display: block;
  color: var(--blue-3);
  font-size: 1.12rem;
  line-height: 1.2;
}

.flow-hero-card-top span {
  color: var(--muted);
  font-weight: 800;
}

.flow-hero-screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 430px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
  display: block;
  border: 1px solid rgba(12,40,80,.08);
  background: #eef5ff;
}

.product-page .flow-detail-section {
  padding-top: 72px;
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.product-page .flow-head {
  display: block;
  max-width: 900px;
  margin-bottom: 28px;
}

.flow-overview {
  align-items: start;
}

.flow-showcase-card img,
.flow-shot img {
  object-position: top center;
}

.flow-gallery-grid {
  align-items: stretch;
}

.flow-shot {
  border: 1px solid rgba(12,40,80,.10) !important;
  outline: none;
}

.flow-shot:focus-visible {
  box-shadow: 0 0 0 4px rgba(11,79,179,.16), 0 24px 56px rgba(8,45,104,.12);
}

.flow-shot img {
  height: 260px;
  aspect-ratio: auto;
}

.flow-shot-wide img {
  height: 320px;
}

.flow-shot-copy {
  min-height: 118px;
}

.flow-lightbox[hidden] {
  display: none !important;
}

.flow-lightbox-dialog img {
  max-height: 72vh;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .flow-page-hero-grid {
    grid-template-columns: 1fr;
  }
  .flow-page-visual {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: 48px 1fr;
  }
  [dir="rtl"] .contact-card-modern .contact-icon,
  [dir="rtl"] .contact-card-modern .contact-item > div {
    grid-column: auto;
    grid-row: auto;
  }
  .flow-page-hero {
    padding-top: 116px;
  }
  .flow-shot img,
  .flow-shot-wide img {
    height: 230px;
  }
}


/* === V17 refinements: Elmam Flow wide logo, compact contact icons, and horizontal gallery carousel === */
.product-card-featured .product-media img[src*="elmamflow-wide-v17"],
.download-thumb img[src*="elmamflow-wide-v17"] {
  object-fit: contain;
}

.product-card-featured .product-media img[src*="elmamflow-wide-v17"] {
  max-width: min(460px, 100%);
  max-height: 170px;
}

.download-thumb.flow-download-logo {
  width: 92px;
  flex-basis: 92px;
  border-radius: 18px;
}

.download-thumb.flow-download-logo img {
  width: 100%;
  height: auto;
  max-height: 54px;
}

.flow-hero-card-top {
  align-items: center;
}

.flow-logo-wide {
  width: min(310px, 58%);
  height: 96px;
  border-radius: 26px;
  padding: 10px 14px;
}

.flow-logo-wide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-hero-card-top > div {
  min-width: 0;
}

/* Contact card: controlled icon sizing and cleaner density */
.contact-card-modern {
  gap: 10px;
}

.contact-card-modern .contact-item {
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
}

[dir="rtl"] .contact-card-modern .contact-item {
  grid-template-columns: 1fr 44px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff !important;
  flex: 0 0 44px;
}

.contact-icon svg {
  width: 21px !important;
  height: 21px !important;
  max-width: 21px;
  max-height: 21px;
  fill: currentColor !important;
  display: block;
}

.contact-card-modern .contact-item a {
  font-size: clamp(.94rem, 1.6vw, 1.02rem);
}

/* Horizontal auto carousel for the application screenshots */
.flow-gallery-carousel {
  position: relative;
  overflow: hidden;
  padding: 6px 0 12px;
  isolation: isolate;
}

.flow-gallery-carousel::before,
.flow-gallery-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.flow-gallery-carousel::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.flow-gallery-carousel::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.flow-gallery-track {
  direction: ltr;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 8px 16px;
}

.flow-gallery-track::-webkit-scrollbar {
  display: none;
}

.flow-gallery-track.is-dragging {
  cursor: grabbing;
}

.flow-gallery-track .flow-shot {
  direction: rtl;
  flex: 0 0 min(440px, 82vw);
  scroll-snap-align: start;
  transform: translateY(0);
}

body[dir="ltr"] .flow-gallery-track .flow-shot {
  direction: ltr;
}

.flow-gallery-track .flow-shot-wide {
  flex-basis: min(540px, 88vw);
}

.flow-gallery-track .flow-shot img {
  height: 280px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}

.flow-gallery-track .flow-shot-wide img {
  height: 320px;
}

.flow-gallery-track .flow-shot-copy {
  min-height: 116px;
}

.flow-gallery-track .flow-shot[aria-hidden="true"] {
  pointer-events: none;
}

@media (max-width: 760px) {
  .flow-logo-wide {
    width: 100%;
    height: 86px;
  }

  .flow-hero-card-top {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-gallery-carousel::before,
  .flow-gallery-carousel::after {
    width: 34px;
  }

  .flow-gallery-track {
    gap: 14px;
    padding-inline: 4px;
  }

  .flow-gallery-track .flow-shot,
  .flow-gallery-track .flow-shot-wide {
    flex-basis: min(86vw, 380px);
  }

  .flow-gallery-track .flow-shot img,
  .flow-gallery-track .flow-shot-wide img {
    height: 230px;
  }

  .download-thumb.flow-download-logo {
    width: 76px;
    flex-basis: 76px;
  }
}

@media (max-width: 420px) {
  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 10px 12px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .contact-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .flow-gallery-track .flow-shot,
  .flow-gallery-track .flow-shot-wide {
    flex-basis: 88vw;
  }
}


/* === v18 final responsive/design quality pass ===
   هدف هذه الطبقة: تحسين المظهر العام دون تغيير الهوية، معالجة تفاصيل التواصل، جعل زر التفاصيل أوضح،
   تقليل الفراغات في صفحة Elmam Flow، وتحسين التوافق مع الشاشات الصغيرة. */
:root {
  --primary: var(--blue);
  --section-y: clamp(56px, 8vw, 92px);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

.section {
  padding-block: var(--section-y);
}

.section-head p,
.section-copy p,
.flow-capability-card p,
.flow-overview-text,
.flow-shot-copy span,
.flow-showcase-meta span {
  color: #4d5c70;
  line-height: 1.85;
}

.product-card-featured {
  border-color: rgba(11,79,179,.20) !important;
  box-shadow: 0 24px 60px rgba(8,45,104,.11) !important;
}

.product-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.product-details-btn {
  width: 100%;
  min-height: 52px;
  padding: 0 22px !important;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  box-shadow: 0 18px 42px rgba(11, 79, 179, .30) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  font-size: 1rem;
  letter-spacing: 0;
}

.product-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(11, 79, 179, .34) !important;
}

.product-request-link {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #fff !important;
  color: var(--blue) !important;
  border: 1px solid rgba(11,79,179,.16) !important;
  box-shadow: 0 10px 26px rgba(8,45,104,.06);
}

.product-request-link:hover {
  transform: translateY(-2px);
  border-color: rgba(11,79,179,.26) !important;
}

.contact-card-modern {
  gap: 10px !important;
  padding: clamp(18px, 2.4vw, 24px) !important;
  border-radius: 28px !important;
}

.contact-card-modern .contact-item {
  grid-template-columns: 40px 1fr !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  min-height: 66px;
  border-radius: 18px !important;
}

[dir="rtl"] .contact-card-modern .contact-item {
  grid-template-columns: 1fr 40px !important;
}

.contact-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  flex: 0 0 40px !important;
  border-radius: 12px !important;
}

.contact-icon svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.contact-card-modern .contact-item a {
  overflow-wrap: anywhere;
}

.flow-detail-section {
  padding-top: clamp(54px, 7vw, 90px) !important;
}

.flow-detail-section .section-head,
.flow-gallery-head {
  max-width: 900px;
}

.flow-overview {
  gap: clamp(18px, 3vw, 28px) !important;
}

.flow-copy-panel,
.flow-capability-card,
.flow-showcase-card,
.flow-download-panel {
  border-color: rgba(11,79,179,.13) !important;
}

.flow-capability-card {
  padding: clamp(20px, 2.4vw, 26px) !important;
}

.flow-capability-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem) !important;
}

.flow-gallery-block {
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.flow-gallery-head {
  margin-bottom: 14px !important;
}

.flow-gallery-carousel {
  margin-top: 6px;
  padding: 8px 0 16px !important;
  border: 1px solid rgba(11,79,179,.10);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(246,249,255,.96), #fff);
  box-shadow: 0 16px 42px rgba(8,45,104,.06);
}

.flow-gallery-carousel::before,
.flow-gallery-carousel::after {
  width: clamp(34px, 6vw, 72px) !important;
}

.flow-gallery-track {
  gap: 16px !important;
  padding: 14px 18px 18px !important;
  scroll-padding-inline: 18px;
}

.flow-gallery-track .flow-shot {
  flex: 0 0 clamp(280px, 32vw, 390px) !important;
  max-width: 390px;
  border-radius: 24px !important;
  background: #fff;
}

.flow-gallery-track .flow-shot-wide {
  flex-basis: clamp(300px, 38vw, 450px) !important;
  max-width: 450px;
}

.flow-gallery-track .flow-shot img {
  height: clamp(178px, 18vw, 230px) !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  object-position: top center;
}

.flow-shot-copy {
  padding: 14px 16px 16px !important;
  min-height: 118px;
}

.flow-lightbox[hidden] {
  display: none !important;
}

.flow-lightbox-dialog {
  max-height: 92vh;
}

.flow-download-panel {
  align-items: center;
  gap: 18px;
}

.flow-download-actions,
.download-row > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pill {
  white-space: nowrap;
}

@media (min-width: 680px) {
  .product-actions {
    grid-template-columns: minmax(0, 1fr) minmax(130px, .72fr);
  }
}

@media (max-width: 980px) {
  .flow-showcase-card.main-shot img {
    aspect-ratio: 16 / 9;
  }

  .flow-download-panel {
    grid-template-columns: 1fr;
  }

  .flow-download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding-block: clamp(46px, 10vw, 64px);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .download-row,
  .download-product {
    align-items: flex-start;
  }

  .download-row > div:last-child {
    justify-content: flex-start;
  }

  .flow-gallery-track .flow-shot,
  .flow-gallery-track .flow-shot-wide {
    flex-basis: min(82vw, 360px) !important;
    max-width: min(82vw, 360px) !important;
  }

  .flow-gallery-track .flow-shot img {
    height: clamp(160px, 42vw, 210px) !important;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    min-width: 160px;
  }

  .brand-logo-box {
    width: 168px;
    height: 46px;
  }

  .brand-logo {
    width: 178px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.5rem) !important;
  }

  .hero-lead,
  .section-head p,
  .section-copy p {
    font-size: .98rem;
  }

  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: 38px 1fr !important;
    text-align: start;
  }

  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: 1fr 38px !important;
  }

  .contact-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .contact-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .flow-gallery-carousel {
    border-radius: 22px;
  }

  .flow-gallery-track {
    padding-inline: 12px !important;
    gap: 12px !important;
  }

  .flow-shot-copy {
    min-height: 132px;
  }

  .pill {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === V19 carousel behaviour and interaction polish === */
.flow-gallery-carousel {
  position: relative;
  overflow: hidden;
}

.flow-gallery-track {
  scroll-snap-type: none !important;
  touch-action: pan-y;
  overscroll-behavior-inline: contain;
  will-change: scroll-position;
  cursor: grab;
}

.flow-gallery-track.is-dragging {
  cursor: grabbing;
}

.flow-gallery-track .flow-shot {
  user-select: none;
  -webkit-user-select: none;
}

.flow-gallery-track .flow-shot img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.flow-gallery-carousel:hover .flow-shot,
.flow-gallery-track.is-dragging .flow-shot {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.flow-gallery-carousel::before,
.flow-gallery-carousel::after {
  opacity: .82;
}

@media (hover: none) {
  .flow-gallery-track {
    cursor: default;
  }
}


/* === V20: stable mobile download buttons + continuous transform carousel === */
.flow-download-panel {
  overflow: hidden;
}

.flow-download-actions {
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.flow-download-actions .flow-download-button,
.flow-download-actions .pill.flow-download-button,
.flow-download-actions a.flow-download-button {
  color: var(--blue) !important;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  box-shadow: 0 16px 34px rgba(3, 20, 54, .16) !important;
  min-width: 156px;
  min-height: 50px;
  padding: 12px 18px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: 1rem;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
}

.flow-download-actions .flow-download-button strong,
.flow-download-actions .flow-download-button span {
  display: inline-block !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  font: inherit !important;
  line-height: 1.2 !important;
  text-indent: 0 !important;
}

.flow-download-actions .flow-download-button strong {
  direction: ltr;
  unicode-bidi: isolate;
}

.flow-download-actions .flow-download-button:hover {
  transform: translateY(-2px);
  background: #fff !important;
  color: var(--blue-3) !important;
  box-shadow: 0 20px 42px rgba(3, 20, 54, .20) !important;
}

.flow-download-meta {
  unicode-bidi: plaintext;
  direction: rtl;
}

.flow-gallery-carousel {
  overflow: hidden !important;
}

.flow-gallery-track {
  overflow: visible !important;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  touch-action: pan-y;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.flow-gallery-track.is-dragging,
.flow-gallery-track.is-dragging * {
  cursor: grabbing !important;
}

.flow-gallery-track .flow-shot {
  user-select: none;
  -webkit-user-select: none;
}

.flow-gallery-track .flow-shot img {
  -webkit-user-drag: none;
  user-drag: none;
}

@media (max-width: 980px) {
  .flow-download-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .flow-download-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 22px !important;
    padding: 24px 20px !important;
  }

  .flow-download-panel .download-product {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .flow-download-panel .download-product > div {
    min-width: 0;
  }

  .flow-download-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 12px !important;
  }

  .flow-download-actions .flow-download-button,
  .flow-download-actions .pill.flow-download-button,
  .flow-download-actions a.flow-download-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 13px 10px !important;
    font-size: .98rem !important;
  }

  .flow-download-meta {
    display: block !important;
    max-width: 100%;
    font-size: .96rem !important;
    line-height: 1.8 !important;
  }
}

@media (max-width: 340px) {
  .flow-download-actions {
    grid-template-columns: 1fr !important;
  }
}

/* === V21: mobile button visibility hardening + cache-busted release ===
   Purpose: make all product/download CTAs readable on Android/iOS even when older generic .pill rules,
   RTL bidi text, or mobile browser font rendering interfere with inline text. */
html,
body {
  overflow-x: clip;
}

.product-actions {
  width: 100%;
  align-items: stretch;
}

.product-card .product-actions a,
.product-details-btn,
.product-request-link,
.site-download-button,
.flow-download-button {
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-details-btn,
.product-card a.product-details-btn {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 18px 42px rgba(11,79,179,.28) !important;
}

.product-request-link,
.product-card a.product-request-link {
  color: var(--blue-3) !important;
  background: linear-gradient(180deg, #ffffff, #edf5ff) !important;
  border: 1px solid rgba(11,79,179,.18) !important;
  box-shadow: 0 12px 28px rgba(8,45,104,.08) !important;
}

.product-details-btn,
.product-request-link {
  min-height: 52px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Main downloads section buttons */
.download-row .site-download-button,
.download-row a.site-download-button,
.download-list .pill-active.site-download-button {
  color: #061E46 !important;
  -webkit-text-fill-color: #061E46 !important;
  background: linear-gradient(135deg, #FFD76A, var(--gold)) !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  box-shadow: 0 14px 30px rgba(233,169,0,.25) !important;
  min-height: 46px !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

.download-row .site-download-button span,
.download-row .site-download-button strong {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Standalone Elmam Flow download panel buttons */
.flow-download-actions .flow-download-button,
.flow-download-actions a.flow-download-button,
.flow-download-actions .pill.flow-download-button {
  color: var(--blue-3) !important;
  -webkit-text-fill-color: var(--blue-3) !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  box-shadow: 0 18px 38px rgba(3,20,54,.18) !important;
  min-height: 54px !important;
  min-width: 160px !important;
  padding: 13px 18px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-align: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.flow-download-actions .flow-download-button strong,
.flow-download-actions .flow-download-button span {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  font: inherit !important;
  line-height: 1.2 !important;
}

.flow-download-actions .flow-download-button strong {
  direction: ltr;
  unicode-bidi: isolate;
}

.flow-download-panel .download-product,
.flow-download-panel .download-product > div {
  min-width: 0;
}

@media (max-width: 760px) {
  .product-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-details-btn,
  .product-request-link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 12px 10px !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  html[lang="ar"] .product-details-btn::before { content: attr(data-label-ar); }
  html[lang="en"] .product-details-btn::before { content: attr(data-label-en); }
  html[lang="ar"] .product-request-link::before { content: attr(data-label-ar); }
  html[lang="en"] .product-request-link::before { content: attr(data-label-en); }

  .product-details-btn::before,
  .product-request-link::before {
    display: inline-block !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: currentColor !important;
    -webkit-text-fill-color: currentColor !important;
    white-space: nowrap !important;
  }

  .download-row > div:last-child {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .download-row .site-download-button,
  .download-list .pill-active.site-download-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 12px 8px !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  html[lang="ar"] .site-download-button::before { content: attr(data-label-ar); }
  html[lang="en"] .site-download-button::before { content: attr(data-label-en); }

  .site-download-button::before {
    display: inline-block !important;
    color: currentColor !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: .96rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .site-download-button > * {
    display: none !important;
  }

  .flow-download-panel {
    padding: 24px 20px !important;
    border-radius: 26px !important;
  }

  .flow-download-panel .download-product {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .flow-download-panel .download-product > div {
    width: 100% !important;
  }

  .flow-download-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    justify-content: stretch !important;
  }

  .flow-download-actions .flow-download-button,
  .flow-download-actions a.flow-download-button,
  .flow-download-actions .pill.flow-download-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 13px 8px !important;
    margin: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  .flow-download-actions .flow-download-button > * {
    display: none !important;
  }

  html[lang="ar"] .flow-download-actions .flow-download-button::before { content: attr(data-label-ar); }
  html[lang="en"] .flow-download-actions .flow-download-button::before { content: attr(data-label-en); }

  .flow-download-actions .flow-download-button::before {
    display: inline-block !important;
    color: currentColor !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .flow-download-meta {
    direction: rtl;
    unicode-bidi: plaintext;
    font-size: .95rem !important;
    line-height: 1.85 !important;
  }
}

@media (max-width: 380px) {
  .product-actions,
  .download-row > div:last-child,
  .flow-download-actions {
    grid-template-columns: 1fr !important;
  }
}



/* === V22: finite sequential gallery carousel ===
   The gallery now advances card-by-card from the first screenshot to the last one,
   then returns to the first card without exposing an empty/blank area. */
.flow-gallery-track[data-carousel-mode="step-loop"] {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  transform: none !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  overscroll-behavior-inline: contain;
  will-change: scroll-position;
}

.flow-gallery-track[data-carousel-mode="step-loop"] .flow-shot,
.flow-gallery-track[data-carousel-mode="step-loop"] .flow-shot-wide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.flow-gallery-track[data-carousel-mode="step-loop"] .flow-shot[aria-hidden="true"] {
  display: none !important;
}

.flow-gallery-track[data-carousel-mode="step-loop"].is-dragging {
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .flow-gallery-track[data-carousel-mode="step-loop"] {
    scroll-behavior: auto !important;
  }
}

/* v23: keep critical descriptive text white on dark sections.
   This must come after the global paragraph readability rules, because those rules
   intentionally make most section paragraphs gray but should not affect dark CTA/download blocks. */
.contact-section [data-i18n="contact_desc"],
.contact-section .section-head p,
.contact-section p[data-i18n="contact_desc"],
.downloads-section [data-i18n="downloads_desc"],
.downloads-section .section-head p,
.downloads-section p[data-i18n="downloads_desc"] {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Make the same descriptions readable on every screen size, especially phones. */
@media (max-width: 680px) {
  .contact-section [data-i18n="contact_desc"],
  .downloads-section [data-i18n="downloads_desc"] {
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.9;
  }
}


/* === V24: final mobile contact-card alignment fix ===
   Fixes small-screen contact rows where the LTR values could shrink to a tiny inline-block
   and wrap vertically. The card now keeps a stable two-column layout: content + icon. */
.contact-card-modern,
.contact-card-modern * {
  box-sizing: border-box;
}

.contact-card-modern .contact-item,
[dir="rtl"] .contact-card-modern .contact-item {
  min-width: 0 !important;
}

.contact-card-modern .contact-item > div {
  min-width: 0 !important;
  width: 100% !important;
}

.contact-card-modern .contact-item a.ltr-number {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-break: auto !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

@media (max-width: 760px) {
  .contact-grid {
    gap: 28px !important;
  }

  .contact-card-modern {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 24px !important;
    gap: 12px !important;
  }

  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    column-gap: 12px !important;
    align-items: center !important;
    padding: 14px 12px !important;
    min-height: 82px !important;
    text-align: start !important;
  }

  .contact-card-modern .contact-icon,
  [dir="rtl"] .contact-card-modern .contact-icon {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 14px !important;
  }

  .contact-card-modern .contact-item > div,
  [dir="rtl"] .contact-card-modern .contact-item > div {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    align-self: center !important;
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
    width: 100% !important;
    text-align: right !important;
  }

  .contact-card-modern .contact-item span:not(.contact-icon) {
    display: block !important;
    width: 100% !important;
    font-size: clamp(.92rem, 3.7vw, 1rem) !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: right !important;
  }

  .contact-card-modern .contact-item a,
  .contact-card-modern .contact-item a.ltr-number {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(.88rem, 3.85vw, 1rem) !important;
    line-height: 1.28 !important;
    text-align: right !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 390px) {
  .contact-card-modern {
    padding: 14px !important;
    gap: 10px !important;
  }

  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: minmax(0, 1fr) 40px !important;
    column-gap: 10px !important;
    padding: 13px 10px !important;
    min-height: 78px !important;
  }

  .contact-card-modern .contact-icon,
  [dir="rtl"] .contact-card-modern .contact-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .contact-card-modern .contact-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .contact-card-modern .contact-item a,
  .contact-card-modern .contact-item a.ltr-number {
    font-size: clamp(.82rem, 3.55vw, .94rem) !important;
  }
}

@media (max-width: 340px) {
  .contact-card-modern .contact-item,
  [dir="rtl"] .contact-card-modern .contact-item {
    grid-template-columns: minmax(0, 1fr) 36px !important;
    column-gap: 8px !important;
  }

  .contact-card-modern .contact-icon,
  [dir="rtl"] .contact-card-modern .contact-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .contact-card-modern .contact-item a,
  .contact-card-modern .contact-item a.ltr-number {
    font-size: .78rem !important;
  }
}
