﻿:root {
  --green-950: #062315;
  --green-900: #0c3f24;
  --green-800: #146337;
  --green-700: #1b8447;
  --green-600: #25a554;
  --green-300: #9fe4b6;
  --green-100: #e7f8ee;
  --green-50: #f4fcf7;
  --white: #ffffff;
  --text: #163523;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background: #ffffff;
}

body.is-arabic {
  direction: rtl;
}

body.is-arabic .hero-copy,
body.is-arabic .hero-panel,
body.is-arabic .section,
body.is-arabic .site-footer,
body.is-arabic .trial {
  text-align: right;
}

body.is-arabic .hero-title {
  font-family: "Cairo", sans-serif;
  max-width: 20ch;
}

body.is-arabic .hero-cta,
body.is-arabic .hero-points,
body.is-arabic .topbar-wrap,
body.is-arabic .trial-wrap,
body.is-arabic .footer-brand {
  direction: rtl;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.topbar {
  background: #082917;
  color: #c8ebd3;
  font-size: 0.84rem;
}

.topbar-wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-wrap p {
  margin: 0;
}

.contact-link {
  color: #d7f2e1;
  text-decoration: none;
  font-weight: 700;
}

.contact-link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #d8f1e3;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #d5efdf;
  background: #fff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  color: var(--green-900);
  text-decoration: none;
  font-size: 1.38rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.05rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #1f5b38;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--green-800);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #cbe8d8;
  border-radius: 10px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #176840;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-trial-btn {
  white-space: nowrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border: 1px solid #cfe8da;
  border-radius: 999px;
  background: #f6fcf8;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #215d3c;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--green-600);
  color: #042411;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  font-weight: 700;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--green-600);
  color: #042411;
}

.btn-primary:hover {
  background: #42bf6d;
}

.btn-ghost {
  border: 2px solid #8fcda9;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.8);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 45, 27, 0.42) 0%, rgba(13, 63, 38, 0.35) 58%, rgba(21, 90, 54, 0.3) 100%),
    url("images/real/hero-mosque.jpg") center center / cover no-repeat fixed;
  color: #13462a;
  padding: 5.3rem 0 4.9rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(25, 116, 66, 0.07) 0%, rgba(219, 255, 231, 0) 45%),
    url("images/real/hero-quran.jpg") right 8% bottom 12% / 34% auto no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.9rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 0.35rem 0 0;
}

.hero-title {
  display: block;
  max-width: 18ch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Sora", "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.lead {
  color: #ffffff;
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 50ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.hero-points {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points span {
  border: 1px solid rgba(38, 111, 70, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.82);
  color: #215d3c;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(60, 136, 91, 0.22);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 18px 32px rgba(14, 74, 43, 0.12);
  backdrop-filter: blur(3px);
}

.hero-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(45, 121, 76, 0.24);
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSlide 15s infinite;
}

.hero-slider img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slider img:nth-child(2) {
  animation-delay: 5s;
}

.hero-slider img:nth-child(3) {
  animation-delay: 10s;
}

.hero-decor {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  z-index: 1;
}

.hero-decor-a {
  width: 240px;
  height: 240px;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(131, 208, 161, 0.34) 0%, rgba(220, 255, 233, 0) 70%);
  animation: floatA 8s ease-in-out infinite;
}

.hero-decor-b {
  width: 300px;
  height: 300px;
  left: 6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(149, 222, 179, 0.26) 0%, rgba(155, 236, 186, 0) 72%);
  animation: floatB 10s ease-in-out infinite;
}

.hero-panel h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.58rem;
}

.panel-btn {
  margin-top: 1.1rem;
  width: 100%;
  text-align: center;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.contact-modal:target {
  display: grid;
  place-items: center;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 35, 21, 0.62);
}

.contact-panel {
  position: relative;
  width: min(520px, 92%);
  background: #ffffff;
  border: 1px solid #cfead9;
  border-radius: 16px;
  box-shadow: 0 24px 44px rgba(3, 30, 17, 0.28);
  padding: 1.25rem;
  text-align: center;
}

.contact-panel h3 {
  margin: 0 0 0.45rem;
  color: var(--green-900);
}

