:root {
  --color-primary-dark: #131d2b;   /* Deep Forest Green */
  --color-primary: #16202e;        /* Forest Green */
  --color-gold: #c4a56d;           /* Warm Gold Accent */
  --color-soft-slate: #99a0ab;     /* Soft Sky / Slate */
  --color-white: #f8f6f0;          /* Pure White */
  --color-white-a: #ffffff;          /* Pure White */
  --color-text-dark: #2B1823;      /* Dark Text */

  --font-arabic: 'Readex Pro', 'Amiri', system-ui, sans-serif;
  --font-english: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en-head: 'Cinzel', serif;
  --font-en-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Noto Naskh Arabic', 'Traditional Arabic', serif;
}

/***1E1D62-C4A56E-1805B0-DBE7EB-FFFFFF-2B1823**/

/***0F3313-C4A56E-1D6225-DBE7EB-FFFFFF-2B1823**/

* { box-sizing: border-box; }


/** old end**/
body {
  font-family: var(--font-en-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings Configuration */
h1, h2, h3, h4, .brand-name, .banner-title, .panel-title {
  font-family: var(--font-en-head);
  letter-spacing: 0.02em;
}

/* Arabic Language Overrides (Applies when dir="rtl" or .lang-ar active) */
html[dir="rtl"] body,
[lang="ar"],
.lang-ar {
  font-family: var(--font-ar) !important;
  line-height: 1.75; /* Slightly higher line-height for Arabic script balance */
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .brand-name,
html[dir="rtl"] .banner-title,
html[dir="rtl"] .panel-title {
  font-family: var(--font-ar) !important;
  font-weight: 700;
  letter-spacing: normal;
}

/** new end**/


body {
  margin: 0;
  font-family: var(--font-english);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.6;
}

[dir="rtl"] body { font-family: var(--font-arabic); }

/* Multilingual Toggle Rules */
[lang="ar"] .lang-en,
[lang="en"] .lang-ar { display: none !important; }

/* --- HEADER --- */
.site-header {
  background-color: var(--color-primary-dark);
  border-bottom: 3px solid var(--color-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(15, 51, 19, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
}

.brand-crest {
  width: 36px;
  height: 36px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-name { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--color-white); }
.brand-subtitle { font-size: 0.75rem; color: var(--color-gold); margin: 0; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-soft-slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active { color: var(--color-gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle-btn {
  background-color: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
}

.cta-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
}

/* --- FOOTER (Restored 4-Column Layout) --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border-top: 4px solid var(--color-gold);
  padding: 4rem 0 0;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(196, 165, 110, 0.25);
}

.footer-title {
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
}

.footer-brand-principal {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--color-soft-slate);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sba-badge-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

.sba-badge-card:hover {
  background-color: rgba(196, 165, 110, 0.15);
}

.sba-icon {
  width: 28px;
  height: 28px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.sba-text-main {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-gold);
  display: block;
}

.sba-text-sub {
  font-size: 0.75rem;
  color: var(--color-soft-slate);
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  color: var(--color-soft-slate);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--color-gold); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-soft-slate);
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.contact-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover { color: var(--color-gold); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-soft-slate);
  font-size: 0.85rem;
}

.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: var(--color-soft-slate); text-decoration: none; }
.footer-legal-links a:hover { color: var(--color-gold); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Logo Wrapper & Image Rules */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-image-wrapper {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Fallback Styled Box when logo image is missing */
.logo-placeholder-box {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-dark);
  border: 1.5px dashed var(--color-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder-text {
  color: var(--color-gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Updated Brand Name Typography */
.brand-name {
  font-family: var(--font-en-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-soft-slate);
  margin: 0;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ========================================== */
/* HEADER BASE & DESKTOP LAYOUT               */
/* ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--color-soft-slate, #E5E7EB);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo & Brand Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 1001; /* Keep logo accessible above mobile menu */
}

.logo-image-wrapper {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-placeholder-box {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary-dark, #0F3313);
  border: 1.5px dashed var(--color-gold, #C5A059);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder-text {
  color: var(--color-gold, #C5A059);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-name {
  font-family: var(--font-en-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark, #0F3313);
  margin: 0;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: #666666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Nav Wrapper & Desktop Menu */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-dark, #1E293B);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold, #C5A059);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none; /* Hidden on Desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark, #0F3313);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

/* ========================================== */
/* RESPONSIVE BREAKPOINT (MOBILE & TABLET)    */
/* ========================================== */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex;
  }

  /* Hamburger to 'X' animation when active */
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Slide-down Mobile Menu Overlay */
  .nav-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--color-gold, #C5A059);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    
    /* Toggle hidden state */
    display: none;
  }

  .nav-menu-wrapper.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #F1F5F9;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .lang-toggle-btn,
  .cta-button {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1rem;
  }
  .brand-subtitle {
    font-size: 0.62rem;
  }
  .logo-image-wrapper,
  .logo-placeholder-box {
    width: 38px;
    height: 38px;
  }
}

.sba-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}