.page-header {
  background: linear-gradient(rgba(24, 29, 56, 0.7), rgba(24, 29, 56, 0.7)), url('../img/public.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;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer {
  position: relative;
}

.float-y {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  --amp: 10px;
  --dur: 6s;
  animation: floatY var(--dur) ease-in-out infinite;
}

@keyframes floatY {
  0%   { transform: translateY(calc(-1 * var(--amp))); }
  50%  { transform: translateY(calc( 1 * var(--amp))); }
  100% { transform: translateY(calc(-1 * var(--amp))); }
}

@media (max-width: 991.98px) {
  .col-lg-6 {
    min-height: auto !important;
  }
  .position-relative.h-100 {
    min-height: 180px !important;
    height: auto !important;
  }

  .row.g-5 {
    gap: 1rem !important;
  }

  .container-xxl.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .float-y {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    overflow: visible;
    --amp: 5px;
    --dur: 5s;
    animation: floatY var(--dur) ease-in-out infinite;
  }

  .position-relative {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-y { animation: none !important; }
}
