#header {
  direction: rtl;
}


/* Reset و فونت */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  direction: rtl;
  background-color: #f8f9fa;
}
html, body {
  width: 100%;
}


     /* استایل های کلی */
     * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
      padding-top: 70px; /* برای جلوگیری از پوشیده شدن محتوا توسط منوی ثابت */
      min-height: 200vh; /* فقط برای دمو - حذف در کد واقعی */
  }
  
  /* استایل هدر و ناوبری */
  #header {
    
      position: sticky;
      top: 0;
      z-index: 1000;
      background-color: #ffffff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
      padding: 0.4rem 2rem;
      border-bottom: 5px solid #e4dcdc;
    
  }
  

  .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
  }

  .right-text img {
width: 60px;
  }

  .right-text, .left-text {
      font-weight: bold;
      color: #000000;
      white-space: nowrap;
  }
  
  /* استایل منوی اصلی */
  .nav-menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
  }
  
  .nav-item {
      position: relative;
      margin: 0 0.5rem;
  }
  
  .nav-link {
      display: block;
      padding: 1rem;
      color: #333;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
      cursor: pointer;
  }
  
  .nav-link:hover {
      color: #4a89dc;
  }
  
  /* استایل زیرمنو */
  .submenu {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: white;
      min-width: 200px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      list-style: none;
      z-index: 1000;
  }
  
  .has-submenu:hover .submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
  
  .submenu li {
      border-bottom: 1px solid #f1f1f1;
  }
  
  .submenu li:last-child {
      border-bottom: none;
  }
  
  .submenu a {
      display: block;
      padding: 0.8rem 1rem;
      color: #333;
      text-decoration: none;
      transition: background-color 0.3s;
  }
  
  .submenu a:hover {
      background-color: #f8f9fa;
      color: #4a89dc;
  }
  
  /* استایل دکمه همبرگری (برای موبایل) */
  .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 40px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
  }
  
  .hamburger span {
      width: 100%;
      height: 3px;
      background-color: #333;
      border-radius: 2px;
      transition: all 0.3s ease;
  }
  
  /* رسپانسیو برای تبلت و موبایل */
  @media (max-width: 992px) {
      .hamburger {
          display: flex;
      }
      
      .nav-menu {
          position: fixed;
          top: 0;
          right: -300px;
          width: 280px;
          height: 100vh;
          background-color: white;
          flex-direction: column;
          padding-top: 4rem;
          box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
          transition: right 0.3s ease;
          overflow-y: auto;
      }
      
      .nav-menu.active {
          right: 0;
      }
      
      .nav-item {
          margin: 0;
          width: 100%;
      }
      
      .nav-link {
          padding: 1rem 1.5rem;
          border-bottom: 1px solid #f1f1f1;
      }
      
      /* زیرمنو در حالت موبایل */
      .submenu {
          position: static;
          opacity: 1;
          visibility: visible;
          transform: none;
          box-shadow: none;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
      }
      
      .has-submenu.active .submenu {
          max-height: 500px;
      }
      
      .submenu a {
          padding: 0.8rem 2.5rem;
      }
      
      .left-text {
          display: none;
      }
  }
  
  @media (max-width: 576px) {
      .right-text {
          font-size: 0.9rem;
      }
  }


















body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #C0C0C0 0%, #696969 100%);
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.spacer {
  height: 20vh;
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  z-index: 2;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 30px;
  width: 350px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 60px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.card-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
}

.card-content {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #34495e;
  flex-grow: 1;
}

.card-button {
  background: linear-gradient(45deg, #778899, #bdc8d2d1);
  color: #2c3e50; /* رنگ آبی-خاکستری تیره */
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 117, 252, 0.6);
}

.additional-content {
  background: rgba(255, 255, 255, 0.9);
  margin: 50px auto;
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.additional-content h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.additional-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #34495e;
}

.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(-20px) rotate(10deg);
  }
  100% {
      transform: translateY(0) rotate(0deg);
  }
}

/* رسپانسیو برای تبلت */
@media (max-width: 900px) {
  .cards-container {
      flex-direction: column;
  }
  
  .card {
      width: 100%;
      max-width: 400px;
  }
  
  .spacer {
      height: 10vh;
  }
}

/* رسپانسیو برای موبایل */
@media (max-width: 480px) {
  .card {
      padding: 20px;
      min-height: 350px;
  }
  
  .card-icon {
      font-size: 10px;
      }

  .card-title {
      font-size: 30px;
  }
  
  .card-content {
      font-size: 14px;
  }
  
  .additional-content {
      padding: 20px;
      margin: 30px 20px;
  }
  
  .bg-circle {
      display: none;
  }
}

.more {
text-decoration: none;
color: #2c3e50;
}



/* استایل فوتر */
.footer {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: #fff;
    padding: 2rem 0 0;
    margin-top: auto;
    direction: rtl;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #4CAF50;
}

.footer-section p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.phone-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #4CAF50;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 8px;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #4CAF50;
}

.ig {
  width: 25px;
}

.whatsapp {
  width: 28px ;
}

.tel {
  width: 29px; ;
}


.about-text {
    text-align: justify;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form button {
    padding: 0.8rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #3e8e41;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        min-width: 100%;
    }
}
  

  /* ریسپانسیو */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
  }
  
  

  .consult-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #e91e63;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: bottom 0.3s ease;
  }
  
  .card-icon {
    display: flex;
    justify-content: center; /* افقی وسط */
    align-items: center;     /* عمودی وسط */
    margin-bottom: 10px;
  }
  
  .card-icon img {
    width: 50px;   /* سایز آیکون */
    height: 50px;  /* می‌تونی فقط width بدی تا تناسب حفظ شه */
    object-fit: contain;
  }
  

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.divider {
    height: 4px;
    width: 80px;
    background: #3498db;
    margin: 15px auto;
    border-radius: 2px;
}

.content {
    padding: 30px;
}

.text-box {
    background: #f8f9fa;
    border-right: 5px solid #57636a;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}






@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .content {
        padding: 20px;
    }
    
    .text-box {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .text-box {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .feature {
        flex: 1 1 100%;
    }
}


.container {
  text-align: center;
  padding: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 300px;
}












.page-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.business-name {
  background: linear-gradient(135deg, #008B8B 0%, #000000 100%);
    color: white;
  padding: 30px 20px;
  text-align: center;
}

.business-name h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.business-name p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.business-name strong {
  color: #8ddfff;
}

.services-section {
  padding: 40px 30px;
}

.section-title {
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #3498db;
  font-size: 1.8rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100px;
  height: 2px;
  background: #e74c3c;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px 20px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  background: #e8f4fc;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-item a {
  color: #2980b9;
  text-decoration: none;
  font-weight: 600;
  display: block;
  font-size: 1.2rem;
}

.service-item a:hover {
  color: #3498db;
}

.service-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 15px;
}

.advantages-section {
  padding: 40px 30px;
  background: #f8f9fa;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.advantage-box {
  text-align: center;
  padding: 25px 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 15px;
}

.advantage-title {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-section {
  padding: 40px 30px;
  text-align: center;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.contact-title {
  color: white;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1.8rem;
}

.contact-button {
  display: inline-block;
  background: white;
  color: #2980b9;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  background: #f1f1f1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.phone-icon {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .business-name h1 {
      font-size: 1.8rem;
  }
  
  .services-list {
      grid-template-columns: 1fr;
  }
  
  .advantages-grid {
      grid-template-columns: 1fr;
  }
  
  .section-title {
      font-size: 1.5rem;
  }
}