/* ================= TERMS HERO ================= */
.page-hero {
  min-height: 80vh;
  background: url("images/school.jpeg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 70px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 52px;
  font-weight: 400;
}

/* ================= TERMS CONTENT ================= */
.terms-section {
  max-width: 1000px;
  margin: 110px auto;
  background: white;
  padding: 70px;
}

.terms-section h2 {
  font-size: 30px;
  font-weight: 400;
  color: #0d2d5c;
  margin: 45px 0 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.terms-section h2:first-child {
  margin-top: 0;
}

.terms-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  max-width: 850px;
}

.terms-section li {
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

/* ================= CTA ================= */
.activity-cta {
  background: #0d2d5c;
  color: white;
  text-align: center;
  padding: 85px 20px;
}

.activity-cta h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 12px;
}

.activity-cta p {
  margin-bottom: 25px;
  line-height: 1.7;
}

.activity-cta a {
  display: inline-block;
  background: white;
  color: #0d2d5c;
  padding: 13px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.activity-cta a:hover {
  transform: translateY(-2px);
}

/* ================= PAGE BACKGROUND ================= */
body.inner-page {
  background: #f4f4f4;
}

/* ================= MOBILE ================= */
@media (max-width: 800px) {

  .page-hero {
    min-height: 60vh;
    padding: 35px 22px;
  }

  .page-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .terms-section {
    margin: 70px 20px;
    padding: 40px 22px;
  }

  .terms-section h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .terms-section p,
  .terms-section li {
    font-size: 15px;
    line-height: 1.8;
  }

  .activity-cta {
    padding: 65px 22px;
  }

  .activity-cta h2 {
    font-size: 28px;
    line-height: 1.2;
  }
}