@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap");
/* ==========================================================================
   EBNI Academy – modern UI layer
   Loaded last from assets.php. Styles only: no markup or logic depends on it.
   Keeps the academy's own colours (magenta, light blue, orange, navy).
   ========================================================================== */

:root {
  --ac-magenta: #9e1b32;
  --ac-magenta-dark: #7c1427;
  --ac-blue: #7a746e;
  --ac-orange: #9e1b32;
  --ac-navy: #161616;
  --ac-navy-2: #2a2624;
  --ac-ink: #161616;
  --ac-muted: #6e6a67;
  --ac-line: #ece7e2;
  --ac-bg: #faf8f5;
  --ac-radius: 18px;
  --ac-shadow: 0 6px 22px rgba(22, 22, 22, 0.08);
  --ac-shadow-hover: 0 16px 38px rgba(22, 22, 22, 0.16);
}

body { color: var(--ac-ink); -webkit-font-smoothing: antialiased; }
body p { line-height: 1.7; }

/* Section titles: bigger, with a short magenta bar underneath */
body h2.title {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 16px;
  color: var(--ac-ink);
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}
body h2.title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ac-magenta), var(--ac-orange));
  transform: translateX(-50%);
}
body h2.title.text-left::after { left: 0; transform: none; }

/* ---------- Top: EU funding strip + main menu ---------- */
/* An old stylesheet pushes the whole page down 40px, leaving a gap above the menu */
html body { margin-top: 0 !important; }

