/* ============================================================
   Atwa-ICT Academy — Netacad-inspired Design System
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: 'Cairo', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy:        #000a8f;
  --navy-dark:   #00076d;
  --navy-mid:    #0010b8;
  --orange:      #f97316;
  --orange-dark: #ea6c0a;

  /* Backgrounds */
  --bg-dark:   #080b1a;   /* hero / dark sections */
  --bg-white:  #ffffff;
  --bg-gray:   #f5f7fa;   /* alt sections */
  --bg-card:   #ffffff;

  /* Text */
  --text-dark:  #111827;
  --text-body:  #374151;
  --text-muted: #6b7280;
  --text-light: rgba(255,255,255,.85);

  /* Borders */
  --border:     #e5e7eb;
  --border-card:#e5e7eb;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:  0 16px 40px rgba(0,0,0,.12);

  /* Misc */
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --max-w:      1200px;
  --transition: 0.22s ease;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

section { position: relative; }
.section-white { background: var(--bg-white); }
.section-gray  { background: var(--bg-gray); }
.section-dark  { background: var(--bg-dark); }

.section-inner { padding: 96px 0; }
.section-inner-sm { padding: 64px 0; }

/* ---------- Typography ---------- */
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.label-chip-navy  { background: rgba(0,10,143,.08); color: var(--navy); }
.label-chip-orange{ background: rgba(249,115,22,.1); color: var(--orange-dark); }
.label-chip-white { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin: 12px 0 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249,115,22,.35);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 0;
  font-size: .9rem;
  gap: 6px;
}
.btn-ghost:hover { color: var(--orange); gap: 10px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }


/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.ann-bar {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 500;
  padding: 10px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.ann-bar a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}
.ann-bar a:hover { opacity: .85; }
.ann-bar-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.ann-bar-close:hover { color: #fff; }
[dir="rtl"] .ann-bar-close { right: auto; left: 16px; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #f5f7fa;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 32px;
}
.nav-logo img { height: 56px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: rgba(0,10,143,.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Language picker */
.lang-picker { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0,10,143,.07);
  border: 1px solid rgba(0,10,143,.15);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover { background: rgba(0,10,143,.13); border-color: rgba(0,10,143,.25); }
.lang-btn i { font-size: .85rem; }
.lang-code { font-size: .78rem; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
.lang-picker.open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition);
}
.lang-option:hover { background: var(--bg-gray); }
.lang-option.active { color: var(--navy); font-weight: 700; }

/* Nav apply button */
.nav-apply {
  padding: 8px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-apply:hover { background: var(--orange-dark); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 32px;
    background: #f5f7fa;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 800;
    gap: 2px;
    overflow-y: auto;
  }
  [dir="rtl"] .nav-links { right: auto; left: 0; border-left: none; border-right: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-link { color: var(--navy); width: 100%; padding: 12px 14px; font-size: .95rem; }
  .nav-apply { display: none; }
}
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 750;
}
.nav-overlay.active { display: block; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--bg-dark);
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 88px 0 72px;
  padding-top: calc(64px + 88px); /* nav height + breathing room */
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 100px;
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title .highlight { color: var(--orange); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--navy);
  opacity: .8;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--navy);
  opacity: .7;
}
.hero-trust-item i { color: var(--orange); font-size: .85rem; opacity: 1; }

/* Right-side image */
.hero-visual { position: relative; }

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,10,143,.15);
  background: rgba(0,10,143,.06);
  border: 2px dashed rgba(0,10,143,.2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(0,10,143,.35);
  text-align: center;
  padding: 32px;
  pointer-events: none;
}
.hero-img-placeholder i { font-size: 3rem; }
.hero-img-placeholder span { font-size: .82rem; line-height: 1.6; }

