/* HOODEL corporate dark-purple footer */
footer.hoodel-footer{
  position:relative;
  overflow:hidden;
  margin:0;
  padding:58px 0 0;
  border:0;
  color:#f7f4ff;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(16,184,255,.15),
      transparent 27%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(221,48,190,.18),
      transparent 28%
    ),
    linear-gradient(135deg,#160b2b 0%,#24103f 48%,#321251 100%);
  font-size:10px;
}

footer.hoodel-footer:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.13;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,#000,transparent 78%);
}

.footer-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.25fr .8fr 1fr 1.3fr;
  gap:52px;
  align-items:start;
  padding-bottom:48px;
}

.footer-en{
  direction:ltr;
}

.footer-fa{
  direction:rtl;
  font-family:"Vazirmatn",Tahoma,sans-serif;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:#fff;
  font-family:"Space Grotesk","Manrope",Arial,sans-serif;
  font-size:23px;
  font-weight:720;
  letter-spacing:.09em;
}

.footer-logo img{
  width:43px;
  height:43px;
  object-fit:contain;
}

.footer-logo > span > span{
  color:#34b8ff;
}

.footer-brand p{
  max-width:300px;
  margin:18px 0 21px;
  color:#c8bfd6;
  font-size:13px;
  line-height:1.85;
}

.footer-column h3,
.footer-location h3{
  position:relative;
  margin:0 0 21px;
  padding-bottom:11px;
  color:#fff;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
}

.footer-column h3:after,
.footer-location h3:after{
  content:"";
  position:absolute;
  bottom:0;
  width:30px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,#35c8ff,#d83ac7);
}

.footer-en .footer-column h3:after,
.footer-en .footer-location h3:after{
  left:0;
}

.footer-fa .footer-column h3:after,
.footer-fa .footer-location h3:after{
  right:0;
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-fa .footer-column{
  align-items:flex-start;
}

.footer-column a{
  position:relative;
  display:inline-block;
  margin:0 0 10px;
  color:#c6bdd5;
  font-size:12.5px;
  transition:color .18s ease,transform .18s ease;
}

.footer-column a:hover{
  color:#fff;
  transform:translateX(3px);
}

.footer-fa .footer-column a:hover{
  transform:translateX(-3px);
}

.footer-email{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-family:"Manrope","Vazirmatn",sans-serif;
  font-size:13px;
}

.footer-email svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:#4dc9ff;
  stroke-width:1.75;
}

.footer-address{
  margin:0 0 17px;
  color:#d7d0e1;
  font-size:12.5px;
  line-height:1.85;
}

.map-card{
  display:block;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.17);
  border-radius:5px;
  background:rgba(255,255,255,.07);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.map-card:hover{
  transform:translateY(-3px);
  border-color:rgba(86,201,255,.6);
  background:rgba(255,255,255,.1);
}

.map-art{
  height:106px;
  overflow:hidden;
  background:
    radial-gradient(circle at 65% 35%,rgba(201,54,199,.18),transparent 32%),
    rgba(255,255,255,.035);
}

.map-art svg{
  display:block;
  width:100%;
  height:100%;
}

.map-lines{
  fill:none;
  stroke:rgba(255,255,255,.14);
  stroke-width:2;
}

.map-route{
  fill:none;
  stroke:#4ccaff;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-dasharray:5 5;
}

.map-node{
  fill:#4ccaff;
}

.map-pin{
  fill:#c931bd;
  stroke:#f1b8ed;
  stroke-width:1.2;
}

.map-pin-center{
  fill:#fff;
}

.map-card > span{
  display:block;
  padding:10px 12px;
  color:#fff;
  font-size:11.5px;
  font-weight:650;
}

.footer-bottom{
  position:relative;
  z-index:2;
  min-height:57px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.13);
  color:#958aa9;
  font-size:11.5px;
}

.footer-languages{
  direction:ltr;
  display:flex;
  align-items:center;
  gap:7px;
}

.footer-languages a,
.footer-languages strong{
  color:#fff;
}

.footer-languages i{
  color:#6e6280;
  font-style:normal;
}

.back-to-top{
  justify-self:end;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.23);
  border-radius:50%;
  color:#fff;
  transition:.18s ease;
}
.back-to-top svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.footer-fa .back-to-top{
  justify-self:start;
}

.back-to-top:hover{
  border-color:#4ccaff;
  background:rgba(76,202,255,.12);
  transform:translateY(-3px);
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:38px 44px;
  }
}

@media(max-width:560px){
  footer.hoodel-footer{
    padding-top:42px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:33px;
    padding-bottom:36px;
  }

  .footer-brand p{
    max-width:none;
  }

  .footer-bottom{
    grid-template-columns:1fr auto;
    padding:16px 0;
    row-gap:13px;
  }

  .footer-languages{
    justify-self:end;
  }

  .back-to-top{
    grid-column:1 / -1;
    justify-self:start;
  }

  .footer-fa .back-to-top{
    justify-self:end;
  }
}


