@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--blue:#159fda;--blue-dark:#087eaf;--ink:#20252a;--muted:#68727b;--line:#dce3e8;--paper:#f7f9fa;--white:#fff;--font-ar:'Cairo',sans-serif;--font-en:'Inter',sans-serif;--container:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:#fff;font-family:var(--font-ar);line-height:1.7}body.lang-en{font-family:var(--font-en)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}.topbar{background:#22272b;color:#dce3e8;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:36px}.topbar a{color:#76d1f4}.site-header{height:88px;background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(32,37,42,.08)}.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{width:290px;flex-shrink:0}.brand img{width:100%;height:88px;object-fit:contain;object-position:left center}.main-nav{display:flex;align-items:center;gap:clamp(18px,3vw,42px);font-size:14px;font-weight:700}.main-nav a{transition:color .2s}.main-nav a:hover{color:var(--blue)}.lang-switch{border:1px solid var(--line);background:#fff;border-radius:3px;padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px}.hero{min-height:650px;position:relative;background:#182d3a;overflow:hidden;display:flex;align-items:center;color:white}.hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(8,20,28,.68),rgba(8,20,28,.30) 55%,rgba(8,20,28,.08)),url('../images/itqan-hero-press.jpg');background-position:center;background-size:cover;filter:none;transform:scale(1);animation:heroZoomIn 24s ease-out infinite alternate;will-change:transform}
@keyframes heroZoomIn{from{transform:scale(1)}to{transform:scale(1.12)}}
@media (prefers-reduced-motion:reduce){.hero-image{animation:none;transform:none}}.hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,22,31,.3),transparent 60%)}.hero-content{position:relative;z-index:1;padding-block:100px}.eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.08em;color:#b9eaff}.eyebrow-line{width:36px;height:2px;background:var(--blue)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.22;letter-spacing:-.04em;max-width:800px;margin:25px 0}.hero h1 em,.statement h2 em{font-style:normal;color:#56c5f1}.hero-content>p{max-width:540px;color:#e0e8ec;font-size:17px;line-height:2}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:50px;padding:12px 22px;border:1px solid transparent;font-size:13px;font-weight:800;cursor:pointer;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark)}.btn-ghost{border-color:rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.04)}.hero-note{display:flex;align-items:center;gap:9px;margin-top:58px;font-size:12px;color:#c5d1d8}.note-dot{width:7px;height:7px;background:var(--blue);border-radius:50%}.hero-index{position:absolute;bottom:35px;left:max(24px,calc((100% - var(--container))/2));display:flex;align-items:center;gap:12px;font:700 11px var(--font-en);color:#eaf4f8}.hero-index i{height:1px;width:55px;background:#8eabb8}.section-pad{padding-block:110px}.intro{background:#fff}.intro-grid{display:grid;grid-template-columns:.7fr 1.5fr 1fr;gap:30px;align-items:start}.section-kicker{font:800 11px var(--font-en);letter-spacing:.08em;color:#6b7780;display:flex;gap:10px;align-items:center}.section-kicker span:first-child{color:var(--blue)}.intro h2,.section-heading h2,.work-heading h2,.quote-grid h2{font-size:clamp(30px,4vw,48px);line-height:1.35;letter-spacing:-.04em;margin:0}.intro h2 span,.section-heading h2 span,.work-heading h2 span,.quote-grid h2 span{color:var(--blue)}.intro-text p{font-size:14px;color:var(--muted);line-height:2.1;margin-bottom:22px}.text-link{display:inline-flex;align-items:center;gap:16px;font-size:13px;font-weight:800}.text-link b{color:var(--blue);font:700 20px var(--font-en)}.about-photo{margin-top:60px;position:relative;height:430px;overflow:hidden;background:#d8e4ea}.about-photo img{width:100%;height:100%;object-fit:cover;filter:none}.photo-caption{position:absolute;bottom:0;right:0;left:0;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(0deg,rgba(8,22,31,.8),transparent);font-size:13px}.photo-caption b{font:700 11px var(--font-en);letter-spacing:.12em}.services{background:var(--paper)}.section-heading{display:grid;grid-template-columns:.7fr 1.5fr 1fr;gap:30px;align-items:start;margin-bottom:48px}.section-heading>p,.work-heading>p{font-size:14px;color:var(--muted);line-height:2;margin:4px 0 0}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.service-card{background:#fff;min-width:0}.service-image{height:280px;position:relative;overflow:hidden;background:#dce8ed}.service-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s;filter:none}.service-card:hover .service-image img{transform:scale(1.04)}.service-number{position:absolute;top:18px;left:18px;background:var(--blue);color:white;padding:6px 10px;font:700 11px var(--font-en)}.service-body{padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:start}.service-body h3{font-size:20px;margin-bottom:8px}.service-body p{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:0;max-width:460px}.service-arrow{color:var(--blue);font:700 23px var(--font-en)}.statement{height:430px;position:relative;display:flex;align-items:center;color:#fff;overflow:hidden;background:#152b38}.statement-bg,.statement-shade{position:absolute;inset:0}.statement-bg img{width:100%;height:100%;object-fit:cover;filter:sepia(.08) saturate(.9) hue-rotate(165deg) brightness(.78)}.statement-shade{background:linear-gradient(90deg,rgba(10,29,40,.9),rgba(10,29,40,.62))}.statement-content{position:relative}.statement-label{font:800 11px var(--font-en);letter-spacing:.12em;color:#8cdef9}.statement h2{font-size:clamp(32px,5vw,56px);line-height:1.4;margin:24px 0 0}.work-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:end;margin-bottom:55px}.work-heading .section-kicker{margin-bottom:20px}.capability-list{border-top:1px solid var(--line)}.capability{display:grid;grid-template-columns:65px 1.2fr 1fr 25px;gap:20px;align-items:center;padding:24px 14px;border-bottom:1px solid var(--line);transition:background .28s ease,color .28s ease,transform .28s ease,border-color .28s ease;position:relative;isolation:isolate}
.capability::before{content:"";position:absolute;inset:0;background:var(--blue);transform:scaleX(0);transform-origin:right;transition:transform .32s ease;z-index:-1}
.capability:hover{color:#fff;border-color:var(--blue);transform:translateX(-5px)}
.capability:hover::before{transform:scaleX(1)}
.capability:hover>span,.capability:hover p,.capability:hover b{color:#fff}
body[dir="ltr"] .capability::before{transform-origin:left}
body[dir="ltr"] .capability:hover{transform:translateX(5px)}
@media (prefers-reduced-motion:reduce){.capability,.capability::before{transition:none}.capability:hover{transform:none}}.capability>span{font:700 12px var(--font-en);color:var(--blue)}.capability h3{font-size:17px;margin:0}.capability p{font-size:13px;color:var(--muted);margin:0}.capability b{font:700 22px var(--font-en);color:var(--blue)}.quote-cta{background:#20262b;color:#fff;padding-block:100px}.quote-grid{display:grid;grid-template-columns:1fr .8fr;gap:90px;align-items:start}.section-kicker.light{color:#b6c0c7;margin-bottom:22px}.quote-grid h2{font-size:clamp(32px,4vw,48px)}.quote-grid>div>p{color:#c2ccd1;font-size:14px;line-height:2;max-width:500px;margin-top:24px}.quote-form{display:grid;gap:18px}.quote-form label{display:grid;gap:7px;font-size:12px;color:#c8d0d4}.quote-form input,.quote-form select,.quote-form textarea{width:100%;border:1px solid #4b565d;background:#2a3238;color:#fff;padding:12px 13px;outline:none;border-radius:0;min-height:45px}.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{border-color:var(--blue)}.quote-form select option{color:#222}.quote-form textarea{resize:vertical}.submit-btn{justify-content:space-between;margin-top:4px}.quote-form small{font-size:10px;color:#aab6bd;line-height:1.8}.footer{background:#171c20;color:#d4dce0}.footer-top{min-height:145px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid #343c41}.footer-brand{width:290px;filter:brightness(0) invert(1);flex-shrink:0}.footer-brand img{width:100%;height:88px;object-fit:contain;object-position:left center}.footer-top p{font-size:12px;color:#aeb9bf;margin:0}.back-top{font-size:12px;display:flex;gap:14px;align-items:center}.back-top:first-letter{color:var(--blue)}.footer-bottom{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#87949b;font-size:10px}.footer-bottom>span:first-child{font:700 10px var(--font-en)}.footer-note{color:#5e6b72}.toast{position:fixed;bottom:22px;left:22px;background:#fff;color:#222;padding:14px 18px;box-shadow:0 8px 30px #0002;z-index:50;display:none;max-width:min(440px,calc(100% - 44px));font-size:13px}.toast.show{display:block}body[dir="ltr"] .brand img,body[dir="ltr"] .footer-brand img{object-position:left center}body[dir="ltr"] .hero-image{background-image:linear-gradient(90deg,rgba(8,20,28,.68),rgba(8,20,28,.30) 55%,rgba(8,20,28,.08)),url('../images/itqan-hero-press.jpg');background-position:center;background-size:cover;filter:none}body[dir="ltr"] .hero-index{left:auto;right:max(24px,calc((100% - var(--container))/2))}body[dir="ltr"] .service-number{left:auto;right:18px}body[dir="ltr"] .photo-caption{right:0}body[dir="ltr"] .topbar-inner,body[dir="ltr"] .footer-bottom{direction:ltr}
@media(max-width:900px){.main-nav{gap:16px;font-size:12px}.brand{width:190px}.intro-grid,.section-heading{grid-template-columns:1fr 1.5fr;gap:22px}.intro-text,.section-heading>p{grid-column:2}.quote-grid{gap:40px}.service-image{height:230px}.section-pad{padding-block:80px}}
@media(max-width:680px){.container{width:calc(100% - 36px)}.topbar-inner{min-height:32px;font-size:10px}.site-header{height:72px}.brand{width:190px}.brand img{height:64px}.menu-toggle{display:block;order:3}.lang-switch{margin-inline-start:auto}.main-nav{display:none;position:absolute;top:72px;right:0;left:0;background:#fff;padding:18px;box-shadow:0 15px 25px #0001;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:12px;border-bottom:1px solid var(--line);font-size:14px}.hero{min-height:610px}.hero-content{padding-block:85px}.hero h1{font-size:43px}.hero-content>p{font-size:14px}.hero-note{margin-top:40px}.section-pad{padding-block:65px}.intro-grid,.section-heading,.work-heading,.quote-grid{grid-template-columns:1fr;gap:22px}.intro h2,.section-heading h2,.work-heading h2,.quote-grid h2{font-size:34px}.intro-text,.section-heading>p{grid-column:auto}.about-photo{height:280px;margin-top:35px}.service-grid{grid-template-columns:1fr;gap:16px}.service-image{height:230px}.service-body{padding:20px}.service-body h3{font-size:18px}.statement{height:340px}.statement h2{font-size:34px}.work-heading{margin-bottom:30px}.capability{grid-template-columns:34px 1fr 20px;gap:12px;padding:19px 0}.capability h3{font-size:14px}.capability p{grid-column:2;grid-row:2}.capability b{grid-column:3;grid-row:1}.quote-cta{padding-block:65px}.quote-grid{gap:35px}.footer-top{padding-block:25px;align-items:flex-start;flex-wrap:wrap}.footer-brand{width:145px}.footer-top p{width:100%;order:3}.footer-bottom{padding-block:18px;flex-wrap:wrap;justify-content:flex-start}.footer-note{width:100%}}

/* Latest requested typography and logo refinements */
body[dir="rtl"] .brand{margin-inline-start:auto;margin-inline-end:0}
body[dir="ltr"] .brand{margin-inline-end:auto;margin-inline-start:0}
body[dir="rtl"] .brand img,body[dir="rtl"] .footer-brand img{object-position:left center}
.intro-grid{grid-template-columns:1fr;gap:20px}
.intro-grid .section-kicker,.section-heading .section-kicker,.work-heading .section-kicker{font-size:15px}
.intro-copy,.intro-text,.section-heading,.section-heading>p,.work-heading,.work-heading>p{width:100%;max-width:none}
.intro-text{grid-column:auto}
.intro h2,.section-heading h2,.work-heading h2{font-size:clamp(28px,3.2vw,40px);line-height:1.32;max-width:none}
.intro-text p,.section-heading>p,.work-heading>p{width:100%;max-width:none}
.section-heading{grid-template-columns:1fr;gap:18px}
.section-heading>p{grid-column:auto;margin-top:0}
.work-heading{grid-template-columns:1fr;gap:18px}
@media(min-width:901px){
  .intro-grid{grid-template-columns:1fr;gap:20px}
  .section-heading{grid-template-columns:1fr;gap:18px}
  .work-heading{grid-template-columns:1fr;gap:18px}
}
@media(max-width:900px){
  .brand,.footer-brand{width:230px}
  .brand img,.footer-brand img{height:72px}
}
@media(max-width:680px){
  .brand,.footer-brand{width:205px}
  .brand img,.footer-brand img{height:66px}
}

/* Alignment correction: keep OUR CAPABILITIES aligned to the shared page container */
.work-heading.container, .capability-list.container {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin-inline: auto;
}
.work-heading { width: auto; }
.work-heading > div, .work-heading > p { min-width: 0; }
.capability-list { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 680px) {
  .work-heading.container, .capability-list.container, .capability-list { width: calc(100% - 36px); }
}
/* Header logo placement: push it toward the far left while preserving its enlarged size */
body[dir="rtl"] .site-header .nav-wrap .brand {
  order: 5; margin-inline-start: 0; margin-inline-end: auto;
}
body[dir="ltr"] .site-header .nav-wrap .brand {
  order: 0; margin-inline-start: 0; margin-inline-end: auto;
}

/* OUR SERVICES: square-ish cards and full-image visibility */
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.service-image {
  aspect-ratio: 1 / 1;
  height: auto;
  background: #eef2f4;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}
@media (max-width: 680px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-image { aspect-ratio: 1 / 1; height: auto; }
}

/* OUR SERVICES cards: image fills the complete image area, no empty bands around photos */
.service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap:24px; }
.service-image { aspect-ratio: auto; height: auto; background: transparent; overflow: hidden; }
.service-image img { display:block; width:100%; height:auto; object-fit:cover; object-position:center; }
@media(max-width:680px) {
 .service-grid { grid-template-columns:1fr; }
 .service-image { aspect-ratio:auto; height:auto; }
 .service-image img { width:100%; height:auto; }
}

/* Reduce the large gap between the statement banner and OUR SERVICES */
.statement { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.statement + .services-section { margin-top: 0 !important; padding-top: 64px !important; }
@media (max-width: 680px) {
  .statement + .services-section { padding-top: 42px !important; }
}

/* ITQAN PRESS identity and smooth scroll entrance animations */
.brand img,.footer-brand img{object-fit:contain;object-position:left center}
.footer-brand{filter:none!important}
.site-header .brand{width:300px;max-width:38vw}
.site-header .brand img{height:84px}
.footer-brand{width:300px;max-width:60vw}
.footer-brand img{height:90px}
.motion-reveal{opacity:0;transform:translate3d(0,34px,0);transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
.motion-reveal.is-visible{opacity:1;transform:translate3d(0,0,0)}
.motion-reveal.motion-image{transform:translate3d(0,38px,0) scale(.97)}
.motion-reveal.motion-image.is-visible{transform:translate3d(0,0,0) scale(1)}
.service-card{transition:transform .4s ease,box-shadow .4s ease}
.service-card:hover{transform:translateY(-7px);box-shadow:0 18px 38px rgba(15,30,42,.12)}
@media(max-width:680px){.site-header .brand{width:190px;max-width:52vw}.site-header .brand img{height:64px}.footer-brand{width:190px}.footer-brand img{height:66px}}
@media(prefers-reduced-motion:reduce){.motion-reveal,.motion-reveal.motion-image{opacity:1;transform:none;transition:none}.service-card{transition:none}.service-card:hover{transform:none}}

/* ITQAN PRESS footer social icons */
.footer-social{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.footer-social-label{font-size:12px;color:#aeb9bf;margin-inline-end:8px}.social-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #4c5b65;border-radius:50%;color:#e7edf1;transition:color .25s,border-color .25s,transform .25s;background:transparent}.social-icon:hover{color:#1da3db;border-color:#1da3db;transform:translateY(-3px)}.social-icon svg{display:block}.footer-top{gap:22px}@media(max-width:680px){.footer-social{width:100%;order:2}.footer-top p{order:3}}
