* {
  margin: 0;
  padding: 0;
      font-family: 'Vazir';
  box-sizing: border-box;
}

html, body {
  background: white;
  color: #222;
  scroll-behavior: smooth;
  direction: rtl;
}
 h1 {
  display: flex;
  gap: 0.8rem;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  position:fixed;
  right:79px;
    
}


a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.navbar {
  background: #1f2e3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px #ff9800);
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  height: 2px;
  width: 0%;
  background: #ff9800;
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}



/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff9800, #f44336);
  color: white;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero-text {
  flex: 1;
  min-width: 280px;
    min-height: 250px; /* یا هر عدد مناسب دیگر */

}

.hero-text p {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  border-radius: 30px;
  border: 2px solid white;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.btn.primary {
  background-color: white;
  color: #f44336;
}

.btn.primary:hover {
  background-color: #ffd6cc;
  color: #c62828;
}

.btn.secondary {
  background-color: transparent;
  color: white;
}

.btn.secondary:hover {
  background-color: white;
  color: #d32f2f;
}

.hero-image {
  flex: 1;
  max-width: 400px;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    aspect-ratio: 4 / 2.5; /* یا نسبت مناسب تصویر شما */

  width: 100%;
  height: auto;
}

/* Features */
.features {
  padding: 3rem 1.5rem;
  text-align: center;
  background: #fff;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 12px;
}

.features p {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: #fefefe;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: #1f2e3c;
  color: white;
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.footer-column {
  padding: 20px;
  color: #fff;
  direction: rtl;
}

.footer-column p {
  font-size: 17px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 5px;
}
 .psan{
       font-size: 17px;
  margin-bottom: 15px;
  display: inline-block;
  padding-bottom: 5px;
 }
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 10px 0;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease, padding-right 0.3s;
  font-size: 16px;
}

.footer-column ul li a:hover {
  color: #ffcc00;
  padding-right: 8px;
}

.social-icons a {
  display: inline-block;
  margin-left: 0.5rem;
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

/* 🔧 Responsive Fixes */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }



  .nav {
    flex-direction: column;
    background: #1f2e3c;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
  }

  .nav.show {
    max-height: 400px;
  }

  .nav a {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 3rem 1rem;
  }



  .buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-image {
    margin-bottom: 2rem;
  }

 
    .hero-text p {
    font-size: 20px;
  }
  #maghaleh{
      width:90%;
      margin-right:5%;
      margin-left:5%;
  }
}
   h2 {
      font-size: 1.6rem;
      margin-top: 2rem;
    }
    h3 {
      font-size: 1.2rem;
      margin-top: 1.5rem;
    }
    ul {
      padding-right: 1.5rem;
    }
    a.button {
      display: inline-block;
      margin-top: 30px;
      padding: 12px 24px;
      background-color: #2563eb;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }
    a.button:hover {
      background-color: #1e40af;
    }
    #maghaleh {
      background-color: #fff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      margin-bottom: 30px;
      text-align:justify;
      border-radius:12px;
      padding: 30px;
      margin-top:20px;
    }
@media screen and (min-width:768px) {
    
    #maghaleh{
                    width:90%;
      margin-right:5%;
      margin-left:5%;
    }
    .hero{
                            width:90%;
      margin-right:5%;
      margin-left:5%;
    }

      .hero-text p {
    font-size: 2rem;
  }
  #menu-toggle{
      display:none;
  }
}
    .menu-toggle {
      width: 30px;
      height: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .menu-toggle span {
      display: block;
      height: 4px;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    #mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 16rem;
      height: 100%;
      z-index: 40;
      padding: 1.5rem;
      background-color: #001648;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    #mobile-menu.active {
      transform: translateX(0);
    }

    #mobile-menu nav {
      margin-top: 5rem;
      font-size: 0.95rem;
      font-weight: 500;
    }

    #mobile-menu nav a {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem;
      margin-bottom: 0.5rem;
      color: #f8fafc;
      text-decoration: none;
      transition: all 0.3s;
      border-bottom: 1px solid #001648;
    }

    #mobile-menu nav a i {
      color: #ff8400; /* طلایی */
      transition: color 0.3s;
    }

    #mobile-menu nav a:hover {
      transform: scale(1.03);
      border-bottom:1px solid #ff8400;
      color:#ff8400;
    }

    #mobile-menu nav a:hover i {
      color:#ff8400;
    }

    #overlay {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 30;
    }

    #overlay.active {
      display: block;
    }

  #keywords {
    font-family: 'Vazir', Tahoma, sans-serif;
    direction: rtl;
    padding: 20px;
    max-width: 1000px;
    margin: 40px auto;
    background-color: #fff;
  }

  #keywords h2 {
    text-align: center;
    color: #0a4dff;
    font-size: 24px;
    margin-bottom: 30px;
    border-bottom: 2px solid #0a4dff;
    display: inline-block;
    padding-bottom: 6px;
  }

  #keywords ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
  }

  #keywords ul li {
    background: #f7f9fc;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 17px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
  }

  #keywords ul li:hover {
    background: #d9ebff;
    border-color: #3399ff;
    color: #0a4dff;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
  }

  @media (max-width: 600px) {
    #keywords h2 {
      font-size: 20px;
      margin-bottom: 20px;
    }

    #keywords ul li {
      font-size: 16px;
      padding: 12px 18px;
    }
  }