.contact-panel p {
  margin: 0 0 0.9rem;
  color: #2f5f43;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.contact-close {
  display: inline-block;
  margin-top: 0.8rem;
  color: #2b6b45;
  text-decoration: none;
  font-weight: 700;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: #f8fdf9;
}

.section-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: #2a8c4b;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  margin: 0.22rem 0 0;
  color: var(--green-900);
  line-height: 1.2;
}

.section-intro {
  margin: 0.55rem 0 1.55rem;
  color: #355f46;
  font-size: 0.97rem;
  max-width: 62ch;
}

.courses-intro-line {
  max-width: none;
  white-space: nowrap;
}

.cards,
.steps,
.pricing {
  display: grid;
  gap: 1.1rem;
}

.cards-3,
.steps,
.pricing {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.step,
.price-card {
  background: var(--white);
  border: 1px solid #d8f3e4;
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 10px 26px rgba(11, 69, 37, 0.08);
}

.card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 69, 37, 0.13);
}

.card-media {
  width: calc(100% + 2.3rem);
  margin: -1.15rem -1.15rem 0.95rem;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid #d7f0e2;
  animation: gentleZoom 12s ease-in-out infinite alternate;
}

.card p,
.step p,
.price-card li {
  font-size: 0.95rem;
  line-height: 1.65;
}

.teacher-card {
  text-align: center;
  padding-top: 1.25rem;
}

.teacher-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid #d7f2e3;
  margin: 0 auto 0.8rem;
  display: block;
  box-shadow: 0 8px 20px rgba(10, 66, 36, 0.22);
}

.card h3,
.card h4,
.step h3,
.price-card h3 {
  margin-top: 0;
  color: var(--green-900);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  font-weight: 700;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--green-800);
  line-height: 1;
}

.price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b6542;
}

