:root {
  --navy-950: #03202c;
  --navy-900: #073b4c;
  --navy-800: #0a4a5f;
  --teal-700: #087f75;
  --teal-600: #0b9b8d;
  --teal-100: #dff7f3;
  --amber-500: #ffb703;
  --amber-300: #ffd166;
  --ink-900: #102a36;
  --ink-700: #405b67;
  --ink-500: #70838c;
  --surface: #f5f8f9;
  --white: #fff;
  --border: #dfe8eb;
  --shadow-sm: 0 10px 30px rgba(8, 45, 58, 0.08);
  --shadow-lg: 0 28px 70px rgba(3, 32, 44, 0.17);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --font-en: "Manrope", sans-serif;
  --font-ar: "Noto Sans Arabic", sans-serif;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  overflow-x: hidden;
  color: var(--ink-700);
  background: var(--white);
  font-family: var(--font-en);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.035em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
  font-size: 0.78rem;
}

.topbar a {
  color: var(--amber-300);
}

.navbar {
  min-height: 78px;
  border-bottom: 1px solid rgba(7, 59, 76, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 8px 25px rgba(3, 32, 44, 0.08);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: var(--navy-950);
  background: var(--amber-500);
  font-size: 1.45rem;
  box-shadow: 0 8px 22px rgba(255, 183, 3, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--navy-900);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy small {
  max-width: 175px;
  margin-top: 0.22rem;
  color: var(--ink-500);
  font-size: 0.67rem;
  letter-spacing: 0.02em;
}

.navbar-nav {
  gap: 0.35rem;
}

.navbar .nav-link {
  position: relative;
  padding: 0.65rem 0.8rem !important;
  color: var(--ink-700);
  font-size: 0.88rem;
  font-weight: 700;
}

.navbar .nav-link::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.25rem;
  left: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-600);
  content: "";
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--teal-700);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.language-btn {
  min-width: 38px;
  padding: 0.3rem 0.55rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink-500);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  transition:
    color var(--transition),
    background var(--transition);
}

.language-btn.active {
  color: var(--white);
  background: var(--navy-900);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand,
.btn-accent {
  border-color: var(--amber-500);
  color: var(--navy-950);
  background: var(--amber-500);
  box-shadow: 0 12px 28px rgba(255, 183, 3, 0.24);
}

.btn-brand:hover,
.btn-accent:hover {
  border-color: var(--amber-300);
  color: var(--navy-950);
  background: var(--amber-300);
  box-shadow: 0 16px 34px rgba(255, 183, 3, 0.3);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--white);
  color: var(--navy-950);
  background: var(--white);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 15%, rgba(59, 170, 162, 0.19), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 58%, #075663);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.hero-orb-one {
  top: -280px;
  right: -150px;
  width: 680px;
  height: 680px;
}

.hero-orb-two {
  right: 30%;
  bottom: -310px;
  width: 480px;
  height: 480px;
}

.min-vh-hero {
  min-height: min(780px, calc(100vh - 116px));
  padding: 5.5rem 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: var(--amber-300);
}

.hero-section h1 {
  max-width: 800px;
  margin-bottom: 1.6rem;
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

html[lang="ar"] .hero-section h1 {
  line-height: 1.25;
}

.hero-lead {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.hero-points {
  max-width: 670px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-points i {
  color: var(--amber-300);
}

.hero-visual {
  position: relative;
  max-width: 475px;
  margin-inline: auto;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.12);
  border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 32, 44, 0.3), transparent 50%);
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 225px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.82rem;
}

.floating-card small {
  color: var(--ink-500);
  font-size: 0.68rem;
}

.floating-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--teal-700);
  background: var(--teal-100);
}

.floating-result {
  right: -35px;
  bottom: 70px;
}

.floating-quality {
  top: 80px;
  left: -55px;
  min-width: 195px;
}

.quality-score {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-500);
  font-size: 0.75rem;
  font-weight: 800;
}