/* Floating badges */
.hero-badge-1, .hero-badge-2 {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.hero-badge-1 { bottom: -16px; left: -16px; }
.hero-badge-2 { top: -16px; right: -16px; }
.hero-badge-1 i { color: var(--orange); font-size: 1.1rem; }
.hero-badge-2 i { color: var(--navy); font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-sub { max-width: none; }
  .hero-badge-1, .hero-badge-2 { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
}


/* ============================================================
   PROGRAMS — Parallelogram cards
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  /* extra horizontal padding so skewed cards don't clip at grid edges */
  padding: 16px 24px;
}

/* ── Program card — orange border accent ── */
.prog-card {
  position: relative;
  border: 3px solid var(--orange) !important;
  box-shadow: 4px 4px 0 rgba(249,115,22,.35) !important;
  transition: border-color .25s ease, box-shadow .25s ease !important;
  overflow: hidden;
}

/* ── Hover: only border/shadow color changes, no movement ── */
.prog-card:hover {
  transform: none !important;
  border-color: var(--navy) !important;
  box-shadow: 4px 4px 0 rgba(0,10,143,.3) !important;
}

/* ── Image container ── */
.prog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #141830;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.prog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Mirror-glass shimmer ── */
.prog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  /* narrow bright band that sweeps L→R */
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.12) 45%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.12) 55%,
    transparent 70%
  );
  /* start fully off-screen left */
  transform: translateX(-200%);
  animation: mirror-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* stagger so each card shimmers at a different moment */
.programs-grid > div:nth-child(2) .prog-card-img::after { animation-delay: 1.2s; }
.programs-grid > div:nth-child(3) .prog-card-img::after { animation-delay: 2.4s; }

@keyframes mirror-sweep {
  0%   { transform: translateX(-200%); }
  55%  { transform: translateX(220%); }
  100% { transform: translateX(220%); }
}

/* ── Placeholder text ── */
.prog-card-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.35);
}
.prog-card-img-placeholder i   { font-size: 2.5rem; }
.prog-card-img-placeholder span { font-size: .78rem; }

/* ── Badge ── */
.prog-cert-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--orange);
  color: #fff;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}

/* ── Body text ── */
.prog-card-body { padding: 22px 24px; }
.prog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.prog-card-body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.prog-card-meta {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.prog-card-meta span { display: flex; align-items: center; gap: 5px; }
.prog-card-meta i { color: var(--navy); }
.prog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}


/* ============================================================
   WHY ATWA-ICT (4 benefits)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0,10,143,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .why-grid { grid-template-columns: 1fr; } }


/* ============================================================
   CERTIFICATIONS (dark section)
   ============================================================ */
