
:root{--navy:#082b62;--navy2:#0e417f;--gold:#ffb400;--light:#f5f8fc;--text:#18314f;--muted:#61728a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}header{background:#fff;border-bottom:1px solid #e7edf5;position:sticky;top:0;z-index:10}.nav{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--navy)}.brand-mark{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--navy),var(--navy2));display:grid;place-items:center;color:var(--gold);font-size:22px;font-weight:900}nav ul{list-style:none;display:flex;gap:28px;padding:0;margin:0}nav a{font-weight:700;color:#203a5f}nav a:hover{color:var(--gold)}.cta{display:inline-block;background:var(--gold);color:#092a5c;padding:12px 20px;border-radius:10px;font-weight:800}.hero{background:radial-gradient(circle at 80% 20%,rgba(255,180,0,.16),transparent 22%),linear-gradient(135deg,#f8fbff,#eef5ff);padding:76px 0}.hero-grid,.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}.eyebrow{font-weight:800;color:var(--gold);letter-spacing:.08em;text-transform:uppercase}h1{font-size:clamp(42px,6vw,70px);line-height:1.05;margin:12px 0;color:var(--navy)}h2{font-size:38px;line-height:1.15;color:var(--navy);margin:0 0 18px}h3{color:var(--navy);margin-top:0}.lead{font-size:20px;color:var(--muted)}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.btn-outline{display:inline-block;border:2px solid var(--navy);padding:10px 18px;border-radius:10px;font-weight:800;color:var(--navy)}.hero-card,.card,.service-card{background:#fff;border:1px solid #e3eaf3;border-radius:20px;padding:22px;box-shadow:0 8px 26px rgba(13,48,94,.06)}.hero-card img{width:100%;border-radius:14px;display:block}.section{padding:72px 0}.light{background:var(--light)}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.icon{width:52px;height:52px;border-radius:14px;background:#eaf2ff;display:grid;place-items:center;font-size:24px;margin-bottom:16px}.service-card p{margin:0;color:var(--muted)}.profile{width:100%;max-width:440px;border-radius:24px;box-shadow:0 18px 45px rgba(8,43,98,.18)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.stat{background:#fff;border:1px solid #e6edf6;border-radius:14px;padding:18px;text-align:center}.stat strong{display:block;font-size:28px;color:var(--navy)}.page-hero{background:linear-gradient(135deg,#eef5ff,#fff7dc);padding:68px 0 52px}.page-hero h1{font-size:54px}.contact-box{background:linear-gradient(135deg,var(--navy),#0a3c79);color:#fff;border-radius:24px;padding:38px}.contact-box h2{color:#fff}.form{display:grid;gap:14px}.form input,.form textarea{width:100%;padding:14px 15px;border:1px solid #d8e1ed;border-radius:10px;font:inherit}.form textarea{min-height:140px}.form button{background:var(--gold);color:#092a5c;border:0;padding:14px 20px;border-radius:10px;font-weight:800;cursor:pointer}.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.badge{background:#fff;border:1px solid #e2e9f2;border-radius:999px;padding:8px 12px;font-size:14px;font-weight:700}footer{background:#061f48;color:#dfe9f7;padding:28px 0}footer .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}@media(max-width:900px){.hero-grid,.grid-2{grid-template-columns:1fr}.grid-3,.service-grid{grid-template-columns:1fr 1fr}nav ul{gap:14px;font-size:14px}}@media(max-width:650px){.nav{flex-wrap:wrap;padding:12px 0}nav{width:100%;overflow:auto}nav ul{min-width:max-content}.grid-3,.service-grid,.stats{grid-template-columns:1fr}.page-hero h1{font-size:42px}}

.float-contact{position:fixed;right:20px;bottom:20px;z-index:999;display:flex;flex-direction:column;gap:10px}.float-contact a{padding:12px 16px;border-radius:999px;font-weight:800;box-shadow:0 6px 20px rgba(0,0,0,.18)}.wa{background:#25D366;color:#fff}.mail{background:#082b62;color:#fff}@media(max-width:650px){.float-contact a{font-size:13px;padding:10px 13px}}

.hero-photo-card{padding:14px;max-width:480px;justify-self:end}.hero-photo-card img{width:100%;height:auto;max-height:620px;object-fit:cover;object-position:center top;border-radius:16px}@media(max-width:900px){.hero-photo-card{justify-self:center;max-width:520px}}


/* Professional brand/logo and expanded home services */
.brand-logo-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:210px;
}
.brand-logo-img{
  width:62px;
  height:52px;
  object-fit:contain;
  background:#fff;
  border-radius:10px;
}
.brand-logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-logo-text strong{
  font-size:20px;
  color:#082b62;
}
.brand-logo-text span{
  font-size:12px;
  color:#61728a;
}
.home-services-intro{
  max-width:800px;
  margin:0 auto 34px;
  text-align:center;
}
.home-services-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.home-service-card{
  position:relative;
  background:#fff;
  border:1px solid #e3eaf3;
  border-radius:18px;
  padding:24px 22px;
  box-shadow:0 8px 26px rgba(13,48,94,.06);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow:hidden;
}
.home-service-card:before{
  content:"";
  position:absolute;
  left:0;top:0;
  width:100%;height:4px;
  background:linear-gradient(90deg,#082b62,#ffb400);
}
.home-service-card:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 34px rgba(13,48,94,.12);
  border-color:#cbd8e8;
}
.home-service-icon{
  width:54px;
  height:54px;
  border-radius:15px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  font-size:25px;
  background:#eef5ff;
}
.home-service-card h3{
  margin:0 0 9px;
  font-size:18px;
  color:#082b62;
}
.home-service-card p{
  margin:0;
  color:#61728a;
  font-size:14px;
}
.services-cta-wrap{
  text-align:center;
  margin-top:34px;
}
@media(max-width:1050px){
  .home-services-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
  .home-services-grid{grid-template-columns:repeat(2,1fr)}
  .brand-logo-text{display:none}
  .brand-logo-wrap{min-width:auto}
}
@media(max-width:520px){
  .home-services-grid{grid-template-columns:1fr}
  .brand-logo-img{width:54px;height:46px}
}


/* --- FIX: logo sizing and content visibility --- */
header, .nav, .container, main, section, footer {
  position: relative;
  z-index: auto;
}
body {
  overflow-x: hidden;
}
.brand-logo-wrap,
.brand {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:auto !important;
  max-width:260px !important;
  min-width:0 !important;
  height:auto !important;
  overflow:visible !important;
}
.brand-logo-img,
.brand img {
  width:56px !important;
  height:46px !important;
  max-width:56px !important;
  max-height:46px !important;
  object-fit:contain !important;
  display:block !important;
  position:static !important;
}
.brand-logo-text {
  display:flex !important;
  flex-direction:column !important;
}
.hero,
.section,
.page-hero,
footer {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}
.hero .container,
.section .container,
.page-hero .container {
  display:block;
}
.hero-grid {
  display:grid !important;
  grid-template-columns:1.1fr .9fr !important;
  gap:40px !important;
  align-items:center !important;
}
.hero-card img,
.profile {
  max-width:100% !important;
  height:auto !important;
}
.home-services-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr !important;}
  .home-services-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:560px){
  .brand-logo-img,.brand img{
    width:48px !important;height:40px !important;
    max-width:48px !important;max-height:40px !important;
  }
  .brand-logo-text{display:none !important;}
  .home-services-grid{grid-template-columns:1fr !important;}
}

