/* main.css */
body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: #fff;
  color: #1c1c1c;
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: bold;
  margin-bottom: 20px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li a {
  color: #1c1c1c;
  font-weight: 500;
}

.nav-list li a:hover {
  color: #FF8C00;
}

/* هدر با گرادیان قرمز–آبی */
.site-header {
  background: linear-gradient(90deg, #ff0000, #0000ff);
  padding: 15px 0;
  color: #fff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* شماره‌ها زیر هم با لینک تماس */
.header-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-box {
  border: 2px solid #fff;
  padding: 6px 15px;
  border-radius: 6px;
  font-weight: bold;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.3s;
}

.phone-box:hover {
  background: rgba(255,255,255,0.3);
}

/* اسم سایت با استایل شیک */
.site-title-link {
  border: 3px double #fff;
  padding: 12px 25px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 15px rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}

.site-title-link:hover {
  background: rgba(255,255,255,0.3);
  color: #ffeb3b;
  text-shadow: 0 0 10px #fff;
}

/* دکمه درخواست سرویس سبز چشمک‌زن */
.btn-service {
  border: 2px solid #fff;
  padding: 8px 20px;
  border-radius: 8px;
  background: #28a745; /* سبز */
  color: #fff;
  font-weight: bold;
  animation: blink 1.5s infinite;
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
  transition: transform 0.3s ease;
}

.btn-service:hover {
  transform: scale(1.05);
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
/* Footer base */
.site-footer {
  background: linear-gradient(90deg, #ff0000, #0000ff);
  padding: 40px 0;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Glass box style */
.footer-col {
  padding: 20px;
  border-radius: 12px;
}

.glass-box {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  color: #fff;
}

/* Titles */
.footer-title {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.footer-block {
  margin-top: 18px;
}

.footer-block-title {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #fff;
}

/* Paragraph */
.footer-text {
  color: #fff;
  line-height: 1.9;
}

/* Lists */
.article-list,
.contact-list,
.social-list,
.custom-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-item,
.contact-item,
.social-item,
.custom-link-item {
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  padding: 8px 12px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.article-item a,
.contact-item a,
.social-item a,
.custom-link-item a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.article-item:hover,
.contact-item:hover,
.social-item:hover,
.custom-link-item:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* Icon size (Font Awesome) */
.footer-title i,
.footer-block-title i,
.article-item i,
.contact-item i,
.social-item i,
.custom-link-item i {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
/* جداکننده باریک بین هدر و Hero */
.header-separator {
  height: 2px;
  background: rgba(0,0,0,0.7);
}

/* Hero Section */
.fidarro-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.fidarro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e53935 0%, #1e3a8a 100%);
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#fidarro-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* محتوای Hero */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 24px;
  color: #fff;
}
.hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-content h1 i.fa-motorcycle {
  margin-left: 8px;
  font-size: 32px;
  display: inline-block;
  animation: ride 1.8s infinite ease-in-out;
  position: relative;
}
@keyframes ride {
  0%   { transform: translateX(0) rotate(0deg); }
  25%  { transform: translateX(2px) rotate(-3deg); }
  50%  { transform: translateX(0) rotate(0deg); }
  75%  { transform: translateX(-2px) rotate(3deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

/* دود پشت موتور */
.hero-content h1 i.fa-motorcycle::after {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: rgba(200,200,200,0.7);
  border-radius: 50%;
  animation: smoke 2s infinite;
}
@keyframes smoke {
  0%   { transform: scale(0.5) translateY(0); opacity: 0.8; }
  50%  { transform: scale(1.2) translateY(-10px); opacity: 0.4; }
  100% { transform: scale(1.8) translateY(-20px); opacity: 0; }
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* CTA چشمک‌زن */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #22c55e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(34,197,94,0.55);
}
.blink { animation: blink 1.35s infinite; }
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 17px; }
}
@media (max-width: 576px) {
  .fidarro-hero { min-height: 70vh; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
}
/* سکشن چرا فیدارو با پس‌زمینه هماهنگ */
.why-fidarro {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e53935 0%, #1e3a8a 100%);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* کادر تیتر با آیکون */
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title i {
  font-size: 28px;
  color: #fff;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* گرید آیتم‌ها */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* بلوک‌ها با پس‌زمینه نیمه‌شفاف */
.why-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.why-item i {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 20px;
}

.why-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.why-item p {
  font-size: 16px;
  color: #f1f5f9;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.fidarro-counter {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e53935 0%, #1e3a8a 100%);
  text-align: center;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title i {
  font-size: 28px;
  color: #fff;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.counter-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.counter-item:hover {
  transform: translateY(-5px);
}

.counter-item i {
  font-size: 40px;
  color: #fff;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.counter-item .counter {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

.counter-item p {
  font-size: 16px;
  color: #f1f5f9;
}

/* ریسپانسیو: 3 ردیف 2تایی */
@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fidarro-testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #e53935 100%);
  text-align: center;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title i {
  font-size: 28px;
  color: #fff;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* سکشن و تیتر */
.fidarro-testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #e53935 100%);
  text-align: center;
}

.fidarro-testimonials .section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.fidarro-testimonials .section-title i {
  font-size: 24px;
  color: #fff;
}
.fidarro-testimonials .section-title h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* گرید دسکتاپ: 6 ستون */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}

/* کارت نظر */
.testimonial-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* عکس گرد با حلقه رنگی */
.testimonial-item img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 3px solid transparent;
  background: linear-gradient(90deg, #e53935, #1e3a8a) border-box;
}

/* نام مشتری */
.testimonial-item .customer-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

/* آیکون نقل‌قول واترمارک */
.testimonial-item i.fa-quote-left {
  font-size: 40px;
  color: rgba(255,255,255,0.15);
  position: absolute;
  top: 15px;
  left: 15px;
}

/* متن نظر */
.testimonial-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #f1f5f9;
  margin-top: 20px;
}

/* رسپانسیو: موبایل و تبلت */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-item {
    display: none;
  }
  .testimonial-item.active {
    display: block;
    animation: fadeInUp 500ms ease both;
  }
}

/* انیمیشن ورود */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fidarro-steps {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e53935 0%, #1e3a8a 100%);
  text-align: center;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title i {
  font-size: 28px;
  color: #fff;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
/* گرید دسکتاپ */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

/* کارت مرحله */
.step-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 30px 20px;
  width: 220px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* آیکون مرحله */
.step-item .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e53935, #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 15px;
  color: #f1f5f9;
  line-height: 1.8;
}

/* فلش‌ها داخل کادر سبز */
.arrow {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 128, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff7f;
  font-size: 26px;
  animation: blink 1s infinite;
  box-shadow: 0 4px 12px rgba(0,255,127,0.3);
}

/* فلش چشمک زن */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* تیک سبز مرحله آخر */
.arrow.success {
  background: rgba(0, 128, 0, 0.4);
  color: #00ff7f;
  font-size: 28px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* رسپانسیو موبایل */
@media (max-width: 992px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step-item, .arrow {
    width: 80%;
    max-width: 320px;
    display: none;
    justify-content: center;
  }

  .step-item.active,
  .arrow.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 600ms ease both;
  }

  /* فلش‌ها وسط‌چین و چشمک‌زن */
  .arrow.active {
    margin: 10px 0;
    animation: blink 1s infinite; /* اضافه شد */
  }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fidarro-faq {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #e53935 100%);
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title i {
  font-size: 28px;
  color: #fff;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* آیتم سوال */
.fidarro-faq {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #e53935 100%);
}

/* تیتر وسط */
.section-title.center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title.center i {
  font-size: 28px;
  color: #fff;
}
.section-title.center h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* آیتم سوال */
.faq-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.faq-question span i {
  margin-left: 8px;
  color: #00ff7f; /* آیکون سبز مرتبط با سوال */
}
.faq-question i.fa-plus,
.faq-question i.fa-minus {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
  transition: all 0.4s ease;
}
.faq-answer p {
  color: #f1f5f9;
  font-size: 15px;
  line-height: 1.8;
  margin: 15px 0;
}

/* حالت باز */
.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding: 0 20px 20px;
}
.faq-item.open .faq-question i.fa-minus {
  transform: rotate(180deg);
}

/* انیمیشن مدرن */
.faq-item.open {
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transform: scale(1.02);
}

/* رسپانسیو */
@media (max-width: 768px) {
  .faq-question {
    font-size: 14px;
  }
  .faq-answer p {
    font-size: 14px;
  }
}

/* منوی شناور پایین */
.fidarro-bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 65px;
  background: linear-gradient(135deg, #1e3a8a, #e53935);
  display: none; /* فقط در موبایل */
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  z-index: 999;
}

.fidarro-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
}

.fidarro-bottom-nav .nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.fidarro-bottom-nav .nav-item:hover i {
  transform: scale(1.2);
  color: #00ff7f;
}
.fidarro-bottom-nav .nav-item:hover span {
  color: #00ff7f;
}

/* دکمه وسط بزرگ‌تر و سبز */
.fidarro-bottom-nav .center-btn i {
  font-size: 28px;
  background: #00ff7f;
  color: #1e3a8a;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 12px rgba(0,255,127,0.6);
}
.fidarro-bottom-nav .center-btn span {
  font-weight: 700;
}

/* فقط در موبایل */
@media (max-width: 992px) {
  .fidarro-bottom-nav {
    display: flex;
  }
}

/* دکمه هدایت به بالا */
.scroll-top {
  position: fixed;
  bottom: 90px; /* کمی بالاتر از منوی شناور */
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff7f, #1e3a8a);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 20px;
  display: none; /* پیش‌فرض مخفی */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 998;
}

/* افکت hover */
.scroll-top:hover {
  transform: scale(1.15) rotate(10deg);
  background: linear-gradient(135deg, #1e3a8a, #e53935);
}

/* انیمیشن نمایان شدن */
.scroll-top.show {
  display: flex;
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  body {
    padding-bottom: 70px; /* دقیقاً به اندازه ارتفاع منوی ناوبری */
  }
}


/* سکشن */
.fidarro-articles {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e53935, #1e3a8a);
}

/* تیتر سکشن */
.section-title.center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title.center i { font-size: 28px; color: #fff; }
.section-title.center h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0; }

/* گرید دسکتاپ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* کارت مقاله */
.article-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* مربع تصویر */
.article-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* محتوا */
.article-content { 
  padding: 20px; 
  text-align: center;
}
.article-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 10px;
  background: #fff; /* کادر سفید */
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.article-content h3 a {
  color: #1e3a8a;
  text-decoration: none;
}
.article-content h3 a:hover {
  color: #e53935;
}

/* دکمه مشاهده مقاله */
.read-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #00ff7f;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  margin: 0 auto;
  transition: background 0.3s ease;
}
.read-more:hover { background: #fff; color: #e53935; }
.read-more i { font-size: 16px; }

/* دکمه مشاهده بیشتر */
.load-more {
  display: none;
  margin: 30px auto 0;
  padding: 10px 20px;
  border-radius: 8px;
  background: #00ff7f;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.load-more:hover { background: #fff; color: #e53935; }
.load-more i { margin-left: 6px; }

/* موبایل: فقط ۲ مقاله آخر + دکمه */
@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid .article-card {
    display: none;
  }

  .articles-grid .article-card:nth-last-child(-n+2) {
    display: block;
  }

  .load-more {
    display: block;
  }
}


/* سکشن برندها */
.fidarro-brands {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

/* تیتر سکشن */
.section-title.center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.section-title.center i { font-size: 28px; color: #fff; }
.section-title.center h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0; }

/* گرید برندها */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* دسکتاپ: ۸ ستون */
  gap: 20px;
}

/* کارت برند */
.brand-card {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.22);
}

/* تصویر برند مربع */
.brand-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.brand-img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* عنوان برند */
.brand-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #e5e7eb;
  margin-top: 12px;
  line-height: 1.4;
}

/* رسپانسیو: تبلت و موبایل → ۴ ستون (۲ ردیف ۴تایی) */
@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr); /* ۴ ستون */
  }
}
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr); /* موبایل هم ۴ ستون → ۲ ردیف ۴تایی */
  }
}

/* صفحه 404 – همه چیز داخل fidarro-404 */
.fidarro-404 {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  text-align: center;
  color: #fff;
}

/* بخش بالای 404 */
.fidarro-404 .error-hero .error-code {
  font-size: 120px;
  font-weight: 900;
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56,189,248,0.7);
  margin: 0;
}
.fidarro-404 .error-hero .error-code i {
  margin-right: 10px;
  color: #facc15;
}

.fidarro-404 .error-hero .error-message {
  font-size: 20px;
  margin: 20px 0;
}
.fidarro-404 .error-hero .error-message i {
  margin-right: 8px;
  color: #f87171;
}

.fidarro-404 .error-hero .btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.fidarro-404 .error-hero .btn-back i {
  margin-right: 8px;
}
.fidarro-404 .error-hero .btn-back:hover {
  background: #0ea5e9;
  color: #fff;
}

/* آخرین نوشته‌ها */
.fidarro-404 .latest-posts {
  margin-top: 80px;
}
.fidarro-404 .latest-posts h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
}
.fidarro-404 .latest-posts h2 i {
  margin-right: 10px;
  color: #38bdf8;
}

/* گرید نوشته‌ها */
.fidarro-404 .posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* دسکتاپ: ۴ ستون */
  gap: 20px;
}

/* کارت نوشته */
.fidarro-404 .post-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fidarro-404 .post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* کادر تصویر شاخص مربع */
.fidarro-404 .post-thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* مربع ثابت */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.fidarro-404 .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* تصویر کامل داخل مربع */
  object-position: center;
}
.fidarro-404 .post-thumb i {
  font-size: 60px;
  color: #9ca3af;
}

/* عنوان نوشته */
.fidarro-404 .post-title {
  font-size: 16px;
  font-weight: 700;
  padding: 12px;
  color: #fff;
  line-height: 1.4;
}
.fidarro-404 .post-title i {
  margin-right: 6px;
  color: #facc15;
}

/* رسپانسیو: موبایل → ۲ ستون (۲ سطر ۲تایی) */
@media (max-width: 768px) {
  .fidarro-404 .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* صفحه اختصاصی سرچ */
.fidarro-page-search {
  padding: 120px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  text-align: center;
  color: #fff;
}

.fidarro-page-search .search-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}
.fidarro-page-search .search-hero p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #e5e7eb;
}

