/* Basic Reset / Normalize-ish */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input,
button {
  font-family: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}



/* ========================= */
/* 1. Design Tokens / Vars   */
/* ========================= */

:root {
  /* الخلفية العامة */
  --page-bg: #f4fbfa;

  /* ألوان أساسية */
  --teal-dark: #00796b;        /* لون أغمق شوية لتباين كويس */
  --teal-mid: #009485;         /* اللون الرئيسي الجديد */
  --teal-strong: #009485;      /* نخليه نفسه عشان نحافظ على consistency */
  --teal-soft-bg: #e6f7f5;     /* خلفية خفيفة مشتقة من نفس اللون */

  --text-main: #0f172a;        /* نص غامق أسود أزرق */
  --text-muted: #475569;       /* رمادي مزرق هادي */
  --text-hero: #f0fdfa;        /* لون النص الفاتح داخل الهيرو */
  --text-hero-dim: rgba(241, 248, 249, 0.88);

  /* badge أصفر */
  --badge-bg-start: #fef9c3;
  --badge-bg-end: #fde68a;
  --badge-border: rgba(250, 200, 72, 0.65);
  --badge-text: #78350f;

  /* خلفيات الكروت */
  --card-bg-white: #ffffff;
  --card-bg-soft: #f6f9fb;
  --card-border: #e2ecf2;
  --card-border-soft: #dbe7ef;

  /* radius */
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-card: 16px;
  --radius-full: 999px;

  /* ظلال */
  --shadow-hero: 0 22px 55px rgba(11, 58, 83, 0.35);
  --shadow-card-strong: 0 24px 54px rgba(15, 23, 42, 0.14);
  --shadow-card-hover: 0 20px 38px rgba(15, 23, 42, 0.12);
  --shadow-card-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-contact-hover: 0 8px 20px rgba(15, 23, 42, 0.14);
  --shadow-btn-primary: 0 10px 25px rgba(14, 69, 85, 0.28);
  --shadow-btn-primary-hover: 0 14px 30px rgba(14, 69, 85, 0.35);
  --shadow-avatar: 0 24px 48px rgba(11, 58, 83, 0.32);

  /* Gradients */
  --hero-gradient: linear-gradient(125deg, #0b3a53, #117168);

  /* Typography */
  --font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* layout sizes */
  --max-width: 1200px;
  --section-gap: clamp(2rem, 2vw, 3rem);
}

/* ========================= */
/* 2. Base Page / Globals    */
/* ========================= */

body {
  background: var(--page-bg);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* section layout helpers */
.section-band {
  width: 100%;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-band--tint {
  background: linear-gradient(160deg, rgba(0, 148, 133, 0.08), rgba(0, 148, 133, 0.18));
}

.section-band--paper {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 250, 0.9));
}

.section-band--glass {
  background: linear-gradient(160deg, rgba(5, 68, 77, 0.08), rgba(15, 99, 98, 0.16));
}

.section-band__inner {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section-block {
  position: relative;
  background: var(--card-bg-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 4vw, 3.2rem) clamp(1.6rem, 5vw, 3.4rem);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  margin: 0 auto;
  max-width: 980px;
}

.section-block.docs-section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* section headings */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.1rem;
  text-align: center;
  color: var(--text-main);
}
.section-heading__icon {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.2rem);
  line-height: 1;
}
.section-heading__icon[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-heading__text {
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.section-heading--left {
  align-items: flex-start;
  text-align: left;
  margin: 0 0 1.1rem;
}
.section-heading--left .section-heading__icon {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.75rem);
}
.section-heading--left .section-heading__text {
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2rem);
  text-align: left;
}

/* خط تحت العنوان */
.section-separator {
  width: 120px;
  height: 2px;
  background: var(--teal-strong);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
  border-radius: var(--radius-full);
  margin: 0.25rem auto 1.2rem;
}
.section-heading--left + .section-separator {
  margin-left: 0;
  margin-right: auto;
}

/* ========================= */
/* 3. Navbar (FINAL layout)  */
/* ========================= */

.site-header {
  background: rgba(0, 148, 133, 0.9);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}

/* ===== Desktop layout ===== */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between; /* يمين/شمال */
  padding: 1rem 1.2rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* اسم الموقع */
.nav-brand {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  /* نخليه على الشمال في الdesktop */
  order: 2;
}