/* EU strip */
body .ac-topbar {
  background: #fff;
  border-bottom: 1px solid var(--ac-line);
  font-size: 13px;
}
body .ac-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}
body .ac-topbar-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
body .ac-eu-flag { height: 40px; width: auto; }
body .ac-eu-text { color: #003399; font-size: 14px; line-height: 1.2; white-space: nowrap; }
body .ac-eu-text b { font-weight: 700; }
body .ac-topbar-sep { width: 1px; height: 30px; margin: 0 6px; background: var(--ac-line); }
body .ac-coe-logo { height: 38px; width: auto; }
body .ac-coe-text { color: var(--ac-navy); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
body .ac-topbar-contact { display: flex; align-items: center; gap: 22px; }
body .ac-topbar-contact a { color: var(--ac-muted) !important; white-space: nowrap; text-decoration: none; }
body .ac-topbar-contact a:hover { color: var(--ac-magenta) !important; }
body .ac-topbar-contact i { margin-right: 6px; color: var(--ac-magenta); }

/* Main menu bar: one line, sticks to the top when scrolling */
body .navbar.ac-nav {
  padding: 0;
  background: linear-gradient(90deg, var(--ac-navy) 0%, var(--ac-navy-2) 100%) !important;
  border: 0;
  box-shadow: 0 6px 20px rgba(22, 22, 22, 0.18);
}
body .navbar.ac-nav > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 64px;
}
body .ac-nav .navbar-brand {
  display: flex;
  align-items: center;
  margin: 0 28px 0 0;
  padding: 7px 14px;
  border-radius: 12px;
  background: #fff;
}
body .ac-nav .navbar-brand img { width: auto !important; height: 34px; margin: 0; border-radius: 0 !important; }
body .ac-nav .navbar-collapse { flex: 1 1 auto; justify-content: space-between; }
body .ac-nav .navbar-nav { display: flex; flex-direction: row; align-items: center; gap: 2px; margin: 0; padding: 0; }
body .ac-nav .navbar-nav > li { position: relative; list-style: none; }
body .ac-nav .navbar-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #ede8e3 !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
body .ac-nav .navbar-nav > li > a:hover,
body .ac-nav .navbar-nav > li.open > a,
body .ac-nav .navbar-nav > li.show > a { background: rgba(255, 255, 255, 0.12); color: #fff !important; }

/* User / Login button */
body .ac-nav .ac-user > a {
  padding: 6px 14px 6px 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-weight: 600 !important;
}
body .ac-nav .ac-user > a > .fa-user-circle { margin-left: 8px; font-size: 18px; }
body .ac-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ac-magenta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
body .ac-user-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

/* Dropdowns */
body .ac-nav .dropdown-menu {
  min-width: 230px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.18);
}
body .ac-nav .dropdown-menu-right { right: 0; left: auto; }
body .ac-nav .dropdown-menu li { display: block; list-style: none; }
body .ac-nav .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ac-ink) !important;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}
body .ac-nav .dropdown-menu a:hover { background: #f7ecee; color: var(--ac-magenta) !important; }
body .ac-nav .dropdown-menu a i { width: 16px; color: var(--ac-magenta); text-align: center; }
body .ac-nav .dropdown-menu a.ac-sub { padding-left: 20px; font-size: 13.5px; }
body .ac-nav .dropdown-menu a.ac-sub i { color: var(--ac-muted); }
body .ac-nav .dropdown-menu .ac-menu-label {
  padding: 8px 12px 4px;
  color: var(--ac-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
body .ac-nav .dropdown-menu .divider { height: 1px; margin: 6px 4px; background: var(--ac-line); }
body .ac-nav .dropdown-menu a.ac-logout,
body .ac-nav .dropdown-menu a.ac-logout i { color: #c0392b !important; }
body .ac-nav .ac-user .dropdown-menu { max-height: 70vh; overflow-y: auto; }

/* Menu button (small screens) */
body .ac-nav .navbar-toggler {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
body .ac-nav .navbar-toggler .fa-bars { color: #fff !important; }

/* ==========================================================================
   Home page (new layout in home.php, classes prefixed "ac-")
   ========================================================================== */

/* Shared building blocks */
body .ac-section { padding: 90px 0; background: #fff; }
body .ac-section-soft { background: var(--ac-bg); }
body .ac-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
body .ac-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ac-magenta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body .ac-heading { margin: 0 0 18px; color: var(--ac-ink); font-size: 38px; font-weight: 800; line-height: 1.15; }
body .ac-section-head .ac-heading { margin: 0; }
body .ac-on-dark .ac-heading { color: #fff; }
body .ac-on-dark .ac-kicker { color: #efc3cb; }

body .ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
body .ac-btn:hover { transform: translateY(-2px); }
body .ac-btn-primary { background: var(--ac-magenta); color: #fff !important; box-shadow: 0 12px 26px rgba(158, 27, 50, 0.35); }
body .ac-btn-primary:hover { background: var(--ac-magenta-dark); }
body .ac-btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff !important; }
body .ac-btn-ghost:hover { background: #fff; color: var(--ac-navy) !important; }
body .ac-btn-outline { border: 1.5px solid var(--ac-navy); color: var(--ac-navy) !important; }
body .ac-btn-outline:hover { background: var(--ac-navy); color: #fff !important; }
body .ac-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ac-magenta) !important; font-size: 14px; font-weight: 700; }
body .ac-link i { transition: transform .2s ease; }
body a:hover .ac-link i, body .ac-link:hover i { transform: translateX(4px); }
body .ac-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f7ecee;
  color: var(--ac-magenta);
  font-size: 13px;
  font-weight: 700;
}

/* ----- Hero ----- */
body .ac-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 140px;
  background:
    radial-gradient(circle at 85% 20%, rgba(158, 27, 50, 0.35) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(158, 27, 50, 0.25) 0, transparent 40%),
    linear-gradient(135deg, #0f0e0d 0%, var(--ac-navy) 45%, var(--ac-navy-2) 100%);
  color: #fff;
}
body .ac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
body .ac-hero .container { position: relative; }
body .ac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e9e4de;
  font-size: 13px;
  font-weight: 600;
}
body .ac-eyebrow i { color: #e3a1ad; }
body .ac-hero-title { margin: 0 0 20px; color: #fff; font-size: 54px; font-weight: 800; line-height: 1.08; }
body .ac-hero-title span {
  background: linear-gradient(90deg, #b8324a, var(--ac-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body .ac-hero-lead { max-width: 540px; margin: 0 0 32px; color: #d8d2cb; font-size: 17px; line-height: 1.75; }
body .ac-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
body .ac-hero-facts { display: flex; flex-wrap: wrap; gap: 36px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); list-style: none; }
body .ac-hero-facts li { display: flex; flex-direction: column; }
body .ac-hero-facts b { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.1; }
body .ac-hero-facts span { color: #b8b1a9; font-size: 13px; }
body .ac-hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
body .ac-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 27, 50, 0.45), transparent 65%);
  transform: translate(-50%, -50%);
}
body .ac-hero-img { position: relative; width: 100%; max-width: 440px; }
body .ac-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: var(--ac-ink);
}
body .ac-float-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f7ecee;
  color: var(--ac-magenta);
  font-size: 18px;
}
body .ac-float-card b { display: block; font-size: 20px; font-weight: 800; line-height: 1; }
body .ac-float-card span { color: var(--ac-muted); font-size: 12.5px; }
body .ac-float-1 { top: 18%; left: 0; }
body .ac-float-2 { right: 0; bottom: 14%; }
body .ac-float-2 i { background: #f3efea; color: #3a3532; }

/* ----- Partners strip (overlaps the hero) ----- */
body .ac-partners { position: relative; z-index: 2; margin-top: -80px; }
body .ac-partners-card {
  display: grid;
  grid-template-columns: 1fr 1fr 2.2fr;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow-hover);
}
body .ac-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 24px 22px;
  text-align: center;
}
body .ac-partner + .ac-partner { border-left: 1px solid var(--ac-line); }
body .ac-partner-label { color: var(--ac-muted); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
body .ac-partner img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; }
body .ac-partner-wide img { max-height: 46px; }

/* ----- Objectives ----- */
body #objective { background: #fff; }
body .ac-objective-visual { position: relative; padding: 0 20px 20px 0; }
body .ac-objective-visual::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ac-magenta), var(--ac-orange));
  opacity: 0.9;
}
body .ac-objective-visual img { position: relative; width: 100%; border-radius: 24px; box-shadow: var(--ac-shadow-hover); }
body .ac-objective {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  box-shadow: var(--ac-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
body .ac-objective:hover { transform: translateY(-4px); box-shadow: var(--ac-shadow-hover); }
body .ac-objective-num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ac-magenta), #b8324a);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
body .ac-objective + .ac-objective .ac-objective-num { background: linear-gradient(135deg, var(--ac-navy-2), var(--ac-blue)); }
body .ac-objective h3 { margin: 0 0 8px; color: var(--ac-ink); font-size: 20px; font-weight: 700; }
body .ac-objective p { margin: 0; color: var(--ac-muted); font-size: 15.5px; line-height: 1.75; }

/* ----- Services ----- */
body .ac-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
body .ac-service {
  position: relative;
  overflow: hidden;
  padding: 32px 26px 30px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
body .ac-service::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ac-magenta), var(--ac-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
body .ac-service:hover { transform: translateY(-8px); box-shadow: var(--ac-shadow-hover); }
body .ac-service:hover::after { transform: scaleX(1); }
body .ac-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ac-navy), var(--ac-navy-2));
  box-shadow: 0 12px 24px rgba(22, 22, 22, 0.25);
}
body .ac-service:nth-child(2) .ac-service-icon { background: linear-gradient(135deg, var(--ac-magenta), #b8324a); box-shadow: 0 12px 24px rgba(158, 27, 50, 0.3); }
body .ac-service:nth-child(3) .ac-service-icon { background: linear-gradient(135deg, #3a3532, var(--ac-blue)); box-shadow: 0 12px 24px rgba(22, 22, 22, 0.3); }
body .ac-service:nth-child(4) .ac-service-icon { background: linear-gradient(135deg, #7c1427, var(--ac-orange)); box-shadow: 0 12px 24px rgba(158, 27, 50, 0.3); }
body .ac-service-icon img { width: 40px; height: 40px; object-fit: contain; }
body .ac-service h4 { margin: 0 0 10px; color: var(--ac-ink); font-size: 20px; font-weight: 700; }
body .ac-service p { margin: 0; color: var(--ac-muted); font-size: 15px; line-height: 1.7; }

/* ----- Numbers band (targets + statistics) ----- */
body .ac-numbers {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(158, 27, 50, 0.3) 0, transparent 35%),
    linear-gradient(135deg, #0f0e0d 0%, var(--ac-navy) 50%, var(--ac-navy-2) 100%) !important;
  color: #fff;
}
body .ac-targets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
body .ac-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  text-align: center;
  transition: transform .25s ease, background-color .25s ease;
}
body .ac-target:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12); }
body .ac-target img { width: 46px; height: 46px; margin-bottom: 6px; padding: 9px; border-radius: 14px; background: #fff; object-fit: contain; box-sizing: content-box; }
body .ac-target b { color: #fff; font-size: 34px; font-weight: 800; line-height: 1.1; }
body .ac-target span { color: #c9c2ba; font-size: 14px; }
body .ac-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}
body .ac-stats-text { flex: 1 1 280px; }
body .ac-stats-text h3 { margin: 0 0 6px; color: #fff; font-size: 22px; font-weight: 700; }
body .ac-stats-text p { margin: 0; color: #c9c2ba; font-size: 14px; }
body .ac-stats-list { display: flex; flex: 2 1 420px; flex-wrap: wrap; justify-content: space-around; gap: 20px; margin: 0; padding: 0; list-style: none; }
body .ac-stats-list li { min-width: 120px; text-align: center; }
body .ac-stats-list h4 { margin: 0; color: #fff; font-size: 40px; font-weight: 800; }
body .ac-stats-list h4:empty::before { content: "0"; }
body .ac-stats-list h5 { margin: 4px 0 0; color: #efc3cb; font-size: 14px; font-weight: 600; }

/* ----- Mentor Academy ----- */
body .ac-mentor {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid var(--ac-line);
  border-radius: 28px;
  box-shadow: var(--ac-shadow-hover);
}
body .ac-mentor-text { padding: 54px 56px; }
body .ac-mentor-text p { color: var(--ac-muted); font-size: 15.5px; line-height: 1.8; }
body .ac-mentor-text .ac-hero-actions { margin-top: 26px; }
body .ac-mentor-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  min-height: 360px;
  padding: 40px;
  background:
    radial-gradient(circle at 30% 30%, rgba(158, 27, 50, 0.35), transparent 55%),
    linear-gradient(160deg, #f3efea, #f8f1f2);
}
body .ac-mentor-visual img:first-child { width: 150px; filter: drop-shadow(0 18px 30px rgba(22, 22, 22, 0.25)); }
body .ac-mentor-visual img:last-child { width: 220px; }

/* ----- Program and media cards ----- */
body .ac-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
body .ac-cards-4 { grid-template-columns: repeat(4, 1fr); }
body .ac-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--ac-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--ac-shadow);
  color: var(--ac-ink) !important;
  text-decoration: none !important;
  transition: transform .3s ease, box-shadow .3s ease;
}
body .ac-card:hover { transform: translateY(-8px); box-shadow: var(--ac-shadow-hover); }
body .ac-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; text-align: left; }
body .ac-card-body h5 { margin: 0; color: var(--ac-ink) !important; font-size: 18px; font-weight: 700; line-height: 1.35; }
body .ac-card-body p { margin: 0; color: var(--ac-muted); font-size: 14px; line-height: 1.65; }
body .ac-card-body .ac-link { margin-top: auto; padding-top: 6px; }
body .ac-program-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(160deg, #f4f1ed, #f8f1f2);
}
body .ac-program-img img { max-width: 70%; max-height: 150px; object-fit: contain; transition: transform .4s ease; }
body .ac-program:hover .ac-program-img img { transform: scale(1.06); }
body .ac-media .card-img-top { height: 190px; object-fit: cover; }
body .ac-media-video { position: relative; height: 190px; overflow: hidden; background: #000; }
body .ac-media-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
body .media-center .card { border: 1px solid var(--ac-line); }

/* ----- Testimonials ----- */
body .ac-quote {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 50px 70px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 28px;
  box-shadow: var(--ac-shadow-hover);
  text-align: center;
}
body .ac-quote-mark {
  position: absolute;
  top: -26px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ac-magenta), var(--ac-orange));
  color: #fff;
  font-size: 20px;
  transform: translateX(-50%);
}
body .ac-quote .lead { color: var(--ac-ink); font-size: 19px; line-height: 1.8; }
body .ac-quote h5 { margin-top: 16px; color: var(--ac-magenta); font-weight: 700; }
body .ac-quote .carousel-indicators { bottom: 18px; margin-bottom: 0; }
body .ac-quote .carousel-indicators li { width: 44px; height: 44px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; box-shadow: var(--ac-shadow); opacity: .55; }
body .ac-quote .carousel-indicators li.active { opacity: 1; border-color: var(--ac-magenta); }
body .ac-quote .carousel-indicators li img { width: 100%; height: 100%; object-fit: cover; }
/* Hide the whole testimonials section when there are none */
body .testimonials:not(:has(.carousel-item)) { display: none; }

/* ----- Calendar ----- */
body .ac-calendar-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 24px;
  box-shadow: var(--ac-shadow);
}
body .ac-calendar-card .fc-button { border-radius: 8px !important; }

/* Old buttons used on inner pages */
body .btn-info {
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ac-magenta) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(158, 27, 50, 0.25) !important;
}
body .btn-info:hover { background: var(--ac-magenta-dark) !important; }

/* The old stylesheet centres all text; the new blocks read left-aligned */
body .ac-hero,
body .ac-objective,
body .ac-service,
body .ac-mentor-text,
body .ac-stats-text,
body #objective .ac-kicker,
body #objective .ac-heading { text-align: left; }

/* ----- Home: tablets and phones ----- */
@media (max-width: 1199px) {
  body .ac-services { grid-template-columns: repeat(2, 1fr); }
  body .ac-targets { grid-template-columns: repeat(3, 1fr); }
  body .ac-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  body .ac-section, body .ac-numbers { padding: 64px 0; }
  body .ac-hero { padding: 60px 0 120px; text-align: center; }
  body .ac-hero-lead { margin-left: auto; margin-right: auto; }
  body .ac-hero-actions, body .ac-hero-facts { justify-content: center; }
  body .ac-hero-visual { margin-top: 40px; }
  body .ac-partners-card { grid-template-columns: 1fr 1fr; }
  body .ac-partner-wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--ac-line); }
  body .ac-objective-visual { max-width: 440px; margin: 0 auto 30px; }
  body .ac-mentor { grid-template-columns: 1fr; }
  body .ac-mentor-visual { order: -1; min-height: 240px; }
  body .ac-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body .ac-heading { font-size: 28px; }
  body .ac-hero-title { font-size: 36px; }
  body .ac-hero-lead { font-size: 15.5px; }
  body .ac-hero-facts { gap: 22px; }
  body .ac-hero-facts b { font-size: 24px; }
  body .ac-float-card { display: none; }
  body .ac-services, body .ac-cards, body .ac-cards-4 { grid-template-columns: 1fr; }
  body .ac-targets { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body .ac-target b { font-size: 28px; }
  body .ac-objective { flex-direction: column; gap: 14px; padding: 22px; }
  body .ac-mentor-text { padding: 32px 22px; }
  body .ac-quote { padding: 44px 22px 70px; }
  body .ac-stats { padding: 24px 20px; }
}

/* ---------- Footer ---------- */
body .separator { display: none; }
body footer.ac-footer {
  margin-top: 0;
  padding: 70px 0 0;
  overflow: visible;
  background:
    radial-gradient(circle at 90% 0%, rgba(158, 27, 50, 0.22) 0, transparent 35%),
    linear-gradient(160deg, #0f0e0d 0%, var(--ac-navy) 60%, #2a2624 100%) !important;
  color: #c9c2ba;
  text-align: left;
}
body .ac-footer-admin { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
body .ac-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
body .ac-footer-logos {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 20px;
  border-radius: 18px;
  background: #fff;
}
body .ac-footer-logos img { width: auto; height: 52px; object-fit: contain; }
body .ac-footer-about p { max-width: 360px; margin: 0; color: #b8b1a9; font-size: 14px; line-height: 1.75; }
body .ac-footer-col { display: flex; flex-direction: column; gap: 12px; }
body .ac-footer-col h5 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
body .ac-footer-col a,
body .ac-footer-col span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c9c2ba !important;
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
body .ac-footer-col a:hover { color: #fff !important; transform: translateX(3px); }
body .ac-footer-contact i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(158, 27, 50, 0.18);
  color: #e3a1ad;
  font-size: 13px;
}
body .ac-footer-contact a, body .ac-footer-contact span { align-items: center; }
body .ac-footer-eu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9a938b;
  font-size: 13px;
}
body .ac-footer-eu img { height: 38px; width: auto; padding: 4px 6px; border-radius: 6px; background: #fff; }
body .rights { padding: 14px 0; background: #0b0a0a !important; color: #9a938b; font-size: 13px; }
body .rights a { color: #c9c2ba !important; }
@media (max-width: 991px) {
  body .ac-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  body .ac-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  body .ac-footer-grid { grid-template-columns: 1fr; }
  body .ac-footer-logos img { height: 42px; }
  body .ac-footer-eu { flex-direction: column; text-align: center; }
}

/* ---------- Contact us ---------- */
body .contact { padding: 60px 0 70px; background: var(--ac-bg) !important; }
body .contact ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
body .contact ul li {
  flex: 1 1 200px;
  max-width: 250px;
  margin: 0 !important;
  padding: 26px 18px !important;
  background: #fff !important;
  border: 1px solid var(--ac-line) !important;
  border-radius: var(--ac-radius) !important;
  box-shadow: var(--ac-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
body .contact ul li:hover { transform: translateY(-5px); box-shadow: var(--ac-shadow-hover); }
body .contact ul li i {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 12px !important;
  border-radius: 14px !important;
  background: #f7ecee !important;
  color: var(--ac-magenta) !important;
  line-height: 52px !important;
  font-size: 20px;
}
body .contact ul li span { color: var(--ac-ink) !important; font-size: 15px !important; word-break: break-word; }

/* ---------- Sign in / Sign up ---------- */
body .wrapper,
body .holderSing {
  overflow: hidden;
  margin: 40px auto 60px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 24px;
  box-shadow: var(--ac-shadow-hover);
}
body .wrapper .bg,
body .holderSing .imgSign { height: 100%; background: linear-gradient(160deg, #f8f1f2, #f4f1ed); }
body #signIn,
body #signup { padding: 40px 36px; }
body #signIn .title,
body #signup .title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--ac-ink);
  font-size: 26px;
  font-weight: 700;
}
body #signIn .title img, body #signup .title img { width: 30px; }
body #signIn label { display: block; margin: 0 0 6px; color: var(--ac-ink); font-size: 14px; font-weight: 600; text-align: left; }
body #signIn input[type="text"],
body #signIn input[type="password"] {
  width: 100%;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: 1.5px solid var(--ac-line) !important;
  border-radius: 12px !important;
  background: #fff;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body #signIn input:focus,
body #signup .group input:focus {
  border-color: var(--ac-magenta) !important;
  box-shadow: 0 0 0 4px rgba(158, 27, 50, 0.12);
  outline: none;
}
/* Sign up keeps its floating labels; only the field box changes */
body #signup .group input {
  height: 50px;
  padding: 10px 44px 0 16px;
  border: 1.5px solid var(--ac-line) !important;
  border-radius: 12px !important;
}
body #signup .group .bar { display: none; }
body #signup .group i { color: var(--ac-magenta); }
body #signup .submit button,
body #signup button[type="submit"] {
  height: 48px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ac-magenta) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(158, 27, 50, 0.25);
}

/* ---------- Mentor diploma / program detail pages ---------- */
body .route .breadcrumb {
  padding: 10px 20px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ac-bg) !important;
}
body .mentorDiploma {
  max-width: 900px;
  margin: 10px auto 60px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  text-align: left !important;
}
body .mentorDiploma ul { margin: 6px 0 22px; padding-left: 0; list-style: none; }
body .mentorDiploma li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--ac-line);
  color: var(--ac-ink);
  text-align: left !important;
}
body .mentorDiploma li::before {
  content: "\f00c";
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--ac-magenta);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* ==========================================================================
   Inner pages (diploma, program detail, contact): page header + content
   ========================================================================== */
body .ac-page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 88% 10%, rgba(158, 27, 50, 0.35) 0, transparent 38%),
    linear-gradient(135deg, #0f0e0d 0%, var(--ac-navy) 50%, var(--ac-navy-2) 100%);
  color: #fff;
  text-align: left;
}
body .ac-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
body .ac-page-hero .container { position: relative; }
body .ac-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; }
body .ac-breadcrumb li { color: #b8b1a9; }
body .ac-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.35); }
body .ac-breadcrumb a { color: #e9e4de !important; }
body .ac-breadcrumb a:hover { color: #fff !important; }
body .ac-page-title { max-width: 820px; margin: 0 0 14px; color: #fff; font-size: 44px; font-weight: 800; line-height: 1.12; }
body .ac-page-lead { max-width: 680px; margin: 0; color: #d8d2cb; font-size: 17px; line-height: 1.7; }

body .ac-page-body { padding: 56px 0 90px; background: var(--ac-bg); text-align: left; }
body .ac-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 30px; }
body .ac-block {
  margin-bottom: 24px;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
}
body .ac-block p { margin: 0; color: var(--ac-muted); font-size: 15.5px; line-height: 1.8; }
body .ac-block-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
body .ac-block-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ac-magenta), #b8324a);
  color: #fff;
  font-size: 17px;
}
body .ac-block-head h3 { margin: 0; color: var(--ac-ink); font-size: 21px; font-weight: 700; }
body .ac-checklist { margin: 0; padding: 0; list-style: none; }
body .ac-checklist li {
  position: relative;
  padding: 11px 0 11px 36px;
  border-bottom: 1px dashed var(--ac-line);
  color: var(--ac-ink);
  font-size: 15px;
  line-height: 1.65;
}
body .ac-checklist li:last-child { border-bottom: 0; }
body .ac-checklist li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f7ecee;
  color: var(--ac-magenta);
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  font-weight: 900;
}
body .ac-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
body .ac-topic {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  background: #fbf9f6;
  color: var(--ac-ink);
  font-size: 14.5px;
  line-height: 1.55;
}
body .ac-topic b { flex: 0 0 auto; color: var(--ac-magenta); font-size: 15px; font-weight: 800; }

body .ac-page-side { position: sticky; top: 90px; }
body .ac-summary {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow-hover);
}
body .ac-summary h4 { margin: 0 0 16px; color: var(--ac-ink); font-size: 18px; font-weight: 700; }
body .ac-summary-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ac-line); }
body .ac-summary-row i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f4f1ed;
  color: var(--ac-navy-2);
}
body .ac-summary-row span { display: block; color: var(--ac-muted); font-size: 12.5px; }
body .ac-summary-row b { color: var(--ac-ink); font-size: 15px; }
body .ac-btn-block { justify-content: center; width: 100%; margin-top: 14px; }
body .ac-summary .ac-btn-block:first-of-type { margin-top: 22px; }