/* فرم کپسولی */
.fidarro-page-search .search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50px;
  padding: 8px 16px;
  width: 70%;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.fidarro-page-search .search-form i {
  font-size: 20px;
  color: #0f172a;
  margin: 0 10px;
}

.fidarro-page-search .search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 50px;
}

.fidarro-page-search .search-form button {
  background: #38bdf8;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.fidarro-page-search .search-form button i {
  color: #fff;
}
.fidarro-page-search .search-form button:hover {
  background: #0ea5e9;
}

/* رسپانسیو */
@media (max-width: 768px) {
  .fidarro-page-search .search-form {
    width: 100%;
  }
}

/* صفحه نتایج جستجو */
.fidarro-search {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
}

.fidarro-search .search-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}

.fidarro-search .search-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* دسکتاپ: ۴ ستون */
  gap: 20px;
}

.fidarro-search .search-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fidarro-search .search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.fidarro-search .search-thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* مربع ثابت */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
}
.fidarro-search .search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.fidarro-search .search-thumb i {
  font-size: 60px;
  color: #9ca3af;
}

.fidarro-search .search-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}
.fidarro-search .search-excerpt {
  font-size: 14px;
  margin-top: 8px;
  color: #e5e7eb;
}

/* بدون نتیجه */
.fidarro-search .no-results {
  text-align: center;
  margin-top: 40px;
}
.fidarro-search .no-results i {
  font-size: 40px;
  color: #f87171;
}
.fidarro-search .no-results h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
}

