.dywa-footer-widget,
.dywa-footer-widget *{box-sizing:border-box}
.dywa-footer-widget{width:100%;font-family:Montserrat,Arial,sans-serif;background:#000;color:#fff;overflow:hidden}
.dywa-footer-inner{width:100%;max-width:1400px;margin:0 auto}

/* Newsletter banner */
.dywa-footer-newsletter{position:relative;min-height:210px;background-position:center center;background-repeat:no-repeat;background-size:cover;display:flex;align-items:center;isolation:isolate}
.dywa-footer-newsletter::before{content:"";position:absolute;inset:0;background:rgba(4,10,14,.56);z-index:-1}
.dywa-newsletter-inner{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(520px,1.65fr);gap:56px;align-items:center;padding:28px 22px}
.dywa-newsletter-copy{display:flex;align-items:center;gap:20px;min-width:0}
.dywa-newsletter-icon{flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;color:#fff}
.dywa-newsletter-icon svg{width:52px;height:52px;display:block}
.dywa-newsletter-content{min-width:0}
.dywa-newsletter-title{margin:0 0 5px;color:#ef233c;font-size:23px;line-height:1.2;font-weight:600;text-transform:uppercase}
.dywa-newsletter-text{margin:0;color:#d2d2d2;font-size:14px;line-height:1.5;font-weight:400}
.dywa-newsletter-form{width:100%;min-width:0}
.dywa-newsletter-form .fluentform{margin:0!important}
.dywa-newsletter-form .ff-el-group{margin-bottom:0!important}
.dywa-newsletter-form form{display:block!important;margin:0!important}
.dywa-newsletter-form form>fieldset{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:16px!important;align-items:center!important;border:0!important;margin:0!important;padding:0!important;min-inline-size:0!important}
.dywa-newsletter-form .ff-el-input--content{width:100%!important}
.dywa-newsletter-form input,
.dywa-newsletter-form .ff-el-form-control{width:100%!important;min-height:56px;height:56px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#191919!important;padding:0 18px!important;font-family:inherit!important;font-size:15px!important;box-shadow:none!important;outline:none!important}
.dywa-newsletter-form input::placeholder{color:#8a8f99!important;opacity:1}
.dywa-newsletter-form .ff-btn-submit,
.dywa-newsletter-form button[type="submit"]{width:100%!important;min-width:0!important;min-height:56px;height:56px!important;margin:0!important;border:0!important;border-radius:7px!important;background:#ef233c!important;color:#fff!important;font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1!important;padding:0 20px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;transition:background-color .2s ease,transform .2s ease!important}
.dywa-newsletter-form .ff-btn-submit:hover,
.dywa-newsletter-form button[type="submit"]:hover{background:#c91f32!important;transform:translateY(-1px)}
.dywa-newsletter-form .ff-el-is-error .text-danger,.dywa-newsletter-form .ff-el-form-check-label,.dywa-newsletter-form label{font-family:inherit}
.dywa-newsletter-form .ff-message-success,.dywa-newsletter-form .ff-errors-in-stack{grid-column:1/-1!important}

/* Main footer */
.dywa-footer-main{background:#000}
.dywa-footer-main .dywa-footer-inner{padding:44px 22px 40px}
.dywa-footer-grid{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(150px,.88fr) minmax(150px,.88fr) minmax(145px,.84fr) minmax(310px,1.65fr);column-gap:32px;row-gap:34px;align-items:start}
.dywa-footer-column{min-width:0}
.dywa-footer-logo{display:inline-block;line-height:0;margin-bottom:24px}
.dywa-footer-logo img{width:205px;height:auto;max-width:100%;display:block;object-fit:contain}
.dywa-footer-description{max-width:300px;margin:0 0 18px;color:#d2d2d2;font-size:14px;line-height:1.75;font-weight:400}
.dywa-footer-heading{margin:3px 0 22px;color:#fff;font-size:15px;line-height:1.2;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.dywa-footer-links{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:12px}
.dywa-footer-links li{margin:0!important;padding:0!important;line-height:1.35}
.dywa-footer-links a{color:#fff;text-decoration:none!important;font-size:14px;font-weight:400;transition:color .2s ease}
.dywa-footer-links a:hover{color:#ef233c}
.dywa-footer-socials{display:flex;align-items:center;gap:15px;margin-top:2px}
.dywa-social{width:20px;height:20px;display:grid;place-items:center;color:#fff!important;text-decoration:none!important;transition:color .2s ease,transform .2s ease}
.dywa-social:hover{color:#ef233c!important;transform:translateY(-1px)}
.dywa-social svg{width:19px;height:19px;display:block}

/* Contact */
.dywa-footer-contact-column{display:flex;flex-direction:column;gap:15px;min-width:0}
.dywa-footer-contact-column .dywa-footer-heading{margin-bottom:7px}
.dywa-contact-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.dywa-contact-icon{width:28px;height:28px;color:#fff;display:grid;place-items:center;margin-top:1px}
.dywa-contact-icon svg{width:25px;height:25px;display:block}
.dywa-contact-content{display:flex;flex-direction:column;gap:3px;min-width:0}
.dywa-contact-label{color:#ef233c;font-size:13px;line-height:1.25;font-weight:600;text-transform:uppercase}
.dywa-contact-value{color:#d2d2d2!important;font-size:13px;line-height:1.58;font-weight:400;text-decoration:none!important;overflow-wrap:anywhere}
.dywa-registration-link{display:inline-block;margin:2px 0 0 41px;color:#fff!important;text-decoration:none!important;font-size:13px;line-height:1.45;font-weight:500;border-bottom:1px solid rgba(255,255,255,.35);width:max-content;max-width:calc(100% - 41px);transition:color .2s ease,border-color .2s ease}
.dywa-registration-link:hover{color:#ef233c!important;border-color:#ef233c}
.dywa-contact-ltr{direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important}

/* Bottom strip */
.dywa-footer-bottom{background:#000;border-top:1px solid rgba(255,255,255,.28)}
.dywa-footer-bottom-inner{min-height:65px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.dywa-footer-copyright{color:#fff;font-size:12px;line-height:1.4;font-weight:400;white-space:nowrap}
.dywa-footer-legal{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.dywa-footer-legal a{color:#fff!important;text-decoration:none!important;font-size:12px;line-height:1.4;font-weight:400;transition:color .2s ease}
.dywa-footer-legal a:hover{color:#ef233c!important}
.dywa-legal-sep{color:rgba(255,255,255,.65);font-size:12px}

/* Content-only RTL: keep physical footer layout identical to English. */
html.dywa-content-only-rtl .dywa-footer-widget,
html.dywa-content-only-rtl .dywa-footer-newsletter,
html.dywa-content-only-rtl .dywa-newsletter-inner,
html.dywa-content-only-rtl .dywa-newsletter-copy,
html.dywa-content-only-rtl .dywa-footer-grid,
html.dywa-content-only-rtl .dywa-footer-bottom-inner,
html.dywa-content-only-rtl .dywa-contact-item{direction:ltr!important}
html.dywa-content-only-rtl .dywa-newsletter-content,
html.dywa-content-only-rtl .dywa-footer-description,
html.dywa-content-only-rtl .dywa-footer-heading,
html.dywa-content-only-rtl .dywa-footer-links,
html.dywa-content-only-rtl .dywa-registration-link,
html.dywa-content-only-rtl .dywa-footer-legal{direction:rtl!important;text-align:right!important}
html.dywa-content-only-rtl .dywa-footer-links{align-items:stretch}
html.dywa-content-only-rtl .dywa-footer-links li{text-align:right}
html.dywa-content-only-rtl .dywa-footer-brand-column .dywa-footer-description{text-align:right}

/* Social icons are visual controls, not Arabic writing: keep English/LTR order and position. */
html.dywa-content-only-rtl .dywa-footer-brand-column .dywa-footer-socials{
  direction:ltr!important;
  justify-content:flex-start!important;
  text-align:left!important;
}
html.dywa-content-only-rtl .dywa-footer-brand-column .dywa-social{direction:ltr!important}

/* Contact column is the one footer area that uses an RTL row treatment in Arabic.
   Icons sit on the RIGHT, Arabic labels/content align right, while phone/email
   tokens stay LTR internally so their characters are never reversed. */
html.dywa-content-only-rtl .dywa-footer-contact-column{
  direction:rtl!important;
  text-align:right!important;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-footer-heading{
  direction:rtl!important;
  text-align:right!important;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-item{
  direction:ltr!important;
  grid-template-columns:minmax(0,1fr) 30px!important;
  gap:12px!important;
  text-align:right!important;
  width:100%;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-icon{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  margin-top:1px;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-content{
  grid-column:1!important;
  grid-row:1!important;
  direction:rtl!important;
  text-align:right!important;
  align-items:stretch!important;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-label,
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-value{
  text-align:right!important;
}
html.dywa-content-only-rtl .dywa-footer-contact-column .dywa-contact-ltr{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  text-align:right!important;
  width:100%;
  display:block;
}
html.dywa-content-only-rtl .dywa-registration-link{
  direction:rtl!important;
  text-align:right!important;
  align-self:flex-start!important;
  margin:2px 42px 0 0!important;
  max-width:calc(100% - 42px)!important;
}
html.dywa-content-only-rtl .dywa-footer-copyright{direction:rtl;text-align:left}
html.dywa-content-only-rtl .dywa-newsletter-form{direction:ltr!important}
html.dywa-content-only-rtl .dywa-newsletter-form input,
html.dywa-content-only-rtl .dywa-newsletter-form .ff-el-form-control{direction:rtl!important;text-align:right!important}
html.dywa-content-only-rtl .dywa-newsletter-form .ff-btn-submit,
html.dywa-content-only-rtl .dywa-newsletter-form button[type="submit"]{direction:rtl!important}

@media (max-width:1199px){
  .dywa-newsletter-inner{grid-template-columns:minmax(280px,.9fr) minmax(440px,1.45fr);gap:32px}
  .dywa-newsletter-form form>fieldset{grid-template-columns:minmax(0,1fr) 180px!important}
  .dywa-footer-grid{grid-template-columns:1.25fr 1fr 1fr;column-gap:34px}
  .dywa-footer-brand-column{grid-row:span 2}
  .dywa-footer-contact-column{grid-column:auto}
}
@media (max-width:900px){
  .dywa-footer-newsletter{min-height:0!important}
  .dywa-newsletter-inner{grid-template-columns:1fr;gap:24px;padding-top:34px!important;padding-bottom:34px!important}
  .dywa-newsletter-copy{max-width:620px}
  .dywa-footer-grid{grid-template-columns:1.2fr 1fr;column-gap:42px;row-gap:38px}
  .dywa-footer-brand-column{grid-row:auto}
  .dywa-footer-contact-column{grid-column:1 / -1;max-width:620px}
  .dywa-footer-bottom-inner{align-items:flex-start}
}
@media (max-width:640px){
  .dywa-footer-newsletter{background-position:center center}
  .dywa-newsletter-inner{padding:30px 20px!important;gap:22px}
  .dywa-newsletter-copy{align-items:flex-start;gap:13px}
  .dywa-newsletter-icon{flex-basis:44px;width:44px;height:44px}
  .dywa-newsletter-icon svg{width:42px;height:42px}
  .dywa-newsletter-title{font-size:19px}
  .dywa-newsletter-text{font-size:13px}
  .dywa-newsletter-form form>fieldset{grid-template-columns:1fr!important;gap:10px!important}
  .dywa-newsletter-form .ff-btn-submit,.dywa-newsletter-form button[type="submit"]{width:100%!important}
  .dywa-footer-main .dywa-footer-inner{padding:36px 20px 34px!important}
  .dywa-footer-grid{grid-template-columns:1fr;row-gap:34px}
  .dywa-footer-logo{margin-bottom:18px}
  .dywa-footer-description{max-width:100%}
  .dywa-footer-heading{margin-bottom:16px}
  .dywa-footer-links{gap:10px}
  .dywa-footer-contact-column{grid-column:auto;max-width:none}
  .dywa-footer-bottom-inner{padding:18px 20px;min-height:0;flex-direction:column;align-items:flex-start;gap:14px}
  .dywa-footer-copyright{white-space:normal}
  .dywa-footer-legal{justify-content:flex-start;gap:7px 9px}
  html.dywa-content-only-rtl .dywa-footer-bottom-inner{align-items:stretch}
  html.dywa-content-only-rtl .dywa-footer-copyright{text-align:right}
  html.dywa-content-only-rtl .dywa-footer-legal{justify-content:flex-start}
}
