:root {
  --color-bg: #f4f0e8;
  --color-surface: rgba(255, 255, 255, 0.88);
  --color-surface-strong: #ffffff;
  --color-text: #142235;
  --color-text-soft: #5d6a78;
  --color-primary: #2f6fd6;
  --color-primary-dark: #1d58b8;
  --color-accent: #b59a67;
  --color-accent-dark: #9a8051;
  --color-navy: #0f2138;
  --color-navy-2: #162b46;
  --color-border: rgba(20, 34, 53, 0.10);
  --color-shadow: rgba(15, 33, 56, 0.12);

  --gradient-primary: linear-gradient(135deg, #2f6fd6, #5f98f2);
  --gradient-hero: linear-gradient(135deg, #0e56ab 0%, #6e94d3 55%, #d8e4f8 100%);
  --gradient-dark: linear-gradient(135deg, #10243d 0%, #18395e 100%);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-soft: 0 10px 30px rgba(15, 33, 56, 0.10);
  --shadow-medium: 0 24px 60px rgba(15, 33, 56, 0.18);

  --container: 1280px;
  --transition: 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-alt {
  background: #fcfbf8;
}

.section-soft {
  background: linear-gradient(180deg, #eef4fc 0%, #f7fafc 100%);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-kicker {
  display: inline-block;
  color: var(--color-accent-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.78);
}

.section-title,
.section-title-left {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--color-text-soft);
  font-size: 1.04rem;
}

.page-top-space {
  padding-top: 120px;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

/* header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: rgba(244, 240, 232, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: fit-content;
}

.brand-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
  transition: var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active-link {
  color: var(--color-primary-dark);
}

.main-nav a:hover::after,
.main-nav a.active-link::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  min-width: 64px;
  height: 52px;
  border: 1px solid rgba(47, 111, 214, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-navy);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(15, 33, 56, 0.05);
}

.lang-switch:hover {
  background: white;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}

.header-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(47, 111, 214, 0.22);
  transition: var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-navy);
  border-radius: 999px;
  margin: 0;
}

/* hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.20), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 22%),
    var(--gradient-hero);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.10));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-1 {
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.22);
  top: 100px;
  left: -40px;
}

.hero-glow-2 {
  width: 340px;
  height: 340px;
  background: rgba(181, 154, 103, 0.18);
  bottom: -80px;
  right: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(181, 154, 103, 0.24);
  border-radius: 999px;
  color: var(--color-accent-dark);
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.28;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 25ch;
}

.hero-text {
  font-size: 1.51rem;
  color: rgba(20, 34, 53, 0.82);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  width: 100%;
  max-width: 640px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 33, 56, 0.24);
  border: 8px solid rgba(255, 255, 255, 0.22);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.8s ease;
}

.hero-image-wrap:hover .hero-image {
  transform: scale(1.04);
}

.floating-card {
  position: absolute;
  min-width: 230px;
  max-width: 270px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 33, 56, 0.14);
  backdrop-filter: blur(14px);
}

.top-card {
  top: 24px;
  inset-inline-start: -12px;
}

.bottom-card {
  bottom: 18px;
  inset-inline-end: -8px;
}

/* page hero */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.20), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 22%),
    var(--gradient-hero);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero-title {
  font-size: clamp(1.5rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 18px;
}

.page-hero-text {
  font-size: 1.06rem;
  color: rgb(0, 0, 0);
  max-width: 620px;
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  min-height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.page-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}








.contact-hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(181, 154, 103, 0.14), transparent 20%),
    linear-gradient(135deg, #0f4fa4 0%, #7ea2d8 55%, #dce6f7 100%);
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-content {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(181, 154, 103, 0.24);
  border-radius: 999px;
  color: var(--color-accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.contact-hero-title {
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 1.08;
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-hero-text {
  max-width: 760px;
  margin: 2rem auto;
  font-size: 2.80rem;
  color: #040c16d6;
}

.contact-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-hero-card {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  text-align: start;
}

.contact-hero-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.contact-hero-card h3 {
  font-size: 1.18rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.contact-hero-card p {
  color: rgba(20, 34, 53, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .contact-hero {
    padding: 140px 0 72px;
  }

  .contact-hero-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0 60px;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-hero-text {
    font-size: 0.95rem;
  }

  .contact-hero-card {
    padding: 22px;
  }
}

@media (max-width: 576px) {
  .contact-hero-title {
    font-size: 1.7rem;
    line-height: 1.14;
  }

  .contact-hero-badge {
    font-size: 0.78rem;
    padding: 10px 18px;
  }

  .contact-hero-text {
    font-size: 0.92rem;
  }
}


/* ===== Footer ===== */
.site-footer {
  background: #0f2138;
  color: #fff;
  overflow: hidden;
}

.site-footer .container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.footer-grid {
  padding: 72px 0 42px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px 32px;
  align-items: start;
}

/* ===== Brand ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: end;
  max-width: 300px;
}

.footer-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  padding: 8px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-brand p {
  margin: 0;
  max-width: 300px;
  line-height: 1.9;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

/* تحريك البراند حسب اللغة */
html[dir="rtl"] .footer-brand {
  transform: translateX(22px);
}

html[dir="ltr"] .footer-brand {
  justify-self: start;
  transform: translateX(-22px);
}

/* ===== Columns ===== */
.footer-column {
  min-width: 0;
}

.footer-column h4 {
  margin: 0 0 20px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.footer-column a,
.footer-column span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 1.04rem;
  line-height: 1.8;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column i {
  flex-shrink: 0;
  margin-top: 6px;
  margin-inline-end: 0;
}

.footer-column a:hover {
  color: #fff;
  transform: translateY(-1px);
}


/* ===== Social Column ===== */
.footer-column.social-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-column.social-column h4 {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  margin-inline: auto;
}

.social-links .social-link {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-links .social-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.social-links .social-link i {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Bottom ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

/* =========================================================
   Large screens
========================================================= */
@media (min-width: 1400px) {
  .site-footer .container {
    width: min(1320px, calc(100% - 56px));
  }

  .footer-grid {
    gap: 48px 40px;
  }

  .footer-column h4 {
    font-size: 1.38rem;
  }

  .footer-brand p,
  .footer-column a,
  .footer-column span,
  .footer-bottom p {
    font-size: 1.06rem;
  }
}

/* =========================================================
   Laptop / small desktop
========================================================= */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
    gap: 34px 24px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
  }

  .social-links .social-link {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: 1.1rem;
  }

  html[dir="rtl"] .footer-brand {
    transform: translateX(12px);
  }

  html[dir="ltr"] .footer-brand {
    transform: translateX(-12px);
  }
}

/* =========================================================
   Tablet
========================================================= */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
    padding: 58px 0 36px;
  }

  .footer-brand {
    justify-self: stretch;
    align-items: flex-start;
    text-align: start;
    max-width: 100%;
    transform: none !important;
  }

  html[dir="ltr"] .footer-brand {
    align-items: flex-start;
    text-align: left;
  }

  html[dir="rtl"] .footer-brand {
    align-items: flex-end;
    text-align: right;
  }

  .footer-brand p {
    max-width: 340px;
  }

  .footer-column.social-column {
    align-items: flex-start;
  }

  html[dir="rtl"] .footer-column.social-column {
    align-items: flex-end;
  }

  .footer-column.social-column h4 {
    text-align: inherit;
  }

  .social-links {
    margin-inline: 0;
  }

  html[dir="rtl"] .social-links {
    justify-content: flex-end;
  }

  html[dir="ltr"] .social-links {
    justify-content: flex-start;
  }
}

/* =========================================================
   Large phones / iPhone Plus / modern phones
========================================================= */
@media (max-width: 767px) {
  .site-footer .container {
    width: min(100%, calc(100% - 24px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 30px;
  }

  .footer-brand,
  .footer-column,
  .footer-column.social-column {
    align-items: center !important;
    text-align: center !important;
    justify-self: center;
    max-width: 100%;
  }

  .footer-brand p {
    max-width: 420px;
  }

  .footer-column.social-column h4 {
    text-align: center;
  }

  .social-links {
    justify-content: center !important;
    margin-inline: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links .social-link {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 16px;
  }

  .footer-column h4 {
    margin-bottom: 16px;
    font-size: 1.18rem;
  }

  .footer-column a,
  .footer-column span,
  .footer-brand p,
  .footer-bottom p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* =========================================================
   Medium phones
========================================================= */
@media (max-width: 575px) {
  .footer-grid {
    padding: 42px 0 28px;
    gap: 26px;
  }

  .footer-logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .footer-brand p {
    max-width: 310px;
    font-size: 0.98rem;
  }

  .footer-column h4 {
    font-size: 1.12rem;
  }

  .footer-column a,
  .footer-column span,
  .footer-bottom p {
    font-size: 0.98rem;
  }

  .social-links .social-link {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1.08rem;
  }
}

/* =========================================================
   Small phones
========================================================= */
@media (max-width: 389px) {
  .site-footer .container {
    width: min(100%, calc(100% - 18px));
  }

  .footer-grid {
    padding: 38px 0 24px;
    gap: 22px;
  }

  .footer-logo {
    width: 82px;
    height: 82px;
    padding: 7px;
  }

  .footer-brand p {
    max-width: 280px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .footer-column h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .footer-column a,
  .footer-column span,
  .footer-bottom p {
    font-size: 0.94rem;
    margin-bottom: 10px;
  }

  .social-links {
    gap: 8px;
  }

  .social-links .social-link {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 18px 0;
  }
}


.about-corporate {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.356), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 22%),
    var(--gradient-hero);
}

.about-corporate-head {
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-corporate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(180, 145, 90, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: #9b7745;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.about-corporate-head h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: 1.05;
  color: #0f2138;
  font-weight: 900;
}

.about-corporate-head p {
  margin: 0 auto;
  max-width: 980px;
  font-size: 1.55rem;
  line-height: 2.01;
  color: #05090e;
}

.about-corporate-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 46px 0 34px;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 33, 56, 0.08);
  border-radius: 24px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 33, 56, 0.05);
}

.about-stat-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 900;
  color: #b4915a;
}

.about-stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f2138;
}

.about-stat-card p {
  margin: 0;
  color: #6a788c;
  line-height: 1.8;
}

.about-classic-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-mini-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 33, 56, 0.08);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 33, 56, 0.08);
}

.about-mini-number {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #b4915a;
}

.about-mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f2138;
}

.about-mini-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: #6b798d;
}

@media (max-width: 992px) {

  .about-corporate-stats,
  .about-classic-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-corporate {
    padding: 80px 0 60px;
  }

  .about-corporate-head h1 {
    font-size: 2.5rem;
  }

  .about-corporate-head p {
    font-size: 1rem;
    line-height: 1.95;
  }

  .about-corporate-stats,
  .about-classic-cards {
    grid-template-columns: 1fr;
  }
}

.about-stats-grid,
.about-story-grid,
.about-values-grid,
.about-steps-grid {
  display: grid;
  gap: 24px;
}

.about-stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 33, 56, 0.08);
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 33, 56, 0.08);
  transition: 0.35s ease;
}