.pricing {
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem;
  border-radius: 24px;
  border: 1px solid rgba(131, 191, 152, 0.32);
  background:
    radial-gradient(circle at top right, rgba(143, 214, 168, 0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfefc 100%);
  box-shadow:
    0 22px 40px rgba(10, 66, 36, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #79cc94 0%, #2a8c4b 100%);
  opacity: 0.22;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 44px rgba(10, 66, 36, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  border-color: rgba(64, 147, 92, 0.4);
}

.price-card h3 {
  font-size: 2rem;
  margin-bottom: 1.1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.95rem;
}

.price-card li {
  position: relative;
  padding-left: 1.9rem;
  color: #234a33;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #2c8f4d 0 34%, transparent 36%),
    linear-gradient(135deg, #b7eac8 0%, #76c791 100%);
  box-shadow: 0 0 0 4px rgba(181, 230, 197, 0.45);
}

.currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem;
  border: 1px solid #cfe8da;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(10, 66, 36, 0.08);
  margin-bottom: 1rem;
}

.currency-note {
  margin: -0.2rem 0 1.1rem;
  color: #355f46;
  font-size: 0.9rem;
  max-width: 52ch;
}

.currency-btn {
  border: 0;
  background: transparent;
  color: #215d3c;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.currency-btn.is-active {
  background: linear-gradient(135deg, #70ca8e 0%, #2f954f 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(39, 133, 73, 0.26);
}

.price-card-btn {
  margin-top: auto;
  padding-block: 0.92rem;
  width: 100%;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(38, 123, 67, 0.18);
}

.offer-card {
  position: relative;
  overflow: hidden;
  margin-top: 1.45rem;
  background:
    radial-gradient(circle at top left, rgba(142, 214, 166, 0.28), transparent 24%),
    linear-gradient(135deg, #f8fdf9 0%, #ebf8f0 100%);
  border: 1px solid #d8f3e4;
  border-radius: 24px;
  padding: 1.45rem;
  box-shadow: 0 18px 34px rgba(11, 69, 37, 0.09);
}

.offer-card p:last-of-type {
  margin-bottom: 0.4rem;
}

.plan-tag {
  margin: 0 0 0.9rem;
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecf9f1 0%, #dbf1e3 100%);
  color: #2a7245;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card.featured {
  transform: translateY(-6px);
  border: 2px solid rgba(35, 122, 66, 0.9);
  background:
    radial-gradient(circle at top right, rgba(112, 202, 142, 0.24), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
  box-shadow:
    0 30px 52px rgba(22, 103, 52, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.price-card.featured::before {
  opacity: 1;
  height: 7px;
}

.price-card.featured .price {
  color: #1d7b42;
}

.fees-preview {
  display: grid;
  gap: 1.35rem;
  padding: 1.85rem;
  border: 1px solid #d8f3e4;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(143, 214, 168, 0.22), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);
  box-shadow: 0 20px 38px rgba(10, 66, 36, 0.08);
}

.fees-preview-copy .section-intro {
  margin-bottom: 0;
  max-width: 60ch;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 4.15rem;
  background:
    linear-gradient(135deg, rgba(246, 252, 248, 0.96) 0%, rgba(232, 248, 238, 0.94) 55%, rgba(216, 241, 223, 0.92) 100%),
    url("images/real/IMG-20260314-WA0008.jpg") center center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(49, 148, 86, 0.18), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(121, 204, 148, 0.2), transparent 24%);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.page-hero h1 {
  margin: 0.35rem 0 0;
  color: var(--green-950);
  font-family: "Sora", "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.page-hero .lead {
  color: #214a32;
  text-shadow: none;
  max-width: 58ch;
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(60, 136, 91, 0.24);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 18px 34px rgba(10, 66, 36, 0.09);
  backdrop-filter: blur(4px);
}

.page-hero-card h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  margin-bottom: 1rem;
}

.page-hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.page-hero-card li {
  position: relative;
  padding-left: 1.8rem;
  color: #234a33;
  line-height: 1.65;
}

.page-hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #2c8f4d 0 34%, transparent 36%),
    linear-gradient(135deg, #b7eac8 0%, #76c791 100%);
  box-shadow: 0 0 0 4px rgba(181, 230, 197, 0.45);
}

.fee-duration-block + .fee-duration-block {
  margin-top: 2.25rem;
}

.fee-duration-heading {
  margin-bottom: 1.2rem;
}

.fee-duration-heading .section-intro {
  margin-bottom: 0;
}

.duration-chip {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbf2e4 0%, #eff9f2 100%);
  color: #21603c;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.fee-plan-card {
  min-height: 0;
  gap: 0.8rem;
  padding: 1.05rem;
}

.fee-plan-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
}

.fee-plan-card .plan-tag {
  align-self: flex-start;
  white-space: nowrap;
  margin-bottom: 0.2rem;
}

.fee-price-pair {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0.62rem 0.9rem;
  width: fit-content;
  border-radius: 16px;
  background: #eef9f2;
  border: 1px solid #d7efdf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--green-800);
  direction: ltr;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.fee-price-pair span {
  display: inline-block;
  min-width: 0;
  padding: 0;
}

.fee-price-pair span + span {
  position: relative;
  padding-left: 0.95rem;
}

.fee-price-pair span + span::before {
  content: "/";
  position: absolute;
  left: 0.18rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7aa58a;
  font-weight: 700;
}

.fee-note {
  margin: 0;
  color: #355f46;
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
}

.fee-help-card {
  margin-top: 2rem;
}

.fee-plan-card .price-card-btn {
  margin-top: 0.4rem;
}

.fees-page .page-hero {
  padding: 3.35rem 0 2.7rem;
}

.fees-page .page-hero::before {
  opacity: 0.55;
}

.fees-page .page-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 400px);
  gap: 1.2rem;
  align-items: start;
}

.fees-page .page-hero h1 {
  max-width: 12ch;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.fees-page .page-hero .lead {
  max-width: 34ch;
  margin-top: 0.95rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.fees-page .hero-cta {
  margin-top: 1rem;
}

.fees-page .page-hero-card {
  max-width: 400px;
  justify-self: end;
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(10, 66, 36, 0.07);
}

.fees-page .page-hero-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.fees-page .page-hero-card ul {
  gap: 0.7rem;
}

.fees-page .page-hero-card li {
  padding-left: 1.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.fees-page .page-hero-card li::before {
  width: 0.82rem;
  height: 0.82rem;
}

.fees-page {
  position: relative;
  isolation: isolate;
  font-family: "Manrope", "Cairo", sans-serif;
  background: linear-gradient(180deg, rgba(8, 24, 16, 0.86) 0%, rgba(12, 30, 21, 0.82) 100%);
}

body.fees-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 10, 0.86) 0%, rgba(7, 21, 14, 0.8) 42%, rgba(8, 22, 15, 0.88) 100%),
    url("images/real/hero-mosque.jpg") center center / cover no-repeat;
  z-index: -2;
  pointer-events: none;
}

body.fees-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(121, 204, 148, 0.14), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.07), transparent 18%);
  z-index: -1;
  pointer-events: none;
}

.fees-page-main {
  padding: 1.2rem 0 3.25rem;
}

.fees-page-main .container {
  width: min(1540px, 96%);
}

body.fees-page.is-arabic {
  font-family: "Cairo", sans-serif;
}

.fees-focus-section {
  padding-top: 2.2rem;
  padding-bottom: 2.8rem;
}

.fees-focus-wrap {
  display: grid;
  gap: 1.6rem;
  justify-items: center;
}

.fees-focus-panel {
  position: static;
  width: min(100%, 860px);
  padding: 1.6rem;
  text-align: center;
}

.fees-focus-panel .duration-chip {
  margin-inline: auto;
}

.fees-focus-panel .fee-duration-copy {
  max-width: none;
  margin-inline: auto;
  white-space: nowrap;
}

.fees-focus-panel .fee-duration-badges {
  justify-content: center;
}

.fees-focus-wrap .fee-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: none;
}

.fees-focus-wrap .fee-plan-card {
  min-width: 0;
}

.fees-page .fees-hero {
  padding: 2.75rem 0 2.2rem;
  background:
    linear-gradient(135deg, rgba(247, 252, 249, 0.985) 0%, rgba(236, 247, 240, 0.955) 100%),
    url("images/real/IMG-20260314-WA0008.jpg") center center / cover no-repeat;
}

.fees-page .fees-hero::before {
  opacity: 0.3;
}

.fees-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 360px);
  gap: 1.55rem;
  align-items: start;
}

