.page-header {
  background: linear-gradient(rgba(24,29,56,0.7), rgba(24,29,56,0.7)), url('../img/banner3.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  overflow: hidden;
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,32,0.12) 0%, rgba(6,12,32,0.18) 100%);
  pointer-events: none;
}

.page-title {
  position: relative;
  z-index: 2;
  font-family: 'Heebo', 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(6,12,32,0.45);
  font-size: clamp(1.8rem, 2.4rem + 1.6vw, 3.6rem);
  margin-bottom: .5rem;
}

.page-title .text-accent {
  display: inline-block;
  padding: 0 .14rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.page-subtitle {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto 1rem;
  color: rgba(255,255,255,0.92);
  font-size: clamp(.98rem, .95rem + .6vw, 1.05rem);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 6px 18px rgba(6,12,32,0.28);
}

.page-header .btn-lg {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  padding: .65rem 1.15rem;
  box-shadow: 0 8px 24px rgba(11,42,102,0.12);
  font-weight: 700;
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.06);
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.28); }
.breadcrumb a { color: rgba(255,255,255,0.72); }
.breadcrumb .active { color: #fff; }

@media (max-width: 576px) {
  .page-header { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .page-subtitle { padding: 0 1rem; font-size: .95rem; }
  .page-title { font-size: 1.5rem; }
  .btn-lg { padding: .5rem .9rem; font-size: .95rem; }
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
}

.video-cover iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 120%;
  min-height: 120%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  border: 0;
}

@media (min-width: 1200px) {
  .video-cover iframe { min-width: 120%; min-height: 120%; }
}
@media (max-width: 992px) {
  .video-cover iframe { min-width: 140%; min-height: 140%; }
}
@media (max-width: 576px) {
  .video-cover iframe { min-width: 150%; min-height: 150%; }
}

.video-cover .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease, backdrop-filter .28s ease;
  z-index: 5;
}

.video-cover .video-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .28s ease, backdrop-filter .28s ease;
}

.video-cover .video-overlay-inner {
  position: relative;
  z-index: 6;
  max-width: 920px;
  padding: 22px;
  text-align: center;
}

.video-cover .video-overlay .video-caption {
  margin: 0;
  color: #ffffff;
  font-family: 'Heebo', 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.video-embed:hover .video-overlay,
.video-cover.hovered .video-overlay {
  opacity: 1;
  pointer-events: auto;
}

.video-embed:hover .video-overlay::before,
.video-cover.hovered .video-overlay::before {
  background: rgba(6, 12, 32, 0.72);
  backdrop-filter: blur(6px);
}

@media (max-width: 992px) {
  .video-cover .video-overlay .video-caption { font-size: 1rem; padding: 0 14px; }
}
@media (max-width: 576px) {
  .video-cover .video-overlay .video-caption { font-size: 0.95rem; }
}

.video-cover .video-toggle {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 20;

  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: none;
  padding: 0;
  box-sizing: border-box;

  background: rgba(0,0,0,0.60);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .12s ease, opacity .18s ease, visibility .18s ease;
  box-shadow: 0 6px 18px rgba(3,18,40,0.12);

  opacity: 0;
  transform: translateY(6px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
}

.video-cover .video-toggle .fa {
  display: inline-block;
  line-height: 1;
  font-size: 18px;
}

.video-cover .video-toggle.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.video-embed:hover .video-cover .video-toggle,
.video-embed:focus-within .video-cover .video-toggle,
.video-cover.hovered .video-toggle {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.video-cover .video-toggle:hover,
.video-cover .video-toggle:focus {
  transform: translateY(-2px) scale(1.02);
  background: rgba(0,0,0,0.75);
  outline: none;
  box-shadow: 0 10px 28px rgba(3,18,40,0.16);
}

.video-cover .video-toggle.is-playing {
  background: rgba(11,42,102,0.95);
  color: #fff;
}

@media (max-width: 768px) {
  .video-cover .video-toggle {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .video-cover .video-toggle .fa { font-size: 16px; }
}

@media (max-width: 420px) {
  .video-cover .video-toggle {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .video-cover .video-toggle .fa { font-size: 15px; }
}

.float-y {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
