/**
 * IRMA main styles — lanmis-inspired layout, IRMA branding.
 */
:root {
  --irma-teal: #13a197;
  --irma-teal-dark: #0e8179;
  --irma-gold: #fbb03d;
  --irma-gold-dark: #e8a112;
  --irma-navy: #192c4a;
  --irma-dark: #2f2f32;
  --irma-muted: #727272;
  --irma-bg: #f7fafb;
  --irma-radius: 0.5rem;
  --irma-shadow: 0 8px 28px rgba(25, 44, 74, 0.08);
  --irma-font: Vazirmatn, Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.irma-theme {
  font-family: var(--irma-font);
  color: var(--irma-dark);
  background: #fff;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  overflow-x: hidden;
}

body.irma-theme a {
  color: var(--irma-teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
body.irma-theme a:hover {
  color: var(--irma-teal-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Top bar + sticky nav ---------- */
.irma-topbar {
  background: var(--irma-navy);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}
.irma-topbar a {
  color: #fff;
}
.irma-topbar .irma-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.irma-topbar .irma-top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.irma-topbar i {
  margin-left: 0.35rem;
  color: var(--irma-gold);
}

.irma-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}
.irma-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.5rem 0;
}
.irma-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--irma-navy);
  font-weight: 800;
  font-size: 1.15rem;
}
.irma-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--irma-teal), #1bc4b8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.irma-nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.irma-nav-menu a {
  color: var(--irma-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.irma-nav-menu a:hover,
.irma-nav-menu .current-menu-item > a {
  color: var(--irma-teal);
  border-bottom-color: var(--irma-gold);
}
.irma-nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.irma-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--irma-navy);
  padding: 0.25rem 0.5rem;
}

/* ---------- Buttons ---------- */
.irma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--irma-radius);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1.3;
}
.irma-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.irma-btn-teal {
  background: var(--irma-teal);
  color: #fff !important;
  border-color: var(--irma-teal);
}
.irma-btn-teal:hover {
  background: var(--irma-teal-dark);
  color: #fff !important;
}
.irma-btn-gold {
  background: var(--irma-gold);
  color: var(--irma-navy) !important;
  border-color: var(--irma-gold);
}
.irma-btn-gold:hover {
  background: var(--irma-gold-dark);
  color: #fff !important;
}
.irma-btn-outline {
  background: transparent;
  color: var(--irma-teal) !important;
  border-color: var(--irma-teal);
}
.irma-btn-outline:hover {
  background: var(--irma-teal);
  color: #fff !important;
}
.irma-btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.irma-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(19, 161, 151, 0.12), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(251, 176, 61, 0.18), transparent 35%),
    linear-gradient(180deg, #f4fffe 0%, #ffffff 70%);
  padding: 3.5rem 0 2rem;
  overflow: hidden;
}
.irma-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.irma-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--irma-navy);
  line-height: 1.35;
  margin: 0 0 1rem;
}
.irma-hero-title .accent {
  color: var(--irma-gold);
  display: block;
}
.irma-hero-lead {
  color: var(--irma-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.irma-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.irma-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.irma-hero-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 1.25rem;
  box-shadow: var(--irma-shadow);
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4fffe;
}

/* ---------- Services swiper ---------- */
.irma-services {
  padding: 1.5rem 0 2.5rem;
  background: #fff;
}
.irma-services .swiper {
  padding: 0.5rem 0.25rem 1.5rem;
}
.irma-service-card {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 16px rgba(25, 44, 74, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.irma-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--irma-shadow);
}
.irma-service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(19, 161, 151, 0.12), rgba(251, 176, 61, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--irma-teal);
  font-size: 1.6rem;
}
.irma-service-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--irma-navy);
  margin: 0;
}

