
body {
  background-color: var(--secondary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

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

html[dir="ltr"] {
  font-family: 'Effra', system-ui, sans-serif;
}

html[dir="rtl"] {
  font-family: 'Effra', system-ui, sans-serif;
}

/* Let body inherit */
body {
  font-family: inherit;
}

section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.body-scroll-lock {
  overflow: hidden !important;
} 
 .main {
  background: var(--secondary);
  min-height: 60vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ========== Hero section ========== */

.hero-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 767.98px) {
  .hero-wrapper {
    padding-top: 10px;
    padding-bottom: 8px;
  }
}

.hero-main-card {
  background-color: var(--primary-dark);
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card-wrapper {
  overflow: hidden;
}

@media (min-width: 1200px) {
  .hero-card-wrapper {
      aspect-ratio: 1810 / 812;
  }

  .hero-main-card {
      flex-direction: row;
      direction: ltr;
      aspect-ratio: 1810 / 812;
  }

  html[dir="rtl"] .hero-main-card {
    clip-path: url(#atyabClipPathRTL);
    flex-direction: row-reverse;
  }
}

@media (min-width: 1200px) {
  .hero-content {
      width: 45%;
      max-width: 45%;
      position: relative;
      z-index: 12;
  }
}

/* Hero copy stack: one vertical line for start edge (LTR = left, RTL = right) */
.hero-text-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 25rem;
  margin-inline: 0;
  padding-inline: 0;
  text-align: start;
  gap: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.hero-text-stack > .hero-heading,
.hero-text-stack > .hero-subtitle,
.hero-text-stack > .hero-cta-row {
  margin-block: 0;
  margin-inline: 0;
  padding-inline: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}




.hero-heading {
  padding-block: 0.25rem 0;
}

@media (max-width: 767.98px) {
  .hero-heading {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .button-size {
    height: 2.45rem;
    min-height: 2.45rem;
    font-size: 0.82rem;
    padding: 0.65rem 0.85rem;
  }
}

.button-size {
  font-size: 0.9rem;
  padding: 1.5rem 0.8rem;
  line-height: 1.25;
  height: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.button-size .read-more-arrow-circle,
.button-size .consumer-help-btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid currentColor;
}

.button-size .read-more-arrow-circle .read-more-arrow-icon,
.button-size .consumer-help-btn-icon .read-more-arrow-icon {
  width: 0.85em;
  height: 0.85em;
}

.button-size .media-filter-icon {
  width: 1.35rem !important;
  height: 1.35rem !important;
  flex-shrink: 0;
}

/* Desktop: keep CTAs on the start edge. Below xl: center everything. */
@media (min-width: 1200px) {
  .hero-cta-row {
    justify-content: flex-start !important;
  }
}

@media (max-width: 1199.98px) {
  .hero-main-card .hero-content,
  .hero-main-card .hero-text-stack {
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-main-card .hero-text-stack > .hero-heading,
  .hero-main-card .hero-text-stack > .hero-subtitle {
    text-align: center !important;
    width: 100%;
  }

  .hero-main-card .hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-main-card .hero-cta-row > *,
  .hero-main-card .hero-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}

.hero-content {
  direction: ltr;
}

html[dir="rtl"] .hero-content {
  direction: rtl;
}

@media (min-width: 1200px) {
  html[dir="rtl"] .hero-content {
      width: 50%;
      max-width: 45%;
      padding-inline-start: 3rem !important;
      padding-inline-end: 2rem !important;
      text-align: right;
  }

  html[dir="rtl"] .hero-content h1 {
      text-align: right;
      text-align: right;
  }

  html[dir="rtl"] .hero-content h1 {
      text-align: right;
      text-align: right;
  }

  html[dir="rtl"] .hero-content h1 {
      text-align: right;
  }

  html[dir="rtl"] .hero-content .d-flex.ms-5 {
      margin-inline-start: 0 !important;
      margin-inline-end: 0 !important;
      justify-content: flex-end;
  }

  html[dir="rtl"] .hero-content.ms-5 {
      margin-inline-start: 0 !important;
  }
}

@media (max-width: 1199.98px) {

  html[dir="rtl"] .hero-content .d-flex:not(.hero-cta-row) {
      justify-content: center !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
 
  .hero-content.ms-5,
  html[dir="rtl"] .hero-content.me-5 {
      margin-inline-start: 0 !important;
      margin-inline-end: 0 !important;
  }

  .hero-content.text-start,
  .hero-content.text-end {
      text-align: center !important;
  }

  .hero-content .d-flex.justify-content-start:not(.hero-cta-row),
  .hero-content .d-flex.justify-content-sm-start:not(.hero-cta-row),
  .hero-content .d-flex.justify-content-sm-end:not(.hero-cta-row) {
      justify-content: center !important;
  }

  .hero-content .hero-cta-row.d-flex {
      justify-content: center !important;
  }

  .hero-content .d-flex.ms-5,
  html[dir="rtl"] .hero-content .d-flex.me-5 {
      margin-inline-start: 0 !important;
      margin-inline-end: 0 !important;
  }
}

.hero-image-box {
  width: 100%;
  height: clamp(220px, 52vw, 280px);
  order: 2;
  z-index: 5;
  position: relative;
  overflow: hidden;
}

.hero-image-box img,
.hero-building-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Foreground person layer (sits in front of the rotating text) */
.hero-person {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(280px, 58vw, 340px);
  z-index: 11;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  order: 2;
}

.hero-person img {
  height: 92%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

html[dir="rtl"] .hero-image-box img {
  object-position: left bottom;
}

/* Stacked hero: mobile + tablet (below xl) */
@media (max-width: 1199.98px) {
  .hero-main-card {
    min-height: unset;
    padding-bottom: clamp(150px, 42vw, 200px);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-top: 0 !important;
    padding: 0.875rem 1rem 0.25rem !important;
    position: relative;
    z-index: 12;
  }

  .hero-content.mt-5,
  .hero-text-stack.mt-5 {
    margin-top: 0 !important;
  }

  .hero-text-stack {
    max-width: 100%;
    gap: 0.625rem;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .hero-text-stack > .hero-heading,
  .hero-text-stack > .hero-subtitle {
    text-align: center;
  }

  .hero-image-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(130px, 34vw, 180px);
    order: unset;
  }

  .hero-person {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(160px, 44vw, 210px);
    order: unset;
  }

  .hero-person img {
    height: 86%;
  }

  .stats-container {
    margin-top: 4px;
  }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 575.98px) {
  .hero-main-card {
    padding-bottom: clamp(125px, 40vw, 160px);
  }

  .hero-image-box {
    height: clamp(115px, 32vw, 145px);
  }

  .hero-person {
    height: clamp(145px, 40vw, 180px);
  }

  .hero-person img {
    height: 82%;
  }

  .stats-container {
    margin-top: 2px;
    padding: 12px 10px;
  }
}

/* Large phones */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-main-card {
    padding-bottom: clamp(155px, 38vw, 195px);
  }

  .hero-image-box {
    height: clamp(135px, 30vw, 170px);
  }

  .hero-person {
    height: clamp(170px, 38vw, 210px);
  }
}

/* Tablet (md) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-main-card {
    padding-bottom: clamp(200px, 26vw, 260px);
  }

  .hero-content {
    padding: 1.25rem 1.5rem 0.5rem !important;
  }

  .hero-text-stack {
    max-width: 32rem;
    margin-inline: auto;
    text-align: center;
    align-items: center;
    gap: 0.875rem;
  }

  .hero-cta-row {
    justify-content: center !important;
  }

  .hero-image-box {
    height: clamp(200px, 24vw, 260px);
  }

  .hero-person {
    height: clamp(240px, 30vw, 300px);
  }

  .hero-person img {
    height: 90%;
  }
}

@media (min-width: 1200px) {
  .hero-image-box {
      position: absolute;
      top: auto;
      bottom: -47px;
      right: 0;
      width: 53%;
      height: 61%;
      order: unset;
  }

  html[dir="rtl"] .hero-image-box {
      right: auto;
      left: 0;
  }

  .hero-person {
      top: 0;
      bottom: 0;
      left: auto;
      right: 0;
      width: 53%;
      height: 100%;
      order: unset;
  }

  html[dir="rtl"] .hero-person {
      right: auto;
      left: 0;
  }

  .hero-person img {
      height: 94%;
  }
}

.rotating-text-wrapper {
  display: none;
}

@media (min-width: 1200px) {
  .rotating-text-wrapper {
    display: block;
    position: absolute;
    z-index: 10;
    width: 470px;
    height: 470px;
    top: 42%;
    left: 73.5%;
    right: auto;
    transform: translate(-50%, -50%);
    opacity: 0.9;
}

  html[dir="rtl"] .rotating-text-wrapper {
      left: 26.5%;
      right: auto;
      transform: translate(-50%, -50%);
      width: 470px;
      height: 470px;
      top: 42%;
  }
}

.rotating-text-svg {
  width: 100%;
  height: 100%;
  animation: rotateFull 40s linear infinite;
  transform-origin: center;
}

.hero-circle-svg-text {
  font-family: 'Effra', system-ui, sans-serif;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  fill: #fff;
  letter-spacing: 0.04em;
}

/* Arabic ring is drawn on canvas (joined glyphs + true circular path) */
.hero-circle-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes rotateFull {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.stats-container {
  background-color: var(--banner-bg);
  padding: 14px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
  z-index: 15;
  margin-top: 6px;
  border-radius: var(--rounded-20);
  align-items: stretch;
}

/* Mobile / tablet: 2×2 (employees hidden). Desktop: all five in a row */
.stat-item-box--employees {
  display: none;
}

@media (min-width: 1200px) {
  .stats-container {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0px;
    right: auto;
    width: calc(58% - 40px);
    min-height: 130px;
    height: auto;
    padding: 20px 16px;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
    border-radius: var(--rounded-20);
    z-index: 15;
  }

  html[dir="rtl"] .stats-container {
    left: auto;
    right: 0px;
    width: calc(62% - 24px);
    padding: 18px 12px;
  }

  .stat-item-box {
    flex: 1;
    min-width: 0;
  }

  .stat-item-box--employees {
    display: flex;
  }
}

.stat-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 4px;
  text-align: center;
  min-width: 0;
}



.stat-item-box h2 {
  color: var(--gold);
  margin: 0;
  font-family: 'Effra', system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.2vw, 2.4rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.stat-item-box p {
  color: var(--gold);
  font-family: 'Effra', system-ui, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  max-width: 11ch;
  text-wrap: balance;
}

html[dir="rtl"] .stat-item-box h2 {
  font-size: clamp(1.55rem, 1.85vw, 2.05rem);
}

html[dir="rtl"] .stat-item-box p {
  font-size: clamp(0.68rem, 0.78vw, 0.8rem);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  max-width: 12.5ch;
  font-weight: 500;
}

@media (max-width: 1199.98px) {
  .stat-item-box h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .stat-item-box p,
  html[dir="rtl"] .stat-item-box p {
    font-size: clamp(0.7rem, 2.9vw, 0.85rem);
    max-width: 15ch;
    line-height: 1.4;
  }
}

@media (min-width: 1400px) {
  html[dir="rtl"] .stat-item-box p {
    font-size: 0.82rem;
    max-width: 14ch;
  }
}
/* ========== About / Who section ========== */

.who-section {
background-color: var(--secondary);
/* padding: 80px 0; */
overflow: hidden;
}



.main-title {
  color: var(--primary-dark);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.description-text-who {
  color: var(--primary-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-wrapper {
  position: relative;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.leaf-vector-bg {
  position: absolute;
  right: -23px; 
  bottom: 0;
  height: 88%;
  width: auto;
  z-index: 1; 
  pointer-events: none;
}

.leaf-vector-bg img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.card-mission {
  background-color: var(--primary-dark);
  border-radius: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  padding: 2.5rem 2.2rem; 
  color: #fff;
  min-height: 380px;
  width: min(100%, 420px);
  touch-action: pan-y; 
  user-select: none;
  -webkit-user-drag: none;
  z-index: 2; 
  align-self: flex-end;
}

.card-title-top {
  color: var(--secondary);
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.card-subtitle-gold {
  color: var(--companies-bg);
  font-family: 'Naveid Arabic', serif;
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 3rem;
}

.card-body-text {
  color: var(--text-on-primary-alt);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Arabic glyphs are optically smaller — scale who-section text to match English */
html[dir="rtl"] .who-section .main-title {
  font-size: 2rem;
  line-height: 1.35;
}

html[dir="rtl"] .who-section .description-text-who {
  font-size: 1.22rem;
  line-height: 1.85;
}

html[dir="rtl"] .who-section .card-title-top {
  font-size: 2.15rem;
  line-height: 1.3;
}

html[dir="rtl"] .who-section .card-body-text {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 100%;
}

html[dir="rtl"] .who-section .card-subtitle-gold {
  font-size: 1.9rem;
}

.indicator-dots { 
  display: flex; 
  gap: 8px; 
  margin-top: auto;
}

.indicator-dots .dot {
  height: 10px; 
  width: 25px; 
  border-radius: 999px;
  border: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.2); 
  transition: 0.3s; 
  cursor: pointer;
}

.indicator-dots .dot.active { 
  width: 40px; 
  border-radius: 999px;
  background-color: var(--indicator-active); 
}

.cutout-action {
  position: absolute;
  bottom: -1px; 
  right: -1px;  
  width: 64px;
  height: 64px;
  background-color: var(--secondary);
  border-top-left-radius: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-shadow: 0 0 0 1px var(--secondary);
}

.cutout-action::before, 
.cutout-action::after {
  content: "";
  position: absolute;
  width: 30px; 
  height: 30px;
  background-color: transparent;
  box-shadow: 12px 12px 0 9px var(--secondary);
  pointer-events: none;
}

.cutout-action::before {
  top: -31px; 
  right: -1px;
  border-bottom-right-radius: 30px;
  box-shadow: 13px 13px 0 10px var(--secondary);
}

.cutout-action::after {
  bottom: 0; 
  left: -30px; 
  border-bottom-right-radius: 30px;
}

.arrow-circle {
  width: 50px;
  height: 50px;
  background-color: var(--companies-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  z-index: 6;
}

.arrow-circle i {
  color: white;
  font-size: 1.2rem;
}

.arrow-circle:hover {
  transform: scale(1.05);
}

html[dir="rtl"] .card-wrapper {
  justify-content: center;
}

html[dir="rtl"] .leaf-vector-bg {
  right: auto;
  left: -23px;
  transform: scaleX(-1); 
}

html[dir="rtl"] .cutout-action {
  right: auto;
  left: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 32px;
}

html[dir="rtl"] .cutout-action::before {
  right: auto;
  left: -1px;
  box-shadow: -13px 13px 0 10px var(--secondary);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 30px;
}

html[dir="rtl"] .cutout-action::after {
  left: auto;
  right: -30px;
  box-shadow: -12px 12px 0 9px var(--secondary);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 30px;
}

@media (max-width: 1199px) {
  .card-wrapper { min-height: 420px; }
  .leaf-vector-bg { right: -140px; }
  html[dir="rtl"] .leaf-vector-bg { left: -140px; }
  .card-mission { width: min(100%, 400px); }
}

@media (max-width: 991px) {
  .who-section { padding: 60px 0; }
  .row.g-5 { --bs-gutter-y: 2rem; }
  .card-wrapper {
    min-height: 360px;
    margin-top: 0.5rem;
  }
  .card-mission {
    width: 100%;
    max-width: 520px;
    min-height: 330px;
    padding: 2rem;
    margin-inline: auto;
  }
  .leaf-vector-bg {
    height: 100%;
    right: -90px;
    opacity: 0.55;
  }
  html[dir="rtl"] .leaf-vector-bg { left: -90px; }
  .main-title { font-size: 2.2rem; }
  html[dir="rtl"] .who-section .main-title { font-size: 2.45rem; }
  html[dir="rtl"] .who-section .description-text-who { font-size: 1.12rem; }
}

@media (max-width: 767px) {
  .who-section { padding: 44px 0; }
  .intro-badge { margin-bottom: 1.3rem; }
  .main-title { font-size: 1.95rem; margin-bottom: 1.2rem; }
  .description-text-who { font-size: 0.98rem; margin-bottom: 1rem; }
  html[dir="rtl"] .who-section .main-title { font-size: 2.15rem; }
  html[dir="rtl"] .who-section .description-text-who { font-size: 1.1rem; line-height: 1.8; }
  html[dir="rtl"] .who-section .card-title-top { font-size: 1.7rem; }
  html[dir="rtl"] .who-section .card-body-text { font-size: 1.02rem; }
  .card-wrapper { min-height: 320px; }
  .card-mission {
    min-height: 300px;
    padding: 1.5rem 1.2rem;
    border-radius: 28px;
  }
  .card-title-top { font-size: 1.5rem; }
  .card-subtitle-gold { font-size: 1.05rem; margin-bottom: 0.8rem; }
  .card-body-text { font-size: 0.88rem; max-width: 100%; }
  .leaf-vector-bg {
    right: -75px;
    opacity: 0.45;
  }
  html[dir="rtl"] .leaf-vector-bg { left: -75px; }
  .cutout-action {
    width: 56px;
    height: 56px;
    border-top-left-radius: 28px;
  }
  .cutout-action::after {
    width: 24px;
    height: 24px;
    left: -24px;
    box-shadow: 9px 9px 0 7px var(--secondary);
    border-bottom-right-radius: 24px;
  }
  html[dir="rtl"] .cutout-action {
    border-top-right-radius: 28px;
  }
  html[dir="rtl"] .cutout-action::after {
    right: -24px;
    box-shadow: -9px 9px 0 7px var(--secondary);
    border-bottom-left-radius: 24px;
  }
  .arrow-circle {
    width: 44px;
    height: 44px;
  }
  .arrow-circle i { font-size: 1rem; }
}

@media (max-width: 480px) {
  .main-title { font-size: 1.7rem; }
  html[dir="rtl"] .who-section .main-title { font-size: 1.9rem; }
  html[dir="rtl"] .who-section .description-text-who { font-size: 1.05rem; }
  html[dir="rtl"] .who-section .card-body-text { font-size: 0.98rem; }
  .leaf-vector-bg {
    right: -65px;
    opacity: 0.38;
  }
  html[dir="rtl"] .leaf-vector-bg { left: -65px; }
  .card-mission {
    min-height: 280px;
    padding: 1.25rem 1rem 1.1rem;
  }
  .indicator-dots { gap: 6px; }
  .indicator-dots .dot { width: 14px; height: 7px; }
  .indicator-dots .dot.active { width: 32px; }
}
/* ========== Company Pillars section ========== */
.pillars-section {
  background-color: var(--secondary);
  overflow: hidden;
}

.pillars-section .content-box {
  text-align: inherit;
}

.pillars-section .pillars-title {
  max-width: 100%;
  font-size: clamp(1.35rem, 2.8vw + 0.75rem, 2.25rem);
  line-height: 1.25;
  color: var(--primary-dark);
}

@media (min-width: 992px) {
  .pillars-section .pillars-title {
    max-width: 486px;
    font-size: 36px;
    line-height: 1.3;
  }
}

.pillars-section .desc-main {
  max-width: 100%;
  font-size: clamp(0.9375rem, 0.5vw + 0.85rem, 1rem);
  line-height: 1.6;
}

@media (min-width: 992px) {
  .pillars-section .desc-main {
    max-width: 480px;
    font-size: 16px;
  }
}

.pillar-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.pillars-section__grid {
  align-items: stretch;
}

.pillars-section__grid > [class*="col-"] {
  display: flex;
}

.pillar-icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background-color: var(--indicator-active);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon {
  color: var(--white);
  font-size: 1.125rem !important;
}

.pillar-icon--svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon--svg svg {
  width: 1.125rem;
  height: 1.125rem;
}

.pillar-label {
  color: var(--primary-dark);
  font-size: 20px;
}

.pillar-desc {
  font-size: 15px;
  line-height: 1.6;
}

html[dir="rtl"] .pillars-section .content-box {
  text-align: right;
}

html[dir="rtl"] .pillar-item {
  flex-direction: row;
}

@media (max-width: 991px) {
  .pillars-section .pillars-title,
  .pillars-section .desc-main {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  .pillars-section .content-box {
      text-align: center;
      margin-bottom: 2rem;
  }

  html[dir="rtl"] .pillars-section .content-box {
      text-align: center;
  }

  .pillars-section__main-row {
      align-items: center;
      text-align: center;
      flex-direction: column;
  }

  .pillars-section__grid {
      justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .pillar-icon-circle {
      width: 36px;
      height: 36px;
      min-width: 36px;
      min-height: 36px;
  }

  .pillar-icon--svg svg {
      width: 1rem;
      height: 1rem;
  }

  .pillar-label {
      font-size: 18px;
  }
}

html[dir="rtl"] .text-lg-start {
  text-align: right !important;
}

@media (max-width: 991px) {
  .text-center {
      text-align: center !important;
  }
}

/* companies */

.companies-section {
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 80px 0;
}

.pill {
  display: inline-flex;
  background-color: transparent;
  border: 2px solid var(--primary-dark);
  color: var(--primary);
  font-family: 'Naveid Arabic', serif;
  font-weight: 500;
}

.pill-white {
  display: inline-flex;
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-family: 'Naveid Arabic', serif;
  font-weight: 500;
}
.section-title {
  color: var(--primary-dark);
}

.companies-shell {
  min-height: 650px;
  margin: 0 auto;
  background-color: var(--companies-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; 
  padding: 20px;
  overflow: hidden;
}

.companies-shell::before, 
.companies-shell::after,
.ring-extra {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  
}

/* الدائرة الكبرى */
.companies-shell::before {
  width: 600px;
  height: 600px;
  border:0;
  background: rgba(93, 93, 93, 0.06);}

/* الدائرة الوسطى */
.companies-shell::after {
  width: 350px;
  height: 360px;
  background:rgba(165, 162, 162, 0.06);}

.description-text {
  color: rgb(234, 234, 234);
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.companies-desc-two-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.companies-shell .companies-cta-wrap {
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.logos-container {
  position: relative;
  width: 100%;
  height: 265px;
  z-index: 10;
  /* margin: 10px 0; */
  --logo-size: 90px;
  --logo-half: 68px;
}

.company-logo {
  position: absolute;
  width: var(--logo-size);
  height: var(--logo-size);
  background-color: var(--secondary);
  border: 1px solid var(--companies-logo-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 9px;
  z-index: 2;
  box-shadow: 0 0 0 18px rgba(93, 93, 93, 0.1);
  animation: spaceDrift 5s ease-in-out infinite;
  cursor: pointer;
}

.company-logo::before {
  content: "";
  position: absolute;
  inset: -28px; 
  border-radius: 50%;
  background: rgba(93, 93, 93, 0.05);
  z-index: -1;
  pointer-events: none;
  animation: spaceDrift 6.5s ease-in-out infinite reverse;
}

/* Continuous soft orbit — seamless loop (0% = 100%) */
@keyframes spaceDrift {
  0%, 100% {
    transform: translate3d(0, -3px, 0) scale(1);
  }
  25% {
    transform: translate3d(5px, 2px, 0) scale(1.014);
  }
  50% {
    transform: translate3d(-2px, 5px, 0) scale(1.024);
  }
  75% {
    transform: translate3d(-5px, -2px, 0) scale(1.014);
  }
}

.company-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.company-logo:hover img {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.pos-2, .pos-5, .pos-8 { animation-delay: 2s; }
.pos-3, .pos-6 { animation-delay: 4s; }
.pos-4, .pos-7, .pos-10 { animation-delay: 6s; }

.pos-1 {
  top: calc(30% - var(--logo-half));
  left: calc(26% - var(--logo-half));
}
.pos-2 {
  top: calc(32% - var(--logo-half));
  left: calc(9% - var(--logo-half));
}
.pos-3 {
  top: calc(162% - var(--logo-half));
  left: calc(12% - var(--logo-half));
}
.pos-4 {
  top: calc(186% - var(--logo-half));
  left: calc(32% - var(--logo-half));
}
.pos-5 {
  top: calc(111% - var(--logo-half));
  left: calc(27% - var(--logo-half));
}
.pos-6 {
  top: calc(77% - var(--logo-half));
  left: calc(66% - var(--logo-half));
}
.pos-7 {
  top: calc(162% - var(--logo-half));
  left: calc(67% - var(--logo-half));
}

.pos-8 {
  top: calc(29% - var(--logo-half));
  left: calc(94% - var(--logo-half));
}
.pos-9 {
  top: calc(123% - var(--logo-half));
  left: calc(81% - var(--logo-half));
}
.pos-10 {
  top: calc(35% - var(--logo-half));
  left: calc(77% - var(--logo-half));
}
.pos-11 {
  top: calc(121% - var(--logo-half));
  left: calc(50% - var(--logo-half));
}
.pos-12 {
  top: calc(98% - var(--logo-half));
  left: calc(9% - var(--logo-half));
}

.pos-13 {
  top: calc(186% - var(--logo-half));
  left: calc(90% - var(--logo-half));
}

.pos-14 {
  top: calc(40% - var(--logo-half));
  left: calc(44% - var(--logo-half));
}
.pos-15 {
  top: calc(111% - var(--logo-half));
  left: calc(94% - var(--logo-half));
}

.icon-circle {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--white); 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: transparent; 
  color: var(--white);
}

@media (max-width: 992px) {
  .logos-container {
    height: 305px;
    max-width: 100%;
    margin: 10px auto;
    --logo-size: 90px;
    --logo-half: 45px;
  }
  .company-logo {
    box-shadow: 0 0 0 18px rgba(93, 93, 93, 0.1);
  }
  .pos-1 { top: calc(18% - var(--logo-half)); left: calc(10% - var(--logo-half)); }
  .pos-2 { top: calc(40% - var(--logo-half)); left: calc(15% - var(--logo-half)); }
  .pos-3 { top: calc(32% - var(--logo-half)); left: calc(14% - var(--logo-half)); }
  .pos-4 { top: calc(25% - var(--logo-half)); left: calc(25% - var(--logo-half)); }
  .pos-5 { top: calc(22% - var(--logo-half)); left: calc(41% - var(--logo-half)); }
  .pos-6 { top: calc(27% - var(--logo-half)); left: calc(59% - var(--logo-half)); }
  .pos-7 { top: calc(31% - var(--logo-half)); left: calc(76% - var(--logo-half)); }
  .pos-8 { top: calc(18% - var(--logo-half)); left: calc(88% - var(--logo-half)); }
  .pos-9 { top: calc(58% - var(--logo-half)); left: calc(88% - var(--logo-half)); }
  .pos-10 { top: calc(70% - var(--logo-half)); left: calc(76% - var(--logo-half)); }
  .pos-11 { top: calc(76% - var(--logo-half)); left: calc(50% - var(--logo-half)); }
}

/* iPad/tablet: keep same balanced grid in EN/AR */
@media (min-width: 768px) and (max-width: 991.98px) {
  .logos-container {
    height: auto;
    min-height: 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 24px 18px;
    width: 100%;
    max-width: 100%;
  }

  .company-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 82px;
    height: 82px;
    margin: 0;
    padding: 9px;
    box-shadow: 0 0 0 15px rgba(93, 93, 93, 0.08);
    flex-shrink: 0;
  }

  .company-logo img {
    width: 80%;
    height: 80%;
  }

  html[dir="rtl"] .logos-container {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .logos-container {
    height: auto;
    min-height: 280px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 28px 12px;
    width: 100%;
    max-width: 100%;
  }

  .company-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 82px;
    height: 82px;
    padding: 9px;
    box-shadow: 0 0 0 16px rgba(93, 93, 93, 0.08);
    margin: 0;
    flex-shrink: 0;
  }

  .company-logo img {
    width: 80%;
    height: 80%;
  }

  .company-logo:nth-child(1),
  .company-logo:nth-child(3) {
    transform: translateY(12px);
  }

  .company-logo:nth-child(2) {
    transform: translateY(-4px);
  }

  .companies-shell {
    padding: 30px 15px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .description-text {
    font-size: 1rem;
    margin-bottom: 0;
    padding: 0 10px;
  }
}

/* Small phones: smaller logos and gap */
@media (max-width: 480px) {
  .logos-container {
    gap: 20px;
    padding: 22px 8px;
    min-height: 240px;
  }

  .company-logo {
    width: 66px;
    height: 66px;
    padding: 8px;
    box-shadow: 0 0 0 11px rgba(93, 93, 93, 0.06);
  }

  .company-logo img {
    width: 78%;
    height: 78%;
  }

  .company-logo:nth-child(1),
  .company-logo:nth-child(3) {
    transform: translateY(8px);
  }

  .company-logo:nth-child(2) {
    transform: translateY(-2px);
  }
}

.custom-tooltip {
  visibility: hidden;
  width: max-content;
  max-width: min(180px, calc(100vw - 2rem));
  background-color: var(--secondary);
  color: var(--primary-dark);
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 100;
  bottom: 110%; 
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; 
  line-height: 1.3;
  border: 1px solid #ddd;
  white-space: normal;
  overflow-wrap: anywhere;
}

.custom-tooltip .tooltip-ar {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 600;
}

.custom-tooltip::after {
  content: "";
  position: absolute;
  top: 100%; 
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #E8E6DF transparent transparent transparent;
}

.company-logo:hover .custom-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

@media (max-width: 768px) {
  .custom-tooltip {
    max-width: min(160px, calc(100vw - 1.5rem));
    font-size: 0.65rem;
    padding: 4px 6px;
  }
  .custom-tooltip .tooltip-ar {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .custom-tooltip {
    max-width: min(140px, calc(100vw - 1rem));
    font-size: 0.6rem;
    padding: 4px 5px;
    bottom: 115%;
  }
  .custom-tooltip .tooltip-ar {
    font-size: 0.65rem;
  }
}

/* news */

.media-cards-row {
  align-items: start;
  position: relative;
  width: 100%;
  max-width: 100%;
  /* margin-left: 0;
  margin-right: 0; */
}

.media-card-col {
  display: flex;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.media-cards-row.filter-news .media-card-col[data-media-type="blog"],
.media-cards-row.filter-blog .media-card-col[data-media-type="news"] {
  position: absolute;
  width: 0;
  min-width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  margin: 0 !important;
  padding: 0 !important;
  left: 0;
  top: 0;
  z-index: -1;
}

.media-cards-row.filter-news .media-card-col[data-media-type="news"],
.media-cards-row.filter-blog .media-card-col[data-media-type="blog"] {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Media filter tabs: default = inactive; .media-filter-btn--active = News/Insights selection */
.media-filter-btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.media-filter-btn:not(.media-filter-btn--active) {
  background-color: var(--light-brown) !important;
  color: var(--primary-dark) !important;
}
.media-filter-btn.media-filter-btn--active {
  background-color: var(--orange) !important;
  color: var(--white) !important;
}

.media-filter-icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.media-read-more-btn {
  background-color: var(--primary-dark) !important;
  color: var(--text-on-primary) !important;
  border: none;
  text-decoration: none;
  transition: background-color 0.2s;
}

.media-section-header .media-section__title {
  line-height: 1.2;
}

@media (min-width: 992px) {
  .media-section-header .row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 991.98px) {
  .media-section-header .media-actions {
    justify-content: flex-start !important;
  }
}

.media-actions {
max-width: 100%;
}

.media-actions .btn {
max-width: 100%;
}


.read-more-arrow-circle,
.consumer-help-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  line-height: 0;
}

.custom-arrow {
  width: 14px;
  height: 14px;
  border-top: 3px solid #ffffff;    /* Arrow head thickness */
  border-right: 3px solid #ffffff;  /* Arrow head thickness */
  border-top-right-radius: 4px;     /* Makes the sharp corner smooth and rounded */
  transform: rotate(0deg);          /* Adjust angle if needed */
  position: relative;
  display: inline-block;
}

/* The diagonal line of the arrow with rounded caps */
.custom-arrow::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 18px;
  background-color: #ffffff;
  transform: rotate(-45deg);
  transform-origin: top right;
  top: 0;
  right: 0;
  border-radius: 2px; /* Rounds the bottom tail of the arrow */
}

.read-more-arrow-circle i {
  font-size: 0.7rem;
  color: inherit;
}

.read-more-arrow-circle .read-more-arrow-icon,
.consumer-help-btn-icon .read-more-arrow-icon {
  width: 0.85em;
  height: 0.85em;
  display: block;
  flex-shrink: 0;
  color: inherit;
}

.custom-card-wrapper {
  width: 100%;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.custom-card-wrapper .media-card-caption,
.custom-card-wrapper p.small {
  margin-top: 0 !important;
}

.media-card-col .custom-card-wrapper {
  width: 100%;
}

@media (max-width: 575.98px) {
  .custom-card-wrapper {
    max-width: 100%;
    gap: 18px;
  }
}

.media-row--news #carousel-news .carousel-indicators,
.media-row--blog #carousel-blog .carousel-indicators {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 1.25rem 0 0;
  margin-bottom: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

html[dir="rtl"] .media-row--news #carousel-news .carousel-indicators,
html[dir="rtl"] .media-row--blog #carousel-blog .carousel-indicators {
  justify-content: flex-end;
}

.main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-main);
  overflow: hidden;
  background-color: var(--secondary);
  line-height: 0;
}

.main-image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-main);
  background: linear-gradient(180deg, rgba(136, 119, 85, 0) 39.3%, #875 99.95%);
  z-index: 2;
  pointer-events: none;
  mask: radial-gradient(circle at bottom right,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
  -webkit-mask: radial-gradient(circle at bottom right,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
}

.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-main);
  z-index: 1;

  mask: radial-gradient(circle at bottom right,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
  -webkit-mask: radial-gradient(circle at bottom right,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
}


.media-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 6px 14px;
  background: rgba(232, 230, 223, 0.81);

  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  line-height: 1.2;
}

.corner-cutout {
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--cutout-size);
  height: var(--cutout-size);
  background-color: var(--secondary);
  border-top-left-radius: var(--radius-cutout);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3; 
}

.corner-cutout::before,
.corner-cutout::after {
  content: "";
  position: absolute;
  width: calc(var(--cutout-size) * 0.5);
  height: calc(var(--cutout-size) * 0.5);
  background: transparent;
}
.corner-cutout::before {
  top: calc(var(--cutout-size) * -0.5);
  right: 0;
  border-bottom-right-radius: 20px;
  box-shadow: 
    calc(var(--cutout-size) * 0.35)
    calc(var(--cutout-size) * 0.35)
    0
    calc(var(--cutout-size) * 0.35)
    var(--secondary);
}

.corner-cutout::after {
  left: calc(var(--cutout-size) * -0.5);
  bottom: 0;
  border-bottom-right-radius: 20px;
  box-shadow: 
    calc(var(--cutout-size) * 0.35)
    calc(var(--cutout-size) * 0.35)
    0
    calc(var(--cutout-size) * 0.35)
    var(--secondary);
}
.yallow-circle {
  width: calc(var(--cutout-size) * 0.65);
  height: calc(var(--cutout-size) * 0.65);
  background-color: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  z-index: 5;
  color: white;
}


.yallow-circle:hover {
  transform: scale(1.05);
}

.arrow-icon {
  color: white;
  font-size: calc(var(--cutout-size) * 0.35);
  line-height: 1;
}

.yallow-circle .media-card-curved-arrow-icon {
  width: calc(var(--cutout-size) * 0.35);
  height: calc(var(--cutout-size) * 0.35);
  display: block;
  flex-shrink: 0;
}

html[dir="rtl"] .corner-cutout .media-card-curved-arrow-icon {
  transform: scaleX(-1);
}

/* cutout  corner chip for RTL  */
html[dir="rtl"] .main-image-container::before {
  mask: radial-gradient(circle at bottom left,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
  -webkit-mask: radial-gradient(circle at bottom left,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
}

html[dir="rtl"] .card-img {
  mask: radial-gradient(circle at bottom left,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
  -webkit-mask: radial-gradient(circle at bottom left,
        transparent var(--cutout-size),
        black calc(var(--cutout-size) + 1px));
}

html[dir="rtl"] .main-image-container .media-card-date {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .corner-cutout {
  right: auto;
  left: 0;
  border-top-left-radius: 0;
  border-top-right-radius: var(--radius-cutout);
}

html[dir="rtl"] .corner-cutout::before {
  right: auto;
  left: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 20px;
  box-shadow:
    calc(var(--cutout-size) * -0.35)
    calc(var(--cutout-size) * 0.35)
    0
    calc(var(--cutout-size) * 0.35)
    var(--secondary);
}

html[dir="rtl"] .corner-cutout::after {
  left: auto;
  right: calc(var(--cutout-size) * -0.5);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 20px;
  box-shadow:
    calc(var(--cutout-size) * -0.35)
    calc(var(--cutout-size) * 0.35)
    0
    calc(var(--cutout-size) * 0.35)
    var(--secondary);
}

html[dir="rtl"] .corner-cutout .arrow-icon {
  transform: scaleX(-1);
}

.card-title-text mt-2 mx-3 {
  color: var(--primary-dark);
}
.card-title-primary{
  color: var(--primary-dark) !important;
}


.media-row--news #carousel-news .carousel-indicators button,
.media-row--blog #carousel-blog .carousel-indicators button {
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
  width: 22px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background-color: var(--light-brown) !important;
  opacity: 1 !important;
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease,
    background-color 0.25s ease;
}

.media-row--news #carousel-news .carousel-indicators button.active,
.media-row--blog #carousel-blog .carousel-indicators button.active {
  width: 35px;
  height: 12px;
  border-radius: 999px;
  background-color: var(--primary-dark) !important;
}




/* Footer  */
.social-icon {
  width: 30px;
  height:30px;
  border-radius: 50%;
  background-color: var(--companies-bg);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.social-icon:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}






/* search page */

.btn-search-input {
  border: 1px solid var(--primary-dark);

}
.results-btn {
  border: 1.5px solid var(--primary-dark);
}

.no-results-text {
  text-align: center;
  margin-top: 120px;
  font-size: 1.2rem;
}

  .bg-leaf-decoration {
  position: fixed; 
  right: 0;
  top: 20%;
  z-index: -1;
  opacity: 0.4;
  height: 70vh;
  pointer-events: none;
}

html[dir="rtl"] .bg-leaf-decoration {
  right: auto;
  left: 0;
}
input[placeholder="write what you are searching for"]::placeholder {
color: #ccc;             
text-transform: lowercase;  
font-size: 1.2rem;
letter-spacing: 0.5px;
opacity: 1;                
text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
font-size: 0.9rem;
}




/* footer-card */

.footer-card{
 background-color: var(--primary-dark);
}
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2); 
  width: 100%;
}

/* Final mobile hero centering (wins over earlier flex-start rules) */
@media (max-width: 1199.98px) {
  .hero-wrapper .hero-text-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .hero-wrapper .hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-wrapper .hero-cta-row .hero-cta-btn,
  .hero-wrapper .hero-cta-row > a,
  .hero-wrapper .hero-cta-row > .btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
}


