:root {
  --navy: #071f3d;
  --navy-2: #0b2f5f;
  --blue: #0b6bff;
  --blue-2: #0956ce;
  --sky: #36bdf8;
  --teal: #10a9a5;
  --teal-2: #0b8f8b;
  --gold: #c8a95c;
  --ink: #102a43;
  --muted: #64748b;
  --line: #dbe7f5;
  --soft: #f5f9ff;
  --soft-2: #eef6ff;
  --white: #ffffff;
  --danger: #ef4444;
  --shadow: 0 18px 45px rgba(9, 31, 63, .10);
  --shadow-sm: 0 10px 25px rgba(9, 31, 63, .08);
  --radius: 22px;
  --radius-sm: 15px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(54, 189, 248, .12), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(16, 169, 165, .10), transparent 28%),
    #fff;
  overflow-x: hidden;
}

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

button,
input {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 34px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7, 31, 61, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.navbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: 240px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 30px rgba(11, 107, 255, .25);
  color: #fff;
  font-size: 20px;
}

.brand h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.brand span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #cfe1f8;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 12px;
  color: #e7f0ff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 19px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 107, 255, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(11, 107, 255, .36);
}

.btn-outline {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .14);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 19px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 31, 61, .97), rgba(8, 46, 91, .97)),
    radial-gradient(circle at 20% 20%, rgba(54, 189, 248, .22), transparent 28%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(54, 189, 248, .08) 58% 60%, transparent 60%),
    radial-gradient(circle at 13% 72%, rgba(16, 169, 165, .16), transparent 24%);
  pointer-events: none;
}

.hero:after {
  content: "";
  position: absolute;
  left: -180px;
  top: 80px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  padding: 76px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #d7ebff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -1.4px;
}

.hero h2 strong {
  display: block;
  color: #58c7ff;
  text-shadow: 0 12px 35px rgba(54, 189, 248, .25);
}

.hero p {
  margin: 20px 0 0;
  color: #d8e8fb;
  font-size: 18px;
  line-height: 2;
  max-width: 620px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero .btn {
  min-width: 168px;
  padding-block: 14px;
  font-size: 15px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  width: min(430px, 100%);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .65);
  position: relative;
  z-index: 2;
}

.floating-card:before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  z-index: -1;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quick-item {
  padding: 22px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff, #eef7ff);
  border: 1px solid #e2eefb;
  text-align: center;
}

.quick-item i {
  font-size: 30px;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.quick-item b {
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
  color: #12385f;
}

.stat-card {
  position: absolute;
  right: -8px;
  bottom: -8px;
  /* كان 30px */
  z-index: 3;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.stat-card i {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #e9f8f8;
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 21px;
}

.stat-card b {
  font-size: 15px;
  display: block;
}

.stat-card span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 36px;
  top: 50px;
  opacity: .45;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 2px, transparent 2px);
  background-size: 16px 16px;
}

/* Benefits */
.benefits-strip {
  background: #fff;
  box-shadow: 0 12px 35px rgba(9, 31, 63, .07);
  position: relative;
  z-index: 5;
}

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

.benefit-mini {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid #e6eef8;
}

.benefit-mini:last-child {
  border-left: 0;
}

.benefit-mini i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  font-size: 21px;
  flex: 0 0 auto;
}

.benefit-mini b {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #12385f;
}

.benefit-mini span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

/* Shared sections */
section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  background: #e9fbfb;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
  color: #0b2f5f;
  font-weight: 900;
  letter-spacing: -.5px;
}

.section-subtitle {
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.9;
  font-size: 16px;
  font-weight: 600;
}

/* Path cards - premium compact */
.paths {
  background:
    radial-gradient(circle at 12% 20%, rgba(54, 189, 248, .16), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(16, 169, 165, .14), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  position: relative;
  overflow: hidden;
}

.path-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(7, 31, 61, .97), rgba(11, 47, 95, .95)),
    var(--navy);
  box-shadow: 0 28px 70px rgba(7, 31, 61, .18);
  border: 1px solid rgba(255, 255, 255, .10);
}