.cert-section { background: #080b1a; padding: 96px 0; }

.cert-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cert-content .section-title { color: #fff; }
.cert-content .section-sub { color: rgba(255,255,255,.6); }

.cert-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cert-item:hover { background: rgba(255,255,255,.07); border-color: rgba(249,115,22,.35); }
.cert-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--orange);
}
.cert-item h4 { font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cert-item p  { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.6; }

.cert-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cert-badge-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-badge-card:hover { border-color: var(--orange); background: rgba(255,255,255,.07); }
.cert-badge-logo {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,.5);
  overflow: hidden;
}
.cert-badge-logo img { width: 100%; height: 100%; object-fit: contain; }
.cert-badge-card h4 { font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cert-badge-card p  { font-size: .78rem; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .cert-split { grid-template-columns: 1fr; gap: 48px; }
  .cert-badges { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CAREER SUPPORT
   ============================================================ */
.career-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.career-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.career-img img { width: 100%; height: 100%; object-fit: cover; }
.career-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #9ca3af; text-align: center; padding: 32px;
}
.career-img-placeholder i { font-size: 3rem; }

.career-features { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.career-feature {
  display: flex; align-items: flex-start; gap: 14px;
}
[dir="rtl"] .career-feature { flex-direction: row-reverse; }
.career-feature-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1rem;
}
.career-feature h4 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.career-feature p  { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) { .career-split { grid-template-columns: 1fr; gap: 40px; } }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-stars { color: #f59e0b; font-size: .85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote { font-size: .92rem; color: var(--text-body); line-height: 1.75; flex: 1; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name  { font-weight: 700; font-size: .88rem; color: var(--navy); }
.testi-role  { font-size: .78rem; color: var(--text-muted); }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }


/* ============================================================
   DIPLOMA GALLERY (Swiper)
   ============================================================ */
.swiper-diplomas { overflow: hidden; padding-bottom: 44px !important; }
.swiper-diplomas .swiper-slide {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-diplomas .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.swiper-pagination-bullet { background: var(--navy) !important; opacity: .35; }
.swiper-pagination-bullet-active { opacity: 1 !important; background: var(--orange) !important; }


/* ============================================================
   BLOG (resource cards — netacad style)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #9ca3af; font-size: .78rem;
}
.blog-card-img-placeholder i { font-size: 2rem; }

.blog-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p  { font-size: .84rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; color: var(--text-muted); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }


/* ============================================================
   EMPLOYERS LOGO STRIP
   ============================================================ */
.employers-intro { text-align: center; margin-bottom: 40px; }
.employers-intro p { color: var(--text-muted); font-size: .9rem; margin-top: 8px; }
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  filter: grayscale(1);
  opacity: .5;
  transition: var(--transition);
}
.logo-item:hover { filter: grayscale(0); opacity: 1; }
.logo-item img { height: 100%; width: auto; object-fit: contain; }
.logo-item-placeholder {
  font-weight: 700;
  font-size: .9rem;
  color: #9ca3af;
  border: 2px dashed #d1d5db;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  white-space: nowrap;
}


/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #000436 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(249,115,22,.08) 0%, transparent 70%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050810;
  color: rgba(255,255,255,.65);
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-logo img { height: 56px; width: auto; object-fit: contain; }
.footer-brand-logo span { font-weight: 800; font-size: 1rem; color: #fff; }
.footer-desc { font-size: .84rem; line-height: 1.75; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .03em; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .84rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: .84rem; margin-bottom: 10px; align-items: flex-start; }
.footer-contact i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 640px) {
  .section-inner     { padding: 64px 0; }
  .section-inner-sm  { padding: 40px 0; }
  .cert-section      { padding: 64px 0; }
  .cta-band          { padding: 64px 0; }
  .hero-actions .btn { padding: 12px 20px; font-size: .88rem; }
}

/* ══════════════════════════════════════════
   Floating Action Buttons
   ══════════════════════════════════════════ */
.fab-group {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  flex-shrink: 0;
}
.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

/* Globe / language button */
.fab-lang-btn {
  background: var(--navy);
  color: #fff;
  font-size: 1.15rem;
  gap: 2px;
}
.fab-lang-btn[aria-expanded="true"] { background: var(--navy-dark); }
.fab-lang-code {
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

/* WhatsApp button */
.fab-wa-btn {
  background: #25D366;
  color: #fff;
  font-size: 1.55rem;
}

/* Language option circles */
.fab-lang-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fab-lang-opt {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* hidden by default */
  opacity: 0;
  transform: translateY(10px) scale(.82);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease,
              border-color .15s ease, box-shadow .15s ease;
}

/* staggered open: EN (child 3) first, AR (child 1) last */
.fab-lang-options.open .fab-lang-opt:nth-child(3) { transition-delay: 0s; }
.fab-lang-options.open .fab-lang-opt:nth-child(2) { transition-delay: .07s; }
.fab-lang-options.open .fab-lang-opt:nth-child(1) { transition-delay: .14s; }

.fab-lang-options.open .fab-lang-opt {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fab-lang-opt:hover {
  transform: scale(1.1) !important;
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
/* Hide image placeholder when real image loads */
.prog-card-img:not(.no-img) .prog-card-img-placeholder { display: none !important; }
.career-img:not(.no-img) .career-img-placeholder { display: none !important; }
.blog-card-img:not(.no-img) .blog-card-img-placeholder { display: none !important; }

.fab-lang-opt.active {
  border-color: var(--orange);
  border-width: 3px;
}
