:root {
  --font-arabic: "Noto Kufi Arabic", sans-serif;
  --color-primary: #08a784;
  --color-primary-foreground: #fff;
  --color-text: #1a1d21;
  --color-text-muted: #6b7280;
  --color-border: #e8ebf0;
  --color-surface: #ffffff;
  --color-hero-bg: #f7f8f9;
  --color-section-description: #68696e;
  --color-card-title: #2b3141;
  --color-card-text: #686b73;
  --color-feature-card: #f5f6f7;
  --color-feature-featured: #dff3ef;
  --color-flow-bg: #F4F4F4;
  --color-flow-divider: #D0D5E1;
  --color-flow-tag-bg: #ffffff;
  --bg-gradient: linear-gradient(90deg, #1d91ab 0%, #21a79d 50%, #2ba664 100%);
  --navbar-height: 64px;
  --section-padding: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 3rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-arabic);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  box-sizing: border-box;
}

body.navbar-open {
  overflow: hidden;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e3f2ee;
  border-radius: 200px;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
}

.section-title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.55;

  @media (min-width: 769px) {
    font-size: 28px;
  }
}

.section-description {
  margin: 0;
  color: var(--color-section-description);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;

  @media (min-width: 769px) {
    font-size: 18px;
  }
}

section[id]:not(#hero) {
  padding-block: var(--section-padding);
}

.scroll-anchor {
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Global container — Tailwind-like centered layout */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;

  @media (min-width: 1440px) {
    max-width: 1240px;
    padding-inline: 0;
  }
}

/* start navbar section */
.navbar {
  position: fixed;
  top: 16px;
  width: 100%;
  z-index: 1000;

  @media (min-width: 481px) {
    top: 32px;
  }
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  height: var(--navbar-height);
  padding-block: 8px;
  padding-inline: 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-sizing: border-box;

  @media (min-width: 481px) {
    --navbar-height: 80px;
    padding-inline: 1.25rem;
  }

  @media (min-width: 993px) {
    padding-inline: 48px;
  }
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
  height: 100%;
}

.navbar__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;

  @media (min-width: 993px) {
    width: 48px;
    height: 100%;
  }
}

.navbar__links {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;

  @media (min-width: 993px) {
    display: flex;
  }
}

.navbar__links a {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.navbar__links a:hover,
.navbar__links a:focus-visible {
  color: var(--color-primary);
}

.navbar__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--bg-gradient);
  color: var(--color-primary-foreground);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
  height: calc(100% - 12px);
}

.navbar__cta:hover,
.navbar__cta:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.navbar__inner > .navbar__cta {
  display: none;

  @media (min-width: 993px) {
    display: inline-flex;
  }
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;

  @media (min-width: 993px) {
    display: none;
  }
}

