    :root {
      --bg: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --accent: #111827;
      --shadow: 0 0px 20px rgba(16,24,40,0.06);
      --radius: 12px;
      --gap: 24px;
      --break: 768px;
    }

    * { box-sizing: border-box; }
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }


    .navbar {
      background: var(--bg);
      border-radius: var(--radius);
      padding: 5px 0px;
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--gap);
      max-width: 100%;
      margin: 0 auto 2px;
      position: relative;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text);
    }

    .brand-logo {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 18px;
      margin-right: 8px;
    }.brand-logo img{
      width: 110%;
      border-radius: 10px;
    }

    .brand-name {
      font-weight: 600;
      font-size: 20px;
    }

    .nav-links {
      display: flex;
      gap: 18px;
      align-items: center;
      margin-left: 8px;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--muted);
      padding: 8px 12px;
      border-radius: 8px;
      font-weight: 500;
      transition: 0.2s;
    }

    .nav-links a:hover {
      color: var(--text);
      background: rgba(17, 24, 39, 0.04);
    }

    .nav-cta {
      border: 1px solid rgba(17, 24, 39, 0.1);
      border-radius: 8px;
      padding: 8px 14px;
      font-weight: 600;
      background: transparent;
    }

    .hamburger {
      display: inline-grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border: none;
      background: transparent;
      border-radius: 10px;
      cursor: pointer;
      font-size: 24px;
      font-weight: bold;
      color: var(--text);
      margin-left: 8px;
    }

    .mobile-panel {
      position: absolute;
      top: 70px;
      right: 0px;
      width: 100%;
      background: var(--bg);
      border-radius: 12px;
      box-shadow: 0 12px 30px rgba(2,6,23,0.08);
      padding: 12px 16px;
      display: none;
      flex-direction: column;
      gap: 8px;
      z-index: 999;
    }

    .mobile-panel a {
      text-decoration: none;
      color: var(--muted);
      padding: 10px;
      border-radius: 8px;
      font-weight: 600;
    }

    .mobile-panel a:hover {
      background: rgba(17,24,39,0.04);
      color: var(--text);
    }

    /* Responsive behavior */
    @media (max-width: 767px) {
      .nav-links {
        display: none;
      }
      .brand-name {
        display: none;
      }
    }

    @media (min-width: 768px) {
      .hamburger,
      .mobile-panel {
        display: none !important;
      }
    }



    .footer {
    background: #1c2841;
    color: #fff;
    padding: 10px 10px 10px;
    margin-top: 20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    margin-bottom: 1px;
    }

    .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    max-width: 100%;
    margin: auto;
    text-align: center;
    }

    .footer-content > div {
    flex: 1 1 0px;
    text-align: center;
    }

    .footer h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    }

    .footer p {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.6;
    }

    .footer .social-icons {
    
    gap: 12px;
    margin-top: 10px;

    }

    .footer .social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    }

    .footer .social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); 
    transition: 0.3s;
    }

    .footer .social-icons a:hover img {
    filter: brightness(1.5) invert(0.8);
    }

    .footer-bottom {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 16px;
    margin-top: 32px;
    font-size: 14px;
    color: #9ca3af;
    
    }
    a{
      text-decoration: none;
    }
    .footer-bottom .famza{
      color: white;
    }.footer-bottom .famza:hover{
      color: #38bdf8;
    }
    .footer-bottom .social{
      color: white;
    }.footer-bottom .social:hover{
      color: yellow;
    }

    @media (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer .social-icons {
            justify-content: center;
        }
        }
        .footer .social-icons a i {
          font-size: 20px;
          color: #fff;
          transition: 0.3s;
        }

    .footer .social-icons a:hover i {
        color: #38bdf8;
      }


/* 🌗 الوضع الداكن */


/* ✅ الهيدر */
body.dark-mode .navbar {
  background: #2a2a2a;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

body.dark-mode .brand-name,
body.dark-mode .nav-links a,
body.dark-mode .hamburger {
  color: #e2e8f0;
}

body.dark-mode .nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* ✅ الفوتر */
body.dark-mode .footer {
  background: #2a2a2a;
  color: #f3f4f6;
}

body.dark-mode .footer h3 {
  color: #e2e8f0;
}

body.dark-mode .footer p {
  color: #cbd5e1;
}

body.dark-mode .footer .social-icons a i {
  color: #f8fafc;
}

body.dark-mode .footer-bottom {
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* 🌙 الزر نفسه */
.dark-mode-toggle {
  position: fixed;
  top: 120px;
  left: 30px;
  background-color: #f0f0f0;
  border: none;
  color: #333;
  font-size: 1.5rem;
  border-radius: 50%;
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

.dark-mode-toggle:hover {
  background-color: #ddd;
  transform: rotate(15deg);
}

body.dark-mode .dark-mode-toggle {
  background-color: #333;
  color: #ffd700;
}

/* 📱 في الشاشات الصغيرة */
@media (max-width: 768px) {
  .dark-mode-toggle {
    top: 20px;
    left: 20px;
    font-size: 1.2rem;
    padding: 7px 8px;
  }
}

body.dark-mode .navbar {
  background: #1a1a1a;
  color: #f5f5f5;
}

body.dark-mode .nav-links a {
  color: #b0b0b0;
}

body.dark-mode .nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

body.dark-mode .hamburger {
  color: #f5f5f5;
}

body.dark-mode .mobile-panel {
  background: #1a1a1a;
  color: #f5f5f5;
}
body.dark-mode .footer {
  background: #111;
  color: #ccc;
}

body.dark-mode .footer a {
  color: #ccc;
}