/* زر الهامبرجر */
.nav-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: .4rem .6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background-color: rgba(255,255,255,0.08);
  display: none; /* hidden on desktop */
  order: 1;
}

/* روابط الناف */
.nav-links {
  display: flex;
  align-items: center;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;

  /* على الديسكتوب: الروابط تبقى يمين */
  order: 0;
}

/* شكل كل زر */
.nav-links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.25s ease, color 0.25s ease;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  border-radius: 999px;
  opacity: 0.7;
}

.nav-links a:not(.nav-link--active):hover {
  background: rgba(255,255,255,0.2);
}

.nav-links a:not(.nav-link--active):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* click feedback */
.nav-links a:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 148, 133, 0.3);
}

.nav-links a.nav-link--active {
  background: #ffffff;
  color: var(--teal-mid);
  border-color: rgba(255, 255, 255, 0.6);
}
.nav-links a.nav-link--active::after {
  opacity: 0;
}

/* ========================= */
/* Mobile behaviour          */
/* ========================= */
@media (max-width: 700px) {
  .nav-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
    /* دي هتخلي أول صف: الهامبرجر يمين، البراند شمال */
    justify-content: space-between;
  }

  /* زر الهامبرجر يظهر */
  .nav-toggle {
    display: block;
    order: 1;
  }

  /* اسم الموقع يفضل فوق على الشمال (زي ما تحب حالياً) */
  .nav-brand {
    order: 2;
  }

  /* القايمة اللي بتتفتح */
  .nav-links {
    order: 3;
    width: 100%;

    /* default: متخبية */
    display: none;
    flex-direction: column;
    gap: .8rem;
    align-items: flex-start;

    background: rgba(0, 148, 133, 0.95);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;

    padding: 1rem;
    margin-top: .75rem;
    box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  }

  /* لما نفتح المينيو بنحط class="open" من الجافاسكربت */
  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    align-self: stretch;
    width: 100%;
  }

  /* خلى الروابط تاخد عرض المينيو وتبقى يمين */
  .nav-links a {
    display: block;
    width: 100%;
    text-align: right;
  }

  /* نخلي underline animation زي ما هي */
  .nav-links a::after {
    right: 1rem;
    left: 1rem;
  }
}





/* ========================= */
/* 4. HERO SECTION           */
/* مطابق تقريبًا لـ landing-hero القديم */
/* ========================= */

.hero {
  margin: 2.8em auto 2rem;
  padding: 3.1em 2.6em;
  background: var(--hero-gradient);
  border-radius: var(--radius-lg); /* 24px سابقاً */
  color: var(--text-hero);
  text-align: right; /* لأنك RTL */
  box-shadow: var(--shadow-hero);
  position: relative;
  max-width: 880px;
}

/* Badge فوق الهيرو */
.hero-badge {
  position: absolute;
  top: -18px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--badge-bg-start), var(--badge-bg-end));
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(12, 58, 73, 0.2);
}

/* layout الداخلي */
.hero-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.6rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
  align-items: flex-start;
  max-width: 520px;
}

/* العنوان الرئيسي */
.hero-title {
  margin: 0 0 0.45em;
  font-size: clamp(1.9rem, 1vw + 1.5rem, 2.5rem);
  letter-spacing: 0.01em;
  color: var(--text-hero);
  font-weight: 400;
  line-height: 1.3;
}

/* الوصف */
.hero-desc {
  margin: 0 0 1.1em;
  font-size: clamp(1.2rem, 0.6vw + 1rem, 1.38rem);
  line-height: 1.65;
  color: var(--text-hero-dim);
  max-width: 50ch;
}
.hero-desc--strong {
  font-weight: 700;
  color: #ffffff;
}
.hero-desc--quote {
  font-style: italic;
  margin-bottom: 1.4em;
}

/* الأزرار */
.hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8em;
  flex-wrap: wrap;
  margin-top: -0.2em;
}

.btn-pill.light {
  background: #ffffff;
  color: var(--teal-mid);
  border: 1px solid rgba(0, 148, 133, 0.18);
  box-shadow: 0 12px 28px rgba(15, 99, 98, 0.18);
}
.btn-pill.light:hover {
  background: #f0fdfb;
  color: var(--teal-strong);
}


