* {
  font-family: "Markazi Text", serif;
}
header {
}
/* HERO */
.hero-section {
  position: relative;
  min-height: 15vh;
  width: 100%;
}

.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-center {
  position: relative;
  z-index: 2;
}
.hero-logo {
  height: clamp(
    48px,
    8vw,
    82px
  ); /* min: 48px, scale with viewport, max: 82px */
  display: block;
}
.hero-link {
  color: black; /* متن پیش‌فرض سیاه */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding-right: 1.2rem; /* فضا برای آیکون سمت راست */
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
}
.hero-link:hover {
  color: black; /* در هاور هم سیاه بمونه */
}
.hero-link.active {
  color: black; /* رنگ فعال سیاه */
}
.hero-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid currentColor; /* فلش سیاه */
}
.hero-text p {
  margin: 0.5rem 0;
  line-height: 1.15;
  font-family: "Lalezar", sans-serif !important;
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  color: black; /* متن توضیحی سیاه */
}
/* WHY US */
.why-us-section {
  direction: rtl;
  background: #f7f9fb;
  color: #1b1b1b;
}
.why-title {
  font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem);
}
.why-subtitle {
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.125rem);
  opacity: 0.75;
}
.why-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-align: right;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 35, 208, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.why-icon .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0023d0;
}
.why-card h5 {
  font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.25rem);
}
.why-card p {
  font-size: clamp(0.95rem, 0.6vw + 0.8rem, 1.05rem);
  line-height: 1.9;
}

/* CONTACT CTA */
.contact-cta-section {
  direction: rtl;
  color: black;
  background: white;
  position: relative;
  overflow: hidden;
}
.contact-cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.15;
}
.contact-cta-section h2 {
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem);
  margin-bottom: 0.75rem;
}
.contact-desc {
  font-size: clamp(1.05rem, 0.9vw + 0.8rem, 1.25rem);
  line-height: 2;
}
.contact-cta-section .btn.btn-primary {
  background: #91f086;
  border-color: #91f086;
  color: #0f172a;
  font-weight: 700;
}
.contact-cta-section .btn.btn-primary:hover {
  filter: brightness(0.95);
}
.contact-cta-section .btn.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.contact-cta-section .btn.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.contact-inline {
  font-size: 1rem;
  opacity: 0.95;
}
.contact-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-link:hover {
  opacity: 0.9;
}

/* FOOTER */
.site-footer {
  background: #0b1220;
  color: #e7eaf0;
}
.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-link:hover {
  opacity: 0.85;
}
.footer-lead {
  opacity: 0.9;
  line-height: 1.9;
}
.footer-label {
  opacity: 0.8;
  margin-inline-start: 0.35rem;
}
.sep {
  opacity: 0.5;
  margin-inline: 0.35rem;
}
.footer-sep {
  border-color: rgba(255, 255, 255, 0.12);
}
.site-footer h5 {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.125rem);
  line-height: 1.9;
}
.site-footer h6 {
  font-size: 1rem;
}
.site-footer,
.site-footer div {
  font-size: 0.95rem;
}
.why-icon {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.why-icon i {
  font-size: 2rem; /* adjust size */
  color: #f39c12; /* orange/gold accent, change if needed */
}
/* RESPONSIVE */
@media (max-width: 576px) {
  .site-footer h5 {
    margin-bottom: 0.75rem;
  }
  .contact-cta-section .btn,
  .about-section .btn {
    width: 100%;
  }
}
@media (max-width: 360px) {
  .hero-logo {
    height: 46px;
  }
}

@media (max-width: 767.98px) {
  #heroNav {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 0.75rem 1rem;
  }
}