.fees-hero-copy {
  max-width: 760px;
}

.fees-page .fees-hero h1 {
  margin-top: 0.25rem;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.fees-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.fees-jump-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #c9e5d4;
  background: rgba(255, 255, 255, 0.86);
  color: #1f5b38;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(10, 66, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fees-jump-chip:hover {
  transform: translateY(-2px);
  border-color: #8ac7a1;
  box-shadow: 0 16px 26px rgba(10, 66, 36, 0.08);
}

.fees-summary-section {
  padding-top: 2rem;
}

.fees-included-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 22px;
  border: 1px solid #d8f0e2;
  background:
    radial-gradient(circle at top left, rgba(137, 211, 163, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 30px rgba(10, 66, 36, 0.05);
}

.fees-included-text {
  margin: 0;
  color: #16462c;
  font-size: 1rem;
  font-weight: 800;
}

.fees-included-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fees-included-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  background: #eef9f2;
  color: #2b6942;
  font-size: 0.82rem;
  font-weight: 700;
}

.fees-summary-head {
  margin-top: 1.5rem;
}

.fees-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fees-overview-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(131, 191, 152, 0.28);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 18px 34px rgba(10, 66, 36, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fees-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(121, 204, 148, 0.9) 0%, rgba(42, 140, 75, 0.85) 100%);
  opacity: 0.28;
}

.fees-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 150, 98, 0.34);
  box-shadow: 0 24px 40px rgba(10, 66, 36, 0.09);
}

.fees-overview-card h3 {
  margin: 0.28rem 0 0.6rem;
  color: var(--green-900);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.fees-overview-card p {
  margin: 0;
  color: #345b43;
  line-height: 1.65;
}

.fees-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.fees-overview-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  background: #eff9f2;
  color: #215d3c;
  font-size: 0.83rem;
  font-weight: 800;
}