/* زرار secondary (شفاف بوردر أبيض) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.65em 1.6em;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

/* Avatar / الصورة على اليمين */
.hero-avatar {
  flex: 0 0 230px;
  max-width: 230px;
  width: 100%;
  position: relative;
  order: -1; /* تحط الصورة قبل النص في الديسكتوب RTL */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-avatar::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(209, 250, 229, 0.12));
  border: 1px solid rgba(209, 250, 229, 0.45);
  box-shadow:
    0 26px 58px rgba(12, 68, 87, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hero-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  /* border: 2px solid rgba(255, 255, 255, 0.55); */
  object-fit: cover;
  filter: drop-shadow(0 18px 32px rgba(12, 68, 87, 0.4));
}

/* موبايل: خليهم عموديين ومِسنتر */
@media (max-width: 720px) {
  .hero {
    padding: 2.6em 1.8em;
    text-align: center;
  }
  .hero-badge {
    position: static;
    margin: -1.1rem auto 1.2rem;
  }
  .hero-layout {
    flex-direction: column;
    gap: 1.8rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.6em;
  }
  .hero-avatar {
    max-width: 240px;
    order: 0;
  }
}

/* ========================= */
/* 5. Docs Grid              */
/* ========================= */

.docs-section {
  margin-top: 0;
}

/* نفس فكرة paths-grid في القديم */
.docs-grid {
  direction: ltr;
  list-style: none;
  padding: 0;
  margin: 2.2em 0 0;
  display: grid;
  gap: 1.5em;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.doc-card {
  background: var(--card-bg-white);
  border-radius: 18px;
  padding: 1.6em 1.5em;
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}
.doc-card:hover {
  border-color: var(--teal-strong);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
  transform: translateY(-4px);
}

/* الأيقونة */
.doc-card .icon,
.doc-card img.icon {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  background: var(--teal-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(17, 113, 104, 0.12);
  object-fit: contain;
}
.doc-card .icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* العنوان */
.doc-card-title,
.doc-card h3 {
  margin: 10px 0 5px 0;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  transition: color 0.18s ease;
}
.doc-card-link--live {
  text-decoration: none;
  color: inherit;
}
.doc-card-link--live:hover h3 {
  color: var(--teal-strong);
}

.doc-card-placeholder {
  margin-top: auto;
  padding: 0.35em 1em;
  border-radius: var(--radius-full);
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal-strong);
  font-weight: 600;
  font-size: 0.9rem;
}

/* شارة SOON */
.doc-card .soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.42em 1.1em;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0f766e 0%, #0c4a6e 100%);
  color: #f0fdfa;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.28);
}
.doc-card .soon-badge span {
  font-size: 0.85rem;
}

/* card المعمول له disabled زي terminal hacks */
.doc-card--soon {
  cursor: default;
}
.doc-card--soon:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  border-color: var(--card-border);
}

/* ========================= */
/* About Page Layout         */
/* ========================= */

.hero-layout--about {
  align-items: center;
  gap: 2.8rem;
  justify-content: center;
}

.about-hero-content {
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.about-hero-content .hero-desc {
  max-width: 36ch;
}

.about-hero-content .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8em;
}

.hero--docs .hero-badge {
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.hero-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
  color: var(--text-hero);
  direction: ltr;
}
.doc-hero__title {
  margin: 0;
  font-size: clamp(2rem, 1.1vw + 1.6rem, 2.6rem);
  font-weight: 600;
  color: var(--text-hero);
}
.doc-hero__subtitle {
  margin: 0.6rem 0 0;
  font-size: 1.05rem;
  color: var(--text-hero-dim);
  font-style: italic;
}
.doc-hero__course {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(248, 252, 255, 0.6);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.doc-hero__course:hover {
  color: #a7f3d0;
  text-decoration-color: #a7f3d0;
}
.doc-hero__text {
  text-align: left;
  max-width: 560px;
  direction: ltr;
}
.doc-hero__logo-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(209, 250, 229, 0.12));
  border: 1px solid rgba(209, 250, 229, 0.45);
  box-shadow:
    0 26px 58px rgba(12, 68, 87, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.doc-hero__logo-glass img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(12, 68, 87, 0.4));
}
.hero-actions--docs {
  display: flex;
  justify-content: center;
  gap: 0.75em;
  flex-wrap: wrap;
}
.btn-pill.docs-btn {
  background: linear-gradient(135deg, #0f766e, #0c4a6e);
  color: #f8fafc;
  border: 1px solid rgba(15, 118, 110, 0.35);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.22);
}
.btn-pill.docs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(15, 118, 110, 0.28);
}
.btn-pill.docs-btn.docs-btn--outline {
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.25);
  box-shadow: none;
}
.btn-pill.docs-btn.docs-btn--outline:hover {
  transform: translateY(-2px);
  background: rgba(15, 118, 110, 0.16);
}