.navbar__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.is-open .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-open .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__mobile {
  display: none;
  margin-top: 0.75rem;
  padding: 1.25rem 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.1);

  &:not([hidden]) {
    display: block;
  }

  @media (min-width: 993px) {
    display: none;
  }
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.navbar__mobile-links a {
  display: block;
  padding: 0.875rem 0.5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar__mobile-links a:hover,
.navbar__mobile-links a:focus-visible {
  color: var(--color-primary);
  background-color: rgba(8, 167, 132, 0.06);
}

.navbar__cta--mobile {
  width: 100%;
}
/* end navbar section */

/* start hero section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-top: calc(var(--navbar-height) + 48px);
  background-color: var(--color-hero-bg);
  background-image: url("../assets/images/hero-bg.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  text-align: center;

  @media (min-width: 481px) {
    --navbar-height: 80px;
    padding-top: calc(var(--navbar-height) + 56px);
  }

  @media (min-width: 769px) {
    min-height: 100vh;
    padding-top: calc(var(--navbar-height) + 80px);
  }
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__pill {
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.875rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  row-gap: 0.2rem;

  @media (min-width: 481px) {
    flex-wrap: nowrap;
    row-gap: 0;
  }

  @media (min-width: 769px) {
    margin-bottom: 1.75rem;
    padding: 0.5rem 1rem;
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.hero__pill-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;

  @media (min-width: 769px) {
    font-size: 0.9375rem;
  }
}

.hero__pill-brand img {
  width: 18px;
  height: 24px;
  object-fit: contain;

  @media (min-width: 769px) {
    width: 22px;
    height: 28px;
  }
}

.hero__pill-tagline {
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;

  @media (min-width: 769px) {
    font-size: 0.8125rem;
  }
}

.hero__title {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  animation-delay: 0.08s;

  @media (min-width: 769px) {
    margin-bottom: 1.25rem;
    font-size: clamp(1.75rem, 38px, 3.25rem);
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.hero__title span {
  color: var(--color-primary);
}

.hero__subtitle {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding-inline: 0.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  animation-delay: 0.16s;

  @media (min-width: 769px) {
    margin-bottom: 2rem;
    padding-inline: 0;
    font-size: clamp(0.9375rem, 20px, 1.125rem);
    line-height: 1.85;
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.hero__buttons {
  display: flex;
  /* flex-direction: column; */
  /* flex-wrap: wrap; */
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  margin-bottom: 1.75rem;
  direction: ltr;
  animation-delay: 0.24s;

  @media (min-width: 481px) {
    flex-direction: row;
    width: auto;
  }

  @media (min-width: 769px) {
    gap: 0.75rem 1rem;
    margin-bottom: 2.5rem;
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.hero__button {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero__button:hover,
.hero__button:focus-visible {
  transform: translateY(-2px);
  opacity: 0.94;
}

.hero__button img {
  display: block;
  width: auto;
  height: 46px;

  @media (min-width: 481px) {
    height: 48px;
  }

  @media (min-width: 769px) {
    height: 54px;
  }
}

.hero__images {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 360px);
  margin-inline: auto;
  min-height: 0;
  pointer-events: none;

  @media (min-width: 481px) {
    width: min(100%, 520px);
  }

  @media (min-width: 769px) {
    width: min(100%, 680px);
    min-height: 340px;
  }

  @media (min-width: 993px) {
    width: min(100%, 920px);
    min-height: 420px;
  }
}

.hero__phone {
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(16, 24, 40, 0.14));
  user-select: none;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.hero__phone--main {
  position: relative;
  z-index: 3;
  width: min(42%, 150px);
  margin-inline: -8%;

  @media (min-width: 481px) {
    width: min(44%, 200px);
    margin-inline: -6%;
  }

  @media (min-width: 769px) {
    width: min(46%, 240px);
  }

  @media (min-width: 993px) {
    width: min(42%, 300px);
  }
}

.hero__phone--side {
  position: relative;
  z-index: 1;
  width: min(36%, 120px);
  opacity: 0.98;

  @media (min-width: 481px) {
    width: min(37%, 170px);
  }

  @media (min-width: 769px) {
    width: min(38%, 200px);
  }

  @media (min-width: 993px) {
    width: min(36%, 260px);
  }
}

.hero__phone--jobs {
  z-index: 2;
}
/* end hero section */

/* start employers section */
.employers {
  background: var(--color-surface);
}

.employers__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;

  @media (min-width: 769px) {
    gap: 3rem;
  }
}

.employers__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* max-width: 46rem; */
}

.employers__grid {
  display: grid;
  width: 100%;
  gap: 1rem;
  grid-template-columns: 1fr;

  @media (min-width: 641px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  @media (min-width: 993px) {
    gap: 1.5rem;
  }
}

.employer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  min-height: 380px;
  padding: 1.5rem 1.25rem 0;
  border-radius: 24px;
  background: var(--color-feature-card);
  text-align: center;

  @media (min-width: 481px) {
    min-height: 400px;
    padding: 1.75rem 1.5rem 0;
  }

  @media (min-width: 769px) {
    min-height: 420px;
    padding: 2rem 1.75rem 0;
    border-radius: 28px;
  }

  @media (min-width: 993px) {
    min-height: 440px;
  }
}

