/* =================================================================
   footer-block.css â€” Bluworks v2
   Self-contained: all button/link styles declared here so Kadence
   cannot override them.
   All values traced to Website/style.css final cascade.
   ================================================================= */

/* â”€â”€ Design tokens (scoped to footer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer {
  --f-ink:         #0A0F1E;
  --f-primary:     #1E50E5;
  --f-light:       #4895FF;
  --f-line:        #E4E8F3;
  --f-ease:        cubic-bezier(0.2, 0.8, 0.2, 1);
  --f-dur:         220ms;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* â”€â”€ Footer shell â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* .footer-compact padding: var(--s-6) 0 var(--s-5) = 28px 0 20px */
.footer.footer-compact {
  background: #0A0F1E;
  color: #fff;
  padding: 28px 0 20px;
}

.footer .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}


/* =================================================================
   ROW 1 â€” b-logo + headline + CTA button
   ================================================================= */

/* .footer-cta-inline final state (May 19 pass 5):
   flex-direction row at â‰¥700px; b-logo left, h2 right-aligned,
   actions right */
.footer .footer-cta.footer-cta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 700px) {
  .footer .footer-cta.footer-cta-inline {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  /* Social + lang wrapper â€” always on one row */
.footer-social-lang {
  display: flex;
  align-items: center;
  gap: 282px;
  flex-wrap: wrap;
}

}

/* b-logo â€” final: transparent bg, no border-radius, 56px */
.footer .footer-b {
  width: 56px !important;
  height: 56px !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  flex-shrink: 0;
  display: block;
  margin: 0;
  order: 1;
  flex: 0 0 auto;
}

html[dir="rtl"] .footer .footer-b {
  margin-right: 0;
  margin-left: 8px;
}

@media (max-width: 560px) {
  .footer .footer-b {
    width: 48px !important;
    height: 48px !important;
  }
}

/* Headline */
.footer .footer-cta.footer-cta-inline h2 {
  margin: 0;
  font-size: 22px;            /* --text-subsection-title */
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #fff;
  order: 2;
  flex: 1 1 auto;
  text-align: right;
  padding-right: 28px;        /* --s-6 */
}

html[dir="rtl"] .footer .footer-cta.footer-cta-inline h2 {
  text-align: left;
  padding-right: 0;
  padding-left: 28px;
  letter-spacing: 0;
}

@media (max-width: 880px) {
  .footer .footer-cta.footer-cta-inline h2 {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .footer .footer-cta.footer-cta-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer .footer-cta.footer-cta-inline h2 {
    text-align: left;
    padding-right: 0;
    order: 2;
    flex-basis: 100%;
  }
}

/* Actions group */
.footer .footer-cta-actions {
  order: 3;
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* â”€â”€ CTA button â€” self-contained, can't be broken by Kadence â”€â”€â”€ */
.footer-demo-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  letter-spacing: -0.005em !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: #1E50E5 !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
  cursor: pointer !important;
  min-width: 200px !important;
  transition: background 220ms var(--f-ease),
              transform   220ms var(--f-ease),
              box-shadow  220ms var(--f-ease) !important;
}

.footer-demo-btn:hover,
.footer-demo-btn:focus {
  background: #0A2A8A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 16px 40px rgba(30, 80, 229, 0.20) !important;
  color: #fff !important;
}

.footer-demo-btn .btn-arrow {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: block !important;
  color: #fff !important;
  stroke: #fff !important;
  transition: transform 220ms var(--f-ease) !important;
}

.footer-demo-btn:hover .btn-arrow {
  transform: translateX(3px) !important;
}

html[dir="rtl"] .footer-demo-btn:hover .btn-arrow {
  transform: translateX(-3px) !important;
}

@media (max-width: 560px) {
  .footer-demo-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* =================================================================
   ROW 2 â€” 4-column grid
   ================================================================= */

/* grid-template-columns: 1fr 1.1fr 1.1fr 1.7fr; gap 48px */
.footer .footer-grid.footer-grid-no-brand {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 1.7fr;
  gap: 48px;
  margin-bottom: 40px;        /* --s-7 */
  align-items: start;
}

@media (max-width: 980px) {
  .footer .footer-grid.footer-grid-no-brand {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer .footer-grid.footer-grid-no-brand .footer-col-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .footer .footer-grid.footer-grid-no-brand {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer .footer-grid.footer-grid-no-brand .footer-col-newsletter {
    grid-column: auto;
  }
}

/* Column headings â€” uppercase small caps */
.footer .footer-grid.footer-grid-no-brand > .footer-col > h5,
.footer .footer-grid.footer-grid-no-brand > .footer-col-newsletter > h5 {
  display: block !important;
  font-size: 14px;            /* --text-micro */
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
  font-family: inherit;
}

html[dir="rtl"] .footer .footer-grid.footer-grid-no-brand > .footer-col > h5,
html[dir="rtl"] .footer .footer-grid.footer-grid-no-brand > .footer-col-newsletter > h5 {
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
}

/* Column link lists */
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li a,
.footer-col li a:link,
.footer-col li a:visited {
  font-size: 16px !important;   /* --text-small */
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 220ms var(--f-ease) !important;
  font-family: inherit !important;
}

.footer-col li a:hover {
  color: #fff !important;
}

/* Newsletter column heading â€” white, not muted */
.footer .footer-col-newsletter > h5 {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  margin: 0 0 8px !important;
}

.footer .footer-col-newsletter > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* Newsletter form */
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.footer-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: border-color 220ms, background 220ms;
  -webkit-appearance: none;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: #8E94AB;
}

.footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #1E50E5;
  background: rgba(255, 255, 255, 0.10);
}

@media (max-width: 560px) {
  .footer-newsletter-form {
    flex-direction: column;
  }
}

/* Subscribe button â€” self-contained */
.footer-subscribe-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: #fff !important;
  color: #1E50E5 !important;
  border: 1.5px solid #fff !important;
  cursor: pointer !important;
  transition: background 220ms var(--f-ease) !important;
}

.footer-subscribe-btn:hover {
  background: #EEF3FF !important;
  color: #1E50E5 !important;
}

/* Watch App Demo button â€” self-contained */
.footer-watch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 12px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  transition: border-color 220ms var(--f-ease), background 220ms var(--f-ease) !important;
}

.footer-watch-btn:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.footer-watch-btn .btn-yt-icon {
  width: 22px !important;
  height: 22px !important;
  color: #FF0000 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.footer-watch-btn .btn-arrow {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: block !important;
  color: #fff !important;
  stroke: #fff !important;
  transition: transform 220ms var(--f-ease) !important;
  margin-left: auto !important;
}

.footer-watch-btn:hover .btn-arrow {
  transform: translateX(3px) !important;
}

html[dir="rtl"] .footer-watch-btn:hover .btn-arrow {
  transform: translateX(-3px) !important;
}


/* =================================================================
   BOTTOM BAR
   ================================================================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;          /* --s-5 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;                  /* --s-3 */
}

