:root{
  /* ✅ Professional palette (Navy + Gold) */
  --bg:#ffffff;
  --alt:#f7f9fc;
  --ink:#0e1a24;
  --muted:#5a6a7a;

  --brand:#082a40;      /* deep navy */
  --brand2:#0d4b73;     /* blue accent */
  --accent:#b59a5a;     /* elegant gold */
  --accent2:#d2b673;    /* lighter gold */

  --line:#e6edf5;
  --shadow: 0 14px 34px rgba(8, 42, 64, .14);
  --shadow2: 0 10px 24px rgba(14, 26, 36, .10);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--bg);
}
a{color:var(--brand2);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

/* =========================
   Topbar
   ========================= */
.topbar{
  background: linear-gradient(90deg, var(--brand), #061d2d);
  color:#dbe7f0;
  font-size:14px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}
.topbar-left{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.topbar a{color:#dbe7f0}
.dot{opacity:.6}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#eaf2f7;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.pill:hover{
  text-decoration:none;
  transform: translateY(-1px);
  filter:brightness(1.06);
}

/* ✅ Language toggle button */
.lang-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease;
}
.lang-toggle:hover{
  transform: translateY(-1px);
  filter:brightness(1.06);
}

/* =========================
   Hero
   ========================= */
.hero{
  min-height:78vh;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.76)),
    url("../img/hero.jpg") center/cover no-repeat;
  border-bottom:1px solid var(--line);
}

/* =========================
   Sticky nav
   ========================= */
.nav{
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
  z-index:50;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

/* Company logo image in navbar */
.brand-logo{
  height: 40px;
  width: auto;
  display:block;
}

/* (Old fallback styles - harmless if still used) */
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;height:42px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  letter-spacing:.5px;
}
.brand-name{color:var(--brand)}

.nav-links{
  display:flex;
  gap:16px;
  align-items:center;
}
.nav-links a{
  color:var(--ink);
  font-weight:700;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{
  text-decoration:none;
  background: rgba(13, 75, 115, .08);
  color: var(--brand2);
}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
}

/* =========================
   Hero content
   ========================= */
.hero-content{
  padding:56px 0 48px;
  display:flex;
  justify-content:flex-start;
}

.hero-card{
  max-width:760px;
  background: rgba(255,255,255,.90);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

/* subtle gold glow */
.hero-card::before{
  content:"";
  position:absolute;
  inset:-60px -120px auto auto;
  width:240px;height:240px;
  background: radial-gradient(circle at 30% 30%, rgba(181,154,90,.35), rgba(181,154,90,0));
  transform: rotate(18deg);
  pointer-events:none;
}

.kicker{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  color: var(--brand);
  background: rgba(181,154,90,.12);
  border: 1px solid rgba(181,154,90,.25);
  padding:8px 10px;
  border-radius:999px;
  margin-bottom:14px;
}

.hero-card h1{
  margin:0 0 12px;
  font-size:44px;
  line-height:1.1;
  color: var(--brand);
}
.lead{
  margin:0 0 18px;
  color: var(--muted);
  font-size:18px;
  line-height:1.7;
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 18px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-weight:800;
  box-shadow: 0 6px 16px rgba(14,26,36,.06);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}
.btn.primary{
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  border-color: transparent;
  color:#fff;
}

/* optional: if you used .btn.ghost in HTML */
.btn.ghost{
  border-color: rgba(13, 75, 115, .22);
  background: rgba(13, 75, 115, .06);
  color: var(--brand2);
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.badge{
  font-size:13px;
  color: var(--ink);
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
}

/* =========================
   Sections
   ========================= */
.section{
  padding:64px 0;
}
.section.alt{
  background: var(--alt);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  margin-bottom:22px;
  text-align:center;
}
.section-head h2{
  margin:0 0 10px;
  font-size:34px;
  color: var(--brand);
}
.sub{
  margin:0 auto;
  max-width:880px;
  color: var(--muted);
  font-size:16px;
  line-height:1.7;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top:18px;
}
.grid-3{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:18px;
  margin-top:18px;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 8px 20px rgba(14, 26, 36, .07);
  transition: transform .15s ease, box-shadow .15s ease;
}
.panel:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}
.panel h3{
  margin:0 0 10px;
  color: var(--ink);
}
.panel p{
  margin:0;
  color: var(--muted);
  line-height:1.75;
}

.list{
  margin:0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.8;
}
.list li{ margin: 6px 0; }

/* =========================
   Cards
   ========================= */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:18px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 8px 20px rgba(14, 26, 36, .07);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, var(--accent), var(--brand2));
  opacity:.9;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
  border-color: rgba(13, 75, 115, .25);
}
.card h3{
  margin:8px 0 8px;
  color: var(--ink);
  font-size:16px;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.65;
  font-size:14px;
}