.about-stat-card:hover,
.about-story-card:hover,
.about-value-box:hover,
.about-step-item:hover {
  transform: translateY(-6px);
}

.about-stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #0f2138;
  margin-bottom: 10px;
}

.about-stat-card span {
  color: #5f6f85;
  font-weight: 700;
}

.about-story-section,
.about-values-section,
.about-steps-section,
.about-cta-section {
  padding: 90px 0;
}

.about-section-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 46px;
}

.section-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(180, 145, 90, 0.18);
  color: #a77936;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: #0f2138;
  font-weight: 900;
}

.about-section-head p {
  margin: 0;
  color: #5f6f85;
  line-height: 2;
  font-size: 1.05rem;
}

.about-story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.about-story-card {
  background: #fff;
  border-radius: 28px;
  padding: 34px 26px;
  border: 1px solid rgba(15, 33, 56, 0.08);
  box-shadow: 0 18px 40px rgba(15, 33, 56, 0.07);
  transition: 0.35s ease;
  text-align: center;
}

.about-story-card i,
.about-value-box i {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-size: 1.35rem;
}

.about-story-card h3,
.about-value-box h3,
.about-step-item h3 {
  margin: 0 0 12px;
  color: #0f2138;
  font-size: 1.2rem;
  font-weight: 800;
}