/* Copyright text */
.footer-bottom > span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.footer-bottom > span a,
.footer-bottom > span a:link,
.footer-bottom > span a:visited {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transition: color 220ms !important;
}

.footer-bottom > span a:hover {
  color: #fff !important;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a,
.footer-social a:link,
.footer-social a:visited {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: background 220ms var(--f-ease), color 220ms var(--f-ease) !important;
  flex-shrink: 0 !important;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Language switcher */
.footer-lang-switch,
.footer-lang-switch:link,
.footer-lang-switch:visited {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition: color 180ms !important;
}

.footer-lang-switch:hover {
  color: #fff !important;
}

.footer-lang-switch .lang-switch-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Social + lang wrapper â€” always on one row */
.footer-social-lang {
  display: flex;
  align-items: center;
  
  flex-wrap: wrap;
}

/* Mobile bottom bar â€” copyright stacks above, social+lang stay together */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Social icons and lang switcher stay on the SAME row */
  .footer-social-lang {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}


/* =================================================================
   EDITOR PREVIEW
   ================================================================= */
.editor-styles-wrapper .footer.footer-compact,
.acf-block-preview .footer.footer-compact {
  padding: 24px 0 16px;
}

.editor-styles-wrapper .footer-newsletter-form,
.acf-block-preview .footer-newsletter-form {
  pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer-demo-btn,
  .footer-watch-btn,
  .footer-subscribe-btn {
    transition: none !important;
  }
}
/* =================================================================
   FLOATING WHATSAPP BUTTON
   ================================================================= */

/* Pulsing animation adapted to your specific color (#4dc247) and shadow */
@keyframes wa-glow {
  0%   { box-shadow: 0 0 0 0 rgba(77, 194, 71, 0.55), 2px 2px 6px rgba(0,0,0,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(77, 194, 71, 0), 2px 2px 8px rgba(0,0,0,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(77, 194, 71, 0), 2px 2px 6px rgba(0,0,0,0.4); }
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: #4dc247;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-decoration: none !important;
  
  /* Apply the pulsing animation */
  animation: wa-glow 2.6s ease-out infinite;
  
  /* Smooth transitions */
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
              bottom 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-whatsapp .whatsapp-ico {
  fill: white;
  width: 100%;
  height: 100%;
  padding: 3px;
  display: block;
}

/* Hover state: stop the pulse, lift slightly, and apply your dark shadow */
.floating-whatsapp:hover {
  animation: none !important;
  transform: translateY(-2px);
  box-shadow: 2px 2px 11px rgba(0,0,0,0.7) !important;
}

/* RTL positioning (Arabic pages) */
html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 24px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none !important; transition: none !important; }
  .floating-whatsapp:hover { transform: none !important; }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  html[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 20px;
  }
}

/* Hide inside the Gutenberg editor canvas so it doesn't get in your way */
.editor-styles-wrapper .floating-whatsapp {
  display: none !important;
}

/* Keep the WhatsApp button clear of the cookie banner — both are fixed
   to the same bottom corner on mobile and would otherwise overlap. */
@media (max-width: 600px) {
  body.has-cookie-banner .floating-whatsapp {
    bottom: 140px;
  }
}
/* ── Newsletter submit feedback message ── */
.footer-nl-msg {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.4;
  font-family: 'Neue Haas Grotesk Display', sans-serif;
}
/* ── Arabic RTL font override (auto) ────────────────────────────── */
html[dir="rtl"] .footer,
html[dir="rtl"] .footer-nl-msg {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif !important;
}