        :root {
            --bg-main: #f4f5f7;
            --bg-section: #ffffff;
            --bg-box: #f9fafb;
            --text-main: #1f2937;
            --text-muted: #4b5563;
            --gold: #b8962e;   
            --border: #e5e7eb;
            --accent: #7b7d82; 
            --info: #4b5563;
            --success: #059669;
            --danger: #dc2626;
        }

* {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #f2f2f2;
}

.paper {
  width: min(100% - 2rem, 900px);
  margin-inline: auto;
  margin-block: clamp(16px, 4vw, 50px);
  padding: clamp(16px, 4vw, 48px);
  background: #f8f7df10;
  line-height: 1.9;
  border-radius: clamp(6px, 2vw, 12px);
  box-shadow: 0 10px 30px rgba(128, 127, 127, 0.08);
}

h1 {
  text-align: center;
  font-size: clamp(22px, 5vw, 34px);
  margin-bottom: clamp(24px, 5vw, 50px);
}

h2 {
  font-size: clamp(17px, 3.5vw, 21px);
  margin-top: clamp(24px, 5vw, 40px);
  margin-bottom: 12px;
}

p, li {
  font-size: clamp(14px, 3.2vw, 16.5px);
  color: #333;
}

ul {
  padding-right: 1.2em;
}

.email {
  margin-top: 35px;
  text-align: right;
  font-weight: 800;
  color: rgb(54, 54, 206);
}

@media (max-width: 480px) {
  .paper { padding: clamp(12px, 5vw, 25px); margin-block: clamp(12px, 4vw, 20px); }
  h1 { font-size: clamp(20px, 6vw, 28px); }
  h2 { font-size: clamp(16px, 5vw, 19px); }
  p, li { font-size: clamp(13px, 4vw, 15px); }
  .email { margin-top: 35px; text-align: right; font-weight: 800; color: rgb(54, 54, 206); }
}

/* ===== Unified Header ===== */
.main-header {
  width: 100%;
  background: var(--bg-section, #fff);
  border-bottom: 1px solid var(--border, #e5e7eb);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
}
.logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.logo a { display: inline-block; text-decoration: none; }
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.logo a:hover img { opacity: 0.85; }
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: rtl;
}
.nav-container { position: relative; }
.nav-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main, #1f2937);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
  direction: rtl;
  min-height: 48px;
}
.nav-btn:hover { background: rgba(0,0,0,0.05); color: var(--gold, #b8962e); }
.nav-btn .arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid currentColor;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-container.open .nav-btn { background: rgba(0,0,0,0.05); color: var(--gold, #b8962e); }
.nav-container.open .nav-btn .arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-section, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  overflow: hidden;
  direction: rtl;
  text-align: right;
}
.nav-container.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  color: var(--text-main, #1f2937);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  transition: background 0.2s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--bg-box, #f9fafb); }
.nav-dropdown a.active { background: var(--gold, #b8962e); color: white; }

@media (max-width: 768px) {
  .header-container { padding: 10px 16px; min-height: 56px; }
  .logo { left: 16px; }
  .logo img { height: 42px; }
  .nav-btn { padding: 8px 14px; font-size: 0.9rem; }
  .nav-dropdown { min-width: 180px; }
  .nav-dropdown a { padding: 11px 14px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .header-container { padding: 8px 12px; min-height: 50px; }
  .logo { left: 12px; }
  .logo img { height: 34px; }
  .nav-wrapper { gap: 2px; }
  .nav-btn { padding: 6px 10px; font-size: 0.8rem; gap: 4px; min-height: 40px; }
  .nav-dropdown { min-width: 160px; }
  .nav-dropdown a { padding: 10px 12px; font-size: 0.8rem; }
}
@media (max-width: 360px) {
  .logo img { height: 30px; }
  .nav-btn { padding: 5px 8px; font-size: 0.74rem; gap: 3px; }
}