/* رسپانسیو */
@media (max-width: 992px) {
  .fidarro-search .search-results {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .fidarro-search .search-results {
    grid-template-columns: 1fr;
  }
}

/* بخش کلی سینگل */
.fidarro-single {
  padding: 60px 20px;
  background: #f9fafb;
  color: #0f172a;
  line-height: 1.8;
}

/* تیتر پست وسط چین در کادر شیشه‌ای */
.fidarro-single .single-header {
  text-align: center;
  margin-bottom: 28px;
}
.fidarro-single .single-title { margin: 0; }
.fidarro-single .single-title a {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: rgba(30, 58, 138, 0.75);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease;
}
.fidarro-single .single-title a:hover { background: rgba(30, 58, 138, 0.9); }

/* دسته‌بندی و تاریخ کنار هم */
.fidarro-single .single-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.fidarro-single .single-meta .cat-item {
  display: inline-block;
  color: #0f172a;
  background: rgba(30, 58, 138, 0.12);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.fidarro-single .single-meta .cat-item:hover {
  background: rgba(30, 58, 138, 0.24);
  color: #1e3a8a;
}

/* تاریخ داخل کادر سبز خیلی کم‌رنگ */
.fidarro-single .single-meta .single-date {
  background: rgba(34,197,94,0.15);
  color: #166534;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}

/* محتوای پست داخل کادر طوسی خیلی کمرنگ */
.fidarro-single .single-content.gray-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  font-size: 16px;
  color: #0f172a;
}
.fidarro-single .single-content img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 8px;
}

/* برچسب‌ها در کادر شیشه‌ای */
.fidarro-single .single-footer { margin-top: 28px; }
.fidarro-single .single-tags.glass-box {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 30px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fidarro-single .single-tags .tag-title {
  font-weight: 700;
  color: #0f172a;
  margin-left: 8px;
}
.fidarro-single .single-tags .tag-item {
  display: inline-block;
  color: #0f172a;
  background: rgba(30, 58, 138, 0.12);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  text-decoration: none;
  margin: 4px 2px;
  transition: all 0.2s ease;
}
.fidarro-single .single-tags .tag-item:hover {
  background: rgba(30, 58, 138, 0.24);
  color: #1e3a8a;
}

/* نویسنده داخل کادر شیشه‌ای با آواتار */
.fidarro-single .single-author.glass-box {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 12px 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fidarro-single .single-author .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(30,58,138,0.3);
}
.fidarro-single .single-author .author-name {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
}

/* بخش کلی کامنت‌ها */
.fidarro-comments {
  margin-top: 40px;
  padding: 30px;
  background: #f9fafb;
  border-radius: 12px;
}

/* تیتر کامنت‌ها */
.fidarro-comments .comments-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}

/* لیست کامنت‌ها */
.fidarro-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fidarro-comments .comment-body.gray-box {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}
.fidarro-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fidarro-comments .comment-author img { border-radius: 50%; }
.fidarro-comments .author-name { font-weight: 600; color: #0f172a; }

/* تاریخ داخل کادر سبز کم‌رنگ */
.fidarro-comments .comment-meta .comment-date {
  background: rgba(34,197,94,0.15);
  color: #166534;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  margin-top: 6px;
}

.fidarro-comments .comment-content {
  margin-top: 10px;
  font-size: 14px;
  color: #0f172a;
}
.fidarro-comments .comment-reply a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #1e3a8a;
  background: rgba(30,58,138,0.12);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.fidarro-comments .comment-reply a:hover {
  background: rgba(30,58,138,0.24);
  color: #0f172a;
}

/* فرم ارسال کامنت */
.comment-form-wrapper {
  margin-top: 30px;
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
}
.comment-form-wrapper h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}
.comment-form-wrapper input,
.comment-form-wrapper textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
}
.comment-form-wrapper input:focus,
.comment-form-wrapper textarea:focus {
  border-color: #1e3a8a;
  outline: none;
}