/* Program detail */
body .ac-program-detail {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 26px;
  box-shadow: var(--ac-shadow-hover);
}
body .ac-program-detail-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px;
  background: linear-gradient(160deg, #f4f1ed, #f8f1f2);
}
body .ac-program-detail-img img { max-width: 100%; max-height: 260px; object-fit: contain; }
body .ac-program-detail-text { padding: 44px 46px; }
body .ac-program-desc { margin: 4px 0 28px; color: var(--ac-muted); font-size: 16px; line-height: 1.85; }

/* Contact */
body .ac-contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 30px; }
body .ac-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  color: var(--ac-ink) !important;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
body .ac-contact-card:hover { transform: translateY(-6px); box-shadow: var(--ac-shadow-hover); }
body .ac-contact-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--ac-magenta), #b8324a);
  color: #fff;
  font-size: 19px;
}
body .ac-contact-card:nth-child(2) span { background: linear-gradient(135deg, var(--ac-navy-2), var(--ac-blue)); }
body .ac-contact-card:nth-child(3) span { background: linear-gradient(135deg, #7c1427, var(--ac-orange)); }
body .ac-contact-card:nth-child(4) span { background: linear-gradient(135deg, #161616, #2a2624); }
body .ac-contact-card h5 { margin: 0; color: var(--ac-ink); font-size: 17px; font-weight: 700; }
body .ac-contact-card p { margin: 0; color: var(--ac-muted); font-size: 14.5px; line-height: 1.55; word-break: break-word; }
body .ac-map { overflow: hidden; border: 1px solid var(--ac-line); border-radius: 22px; box-shadow: var(--ac-shadow); line-height: 0; }

@media (max-width: 991px) {
  body .ac-page-grid { grid-template-columns: 1fr; }
  body .ac-page-side { position: static; }
  body .ac-program-detail { grid-template-columns: 1fr; }
  body .ac-contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body .ac-page-title { font-size: 30px; }
  body .ac-page-lead { font-size: 15.5px; }
  body .ac-block { padding: 22px 20px; }
  body .ac-topics { grid-template-columns: 1fr; }
  body .ac-program-detail-text { padding: 28px 22px; }
  body .ac-contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Courses catalogue (logged-in)
   ========================================================================== */
body .ac-courses-hero { padding-bottom: 56px; }
body .ac-courses-hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
body .ac-search {
  display: flex;
  align-items: center;
  flex: 0 1 460px;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}
body .ac-search i { color: var(--ac-muted); }
body .ac-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0 !important;
  background: transparent;
  color: var(--ac-ink);
  font-size: 15px;
  box-shadow: none !important;
  outline: none;
}
body .ac-search button {
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ac-magenta);
  color: #fff;
  font-weight: 700;
}
body .ac-search button:hover { background: var(--ac-magenta-dark); }
body .ac-btn-sm { padding: 9px 18px; font-size: 14px; }

body .ac-courses-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 30px; }
body .ac-courses-grid > * { min-width: 0; }

/* Category sidebar */
body .ac-cat-card {
  position: sticky;
  top: 90px;
  padding: 22px 16px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
}
body .ac-cat-card h4 { display: flex; align-items: center; gap: 10px; margin: 0 8px 14px; color: var(--ac-ink); font-size: 17px; font-weight: 700; }
body .ac-cat-card h4 i { color: var(--ac-magenta); }
body .ac-cat-list { margin: 0; padding: 0; list-style: none; }
body .ac-cat-list li { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
body .ac-cat-list li > a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--ac-ink) !important;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
body .ac-cat-list li > a:hover { background: var(--ac-bg); }
body .ac-cat-list li.active > a { background: #f7ecee; color: var(--ac-magenta) !important; font-weight: 700; }
body .ac-cat-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f1ed;
  color: var(--ac-navy-2);
}
body .ac-cat-icon img { width: 22px; height: 22px; object-fit: contain; }
/* Logo shown when the category has one; otherwise a coloured icon tile */
body .ac-cat-icon > i { display: none; font-size: 15px; }
body .ac-cat-icon.ac-cat-noimg > i,
body .ac-cat-icon:not(:has(img)) > i { display: inline-block; }
body .ac-cat-icon.ac-cat-noimg { background: linear-gradient(135deg, var(--ac-navy), var(--ac-navy-2)); color: #fff; }
body .ac-cat-list li:nth-child(3n+1) .ac-cat-icon.ac-cat-noimg { background: linear-gradient(135deg, var(--ac-magenta), #b8324a); }
body .ac-cat-list li:nth-child(3n+2) .ac-cat-icon.ac-cat-noimg { background: linear-gradient(135deg, #3a3532, var(--ac-blue)); }
body .ac-cat-list li.active .ac-cat-icon.ac-cat-noimg { color: #fff; }
body .ac-cat-list li.active .ac-cat-icon { background: #fff; color: var(--ac-magenta); }
body .ac-cat-admin { display: flex; gap: 2px; }
body .ac-cat-admin .btn { padding: 3px 7px; font-size: 11px; border-radius: 7px; }
body .ac-cat-add a { justify-content: center; border: 1.5px dashed var(--ac-line); color: var(--ac-muted) !important; }
body .ac-cat-special { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ac-line); }

/* Filter tabs */
body .ac-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
body .ac-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--ac-line); border-radius: 999px; background: #fff; box-shadow: var(--ac-shadow); }
body .ac-tabs a {
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--ac-muted) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease;
}
body .ac-tabs a:hover { color: var(--ac-ink) !important; }
body .ac-tabs a.active { background: var(--ac-navy); color: #fff !important; }

/* Course cards */
body .ac-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
body .ac-course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
body .ac-course:hover { transform: translateY(-6px); box-shadow: var(--ac-shadow-hover); }
body .ac-course-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f1ed, #f8f1f2);
}
body .ac-course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
body .ac-course:hover .ac-course-img img { transform: scale(1.05); }
body .ac-price {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ac-navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
body .ac-price.ac-free { background: #18a058; }
body .ac-enrolled {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ac-magenta);
  font-size: 12px;
  font-weight: 700;
}
body .ac-course-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; text-align: left; }
body .ac-course-dates { color: var(--ac-muted); font-size: 12.5px; }
body .ac-course-dates i { margin: 0 3px; color: var(--ac-magenta); }
body .ac-course-dates .fa-arrow-right { color: var(--ac-muted); font-size: 10px; }
body .ac-course h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
body .ac-course h3 a { color: var(--ac-ink) !important; text-decoration: none !important; }
body .ac-course h3 a:hover { color: var(--ac-magenta) !important; }
body .ac-course .course-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
body .ac-course .course-description:empty { display: none; }
body .ac-instructor { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ac-line); }
body .ac-instructor .ac-avatar { width: 34px; height: 34px; flex: 0 0 auto; }
body .ac-instructor b { display: block; color: var(--ac-ink); font-size: 13.5px; }
body .ac-instructor div span { display: block; color: var(--ac-muted); font-size: 12px; }
body .ac-instructor .ac-avatar { color: #fff; font-size: 14px; }
body .ac-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
body .ac-edit { color: var(--ac-muted) !important; font-size: 13px; font-weight: 600; }
body .ac-edit:hover { color: var(--ac-magenta) !important; }

/* Empty state */
body .ac-empty {
  padding: 50px 30px;
  background: #fff;
  border: 1.5px dashed var(--ac-line);
  border-radius: 22px;
  text-align: center;
}
body .ac-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #f7ecee;
  color: var(--ac-magenta);
  font-size: 24px;
}
body .ac-empty h4 { margin: 0 0 6px; color: var(--ac-ink); font-weight: 700; }
body .ac-empty p { margin: 0 0 18px; color: var(--ac-muted); }

/* Incubation trainings table */
body .ac-table-card { overflow: hidden; background: #fff; border: 1px solid var(--ac-line); border-radius: 22px; box-shadow: var(--ac-shadow); }
body .ac-table { margin: 0; }
body .ac-table thead th {
  padding: 14px 20px;
  border: 0 !important;
  background: var(--ac-bg);
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}
body .ac-table td { padding: 14px 20px; border-top: 1px solid var(--ac-line); color: var(--ac-ink); text-align: left; vertical-align: middle; }
body .ac-table td i { margin-right: 6px; color: var(--ac-magenta); }
body .ac-table .text-right { text-align: right; }
body .ac-table .btn-success { border-radius: 999px; padding: 6px 18px; }
body .ac-empty-cell { padding: 30px 20px !important; color: var(--ac-muted) !important; text-align: center !important; }

@media (max-width: 991px) {
  body .ac-courses-grid { grid-template-columns: 1fr; }
  body .ac-cat-card { position: static; }
  body .ac-cat-list { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  body .ac-cat-list li { flex: 0 0 auto; margin: 0; }
  body .ac-cat-list li > a { white-space: nowrap; border: 1px solid var(--ac-line); }
  body .ac-cat-special { margin: 0; padding: 0; border: 0; }
  body .ac-cat-admin { display: none; }
  body .ac-search { flex-basis: 100%; }
}
@media (max-width: 575px) {
  body .ac-tabs { width: 100%; justify-content: space-between; }
  body .ac-tabs a { padding: 8px 12px; }
  body .ac-course-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Course details page
   ========================================================================== */
body .ac-course-hero { padding-bottom: 70px; }
body .ac-course-hero-text { max-width: 760px; }
body .ac-course-lead { margin-bottom: 18px; }
body .ac-course-lead p { margin: 0; color: inherit; }
body .ac-course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 18px; color: #d8d2cb; font-size: 14.5px; }
body .ac-course-meta > span i { margin-right: 6px; color: #e3a1ad; }
body .ac-course-meta .ac-arrow { margin: 0 4px; color: #9a938b; font-size: 11px; }
body .ac-stars { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
body .ac-stars .clickRate { display: flex; gap: 3px; margin: 0; padding: 0; }
body .ac-stars .clickRate li { display: inline-block; margin: 0; padding: 0; background: none !important; border: 0 !important; color: rgba(255, 255, 255, 0.28); font-size: 16px; }
body .ac-stars .clickRate li.fillStar { color: #ffc23d; }
body .ac-stars-link span { color: #e3a1ad; font-size: 13px; font-weight: 600; }
body .ac-stars-link:hover span { text-decoration: underline; }

body .ac-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 30px; }
body .ac-detail-grid > * { min-width: 0; }
body .ac-detail-side { position: sticky; top: 90px; margin-top: -150px; }

/* Enrol card */
body .ac-enroll { overflow: hidden; background: #fff; border: 1px solid var(--ac-line); border-radius: 24px; box-shadow: 0 24px 50px rgba(22, 22, 22, 0.22); }
body .ac-enroll-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(160deg, #f4f1ed, #f8f1f2);
}
body .ac-enroll-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
body .ac-enroll-img > i { position: absolute; color: #d3cdc6; font-size: 54px; }
body .ac-enroll-body { padding: 22px 24px 24px; }
body .ac-enroll-price { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
body .ac-enroll-price b { color: var(--ac-ink); font-size: 28px; font-weight: 800; }
body .ac-enroll-price .ac-free-text { color: #18a058; }
body .ac-enrolled-pill { padding: 6px 12px; border-radius: 999px; background: #f7ecee; color: var(--ac-magenta); font-size: 12.5px; font-weight: 700; }
body .ac-enroll-actions { margin: 0 !important; padding: 0 !important; background: none !important; text-align: center; }
body .ac-enroll-actions .ac-btn-block { margin-top: 0; }
body .ac-unsubscribe { display: inline-block; margin-top: 12px; color: var(--ac-muted) !important; font-size: 13px; text-decoration: underline !important; }
body .ac-unsubscribe:hover { color: #c0392b !important; }
body .ac-enroll-facts { margin: 20px 0 0; padding: 0; list-style: none; }
body .ac-enroll-facts li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ac-line); font-size: 14px; }
body .ac-enroll-facts i { width: 18px; color: var(--ac-magenta); text-align: center; }
body .ac-enroll-facts span { color: var(--ac-muted); }
body .ac-enroll-facts b { margin-left: auto; color: var(--ac-ink); text-align: right; }

/* Content, outcomes, instructor */
body .ac-content-list { margin: 0; padding: 0; list-style: none; counter-reset: lesson; }
body .ac-content-list li {
  position: relative;
  padding: 13px 0 13px 52px;
  border-bottom: 1px dashed var(--ac-line);
  color: var(--ac-ink);
  font-size: 15px;
  line-height: 1.6;
  counter-increment: lesson;
}
body .ac-content-list li:last-child { border-bottom: 0; }
body .ac-content-list li::before {
  content: counter(lesson, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  border-radius: 9px;
  background: #f4f1ed;
  color: var(--ac-navy-2);
  font-size: 13px;
  font-weight: 800;
}
body .ac-outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
body .ac-outcome { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--ac-line); border-radius: 14px; background: #fbf9f6; color: var(--ac-ink); font-size: 14.5px; line-height: 1.55; }
body .ac-outcome i { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e3f6ec; color: #18a058; font-size: 10px; margin-top: 1px; }
body .ac-muted-note { margin: 0; padding: 18px 20px; border: 1.5px dashed var(--ac-line); border-radius: 14px; color: var(--ac-muted) !important; font-size: 14.5px; }
body .ac-muted-note i { margin-right: 8px; color: var(--ac-magenta); }

body .ac-instructor-row { display: flex; align-items: center; gap: 20px; }
body .ac-instructor-photo {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ac-navy), var(--ac-navy-2));
  color: #fff;
  font-size: 30px;
}
body .ac-instructor-photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
body .ac-instructor-info { flex: 1; min-width: 0; }
body .ac-instructor-info h4 { margin: 0; color: var(--ac-ink); font-size: 19px; font-weight: 700; }
body .ac-instructor-title { color: var(--ac-muted); font-size: 14px; }
body .ac-instructor-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
body .ac-instructor-stats li { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--ac-bg); font-size: 13px; }
body .ac-instructor-stats i { color: var(--ac-magenta); }
body .ac-instructor-stats b { color: var(--ac-ink); }
body .ac-instructor-stats span { color: var(--ac-muted); }
body .ac-instructor-exp { margin: 20px 0 8px; color: var(--ac-ink); font-size: 16px; font-weight: 700; }
body .ac-instructor-card p { margin-top: 8px; }

@media (max-width: 991px) {
  body .ac-detail-grid { grid-template-columns: 1fr; }
  body .ac-detail-side { position: static; order: -1; margin-top: -60px; }
  body .ac-enroll-img { height: 180px; }
}
@media (max-width: 767px) {
  body .ac-outcomes { grid-template-columns: 1fr; }
  body .ac-instructor-row { align-items: flex-start; }
  body .ac-instructor-photo { width: 64px; height: 64px; font-size: 24px; border-radius: 18px; }
}

/* ==========================================================================
   Course dashboard (enrolled students / instructor)
   ========================================================================== */
body .ac-dash-hero { padding: 44px 0 50px; }
body .ac-dash-hero-row { display: flex; align-items: center; gap: 26px; }
body .ac-dash-hero-img {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: #fff;
  color: #d3cdc6;
  font-size: 40px;
}
body .ac-dash-hero-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
body .ac-dash-hero .ac-page-title { font-size: 38px; }
body .ac-role-pill { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff !important; font-weight: 600; }
body .ac-role-pill i { color: #7ee2a8 !important; }

body .ac-dash-wrap { padding-top: 34px; padding-bottom: 70px; }
body .ac-dash-wrap .dashboard { margin: 0; padding: 0; background: none !important; box-shadow: none !important; border: 0 !important; }
body .ac-dash-wrap .dashboard > .row { align-items: flex-start; }

/* Side menu = vertical nav card */
body .ac-dash-wrap .side-menu {
  position: sticky;
  top: 90px;
  display: block;
  height: auto !important;
  padding: 14px;
  background: #fff !important;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
}
body .ac-dash-wrap .side-menu > .fa-times { display: none !important; }
body .ac-dash-wrap .side-menu ul { margin: 0; padding: 0; }
body .ac-dash-wrap .side-menu ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s ease;
}
body .ac-dash-wrap .side-menu ul li.d-none { display: none !important; }
body .ac-dash-wrap .side-menu ul li > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f4f1ed;
  color: var(--ac-navy-2);
  font-size: 14px;
}
body .ac-dash-wrap .side-menu ul li a { color: var(--ac-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
body .ac-dash-wrap .side-menu ul li:hover { background: var(--ac-bg) !important; }
body .ac-dash-wrap .side-menu ul li.activeLi { background: #f7ecee !important; }
body .ac-dash-wrap .side-menu ul li.activeLi > i { background: var(--ac-magenta); color: #fff; }
body .ac-dash-wrap .side-menu ul li.activeLi a { color: var(--ac-magenta) !important; }
body .ac-dash-wrap .show-list {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ac-ink);
  font-weight: 600;
  cursor: pointer;
}

/* Content panel */
body .ac-dash-wrap .content-wrapper {
  min-height: 420px;
  padding: 30px 32px;
  background: #fff !important;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  text-align: left;
}
body .ac-dash-wrap .content-wrapper .pages > h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ac-line);
  color: var(--ac-ink);
  font-size: 22px;
  font-weight: 700;
}
body .ac-dash-wrap .content-wrapper .pages > h4 > i { color: var(--ac-magenta); font-size: 16px; }

/* Tables (lectures, assignments) */
body .ac-dash-wrap .table-responsive { overflow: hidden; border: 1px solid var(--ac-line); border-radius: 16px; }
body .ac-dash-wrap .table { margin: 0; }
body .ac-dash-wrap .table thead th {
  padding: 13px 16px;
  border: 0 !important;
  background: var(--ac-bg) !important;
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
body .ac-dash-wrap .table td { padding: 13px 16px; border-top: 1px solid var(--ac-line); color: var(--ac-ink); vertical-align: middle; }
body .ac-dash-wrap .table-striped tbody tr:nth-of-type(odd) { background: #fff; }
body .ac-dash-wrap .table-striped tbody tr:hover { background: #fbf9f6; }
body .ac-dash-wrap .btn-success { border: 0; border-radius: 999px; padding: 6px 16px; background: #18a058; font-weight: 600; }
body .ac-dash-wrap .btn-success:disabled { background: #d5cfc8; }

/* Discussions */
body .ac-dash-wrap .discussions .addAnswer textarea {
  min-height: 90px;
  padding: 14px 16px;
  border: 1.5px solid var(--ac-line) !important;
  border-radius: 14px !important;
  font-size: 15px;
  resize: vertical;
}
body .ac-dash-wrap .discussions .addAnswer textarea:focus { border-color: var(--ac-magenta) !important; box-shadow: 0 0 0 4px rgba(158, 27, 50, 0.12); }
body .ac-dash-wrap .discussions .addAnswer > .btn-success { display: block; margin: 12px 0 24px auto; padding: 10px 26px; background: var(--ac-magenta); }
body .ac-dash-wrap .discussions .chat {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ac-line);
  border-radius: 18px;
  background: #fbf9f6;
}
body .ac-dash-wrap .discussions .chat .name { color: var(--ac-ink); font-weight: 700; }
body .ac-dash-wrap .discussions .chat .time { color: var(--ac-muted); font-size: 12px; }
body .ac-dash-wrap .discussions .chat .reply { margin: 12px 0 0 40px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ac-line); text-align: left !important; }
body .ac-dash-wrap .discussions .chat form.addAnswer { display: flex; gap: 8px; margin-top: 12px; }
body .ac-dash-wrap .discussions .chat form.addAnswer input { height: 42px; border: 1.5px solid var(--ac-line); border-radius: 999px; padding: 0 16px; }
body .ac-dash-wrap .discussions .chat form.addAnswer button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--ac-magenta); }
body .ac-dash-wrap .discussions .chat form.addAnswer button img { width: 18px; filter: brightness(0) invert(1); }

/* Notifications */
body .ac-dash-wrap .notifications .note {
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--ac-line);
  border-left: 4px solid var(--ac-magenta);
  border-radius: 14px;
  background: #fff;
}
body .ac-dash-wrap .notifications .note h5 { margin: 0 0 6px; color: var(--ac-muted); font-size: 13px; }
body .ac-dash-wrap .notifications .note h5 i { color: var(--ac-magenta); }

/* About course tab (reuses the old course detail markup) */
body .ac-dash-wrap .Details-Course { padding: 0 !important; background: none !important; }
body .ac-dash-wrap .Details-Course > .container { max-width: none; padding: 0; }
body .ac-dash-wrap .Details-Course .holder_De,
body .ac-dash-wrap .Details-Course .De {
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px solid var(--ac-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
}
body .ac-dash-wrap .Details-Course .De > h3 { display: flex; align-items: center; gap: 10px; color: var(--ac-ink) !important; font-size: 19px; font-weight: 700; }
body .ac-dash-wrap .Details-Course .De > h3 img { width: 28px; }
body .ac-dash-wrap .Details-Course .topDe { padding-bottom: 14px; border-bottom: 1px solid var(--ac-line); }
body .ac-dash-wrap .Details-Course .tit h3 { color: var(--ac-ink) !important; font-size: 17px; }
body .ac-dash-wrap .Details-Course .tit h3 img { width: 28px; }
body .ac-dash-wrap .Details-Course .imgDe img { width: 100%; max-height: 200px; border-radius: 14px; object-fit: cover; }
body .ac-dash-wrap .Details-Course .Content-de h3 { color: var(--ac-ink) !important; font-weight: 700; }
body .ac-dash-wrap .Details-Course .De-tech ul li { color: var(--ac-ink); }
body .ac-dash-wrap .Details-Course .De-tech ul li i { color: var(--ac-magenta); }
body .ac-dash-wrap .Details-Course .Join a { border-radius: 999px !important; }

/* Rate course form */
body .ac-dash-wrap .RateCourse textarea {
  width: 100%;
  min-height: 90px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--ac-line);
  border-radius: 14px;
}
body .ac-dash-wrap .RateCourse .btn-success { padding: 10px 30px; background: var(--ac-magenta); }

@media (max-width: 767px) {
  body .ac-dash-hero-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  body .ac-dash-hero-img { width: 84px; height: 84px; font-size: 28px; }
  body .ac-dash-hero .ac-page-title { font-size: 28px; }
  body .ac-dash-wrap .side-menu { position: static; margin-bottom: 16px; }
  body .ac-dash-wrap .side-menu ul { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; }
  body .ac-dash-wrap .side-menu ul li { flex: 0 0 auto; margin: 0 !important; border: 1px solid var(--ac-line) !important; }
  body .ac-dash-wrap .side-menu ul li a { white-space: nowrap; }
  body .ac-dash-wrap .content-wrapper { padding: 22px 18px; }
}

/* ---------- Laptops: tighter menu so it stays on one line ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
  body .ac-nav .navbar-brand { margin-right: 14px; }
  body .ac-nav .navbar-nav > li > a { padding: 9px 11px; font-size: 14px; }
  body .ac-coe-text { display: none; }
}

/* ---------- Tablets and phones: menu button, full-width list ---------- */
@media (max-width: 991px) {
  body .ac-topbar-contact { display: none; }
  body .navbar.ac-nav > .container { flex-wrap: wrap; max-width: 100%; padding-left: 16px !important; padding-right: 16px !important; }
  body .ac-nav .navbar-collapse { flex-basis: 100%; padding: 6px 0 14px; }
  body .ac-nav .navbar-nav { flex-direction: column; align-items: stretch; width: 100%; }
  body .ac-nav .navbar-nav > li > a { display: flex; width: 100%; }
  body .ac-nav .ac-user-links { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
  body .ac-nav .dropdown-menu { position: static; float: none; width: 100%; margin: 4px 0; box-shadow: none; }
  body #objective, body #services, body #targets { padding: 44px 0; }
  body #services .box { max-width: none; }
  body #signIn, body #signup { padding: 28px 20px; }
  body .mentorDiploma { padding: 24px 18px; }
  body footer .Logo img { height: 44px; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  body h2.title { font-size: 26px; margin-bottom: 28px; }
  body #header .header-text h2 { font-size: 30px; }
  body .ac-topbar .container { min-height: 50px; padding-left: 16px; padding-right: 16px; }
  body .ac-eu-flag { height: 32px; }
  body .ac-eu-text { font-size: 12px; white-space: normal; }
  body .ac-coe-logo { height: 30px; }
  body .ac-coe-text { display: none; }
  body .ac-nav .navbar-brand img { height: 28px; }
}

/* Objectives column reads left-aligned */
body #objective .col-lg-7 { text-align: left; }

/* Course details: the old ".Join a" style shrinks the enrol button */
body .ac-enroll-actions a.ac-btn { display: flex !important; justify-content: center; width: 100% !important; margin: 0 !important; padding: 14px 20px !important; border-radius: 999px !important; font-size: 15px !important; line-height: 1.2; }
body .ac-enroll-actions a.ac-unsubscribe { display: inline-block !important; width: auto !important; margin-top: 12px !important; padding: 0 !important; background: none !important; box-shadow: none !important; }

/* Course dashboard polish */
body .ac-dash-wrap .table td,
body .ac-dash-wrap .table th { text-align: left !important; }
body .ac-dash-wrap .table td:nth-child(n+2) { white-space: nowrap; }
body .ac-dash-wrap .lectures .table td:last-child,
body .ac-dash-wrap .lectures .table th:last-child { text-align: right !important; }
body .ac-dash-wrap .pages h4.text-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--ac-line);
  color: var(--ac-ink);
  font-size: 22px;
  font-weight: 700;
}
body .ac-dash-wrap .pages h4.text-left > i { color: var(--ac-magenta); font-size: 16px; }
body .ac-dash-wrap .assignments .table-responsive h4 { padding: 18px 18px 14px; }
body .ac-dash-wrap .Details-Course .Detail_Tech .img-Tech:not(:has(img[src$=".jpg"], img[src$=".png"], img[src$=".jpeg"], img[src$=".JPG"], img[src$=".PNG"])) { display: none; }
body .ac-dash-wrap .Details-Course .Detail_Tech .col-md-3:has(.img-Tech:empty) { display: none; }
body .ac-dash-wrap .Details-Course .De-tech h4 { color: var(--ac-ink); font-size: 18px; font-weight: 700; }

/* ---------- Academy menu: active page, keyboard focus ---------- */
body .ac-nav .navbar-nav > li[data-nav-pages].active > a { background: rgba(255, 255, 255, 0.16); color: #fff !important; box-shadow: inset 0 -3px 0 var(--ac-magenta); }
body .ac-nav .ac-user[data-nav-pages].active > a { box-shadow: none; border-color: var(--ac-magenta); }
body .ac-nav .dropdown-menu > li.active > a { background: #f7ecee; color: var(--ac-magenta) !important; font-weight: 600; }
body .ac-nav a:focus-visible,
body .ac-nav .navbar-toggler:focus-visible,
body .ac-topbar a:focus-visible {
  outline: 3px solid #e3a1ad;
  outline-offset: 2px;
  border-radius: 10px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  body .ac-nav .navbar-nav > li > a { padding: 9px 9px; font-size: 13.5px; }
}

/* ==========================================================================
   THEME FROM THE EBNI LOGO (red / black / white) + the one white menu bar.
   The EU strip now sits under the bar (Academy only).
   ========================================================================== */
:root {
  /* colours used by the Academy's original stylesheet (style.css) */
  --mainColor: #9e1b32;
  --mainColor2: #2a2624;
  --subColor: #9e1b32;
  --subColor3: #161616;
}
body .navbar.ac-nav {
  background: #fff !important;
  border-bottom: 1px solid var(--ac-line);
  box-shadow: 0 2px 14px rgba(22, 22, 22, 0.06);
}
body .ac-nav .navbar-brand { padding: 0; margin-right: 28px; border-radius: 0; background: none; }
body .ac-nav .navbar-brand img { height: 40px; }
body .ac-nav .navbar-nav > li > a { color: var(--ac-ink) !important; }
body .ac-nav .navbar-nav > li > a:hover,
body .ac-nav .navbar-nav > li.open > a,
body .ac-nav .navbar-nav > li.show > a { background: #f7ecee; color: var(--ac-magenta) !important; }
body .ac-nav .navbar-nav > li[data-nav-pages].active > a {
  background: none;
  color: var(--ac-magenta) !important;
  font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--ac-magenta);
  border-radius: 10px 10px 0 0;
}
body .ac-nav .ac-user > a { border: 1px solid var(--ac-line); background: #fff; color: var(--ac-ink) !important; }
body .ac-nav .ac-user > a:hover { border-color: var(--ac-magenta); color: var(--ac-magenta) !important; }
body .ac-nav .ac-user[data-nav-pages].active > a { border-color: var(--ac-magenta); box-shadow: none; border-radius: 999px; }
body .ac-nav .navbar-toggler { border-color: var(--ac-line); }
body .ac-nav .navbar-toggler .fa-bars { color: var(--ac-ink) !important; }
body .ac-nav a:focus-visible, body .ac-nav .navbar-toggler:focus-visible { outline: 3px solid rgba(158, 27, 50, 0.45); }
/* EU strip under the bar */
body .ac-topbar { border-top: 0; border-bottom: 1px solid var(--ac-line); background: #fff; }
body .ac-topbar .container { min-height: 48px; }
body .ac-eu-flag { height: 32px; }
body .ac-coe-logo { height: 30px; }
@media (max-width: 991px) {
  body .ac-nav .navbar-nav > li > a { color: var(--ac-ink) !important; }
  body .ac-nav .navbar-nav > li[data-nav-pages].active > a { background: #f7ecee; box-shadow: none; border-radius: 10px; }
  body .ac-nav .ac-user-links { border-top-color: var(--ac-line); }
  body .ac-nav .navbar-brand img { height: 32px; }
}

/* old style.css paints .statistics with a navy inset shadow over a photo */
body .ac-numbers.statistics { box-shadow: none !important; background-image: radial-gradient(circle at 15% 10%, rgba(158, 27, 50, 0.3) 0, transparent 35%), linear-gradient(135deg, #0f0e0d 0%, #161616 50%, #2a2624 100%) !important; background-attachment: scroll !important; }

/* ---- Garnet & ivory: refinements for a calmer, premium feel ---- */
html body { background: #faf8f5; }
body .ac-nav .navbar-nav > li[data-nav-pages].active > a { box-shadow: inset 0 -2px 0 var(--ac-magenta); }
body .ac-btn-primary { box-shadow: 0 6px 16px rgba(158, 27, 50, 0.18); letter-spacing: 0.2px; }
body .ac-hero, body .ac-page-hero, body .ac-numbers { background-color: #161616; }
body .ac-hero-title span { background: linear-gradient(90deg, #d8899a, #b8324a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   ONE BAR SPEC (identical to the main site: template/css/ebni-modern.css)
   font Barlow 14.5/500 · bar 68px · content 1170px · logo 38px · links 10px 14px
   ========================================================================== */
body .navbar.ac-nav > .container { width: 100%; max-width: 1170px; min-height: 68px; padding-left: 15px; padding-right: 15px; }
body .ac-nav .navbar-brand img { height: 38px !important; }
body .ac-nav .navbar-nav > li > a {
  padding: 10px 14px !important;
  font-family: "Barlow", "Tajawal", "Segoe UI", Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 500;
  line-height: 20px;
}
body .ac-nav .ac-user > a { padding: 5px 14px 5px 5px !important; font-weight: 600 !important; }
body .ac-nav .dropdown-menu a { font-family: "Barlow", "Tajawal", "Segoe UI", Arial, sans-serif !important; font-size: 14px; }
body .ac-avatar { width: 30px; height: 30px; font-size: 13px; }
body .ac-topbar, body .ac-topbar a, body .ac-topbar span { font-family: "Barlow", "Tajawal", "Segoe UI", Arial, sans-serif !important; }

/* ==========================================================================
   LIGHT FOOTER (ivory, dark text, garnet accents)
   ========================================================================== */
body footer.ac-footer { background: #f4f1ed !important; border-top: 1px solid var(--ac-line); color: var(--ac-muted); }
body .ac-footer-logos { border: 1px solid var(--ac-line); }
body .ac-footer-about p { color: var(--ac-muted); }
body .ac-footer-col h5 { color: var(--ac-ink); }
body .ac-footer-col a, body .ac-footer-col span { color: var(--ac-muted) !important; }
body .ac-footer-col a:hover { color: var(--ac-magenta) !important; }
body .ac-footer-contact i { background: #f7ecee; color: var(--ac-magenta); }
body .ac-footer-eu { border-top-color: var(--ac-line); color: var(--ac-muted); }
body .ac-footer-eu img { border: 1px solid var(--ac-line); }
body .rights { background: #ece7e2 !important; color: var(--ac-muted) !important; border-top: 1px solid #e2dcd5; }
body .rights a { color: var(--ac-muted) !important; }

/* account pill: more specific than the shared link rule */
body .ac-nav .navbar-nav > li.ac-user > a { border: 1px solid var(--ac-line) !important; padding: 5px 14px 5px 5px !important; border-radius: 999px !important; }
body .ac-nav .navbar-nav > li.ac-user > a:hover { border-color: var(--ac-magenta) !important; }

body .ac-footer-eu span { color: var(--ac-muted) !important; }

/* logo box: no rounding, no clipping */
body .ac-nav .navbar-brand { border-radius: 0 !important; overflow: visible !important; background: none !important; }

/* ==========================================================================
   EECoE CONTENT IN THE MAIN SITE'S DESIGN LANGUAGE (menu bar untouched)
   Barlow type · bold titles with a short garnet bar · flat charcoal heroes ·
   14px cards with light shadows · flat icon tiles · monochrome hero artwork
   ========================================================================== */
body, body p, body h1, body h2, body h3, body h4, body h5, body h6,
body li, body label, body input, body button, body textarea, body select,
body .ac-section, body .ac-page-hero, body .ac-page-body, body footer.ac-footer {
  font-family: "Barlow", "Tajawal", "Segoe UI", Arial, sans-serif !important;
}

/* Section titles like the main site ("Our Services"): bold, centred, short garnet bar */
body .ac-heading { font-size: 34px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; }
body .ac-section-head .ac-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--ac-magenta);
}
body #objective .ac-heading::after,
body .ac-mentor-text .ac-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px 0 0;
  border-radius: 4px;
  background: var(--ac-magenta);
}
body .ac-kicker { font-size: 12px; letter-spacing: 2.4px; color: var(--ac-magenta); opacity: .85; }
body .ac-section, body .ac-numbers { padding: 80px 0; }

/* Heroes: flat charcoal, no grid or glows; thin garnet line at the bottom */
body .ac-hero, body .ac-page-hero {
  background: linear-gradient(120deg, #161616 0%, #221f1e 55%, #2a2624 100%) !important;
  border-bottom: 3px solid var(--ac-magenta);
}
body .ac-hero::before, body .ac-page-hero::before { display: none; }
body .ac-hero-glow { display: none; }
body .ac-hero-title span { background: none; -webkit-text-fill-color: currentColor; color: #e3a1ad; }
body .ac-hero-img { filter: grayscale(1) contrast(1.05) brightness(1.15); opacity: .92; }
body .ac-eyebrow { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
body .ac-eyebrow i { color: #e3a1ad; }
body .ac-float-card i { background: #f7ecee; color: var(--ac-magenta); }
body .ac-float-2 i { background: #f3efea; color: #161616; }

/* Cards: the main site's card (14px corners, light shadow, warm border) */
body .ac-partners-card, body .ac-objective, body .ac-service, body .ac-card, body .ac-course,
body .ac-block, body .ac-summary, body .ac-contact-card, body .ac-cat-card, body .ac-table-card,
body .ac-enroll, body .ac-quote, body .ac-calendar-card, body .ac-program-detail, body .ac-mentor,
body .ac-empty, body .ac-map {
  border-radius: 14px !important;
  border-color: var(--ac-line) !important;
  box-shadow: 0 6px 24px rgba(22, 22, 22, 0.06) !important;
}
body .ac-service:hover, body .ac-card:hover, body .ac-course:hover, body .ac-contact-card:hover, body .ac-objective:hover {
  box-shadow: 0 14px 34px rgba(22, 22, 22, 0.11) !important;
  transform: translateY(-4px);
}
body .ac-service::after { background: var(--ac-magenta); height: 3px; }

/* Icon tiles: flat garnet / charcoal, no gradients or coloured glows */
body .ac-service-icon,
body .ac-service:nth-child(2) .ac-service-icon,
body .ac-service:nth-child(3) .ac-service-icon,
body .ac-service:nth-child(4) .ac-service-icon { box-shadow: none !important; border-radius: 12px; }
body .ac-service:nth-child(odd) .ac-service-icon { background: #161616 !important; }
body .ac-service:nth-child(even) .ac-service-icon { background: var(--ac-magenta) !important; }
body .ac-objective-num { background: var(--ac-magenta) !important; border-radius: 12px; }
body .ac-objective + .ac-objective .ac-objective-num { background: #161616 !important; }
body .ac-objective-visual::before { background: var(--ac-magenta); opacity: 1; border-radius: 16px; }
body .ac-objective-visual img { border-radius: 14px; }
body .ac-block-head span, body .ac-contact-card span,
body .ac-contact-card:nth-child(n) span { background: #f7ecee !important; color: var(--ac-magenta) !important; box-shadow: none; }
body .ac-quote-mark { background: var(--ac-magenta); border-radius: 12px; }

/* Numbers band: flat charcoal like the main site's statistics */
body .ac-numbers.statistics { background-image: linear-gradient(120deg, #161616 0%, #221f1e 55%, #2a2624 100%) !important; }
body .ac-target { border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
body .ac-target img { border-radius: 10px; }
body .ac-stats { border-radius: 14px; }

/* Soft panels: plain warm ivory instead of tinted gradients */
body .ac-mentor-visual, body .ac-program-img, body .ac-program-detail-img, body .ac-enroll-img,
body .ac-course-img { background: #f4f1ed !important; }
body .ac-mentor { background: #fff !important; }

/* Page body background like the main site */
body .ac-page-body, body .ac-section-soft { background: #faf8f5; }

@media (max-width: 767px) {
  body .ac-heading { font-size: 28px; }
  body .ac-section, body .ac-numbers { padding: 56px 0; }
}

/* =====================================================================
   PROFESSIONAL TOUCH: Academy contact page (same look as the main site's)
   ===================================================================== */
::selection { background: rgba(158, 27, 50, 0.85); color: #fff; }
body .box:has(#mailform) { margin: 40px 0 60px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
body .box:has(#mailform) iframe { display: block; border-radius: 16px; box-shadow: var(--ac-shadow); }
body .box:has(#mailform) > .row { align-items: flex-start; }
body #mailform { margin: 0 !important; }
body #mailform > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 0 30px;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 16px;
  box-shadow: var(--ac-shadow);
}
body #mailform > [class*="col-"] [class*="col-"] { flex: 0 0 100%; max-width: 100%; padding: 0; }
body #mailform .titles_ { margin-bottom: 24px; font-size: 24px; font-weight: 700; color: var(--ac-ink); }
body #mailform .titles_::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 10px; background: var(--ac-magenta); border-radius: 2px; }
body #mailform .titles_ ~ br { display: none; }
body #mailform .table, body #mailform .table tbody, body #mailform .table tr, body #mailform .table td { display: block; width: 100% !important; border: 0; padding: 0; background: none; }
body #mailform .table { margin-bottom: 6px; }
body #mailform .table tr { margin-bottom: 16px; }
body #mailform .table td.hidden-xs { display: block !important; margin-bottom: 6px; color: var(--ac-ink); font-size: 13px; font-weight: 600; text-align: left; }
body #mailform .form-control, body #mailform textarea {
  width: 100%;
  border: 1px solid #ddd6cf;
  border-radius: 10px;
  box-shadow: none;
}
body #mailform .form-control { height: 44px; }
body #mailform textarea { min-height: 130px; padding: 10px 12px; }
body #mailform .form-control:focus, body #mailform textarea:focus { border-color: var(--ac-magenta); box-shadow: 0 0 0 3px rgba(158, 27, 50, 0.12); outline: 0; }
body #mailform input[type="file"] { padding: 10px; border: 1px dashed #d5cfc8; border-radius: 10px; width: 100%; background: #fbf9f6; }
body #mailform hr.visible-xs { display: none; }
body #mailform .btn[type="submit"] {
  padding: 12px 36px;
  border: 0;
  border-radius: 999px;
  background: var(--ac-magenta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
body #mailform .btn[type="submit"]:hover { background: var(--ac-magenta-dark); }
body .contact-info-col { margin-bottom: 30px; }
body .contact-info {
  margin: 0;
  padding: 26px 26px 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-top: 3px solid var(--ac-magenta);
  border-radius: 16px;
  box-shadow: var(--ac-shadow);
}
body .contact-info li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ac-ink); overflow-wrap: anywhere; }
body .contact-info li > i {
  flex: 0 0 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f7ecee;
  color: var(--ac-magenta);
  font-size: 15px;
}
body .contact-info b { display: block; color: var(--ac-muted); font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
body .contact-info a { color: var(--ac-magenta); }
body .contact-info, body .contact-info li { text-align: left; }

/* Footer logos: the old style.css forces "footer img { height: 100px !important; padding: 7px 20px }",
   which some browsers turn into a stretched logo. Fixed height, no padding inside the image box,
   and the image always keeps its own proportions. */
body footer.ac-footer img {
  box-sizing: content-box;
  width: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  border-radius: 0;
}
body footer.ac-footer .ac-footer-logos img { height: 64px !important; padding: 0 !important; }
body footer.ac-footer .ac-footer-eu img { height: 46px !important; padding: 6px 8px !important; border-radius: 8px; }
@media (max-width: 767px) {
  body footer.ac-footer .ac-footer-logos img { height: 48px !important; }
}

/* Footer: hide the old "Powered By ebda3-eg.com" line (printed by the encoded index.php, which cannot be edited) */
body > .rights, .rights { display: none !important; }

/* Scroll-to-top button: smaller, in the theme colour, and the footer leaves room for it on phones */
body .scroll_up {
  right: 18px !important;
  bottom: 18px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: none;
  border-radius: 50%;
  background: var(--ebni-red, #9e1b32) !important;
  box-shadow: 0 8px 20px rgba(22, 22, 22, .2);
  cursor: pointer;
  z-index: 444;
}
body .scroll_up { left: auto !important; }
body .scroll_up img { display: none !important; }
body .scroll_up::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
body .scroll_up:hover { background: var(--ebni-red-dark, #7c1427) !important; }
@media (max-width: 767px) {
  body footer.ac-footer { padding-bottom: 76px !important; }
}
