
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tahoma", sans-serif;
}

body {
  background: #F4F6F9;
  color: #1F2937;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   Header
========================= */
.header {
  background: linear-gradient(90deg, #0A1A2F, #132F55);
  padding: 18px 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  position: relative;
  z-index: 9999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo img {
  width: 52px;
  border-radius: 10px;
}

.logo-title {
  font-size: 22px;
  font-weight: bold;
}

.logo small {
  font-size: 12px;
  color: #D6BE8A;
}

/* Navigation Buttons */
.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links button {
  background: transparent;
  border: 2px solid #B89B5E;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.nav-links button:hover,
.nav-links button.active {
  background: #B89B5E;
  color: #0A1A2F;
}

/* =========================
   Hero Section
========================= */
.hero {
  position: relative;
  background: url("img/header-bg.jpg") center/cover no-repeat;
  padding: 160px 20px;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 25px;
}

.hero p {
  max-width: 750px;
  margin: auto;
  line-height: 1.9;
  font-size: 18px;
}

/* Button */
.btn-main {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 42px;
  background: linear-gradient(135deg, #B89B5E, #D6BE8A);
  color: #0A1A2F;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-main:hover {
  transform: translateY(-4px);
}

/* =========================
   About Section
========================= */
.about {
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0A1A2F;
}

.about p {
  max-width: 800px;
  margin: auto;
  line-height: 2;
}

/* =========================
   Services
========================= */
.services {
  background: #fff;
  padding: 90px 20px;
}

.services h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.service-card {
  background: #F4F6F9;
  padding: 35px;
  text-align: center;
  border-radius: 14px;
  transition: 0.3s;
}

.service-card i {
  font-size: 40px;
  color: #B89B5E;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* =========================
   Footer
========================= */
.footer {
  background: #F4F6F9;
  padding: 80px 0 30px;
  font-size: 16px;
}

/* Footer Items */
.footer-item {
  font-size: 16px;
}

.footer-item p {
  margin-bottom: 10px;
  line-height: 1.9;
}

.footer-item p.text-primary {
  font-size: 28px !important;
  font-weight: bold;
}

.footer-item h4 {
  font-size: 22px;
  font-weight: bold;
}

/* Box styling */
.footer-item .border {
  background: #B89B5E;
  padding: 40px 35px !important;
}

/* Links */
.footer-item a {
  text-decoration: none;
  transition: 0.3s;
}

.footer-item a:hover {
  color: #B89B5E !important;
}

/* Icons */
.footer-item i {
  font-size: 18px;
}

/* Social Icons */
.footer-icon a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-icon a:hover {
  background: #2f0a0a;
}

/* Google Maps Link */
.footer a[href*="google.com/maps"] {
  font-size: 16px;
  display: inline-block;
  margin-top: 20px;
}

/* Copyright */
.footer .border-top {
  border-color: rgba(0,0,0,0.1) !important;
}

.footer .text-center p {
  margin-top: 15px;
  color: #1F2937;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}




















/* ===== Sections =====*/
section {
  padding: 70px 0;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #B89B5E;
}

/* ===== Services / Cards ===== */
.why-grid,
.disputes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card,
.why-card,
.dispute-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 20px #B89B5E;
}



















/*ي///////////////////////////////////////////////////////////////////////////////*/
.footer {
   position: relative;
  background: url("img/header-bg.jpg") center/cover no-repeat;
  padding: 160px 20px;
  color: #B89B5E;
  text-align: center;
}

.footer-item {
  text-align: center;
}

.footer-item h4 {
  color: #bebebe;
  font-weight: bold;
}

.footer-item p,
.footer-item a {
  font-size: 17px;
  color: #0004ff;
  line-height: 1.8;
  text-decoration: none;
}


































.gallery {
  padding: 60px 0;
  background: #f9f9f9;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #B89B5E;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


















































.board {
  padding: 70px 0;
  background: #f9f9f9;
}

.board h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1b3c73;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.board-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.board-card:hover {
  transform: translateY(-6px);
}

.board-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1b3c73;
  margin-bottom: 15px;
}

.board-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #222;
}

.board-card .position {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b30000;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.cv-link i {
  font-size: 16px;
}

.cv-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}











































.legal-services {
  padding: 70px 0;
  background: #f7f7f7;
}

.legal-services h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1b3c73;
}

.service-box {
  background: #fff;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.service-box h3 {
  color: #1b3c73;
  margin-bottom: 15px;
  font-size: 20px;
}

.service-box h3 i {
  margin-left: 8px;
  color: #B89B5E ;
}

.service-box ul {
  padding-right: 20px;
}

.service-box ul li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #333;
}

.service-box.highlight {
  border-right: 5px solid #1b3c73;
  background: #eef3fb;
}





















/* ===== شركاؤنا ===== */
.partners {
  padding: 70px 0;
  background: #F4F6F9;
}
.partners h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #B89B5E;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}
.partners-grid img {
  width: 100%;
  max-width: 320px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.partners-grid img:hover {
  transform: scale(1.05);
}

/* ===== الفوتر الجديد ===== */
.footer {
  background: #0A1A2F;
  color: #fff;
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col {
  flex: 1;
  min-width: 250px;
}
.footer-col h3 {
  color: #D6BE8A;
  margin-bottom: 20px;
  font-size: 22px;
  border-bottom: 2px solid #B89B5E;
  display: inline-block;
  padding-bottom: 8px;
}
.work-hours {
  background: rgba(184, 155, 94, 0.1);
  padding: 20px;
  border-radius: 20px;
  border-right: 4px solid #B89B5E;
}
.work-hours p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.off-day {
  color: #D6BE8A;
  font-weight: bold;
}
.footer-col p, .footer-col a {
  line-height: 1.8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #D6BE8A;
}
.footer-col i {
  color: #B89B5E;
  width: 24px;
  font-size: 18px;
}
.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(214, 190, 138, 0.3);
  color: #aaa;
  font-size: 14px;
}

/* استجابة الفوتر */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col p, .footer-col a {
    justify-content: center;
  }
  .work-hours {
    text-align: center;
    border-right: none;
    border-top: 4px solid #B89B5E;
  }
}















/* زر القائمة */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* الوضع الطبيعي (ديسكتوب) */
.nav-links {
  display: flex;
  gap: 10px;
}

/* موبايل */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .nav-links button {
    width: 100%;
    padding: 12px;
    border: none;
    background: none;
    text-align: right;
    font-size: 16px;
  }

  .nav-links.show {
    display: flex;
  }
}










/* موبايل */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #fff; /* لون أيقونة القائمة */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #0A1A2F; /* كحلي غامق */
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-top: 2px solid #B89B5E; /* خط ذهبي */
  }

  .nav-links button {
    width: 100%;
    padding: 14px;
    border: none;
    background: transparent;
    text-align: right;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links button:hover {
    background: #B89B5E; /* ذهبي */
    color: #0A1A2F;
  }

  .nav-links.show {
    display: flex;
  }
}

/* Keep the expanded mobile menu readable on every page. */
@media (max-width: 768px) {
  .header nav { position: relative; }
  .nav-links { background: #0A1A2F; border-top: 2px solid #B89B5E; z-index: 10000; }
  .nav-links button { color: #fff; background: transparent; }
}

/* Shared footer appearance across all pages. */
.footer { background: #0A1A2F; color: #fff; padding: 60px 0 30px; margin-top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.footer-col { flex: 1; min-width: 250px; }

/* LinkedIn link on the About page only. */
.linkedin-about { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 11px 20px; border-radius: 24px; color: #fff; background: #0A1A2F; text-decoration: none; font-weight: 700; }
.linkedin-about:hover { background: #0077b5; }

/* Site-wide responsive layout */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, iframe { max-width: 100%; }
.container { width: min(92%, 1200px); }
.hero { padding: clamp(85px, 13vw, 160px) 20px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.45; }
.hero p { font-size: clamp(15px, 2vw, 18px); }
.btn-main { padding: 13px clamp(24px, 5vw, 42px); }

@media (max-width: 1050px) {
  .header-content { gap: 16px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
  .nav-links button { padding: 7px 12px; font-size: 13px; }
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header { padding: 12px 0; }
  .header-content { min-height: 54px; }
  .logo-title { font-size: 19px; }
  .logo img { width: 46px; }
  .header nav { position: relative; }
  .menu-toggle { display: block; color: #fff; padding: 7px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 12px); right: 0; width: min(90vw, 360px); flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 8px 0; background: #0A1A2F; border: 1px solid #B89B5E; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.28); z-index: 10000; }
  .nav-links.show { display: flex; }
  .nav-links button { width: 100%; border: 0; border-radius: 0; padding: 13px 18px; color: #fff; text-align: right; font-size: 15px; }
  .nav-links button:hover { background: #B89B5E; color: #0A1A2F; }
  section, .services, .legal-services, .board, .partners { padding-top: 55px; padding-bottom: 55px; }
  .gallery-grid, .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding: 45px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .footer-col { min-width: min(100%, 250px); }
}

@media (max-width: 600px) {
  .container { width: min(90%, 1200px); }
  .logo { gap: 8px; }
  .logo img { width: 40px; }
  .logo-title { font-size: 17px; }
  .logo small { display: block; font-size: 10px; }
  .hero { padding: 76px 16px; }
  .hero h1 { margin-bottom: 15px; }
  .hero p { line-height: 1.75; }
  h2, .services h2, .about h2 { font-size: clamp(25px, 8vw, 32px); margin-bottom: 25px; }
  .service-card, .why-card, .dispute-card, .service-box { padding: 22px 18px; }
  .services-grid, .why-grid, .disputes-grid, .partners-grid, .gallery-grid, .board-grid { grid-template-columns: 1fr; gap: 18px; }
  .board-card img { width: 105px; height: 105px; }
  .footer-col h3 { font-size: 20px; }
  .footer-col p, .footer-col a { font-size: 14px; overflow-wrap: anywhere; }
  .whatsapp-fixed { width: 48px !important; height: 48px !important; font-size: 25px !important; bottom: 14px !important; right: 14px !important; }
  .content { padding: 35px 14px 0 !important; }
  .gallery { grid-template-columns: 1fr !important; gap: 14px !important; }
  .gallery img { border-radius: 10px; }
  .contact-section { padding: 52px 18px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 18px !important; margin-bottom: 36px !important; }
  .contact-card { padding: 26px 18px !important; }
  .map-card iframe { height: 380px !important; }
  .about-center { padding: 50px 18px !important; }
  .about-box { padding: 24px 18px !important; }
}
/* Mobile navigation and footer final override */
@media (max-width: 900px) {
  .header { position: relative !important; z-index: 1000 !important; }
  .header-content { position: relative !important; }
  .header nav { position: relative !important; }
  .menu-toggle { display: block !important; color: #fff !important; }
  .nav-links,
  .nav-links.show {
    background: #0A1A2F !important;
    background-image: none !important;
    border: 2px solid #B89B5E !important;
    color: #fff !important;
    z-index: 10001 !important;
  }
  .nav-links { display: none !important; }
  .nav-links.show { display: flex !important; }
  .nav-links button {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }
  .nav-links button:hover,
  .nav-links button:focus {
    background: #B89B5E !important;
    color: #0A1A2F !important;
  }

  .footer {
    background: #0A1A2F !important;
    background-image: none !important;
    color: #fff !important;
    padding: 42px 0 22px !important;
    text-align: initial !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    margin-bottom: 28px !important;
  }
  .footer-col {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }
  .footer-col h3 { font-size: 20px !important; }
  .footer-col p,
  .footer-col a {
    justify-content: center !important;
    color: #ddd !important;
    overflow-wrap: anywhere;
  }
  .footer-col i { color: #B89B5E !important; }
  .work-hours {
    border-right: 0 !important;
    border-top: 4px solid #B89B5E !important;
  }
}
/* Compact mobile menu sizing */
@media (max-width: 900px) {
  .nav-links {
    width: min(78vw, 285px) !important;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    border-radius: 10px !important;
  }
  .nav-links button {
    padding: 11px 16px !important;
    font-size: 14px !important;
  }
}
/* Animated overlay mobile menu: never changes page layout */
@media (max-width: 900px) {
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 76px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease;
  }
}