/* HOODEL premium Arabic edition */
@font-face{
  font-family:"Alexandria";
  src:url("/assets/fonts/alexandria.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

@font-face{
  font-family:"NotoSansArabic";
  src:url("/assets/fonts/noto-sans-arabic.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

.ar-page{
  direction:rtl;
  font-family:"NotoSansArabic",Tahoma,Arial,sans-serif;
  letter-spacing:0;
}

/* Keep header geometry while making its text Arabic */
.ar-page header nav,
.ar-page .navlinks{
  direction:ltr;
}

.ar-page .navtrigger,
.ar-page .navlinks a{
  direction:rtl;
}

/* True RTL composition */
.ar-page .hero .wrap,
.ar-page .mega,
.ar-page .exp-row,
.ar-page .domain-row,
.ar-page .delivery-row,
.ar-page .industry-row,
.ar-page .project-row,
.ar-page .finalbox{
  direction:rtl;
}

.ar-page .hero-copy,
.ar-page .mega-intro,
.ar-page .mega-col,
.ar-page .dropdown,
.ar-page .project-copy,
.ar-page .final-content{
  direction:rtl;
  text-align:right;
}

/* Technology display typography */
.ar-page h1,
.ar-page .finalbox h2,
.ar-page .mega-intro-title{
  font-family:"Alexandria","NotoSansArabic",sans-serif;
  letter-spacing:0;
}

.ar-page .hero h1{
  max-width:550px;
  margin-right:0;
  margin-left:auto;
  font-size:clamp(31px,3.2vw,46px);
  line-height:1.42;
  font-weight:700;
}

.ar-page .lead{
  font-size:10.5px;
  line-height:2;
}

.ar-page .section-title,
.ar-page .domain b,
.ar-page .phase b,
.ar-page .project-copy b,
.ar-page .mega-title,
.ar-page .mega-kicker{
  font-family:"Alexandria","NotoSansArabic",sans-serif;
  letter-spacing:0;
}

.ar-page .section-title{
  font-size:9px;
  font-weight:700;
}

.ar-page .mega-intro{
  border-right:0;
  border-left:1px solid var(--line);
}

.ar-page .mega-col{
  border-right:0;
  border-left:1px solid #edf3f8;
}

.ar-page .mega-col:last-child{
  border-left:0;
}

.ar-page .mega-title,
.ar-page .mega-kicker,
.ar-page .mega-col a,
.ar-page .mega-intro p,
.ar-page .mega-intro-title{
  direction:rtl;
  text-align:right;
}

.ar-page .section-line-head{
  direction:ltr;
}

.ar-page .section-line-head .section-title,
.ar-page .linkmini{
  direction:rtl;
}

.ar-page .domain .arr{
  right:auto;
  left:10px;
}

.ar-page .final-content{
  justify-self:start;
}

.ar-page .final-actions,
.ar-page .hero .actions{
  direction:rtl;
  justify-content:flex-start;
}

.ar-page .finalbox .final-blueprint{
  right:auto;
  left:2%;
  -webkit-mask-image:linear-gradient(
    270deg,
    transparent 0%,
    rgba(0,0,0,.4) 13%,
    #000 30%,
    #000 100%
  );
  mask-image:linear-gradient(
    270deg,
    transparent 0%,
    rgba(0,0,0,.4) 13%,
    #000 30%,
    #000 100%
  );
}

.ar-page .finalbox h2{
  font-size:clamp(27px,2.75vw,36px);
  line-height:1.5;
  font-weight:700;
}

/* Latin words inside Arabic content */
.ar-page [dir="ltr"],
.ar-page .footer-email,
.ar-page .footer-languages,
.ar-page .footer-logo,
.ar-page .logo-word{
  font-family:"Manrope","Space Grotesk","Segoe UI",Arial,sans-serif;
  direction:ltr;
  unicode-bidi:isolate;
}

.footer-ar{
  direction:rtl;
  font-family:"NotoSansArabic",Tahoma,sans-serif;
}

.footer-ar .footer-column{
  align-items:flex-start;
}

.footer-ar .footer-column h3:after,
.footer-ar .footer-location h3:after{
  right:0;
}

.footer-ar .footer-column a:hover{
  transform:translateX(-3px);
}

.footer-ar .back-to-top{
  justify-self:start;
}

@media(max-width:720px){
  .ar-page .hero h1{
    font-size:34px;
  }

  .ar-page .navlinks{
    direction:rtl;
    text-align:right;
  }

  .ar-page .finalbox .final-blueprint{
    right:auto;
    left:-5%;
  }
}


/* Fixed Arabic three-line hero */
.ar-page .hero .fixed-three-line-title{
  min-height:3.9em;
  font-size:clamp(31px,3vw,43px);
  line-height:1.3;
}

.ar-page .fixed-three-line-title span{
  display:block;
  white-space:nowrap;
}

@media(max-width:560px){
  .ar-page .hero .fixed-three-line-title{
    min-height:3.9em;
    font-size:30px;
  }
}


.geoip-credit{
  display:block;
  text-align:center;
  margin-top:7px;
  font-size:7px;
  line-height:1.4;
  color:inherit;
  opacity:.45;
}