/* =========================
   Gallery
   ========================= */
.image-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.image-grid img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow: 0 10px 22px rgba(14, 26, 36, .08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.image-grid img:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
  filter: brightness(1.02);
}

/* =========================
   Quote
   ========================= */
.quote{
  margin-top:18px;
  border:1px dashed rgba(181,154,90,.55);
  background: rgba(181,154,90,.08);
  border-radius:var(--radius);
  padding:16px;
  text-align:center;
}
.quote p{
  margin:0 0 6px;
  color: var(--ink);
  font-weight:800;
}
.quote span{
  color: var(--muted);
  font-size:14px;
}

/* =========================
   ✅ Location / Map (UPDATED: BIGGER)
   ========================= */
.map-box{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background:#fff;

  /* ✅ make it bigger and centered */
  width:100%;
  max-width:1100px;
  margin: 0 auto;
}
.map-box iframe{
  width:100%;
  height:600px;  /* ✅ BIG on desktop */
  border:0;
  display:block;
}
.location-actions{
  margin-top:14px;
  display:flex;
  justify-content:center;
}

/* =========================
   Contact
   ========================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top:18px;
}
.contact-line{ margin: 8px 0; }

.divider{
  height:1px;
  background: var(--line);
  margin:14px 0;
}

.form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:800;
  color: var(--ink);
  font-size:14px;
}

input, textarea{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font: inherit;
  background:#fff;
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus{
  border-color: rgba(13,75,115,.45);
  box-shadow: 0 0 0 4px rgba(13,75,115,.10);
}
textarea{ resize:vertical; }
.tiny{ font-size:12px; }

/* =========================
   Footer
   ========================= */
.footer{
  background: linear-gradient(90deg, #061d2d, var(--brand));
  color:#e6f0f7;
  padding:22px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.muted{ color: rgba(230,240,247,.78); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: 1fr; }
  .image-grid{ grid-template-columns: repeat(2, 1fr); }
  .image-grid img{ height:220px; }
}

@media (max-width: 820px){
  .grid-2{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-card h1{ font-size:36px; }
  .nav-toggle{ display:inline-flex; }

  .nav-links{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:12px 0 6px;
  }
  .nav-links.open{ display:flex; }
}

/* Existing: slightly smaller logo on very small screens */
@media (max-width: 520px){
  .cards{ grid-template-columns: 1fr; }
  .brand-logo{ height: 34px; }
  .image-grid{ grid-template-columns: 1fr; }
  .image-grid img{ height:210px; }
}

/* ===============================
   ✅ Mobile Layout Fixes
   =============================== */
@media (max-width: 768px){

  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .topbar-right{
    width:100%;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
  }
  .pill{
    font-size:13px;
    padding:6px 10px;
  }

  .nav-inner{ flex-wrap:wrap; }
  .brand{ flex:1; min-width: 180px; }
  .nav-toggle{ margin-left:auto; }

  .nav-links{
    width:100%;
    background:#fff;
    border-top:1px solid var(--line);
    padding:14px 0;
  }
  .nav-links a{
    width:100%;
    padding:10px 10px;
    font-size:15px;
  }

  .hero{ min-height:auto; }
  .hero-content{ padding:28px 0 32px; }
  .hero-card{ padding:20px; }
  .hero-card h1{ font-size:28px; line-height:1.25; }
  .lead{ font-size:15px; }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .hero-actions .btn{
    width:100%;
    text-align:center;
  }

  .hero-badges{
    flex-direction:column;
    align-items:flex-start;
  }

  /* ✅ Bigger map on mobile too */
  .map-box iframe{
    height:360px;
  }
}

/* =========================
   RTL helpers (for Arabic)
   ========================= */
html[dir="rtl"] body{
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .list{
  padding-left:0;
  padding-right:18px;
}
html[dir="rtl"] .topbar-inner{
  flex-direction: row-reverse;
}
html[dir="rtl"] .topbar-left{
  direction: rtl;
}
html[dir="rtl"] .topbar-left a{
  direction:ltr;
  unicode-bidi: plaintext;
}
html[dir="rtl"] .topbar-right{
  direction: rtl;
}
html[dir="rtl"] .nav-inner{
  flex-direction: row-reverse;
}
html[dir="rtl"] .nav-links{
  direction: rtl;
}
html[dir="rtl"] [dir="ltr"]{
  direction:ltr;
  unicode-bidi: plaintext;
}