.about-section {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  direction: ltr;
  text-align: left;
  color: var(--text-main);
}

.about-section-body {
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-section-body p {
  margin: 0;
}

.about-education h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
}
.about-education p {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-section--certs {
  gap: 1.4rem;
}

.about-cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  direction: ltr;
}

.about-cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.about-cert-item:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
  color: var(--teal-strong);
}

.about-cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.about-cert-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.about-cert-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.docs-summary {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.docs-summary__body {
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}
.docs-summary__body p {
  margin: 0;
}
.docs-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.docs-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  font-size: 1.05rem;
  color: var(--text-main);
}
.docs-points li {
  position: relative;
  padding-inline-start: 1.6rem;
}
.docs-points li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--teal-strong);
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(-0.1rem);
}

.docs-single {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}
.docs-single__title {
  text-align: left;
  width: 100%;
  direction: ltr;
}
.docs-single__title .section-heading__text {
  direction: ltr;
  text-align: left;
}
.docs-single__card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  padding: 2rem 2.2rem;
  display: grid;
  gap: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.docs-single__card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
}
.docs-single__card .pill-btn {
  justify-self: center;
}
.docs-single__card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-strong);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  width: fit-content;
}
.pill-btn.view {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.13) 0%, rgba(0, 0, 0, 0) 70%), linear-gradient(130deg, #0b3a53, #117168);
  color: #f8fafc;
  box-shadow: 0 24px 48px rgba(11, 58, 83, 0.32);
}
.pill-btn.view:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px rgba(11, 58, 83, 0.45);
}
.pill-btn.view:active {
  transform: scale(0.97);
}

@media (max-width: 820px) {
  .hero-dock {
    flex-direction: column;
    text-align: center;
    direction: ltr;
  }
  .doc-hero__text {
    text-align: center;
  }
  .docs-single__card {
    padding: 1.8rem;
  }
}

@media (max-width: 720px) {
  .hero-layout--about {
    gap: 2rem;
  }
  .about-section {
    gap: 1rem;
  }
  .about-cert-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-hero-content .hero-actions {
    flex-wrap: wrap;
  }
}

/* ========================= */
/* 6. Note / Transparency    */
/* ========================= */

.note-block {
  margin-top: 2.4em;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.4em 1.6em;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--card-border);
  max-width: 900px;
  margin-inline: auto;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text-main);
}
.note-block strong {
  color: var(--teal-strong);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.note-section {
  text-align: center;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--card-border);
  padding: 2.1em 2.6em;
  max-width: 780px;
  margin: 0 auto;
}
.note-section__title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--teal-mid);
}
.note-section__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* ========================= */
/* 7. Contact Section        */
/* ========================= */

.contact-grid {
  margin: 2.4em 0 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.4em 1.6em;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--card-border);
  max-width: 900px;
  margin-inline: auto;
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.contact-section .contact-grid {
  margin-top: 0;
  width: 100%;
}

.contact-row,
.contact-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.contact-card,
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e4eef5;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: var(--text-main);
  font-weight: 600;
  font-size: .9rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info .title {
  font-size: 1rem;
}
.contact-card:hover,
.contact-item:hover {
  transform: translateY(-4px);
  border-color: var(--teal-strong);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
  background: #ffffff;
}

.contact-card img {
  width: 24px;
  height: 24px;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.08);
}
.icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ريسبونسيف للكونتاكت */
@media (max-width: 900px) {
  .contact-row,
  .contact-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .contact-row,
  .contact-grid-inner {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    padding: 1.2em 1.2em;
  }
}

/* ========================= */
/* 8. Footer                 */
/* ========================= */

.site-footer {
  text-align: center;
  font-size: .7rem;
  color: #607389;
  margin: 2rem 0 3rem;
}
.doc-hero__text {
  text-align: center;
  max-width: 560px;
}
