 body{
    font-family:'Vazirmatn', sans-serif; 
    background:#0B1C2D; 
    color:white; 
    margin:0; 
    padding:0px;
    
            
  }
 
 
 
 /* نوار بالایی */

  .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;
    color: #000;
     
}
  .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;
}
/*پایان هدر*/
 






        .container {
            width: 90%;
            max-width: 1200px;
            margin: auto;
        }

        .hero {
            background: linear-gradient(135deg, #0f172a, #005baa);
            color: white;
            padding: 80px 20px;
            text-align: center;
            border-radius: 0 0 30px 30px;
        }

        .hero h1 {
            font-size: 42px;
            margin-bottom: 20px;
        }

        .hero p {
            font-size: 18px;
            opacity: 0.9;
            max-width: 700px;
            margin: auto;
        }

        .section {
            padding: 50px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 28px;
            font-weight: 700;
            color: #005baa;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            transition: 0.3s;
        }

        .card:hover {
            transform: translateY(-8px);
        }

        .card h3 {
            margin-bottom: 15px;
            color: #005baa;
        }

        .card p {
            font-size: 15px;
            line-height: 1.8;
            color: #475569;
        }

      .about {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            line-height: 2;
            font-size: 16px;
            color: #334155;
        }
        .stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 40px;
        }

        .stat {
            background: #005baa;
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            width: 220px;
        }

        .stat h2 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .btn {
            display: inline-block;
            margin-top: 30px;
            padding: 12px 28px;
            background: #005baa;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            transition: 0.3s;
        }

        .btn:hover {
            background: #005baa;
        }
        /* ===== اساتید ===== */
.staff{
    background:#f7f9fc;
    padding: 50px;
}
.slider{
    position:relative;
    height:520px;
}
.slide{
    position:absolute;
    border-radius:10px;
    overflow:hidden;
    display:none;
    transition:all 1s ease;
    box-shadow:0 18px 40px rgba(0,0,0,.25);
    margin-left: 40px;
}
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* موقعیت‌ها */
.left2{width:180px;height:270px;left:0;top:50%;transform:translateY(-50%);opacity:.4;display:block}
.left1{width:200px;height:300px;left:20%;top:50%;transform:translateY(-50%);opacity:.6;display:block}
.center{width:330px;height:480px;left:50%;top:50%;transform:translate(-50%,-50%);display:block;z-index:3}
.right1{width:200px;height:300px;left:65%;top:50%;transform:translateY(-50%);opacity:.6;display:block}
.right2{width:180px;height:270px;left:85%;top:50%;transform:translateY(-50%);opacity:.4;display:block}

.caption{
    position:absolute;
    bottom:75px;
    width:100%;
    text-align:center;
    color:#fff;
    font-weight:bold;
    text-shadow:2px 2px 6px rgba(0,0,0,.8);
}
/* =====================
   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;
}