.stats-strip {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.stat-item {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  border-inline-end: 1px solid var(--border);
}

.stat-item:last-child {
  border-inline-end: 0;
}

.stat-item strong {
  color: var(--navy-900);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.stat-item span {
  margin-top: 0.55rem;
  color: var(--ink-500);
  font-size: 0.8rem;
  font-weight: 600;
}

.section-space {
  padding: 7rem 0;
}

.section-title {
  margin-bottom: 1.35rem;
  color: var(--ink-900);
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  line-height: 1.08;
}

.section-lead {
  color: var(--ink-500);
  font-size: 1rem;
  line-height: 1.8;
}

.about-media {
  position: relative;
  min-height: 570px;
  padding-right: 70px;
  padding-bottom: 55px;
}

.about-main-image {
  width: 100%;
  height: 530px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-small-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 230px;
  height: 230px;
  border: 8px solid var(--white);
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.about-badge {
  position: absolute;
  top: 35px;
  left: -25px;
  display: flex;
  width: 140px;
  height: 140px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-500);
  text-align: center;
  transform: rotate(-7deg);
  box-shadow: 0 18px 38px rgba(255, 183, 3, 0.24);
}

.about-badge i {
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
}

.about-badge strong {
  max-width: 95px;
  font-size: 0.78rem;
}

.value-list {
  display: grid;
  gap: 1.3rem;
  margin: 2rem 0;
}

.value-item {
  display: flex;
  gap: 1rem;
}

.value-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: var(--teal-700);
  background: var(--teal-100);
  font-size: 1.3rem;
}

.value-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.value-item p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.86rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--teal-700);
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link i {
  transition: transform var(--transition);
}

.text-link:hover {
  color: var(--navy-900);
}

.text-link:hover i {
  transform: translateX(4px);
}

.services-section {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 405px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    background var(--transition);
}

.service-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border: 25px solid rgba(11, 155, 141, 0.05);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: translateY(-7px);
}

.service-card-featured {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-900);
}

.service-card-featured h3,
.service-card:hover h3 {
  color: var(--white);
}

.service-card-featured p,
.service-card-featured ul,
.service-card:hover p,
.service-card:hover ul {
  color: rgba(255, 255, 255, 0.7);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  color: var(--teal-700);
  background: var(--teal-100);
  font-size: 1.45rem;
}

.service-icon-red {
  color: #c64057;
  background: #ffe6eb;
}

.service-icon-blue {
  color: #345fbd;
  background: #e8efff;
}

.service-icon-yellow {
  color: #956800;
  background: #fff2c4;
}

.service-icon-purple {
  color: #7551b4;
  background: #f1eaff;
}

.service-icon-cyan {
  color: #0a7d98;
  background: #ddf7fc;
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #a1b0b6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 2.1rem 0 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  min-height: 76px;
  margin-bottom: 1.25rem;
  color: var(--ink-500);
  font-size: 0.87rem;
}

.service-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-500);
  font-size: 0.78rem;
}

.insurance-section {
  padding: 0 0 7rem;
  background: var(--surface);
}

.insurance-panel {
  position: relative;
  overflow: hidden;
  padding: 3.6rem;
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 90% 0, rgba(255, 183, 3, 0.18), transparent 30%),
    var(--teal-700);
}

.insurance-panel::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.insurance-panel h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.insurance-panel p {
  max-width: 700px;
  margin: 0;
}

.insurance-features {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
}

.insurance-features span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.insurance-features i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-500);
}

.insurance-features b {
  color: var(--white);
  font-size: 0.85rem;
}

.section-heading-narrow {
  max-width: 760px;
}

.process-line {
  position: relative;
}

.process-line::before {
  position: absolute;
  top: 58px;
  right: 10%;
  left: 10%;
  z-index: 0;
  height: 1px;
  border-top: 1px dashed #b8c8ce;
  content: "";
}

.process-card {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.process-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.process-step {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #a2b1b7;
  font-size: 0.7rem;
  font-weight: 800;
}

.process-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 1.4rem;
  place-items: center;
  border: 8px solid var(--white);
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-500);
  box-shadow: 0 0 0 1px var(--border);
  font-size: 1.45rem;
}

.process-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.preparation-section {
  padding: 0 0 7rem;
}

.preparation-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.preparation-image img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.preparation-content {
  padding: 4.5rem;
}

.prep-tip {
  display: flex;
  height: 100%;
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.prep-tip > i {
  color: var(--teal-700);
  font-size: 1.25rem;
}

.prep-tip h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.prep-tip p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.76rem;
}

.contact-section {
  background:
    radial-gradient(circle at 5% 95%, rgba(11, 155, 141, 0.08), transparent 25%),
    var(--white);
}

.branch-list {
  display: grid;
  gap: 0.9rem;
}

.branch-card {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.branch-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-700);
  background: var(--teal-100);
}

.branch-card small {
  color: var(--teal-700);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.branch-card h3 {
  margin: 0.15rem 0;
  font-size: 1rem;
}

.branch-card p,
.branch-card span {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.78rem;
}

.contact-form {
  padding: 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--navy-950);
  background: var(--amber-500);
  font-size: 1.25rem;
}

.form-heading h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.form-heading p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.8rem;
}

