/* Drosos / EiTESAL NextGen AI Diploma page (include/pages/drosos.php).
   24 Nov 2026 first version; 27 Nov 2026 redesigned as a project landing page:
   full-width hero with partner lockup + animated network, key facts, journey path, steps, partner band.
   Drosos logo: the foundation's 28 px mark (template/images/drosos/drosos-mark.png) + text wordmark. */
:root {
  --ds-ink: #16121f; --ds-ink-2: #241c35; --ds-muted: #5d5868; --ds-line: #e9e4ee;
  --ds-red: #9e1b32; --ds-red-dark: #7c1427; --ds-violet: #7b5cff; --ds-coral: #ff5d6c; --ds-green: #1f7a4d;
  --ds-grad: linear-gradient(100deg, var(--ds-coral) 0%, #d04fd0 45%, var(--ds-violet) 100%);
}

#in-page { background: #f7f5fa none repeat scroll 0 0; overflow-x: hidden; padding-top: 0 !important; }
.ds-page { padding: 0 0 50px; color: var(--ds-ink); }
.ds-page section { scroll-margin-top: 90px; }
.ds-eyebrow { display: block; margin-bottom: 8px; color: var(--ds-red); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.ds-title { margin: 0 0 16px; color: var(--ds-ink); font-size: 32px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; }
.ds-lead { max-width: 640px; color: var(--ds-muted); font-size: 17px; line-height: 1.75; }
.ds-muted { color: var(--ds-muted); }
.ds-page a:not(.ds-btn) { color: var(--ds-red); }
.ds-grad { background: var(--ds-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ds-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none !important; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.ds-btn:hover { transform: translateY(-1px); }
.ds-btn-primary { background: var(--ds-red); color: #fff !important; box-shadow: 0 12px 26px rgba(158, 27, 50, .3); }
.ds-btn-primary:hover { background: var(--ds-red-dark); }
.ds-btn-ghost { background: rgba(255,255,255,.08); color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
.ds-btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- logos ---------- */
.ds-logo { display: inline-flex; align-items: center; }
.ds-logo img { display: block; height: 40px; width: auto; }
.ds-logo em { display: none; font-style: normal; }
.ds-logo.is-text em { display: inline-flex; flex-direction: column; line-height: 1; font-weight: 900; letter-spacing: 3px; font-size: 18px; }
.ds-logo.is-text em small { margin-top: 3px; font-size: 8.5px; letter-spacing: 3.4px; font-weight: 700; opacity: .8; }
.ds-x { opacity: .55; font-size: 22px; font-weight: 300; }
.ds-logo-drosos { gap: 8px; }
.ds-logo-idea img { height: 37px !important; width: auto; }
.ds-lockup-sep { width: 1px; align-self: stretch; background: #ddd6e3; }
.ds-partners-logos { flex-wrap: wrap; justify-content: center; }
.ds-logo-drosos .ds-logo-mark { width: 28px !important; height: 28px !important; flex: 0 0 28px; }
.ds-logo.is-text em { color: #1b1b1b; }

/* ---------- hero ---------- */
.ds-hero { position: relative; margin: -20px calc(50% - 50vw) 0; padding: 78px 0 86px; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(123,92,255,.35), transparent 60%),
              radial-gradient(900px 500px at 5% 100%, rgba(255,93,108,.28), transparent 60%),
              linear-gradient(160deg, #120e1c 0%, #1e1530 55%, #2a1325 100%); }
.ds-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.ds-net-lines line { stroke: rgba(255,255,255,.22); stroke-width: 1.2; stroke-dasharray: 6 8; animation: dsFlow 14s linear infinite; }
.ds-net-nodes circle { fill: #fff; opacity: .55; transform-box: fill-box; transform-origin: center; animation: dsPulse 3.6s ease-in-out infinite; }
.ds-net-nodes circle:nth-child(3n) { fill: var(--ds-coral); animation-delay: -1.2s; }
.ds-net-nodes circle:nth-child(3n+1) { fill: #b9a8ff; animation-delay: -2.4s; }
@keyframes dsFlow { to { stroke-dashoffset: -280; } }
@keyframes dsPulse { 0%, 100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.6); opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .ds-net-lines line, .ds-net-nodes circle, .ds-path .ds-node { animation: none !important; } }

.ds-hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 15px; display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; }
.ds-lockup { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px 18px; margin-bottom: 28px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ds-ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ds-lockup .ds-logo img { height: 34px; }
.ds-project-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ds-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.ds-project-tag i { color: #ffd166; }
.ds-hero-title { margin: 0 0 16px; font-size: 64px; font-weight: 900; line-height: 1.02; letter-spacing: -2px; color: #fff; text-transform: none; }
.ds-hero-sub { max-width: 560px; margin: 0 0 30px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }
.ds-hero-sub b { color: #fff; }
.ds-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.ds-hero-card { justify-self: end; width: 100%; max-width: 340px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.ds-hc-label { font-size: 11.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #ffb3bb; }
.ds-hc-batch { font-size: 42px; font-weight: 900; letter-spacing: -1px; line-height: 1.05; }
.ds-hc-date { color: rgba(255,255,255,.8); font-size: 14.5px; }
.ds-hc-count { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.75); }
.ds-hc-count b { font-size: 28px; color: #fff; margin-right: 4px; }
.ds-hc-status { align-self: flex-start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.14); }
.ds-hc-status.is-open { background: rgba(46, 204, 113, .18); color: #7ef0ae; }
.ds-hc-status.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.7); animation: dsDot 1.8s infinite; }
@keyframes dsDot { 70% { box-shadow: 0 0 0 9px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

/* ---------- key facts ---------- */
.ds-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: -38px auto 56px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(22,18,31,.1); overflow: hidden; }
.ds-stats > div { padding: 22px 20px; text-align: center; border-right: 1px solid var(--ds-line); }
.ds-stats > div:last-child { border-right: 0; }
.ds-stats b { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; background: var(--ds-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-stats b i { background: var(--ds-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-stats span { display: block; margin-top: 6px; color: var(--ds-muted); font-size: 14px; }

/* ---------- about + who ---------- */
.ds-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-bottom: 64px; }
.ds-who { padding: 26px; border-radius: 20px; background: var(--ds-ink); color: #fff; }
.ds-who .ds-eyebrow { color: #ffb3bb; }
.ds-who ul { margin: 0 0 14px; padding: 0; list-style: none; }
.ds-who li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.ds-who li i { width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #ffb3bb; }
.ds-who .ds-muted { color: rgba(255,255,255,.65); margin: 0; font-size: 13.5px; }

/* ---------- journey ---------- */
.ds-journey { margin-bottom: 64px; }
.ds-path { position: relative; margin: 30px 0 0; padding: 0; list-style: none; }
.ds-path::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--ds-grad); opacity: .55; }
.ds-path li { position: relative; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center; margin-bottom: 18px; }
.ds-path .ds-node { grid-column: 2; position: relative; justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 3px solid transparent; background-image: linear-gradient(#fff, #fff), var(--ds-grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 8px 20px rgba(123,92,255,.18); font-size: 22px; color: var(--ds-violet); animation: dsBob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.ds-path .ds-node span { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--ds-red); color: #fff; font-size: 12px; font-weight: 800; }
@keyframes dsBob { 50% { transform: translateY(-4px); } }
.ds-step { padding: 18px 20px; background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; box-shadow: 0 6px 18px rgba(22,18,31,.05); transition: transform .2s ease, box-shadow .2s ease; }
.ds-step:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,18,31,.1); }
.ds-path li:nth-child(odd) .ds-step { grid-column: 1; grid-row: 1; text-align: right; }
.ds-path li:nth-child(even) .ds-step { grid-column: 3; grid-row: 1; }
.ds-step small { display: block; color: var(--ds-violet); font-weight: 800; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.ds-step b { display: block; margin: 3px 0 6px; font-size: 18px; line-height: 1.3; }
.ds-step p { margin: 0; color: var(--ds-muted); font-size: 14px; line-height: 1.6; }

/* ---------- how it works ---------- */
.ds-how { margin-bottom: 64px; }
.ds-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: dsh; }
.ds-steps li { counter-increment: dsh; position: relative; padding: 22px 18px 20px; background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; }
.ds-steps li::after { content: counter(dsh, decimal-leading-zero); position: absolute; top: 14px; right: 16px; font-size: 26px; font-weight: 900; color: #efeaf4; }
.ds-steps li i { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 14px; background: var(--ds-grad); color: #fff; font-size: 20px; }
.ds-steps li b { display: block; margin-bottom: 5px; font-size: 16.5px; }
.ds-steps li span { color: var(--ds-muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- batches ---------- */
.ds-batches { margin-bottom: 56px; }
.ds-batch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ds-batch { position: relative; padding: 22px; background: #fff; border: 1px solid var(--ds-line); border-radius: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; overflow: hidden; }
.ds-batch.is-open::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ds-grad); }
.ds-batch h3 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.ds-batch .ds-dates { margin: 0; color: var(--ds-muted); font-size: 14px; }
.ds-badge, .ds-badge-inline { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ds-badge { position: absolute; top: 18px; right: 18px; }
.is-open > .ds-badge, .ds-badge-inline.is-open { background: #e5f4ec; color: var(--ds-green); }
.is-closed > .ds-badge, .ds-badge-inline.is-closed { background: #eee; color: #666; }
.ds-batch small { font-size: 12.5px; }

/* ---------- partners ---------- */
.ds-partners { margin-bottom: 40px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--ds-line); text-align: center; }
.ds-partners-logos { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 12px; color: var(--ds-ink); }
.ds-partners-logos .ds-logo img { height: 46px; }
.ds-partners p { max-width: 640px; margin: 0 auto; color: var(--ds-muted); font-size: 15px; line-height: 1.7; }

/* ---------- my diploma ---------- */
.ds-mine { margin: 28px 0 34px; padding: 24px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(22,18,31,.1); border-top: 5px solid var(--ds-violet); }
.ds-mine-head h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; }
.ds-mine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.ds-mine-card { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 16px; background: #faf8fc; border: 1px solid var(--ds-line); border-radius: 14px; }
.ds-mine-card > i { color: var(--ds-violet); font-size: 20px; }
.ds-mine-card .ds-note { font-size: 14px; word-break: break-word; }
.ds-mine-card .ds-note p { margin: 0; }
.ds-mine + .ds-stats, .alert + .ds-stats { margin-top: 0; }

/* ---------- admin ---------- */
.ds-admin { padding: 22px; background: #fff; border: 1px dashed #c9c2d2; border-radius: 16px; }
.ds-gen { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; padding: 16px; margin-bottom: 18px; background: #faf8fc; border-radius: 12px; }
.ds-gen > b { width: 100%; }
.ds-gen label { display: flex; flex-direction: column; font-weight: 600; font-size: 13px; gap: 4px; margin: 0; }
.ds-gen input { height: 38px; padding: 4px 10px; border: 1px solid #cfc8d6; border-radius: 8px; }
.ds-gen small { width: 100%; }
.ds-admin-table td { vertical-align: top !important; }
.ds-actions a { display: inline-block; margin: 0 10px 6px 0; white-space: nowrap; }
.ds-howto { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
.ds-pending { padding: 16px; margin-bottom: 18px; background: #fff8e6; border: 1px solid #f0dca8; border-radius: 12px; }
.ds-pending .table { margin: 10px 0 0; background: #fff; }
.ds-btn-sm { padding: 6px 14px; font-size: 13px; box-shadow: none; }
.ds-page a.ds-btn-accept { background: var(--ds-green); color: #fff !important; }
.ds-page a.ds-btn-reject { background: #fff; color: var(--ds-red) !important; border: 1px solid var(--ds-red); }

/* ---------- tablet / phone ---------- */
@media (max-width: 991px) {
  .ds-hero-inner { grid-template-columns: 1fr; }
  .ds-hero-card { justify-self: start; max-width: none; }
  .ds-hero-title { font-size: 48px; }
  .ds-about { grid-template-columns: 1fr; gap: 24px; }
  .ds-steps { grid-template-columns: 1fr 1fr; }
  .ds-stats { grid-template-columns: 1fr 1fr; }
  .ds-stats > div:nth-child(2) { border-right: 0; }
  .ds-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--ds-line); }
}
@media (max-width: 767px) {
  .ds-hero { padding: 44px 0 70px; }
  .ds-lockup { gap: 10px; padding: 8px 12px; }
  .ds-lockup .ds-logo img { height: 26px; }
  .ds-lockup .ds-logo-idea img { height: 30px !important; }
  .ds-lockup .ds-lockup-sep { display: none; }
  .ds-hero-title { font-size: 40px; letter-spacing: -1px; }
  .ds-hero-sub { font-size: 16px; }
  .ds-title { font-size: 25px; }
  .ds-path::before { left: 30px; }
  .ds-path li { grid-template-columns: 60px 1fr; gap: 12px; }
  .ds-path .ds-node { grid-column: 1; width: 52px; height: 52px; font-size: 18px; }
  .ds-path li:nth-child(odd) .ds-step, .ds-path li:nth-child(even) .ds-step { grid-column: 2; text-align: left; }
  .ds-steps { grid-template-columns: 1fr; }
  .ds-mine-grid { grid-template-columns: 1fr; }
  .ds-admin { padding: 14px; }
  .ds-actions a { white-space: normal; }
}
