/* ================= TERMS HERO ================= */
.terms-hero {
  position: relative;
  height: 380px;
  margin-top: 62px;
  overflow: hidden;
}

.terms-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  object-position: center; */
}

.terms-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2,6,23,0.35),
    rgba(2,6,23,0.7)
  );
  z-index: 1;
}

.terms-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 0 20px;
  color: #ffffff;
}

.terms-hero-content h1 {
  font-size: 46px;
  font-weight: 800;
}

.terms-hero-content p {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

/* ================= TERMS SECTION ================= */
.terms-section {
  padding: 90px 20px;
  background: #f8fafc;
}

.terms-wrapper {
  max-width: 1100px;
  margin: auto;
}

.terms-updated {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 50px;
}

/* GRID */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* CARD */
.terms-card {
  background: linear-gradient(
    135deg,
    #ffffff,
    #f1f5f9
  );

  padding: 34px 32px;
  border-radius: 18px;

  box-shadow:
    0 18px 45px rgba(15,23,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.terms-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(15,23,42,0.12);
}

.terms-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
    background: linear-gradient(135deg, #13572e, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.terms-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

/* FULL WIDTH CARD */
.terms-card-full {
  grid-column: span 2;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .terms-card-full {
    grid-column: span 1;
  }

  .terms-hero-content h1 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .terms-hero {
    height: 300px;
  }

  .terms-card {
    padding: 26px 22px;
  }
}