/* دکمه ارسال و چک‌باکس کنار هم */
.comment-submit-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
.comment-cookies {
  font-size: 13px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin: 0;
}
.comment-cookies input {
  width: 16px;
  height: 16px;
}
.submit-btn {
  background: #1e3a8a;
  color: #fff;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.submit-btn:hover { background: #0f172a; }

/* بخش کلی صفحه */
.fidarro-page {
  padding: 60px 20px;
  background: #f9fafb;
  color: #0f172a;
  line-height: 1.8;
}

/* تیتر صفحه وسط چین در کادر شیشه‌ای */
.fidarro-page .page-header {
  text-align: center;
  margin-bottom: 28px;
}
.fidarro-page .page-title { margin: 0; }
.fidarro-page .page-title a {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: rgba(30, 58, 138, 0.75);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease;
}
.fidarro-page .page-title a:hover { background: rgba(30, 58, 138, 0.9); }

/* محتوای صفحه داخل کادر خاکستری خیلی کم‌رنگ */
.fidarro-page .page-content.gray-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  font-size: 16px;
  color: #0f172a;
}
.fidarro-page .page-content img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 8px;
}

/* بخش کلی دسته‌بندی */
.fidarro-category {
  padding: 60px 20px;
  background: #f9fafb;
  color: #0f172a;
  line-height: 1.8;
}