.employer-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  max-width: 28ch;
  padding-bottom: 1rem;

  @media (min-width: 769px) {
    gap: 0.75rem;
    max-width: 32ch;
  }
}

.employer-card__title {
  margin: 0;
  color: var(--color-card-title);
  font-size: clamp(1.0625rem, 3.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;

  @media (min-width: 769px) {
    font-size: 22px;
  }
}

.employer-card__text {
  margin: 0;
  color: var(--color-card-text);
  font-size: clamp(0.875rem, 2.8vw, 1rem);
  font-weight: 400;
  line-height: 1.7;

  @media (min-width: 769px) {
    font-size: 16px;
  }
}

.employer-card__mockup {
  display: block;
  width: min(52%, 204px);
  height: auto;
  margin-top: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 32px rgba(16, 24, 40, 0.1));
  user-select: none;
  pointer-events: none;

  @media (min-width: 481px) {
    width: min(48%, 204px);
  }

  @media (min-width: 769px) {
    width: min(44%, 204px);
  }

  @media (min-width: 993px) {
    width: 204px;
  }
}
/* end employers section */

/* start features section */
.features {
  background: var(--color-surface);
}

.features__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;

  @media (min-width: 769px) {
    gap: 3rem;
  }
}

.features__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* max-width: 46rem; */
  gap: 1rem;
}

.features__header .section-description {
  max-width: 100ch;
}

.features__grid {
  display: grid;
  width: 100%;
  gap: 1rem;
  grid-template-columns: 1fr;

  @media (min-width: 641px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  @media (min-width: 993px) {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(220px, auto));
    gap: 1.5rem;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--color-feature-card);
  text-align: start;

  @media (min-width: 769px) {
    padding: 1.75rem;
    border-radius: 28px;
    gap: 0.875rem;
  }
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255,255,1);
border:1px solid var(--color-primary);
  @media (min-width: 769px) {
    width: 52px;
    height: 52px;
  }
}

.feature-card__icon img {
  display: block;
  /* width: 28px; */
  height: auto;
  object-fit: contain;

  /* @media (min-width: 769px) {
    width: 32px;
  } */
}

.feature-card__title {
  margin: 0;
  color: var(--color-card-title);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;

  @media (min-width: 769px) {
    font-size: 22px;
  }
}

.feature-card__text {
  margin: 0;
  color: var(--color-card-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;

  @media (min-width: 769px) {
    font-size: 16px;
  }
}

.feature-card--featured {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 1.5rem;
  background: var(--color-feature-featured);
  gap: 0;

  @media (min-width: 641px) {
    grid-column: 1 / -1;
    min-height: 400px;
    padding: 1.75rem;
  }

  @media (min-width: 993px) {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 100%;
    padding: 2rem;
  }
}

.feature-card--featured .feature-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: min(100%, 22rem);
  height: 100%;
  padding-bottom: 12rem;

  @media (min-width: 481px) {
    padding-bottom: 14rem;
  }

  @media (min-width: 641px) {
    max-width: 20rem;
    padding-bottom: 2rem;
  }

  @media (min-width: 769px) {
    gap: 0.875rem;
  }

  @media (min-width: 993px) {
    max-width: 17.5rem;
    padding-bottom: 0;
  }
}

.feature-card--featured .feature-card__icon {
  background: var(--color-surface);
}

.feature-card__illustration {
  position: absolute;
  bottom: 0;
  inset-inline-end: -13%;
  z-index: 1;
  width: min(78%, 260px);
  height: auto;
  max-height: 58%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;

  @media (min-width: 481px) {
    width: min(62%, 300px);
    max-height: 68%;
    inset-inline-end: -9%;
  }

  @media (min-width: 641px) {
    width: min(46%, 340px);
    max-height: 86%;
  }

  @media (min-width: 993px) {
    width: min(72%, 420px);
    max-height: 72%;
    inset-inline-end: -14%;
  }
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  max-width: 100%;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
  color: var(--color-card-title);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;

  @media (min-width: 481px) {
    font-size: 0.8125rem;
  }

  @media (min-width: 993px) {
    font-size: 0.875rem;
  }
}

