.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;          /* full stretch */
    width: 100%;       /* ensure full width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 1rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    box-sizing: border-box; /* prevents padding pushing width wider than screen */
  }

 
  
  .logo-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo {
    height: 40px;
    width: auto;
  }
  
  .site-title {
    font-size: 1.25rem;
    margin: 0;
  }
  
  .main-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .main-nav a:hover {
    color: #007bff;
  }

  /* Basic reset for the fixed header overlap (adjust to your header height) */
  body {
    margin: 0;
    /* match the actual height of your fixed header */
    padding-top: 70px; 
  }

/* ===== Fade Slider ===== */
.fade-slider {
    position: relative;
    width: 100%;
    margin: 0;
    max-width: none; /* remove cap so it spans full viewport */
  }

  .fade-slider__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 60vh; /* adjust to taste, e.g., 100vh for fullscreen */
  }

.fade-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.fade-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fade-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.fade-slide__content {
  position: relative;
  z-index: 1;
  text-align: left;
  margin-left: 0%;
  margin-right: 30%;
  width: 50%;
  max-width: 900px;
  padding: 2rem;
  /* backdrop for readability */
  background: linear-gradient( to right, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) );
  color: #fff;
  border-radius: 1rem;
}

.fade-slide__title {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.fade-slide__text {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}
.fade-slide__cta {
  display: inline-block;
  padding: .7rem 1.1rem;
  text-decoration: none;
  background: #111;
  color: #fff;
  border-radius: .6rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.4);
}

.fade-slider__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
}
.fade-slider__control.prev { left: .75rem; }
.fade-slider__control.next { right: .75rem; }

.fade-slider__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: .75rem;
  display: flex;
  gap: .5rem;
}
.fade-slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.fade-slider__dot.is-active {
  background: #fff;
}

/* Screen reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Small screens tweaks */
@media (max-width: 640px) {
  .fade-slide__content {
    padding: 1rem;
    background: linear-gradient( to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1) );
    align-self: end;
    margin: 0 .5rem .5rem;
  }
}

/* Footer */
.site-footer {
  background: #9a9a9a; /* nearly black */
  color: #e9e9ea;
}

.site-footer .card {
  background: #141416;
  border-radius: 16px;
}

.footer-newsletter h5 {
  color: #fff;
}

.footer-input {
  background: #0f0f10;
  border: 1px solid #2a2b2e;
  color: #e9e9ea;
}

.footer-input::placeholder {
  color: #9a9ba1;
}

.footer-input:focus {
  background: #0f0f10;
  border-color: #3f80ff; /* subtle accent */
  box-shadow: 0 0 0 .2rem rgba(63,128,255,.15);
  color: #fff;
}

/* Make the success banner pop a bit on dark footer */
.site-footer .alert-success {
  background: #103d22;
  border-color: #165a31;
  color: #c9f2d9;
}


  