/* ===== Hero ===== */
.prog-hero {
  position: relative;
  width: 100%;
  margin-top: -72px;
  padding-top: 72px;
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(135deg, #0f1d45 0%, #1a2a5e 30%, #243674 60%, #2e4a8a 100%);
}

.prog-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: 0%;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.6) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.9) 100%);
  opacity: 1;
}

.prog-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(100,140,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 85%, rgba(60,100,200,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.prog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 80px 40px;
}

.prog-hero-text {
  max-width: 600px;
}

/* Breadcrumbs */
.prog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.prog-breadcrumbs a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.prog-breadcrumbs a:hover {
  color: #fff;
}

.prog-breadcrumbs-sep {
  color: rgba(255,255,255,0.4);
}

.prog-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

.prog-title {
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 28px 0;
  letter-spacing: -0.5px;
}

.prog-hero-meta {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.prog-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prog-meta-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.prog-meta-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.prog-hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #243674;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
}

.prog-hero-btn:hover {
  background: #e8edf5;
  transform: translateY(-2px);
}

/* ===== Container ===== */
.prog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 56px 16px;
}

/* ===== Sections (card style) ===== */
.prog-section {
  margin-bottom: 28px;
  padding: 40px 48px 32px 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(35,102,168,0.06);
  transition: box-shadow 0.3s;
}

.prog-section:hover {
  box-shadow: 0 4px 24px rgba(35,102,168,0.1);
}

.prog-section-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #243674;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  position: relative;
}

.prog-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #243674, #4a6cb3);
  border-radius: 2px;
}

/* ===== Lists ===== */
.prog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prog-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid #f0f2f7;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
}

.prog-list li:last-child {
  border-bottom: none;
}

.prog-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: #243674;
  border-radius: 50%;
}

/* Check variant for competencies */
.prog-list-check li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #243674, #4a6cb3);
  border-radius: 3px;
  top: 19px;
}

/* ===== Sublists ===== */
.prog-sublist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 28px;
}

.prog-sublist li {
  position: relative;
  padding: 6px 0 6px 20px;
  border-bottom: none;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prog-sublist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #4a6cb3;
  border-radius: 50%;
}

/* ===== Modules ===== */
.prog-modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prog-module {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f7f9ff 0%, #f0f3fb 100%);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.prog-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #243674, #4a6cb3);
  border-radius: 4px 0 0 4px;
}

.prog-module:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(36,54,116,0.1);
}

.prog-module-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #243674;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50%;
  margin-top: 2px;
}

.prog-module-content {
  flex: 1;
}

.prog-module-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2a5e;
  margin-bottom: 6px;
}

.prog-module-desc {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Gallery ===== */
.prog-gallery-wrap {
  margin-bottom: 28px;
}

.prog-gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prog-gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 8px 0;
}

.prog-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.prog-gal-item {
  flex: 0 0 calc(50% - 8px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(36,54,116,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.prog-gal-item:only-child {
  flex: 0 0 100%;
}

.prog-gal-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(36,54,116,0.18);
}

.prog-gal-item img,
.prog-gal-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.prog-gal-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(36,54,116,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.prog-gal-item:hover .prog-gal-play {
  background: rgba(36,54,116,0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.prog-gal-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.4;
}

.prog-gal-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #243674;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(36,54,116,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.prog-gal-arrow:hover {
  background: #f0f3fb;
  box-shadow: 0 4px 16px rgba(36,54,116,0.2);
}

/* ===== Lightbox ===== */
.prog-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.prog-lightbox.open {
  display: flex;
}

.prog-lb-content {
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prog-lb-content img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.prog-lb-content video {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.prog-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}

.prog-lb-close:hover {
  opacity: 1;
}

.prog-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.prog-lb-arrow:hover {
  background: rgba(255,255,255,0.25);
}

.prog-lb-prev { left: 20px; }
.prog-lb-next { right: 20px; }

.prog-lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ===== Document ===== */
.prog-document {
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 100%);
  border-radius: 12px;
  border-left: 4px solid #243674;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.prog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #1a2a5e 0%, #243674 50%, #2e4a8a 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.prog-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.prog-cta-text {
  position: relative;
  z-index: 1;
}

.prog-cta-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.prog-cta-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.prog-cta-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #243674;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.prog-cta-btn:hover {
  background: #e8edf5;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .prog-hero-inner {
    padding: 32px 16px 40px 16px;
  }

  .prog-hero-text {
    max-width: 100%;
  }

  .prog-hero-bg {
    width: 100%;
    opacity: 0.25;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
  }

  .prog-breadcrumbs {
    font-size: 0.8rem;
    gap: 6px;
  }

  .prog-title {
    font-size: 1.4rem;
  }

  .prog-hero-meta {
    flex-direction: column;
    gap: 16px;
  }

  .prog-meta-value {
    font-size: 1.1rem;
  }

  .prog-container {
    padding: 20px 10px 40px 10px;
  }

  .prog-section {
    padding: 28px 20px 24px 20px;
  }

  .prog-section-title {
    font-size: 1.2rem;
  }

  .prog-list li {
    font-size: 0.95rem;
    padding: 10px 0 10px 24px;
  }

  .prog-module {
    gap: 14px;
    padding: 16px 18px;
  }

  .prog-module-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .prog-module-title {
    font-size: 0.98rem;
  }

  .prog-module-desc {
    font-size: 0.9rem;
  }

  .prog-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    justify-content: center;
  }

  .prog-cta-title {
    font-size: 1.2rem;
  }

  .prog-gal-item {
    flex: 0 0 85%;
  }

  .prog-gal-item img,
  .prog-gal-item video {
    height: 180px;
  }

  .prog-gal-arrow {
    display: none;
  }

  .prog-lb-prev { left: 8px; }
  .prog-lb-next { right: 8px; }

  .prog-lb-arrow {
    width: 38px;
    height: 38px;
  }
}
