:root {
  --ndeg-ink: #061d2b;
  --ndeg-nile: #0a3a48;
  --ndeg-deep: #082634;
  --ndeg-gold: #d9a441;
  --ndeg-emerald: #0b7a68;
  --ndeg-paper: #fffaf0;
  --ndeg-soft: #f4f0e5;
  --ndeg-white: #ffffff;
  --ndeg-muted: #5d6b72;
  --ndeg-line: rgba(6, 29, 43, .14);
}

html,
body {
  direction: rtl;
}

body,
button,
input,
select,
textarea {
  font-family: Cairo, Tahoma, Arial, sans-serif;
}

.site-content .ast-container,
.ast-container {
  max-width: none;
  padding: 0;
}

.main-header-menu,
.site-header,
.ast-builder-menu,
.ast-primary-header-bar {
  direction: rtl;
}

.entry-content {
  margin: 0;
}

.ndeg-page {
  width: 100%;
  background: var(--ndeg-white);
  color: var(--ndeg-ink);
  direction: rtl;
  text-align: right;
  font-family: Cairo, Tahoma, Arial, sans-serif;
}

.elementor-widget-shortcode .ndeg-page {
  width: 100vw;
  margin-right: calc(50% - 50vw);
}

.ndeg-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ndeg-hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--ndeg-white);
}

.ndeg-hero__inner {
  padding: 104px 0 118px;
}

.ndeg-eyebrow {
  margin: 0 0 14px;
  color: var(--ndeg-gold);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ndeg-hero h1,
.ndeg-section h2,
.ndeg-card h3,
.ndeg-contact-card h2 {
  font-family: "Noto Kufi Arabic", Cairo, Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.22;
}

.ndeg-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--ndeg-white);
  font-size: clamp(2.25rem, 5.2vw, 5.1rem);
  font-weight: 800;
}

.ndeg-lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, .92);
}

.ndeg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ndeg-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ndeg-line);
  border-radius: 6px;
  padding: 13px 20px;
  color: var(--ndeg-ink);
  background: var(--ndeg-white);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.ndeg-btn:hover {
  transform: translateY(-1px);
}

.ndeg-btn--gold {
  background: var(--ndeg-gold);
  border-color: var(--ndeg-gold);
  color: #211706;
}

.ndeg-btn--ghost {
  color: var(--ndeg-white);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.ndeg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ndeg-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
  font-size: .94rem;
  backdrop-filter: blur(6px);
}

.ndeg-section {
  padding: 78px 0;
}

.ndeg-section--soft {
  background: var(--ndeg-soft);
}

.ndeg-section--ink {
  background: var(--ndeg-ink);
  color: var(--ndeg-white);
}

.ndeg-section--ink h2,
.ndeg-section--ink p,
.ndeg-section--ink li {
  color: var(--ndeg-white);
}

.ndeg-section__head {
  max-width: 780px;
  margin-bottom: 32px;
}

.ndeg-section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  font-weight: 800;
}

.ndeg-section p {
  color: var(--ndeg-muted);
  line-height: 1.9;
  font-size: 1.03rem;
}

.ndeg-grid {
  display: grid;
  gap: 18px;
}

.ndeg-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ndeg-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ndeg-card,
.ndeg-mini,
.ndeg-table,
.ndeg-photo-slot,
.ndeg-contact-card {
  border: 1px solid var(--ndeg-line);
  border-radius: 8px;
  background: var(--ndeg-white);
}

.ndeg-card {
  padding: 24px;
  min-height: 210px;
}

.ndeg-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.ndeg-card p {
  margin: 0 0 18px;
}

.ndeg-card a,
.ndeg-mini a {
  color: var(--ndeg-emerald);
  font-weight: 900;
  text-decoration: none;
}

.ndeg-mini {
  min-height: 96px;
  padding: 18px;
  display: flex;
  align-items: center;
}

.ndeg-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
}

.ndeg-table {
  overflow: hidden;
}

.ndeg-table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ndeg-line);
}

.ndeg-table div:last-child {
  border-bottom: 0;
}

.ndeg-table strong {
  color: var(--ndeg-nile);
}

.ndeg-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ndeg-checks li {
  position: relative;
  padding: 14px 34px 14px 0;
  border-bottom: 1px solid var(--ndeg-line);
  line-height: 1.75;
}

.ndeg-checks li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 21px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ndeg-emerald);
  box-shadow: inset 0 0 0 4px var(--ndeg-white);
}

.ndeg-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.ndeg-gallery img,
.ndeg-photo-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ndeg-gallery img {
  border-radius: 8px;
  grid-row: span 2;
}

.ndeg-photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ndeg-soft), #ffffff);
  color: var(--ndeg-muted);
  font-weight: 900;
}

.ndeg-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ndeg-contact-card {
  padding: 28px;
}

.ndeg-contact-card h2 {
  margin-top: 0;
}

.ndeg-faq {
  display: grid;
  gap: 12px;
}

.ndeg-faq details {
  border: 1px solid var(--ndeg-line);
  border-radius: 8px;
  background: var(--ndeg-white);
  padding: 18px 20px;
}

.ndeg-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.ndeg-faq p {
  margin-bottom: 0;
}

.ndeg-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: grid;
  gap: 10px;
}