.path-panel:before {
  content: "";
  position: absolute;
  inset: -110px auto auto -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(54, 189, 248, .22);
  filter: blur(10px);
}

.path-panel:after {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(16, 169, 165, .20);
  filter: blur(14px);
}

.path-panel-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 24px;
}

.path-panel-head .section-head {
  text-align: right;
  margin: 0;
}

.path-panel-head .section-kicker {
  background: rgba(255, 255, 255, .10);
  color: #9ff3ef;
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 12px;
}

.path-panel-head .section-title {
  color: #fff;
  font-size: 31px;
}

.path-panel-head .section-subtitle {
  color: #c7d8ea;
  margin-inline: 0;
  max-width: 570px;
}

.path-note {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 18px;
  color: #eaf6ff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 900;
}

.path-note i {
  color: var(--sky);
}

.path-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.path-card {
  min-height: 0;
  background: rgba(255, 255, 255, .96);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(219, 231, 245, .95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  transition: .22s ease;
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
}

.path-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  pointer-events: none;
}

.path-card.teal:before {
  background: linear-gradient(90deg, var(--teal), #48dfd8);
}

.path-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.path-card.teal .path-badge {
  background: #e9fbfb;
  color: var(--teal-2);
}

.path-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 16px 28px rgba(11, 107, 255, .22);
  font-size: 25px;
  margin-top: 8px;
}

.path-card.teal .path-icon {
  background: linear-gradient(135deg, var(--teal), #48dfd8);
  box-shadow: 0 16px 28px rgba(16, 169, 165, .20);
}

.path-content {
  position: relative;
  z-index: 2;
  max-width: none;
  padding-left: 70px;
}

.path-content h3 {
  margin: 0;
  font-size: 24px;
  color: #0b2f5f;
  font-weight: 900;
}

.path-card.teal h3 {
  color: #0b5f5d;
}

.path-content p {
  margin: 10px 0 14px;
  color: #53657c;
  line-height: 1.9;
  font-weight: 700;
}

.path-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.path-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334e68;
  font-size: 13px;
  font-weight: 800;
}

.path-list i {
  color: var(--teal);
  font-size: 13px;
}

.path-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.path-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2f5f;
  font-size: 13px;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 13px;
  background: #f4f8fd;
}

.path-illustration {
  display: none;
}

/* Programs */
.programs {
  background: #fff;
}

.program-toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.program-tab {
  border: 1px solid #d7e7fb;
  background: #fff;
  color: #0b2f5f;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

.program-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(11, 107, 255, .22);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card {
  background: #fff;
  border: 1px solid #e3edf9;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(9, 31, 63, .06);
  transition: .2s ease;
  position: relative;
  overflow: hidden;
  min-height: 285px;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c8dcf4;
}

.program-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.program-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.program-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eef6ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex: 0 0 auto;
}

.program-card:nth-child(2n) .program-icon {
  background: #eafafa;
  color: var(--teal);
}

.program-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f6ff;
  color: #0b5fd7;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.program-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #0b2f5f;
  font-weight: 900;
  line-height: 1.5;
}

.program-card p {
  margin: 0;
  color: #5f7086;
  line-height: 1.85;
  font-size: 14px;
  font-weight: 600;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  font-size: 11px;
  font-weight: 900;
  color: #446074;
  background: #f1f6fb;
  border: 1px solid #e5eef8;
  border-radius: 999px;
  padding: 6px 9px;
}