.about-story-card p,
.about-value-box p,
.about-step-item p {
  margin: 0;
  color: #5f6f85;
  line-height: 1.9;
}

.about-values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-value-box {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  padding: 28px 22px;
  border: 1px solid rgba(15, 33, 56, 0.08);
  box-shadow: 0 16px 35px rgba(15, 33, 56, 0.06);
  transition: 0.35s ease;
  text-align: center;
}

.about-steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-step-item {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px;
  border: 1px solid rgba(15, 33, 56, 0.08);
  box-shadow: 0 16px 35px rgba(15, 33, 56, 0.06);
  transition: 0.35s ease;
  text-align: center;
}

.about-step-item span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.about-cta-box {
  background: linear-gradient(135deg, #0f2138, #16365f);
  border-radius: 34px;
  padding: 48px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 22px 55px rgba(15, 33, 56, 0.18);
}

.about-cta-box .section-mini-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.about-cta-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
}

.about-cta-content p {
  margin: 0;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.about-cta-actions .btn-primary,
.about-cta-actions .btn-outline {
  min-width: 180px;
  min-height: 56px;
  padding: 0 28px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.about-cta-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.about-cta-actions .btn-outline {
  background: #4f8ff7;
  color: #ffffff;
  border: 1px solid #4f8ff7;
  border-radius: 999px;
}
/* Responsive */
@media (max-width: 1100px) {

  .about-values-grid,
  .about-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .about-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .about-story-section,
  .about-values-section,
  .about-steps-section,
  .about-cta-section {
    padding: 70px 0;
  }

  .about-stats-grid,
  .about-values-grid,
  .about-steps-grid {
    grid-template-columns: 1fr;
  }

  .about-section-head h2 {
    font-size: 2rem;
  }

  .about-cta-box {
    padding: 34px 24px;
    border-radius: 24px;
  }
}





.services-grid-section {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(15, 33, 56, 0.08);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(15, 33, 56, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 33, 56, 0.10);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #edf3ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.service-number {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 900;
  color: #b4915a;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f2138;
}

.service-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #6a788c;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.services-hero-clean {
  padding: 28px 0 24px;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.20), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 22%),
    var(--gradient-hero);
}

