/* ==========================================================================
   LeadMinds footer (change request #1) — replaces the old .mega-footer look.
   Values follow the approved design (1440 desktop / 390 mobile).
   ========================================================================== */
.lm-foot {
  --lm-foot-bg: #1a4242;
  --lm-foot-accent: #FABA3D;
  --lm-foot-text: rgba(255, 255, 255, 0.74);
  --lm-foot-line: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  background: var(--lm-foot-bg);
  color: #fff;
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  isolation: isolate;
  flex-shrink: 0;
  width: 100%;
}
.lm-foot *, .lm-foot *::before, .lm-foot *::after { box-sizing: border-box; }
.lm-foot a { color: var(--lm-foot-text); text-decoration: none; transition: color .2s ease; }
.lm-foot a:hover, .lm-foot a:focus-visible { color: var(--lm-foot-accent); }

.lm-foot__watermark {
  position: absolute; z-index: -1; pointer-events: none;
  inset-inline-end: -60px; bottom: -70px;
  width: 460px; height: 399px; opacity: .05;
  fill: none; stroke: #fff; stroke-width: .4;
}

.lm-foot__main {
  max-width: 1440px; margin: 0 auto;
  padding: 72px 72px 48px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 1.2fr);
  gap: 48px;
}

/* Brand */
.lm-foot__brand { display: flex; flex-direction: column; gap: 24px; padding-inline-end: 24px; }
.lm-foot__logo { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; color: #fff !important; }
.lm-foot__logo svg { width: 64px; height: 55px; flex-shrink: 0; }
.lm-foot__logo span { font-size: 34px; font-weight: 700; line-height: 1; color: #fff; }
.lm-foot__slogan { margin: 0; max-width: 300px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.lm-foot__accent { color: var(--lm-foot-accent); font-weight: 600; }
.lm-foot__social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lm-foot__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: inline-flex; align-items: center; justify-content: center;
}
.lm-foot__social a:hover { border-color: var(--lm-foot-accent); }
.lm-foot__social svg, .lm-foot__social img { width: 18px; height: 18px; display: block; }

/* Column titles */
.lm-foot__title {
  margin: 0 0 24px; padding: 0 0 13px; position: relative;
  font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4;
  list-style: none; cursor: default;
}
.lm-foot__title::-webkit-details-marker { display: none; }
.lm-foot__title::marker { content: ''; }
.lm-foot__title::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 28px; height: 3px; border-radius: 2px; background: var(--lm-foot-accent);
}

/* Link lists */
.lm-foot__links, .lm-foot__contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lm-foot__links a { font-size: 15px; line-height: 1.5; }

/* Contact */
.lm-foot__contact-list a, .lm-foot__plain {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  font-size: 15px; line-height: 1.5; color: var(--lm-foot-text);
}
.lm-foot__contact-list svg {
  width: 17px; height: 17px; flex-shrink: 0;
  fill: none; stroke: var(--lm-foot-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lm-foot__contact-list span[dir="ltr"] { white-space: nowrap; unicode-bidi: isolate; }
.lm-foot__contact-list li { min-width: 0; }
.lm-foot__badge {
  font-size: 12px; line-height: 1.5; padding: 2px 8px; border-radius: 10px;
  background: rgba(250, 186, 61, .14); color: var(--lm-foot-accent); white-space: nowrap;
}

/* Bottom bar */
.lm-foot__bottom {
  max-width: calc(1440px - 144px); margin: 0 auto;
  border-top: 1px solid var(--lm-foot-line);
  padding: 24px 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 1441px) { .lm-foot__bottom { max-width: 1296px; } }
@media (max-width: 1440px) { .lm-foot__bottom { margin: 0 72px; } }
.lm-foot__copy { font-size: 14px; color: rgba(255, 255, 255, .72); }
.lm-foot__pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lm-foot__pay-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.lm-foot__pay-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lm-foot__pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-foot__pay-chip {
  height: 32px; min-width: 64px; padding: 0 10px; border-radius: 6px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.lm-foot__pay-chip img { display: block; height: 20px; width: auto; max-width: 64px; object-fit: contain; }

/* Laptop / tablet: brand on its own row, 4 columns below */
@media (max-width: 1365px) {
  .lm-foot__main { padding: 56px 40px 40px; gap: 40px 32px; grid-template-rows: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lm-foot__brand { grid-column: 1 / -1; padding: 0; }
  .lm-foot__slogan { max-width: 420px; }
  .lm-foot__bottom { margin: 0 40px; }
}
@media (max-width: 991px) {
  .lm-foot__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-foot__bottom { flex-direction: column; align-items: center; text-align: center; }
  .lm-foot__pay { justify-content: center; }
}

/* Mobile (390 design) */
@media (max-width: 767px) {
  .lm-foot__main { display: flex; flex-direction: column; gap: 0; padding: 48px 24px 0; }
  .lm-foot__brand { gap: 20px; margin-bottom: 32px; }
  .lm-foot__logo svg { width: 52px; height: 45px; }
  .lm-foot__logo span { font-size: 28px; }
  .lm-foot__slogan { font-size: 15px; }
  .lm-foot__social { gap: 5px; }
  .lm-foot__social a { width: 40px; height: 40px; }

  .lm-foot__group { border-bottom: 1px solid var(--lm-foot-line); }
  .lm-foot__group:first-of-type { border-top: 1px solid var(--lm-foot-line); }
  .lm-foot__group .lm-foot__title {
    margin: 0; padding: 0; min-height: 56px; display: flex; align-items: center; justify-content: space-between;
    cursor: pointer;
  }
  .lm-foot__group .lm-foot__title::after {
    position: static; width: 10px; height: 10px; border-radius: 0; background: none;
    border-right: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.7);
    transform: rotate(45deg) translateY(-3px); margin-inline-end: 6px; transition: transform .2s ease;
  }
  .lm-foot__group[open] .lm-foot__title::after { transform: rotate(-135deg) translateY(-3px); }
  .lm-foot__group .lm-foot__links { gap: 4px; padding-bottom: 12px; }
  .lm-foot__group .lm-foot__links a { display: block; line-height: 44px; }

  .lm-foot__contact { margin-top: 32px; }
  .lm-foot__contact .lm-foot__title { margin-bottom: 18px; }

  .lm-foot__bottom {
    margin: 32px 24px 0; padding: 24px 0 calc(32px + env(safe-area-inset-bottom, 0px));
    flex-direction: column-reverse; gap: 12px; text-align: center;
  }
  .lm-foot__pay { flex-direction: column; gap: 12px; }
  .lm-foot__pay-logos { justify-content: center; }
  .lm-foot__pay-chip { height: 30px; }
  .lm-foot__copy { margin-top: 12px; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.66); }
  /* keep the floating WhatsApp button from covering the copyright line */
  body .lm-foot { padding-bottom: 56px; }
}

/* Guard against the global/English stylesheets */
html body footer.lm-foot ul.lm-foot__links,html body footer.lm-foot ul.lm-foot__contact-list{padding-inline:0 !important;padding:0 !important;margin:0 !important;list-style:none !important}
.lm-foot .lm-foot__links li,.lm-foot .lm-foot__contact-list li{margin:0 !important;padding:0 !important}
html body footer.lm-foot .lm-foot__title{font-family:inherit !important;line-height:1.4 !important;font-size:16px !important;font-weight:700 !important;color:#fff !important;letter-spacing:0 !important;text-transform:none !important}
.lm-foot p{margin:0}
