/* =========================
   السلطان التعليمي - صفحات ثابتة احترافية
   الملفات: about.html / privacy-policy.html
   ========================= */

:root {
  --primary: #071a3d;
  --primary-2: #09275c;
  --accent: #00d4ff;
  --accent-2: #2b7cff;
  --text: #102040;
  --muted: #60708f;
  --white: #ffffff;
  --bg: #f4f9ff;
  --card: rgba(255, 255, 255, 0.86);
  --border: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 70px rgba(5, 25, 70, 0.15);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Tajawal", Tahoma, Arial, sans-serif;
  direction: rtl;
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 212, 255, 0.15), transparent 28%),
    radial-gradient(circle at 85% 24%, rgba(43, 124, 255, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 1000;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(5,18,48,0.88), rgba(7,34,82,0.78));
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 65px rgba(0, 10, 35, 0.32);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  transition: 0.35s ease;
}

.site-header.scrolled .navbar {
  background: rgba(5, 18, 48, 0.92);
  transform: translateY(-6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  min-width: max-content;
}

.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.22), rgba(43, 124, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.34);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.12), 0 12px 26px rgba(0, 212, 255, 0.16);
}

.logo-mark svg {
  width: 32px;
  height: 32px;
}

.brand-title {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 13px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 18px;
  left: 18px;
  bottom: 3px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.mobile-toggle {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.icon-btn,
.mobile-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}

.icon-btn:hover,
.mobile-toggle:hover {
  background: rgba(0, 212, 255, 0.18);
  transform: translateY(-2px);
}


.mobile-toggle {
  display: none;
}

/* Hero */

.hero {
  min-height: 760px;
  position: relative;
  padding: 150px 0 120px;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.28), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(43, 124, 255, 0.25), transparent 30%),
    linear-gradient(135deg, #061431 0%, #09245a 48%, #041029 100%);
  overflow: hidden;
}

.hero.small {
  min-height: 680px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-wave {
  position: absolute;
  right: -5%;
  left: -5%;
  bottom: -2px;
  height: 170px;
  background:
    radial-gradient(120% 160% at 50% -10%, transparent 48%, var(--bg) 49%),
    linear-gradient(90deg, rgba(0, 212, 255, 0.9), rgba(43, 124, 255, 0.3));
  clip-path: polygon(0 45%, 12% 36%, 27% 51%, 42% 34%, 57% 48%, 74% 28%, 88% 42%, 100% 30%, 100% 100%, 0 100%);
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  animation: fadeUp 0.9s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  margin: 24px 0 16px;
  line-height: 1.05;
  letter-spacing: -2px;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 2;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 18px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 36px rgba(0, 180, 255, 0.28);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(0, 180, 255, 0.38);
}

.ghost-btn {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-visual {
  position: relative;
  min-height: 450px;
  animation: fadeIn 1.2s ease both;
}

.orbit {
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(0, 212, 255, 0.28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit.two {
  inset: 70px;
  animation-duration: 12s;
  animation-direction: reverse;
}

.device-card,
.security-card {
  position: absolute;
  right: 50px;
  top: 60px;
  width: 340px;
  min-height: 250px;
  border-radius: 32px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: perspective(800px) rotateY(-10deg) rotateX(4deg);
  animation: float 5.5s ease-in-out infinite;
}

.security-card {
  display: grid;
  place-items: center;
}

.code-window {
  height: 165px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(0, 8, 25, 0.62);
  direction: ltr;
}

.code-line {
  display: block;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.18));
}

.code-line:nth-child(2) { width: 72%; }
.code-line:nth-child(3) { width: 90%; background: linear-gradient(90deg, #7c5cff, rgba(255,255,255,0.18)); }
.code-line:nth-child(4) { width: 55%; }
.code-line:nth-child(5) { width: 78%; background: linear-gradient(90deg, #12f5a7, rgba(255,255,255,0.18)); }

.visual-caption {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 900;
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(0, 212, 255, 0.15);
  animation: pulse 1.5s ease-in-out infinite;
}

.shield {
  width: 190px;
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 110px 110px 75px 75px;
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.9), rgba(43, 124, 255, 0.35));
  clip-path: polygon(50% 0, 100% 18%, 90% 72%, 50% 100%, 10% 72%, 0 18%);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.45);
}

.shield svg {
  width: 82px;
  color: white;
}

.float-icon {
  position: absolute;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(0,212,255,0.88), rgba(43,124,255,0.68));
  box-shadow: 0 18px 45px rgba(0, 140, 255, 0.28);
  animation: float 4s ease-in-out infinite;
}

.float-icon svg {
  width: 34px;
}

.float-icon.a { left: 80px; top: 70px; animation-delay: -1s; }
.float-icon.b { left: 34px; bottom: 82px; animation-delay: -2s; }
.float-icon.c { right: 34px; bottom: 45px; animation-delay: -3s; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.65;
}

.blob.one {
  width: 160px;
  height: 160px;
  background: rgba(0, 212, 255, 0.18);
  left: 8%;
  top: 24%;
  animation: drift 9s ease-in-out infinite;
}

.blob.two {
  width: 210px;
  height: 210px;
  background: rgba(43, 124, 255, 0.16);
  right: 6%;
  bottom: 16%;
  animation: drift 11s ease-in-out infinite reverse;
}

/* Main */

.main-section {
  position: relative;
  padding: 70px 0;
}

.section-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,212,255,0.14), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(43,124,255,0.10), transparent 30%);
  pointer-events: none;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.section-content {
  position: relative;
  z-index: 1;
}