.services-grid-section {
  padding: 24px 0 80px;
  margin: 0;
}


.services-hero-clean {
  padding: 90px 0 80px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.20), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 22%),
    var(--gradient-hero);
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
}

.services-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(180, 145, 90, 0.22);
  color: #a77936;
  font-weight: 800;
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.services-hero-clean h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 1.06;
  font-weight: 900;
  color: #0f2138;
}

.services-hero-clean p {
  margin: 0 auto;
  max-width: 860px;
  font-size: 3.10rem;
  line-height: 2.0;
  color: #03070e;
}

.services-hero-points {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.services-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 33, 56, 0.08);
  border-radius: 18px;
  padding: 14px 18px;
  color: #0f2138;
  font-weight: 700;
}

.services-point i {
  color: #2563eb;
  font-size: 1rem;
}

.services-hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light-green {
  background: #22c55e;
  color: #fff;
  border: 1px solid #22c55e;
}

.btn-outline-light-green:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.services-hero-clean {
  padding-top: 110px;
}

.services-hero-inner {
  max-width: 100%;
}

@media (max-width: 768px) {
  .services-hero-clean {
    padding: 70px 0 60px;
    padding-top: 110px;
  }

  .services-hero-clean h1 {
    font-size: 2.3rem;
  }

  .services-hero-clean p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .services-point {
    width: 100%;
    justify-content: center;
  }
}


