}
important.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-img-wrapper img {
  transition: transform 0.4s ease;
}

.portfolio-img-wrapper:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img-wrapper:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}


/* کارت‌های قیمت */
.pricing-card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pricing-card ul {
  padding-left: 0;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  color: #444;
  list-style: none;
}

.pricing-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* دکمه‌ها */
.custom-btn {
  border-radius: 6px !important;
  padding: 8px 18px;
  font-weight: bold;
  background-color:red;
}

.custom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
/* قیمت قدیمی خط‌دار */
.old-price, 
.price-box .old-price, 
.card .old-price {
  display: inline-block !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 2px !important; /* خط کمی ضخیم‌تر */
  color: #999 !important;
  font-size: 1rem !important;
  margin-bottom: 5px !important;
}

/* قیمت جدید برجسته‌تر */
.new-price, i
.price-box .new-price {
  display: inline-block !important;
  color: #28A745 !important; /* آبی بوت‌استرپ */
  font-weight: bold !important;
  font-size: 1.2rem !important;
  margin-left: .5rem;
}

/* رنگ تیترها */
h1, h2, h3, h4, h5, h6 {
  color: #333333 !important; /* رنگ دلخواه */
  font-weight: bold !important;
}
/* ===============================
   دکمه‌های سایت (سرمه‌ای)
=============================== */

/* دکمه اصلی – سرمه‌ای */
.btn-primary,
button.btn-primary,
a.btn-primary {
  background-color: #003366 !important; /* سرمه‌ای */
  border-color: #003366 !important;
  color: #fff !important;
}

/* دکمه اصلی در حالت Hover – تیره‌تر */
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background-color: #002244 !important; /* سرمه‌ای تیره‌تر */
  border-color: #002244 !important;
  color: #fff !important;
}

/* دکمه outline (مشاوره رایگان) */
.btn-outline-primary,
button.btn-outline-primary,
a.btn-outline-primary {
  background-color: transparent !important;
  border-color: #28a745 !important; /* سبز */
  color: #28a745 !important;
}

/* دکمه outline در حالت Hover */
.btn-outline-primary:hover,
button.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background-color: #28a745 !important;
  color: #fff !important;
  border-color: #28a745 !important;
}

/* کارت‌ها */
#testimonials .testimonial-card {
  border: none !important;
  border-radius: 12px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  background: #fff !important;
}

#testimonials .testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

/* متن داخل کارت */
#testimonials .testimonial-text {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin-bottom: 1.2rem !important;
}

/* اسم مشتری */
#testimonials h5 {
  font-weight: 600 !important;
  margin-bottom: 0.3rem !important;
  color: #222 !important;
}

/* سمت/شرکت مشتری */
#testimonials small {
  color: #777 !important;
  font-size: 0.85rem !important;
}

/* کنترل‌های Carousel */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: #333 !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  #testimonials .col-md-4 { flex: 0 0 50% !important; max-width: 50% !important; }
}

@media (max-width: 576px) {
  #testimonials .col-md-4 { flex: 0 0 100% !important; max-width: 100% !important; }
}
/* استایل کلی آکاردئون */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* دکمه هدر */
.accordion-button {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* حالت هاور دکمه */
.accordion-button:hover {
  background-color: #002244; /* کمی تیره‌تر از #003366 */
}

/* دکمه وقتی باز نیست */
.accordion-button.collapsed {
  background-color: #003366;
  color: #fff;
}

/* متن بدنه */
.accordion-body {
  background-color: #f9f9f9;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
  padding: 15px 20px;
}
/* آیکن فلش در هر دو حالت */
.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-size: 1.25rem;
  background-repeat: no-repeat;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
  transform: rotate(0deg); /* پایین */
  transition: transform 0.3s ease;
  filter: brightness(1.2); /* برای خوانایی روی رنگ سرمه‌ای */
}

/* وقتی باز است (چرخش بالا) */
.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* بالا */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
}
/* جدول سرمه‌ای */
.table-navy {
    border: 2px solid #001f3f; /* حاشیه جدول */
}

.table-navy thead {
    background-color: #001f3f; /* هدر سرمه‌ای تیره */
    color: #fff; /* متن سفید */
}

.table-navy tbody tr:nth-child(odd) {
    background-color: #f2f6fa; /* ردیف‌های روشن‌تر */
}

.table-navy tbody tr:nth-child(even) {
    background-color: #e6edf6; /* ردیف‌های کمی متفاوت */
}

.table-navy tbody tr:hover {
    background-color: #cce0ff; /* رنگ هاور سرمه‌ای روشن */
}

.table-navy th, .table-navy td {
    vertical-align: middle;
    border: 1px solid #001f3f; /* خطوط داخلی */
}

/* دکمه‌ها */
.table-navy .btn-primary {
    background-color: #001f3f;
    border-color: #001f3f;
    color: #fff;
}

.table-navy .btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}

.order-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 100%;
    margin: 0 auto; /* وسط افقی */
}