.form-label {
  color: var(--ink-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.form-control {
  min-height: 50px;
  border-color: var(--border);
  border-radius: 11px;
  background: var(--white);
}

.form-control:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 0.22rem rgba(11, 155, 141, 0.12);
}

textarea.form-control {
  min-height: 125px;
  resize: vertical;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-500);
  font-size: 0.7rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: #176b55;
  background: #dcf8ed;
  font-size: 0.8rem;
  font-weight: 700;
}

.form-success.show {
  display: flex;
}

.site-footer {
  padding: 5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.64);
  background: var(--navy-950);
}

.site-footer .brand-mark {
  box-shadow: none;
}

.site-footer .brand-copy strong {
  color: var(--white);
}

.site-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-about {
  max-width: 500px;
  margin: 1.3rem 0 0;
  font-size: 0.86rem;
}

.footer-arabic {
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--amber-300);
}

.site-footer h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--amber-300);
}

.footer-hours {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.77rem;
}

.footer-hours strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-500);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

html[dir="rtl"] .bi-arrow-right {
  transform: scaleX(-1);
}

html[dir="rtl"] .text-link:hover i {
  transform: translateX(-4px) scaleX(-1);
}

html[dir="rtl"] .service-number,
html[dir="rtl"] .process-step {
  right: auto;
  left: 2rem;
}

html[dir="rtl"] .service-card ul {
  padding-right: 1.1rem;
  padding-left: 0;
}

html[dir="rtl"] .about-media {
  padding-right: 0;
  padding-left: 70px;
}

html[dir="rtl"] .about-small-image {
  right: auto;
  left: 0;
}

html[dir="rtl"] .about-badge {
  right: -25px;
  left: auto;
}

html[dir="rtl"] .floating-result {
  right: auto;
  left: -35px;
}

html[dir="rtl"] .floating-quality {
  right: -55px;
  left: auto;
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 1.25rem;
}

@media (max-width: 1199.98px) {
  .hero-image-wrap img {
    height: 520px;
  }

  .floating-result {
    right: -10px;
  }

  .floating-quality {
    left: -15px;
  }

  html[dir="rtl"] .floating-result {
    right: auto;
    left: -10px;
  }

  html[dir="rtl"] .floating-quality {
    right: -15px;
    left: auto;
  }

  .preparation-content {
    padding: 3.2rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem 0 1.3rem;
    border-top: 1px solid var(--border);
  }

  .navbar .nav-link {
    padding: 0.7rem 0 !important;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .min-vh-hero {
    min-height: auto;
    padding: 5rem 0 7rem;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .stat-item:nth-child(2) {
    border-inline-end: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .about-media {
    max-width: 650px;
    margin-inline: auto;
  }

  .process-line::before {
    display: none;
  }

  .preparation-image img {
    min-height: 450px;
    max-height: 540px;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 5rem 0;
  }

  .hero-section h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .hero-image-wrap img {
    height: 460px;
  }

  .floating-card {
    min-width: 190px;
    padding: 0.75rem;
  }

  .floating-result {
    right: 5px;
  }

  .floating-quality {
    top: 45px;
    left: 5px;
  }

  html[dir="rtl"] .floating-result {
    right: auto;
    left: 5px;
  }

  html[dir="rtl"] .floating-quality {
    right: 5px;
    left: auto;
  }

  .stat-item {
    min-height: 120px;
    padding: 1.2rem;
  }

  .about-media {
    min-height: 480px;
    padding-right: 40px;
    padding-bottom: 45px;
  }

  html[dir="rtl"] .about-media {
    padding-right: 0;
    padding-left: 40px;
  }

  .about-main-image {
    height: 450px;
  }

  .about-small-image {
    width: 175px;
    height: 175px;
  }

  .about-badge {
    left: -5px;
    width: 115px;
    height: 115px;
  }

  html[dir="rtl"] .about-badge {
    right: -5px;
    left: auto;
  }

  .insurance-panel,
  .preparation-content,
  .contact-form {
    padding: 2rem;
  }

  .preparation-image img {
    min-height: 360px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .language-btn {
    min-width: 34px;
    padding-inline: 0.4rem;
  }

  .hero-points li {
    font-size: 0.8rem;
  }

  .hero-image-wrap {
    border-width: 6px;
    border-radius: 100px 100px 24px 24px;
  }

  .hero-image-wrap img {
    height: 390px;
  }

  .floating-card {
    min-width: 170px;
  }

  .floating-card small {
    display: none;
  }

  .floating-quality {
    min-width: 155px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: auto;
  }

  .about-media {
    min-height: 410px;
  }

  .about-main-image {
    height: 390px;
  }

  .about-small-image {
    width: 145px;
    height: 145px;
  }

  .about-badge {
    top: 22px;
    width: 100px;
    height: 100px;
  }

  .insurance-panel,
  .preparation-content,
  .contact-form {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