.programs-hero-luxury {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.20), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.16), transparent 22%),
    var(--gradient-hero);
}

.programs-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  min-height: 620px;
}

.programs-hero-content {
  position: relative;
  z-index: 2;
}

.programs-mini-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 33, 56, 0.08);
  color: #a77936;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(15, 33, 56, 0.08);
}

.programs-hero-content h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 1.05;
  font-weight: 900;
  color: #10243e;
  letter-spacing: -1px;
}

.programs-hero-content p {
  margin: 0;
  max-width: 640px;
  font-size: 2.12rem;
  line-height: 2.0;
  color: #03080f;
}

.programs-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.programs-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 33, 56, 0.08);
  box-shadow: 0 12px 30px rgba(15, 33, 56, 0.06);
  color: #122741;
  font-weight: 700;
}

.programs-feature-pill i {
  color: #2563eb;
  font-size: 1rem;
}

.programs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-programs-primary,
.btn-programs-secondary {
  min-width: 185px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  transition: all 0.35s ease;
}

.btn-programs-primary {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.22);
}

.btn-programs-primary:hover {
  transform: translateY(-3px);
  color: #fff;
}

.btn-programs-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #10243e;
  border: 1px solid rgba(15, 33, 56, 0.08);
}

.btn-programs-secondary:hover {
  transform: translateY(-3px);
  color: #10243e;
}

.programs-hero-visual {
  position: relative;
  min-height: 560px;
  z-index: 1;
}

.visual-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  z-index: 0;
}

.orb-1 {
  width: 170px;
  height: 170px;
  top: 80px;
  left: 10px;
  background: rgba(59, 130, 246, 0.16);
}

.orb-2 {
  width: 220px;
  height: 220px;
  bottom: 30px;
  right: 0;
  background: rgba(255, 255, 255, 0.32);
}

.programs-image-stack {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.program-card-large {
  position: absolute;
  top: 70px;
  right: 0;
  width: 78%;
  height: 430px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(17, 36, 64, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 3;
}

.program-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(9, 20, 35, 0.78), rgba(9, 20, 35, 0.08));
  color: #fff;
}

.program-card-overlay span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 700;
}