.fees-overview-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #1f6f41;
  text-decoration: none;
  font-weight: 800;
}

.fees-duration-section {
  scroll-margin-top: 100px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.fee-duration-shell {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}

.fee-duration-panel {
  position: static;
  top: auto;
  padding: 1.35rem;
  border-radius: 26px;
  border: 1px solid #d8f0e2;
  background:
    radial-gradient(circle at top left, rgba(143, 214, 168, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  box-shadow: 0 20px 34px rgba(10, 66, 36, 0.07);
}

.fee-duration-label {
  margin: 0.85rem 0 0.15rem;
  color: #4e7e61;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-duration-range {
  margin: 0;
  color: var(--green-900);
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fee-duration-copy {
  margin: 0.8rem 0 0;
  color: #355f46;
  line-height: 1.72;
  max-width: 27ch;
}

.fee-duration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.fee-duration-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: #eef9f2;
  color: #2b6942;
  font-size: 0.82rem;
  font-weight: 700;
}

.fees-page .fee-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.fees-page .fee-plan-card {
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 24px;
  text-align: center;
}

.fees-page .fee-plan-card h3 {
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.fees-page .fee-plan-card .plan-tag {
  align-self: center;
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
  text-align: center;
}

.fees-page .fee-price-pair {
  align-self: center;
  padding: 0.74rem 0.96rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef9f2 0%, #ffffff 100%);
  border-color: #d6ecde;
  font-size: 1.28rem;
}

.fees-page .fee-note {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e1f1e7;
  background: #f4fbf7;
  color: #2d6343;
  font-size: 0.79rem;
  line-height: 1.25;
  white-space: nowrap;
}

.fees-page .price-card-btn {
  margin-top: auto;
  align-self: center;
}

.fee-help-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.6rem;
  text-align: center;
}

.fee-help-card .plan-tag {
  margin-bottom: 0.55rem;
}

.fee-help-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.fee-help-card p:last-of-type {
  max-width: 54ch;
  margin: 0.8rem auto 0.35rem;
}

.fee-help-card .price-card-btn {
  max-width: 260px;
  margin-inline: auto;
}

body.is-arabic .fees-jump-list,
body.is-arabic .fees-included-points,
body.is-arabic .fee-duration-badges,
body.is-arabic .fees-overview-meta {
  direction: rtl;
}

.about-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 251, 247, 0.93) 52%, rgba(236, 247, 240, 0.92) 100%),
    radial-gradient(circle at top left, rgba(121, 204, 148, 0.16), transparent 24%),
    url("images/real/hero-mosque.jpg") center center / cover no-repeat;
  padding: 3.2rem 0 2.8rem;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: 1rem 2.1rem;
  align-items: start;
}

.about-page {
  font-family: "Manrope", "Cairo", sans-serif;
}

.about-page .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0.15rem;
  justify-self: center;
  text-align: center;
}

.about-page .hero-cta {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 0.35rem;
}

.about-hero h1 {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: none;
  margin-top: 0;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(1.3rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.about-page-subtitle {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 34ch;
  margin: 0 auto 0.15rem;
  padding: 0.95rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(153, 206, 172, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 249, 243, 0.96) 100%);
  box-shadow: 0 16px 30px rgba(10, 66, 36, 0.06);
  color: #235039;
  text-align: center;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.about-page-body {
  margin: 0;
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 960px;
  padding: 1.45rem 1.55rem;
  border-radius: 26px;
  border: 1px solid rgba(153, 206, 172, 0.4);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(10, 66, 36, 0.07);
  color: #2d5b3e;
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.95;
  letter-spacing: -0.01em;
  text-align: start;
}

body.about-page.is-arabic {
  font-family: "Cairo", sans-serif;
}

body.is-arabic .page-hero {
  text-align: right;
}

body.is-arabic .page-hero-card li {
  padding-left: 0;
  padding-right: 1.8rem;
}

body.is-arabic .page-hero-card li::before {
  left: auto;
  right: 0;
}

body.is-arabic .fees-preview {
  text-align: right;
}

body.is-arabic .fees-preview-actions {
  justify-content: flex-start;
}

body.is-arabic .about-hero-copy {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.2fr);
}

body.is-arabic .about-page-subtitle {
  text-align: center;
}

body.is-arabic .about-page-body {
  text-align: start;
}

.review {
  border-top: 3px solid #7fd49f;
}

.stars {
  margin: 0 0 0.45rem;
  color: #f2b743;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #d4eedf;
  box-shadow: 0 12px 24px rgba(10, 66, 36, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: gentlePan 14s ease-in-out infinite alternate;
}

.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 32px rgba(10, 66, 36, 0.16);
}

@keyframes heroSlide {
  0% { opacity: 0; transform: scale(1.03); }
  8% { opacity: 1; transform: scale(1.02); }
  28% { opacity: 1; transform: scale(1); }
  36% { opacity: 0; transform: scale(1.01); }
  100% { opacity: 0; }
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(16px); }
}

