/* Portal Terms of Service Page Styles */

/* Showcase section styling */
#showcase-portal-tos {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  border-top: var(--bs-primary) 5px solid;
  border-bottom: var(--bs-warning) 5px solid;
}

#showcase-portal-tos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("../../assets/img/documents169.jpg"); /* Using the same background as other document pages */
}

.showcase-content {
  position: relative;
  z-index: 2;
}

/* Terms of Service content styling */
.tos-content {
  line-height: 1.6;
}

.tos-content p {
  margin-bottom: 1.25rem;
}

.tos-content strong {
  color: var(--bs-primary);
}

.tos-content a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tos-content a:hover {
  color: var(--bs-warning);
  text-decoration: underline;
}

/* Card styling */
.card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive styles */

/* XXL: Extra extra large screens (≥1400px) */
@media (min-width: 1400px) {
  #showcase-portal-tos {
    min-height: 65vh;
  }
}

/* XL: Extra large screens (1200px–1399.98px) */
@media (max-width: 1399.98px) and (min-width: 1200px) {
  #showcase-portal-tos {
    min-height: 50vh;
  }
}

/* LG: Large screens (992px–1199.98px) */
@media (max-width: 1199.98px) and (min-width: 992px) {
  #showcase-portal-tos {
    min-height: 40vh;
  }
}

/* MD: Medium screens (768px–991.98px) */
@media (max-width: 991.98px) and (min-width: 768px) {
  #showcase-portal-tos {
    min-height: 40vh;
  }
}

/* SM: Small screens (576px–767.98px) */
@media (max-width: 767.98px) and (min-width: 576px) {
  #showcase-portal-tos {
    min-height: 50vh;
  }
}

/* XS: Extra small screens (<576px) */
@media (max-width: 575.98px) {
  #showcase-portal-tos {
    min-height: 25vh;
  }
}