.program-actions {
  display: flex;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.small-btn {
  flex: 1;
  border-radius: 12px;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid #cfe1fb;
  background: #fff;
  color: #0b5fd7;
  text-align: center;
  transition: .18s;
}

.small-btn:hover {
  background: #f3f8ff;
}

.small-btn.fill {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.small-btn.fill:hover {
  background: var(--blue-2);
}

.program-group {
  display: none;
}

.program-group.active {
  display: block;
}

/* Steps */
.steps {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}

.step-card {
  background: #fff;
  border: 1px solid #e2edf9;
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.step-card i {
  font-size: 30px;
  color: var(--blue);
  margin: 10px 0 13px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  color: #0b2f5f;
}

.step-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 700;
}

/* Why */
.why {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #e4edf8;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.why-card i {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #eafafa;
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}

.why-card h3 {
  margin: 0 0 7px;
  color: #0b2f5f;
  font-size: 17px;
  font-weight: 900;
}

.why-card p {
  margin: 0;
  color: #5e7188;
  line-height: 1.8;
  font-size: 13px;
  font-weight: 700;
}

/* FAQ */
.faq {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr .48fr;
  gap: 22px;
  align-items: start;
}

.faq-list {
  background: #fff;
  border: 1px solid #e1ecf8;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

details.faq-item {
  border-bottom: 1px solid #e7eff8;
}

details.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 16px;
  font-weight: 900;
  color: #0b2f5f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-item[open] summary:after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 18px;
  color: #5b6f86;
  line-height: 1.9;
  font-size: 14px;
  font-weight: 700;
}

.faq-art {
  min-height: 360px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #e1ecf8;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.faq-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(54, 189, 248, .16), transparent 32%), radial-gradient(circle at 80% 70%, rgba(16, 169, 165, .14), transparent 28%);
}

.bubble {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 70px;
  font-weight: 900;
  box-shadow: 0 25px 55px rgba(11, 107, 255, .25);
}

.bubble:after {
  content: "!";
  position: absolute;
  left: -30px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  font-size: 36px;
}

/* CTA */
.cta {
  padding-top: 24px;
  background: #fff;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 42px;
  box-shadow: 0 28px 70px rgba(7, 31, 61, .20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(54, 189, 248, .22), transparent 32%), linear-gradient(120deg, transparent 0 62%, rgba(255, 255, 255, .06) 62% 64%, transparent 64%);
}

.cta-content,
.cta-actions {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
}

.cta p {
  margin: 10px 0 0;
  color: #d7e7fa;
  line-height: 1.9;
  font-weight: 700;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  margin-top: 70px;
  background: #061b35;
  color: #d9e7f6;
  padding: 46px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer p {
  margin: 0;
  color: #aebfd3;
  line-height: 1.9;
  font-size: 13px;
  font-weight: 600;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: #c9d9eb;
  font-size: 13px;
  font-weight: 700;
}

.footer a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  outline: none;
}

.newsletter input::placeholder {
  color: #98abc2;
}

.newsletter button {
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  padding: 0 14px;
  cursor: pointer;
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.contact-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c7d8ea;
  font-size: 13px;
  font-weight: 700;
}

.contact-list i {
  color: var(--sky);
  width: 18px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  margin-top: 30px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9fb1c7;
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom span {
  display: flex;
  gap: 14px;
}

/* Responsive */
@media (max-width:1050px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 0;
  }

  .hero-visual {
    min-height: auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:720px) {
  .navbar {
    height: 68px;
  }

  .brand {
    min-width: auto;
  }

  .brand h1 {
    font-size: 17px;
  }

  .brand span {
    font-size: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

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

  .stat-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .benefits-grid,
  .path-grid,
  .program-grid,
  .steps-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 27px;
  }

  .path-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .path-panel-head {
    display: block;
  }

  .path-note {
    margin-top: 16px;
    width: max-content;
    max-width: 100%;
  }

  .path-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .path-content {
    padding-left: 0;
  }

  .path-badge {
    position: static;
    width: max-content;
    margin-bottom: 4px;
  }

  .path-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin-top: 0;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }

  .cta h2 {
    font-size: 26px;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter button {
    padding: 12px;
  }
}


/* ===== Program details modal (added from source program file) ===== */
body.modal-open {
  overflow: hidden;
}

.program-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(3, 17, 38, .62);
  backdrop-filter: blur(8px);
}

.program-modal.show {
  display: flex;
}

.modal-panel {
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .55);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 20px;
  background: linear-gradient(135deg, #071f3d, #0b6bff);
  color: #fff;
  border-radius: 28px 28px 0 0;
}

.modal-head h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 900;
}

.modal-head p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.9;
  max-width: 760px;
}

