  /* نوار بالایی */
  .top-bar {
    background: #005baa;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    z-index: 1002;
  }
  .top-bar a { color:white; text-decoration:none; margin-left:10px; line-height:35px; }

  /* هدر */
  .header {
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 20px;
    height:60px;
    position: fixed;
    top:35px; 
    left:0;
    right:0;
    z-index:1002;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
    direction: ltr;
  }
  .header .logo-section {
    display:flex; 
    align-items:center; 
    gap:10px; 
    direction: rtl;
     
}
  .header .logo-section img { 
    height:50px; 
  }
  
  .header .logo-section img { 
    height:50px; 
  }
  .header .nav { 
    display:flex; 
    align-items:center; 
    gap:5px; 
    order:1; 
    direction: rtl;
}
  .header .nav a { 
    text-decoration:none; 
    color:#333; 
    font-weight:600; 
    line-height:60px; 
    line-height: 45px;
    padding: 0 6px;
}
.dropdown {
  position: relative;
  display: inline-block;
  
}

.dropdown-content {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 2100;
  border-radius: 6px;
  margin: 0;              /* حذف فاصله اضافی */
  padding: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
  max-height: 80vh;      /* حداکثر 70٪ ارتفاع صفحه */
  overflow-y: auto; 
  direction: rtl;
  text-align: right;
}
.dropdown-content a {
  display: block;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
  line-height: 40px;
  padding: 0 15px;
}
.dropdown-content a:hover {
  background: #f0f0f0;
  cursor: pointer;
}
 .header {
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 20px;
    height:60px;
    position: fixed;
    top:35px;
    left:0; right:0;
    z-index:1002;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
 }
  .menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/*پایان*/


/* فاصله از هدر ثابت */
.main-content {
  margin-top: 120px;
  padding: 40px 20px;
  background: #f7f9fc;
  font-family: 'Vazirmatn', sans-serif;
}

/* عنوان صفحه */
.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 10px;
}

.page-title p {
  color: #555;
  font-size: 15px;
}

/* کارت‌ها */
.policy-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.policy-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.policy-card h3 {
  color: #005baa;
  font-size: 18px;
  margin-bottom: 10px;
}

.policy-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
}

.policy-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

/* دکمه‌ها */
.policy-actions {
  margin-top: 18px;
}

.policy-actions a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  margin-left: 8px;
}

.view-btn {
  background: #005baa;
  color: white;
}

.download-btn {
  border: 1px solid #005baa;
  color: #005baa;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: #0a2540;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .about,
    .mvv,
    .stats,
    .team-members {
        flex-direction: column;
    }
}
:root {
  --primary: #0b3c5d;
  --accent: #e6b31e;
  --light: #f1f6f9;
  --muted: #b8c7d6;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #eef2f6;
}

.footer {
  position: relative;
  background: linear-gradient(180deg, var(--primary), #114ce5);
  color: var(--light);
  padding: 90px 20px 25px;
  overflow: hidden;
}

/* Decorative shapes */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.footer::before {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -120px;
  right: -120px;
}

.footer::after {
  width: 260px;
  height: 260px;
  background: #ffffff;
  bottom: -100px;
  left: -100px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 45px;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Brand */
.brand h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.brand span {
  color: var(--accent);
  font-size: 14px;
  display: block;
  margin-bottom: 16px;
  
}

.brand p {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
  max-width: 360px;
  margin-left: 50px
}

/* Titles */
.footer h3 {
  font-size: 15px;
  margin-bottom: 22px;
  position: relative;
}

.footer h3::after {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--accent);
  position: absolute;
  right: 0;
  bottom: -9px;
  border-radius: 3px;
}

/* Lists */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: var(--accent);
  padding-right: 10px;
}

/* Contact */
.contact p {
  font-size: 14px;
  margin: 8px 0;
  color: var(--muted);
}

.contact strong {
  color: var(--accent);
}

/* Newsletter */
.newsletter {
  margin-top: 18px;
}

.newsletter input {
  width: 90%;
  padding: 13px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
}

.newsletter button {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #f2c94c);
  font-weight: bold;
  cursor: pointer;
}

/* Social */
.social {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social a:hover {
  background: var(--accent);
  color: #000;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}

.footer-bottom a:hover {
  color: var(--accent);
}
.footer {
  direction: rtl;
  text-align: right;
}
