html, body {
  height: 100%;
  position: relative;
}

/* CTA Buttons */
.center-button {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: min(92vw, 420px);
}

.center-button button {
  width: 100%;
  font-size: clamp(0.84rem, 3.35vw, 1.34rem);
  padding: clamp(9px, 2.68vw, 13px) clamp(13px, 4.02vw, 27px);
  background-color: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.center-button button + button {
  margin-top: 12px;
}

.center-button button:hover {
  background-color: #45a049;
}

/* Video Modal Styling */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 95%;
  max-width: 1000px;
  background: #000;
  border-radius: 15px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Format */
  height: 0;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.close-button {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 45px;
  cursor: pointer;
  line-height: 1;
}

.close-button:hover {
  color: var(--brand-green);
}

@media (max-width: 600px) {
  .center-button { top: 62%; }
}

/* SEO intro text on homepage */
.intro-text {
  position: relative;
  z-index: 5;
  width: min(92vw, 920px);
  margin: calc(68vh) auto 120px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.86);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.intro-text h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
}

.intro-text p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text a {
  color: var(--brand-green);
  font-weight: bold;
}

@media (max-width: 900px) {
  .intro-text {
    width: auto;
    margin: calc(72vh) 12px 120px;
    padding: 18px;
  }
}
