/* ============================================================
   Αιτωλός — Shared Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #2B5BA8;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-name { font-size: 15px; font-weight: 600; color: #1B3A6B; letter-spacing: -0.01em; }
.nav-brand-sub  { font-size: 11px; color: #5A7DB8; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; color: #4a5568; transition: color 0.2s; }
.nav-links a:hover { color: #1B3A6B; }
.nav-links a.active { color: #1B3A6B; font-weight: 600; }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  background: #1B3A6B;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #2B5BA8; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  padding: 0.6rem 2.5rem;
  font-size: 12px;
  color: #5A7DB8;
  background: #F5F8FD;
  border-bottom: 1px solid #e8eef7;
}
.breadcrumb a { color: #5A7DB8; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #1B3A6B; font-weight: 500; }

/* ── Hero (homepage) ─────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.hero-text {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: #fff;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2B5BA8;
}
.hero-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: #1B3A6B;
  max-width: 380px;
}
.hero-subtitle {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  max-width: 360px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 0.5rem; flex-wrap: wrap; }

.hero-visual {
  background: #EEF3FB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2.5rem;
}
.hero-logo-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #B8C9E8;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,58,107,0.12);
}
.hero-logo-large img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.hero-stats { display: flex; gap: 2.5rem; }
.hero-stat { text-align: center; }
.hero-stat-num   { font-size: 24px; font-weight: 600; color: #1B3A6B; }
.hero-stat-label { font-size: 11px; color: #2B5BA8; margin-top: 2px; }

/* ── Program page hero ───────────────────────────────────── */
.program-hero {
  background: #EEF3FB;
  padding: 3.5rem 2.5rem 3rem;
  border-bottom: 1px solid #dce6f5;
}
.program-hero-inner {
  max-width: 720px;
}
.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #B8C9E8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.program-icon svg {
  width: 24px;
  height: 24px;
  stroke: #1B3A6B;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.program-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2B5BA8;
  margin-bottom: 0.5rem;
}
.program-title {
  font-size: 28px;
  font-weight: 600;
  color: #1B3A6B;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}
.program-lead {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.75;
  max-width: 580px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  background: #1B3A6B;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: #2B5BA8; }

.btn-secondary {
  font-size: 14px;
  padding: 11px 24px;
  background: transparent;
  color: #4a5568;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: #1B3A6B; color: #1B3A6B; }

/* ── Sections ────────────────────────────────────────────── */
.section     { padding: 3rem 2.5rem; background: #fff; }
.section-alt { padding: 3rem 2.5rem; background: #F5F8FD; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2B5BA8;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1B3A6B;
  margin-bottom: 0.75rem;
}
.section-body {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  max-width: 680px;
}
.section-body + .section-body { margin-top: 0.75rem; }

/* ── Content grid (2-col text) ───────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.75rem;
  align-items: start;
}
.content-grid .section-body { max-width: 100%; }

/* ── Feature list ────────────────────────────────────────── */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #EEF3FB;
  border: 1px solid #B8C9E8;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%231B3A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 9 7.5 12.5 14 6'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Cards (programs grid) ───────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 1.75rem;
}
.card {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.card:hover { box-shadow: 0 4px 16px rgba(27,58,107,0.1); border-color: #2B5BA8; }
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EEF3FB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}
.card-icon svg { width: 18px; height: 18px; stroke: #1B3A6B; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-title { font-size: 14px; font-weight: 600; color: #1B3A6B; margin-bottom: 6px; }
.card-desc  { font-size: 13px; color: #5a6a7a; line-height: 1.65; }
.card-link  { font-size: 13px; color: #2B5BA8; margin-top: 10px; display: inline-block; text-decoration: none; font-weight: 500; }
.card-link:hover { text-decoration: underline; }

/* ── Info boxes ──────────────────────────────────────────── */
.info-box {
  background: #EEF3FB;
  border: 1px solid #B8C9E8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.75rem;
}
.info-box-title {
  font-size: 14px;
  font-weight: 600;
  color: #1B3A6B;
  margin-bottom: 0.625rem;
}
.info-box p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
}

/* ── Tag pills ───────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.tag {
  font-size: 12px;
  font-weight: 500;
  color: #1B3A6B;
  background: #EEF3FB;
  border: 1px solid #B8C9E8;
  border-radius: 100px;
  padding: 4px 12px;
}

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: #1B3A6B;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.375rem;
}
.cta-banner-text p {
  font-size: 14px;
  color: #B8C9E8;
  line-height: 1.65;
}
.cta-banner .btn-white {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  background: #fff;
  color: #1B3A6B;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  transition: background 0.2s;
}
.cta-banner .btn-white:hover { background: #EEF3FB; }

/* ── Team grid ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 12px;
  margin-top: 1.75rem;
}
.team-card {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 4px 12px rgba(27,58,107,0.08); }
.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EEF3FB;
  border: 1.5px solid #B8C9E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #1B3A6B;
  margin: 0 auto 0.625rem;
}
.team-name { font-size: 13px; font-weight: 600; color: #1B3A6B; }
.team-role { font-size: 11px; color: #5A7DB8; margin-top: 3px; line-height: 1.4; }

/* ── Sponsors ────────────────────────────────────────────── */
.sponsors-section {
  padding: 2.5rem 2.5rem;
  background: #fff;
  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;
}
.sponsors-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2B5BA8;
  margin-bottom: 1.5rem;
  text-align: center;
}
.sponsors-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  text-decoration: none;
  min-width: 160px;
  min-height: 72px;
  transition: box-shadow 0.2s, border-color 0.2s;
  background: #fff;
}
.sponsor-card:hover { box-shadow: 0 4px 16px rgba(27,58,107,0.08); border-color: #2B5BA8; }
.sponsor-name { font-size: 15px; font-weight: 600; color: #1B3A6B; letter-spacing: -0.01em; text-align: center; }
.sponsor-sub  { font-size: 11px; color: #5A7DB8; margin-top: 2px; text-align: center; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #1B3A6B;
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-left  { display: flex; align-items: center; gap: 16px; }
.footer-logo  { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #4A6FA0; overflow: hidden; }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-label { font-size: 11px; color: #8AAAD4; letter-spacing: 0.05em; }
.footer-name  { font-size: 15px; font-weight: 600; color: #fff; }
.footer-email { font-size: 13px; color: #8AAAD4; }
.footer-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-link {
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid #4A6FA0;
  border-radius: 8px;
  text-decoration: none;
  color: #B8C9E8;
}
.footer-link:hover { border-color: #8AAAD4; color: #fff; }
.footer-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  background: #fff;
  color: #1B3A6B;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.footer-cta:hover { background: #EEF3FB; }

hr { border: none; border-top: 1px solid #e8eef7; }

/* ── About layout (text + carousel) ─────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 0; }

/* ── Carousel ────────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #EEF3FB;
  aspect-ratio: 4 / 3;
  border: 1px solid #dce6f5;
  user-select: none;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* placeholder shown when image path is missing */
.carousel-slide img[src=""],
.carousel-slide img:not([src]) {
  display: none;
}
.carousel-slide:has(img:not([src])),
.carousel-slide:has(img[src=""]) {
  background: #dce6f5;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #B8C9E8;
  background: rgba(255,255,255,0.9);
  color: #1B3A6B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
  padding: 0;
}
.carousel-btn:hover { background: #fff; border-color: #2B5BA8; }
.carousel-btn svg   { width: 16px; height: 16px; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(43,91,168,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav          { padding: 0.875rem 1.25rem; }
  .nav-links    { display: none; }
  .hero         { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .cta-banner   { flex-direction: column; }
  .footer       { flex-direction: column; align-items: flex-start; }
  .section, .section-alt { padding: 2rem 1.25rem; }
  .program-hero { padding: 2.5rem 1.25rem; }
  .breadcrumb   { padding: 0.5rem 1.25rem; }
}