.modal-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: .2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .24);
  transform: translateY(-1px);
}

.modal-body {
  padding: 24px 28px 30px;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.meta-box {
  background: #f5f9ff;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  padding: 13px 14px;
  color: #102a43;
  font-weight: 800;
  line-height: 1.8;
}

.detail-accordion {
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  margin: 12px 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(9, 31, 63, .05);
}

.detail-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  background: #f7fbff;
  color: #071f3d;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f2ff;
  color: #0b6bff;
  font-size: 20px;
  line-height: 1;
  flex: 0 0 28px;
}

.detail-accordion[open] summary::after {
  content: '−';
}

.detail-text {
  padding: 18px;
  color: #334155;
  line-height: 2;
  white-space: pre-line;
  font-size: 15px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 22px;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}

.modal-actions .register-now {
  background: linear-gradient(135deg, #0b6bff, #0956ce);
  color: #fff;
  box-shadow: 0 14px 26px rgba(11, 107, 255, .23);
}

.modal-actions .close-secondary {
  background: #f5f9ff;
  color: #071f3d;
  border: 1px solid #dbe7f5;
}

@media(max-width:760px) {
  .program-modal {
    padding: 12px
  }

  .modal-panel {
    max-height: 92vh;
    border-radius: 22px
  }

  .modal-head {
    padding: 22px 18px 16px;
    border-radius: 22px 22px 0 0
  }

  .modal-head h3 {
    font-size: 21px
  }

  .modal-body {
    padding: 18px
  }

  .modal-meta {
    grid-template-columns: 1fr
  }

  .detail-text {
    font-size: 14px
  }

  .modal-actions a {
    width: 100%;
  }
}

.brand-clean {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: 0 !important;
  text-decoration: none !important;
  min-width: auto !important;
}

.header-logo {
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 5px 9px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.gulf-logo {
  height: 72px;
  width: auto;
  max-width: 120px;
}

.seu-logo {
  height: 44px;
  width: auto;
  max-width: 120px;
}

.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 145px;
}

.brand-words strong {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-words span {
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width:768px) {
  .brand-clean {
    gap: 7px !important;
  }

  .gulf-logo,
  .seu-logo {
    height: 72px;
    max-width: 86px;
    padding: 4px 6px;
    border-radius: 10px;
  }


  .brand-words {
    min-width: auto;
  }

  .brand-words strong {
    font-size: 14px;
  }

  .brand-words span {
    font-size: 9px;
  }
}

/* تعديل حجم اللوقوهات في الهيدر */
.brand-clean {
  gap: 14px !important;
}

.gulf-logo {
  height: 55px !important;
  width: auto !important;
  max-width: 145px !important;
  padding: 6px 10px !important;
}

.seu-logo {
  height: 55px !important;
  width: 150px !important;
  max-width: 170px !important;
  padding: 6px 12px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 14px !important;
}

/* ✅ جعل اللوقوهات بيضاء وبدون خلفية */
.brand-clean {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 18px !important;
}

.header-logo,
.gulf-logo,
.seu-logo {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;

  /* يحول اللوقو للأبيض */
  filter: brightness(0) invert(1) !important;
}

.gulf-logo {
  height: 52px !important;
  max-width: 145px !important;
}

.seu-logo {
  height: 48px !important;
  max-width: 160px !important;
}

/* ضبط لوقو الجامعة الإلكترونية */
.brand-clean {
  overflow: visible !important;
  gap: 28px !important;
}

.site-header,
.navbar,
header {
  overflow: visible !important;
}

.seu-logo {
  height: 92px !important;
  width: auto !important;
  max-width: none !important;
  transform: scale(1.9) !important;
  transform-origin: center center !important;
  margin-inline: 34px !important;
  object-fit: contain !important;
}

.gulf-logo {
  height: 58px !important;
  width: auto !important;
  max-width: 155px !important;
}

/* زر واتساب ثابت */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .35);
  z-index: 99999;
  transition: .25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff;
  background: #1ebe5d;
}

