body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: #f9f9f9;            /* پس‌زمینه روشن */
  color: #333;
  padding-top: 140px;             /* فاصله برای هدر ثابت */
}

.intro-text {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C3E50;                  /* آبی نفتی (متن اصلی) */
  margin: 2rem auto;
  max-width: 800px;
  line-height: 1.8;
}
.intro-text span {
  color: #27ae60;                  /* سبز زمردی برای تأکید */
}

header {
  background-color: #2C3E50;       /* آبی نفتی */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;

  position: fixed;  /* 🔒 ثابت */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0.8rem 1.5rem;
}

.logo {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  height: 55px;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-top: 5px;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
}
.nav-links li a:hover {
  color: #3498db;                  /* آبی روشن */
  border-bottom: 2px solid #3498db;
}

/* دکمه همبرگر (فقط موبایل) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* حالت موبایل */
@media (max-width: 768px) {
  header nav {
    grid-template-columns: auto auto auto; /* لوگو - فضای خالی - دکمه */
  }

  .nav-links {
    display: none; /* پیش‌فرض بسته */
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* وقتی دکمه همبرگر زده میشه */
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }
}

/* Footer */
footer {
  background-color: #2C3E50;       /* آبی نفتی */
  color: white;
  padding: 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-column .badges img {
  max-width: 50px;
  margin-right: 0.5rem;
}

/* موبایل */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-about,
  .footer-contact,
  .footer-links {
    display: none;
  }

  .footer-badges,
  .footer-map {
    display: block;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

nav img {
  height: 50px;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* CTA */
.cta {
  background: #27ae60;             /* سبز زمردی */
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  max-width: 600px;
}

.cta button {
  background: white;
  color: #27ae60;
  border: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.cta button:hover {
  background: #e0e0e0;
  color: #2C3E50;                  /* آبی نفتی */
}

.team, .faq, .pricing, .product {
  background: white;
  margin-bottom: 2rem;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.video-container video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-item h4 {
  cursor: pointer;
  transition: color 0.3s;
}

.faq-item h4:hover {
  color: #27ae60;                  /* سبز زمردی */
}

.faq-item p {
  display: none;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }
}

/* Team slider */
.team-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}

.team-slider::-webkit-scrollbar {
  height: 8px;
}

.team-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.team-member {
  flex: 0 0 auto;
  width: 150px;
  scroll-snap-align: start;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h4 {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
}

/* Pricing slider */
.pricing-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}

.pricing-slider::-webkit-scrollbar {
  height: 8px;
}

.pricing-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.pricing-card {
  flex: 0 0 auto;
  width: 200px;
  background: white;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.pricing-card .price {
  font-size: 1rem;
  color: #27ae60;                  /* سبز زمردی */
  margin-bottom: 0.5rem;
}

.pricing-card .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2C3E50;             /* آبی نفتی */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.pricing-card .btn:hover {
  background: #3498db;             /* آبی روشن */
}

/* Animation */
@keyframes wink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.winking-text {
  animation: wink 0.5s infinite;
}
