/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: Arial,sans-serif;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth; /* للتمرير السلس */
}
a { text-decoration: none; transition: color 0.3s ease; }
h1,h2 { color: #003399; }
.container {
  padding: 60px 30px;
  max-width: 1200px;
  margin: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #001A4D;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
}
.nav-logo {
  color: #FFD700;
  font-size: 22px;
  font-weight: bold;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.nav-menu li { position: relative; }
.nav-menu a {
  color: white;
  font-weight: 500;
  padding: 6px 0;
  display: block;
}
.nav-menu a:hover {
  color: #FFD700;
}

/* ===== DROPDOWN ===== */
.has-dropdown > a::after {
  content: "";
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  display: block;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  border-radius: 4px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0);
}
.dropdown li { border-bottom: 1px solid #eee; }
.dropdown li:last-child { border-bottom: none; }
.dropdown a {
  color: #001A4D;
  padding: 10px 14px;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
}
.dropdown a:hover { background: #F2F2F2; color: #003399; }

/* ===== FOOTER ===== */
.footer { background: #001A4D; color: white; padding: 30px; text-align: center; }

/* ===== BUTTON ===== */
.btn-main {
  background: #FFD700;
  color: #001A4D;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
}
.btn-main:hover { background: #FFC200; }