.whatsapp-float::after {
  content: "تواصل معنا";
  position: absolute;
  left: 74px;
  background: #fff;
  color: #0f2d4c;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 45, 76, .15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: .25s ease;
}

.whatsapp-float:hover::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 30px;
    left: 16px;
    bottom: 16px;
  }

  .whatsapp-float::after {
    display: none;
  }
}

.faq-help-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  border: 1px solid rgba(14, 165, 233, .16);
  border-radius: 26px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 22px 45px rgba(15, 45, 76, .10);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-help-icon {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b5ed7, #12b8b0);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  margin-bottom: 18px;
  box-shadow: 0 18px 35px rgba(11, 94, 215, .22);
}

.faq-help-card h3 {
  margin: 0 0 10px;
  color: #082f63;
  font-size: 24px;
  font-weight: 900;
}

.faq-help-card p {
  margin: 0 auto 18px;
  color: #526173;
  line-height: 1.9;
  font-size: 15px;
  max-width: 330px;
}

.faq-help-list {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 4px 0 22px;
}

.faq-help-list span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  background: #fff;
  color: #123962;
  border: 1px solid rgba(15, 45, 76, .08);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.faq-help-list i {
  color: #12b8b0;
}

.faq-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #0b5ed7;
  color: #fff;
  padding: 13px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(11, 94, 215, .22);
}

.faq-help-btn:hover {
  background: #0849ad;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .faq-help-card {
    min-height: auto;
  }
}

/* ===== Mobile Hero Fix ===== */
@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .hero,
  .hero .container,
  .hero-content,
  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero {
    padding: 26px 0 40px !important;
    min-height: auto !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .hero-text {
    padding: 0 18px !important;
    margin: 0 auto !important;
  }

  .hero h1,
  .hero-title {
    font-size: 38px !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    margin: 22px auto 14px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero h1 span,
  .hero-title span {
    display: inline !important;
  }

  .hero p,
  .hero-subtitle {
    font-size: 17px !important;
    line-height: 1.9 !important;
    max-width: 100% !important;
    margin: 0 auto 22px !important;
    padding: 0 !important;
  }

  .hero-badge,
  .badge,
  .hero-kicker {
    max-width: calc(100vw - 34px) !important;
    margin-inline: auto !important;
    font-size: 15px !important;
    justify-content: center !important;
  }

  .hero-actions,
  .actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 0 18px !important;
  }

  .hero-actions .btn,
  .actions .btn {
    width: 100% !important;
    min-height: 58px !important;
    padding: 12px 10px !important;
    font-size: 17px !important;
    border-radius: 18px !important;
  }

  .hero-visual,
  .hero-card,
  .features-floating,
  .hero-features {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: calc(100% - 34px) !important;
    max-width: 390px !important;
    margin: 10px auto 0 !important;
  }

  .features-grid,
  .hero-features-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .feature-card,
  .mini-feature {
    min-height: 125px !important;
    padding: 18px 12px !important;
    border-radius: 20px !important;
  }

  .support-card,
  .whatsapp-card {
    position: static !important;
    width: calc(100% - 34px) !important;
    max-width: 360px !important;
    margin: 18px auto 0 !important;
    transform: none !important;
  }
}

@media (max-width: 420px) {

  .hero h1,
  .hero-title {
    font-size: 34px !important;
  }

  .hero p,
  .hero-subtitle {
    font-size: 16px !important;
  }

  .hero-actions .btn,
  .actions .btn {
    font-size: 16px !important;
  }
}