/* Exact header logo dimensions */
.brand-logo-wrap, a.brand.brand-logo-wrap {
  width: 322px !important;
  max-width: 322px !important;
  height: 100px !important;
  min-width: 322px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.brand-logo-img, .brand-logo-wrap img, a.brand img {
  width: 322px !important;
  height: 100px !important;
  max-width: 322px !important;
  max-height: 100px !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
}
.brand-logo-text { display: none !important; }
header .nav { min-height: 110px !important; }
@media(max-width:650px){
  .brand-logo-wrap, a.brand.brand-logo-wrap {
    width: 190px !important; min-width:190px !important; height:59px !important;
  }
  .brand-logo-img, .brand-logo-wrap img, a.brand img {
    width:190px !important; height:59px !important; max-width:190px !important; max-height:59px !important;
  }
  header .nav { min-height:72px !important; }
}


/* Language switcher */
.lang-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:10px;
}
.lang-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:54px;
  height:34px;
  padding:0 9px;
  border:1px solid #d8e1ed;
  border-radius:999px;
  background:#fff;
  color:#082b62;
  font-weight:800;
  font-size:12px;
  box-shadow:0 3px 10px rgba(8,43,98,.06);
}
.lang-btn:hover,
.lang-btn.active{
  background:#082b62;
  color:#fff;
  border-color:#082b62;
}
.lang-flag{
  font-size:17px;
  line-height:1;
}

