@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_UltraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #f5f7fb;
  --foreground: #111827;
  --primary: #011ed9;
  --primary-hover: #0115b0;
  --primary-light: #e8ebff;
  --font-iransans: "IRANSans", Tahoma, Arial, sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-iransans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

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

.w-29 {
  width: 7.25rem;
}

.w-34 {
  width: 8.5rem;
}

.size-13 {
  width: 3.25rem;
  height: 3.25rem;
}

.rounded-4xl {
  border-radius: 2rem;
}

.faq-category {
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease;
  color: #374151;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-category.is-active {
  background: #e8ebff;
  color: #011ed9;
}

.faq-category:hover {
  color: #011ed9;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid #e8ecf4;
  background: #fff;
}

.faq-item__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: right;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-item__icon {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #e8ebff;
  color: #011ed9;
}

.faq-item__chevron {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #e8ebff;
  color: #011ed9;
}

.faq-item__q {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.faq-item__q.is-open {
  font-weight: 700;
  color: #111827;
}

.faq-item__a {
  border-top: 1px solid #eef1f6;
  padding: 0.75rem 1.25rem 1rem;
}

.faq-item__a p {
  margin: 0;
  text-align: right;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #6b7280;
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: #c7d2fe;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.is-active {
  background: #011ed9;
  transform: scale(1.1);
}

.carousel-dot:hover:not(.is-active) {
  background: #a5b4fc;
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .faq-category {
    font-size: 1rem;
  }

  .faq-item__q {
    font-size: 1rem;
  }

  .faq-item__a p {
    padding-right: 2.5rem;
  }
}