@keyframes gentleZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@keyframes gentlePan {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.04) translateY(-4px); }
}

.trial {
  padding: 3.8rem 0;
  background: linear-gradient(180deg, #e2f6e9 0%, #f3fcf7 100%);
}

.trial-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid #d4eddc;
  border-radius: 14px;
  padding: 1.3rem;
}

.site-footer {
  background: #0e4f2f;
  color: #d5f1de;
  padding-top: 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: #fff;
}

.site-footer a {
  color: #d5f1de;
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.9rem;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-actions,
  .cards-3,
  .steps,
  .pricing,
  .gallery-grid,
  .page-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hamburger {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #d5ecdfff;
    box-shadow: 0 16px 28px rgba(8, 53, 30, 0.12);
    display: none;
  }

  .nav-links {
    display: grid;
    gap: 0;
    padding: 0.5rem 1rem 0.8rem;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.3rem;
    border-bottom: 1px solid #e4f4eb;
  }

  #nav-toggle:checked ~ .main-nav {
    display: block;
  }

  #nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-trial-btn {
    padding: 0.54rem 0.78rem;
    font-size: 0.84rem;
    border-radius: 8px;
  }

  .header-actions {
    margin-inline-start: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.55rem;
  }

  .hero {
    padding: 4.1rem 0 3.6rem;
    background-attachment: scroll;
  }

  .fees-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .fees-preview-actions {
    justify-content: flex-start;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 4rem 0 3.5rem;
  }

  .fees-page .page-hero {
    padding: 2.9rem 0 2.4rem;
  }

  .fees-page .page-hero-card {
    max-width: 100%;
    justify-self: stretch;
  }

  .fees-page .page-hero h1 {
    max-width: 12ch;
  }

  .fees-page .fees-hero h1 {
    white-space: normal;
  }

  .fees-hero-shell,
  .fee-duration-shell {
    grid-template-columns: 1fr;
  }

  .fees-page-main .container {
    width: min(1140px, 92%);
  }

  .fees-focus-wrap .fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fees-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fees-included-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .fee-duration-panel {
    position: static;
  }

  .fees-focus-panel {
    width: 100%;
  }

  .fees-focus-panel .fee-duration-copy {
    white-space: normal;
  }

  .about-hero-copy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.is-arabic .about-hero-copy {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 2.75rem 0 2.45rem;
  }

  .about-hero h1 {
    max-width: none;
    font-size: clamp(1.3rem, 5vw, 2.7rem);
  }

  .about-page-subtitle,
  .about-page-body {
    max-width: 100%;
  }

  .about-page-body {
    padding: 1.2rem 1.25rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .section {
    padding: 3.6rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 1.3rem));
  }

  .courses-intro-line {
    white-space: normal;
    max-width: 32ch;
  }

  .topbar-wrap,
  .hero-grid,
  .contact-actions,
  .cards-3,
  .steps,
  .pricing,
  .gallery-grid,
  .page-hero-grid,
  .footer-grid,
  .trial-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar-wrap {
    min-height: auto;
    padding: 0.45rem 0;
    gap: 0.2rem;
    text-align: center;
  }

  .hero .btn,
  .contact-panel .btn,
  .trial .btn {
    width: 100%;
    text-align: center;
  }

  .nav-wrap {
    min-height: 68px;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.7rem 0;
  }

  .main-nav {
    top: 68px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    width: 100%;
    gap: 0.45rem;
    justify-content: space-between;
    align-items: stretch;
  }

  .lang-switcher {
    padding: 0.16rem;
    order: 2;
  }

  .lang-btn {
    padding: 0.36rem 0.55rem;
    font-size: 0.74rem;
  }

  .nav-trial-btn {
    flex: 1 1 190px;
    text-align: center;
    padding: 0.48rem 0.68rem;
    font-size: 0.8rem;
    order: 1;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .page-hero {
    padding: 3.3rem 0 3rem;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-title {
    max-width: 12ch;
    margin-inline: auto;
  }

  .lead {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-inline: auto;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-points span {
    width: 100%;
    text-align: center;
  }

  .hero-panel {
    padding: 1.1rem;
    border-radius: 20px;
  }

  .hero-photo {
    height: 220px;
    margin-bottom: 0.85rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  .section-intro {
    margin-bottom: 1.25rem;
    font-size: 0.94rem;
  }

  .card-media {
    width: calc(100% + 2rem);
    margin: -1rem -1rem 0.85rem;
    height: 210px;
  }

  .card,
  .step {
    padding: 1rem;
  }

  .teacher-card {
    padding-top: 1rem;
  }

  .teacher-photo {
    width: 96px;
    height: 96px;
  }

  .price-card,
  .offer-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .price-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
  }

  .price {
    font-size: 1.85rem;
  }

  .price-card ul {
    gap: 0.8rem;
    margin-top: 1.1rem;
  }

  .price-card.featured {
    transform: none;
  }

  .fees-preview {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .fees-preview-actions {
    width: 100%;
  }

  .fees-preview-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  .page-hero-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .fees-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .fees-page .fees-hero h1 {
    white-space: normal;
    font-size: clamp(1.4rem, 6vw, 1.95rem);
  }

  .fees-hero-shell,
  .fees-overview-grid,
  .fee-duration-shell {
    grid-template-columns: 1fr;
  }

  .fees-included-bar,
  .fees-included-points {
    width: 100%;
  }

  .fees-jump-list {
    width: 100%;
  }

  .fees-jump-chip {
    flex: 1 1 calc(50% - 0.7rem);
  }

  .fee-grid {
    grid-template-columns: 1fr;
  }

  .fees-focus-wrap .fee-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .fees-duration-section {
    padding-top: 1.5rem;
    padding-bottom: 1.7rem;
    scroll-margin-top: 82px;
  }

  .fees-focus-wrap {
    gap: 0.95rem;
  }

  .fees-focus-panel {
    padding: 1.05rem 0.95rem;
    border-radius: 22px;
  }

  .fees-focus-panel .duration-chip {
    margin-bottom: 0.65rem;
    padding: 0.54rem 0.82rem;
    font-size: 0.76rem;
  }

  .fees-focus-panel .fee-duration-copy {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .fees-focus-panel .fee-duration-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }

  .fees-focus-panel .fee-duration-badges span {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-page-body {
    max-width: 100%;
    font-size: 1.02rem;
    line-height: 1.82;
  }

  .about-hero {
    padding: 2.2rem 0 2rem;
  }

  .about-hero-copy {
    gap: 0.85rem;
  }

  .about-page .section-kicker {
    margin-bottom: 0.1rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .about-hero h1 {
    max-width: 10ch;
    margin-inline: auto;
    white-space: normal;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .about-page-subtitle {
    max-width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .about-page-body {
    padding: 1rem;
    border-radius: 20px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .about-page .hero-cta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .about-page .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .fee-plan-card h3,
  .fee-note,
  .fee-plan-card .plan-tag {
    white-space: normal;
  }

  .fees-page .fee-plan-card h3,
  .fees-page .fee-note,
  .fees-page .fee-plan-card .plan-tag {
    white-space: normal;
  }

  .fees-page .fee-plan-card {
    gap: 0.75rem;
    padding: 1rem;
  }

  .fees-page .fee-plan-card .plan-tag {
    width: 100%;
    max-width: 260px;
    font-size: 0.72rem;
    padding: 0.5rem 0.78rem;
  }

  .fees-page .fee-plan-card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .fees-page .fee-price-pair {
    width: 100%;
    max-width: 220px;
    justify-content: center;
    font-size: 1.14rem;
    padding: 0.68rem 0.8rem;
  }

  .fees-page .fee-note {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
  }

  .fees-page .price-card-btn {
    width: 100%;
  }

  .about-page-subtitle {
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }

  .about-page-body {
    padding: 1.05rem 1.1rem;
    border-radius: 18px;
  }

  .currency-switcher {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.8rem;
  }

  .currency-btn {
    flex: 1 1 0;
    text-align: center;
  }

  .currency-note {
    font-size: 0.84rem;
    margin-bottom: 0.95rem;
  }

  .gallery-grid img {
    height: 210px;
  }

  .review {
    padding: 1.05rem;
  }

  .stars {
    font-size: 1.02rem;
  }

  .trial-wrap {
    padding: 1.15rem;
    text-align: center;
  }

  .footer-grid {
    gap: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .site-header {
    backdrop-filter: blur(8px);
  }

  .logo-wrap {
    gap: 0.45rem;
    max-width: calc(100% - 54px);
  }

  .logo {
    font-size: 1rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .hamburger {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
  }

  .lang-btn {
    flex: 1 1 0;
    padding: 0.42rem 0.45rem;
    font-size: 0.72rem;
  }

  .nav-trial-btn {
    width: 100%;
    flex: auto;
  }

  .main-nav {
    top: 84px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 11vw, 2.35rem);
    max-width: 11ch;
  }

  .page-hero {
    padding-top: 2.8rem;
    padding-bottom: 2.55rem;
  }

  .lead {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 2.55rem;
    padding-bottom: 2.8rem;
  }

  .hero-grid {
    gap: 1.15rem;
  }

  .hero-photo {
    height: 180px;
    border-radius: 10px;
  }

  .hero-points span {
    width: 100%;
    text-align: center;
  }

  .hero-panel {
    padding: 0.95rem;
  }

  .hero-panel ul {
    padding-left: 0.95rem;
    gap: 0.5rem;
  }

  .section {
    padding: 2.7rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-kicker {
    font-size: 0.74rem;
  }

  .card-media {
    height: 180px;
  }

  .card p,
  .step p,
  .price-card li,
  .section-intro,
  .currency-note {
    font-size: 0.91rem;
  }

  .price-card,
  .offer-card,
  .trial-wrap,
  .contact-panel {
    padding: 1rem;
  }

  .plan-tag {
    font-size: 0.72rem;
    padding: 0.46rem 0.78rem;
  }

  .price-card h3 {
    font-size: 1.52rem;
  }

  .price {
    font-size: 1.68rem;
  }

  .fee-price-pair {
    font-size: 1.34rem;
  }

  .fees-page-main {
    padding-top: 0.85rem;
  }

  .fees-focus-panel {
    padding: 0.95rem 0.85rem;
  }

  .fees-focus-panel .fee-duration-copy {
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .fees-page .fee-price-pair {
    max-width: 205px;
    font-size: 1.05rem;
  }

  .fees-page .fee-note {
    max-width: 260px;
    font-size: 0.77rem;
  }

  .fees-jump-chip {
    flex: 1 1 100%;
  }

  .about-hero {
    padding: 1.95rem 0 1.8rem;
  }

  .about-hero h1 {
    max-width: 9ch;
    font-size: clamp(1.45rem, 9.6vw, 1.95rem);
    line-height: 1.1;
  }

  .about-page-subtitle {
    padding: 0.82rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .about-page-body {
    padding: 0.92rem 0.9rem;
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .price-card li {
    padding-left: 1.65rem;
  }

  .price-card-btn,
  .panel-btn,
  .trial .btn {
    font-size: 0.92rem;
  }

  .gallery-grid img {
    height: 190px;
  }

  .copyright {
    font-size: 0.85rem;
  }

  body.is-arabic .hero-panel ul,
  body.is-arabic .price-card li {
    padding-right: 0;
  }
}