.section-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 35px rgba(0, 150, 255, 0.24);
  margin-bottom: 18px;
}

.section-icon svg,
.card-icon svg,
.feature-icon svg,
.accordion-icon svg {
  width: 30px;
  height: 30px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
  color: var(--primary);
  letter-spacing: -1px;
}

h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 24px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
  margin: 0;
}

.illustration-panel {
  position: relative;
  min-height: 270px;
  z-index: 1;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.12), rgba(43, 124, 255, 0.05));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.illustration-panel::before,
.illustration-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(43,124,255,0.2);
}

.illustration-panel::before {
  width: 260px;
  height: 260px;
  animation: spin 20s linear infinite;
}

.illustration-panel::after {
  width: 150px;
  height: 150px;
  animation: spin 12s linear infinite reverse;
}

.play-card {
  position: relative;
  width: 260px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 22px 50px rgba(20, 70, 130, 0.16);
  z-index: 1;
  animation: float 4.7s ease-in-out infinite;
}

.play-circle {
  width: 78px;
  height: 78px;
  margin: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 38px rgba(0, 140, 255, 0.25);
}

.fake-line {
  height: 12px;
  border-radius: 99px;
  background: rgba(20,60,120,0.1);
  margin-top: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.info-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 45px rgba(10, 35, 90, 0.1);
  transition: 0.28s ease;
}

.info-card:hover,
.feature-card:hover,
.accordion-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 58px rgba(10, 35, 90, 0.16);
}

.card-icon,
.feature-icon,
.accordion-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(0, 150, 255, 0.22);
  margin-bottom: 18px;
}

.info-card p,
.feature-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-top: 3px;
}

.section-title {
  text-align: center;
  margin: 60px 0 26px;
}

.section-title p {
  color: var(--muted);
  margin: 8px 0 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Privacy accordion */

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

.accordion-item {
  border: 1px solid rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.86);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(10, 35, 90, 0.08);
  overflow: hidden;
  transition: 0.28s ease;
}

.accordion-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
}

.accordion-button h3 {
  font-size: 21px;
  margin: 0 0 4px;
}

.accordion-button span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.chevron {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(43,124,255,0.08);
  transition: 0.25s ease;
}