.btn-navy {
    background-color: #001f3f;
    color: #fff;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-navy:hover {
    background-color: #012a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* ======= کارت‌ها ======= */
.pricing-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ======= قیمت‌ها ======= */
.price-box {
  font-size: 1.2rem;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.new-price {
  color: #28a745; /* سبز برای تخفیف */
  font-weight: bold;
}

/* ======= دکمه‌ها ======= */
.custom-btn {
  border-radius: 6px;
  padding: 10px 20px;
  min-width: 130px;
  transition: all 0.3s ease;
}

.custom-btn.btn-primary {
  background-color: #003366; /* سرمه‌ای */
  border-color: #003366;
  color: #fff;
}

.custom-btn.btn-primary:hover {
  background-color: #002244;
  border-color: #002244;
}

.custom-btn.btn-outline-primary {
  color: #003366;
  border-color: #003366;
}

.custom-btn.btn-outline-primary:hover {
  background-color: #003366;
  color: #fff;
}

/* ======= جزئیات کشویی ======= */
.collapse .card-body {
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 15px;
  font-size: 0.95rem;
}

/* ======= متن کارت ======= */
.pricing-card .card-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: #003366;
}

.pricing-card ul li {
  margin-bottom: 5px;
}

/* ======= مرکز چین کردن دکمه‌ها ======= */
.pricing-card .mt-auto {
  display: flex;
  justify-content: center;
  gap: 10px;
}
/* قیمت قدیم */
.old-price {
  text-decoration: line-through;
  color: #999;
  margin-left: 5px;
}

/* قیمت جدید */
.new-price {
  color: #28a745; /* سبز */
  font-weight: bold;
}
.features-list {
  direction: rtl;
  text-align: right;
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list {
  direction: rtl;
  text-align: right;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list .feature-yes::before {
  content: "✔";
  color: #28a745 !important; /* سبز */
  font-weight: bold;
  margin-left: 6px;
  display: inline-block;
  width: 1em;
}

.features-list .feature-no::before {
  content: "✖";
  color: #dc3545 !important; /* قرمز */
  font-weight: bold;
  margin-left: 6px;
  display: inline-block;
  width: 1em;
}

.btn-close-details {
  background-color: #003366 !important; /* سرمه‌ای */
  color: #fff !important;
  border: none;
  padding: 6px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}
.btn-close-details:hover {
  background-color: #002244 !important;
}

.hero-section {
    padding: 80px 20px;
    background-color: #f5f7fa;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.hero-text {
    flex: 1 1 500px;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.hero-text h1 {
    color: #1b365d;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-btn {
    padding: 12px 25px;
    margin-right: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary.hero-btn {
    background-color: #1b365d;
    color: #fff;
}

.btn-primary.hero-btn:hover {
    background-color: #16304b;
}

.btn-outline-primary.hero-btn {
    border: 2px solid #1b365d;
    color: #1b365d;
    background: transparent;
}

.btn-outline-primary.hero-btn:hover {
    background-color: #1b365d;
    color: #fff;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* انیمیشن هنگام اسکرول */
.hero-text.wow.fadeInLeft,
.hero-image.wow.fadeInRight {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ریسپانسیو */
@media(max-width: 900px) {
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1rem; }
    .hero-btn { margin: 10px 5px 0 5px; }
}
/* نوار CTA */
.cta-section {
  background-color: #1b365d; /* سرمه‌ای */
  padding: 25px 20px;
  text-align: center;
  margin-top: 50px;
}

.cta-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.cta-text {
  color: #fff;
  font-size: 18px;
  margin: 0 0 15px;
  font-weight: bold;
}

.cta-btn {
  display: inline-block;
  background-color: #28a745; /* سبز */
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-size
}

.faq-section {
  background-color: #1b2236; /* پس‌زمینه سرمه‌ای کل بخش */
  padding: 60px 20px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05); /* افکت شفاف */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* سایه برجسته */
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  gap: 20px;
  color: #ffffff;
}

.faq-card h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

.faq-card p, .faq-card li {
  font-size: 16px;
  line-height: 1.6;
}

.faq-card ul {
  padding-left: 20px;
  list-style: disc;
}

.faq-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.faq-text {
  flex: 1;
}

/* ریسپانسیو موبایل */
@media screen and (max-width: 991px) {
  .faq-card {
    flex-direction: column; /* در موبایل عکس زیر متن */
    text-align: center;
    padding: 15px;
  }

  .faq-image img {
    max-width: 100%;
    margin-top: 15px;
  }
  
.faq-card {
    display: flex;
    flex-direction: column;
    height: auto !important;
    overflow: visible !important;
}

.faq-text {
    flex: 1 1 auto;
}

.custom-faq-table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'IRANSans', sans-serif;
}

.custom-faq-table thead th {
    background-color: #1b365d;
    color: #fff;
    padding: 12px 15px;
    text-align: right;
    font-size: 1rem;
}

.custom-faq-table tbody td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: right;
    vertical-align: top;
    background-color: #f9f9f9;
    direction: rtl;
}

.custom-faq-table tbody tr:nth-child(even) td {
    background-color: #f1f1f1;
}

.custom-faq-table tbody tr:hover td {
    background-color: #e6f0ff;
}