/* ---------- Intro ---------- */
.irma-section {
  padding: 3.5rem 0;
}
.irma-section-alt {
  background: var(--irma-bg);
}
.irma-section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: var(--irma-navy);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.irma-section-sub {
  text-align: center;
  color: var(--irma-muted);
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
}
.irma-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.irma-intro-copy p {
  color: var(--irma-muted);
  margin-bottom: 1rem;
}
.irma-intro-media {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--irma-shadow);
  background: linear-gradient(135deg, var(--irma-teal), var(--irma-navy));
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 2rem;
  text-align: center;
}
.irma-intro-media strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* ---------- Features ---------- */
.irma-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.irma-feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e6eef0;
  box-shadow: 0 6px 20px rgba(25, 44, 74, 0.04);
  height: 100%;
}
.irma-feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(19, 161, 151, 0.1);
  color: var(--irma-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.irma-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--irma-navy);
  margin-bottom: 0.5rem;
}
.irma-feature-card p {
  color: var(--irma-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */
.irma-stats {
  background: linear-gradient(120deg, var(--irma-navy) 0%, #134a5a 50%, var(--irma-teal) 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.irma-stats .irma-section-title,
.irma-stats .irma-section-sub {
  color: #fff;
}
.irma-stats .irma-section-sub {
  opacity: 0.85;
}
.irma-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.irma-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
}
.irma-stat .num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--irma-gold);
  line-height: 1.2;
}
.irma-stat .label {
  margin-top: 0.35rem;
  opacity: 0.95;
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.irma-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.irma-testimonial {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e8eef2;
  box-shadow: var(--irma-shadow);
  height: 100%;
}
.irma-testimonial .quote {
  color: var(--irma-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.irma-testimonial .person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.irma-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--irma-teal), var(--irma-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.irma-testimonial .person strong {
  display: block;
  color: var(--irma-navy);
}
.irma-testimonial .person span {
  color: var(--irma-muted);
  font-size: 0.85rem;
}

/* ---------- Brands ---------- */
.irma-brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}
.irma-brand-pill {
  background: #fff;
  border: 1px solid #e5eef1;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  color: var(--irma-navy);
  box-shadow: 0 4px 12px rgba(25, 44, 74, 0.04);
}

/* ---------- FAQ ---------- */
.irma-faq .card {
  border: 1px solid #e6eef0;
  border-radius: 0.85rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.irma-faq .card-header {
  background: #fff;
  padding: 0;
  border: 0;
}
.irma-faq .btn-link {
  display: flex;
  width: 100%;
  text-align: right;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  color: var(--irma-navy);
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
}
.irma-faq .btn-link:hover,
.irma-faq .btn-link:focus {
  text-decoration: none;
  color: var(--irma-teal);
}
.irma-faq .card-body {
  color: var(--irma-muted);
  padding: 0 1.15rem 1.15rem;
}

/* ---------- CTA band ---------- */
.irma-cta {
  background:
    linear-gradient(120deg, rgba(19, 161, 151, 0.95), rgba(25, 44, 74, 0.95)),
    var(--irma-navy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.irma-cta h2 {
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.irma-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.irma-cta .irma-btn-gold {
  margin: 0 0.35rem;
}

/* ---------- Footer ---------- */
.irma-footer {
  background: #121c2e;
  color: #c9d3e0;
  padding: 3rem 0 1.25rem;
}
.irma-footer a {
  color: #dfe7f2;
}
.irma-footer a:hover {
  color: var(--irma-gold);
}
.irma-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.irma-footer h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.irma-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.irma-footer li {
  margin-bottom: 0.45rem;
}
.irma-footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.irma-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Back to top ---------- */
.irma-gotop {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--irma-teal);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  box-shadow: var(--irma-shadow);
}
.irma-gotop.is-visible {
  display: flex;
}
.irma-gotop:hover {
  color: #fff;
  background: var(--irma-teal-dark);
}

/* ---------- Reveal animation (visible by default; animate only after JS) ---------- */
.irma-reveal {
  opacity: 1;
  transform: none;
}
.js .irma-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .irma-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .irma-hero-grid,
  .irma-intro-grid,
  .irma-footer-grid {
    grid-template-columns: 1fr;
  }
  .irma-features-grid,
  .irma-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .irma-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .irma-nav-toggle {
    display: inline-flex;
  }
  .irma-nav-menu-wrap {
    display: none;
    width: 100%;
  }
  .irma-nav-menu-wrap.is-open {
    display: block;
  }
  .irma-nav {
    flex-wrap: wrap;
  }
  .irma-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 1rem;
  }
}

@media (max-width: 575.98px) {
  .irma-features-grid,
  .irma-testimonials-grid,
  .irma-stats-grid {
    grid-template-columns: 1fr;
  }
  .irma-topbar .irma-top-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  .irma-nav-actions .irma-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Elementor spacing helpers when editing */
.elementor-page .irma-header {
  position: sticky;
}