.accordion-item.open .chevron {
  transform: rotate(180deg);
  background: rgba(0,212,255,0.14);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.accordion-body p {
  padding: 0 98px 22px 70px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.update-badge {
  width: fit-content;
  margin: 28px auto 0;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(43,124,255,0.18);
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(10, 35, 90, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */

.footer {
  margin-top: 40px;
  color: white;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,212,255,0.16), transparent 22%),
    linear-gradient(135deg, #061431, #031026);
  padding: 62px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 18px;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
}

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

.footer a:hover {
  color: white;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  color: white;
  transition: 0.25s ease;
}

.social a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 38px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(0, 150, 255, 0.32);
  opacity: 0;
  transform: translateY(14px);
  transition: 0.25s ease;
  z-index: 900;
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) perspective(800px) rotateY(-10deg) rotateX(4deg); }
  50% { transform: translateY(-18px) perspective(800px) rotateY(-7deg) rotateX(2deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 18px rgba(0, 212, 255, 0); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(28px, -22px); }
}

/* Responsive */

@media (max-width: 980px) {
  .navbar { grid-template-columns: auto auto; }
  .mobile-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    background: rgba(5, 18, 48, 0.97);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 24px 50px rgba(0, 10, 35, 0.3);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .cards-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .device-card,
  .security-card {
    right: 50%;
    transform: translateX(50%);
    width: min(340px, 90vw);
  }

  @keyframes float {
    0%, 100% { transform: translateX(50%) translateY(0); }
    50% { transform: translateX(50%) translateY(-16px); }
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding-top: 130px;
    min-height: auto;
  }

  .hero p {
    font-size: 16px;
  }

  .section-card {
    padding: 22px;
  }

  .accordion-button {
    grid-template-columns: auto 1fr;
  }

  .chevron {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .accordion-body p {
    padding: 0 22px 22px;
  }
}
/* =========================================
   إصلاح شريط التنقل (Navbar) وإظهار اللوغو
   (بدون تغيير لون النافبار الأصلي)
   ========================================= */

/* 1. تنسيق الهيدر بالكامل */
.site-header {
  /* تم إزالة الخلفية والظل ليعود للونه الأصلي */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 2. ترتيب عناصر النافبار باستخدام الفليكس بوكس */
.navbar {
  display: flex;
  justify-content: space-between; /* يوزع العناصر: اللوغو يمين، الروابط يسار */
  align-items: center; /* توسيط عمودي لكل العناصر */
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. تنسيق حاوية اللوغو (Brand) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px; /* مسافة بين الصورة والنص */
  text-decoration: none;
  flex-shrink: 0;
}

/* 4. حجم صورة اللوغو */
.logo-mark img {
  height: 45px; /* يمكنك تعديل الحجم من هنا */
  width: auto;
  object-fit: contain;
}

/* 5. تنسيق النص بجانب اللوغو */
.brand-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  /* لم أحدد لوناً هنا ليتخذ اللون الافتراضي من ملف CSS الخاص بك */
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8; /* شفافية خفيفة بدلاً من تحديد لون قد لا يناسب خلفيتك */
}

/* 6. تنسيق الروابط */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.7; /* تأثير بسيط عند التمرير يتماشى مع أي لون */
}

/* 7. تنسيق أزرار البحث والقائمة */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn, .mobile-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2); /* إطار شفاف يتماشى مع الخلفيات الداكنة والفاتحة */
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-btn:hover, .mobile-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1); /* خلفية شفافة عند التمرير */
}

/* 8. إخفاء زر القائمة في الشاشات الكبيرة */
.mobile-toggle {
  display: none; 
}

/* 9. للتجاوب مع الجوال */
@media (max-width: 768px) {
  .nav-links {
    display: none; 
  }
  
  .mobile-toggle {
    display: flex; /* إظهار زر القائمة في الجوال */
  }

  .brand-subtitle {
    display: none; /* إخفاء العنوان الفرعي في الجوال */
  }
  
  .navbar {
    padding: 10px 15px;
  }
}