.program-card-overlay h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.program-card-small {
  position: absolute;
  width: 34%;
  height: 175px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(17, 36, 64, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 4;
}

.program-card-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-card {
  top: 10px;
  left: 20px;
}

.bottom-card {
  bottom: 20px;
  left: 55px;
}

.glass-card {
  position: absolute;
  z-index: 5;
  min-width: 160px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(15, 33, 56, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-align: center;
}

.glass-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #10243e;
  line-height: 1.2;
}

.glass-card span {
  display: block;
  margin-top: 6px;
  color: #5c6f88;
  font-size: 0.95rem;
  font-weight: 700;
}

.program-stat-card {
  top: 55px;
  right: 10px;
}

.program-stat-card.second {
  bottom: 12px;
  right: 95px;
}

.floating-y {
  animation: floatingY 5.5s ease-in-out infinite;
}

.floating-soft {
  animation: floatingSoft 4.8s ease-in-out infinite;
}

.floating-soft-delay {
  animation: floatingSoft 5.8s ease-in-out infinite;
}

@keyframes floatingY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatingSoft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

html[dir="ltr"] .programs-hero-wrap {
  grid-template-columns: 1fr 1fr;
}

html[dir="ltr"] .program-card-large {
  right: auto;
  left: 0;
}

html[dir="ltr"] .top-card {
  left: auto;
  right: 20px;
}

html[dir="ltr"] .bottom-card {
  left: auto;
  right: 55px;
}

html[dir="ltr"] .program-stat-card {
  right: auto;
  left: 10px;
}

html[dir="ltr"] .program-stat-card.second {
  right: auto;
  left: 95px;
}

@media (max-width: 991.98px) {
  .programs-hero-luxury {
    padding: 95px 0 70px;
  }

  .programs-hero-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .programs-hero-content {
    text-align: center;
  }

  .programs-hero-content p {
    margin: 0 auto;
  }

  .programs-hero-features,
  .programs-hero-actions {
    justify-content: center;
  }

  .programs-hero-visual,
  .programs-image-stack {
    min-height: 520px;
  }

  .program-card-large {
    width: 78%;
    height: 360px;
    right: 50%;
    transform: translateX(50%);
  }

  html[dir="ltr"] .program-card-large {
    left: 50%;
    transform: translateX(-50%);
  }

  .top-card {
    top: 0;
    left: 40px;
  }

  .bottom-card {
    bottom: 20px;
    right: 40px;
    left: auto;
  }

  html[dir="ltr"] .top-card {
    right: 40px;
    left: auto;
  }

  html[dir="ltr"] .bottom-card {
    left: 40px;
    right: auto;
  }

  .program-stat-card {
    top: 25px;
    right: 20px;
  }

  .program-stat-card.second {
    bottom: 0;
    right: 30px;
  }

  html[dir="ltr"] .program-stat-card {
    left: 20px;
    right: auto;
  }

  html[dir="ltr"] .program-stat-card.second {
    left: 30px;
    right: auto;
  }
}

@media (max-width: 767.98px) {
  .programs-hero-luxury {
    padding: 80px 0 60px;
  }

  .programs-hero-content h1 {
    font-size: 2.2rem;
  }

  .programs-hero-content p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .programs-hero-visual,
  .programs-image-stack {
    min-height: 430px;
  }

  .program-card-large {
    width: 100%;
    height: 290px;
    top: 70px;
    right: 0;
    transform: none;
  }

  html[dir="ltr"] .program-card-large {
    left: 0;
    transform: none;
  }

  .program-card-small {
    width: 36%;
    height: 115px;
    border-radius: 20px;
  }

  .top-card {
    top: 0;
    left: 8px;
  }

  .bottom-card {
    bottom: 18px;
    right: 8px;
    left: auto;
  }

  html[dir="ltr"] .top-card {
    right: 8px;
    left: auto;
  }

  html[dir="ltr"] .bottom-card {
    left: 8px;
    right: auto;
  }

  .glass-card {
    min-width: 128px;
    padding: 13px 15px;
    border-radius: 18px;
  }

  .glass-card strong {
    font-size: 1.15rem;
  }

  .glass-card span {
    font-size: 0.8rem;
  }

  .program-stat-card {
    top: 20px;
    right: 8px;
  }

  .program-stat-card.second {
    bottom: 0;
    right: 8px;
  }

  html[dir="ltr"] .program-stat-card {
    left: 8px;
    right: auto;

  }

  html[dir="ltr"] .program-stat-card.second {
    left: 8px;
    right: auto;
  }
}




/* ===== FINAL HERO FIX ===== */
.hero-title {
  max-width: 100%;
  width: 100%;
  line-height: 1.15;
  word-break: normal;
}

.hero-text {
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 100%;
}

.hero-content {
  max-width: 100%;
  min-width: 0;
}

.hero-grid {
  align-items: center;
}

.hero-visual {
  min-width: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* مهم جدًا لمنع أي قص أفقي */
html,
body {
  overflow-x: hidden;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-title,
  .hero-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 110px 0 56px;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  /* لإخراج موبايل نظيف واحترافي */
  .hero-visual {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.58rem;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 10px 14px;
  }

  .hero-section {
    padding: 100px 0 50px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 1.42rem;
  }

  .hero-text {
    font-size: 0.88rem;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-card strong {
    font-size: 1.4rem;
  }

  .stat-card span {
    font-size: 0.86rem;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .hero-text {
    font-size: 0.84rem;
  }

  .hero-section {
    padding: 94px 0 44px;
  }
}



/* =========================
   FOOTER MOBILE POLISH
========================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 48px 0 30px !important;
  }

  .footer-brand,
  .footer-column,
  .social-column {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center !important;
    justify-self: center !important;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 14px;
  }

  .footer-brand p {
    max-width: 340px;
    margin: 0 auto;
    text-align: center !important;
  }

  .footer-column h4,
  .social-column h4 {
    text-align: center !important;
    margin-bottom: 14px;
  }

  .footer-column a,
  .footer-column span {
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px;
    width: 100%;
  }

  .social-links {
    justify-content: center !important;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-bottom,
  .footer-bottom p {
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  .footer-brand p {
    max-width: 280px;
  }

  .footer-column a,
  .footer-column span,
  .footer-bottom p {
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  .footer-logo {
    width: 76px;
    height: 76px;
  }

  .footer-brand p,
  .footer-column a,
  .footer-column span,
  .footer-bottom p {
    font-size: 0.84rem;
    line-height: 1.8;
  }
}



/* =========================
   FOOTER CONTACT - FINAL ALIGN
========================= */
.footer-column a,
.footer-column span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.8;
}

.footer-column a i,
.footer-column span i {
  width: 18px;
  min-width: 18px;
  text-align: center;
  font-size: 1rem;
  transform: none;
}

@media (max-width: 768px) {
  .footer-column {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-column a,
  .footer-column span {
    width: auto !important;
    margin: 0 auto;
    justify-content: center;
  }

  html[dir="rtl"] .footer-column a,
  html[dir="rtl"] .footer-column span {
    flex-direction: row;
  }

  html[dir="ltr"] .footer-column a,
  html[dir="ltr"] .footer-column span {
    flex-direction: row;
  }
}

/* =========================
   Back To Top Button
========================= */
.back-to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

html[dir="ltr"] .back-to-top {
  left: auto;
  right: 18px;
}

.back-to-top i {
  font-size: 1rem;
  line-height: 1;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.35);
  outline-offset: 3px;
}

/* يظهر فقط عند إضافة الكلاس من الجافاسكربت */
.back-to-top.show,
.back-to-top.visible,
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    left: 14px;
    bottom: 14px;
    border-radius: 12px;
  }

  html[dir="ltr"] .back-to-top {
    left: auto;
    right: 14px;
  }
}

@media (max-width: 390px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    left: 12px;
    bottom: 12px;
  }

  html[dir="ltr"] .back-to-top {
    left: auto;
    right: 12px;
  }
}

.btn-primary {
  box-shadow: none;
  outline: none;
  border: none;
}


.contact-hero-text {
  max-width: 760px;
  margin: 2rem auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #040c16d6;
}

.services-hero-clean p {
  margin: 0 auto;
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #03070e;
}

.programs-hero-content p {
  margin: 0;
  max-width: 640px;
  font-size: 1.04rem;
  line-height: 1.95;
  color: #03080f;
}

.about-corporate-head p {
  margin: 0 auto;
  max-width: 980px;
  font-size: 1.60rem;
  line-height: 2;
  color: #05090e;
}
  
  .footer-copy {
  text-align: center;
  line-height: 1.9;
}

.footer-copy a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-copy a:hover {
  opacity: 1;
  text-decoration: underline;
}