.feature-card__badge img {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;

  @media (min-width: 993px) {
    width: 36px;
    height: 36px;
  }
}

.feature-card__badge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* end features section */

/* start how it works section */
.how-it-works {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-flow-bg);
  border-block-start: 1px solid var(--color-border);
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/bg-overlay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.how-it-works__panel {
  border: 1px solid var(--color-flow-divider);
  border-radius: 24px;
  padding: 1.5rem 1.25rem;

  @media (min-width: 769px) {
    padding: 2rem;
  }

  @media (min-width: 993px) {
    padding: 2.5rem 2.5rem 3rem;
  }
}

.how-it-works__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  direction: ltr;

  @media (min-width: 769px) {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.75rem;
  }

  @media (min-width: 993px) {
    grid-template-columns: 1fr minmax(220px, 280px) 1fr;
    grid-template-areas:
      "discover phone create"
      "apply phone details";
    align-items: stretch;
    gap: 0 2.5rem;
  }

  @media (min-width: 1200px) {
    gap: 0 3.5rem;
    grid-template-columns: 1fr minmax(240px, 300px) 1fr;
  }
}

.how-it-works__phone {
  display: none;

  @media (min-width: 993px) {
    display: flex;
    grid-area: phone;
    justify-content: center;
    align-self: center;
    width: 100%;
  }
}

.how-it-works__phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(16, 24, 40, 0.12));
  user-select: none;
  pointer-events: none;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  direction: rtl;
  text-align: center;

  @media (min-width: 769px) {
    align-items: flex-start;
    text-align: start;
  }

  @media (min-width: 993px) {
    padding-block: 2rem;
    gap: 0.875rem;
  }
}

.flow-item--discover {
  @media (min-width: 993px) {
    grid-area: discover;
    border-block-end: 1px solid var(--color-flow-divider);
  }
}

.flow-item--create {
  @media (min-width: 993px) {
    grid-area: create;
    border-block-end: 1px solid var(--color-flow-divider);
  }
}

.flow-item--apply {
  @media (min-width: 993px) {
    grid-area: apply;
  }
}

.flow-item--details {
  @media (min-width: 993px) {
    grid-area: details;
  }
}

.flow-item__icon {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
  margin-block-end: 0.25rem;

  @media (min-width: 769px) {
    height: 72px;
  }

  @media (min-width: 993px) {
    height: 80px;
  }
}

.flow-item__icon--wide {
  height: 56px;

  @media (min-width: 769px) {
    height: 64px;
  }

  @media (min-width: 993px) {
    height: 72px;
  }
}

.flow-item__title {
  margin: 0;
  color: var(--color-card-title);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;

  @media (min-width: 769px) {
    font-size: 22px;
  }
}

.flow-item__text {
  margin: 0;
  color: var(--color-card-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 34ch;
}

.flow-item__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.flow-item__tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 12px 8px 12px;
  border-radius: 999px;
  background: var(--color-flow-tag-bg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;

  @media (min-width: 769px) {
    font-size: 0.8125rem;
  }
}

.flow-item__tags li::before {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 11px;
  background-image: url("../assets/icons/tick.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* end how it works section */

/* start faq section */
.faq {
  background: var(--color-hero-bg);
}

.faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;

  @media (min-width: 769px) {
    gap: 3rem;
  }
}

.faq__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* max-width: 40rem; */
}

.faq__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: 100%;

  @media (min-width: 769px) {
    gap: 2rem;
  }
}

.faq__track {
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 0.5rem;
  padding-inline: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  @media (min-width: 769px) {
    gap: 1.25rem;
  }
}

.faq__track::-webkit-scrollbar {
  display: none;
}

.faq-card {
  flex: 0 0 min(72vw, 220px);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background: var(--color-surface);
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
  text-align: center;
  scroll-snap-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;

  @media (min-width: 641px) {
    flex-basis: 220px;
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }

  @media (min-width: 993px) {
    flex-basis: 240px;
  }
}