/* Arabic layout */
html[dir="rtl"] body{
  direction:rtl;
  text-align:right;
}
html[dir="rtl"] .nav{
  flex-direction:row-reverse;
}
html[dir="rtl"] nav ul{
  flex-direction:row-reverse;
}
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .grid-2{
  direction:rtl;
}
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .badges,
html[dir="rtl"] .lang-switcher{
  flex-direction:row-reverse;
}
html[dir="rtl"] .checks{
  padding-right:20px;
  padding-left:0;
}
html[dir="rtl"] .home-services-intro{
  text-align:center;
}
html[dir="rtl"] .form input,
html[dir="rtl"] .form textarea{
  text-align:right;
}
@media(max-width:900px){
  .lang-switcher{margin-left:0}
}


/* FINAL LOGO SIZE FIX - English + Arabic */
.brand-logo-wrap,
.brand{
  width:322px !important;
  max-width:322px !important;
  height:100px !important;
  max-height:100px !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  flex:0 0 322px !important;
}
.brand-logo-img,
.brand img{
  width:322px !important;
  max-width:322px !important;
  height:100px !important;
  max-height:100px !important;
  object-fit:contain !important;
  position:static !important;
  display:block !important;
}
html[dir="rtl"] .brand,
html[dir="rtl"] .brand-logo-wrap{
  width:322px !important;
  max-width:322px !important;
  height:100px !important;
  max-height:100px !important;
}
html[dir="rtl"] .brand img,
html[dir="rtl"] .brand-logo-img{
  width:322px !important;
  max-width:322px !important;
  height:100px !important;
  max-height:100px !important;
}
@media(max-width:700px){
  .brand-logo-wrap,.brand{
    width:190px !important;
    max-width:190px !important;
    height:59px !important;
    max-height:59px !important;
    flex-basis:190px !important;
  }
  .brand-logo-img,.brand img,
  html[dir="rtl"] .brand img,
  html[dir="rtl"] .brand-logo-img{
    width:190px !important;
    max-width:190px !important;
    height:59px !important;
    max-height:59px !important;
  }
}


/* Arabic layout parity with English */
html[dir="rtl"] body{
  direction:rtl;
  text-align:right;
}
html[dir="rtl"] .nav{
  direction:rtl;
}
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .grid-2,
html[dir="rtl"] .grid-3,
html[dir="rtl"] .home-services-grid,
html[dir="rtl"] .service-grid{
  direction:rtl;
}
html[dir="rtl"] .hero-grid{
  grid-template-columns:1.15fr .85fr !important;
}
html[dir="rtl"] .hero-card img,
html[dir="rtl"] .profile{
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  display:block !important;
  object-fit:cover;
}
html[dir="rtl"] .home-services-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:20px !important;
}
html[dir="rtl"] .home-service-card{
  text-align:right;
}
html[dir="rtl"] .home-services-intro{
  text-align:center;
}
html[dir="rtl"] .form input,
html[dir="rtl"] .form textarea{
  text-align:right;
}
html[dir="rtl"] .checks{
  padding-right:20px;
  padding-left:0;
}
@media(max-width:1050px){
  html[dir="rtl"] .home-services-grid{grid-template-columns:repeat(3,1fr) !important;}
}
@media(max-width:900px){
  html[dir="rtl"] .hero-grid,
  html[dir="rtl"] .grid-2{grid-template-columns:1fr !important;}
  html[dir="rtl"] .home-services-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media(max-width:560px){
  html[dir="rtl"] .home-services-grid{grid-template-columns:1fr !important;}
}
