
:root{
  --teal:#087f73;--teal-dark:#055e57;--teal-soft:#e8f7f4;--rose:#c93061;
  --rose-dark:#a61f4b;--rose-soft:#fff0f5;--ink:#13222b;--muted:#5d6b73;
  --line:#dce8e5;--white:#fff;--shadow:0 22px 60px rgba(10,72,66,.12);
  --radius:28px;--container:1180px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}body[dir="rtl"]{font-family:"Noto Kufi Arabic",Tahoma,sans-serif}
img{max-width:100%;display:block}a{color:inherit;text-decoration:none}.container{width:min(var(--container),calc(100% - 40px));margin:auto}.narrow{max-width:860px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:18px;top:18px;background:#fff;padding:12px;z-index:999}
.top-strip{background:var(--teal-dark);color:#fff;font-size:.9rem}.top-strip-inner{min-height:42px;display:flex;justify-content:flex-end;gap:30px;align-items:center}.top-strip a{font-weight:700}
.site-header{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(15px);z-index:100;border-bottom:1px solid rgba(8,127,115,.09)}
.navbar{height:96px;display:flex;align-items:center;gap:32px}.brand img{width:138px;max-height:82px;object-fit:contain}.nav-links{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:.92rem;font-weight:700}.nav-links>a:not(.nav-cta){position:relative}.nav-links>a:not(.nav-cta):after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--rose);transition:.25s}.nav-links>a:hover:after{right:0}.nav-cta{background:var(--rose);color:#fff;padding:12px 18px;border-radius:999px;box-shadow:0 10px 24px rgba(201,48,97,.2)}.language-switch{display:flex;background:var(--teal-soft);padding:4px;border-radius:999px}.lang-btn{border:0;background:none;padding:7px 10px;border-radius:999px;cursor:pointer;font-weight:800}.lang-btn.active{background:#fff;color:var(--teal);box-shadow:0 4px 14px rgba(0,0,0,.08)}.menu-toggle{display:none;margin-left:auto;border:0;background:var(--teal-soft);font-size:1.35rem;padding:9px 13px;border-radius:12px}
body[dir="rtl"] .nav-links{margin-left:0;margin-right:auto}body[dir="rtl"] .menu-toggle{margin-left:0;margin-right:auto}
.hero{position:relative;overflow:hidden;min-height:720px;display:flex;align-items:center;background:linear-gradient(125deg,#f8fffd 0%,#fff 52%,#fff3f7 100%)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding:85px 0}.hero-copy h1,.page-hero h1{font-size:clamp(2.7rem,5.4vw,5.3rem);line-height:1.03;letter-spacing:-.055em;margin:16px 0 24px}.hero-copy p,.page-hero p{font-size:1.12rem;color:var(--muted);max-width:720px}.eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:800;color:var(--rose)}.eyebrow:before{content:"";width:28px;height:2px;background:currentColor}.eyebrow.light{color:#fff}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:12px 22px;border-radius:999px;font-weight:800;border:2px solid transparent;cursor:pointer}.btn.primary{background:var(--teal);color:#fff;box-shadow:0 14px 28px rgba(8,127,115,.22)}.btn.primary:hover{background:var(--teal-dark);transform:translateY(-2px)}.btn.secondary{border-color:var(--rose);color:var(--rose);background:#fff}.btn.white{background:#fff;color:var(--teal-dark)}.btn.full{width:100%;border:0}.hero-points{display:flex;gap:12px;flex-wrap:wrap}.hero-points span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 14px;font-size:.84rem;font-weight:700}.hero-visual{position:relative;min-height:500px;display:grid;place-items:center}.logo-stage{position:relative;width:min(430px,88%);aspect-ratio:1/1.08;border-radius:44px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(232,247,244,.92));box-shadow:0 28px 80px rgba(8,94,86,.16);display:grid;place-items:center;padding:58px;border:1px solid rgba(8,127,115,.15);overflow:hidden}.logo-stage:before{content:"";position:absolute;inset:30px;border:1px solid rgba(8,127,115,.16);border-radius:34px}.logo-stage:after{content:"";position:absolute;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(201,48,97,.12),rgba(201,48,97,0) 68%);right:-65px;top:-55px}.logo-stage img{position:relative;z-index:2;width:78%;filter:drop-shadow(0 10px 18px rgba(8,94,86,.08))}.floating-note{position:absolute;z-index:3;background:rgba(255,255,255,.96);padding:16px 19px;border-radius:18px;box-shadow:0 16px 40px rgba(10,72,66,.13);display:flex;flex-direction:column;border:1px solid rgba(8,127,115,.08)}.floating-note strong{color:var(--teal-dark)}.floating-note span{font-size:.82rem;color:var(--muted)}.note-one{left:2px;top:82px}.note-two{right:2px;bottom:58px}.hero-orb{position:absolute;border-radius:50%;filter:blur(1px)}.hero-orb-one{width:260px;height:260px;background:rgba(8,127,115,.08);left:-80px;bottom:-80px}.hero-orb-two{width:200px;height:200px;background:rgba(201,48,97,.08);right:-50px;top:110px}
.section{padding:100px 0}.soft-section{background:linear-gradient(180deg,#f4fbf9,#fff)}.split-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}.split-grid h2,.section-heading h2,.process-copy h2,.cta-inner h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.12;letter-spacing:-.035em;margin:14px 0 0}.split-grid p{font-size:1.08rem;color:var(--muted);margin-top:0}.text-link{display:inline-flex;margin-top:12px;color:var(--teal);font-weight:800}.text-link:after{content:"→";margin-left:8px}.section-heading{max-width:740px;margin-bottom:45px}.section-heading p{color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.feature-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;transition:.25s}.feature-card:hover{transform:translateY(-8px);box-shadow:var(--shadow);border-color:transparent}.feature-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:var(--teal-soft);color:var(--teal);font-size:1.55rem;font-weight:800}.feature-card:nth-child(even) .feature-icon{background:var(--rose-soft);color:var(--rose)}.feature-card h3{font-size:1.2rem;margin:22px 0 10px}.feature-card p{color:var(--muted);font-size:.94rem}.center-action{text-align:center;margin-top:38px}
.process-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:start}.process-copy{position:sticky;top:165px}.process-copy p{color:var(--muted)}.process-steps{display:grid;gap:16px}.process-step{display:grid;grid-template-columns:70px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px}.process-step>span{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:var(--rose-soft);color:var(--rose);font-weight:800}.process-step h3{margin:0 0 5px}.process-step p{margin:0;color:var(--muted)}
.cta-band{background:linear-gradient(125deg,var(--teal-dark),var(--teal));color:#fff}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-inner h2{max-width:750px}
.page-hero{padding:105px 0 85px;background:radial-gradient(circle at 80% 20%,rgba(201,48,97,.1),transparent 30%),linear-gradient(135deg,#f6fffd,#fff)}.page-hero h1{font-size:clamp(2.5rem,5vw,4.8rem)}
.values-grid,.department-grid,.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.value-card,.department-card,.portal-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:#fff;transition:.25s}.value-card:hover,.department-card:hover,.portal-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.value-card>span,.department-card>span,.portal-card>span{display:inline-grid;place-items:center;min-width:52px;height:52px;padding:0 12px;border-radius:16px;background:var(--teal-soft);color:var(--teal);font-weight:800}.value-card h3,.department-card h3,.portal-card h3{margin:20px 0 8px}.value-card p,.department-card p,.portal-card p{color:var(--muted)}
.department-grid{grid-template-columns:repeat(3,1fr)}.portal-grid{grid-template-columns:repeat(2,1fr)}.portal-note{margin-top:24px;background:var(--rose-soft);border-radius:22px;padding:22px;display:flex;gap:10px;flex-direction:column}
.service-search{display:flex;gap:14px;align-items:center;margin-bottom:32px}.service-search input{flex:1;min-height:54px;border:1px solid var(--line);border-radius:999px;padding:0 22px;font:inherit}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.category-card{border:1px solid var(--line);border-radius:24px;padding:26px;background:#fff}.category-card:hover{box-shadow:var(--shadow);border-color:transparent}.category-card h3{color:var(--teal-dark);margin-top:0}.category-card ul{padding-left:20px;color:var(--muted);font-size:.9rem;max-height:280px;overflow:auto}.category-card .mini-link{font-weight:800;color:var(--rose)}
body[dir="rtl"] .category-card ul{padding-left:0;padding-right:20px}
.career-layout,.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:start}.career-panel{background:linear-gradient(145deg,var(--teal-dark),var(--teal));color:#fff;border-radius:34px;padding:40px}.career-panel h2{margin-top:0;font-size:2rem}.career-panel li{margin:13px 0}.form-card{border:1px solid var(--line);border-radius:32px;padding:34px;box-shadow:var(--shadow);background:#fff}.form-card h2{margin-top:0}.form-card label{display:grid;gap:8px;margin-bottom:17px;font-weight:700}.form-card input,.form-card select,.form-card textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:14px;padding:13px 15px;background:#fbfdfd}.form-card input:focus,.form-card select:focus,.form-card textarea:focus{outline:2px solid rgba(8,127,115,.25);border-color:var(--teal)}.contact-details{display:grid;gap:18px}.contact-detail{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:22px;border:1px solid var(--line);border-radius:22px}.contact-detail>span{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:var(--teal-soft);color:var(--teal);font-weight:800}.contact-detail h3,.contact-detail p{margin:0}.contact-detail a{color:var(--rose);font-weight:800}
.site-footer{background:#092e2b;color:#d9efeb;padding:75px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr;gap:70px}.footer-grid>div{display:flex;flex-direction:column;gap:10px}.footer-brand img{width:180px;background:#fff;border-radius:22px;padding:10px}.footer-brand p{max-width:440px;color:#b7d1cc}.footer-grid h3{color:#fff;margin-top:0}.footer-grid a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:45px;padding-top:20px;color:#9fc0ba;font-size:.88rem}
.whatsapp-float{position:fixed;right:24px;bottom:24px;width:62px;height:62px;z-index:120;filter:drop-shadow(0 12px 16px rgba(0,0,0,.22));transition:.2s}.whatsapp-float:hover{transform:translateY(-4px) scale(1.04)}body[dir="rtl"] .whatsapp-float{right:auto;left:24px}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:1050px){.intro-section .split-grid>div:last-child,body[dir="rtl"] .intro-section .split-grid>div:last-child{padding-top:0}.navbar{height:auto;min-height:88px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;left:20px;right:20px;top:128px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-links .nav-cta{text-align:center}.language-switch{justify-content:center}.hero-grid,.split-grid,.process-layout,.career-layout,.contact-layout{grid-template-columns:1fr}.process-copy{position:static}.feature-grid{grid-template-columns:repeat(2,1fr)}.category-grid,.department-grid{grid-template-columns:repeat(2,1fr)}.hero-visual{min-height:430px}.logo-stage{width:min(410px,86%);padding:48px}.note-one{left:4px}.note-two{right:4px}.top-strip-inner{justify-content:center}.nav-links{margin:0}}
@media(max-width:680px){.container{width:min(100% - 28px,var(--container))}.top-strip-inner{gap:9px;font-size:.72rem;flex-wrap:wrap;padding:8px 0}.navbar{min-height:82px}.brand img{width:112px}.nav-links{top:120px}.hero{min-height:auto}.hero-grid{padding:62px 0;gap:35px}.hero-copy h1,.page-hero h1{font-size:2.65rem}.hero-copy p,.page-hero p{font-size:1rem}.hero-visual{min-height:350px}.logo-stage{width:min(330px,86%);padding:38px;border-radius:30px}.logo-stage:before{inset:22px;border-radius:23px}.floating-note{padding:11px 13px;font-size:.79rem}.floating-note{padding:12px;font-size:.82rem}.note-one{left:0;top:22px}.note-two{right:0;bottom:22px}.section{padding:72px 0}.feature-grid,.values-grid,.department-grid,.portal-grid,.category-grid{grid-template-columns:1fr}.service-search,.cta-inner{flex-direction:column;align-items:stretch}.cta-inner{text-align:center}.footer-grid{grid-template-columns:1fr;gap:32px}.footer-brand img{width:145px}.whatsapp-float{width:55px;height:55px;right:16px;bottom:16px}body[dir="rtl"] .whatsapp-float{left:16px}.form-card{padding:24px}.hero-points{gap:8px}.hero-points span{font-size:.76rem}.category-card ul{max-height:none}.page-hero{padding:75px 0 60px}}

/* Production alignment and spacing refinements */
.intro-section .split-grid{align-items:start}
.intro-section .split-grid>div:last-child{padding-top:54px}
.feature-grid{align-items:stretch}
.feature-card{height:100%;display:flex;flex-direction:column}
.feature-card p{margin-bottom:0}
.department-grid,.values-grid,.portal-grid{align-items:stretch}
.department-card,.value-card,.portal-card{height:100%}
.navbar{padding-top:4px;padding-bottom:4px}
.brand img{transform:translateY(1px)}
body[dir="rtl"] .hero-copy h1,
body[dir="rtl"] .page-hero h1,
body[dir="rtl"] .split-grid h2,
body[dir="rtl"] .section-heading h2,
body[dir="rtl"] .process-copy h2,
body[dir="rtl"] .cta-inner h2{letter-spacing:0;line-height:1.35}
body[dir="rtl"] .hero-copy p,
body[dir="rtl"] .page-hero p,
body[dir="rtl"] .split-grid p{line-height:1.95;font-size:1.02rem}
body[dir="rtl"] .eyebrow{letter-spacing:0;font-size:.73rem}
body[dir="rtl"] .text-link:after{content:"←";margin-left:0;margin-right:8px}
body[dir="rtl"] .intro-section .split-grid>div:last-child{padding-top:50px}

/* Final hero alignment and visual balance */
.hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(520px,.95fr);
  gap:72px;
  align-items:center;
}
.hero-copy{
  align-self:center;
}
.hero-copy h1{
  max-width:760px;
}
.hero-visual{
  min-height:590px;
  align-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-stage{
  width:min(540px,96%);
  aspect-ratio:1/1.02;
  padding:66px;
  border-radius:52px;
  box-shadow:0 34px 90px rgba(8,94,86,.18);
  transform:translateY(0);
}
.logo-stage:before{
  inset:34px;
  border-radius:40px;
}
.logo-stage img{
  width:84%;
}
.note-one{
  left:-10px;
  top:92px;
}
.note-two{
  right:-10px;
  bottom:72px;
}
.floating-note{
  min-width:168px;
  padding:18px 20px;
}
.hero-points{
  max-width:760px;
}
@media(max-width:1180px){
  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);
    gap:48px;
  }
  .hero-visual{min-height:520px}
  .logo-stage{width:min(470px,94%);padding:56px}
}
@media(max-width:1050px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-copy{text-align:center}
  .hero-copy h1,.hero-copy p,.hero-points{margin-left:auto;margin-right:auto}
  .hero-actions,.hero-points{justify-content:center}
  .hero-visual{min-height:470px}
  .logo-stage{width:min(470px,88%)}
  .note-one{left:4%}
  .note-two{right:4%}
}
@media(max-width:680px){
  .hero-copy{text-align:start}
  body[dir="rtl"] .hero-copy{text-align:right}
  .hero-actions,.hero-points{justify-content:flex-start}
  body[dir="rtl"] .hero-actions,
  body[dir="rtl"] .hero-points{justify-content:flex-start}
  .hero-visual{min-height:380px}
  .logo-stage{
    width:min(350px,88%);
    padding:40px;
    border-radius:34px;
  }
  .logo-stage:before{inset:24px;border-radius:26px}
  .floating-note{min-width:0;padding:12px 14px}
  .note-one{left:0;top:38px}
  .note-two{right:0;bottom:34px}
}

/* Comprehensive site-wide alignment pass */

/* Shared two-column section alignment */
.split-grid{
  align-items:start;
}
.split-grid > div{
  min-width:0;
}
.split-grid > div:last-child{
  padding-top:54px;
}
.intro-section .split-grid > div:last-child,
body[dir="rtl"] .intro-section .split-grid > div:last-child{
  padding-top:54px;
}

/* Normalize headings and text blocks */
.split-grid h2,
.section-heading h2,
.process-copy h2,
.career-panel h2,
.form-card h2{
  text-wrap:balance;
}
.split-grid > div:last-child > :first-child{
  margin-top:0;
}
.split-grid > div:last-child p:first-child{
  margin-top:0;
}
.split-grid > div:last-child p:last-of-type{
  margin-bottom:0;
}
.section-heading{
  margin-left:auto;
  margin-right:auto;
}
.section-heading:not(.left-aligned){
  text-align:center;
}
.section-heading .eyebrow{
  justify-content:center;
}

/* Keep multi-column layouts visually level */
.feature-grid,
.values-grid,
.department-grid,
.portal-grid,
.category-grid{
  align-items:stretch;
}
.feature-card,
.value-card,
.department-card,
.portal-card,
.category-card{
  height:100%;
}
.feature-card,
.value-card,
.department-card,
.portal-card{
  display:flex;
  flex-direction:column;
}
.feature-card p,
.value-card p,
.department-card p,
.portal-card p{
  margin-bottom:0;
}
.portal-card p,
.department-card p,
.value-card p{
  flex:1;
}

/* Process, contact, and career sections */
.process-layout,
.career-layout,
.contact-layout{
  align-items:start;
}
.process-steps{
  align-content:start;
}
.process-step{
  align-items:center;
}
.contact-details,
.form-card,
.career-panel{
  align-self:start;
}
.contact-detail{
  align-items:center;
}
.form-card h2,
.career-panel h2{
  margin-top:0;
}

/* Footer columns start evenly */
.footer-grid{
  align-items:start;
}
.footer-grid > div{
  align-self:start;
}

/* Consistent top spacing in page sections */
.page-hero .narrow > :first-child{
  margin-top:0;
}
.page-hero .narrow > :last-child{
  margin-bottom:0;
}
.section > .container > :first-child{
  margin-top:0;
}

/* Arabic typography and alignment */
body[dir="rtl"] .split-grid > div:last-child{
  padding-top:50px;
}
body[dir="rtl"] .split-grid h2,
body[dir="rtl"] .section-heading h2,
body[dir="rtl"] .process-copy h2,
body[dir="rtl"] .career-panel h2,
body[dir="rtl"] .form-card h2{
  line-height:1.42;
}
body[dir="rtl"] .feature-card,
body[dir="rtl"] .value-card,
body[dir="rtl"] .department-card,
body[dir="rtl"] .portal-card,
body[dir="rtl"] .category-card{
  text-align:right;
}

/* Tablet and mobile: stacked columns should not retain desktop offsets */
@media(max-width:1050px){
  .split-grid > div:last-child,
  .intro-section .split-grid > div:last-child,
  body[dir="rtl"] .split-grid > div:last-child,
  body[dir="rtl"] .intro-section .split-grid > div:last-child{
    padding-top:0;
  }
  .section-heading{
    text-align:left;
    margin-left:0;
    margin-right:0;
  }
  body[dir="rtl"] .section-heading{
    text-align:right;
  }
  .section-heading .eyebrow{
    justify-content:flex-start;
  }
  body[dir="rtl"] .section-heading .eyebrow{
    justify-content:flex-start;
  }
}

@media(max-width:680px){
  .split-grid,
  .process-layout,
  .career-layout,
  .contact-layout{
    gap:34px;
  }
  .section-heading{
    margin-bottom:30px;
  }
  .feature-card,
  .value-card,
  .department-card,
  .portal-card,
  .category-card{
    min-height:0;
  }
}

/* End comprehensive alignment pass */

/* Final proportional typography and layout pass */

/* Overall desktop balance */
:root{
  --container:1120px;
}
.navbar{
  gap:26px;
}
.nav-links{
  gap:18px;
  font-size:.88rem;
}
.brand img{
  width:124px;
  max-height:74px;
}

/* Homepage hero proportions */
.hero{
  min-height:660px;
}
.hero-grid{
  grid-template-columns:minmax(0,1.03fr) minmax(440px,.97fr);
  gap:58px;
  padding:68px 0 74px;
}
.hero-copy h1{
  font-size:clamp(2.65rem,4.25vw,4.35rem);
  line-height:1.04;
  letter-spacing:-.047em;
  max-width:650px;
  margin:14px 0 20px;
}
.hero-copy p{
  max-width:640px;
  font-size:1rem;
  line-height:1.75;
}
.hero-actions{
  margin:24px 0 22px;
}
.hero-points span{
  padding:8px 12px;
  font-size:.78rem;
}
.hero-visual{
  min-height:500px;
}
.logo-stage{
  width:min(470px,94%);
  padding:56px;
  border-radius:44px;
}
.logo-stage:before{
  inset:30px;
  border-radius:34px;
}
.logo-stage img{
  width:80%;
}
.floating-note{
  min-width:152px;
  padding:15px 17px;
}
.note-one{
  left:-4px;
  top:76px;
}
.note-two{
  right:-4px;
  bottom:58px;
}

/* Site-wide heading scale */
.page-hero{
  padding:88px 0 72px;
}
.page-hero h1{
  font-size:clamp(2.35rem,4.25vw,4.1rem);
  line-height:1.08;
  max-width:820px;
}
.split-grid h2,
.section-heading h2,
.process-copy h2,
.cta-inner h2{
  font-size:clamp(1.85rem,3.2vw,3rem);
  line-height:1.16;
}
.section{
  padding:84px 0;
}
.split-grid{
  gap:66px;
}
.process-layout{
  gap:66px;
}
.feature-card,
.value-card,
.department-card,
.portal-card,
.category-card{
  padding:26px;
}
.feature-card h3,
.value-card h3,
.department-card h3,
.portal-card h3{
  font-size:1.08rem;
}
.feature-card p,
.value-card p,
.department-card p,
.portal-card p,
.category-card,
.category-card ul{
  font-size:.9rem;
}
.process-step{
  padding:21px;
}
.form-card{
  padding:30px;
}

/* Keep paired content visually equal */
.split-grid > div:first-child,
.split-grid > div:last-child{
  align-self:start;
}
.split-grid > div:last-child{
  padding-top:46px;
}
.intro-section .split-grid > div:last-child,
body[dir="rtl"] .intro-section .split-grid > div:last-child{
  padding-top:46px;
}

/* Arabic proportional tuning */
body[dir="rtl"] .hero-copy h1{
  font-size:clamp(2.35rem,3.85vw,3.8rem);
  line-height:1.34;
}
body[dir="rtl"] .page-hero h1{
  font-size:clamp(2.2rem,3.8vw,3.7rem);
  line-height:1.38;
}
body[dir="rtl"] .split-grid h2,
body[dir="rtl"] .section-heading h2,
body[dir="rtl"] .process-copy h2,
body[dir="rtl"] .cta-inner h2{
  font-size:clamp(1.75rem,2.9vw,2.75rem);
  line-height:1.45;
}
body[dir="rtl"] .split-grid > div:last-child,
body[dir="rtl"] .intro-section .split-grid > div:last-child{
  padding-top:42px;
}

/* Medium screens */
@media(max-width:1180px){
  :root{--container:1040px}
  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(400px,.92fr);
    gap:44px;
  }
  .hero-copy h1{
    font-size:clamp(2.5rem,4vw,3.85rem);
  }
  .logo-stage{
    width:min(430px,92%);
    padding:50px;
  }
}

/* Tablet layout */
@media(max-width:1050px){
  .hero{
    min-height:auto;
  }
  .hero-grid{
    grid-template-columns:1fr;
    gap:26px;
    padding:56px 0 64px;
  }
  .hero-copy{
    max-width:760px;
    margin:auto;
    text-align:center;
  }
  .hero-copy h1,
  .hero-copy p{
    margin-left:auto;
    margin-right:auto;
  }
  .hero-visual{
    min-height:430px;
  }
  .logo-stage{
    width:min(430px,86%);
  }
  .split-grid > div:last-child,
  .intro-section .split-grid > div:last-child,
  body[dir="rtl"] .split-grid > div:last-child,
  body[dir="rtl"] .intro-section .split-grid > div:last-child{
    padding-top:0;
  }
  .section{
    padding:72px 0;
  }
}

/* Mobile layout */
@media(max-width:680px){
  .hero-grid{
    padding:44px 0 52px;
  }
  .hero-copy{
    text-align:start;
  }
  .hero-copy h1{
    font-size:2.45rem;
    line-height:1.08;
  }
  .hero-copy p{
    font-size:.96rem;
  }
  body[dir="rtl"] .hero-copy h1{
    font-size:2.22rem;
    line-height:1.42;
  }
  .hero-visual{
    min-height:340px;
  }
  .logo-stage{
    width:min(320px,86%);
    padding:36px;
    border-radius:30px;
  }
  .logo-stage:before{
    inset:22px;
    border-radius:22px;
  }
  .floating-note{
    padding:10px 12px;
    font-size:.76rem;
  }
  .note-one{
    top:34px;
    left:0;
  }
  .note-two{
    bottom:28px;
    right:0;
  }
  .page-hero{
    padding:66px 0 54px;
  }
  .page-hero h1{
    font-size:2.35rem;
  }
  .section{
    padding:62px 0;
  }
  .split-grid,
  .process-layout,
  .career-layout,
  .contact-layout{
    gap:30px;
  }
}

/* End final proportional typography and layout pass */


/* Final Arabic footer alignment */
body[dir="rtl"] .footer-grid > div:last-child{
  text-align:right;
  align-items:flex-start;
}
body[dir="rtl"] .footer-grid > div:last-child h3,
body[dir="rtl"] .footer-grid > div:last-child a,
body[dir="rtl"] .footer-grid > div:last-child span{
  width:100%;
  text-align:right;
}
body[dir="rtl"] .footer-grid > div:last-child a[dir="ltr"]{
  direction:ltr;
  unicode-bidi:isolate;
  text-align:right;
}
/* End final Arabic footer alignment */

/* Final Arabic homepage About-section alignment */
body[dir="rtl"] .intro-section .split-grid{
  align-items:start;
}
body[dir="rtl"] .intro-section .split-grid > div:first-child{
  padding-top:0;
}
body[dir="rtl"] .intro-section .split-grid > div:last-child{
  padding-top:18px;
}
/* End final Arabic homepage About-section alignment */


/* Final header balance adjustment */
.navbar{
  display:flex;
  align-items:center;
}
.nav-links{
  margin-left:32px;
  margin-right:auto;
}
body[dir="rtl"] .nav-links{
  margin-right:32px;
  margin-left:auto;
}
/* End final header balance adjustment */


/* Final navigation, careers, and social-media integration */
@media(min-width:1051px){
  .navbar{
    display:grid;
    grid-template-columns:148px minmax(0,1fr);
    column-gap:28px;
    align-items:center;
    min-height:96px;
    height:auto;
    padding-top:4px;
    padding-bottom:4px;
  }
  .brand{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    height:88px;
  }
  .brand img{
    transform:none;
    margin:0;
  }
  .nav-links,
  body[dir="rtl"] .nav-links{
    width:100%;
    margin:0;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:clamp(12px,1.35vw,22px);
    line-height:1;
  }
  .nav-links > a{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    white-space:nowrap;
  }
  .language-switch{
    flex:0 0 auto;
    align-items:center;
  }
}
.form-note{
  margin:-4px 0 22px;
  color:var(--muted);
  font-size:.92rem;
  font-weight:500;
}
.social-links{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.social-link{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.2);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.06);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.social-link:hover{
  transform:translateY(-3px);
  background:var(--rose);
  border-color:var(--rose);
}
.social-link svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.social-link:nth-child(2) svg{
  fill:currentColor;
  stroke:none;
}
body[dir="rtl"] .social-links{
  justify-content:flex-start;
}
@media(max-width:1050px){
  .social-links{justify-content:flex-start}
}
/* End final navigation, careers, and social-media integration */

/* Header layout correction: navigation beside logo and social icons in top bar */
.top-strip-inner{
  justify-content:flex-start;
  gap:24px;
}
.top-social{
  display:flex;
  align-items:center;
  gap:9px;
  margin-right:8px;
}
.top-social a{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.07);
  transition:background .2s ease,transform .2s ease;
}
.top-social a:hover{
  background:var(--rose);
  transform:translateY(-2px);
}
.top-social svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.top-social a:nth-child(2) svg{
  fill:currentColor;
  stroke:none;
}
@media(min-width:1051px){
  .navbar{
    grid-template-columns:132px minmax(0,1fr);
    column-gap:14px;
  }
  .nav-links,
  body[dir="rtl"] .nav-links{
    justify-content:flex-start;
    gap:clamp(10px,1.05vw,17px);
    font-size:.84rem;
  }
  .nav-cta{
    margin-left:auto;
  }
  body[dir="rtl"] .nav-cta{
    margin-left:0;
    margin-right:auto;
  }
}
body[dir="rtl"] .top-strip-inner{
  justify-content:flex-start;
}
body[dir="rtl"] .top-social{
  margin-right:0;
  margin-left:8px;
}
@media(max-width:1050px){
  .top-strip-inner{
    justify-content:center;
  }
}
@media(max-width:680px){
  .top-social{
    width:100%;
    justify-content:center;
    margin:0;
  }
}
/* End header layout correction */

/* Definitive homepage About alignment, July 2026 */
@media (min-width:1051px){
  body:not([dir="rtl"]) .intro-section .split-grid > div:last-child{
    padding-top:58px !important;
  }
  body[dir="rtl"] .intro-section .split-grid > div:last-child{
    padding-top:24px !important;
  }
}
@media (max-width:1050px){
  body:not([dir="rtl"]) .intro-section .split-grid > div:last-child,
  body[dir="rtl"] .intro-section .split-grid > div:last-child{
    padding-top:0 !important;
  }
}
/* End definitive homepage About alignment */