/* تیتر دسته‌بندی داخل کادر شیشه‌ای */
.fidarro-category .category-header {
  text-align: center;
  margin-bottom: 28px;
}
.fidarro-category .category-title a {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 28px;
  font-weight: 800;
  color: #fff; /* متن سفید */
  background: rgba(30, 58, 138, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(30,58,138,0.25);
  text-decoration: none;
}
.fidarro-category .category-title a:hover {
  background: rgba(30,58,138,0.9);
  color: #fff; /* متن سفید در حالت hover */
}

/* توضیحات دسته‌بندی */
.fidarro-category .category-description {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
  font-size: 15px;
  color: #0f172a;
}

/* گرید نوشته‌ها */
.fidarro-category .category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* دسکتاپ: 3 ستون */
  gap: 20px;
}
.fidarro-category .category-card {
  background: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.fidarro-category .category-card:hover {
  transform: translateY(-5px);
}
.fidarro-category .card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* تصویر شاخص داخل کادر مربعی */
.fidarro-category .card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fidarro-category .card-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* تیتر نوشته داخل کادر آبی شیک */
.fidarro-category .card-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 12px;
  color: #fff; /* متن سفید */
  background: rgba(30,58,138,0.75);
  border-radius: 0 0 12px 12px;
}
.fidarro-category .card-title:hover {
  background: rgba(30,58,138,0.9);
  color: #fff; /* متن سفید در حالت hover */
}

/* صفحه‌بندی */
.fidarro-category .category-pagination {
  margin-top: 30px;
  text-align: center;
}
.fidarro-category .category-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(30,58,138,0.12);
  color: #0f172a;
  text-decoration: none;
}
.fidarro-category .category-pagination .page-numbers.current {
  background: rgba(30,58,138,0.75);
  color: #fff;
}
.fidarro-category .category-pagination .page-numbers:hover {
  background: rgba(30,58,138,0.24);
  color: #1e3a8a;
}

/* ریسپانسیو موبایل: 2 ستون */
@media (max-width: 768px) {
  .fidarro-category .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
