/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #0A2342; /* Main text color */
  background-color: #f8f8f8;
}

.page-terms-conditions__hero {
  position: relative;
  background-color: #0A2342; /* Deep Blue background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-terms-conditions__title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #E0B400; /* Golden Yellow for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__subtitle {
  font-size: 1.4em;
  max-width: 700px;
  margin: 0 auto;
  color: #e0e0e0;
}

.page-terms-conditions__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

.page-terms-conditions__section--alt-bg {
  background-color: #f0f4f8; /* Slightly lighter background for contrast */
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-terms-conditions__heading {
  font-size: 2.2em;
  color: #0A2342; /* Deep Blue for headings */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-terms-conditions__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B400;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-terms-conditions__section p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-terms-conditions__section ul {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-terms-conditions__section li {
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

.page-terms-conditions__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-terms-conditions__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-terms-conditions__image-wrapper {
  text-align: center;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__text-block {
  padding: 20px;
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #E0B400; /* Golden Yellow button */
  color: #0A2342; /* Deep Blue text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button:hover {
  background-color: #c9a400; /* Darker Golden Yellow on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__link {
  color: #0A2342;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  color: #E0B400;
}

.page-terms-conditions__section--cta {
  background-color: #0A2342; /* Deep Blue CTA background */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-terms-conditions__heading--cta {
  color: #E0B400;
}

.page-terms-conditions__heading--cta::after {
  background-color: #FFFFFF;
}

.page-terms-conditions__button--primary {
  background-color: #E0B400;
  color: #0A2342;
}

.page-terms-conditions__button--primary:hover {
  background-color: #c9a400;
}

.highlight {
  color: #E0B400;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions__title {
    font-size: 3em;
  }
  .page-terms-conditions__heading {
    font-size: 1.8em;
  }
  .page-terms-conditions__section p, .page-terms-conditions__section li {
    font-size: 1em;
  }
  .page-terms-conditions__content-grid {
    grid-template-columns: 1fr;
  }
  .page-terms-conditions__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-terms-conditions__image-wrapper {
    order: -1; /* Move image above text on mobile for reverse grid */
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 15px;
  }
  .page-terms-conditions__title {
    font-size: 2.5em;
  }
  .page-terms-conditions__subtitle {
    font-size: 1.2em;
  }
  .page-terms-conditions__section {
    padding: 40px 15px;
  }
  .page-terms-conditions__heading {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero {
    padding: 40px 10px;
  }
  .page-terms-conditions__title {
    font-size: 2em;
  }
  .page-terms-conditions__subtitle {
    font-size: 1em;
  }
  .page-terms-conditions__section {
    padding: 30px 10px;
  }
  .page-terms-conditions__heading {
    font-size: 1.4em;
  }
  .page-terms-conditions__button {
    padding: 10px 20px;
    font-size: 1em;
  }
}