@media (max-width: 768px) {

  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .navbar {
    position: relative;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 17px;
    left: 17px;
    width: auto !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 14px !important;
    margin: 0 !important;
    list-style: none;
    background: #fff;
    border: 1px solid #e2edf8;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(7, 31, 61, .20);
    z-index: 10000;
  }

  .nav-links.is-open {
    display: flex !important;
  }

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

  .nav-links a {
    width: 100%;
    justify-content: flex-start !important;
    color: #0b2f5f !important;
    background: #f7fbff;
    border: 1px solid #e6eef8;
    border-radius: 14px;
    padding: 13px 15px !important;
    font-size: 15px !important;
  }

  .nav-links a.active,
  .nav-links a:hover {
    background: #0b6bff !important;
    color: #fff !important;
  }
}



/* قسم الأسئلة الشائعة
*/

.faq {
  padding: 76px 0 !important;
  background:
    radial-gradient(circle at 12% 15%,
      rgba(14, 165, 233, .08),
      transparent 28%),
    radial-gradient(circle at 88% 80%,
      rgba(16, 169, 165, .08),
      transparent 28%),
    linear-gradient(180deg,
      #f7fbff 0%,
      #ffffff 100%) !important;
}

.faq .section-head {
  max-width: 760px;
  margin: 0 auto 34px !important;
  text-align: center !important;
}


.faq .faq-layout {
  display: block !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}


.faq .faq-list {
  width: 100% !important;
  padding: 14px 20px !important;
  background: #ffffff !important;
  border: 1px solid #dce8f1 !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(9, 56, 94, .08) !important;
}


.faq details.faq-item {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e4edf4 !important;
  background: transparent !important;
}

.faq details.faq-item:last-child {
  border-bottom: 0 !important;
}


.faq .faq-item summary {
  min-height: 68px;
  padding: 18px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  color: #0a355d !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.8 !important;
  text-align: right !important;
  cursor: pointer !important;
  transition:
    color .2s ease,
    background .2s ease !important;
}

.faq .faq-item summary:hover {
  color: #087f9f !important;
}


.faq .faq-item summary::after {
  content: "+" !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 11px !important;
  color: #0b73ad !important;
  background: linear-gradient(135deg,
      #eaf5ff,
      #e9faf8) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  transition:
    transform .2s ease,
    background .2s ease !important;
}

.faq .faq-item[open] summary {
  color: #087a91 !important;
}

.faq .faq-item[open] summary::after {
  content: "−" !important;
  color: #ffffff !important;
  background: linear-gradient(135deg,
      #0c72b8,
      #10a8a5) !important;
}


.faq .faq-answer {
  padding: 2px 12px 22px !important;
  color: #526a7d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 2.1 !important;
  text-align: right !important;
}


.faq .faq-answer-list {
  margin: 12px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 9px !important;
}

.faq .faq-answer-list li {
  position: relative;
  padding-right: 22px;
  color: #526a7d;
  line-height: 1.9;
}

.faq .faq-answer-list li::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #0c72b8,
      #10a8a5);
}


@media (max-width: 1050px) {

  .faq .faq-layout {
    max-width: 900px !important;
  }
}

@media (max-width: 768px) {

  .faq {
    padding: 58px 0 !important;
  }

  .faq .section-head {
    margin-bottom: 26px !important;
  }

  .faq .faq-list {
    padding: 8px 14px !important;
    border-radius: 22px !important;
  }

  .faq .faq-item summary {
    min-height: 62px;
    padding: 16px 5px !important;
    gap: 12px !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }

  .faq .faq-item summary::after {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    border-radius: 10px !important;
    font-size: 18px !important;
  }

  .faq .faq-answer {
    padding: 0 5px 19px !important;
    font-size: 13px !important;
    line-height: 2 !important;
  }

  .faq .faq-answer-list li {
    padding-right: 20px;
  }
}