.faq-card:hover {
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.faq-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.faq-card.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(8, 167, 132, 0.12);
  cursor: default;
}

.faq-card__question {
  margin: 0;
  color: var(--color-card-title);
  font-size: clamp(1rem, 3vw, 1.125rem);
  font-weight: 700;
  line-height: 1.55;
}

.faq-card__answer {
  display: none;
  margin: 0;
  color: var(--color-card-text);
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.75;
  max-width: 28ch;
}

.faq-card.is-active .faq-card__answer {
  display: block;
  animation: faq-answer-in 0.35s ease;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.faq__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  border: 1.5px solid var(--color-primary);
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.faq__nav-btn:hover,
.faq__nav-btn:focus-visible,
.faq__nav-btn.is-active {
  background: var(--bg-gradient);
  border-color: transparent;
  color: var(--color-primary-foreground);
  box-shadow: 0 6px 18px rgba(8, 167, 132, 0.28);
}

.faq__nav-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.faq__nav-btn:active {
  transform: scale(0.96);
}
/* end faq section */

/* start download section */
.download {
  background: var(--color-surface);
}

.download__panel {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
  background: #232323;

  @media (min-width: 769px) {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 300px;
    border-radius: 28px;
  }

  @media (min-width: 993px) {
    min-height: 340px;
  }
}

.download__illustration {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
  user-select: none;

  @media (min-width: 769px) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: left bottom;
  }
}

.download__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 1.75rem 1.25rem 2rem;
  text-align: start;

  @media (min-width: 769px) {
    width: min(52%, 34rem);
    gap: 1.25rem;
    padding: 2.5rem 2.5rem 2.5rem 1.5rem;
  }

  @media (min-width: 993px) {
    width: min(48%, 36rem);
    gap: 1.5rem;
    padding: 3rem 3.5rem 3rem 1.5rem;
  }
}

.download__panel .section-title {
  color: #fff;
}

.download__panel .section-description {
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
}

.download__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.25rem;
  direction: ltr;

  @media (min-width: 769px) {
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
}

.download__button {
  display: inline-flex;
  line-height: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.download__button:hover,
.download__button:focus-visible {
  transform: translateY(-2px);
  opacity: 0.94;
}

.download__button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.download__button img {
  display: block;
  width: auto;
  height: 44px;

  @media (min-width: 481px) {
    height: 48px;
  }

  @media (min-width: 769px) {
    height: 52px;
  }
}
/* end download section */

/* start footer section */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 3rem 1.5rem;
  background: linear-gradient(90deg, #1a7f95 0%, #2f9e96 50%, #4a956d 100%);
  color: #fff;

  @media (min-width: 769px) {
    padding-block: 4rem 1.75rem;
  }
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/bg-overlay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.footer__container {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;

  @media (min-width: 769px) {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  @media (min-width: 993px) {
    grid-template-columns: minmax(16rem, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    align-items: start;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;

  @media (min-width: 769px) {
    grid-column: 1 / -1;
  }

  @media (min-width: 993px) {
    grid-column: auto;
  }
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  width: fit-content;
}

.footer__logo img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
  object-fit: contain;
  padding: 0.5rem;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer__brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer__brand-tagline {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.footer__about {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.footer__heading {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: #fff;
  opacity: 0.85;
}

.footer__links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__store-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer__store-button {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer__store-button:hover,
.footer__store-button:focus-visible {
  transform: translateY(-2px);
  opacity: 0.94;
}

.footer__store-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

.footer__store-button img {
  display: block;
  width: 162px;
  height: auto;
}

.footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.footer__social-link {
  display: inline-flex;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer__social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 50%;
}

.footer__social-link img {
  display: block;
  width: 30px;
  height: 30px;
}

.footer__bottom {
  margin-block-start: 2.5rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;

  @media (min-width: 769px) {
    margin-block-start: 3rem;
    padding-block-start: 1.5rem;
  }
}

.footer__copyright {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
/* end footer section */