.ndeg-float__btn {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ndeg-float__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

.ndeg-float__btn svg {
  width: 29px;
  height: 29px;
  fill: #fff;
}

.ndeg-float__btn--wa {
  background: #25d366;
}

.ndeg-float__btn--call {
  background: var(--ndeg-gold);
}

.elementor-section.ndeg-el-hero,
.elementor .elementor-section:first-child {
  min-height: 82vh;
  display: flex !important;
  align-items: center;
  position: relative;
}

.elementor-section.ndeg-el-hero::before,
.elementor .elementor-section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,24,38,.18), rgba(4,24,38,.72) 42%, rgba(4,24,38,.92));
  pointer-events: none;
}

.elementor-section.ndeg-el-hero > .elementor-container,
.elementor .elementor-section:first-child > .elementor-container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 82vh;
  align-items: center;
}

.ndeg-el-hero .elementor-widget-wrap,
.elementor .elementor-section:first-child .elementor-widget-wrap {
  align-content: center;
  padding: 104px 0 118px;
}

.ndeg-el-eyebrow .elementor-heading-title {
  margin: 0;
  color: var(--ndeg-gold) !important;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: .9rem;
  font-weight: 900;
}

.ndeg-el-title .elementor-heading-title {
  max-width: 820px;
  margin: 0;
  color: var(--ndeg-white) !important;
  font-family: "Noto Kufi Arabic", Cairo, Tahoma, Arial, sans-serif !important;
  font-size: clamp(2.25rem, 5.2vw, 5.1rem) !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

.ndeg-el-lead {
  max-width: 700px;
}

.ndeg-el-lead p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .92) !important;
  font-size: clamp(1.05rem, 2vw, 1.32rem) !important;
  line-height: 1.85 !important;
}

.ndeg-el-btn {
  display: inline-block;
  width: auto;
  margin: 18px 0 0 12px;
}

.ndeg-el-btn .elementor-button {
  min-height: 48px;
  border: 1px solid var(--ndeg-line);
  border-radius: 6px;
  padding: 14px 22px;
  background: var(--ndeg-white) !important;
  color: var(--ndeg-ink) !important;
  font-family: Cairo, Tahoma, Arial, sans-serif !important;
  font-weight: 900 !important;
}

.ndeg-el-btn-gold .elementor-button {
  background: var(--ndeg-gold) !important;
  border-color: var(--ndeg-gold);
  color: #211706 !important;
}

.ndeg-el-btn-ghost .elementor-button {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .45);
  color: var(--ndeg-white) !important;
}

.ndeg-el-trust p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .92) !important;
  font-weight: 700;
}

.elementor-section.ndeg-el-section {
  padding: 78px 0;
}

.elementor-section.ndeg-el-section > .elementor-container {
  width: min(1120px, calc(100% - 32px));
}

.elementor-section.ndeg-el-soft {
  background: var(--ndeg-soft);
}

.elementor-section.ndeg-el-dark {
  background: var(--ndeg-ink);
}

.ndeg-el-section-title .elementor-heading-title {
  color: var(--ndeg-ink) !important;
  font-family: "Noto Kufi Arabic", Cairo, Tahoma, Arial, sans-serif !important;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
}

.ndeg-el-dark .ndeg-el-section-title .elementor-heading-title,
.ndeg-el-dark .ndeg-el-body p,
.ndeg-el-dark .ndeg-el-check p {
  color: var(--ndeg-white) !important;
}

.ndeg-el-body p,
.ndeg-el-card-text p,
.ndeg-el-faq-text p {
  color: var(--ndeg-muted) !important;
  font-size: 1.03rem !important;
  line-height: 1.9 !important;
}

.ndeg-el-card .elementor-widget-wrap,
.ndeg-el-image-card .elementor-widget-wrap {
  height: 100%;
  margin: 9px;
  padding: 24px;
  border: 1px solid var(--ndeg-line);
  border-radius: 8px;
  background: var(--ndeg-white);
}

.ndeg-el-card-title .elementor-heading-title,
.ndeg-el-faq-title .elementor-heading-title {
  color: var(--ndeg-ink) !important;
  font-family: "Noto Kufi Arabic", Cairo, Tahoma, Arial, sans-serif !important;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
}

.ndeg-el-card-link .elementor-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ndeg-emerald) !important;
  box-shadow: none;
}

.ndeg-el-row p,
.ndeg-el-check p {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid var(--ndeg-line);
  color: var(--ndeg-ink) !important;
  font-weight: 800;
  line-height: 1.75;
}

.ndeg-el-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.ndeg-el-image .widget-image-caption {
  margin-top: 10px;
  color: var(--ndeg-muted);
  font-family: Cairo, Tahoma, Arial, sans-serif !important;
  font-weight: 900;
}

@media (max-width: 900px) {
  .ndeg-hero {
    min-height: 78vh;
  }

  .ndeg-hero__inner {
    padding: 82px 0 104px;
  }

  .ndeg-grid--3,
  .ndeg-grid--4,
  .ndeg-split,
  .ndeg-gallery,
  .ndeg-contact-grid {
    grid-template-columns: 1fr;
  }

  .ndeg-gallery img {
    grid-row: auto;
  }

  .ndeg-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ndeg-section {
    padding: 56px 0;
  }

  .ndeg-float {
    right: 12px;
    bottom: 12px;
  }

  .ndeg-float__btn {
    width: 54px;
    height: 54px;
  }

  .elementor-section.ndeg-el-hero,
  .elementor-section.ndeg-el-hero > .elementor-container {
    min-height: 78vh;
  }

  .ndeg-el-hero .elementor-widget-wrap {
    padding: 82px 0 104px;
  }

  .ndeg-el-btn {
    width: 100%;
    margin-left: 0;
  }

  .ndeg-el-btn .elementor-button {
    width: 100%;
  }

  .elementor-section.ndeg-el-section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
