/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap");

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #222;
}

/* RTL Arabic override */
html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
}


/* HEADER */
header {
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

header .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  margin-right: 15px;
  text-decoration: none;
  font-weight: 600;
  color: #003366;
  transition: 0.2s;
}

nav a:hover {
  opacity: 0.7;
}

/* BADGE */
.badge {
  background: #003366;
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 18px;
  margin: 20px 0;
}

/* HERO */
.hero {
  padding: 70px 0;
  text-align: center;
  background: #eef5ff;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* BUTTONS */
.btn-main {
  background: #003366;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: #002244;
  color: white;
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
}

/* الزر الجديد – واتساب – خيار (B) */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: 0.2s;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  opacity: 0.93;
}

.whatsapp-icon svg {
  display: block;
}

/* CONTACT PAGE */
.contact-section {
  padding: 50px 0;
}

.contact-section .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form textarea {
  height: 130px;
}

/* MOBILE */
@media(max-width: 768px){
  .contact-section .container {
    flex-direction: column;
  }
}

/* =========================================================
   Unified layout components (EN/AR) – added for consistency
   ========================================================= */

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.center{ text-align:center; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: inherit;
}

.logo-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  background:#0a3a66;
  color:#fff;
  border-radius:10px;
  font-weight:700;
}

.logo-text strong{ display:block; font-size:16px; line-height:1.2; }
.logo-text small{ display:block; font-size:12px; opacity:.7; margin-top:2px; }

.nav{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  font-size:14px;
}

.nav a{
  text-decoration:none;
  color:#0c2f55;
  padding:6px 4px;
  border-bottom:2px solid transparent;
}

.nav a.active,
.nav a:hover{ border-bottom-color:#0a3a66; }

.lang-switch .lang-btn{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border:1px solid #d9e2ec;
  border-radius:999px;
  text-decoration:none;
  font-size:13px;
  color:#0c2f55;
  background:#fff;
}

.hero{
  background:#eef5ff;
  padding: 70px 0 60px;
  border-bottom:1px solid #e6edf6;
}

.hero-title{
  font-size: clamp(28px, 4vw, 40px);
  font-weight:700;
  color:#0b2d4f;
  text-align:center;
  margin:0 0 10px;
}

.hero-subtitle{
  text-align:center;
  max-width: 760px;
  margin: 0 auto 18px;
  font-size:16px;
  line-height:1.8;
  color:#334e68;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin: 12px 0 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  font-size:14px;
  transition:transform .08s ease, box-shadow .12s ease, background .12s ease;
}

.btn:active{ transform:translateY(1px); }

.btn-primary{
  background:#0a3a66;
  color:#fff;
  box-shadow:0 6px 14px rgba(10,58,102,.18);
}

.btn-primary:hover{ background:#083256; }

.btn-secondary{
  background:#fff;
  color:#0a3a66;
  border:1px solid #cfd8e3;
}

.btn-secondary:hover{ background:#f7fafc; }

.hero-quick{
  text-align:center;
  margin-top: 8px;
  font-size:14px;
}

.whatsapp-link{
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin:4px auto 8px;
  padding:8px 14px;
  border-radius:999px;
  background:#e8f7ef;
  color:#0f7a3a;
  text-decoration:none;
  font-weight:600;
}

.contact-inline{ color:#486581; }

.section{ padding: 58px 0; background:#fff; }
.section-alt{ background:#f7fafc; border-top:1px solid #eef2f6; border-bottom:1px solid #eef2f6; }
.section-narrow{ max-width: 820px; }

.grid{
  display:grid;
  gap:16px;
}

.cards-3{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card{
  background:#fff;
  border:1px solid #eef2f6;
  border-radius:14px;
  padding:18px;
  box-shadow:0 6px 16px rgba(16,24,40,.06);
}

.card h3{ margin:0 0 6px; font-size:16px; color:#0b2d4f; }
.card p{ margin:0; font-size:14px; color:#52606d; line-height:1.7; }

.checklist{
  list-style:none;
  margin: 10px auto 0;
  padding:0;
  max-width: 760px;
  font-size:15px;
  line-height:1.9;
  color:#334e68;
}

.checklist li{
  position:relative;
  padding-left:26px;
  margin:6px 0;
}

html[dir="rtl"] .checklist li{
  padding-left:0;
  padding-right:26px;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#0a3a66;
  font-weight:700;
}

html[dir="rtl"] .checklist li::before{
  left:auto;
  right:0;
}

.section-cta{
  background:#eef5ff;
  border-top:1px solid #e6edf6;
}

.cta-box{
  background:#fff;
  border:1px solid #e6edf6;
  border-radius:16px;
  padding:28px 20px;
  text-align:center;
  box-shadow:0 10px 20px rgba(16,24,40,.08);
}

.cta-box h2{ margin:0 0 6px; font-size:22px; color:#0b2d4f; }
.cta-box p{ margin:0 0 14px; color:#52606d; }

@media (max-width: 1024px){
  .cards-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .header-inner{ flex-direction:column; align-items:flex-start; }
  .nav{ gap:10px; }
  .cards-3{ grid-template-columns: 1fr; }
  .hero{ padding:54px 0 44px; }
}

/* End unified layout components */
