.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8;
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-terms-conditions__hero-section {
  background: linear-gradient(135deg, var(--primary-color, #003366) 0%, #001a33 100%);
  color: #ffffff;
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color, #FFCC00);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color, #FFCC00);
  color: var(--primary-color, #003366);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  background: #e6b800; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button--secondary {
  background: #ffffff;
  color: var(--primary-color, #003366);
  border: 2px solid var(--primary-color, #003366);
}

.page-terms-conditions__cta-button--secondary:hover {
  background: var(--primary-color, #003366);
  color: #ffffff;
}

.page-terms-conditions__content-section {
  padding: 80px 0;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: var(--primary-color, #003366);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 3px solid var(--secondary-color, #FFCC00);
  padding-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

.page-terms-conditions__list-item strong {
  color: var(--primary-color, #003366);
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-terms-conditions__cta-buttons--bottom {
  margin-top: 60px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .page-terms-conditions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-terms-conditions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions__content-section {
    padding: 40px 0;
  }
  .page-terms-conditions__container {
    padding: 0 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 0.95em;
  }
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 8px;
  }
  .page-terms-conditions__cta-buttons--bottom {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* Ensure body background color compatibility with text */
.page-terms-conditions {
  color: #333333; /* Dark text on light background */
}

.page-terms-conditions__hero-section {
  color: #ffffff; /* Light text on dark background */
}

.page-terms-conditions__cta-button {
  color: var(--primary-color, #003366);
}

.page-terms-conditions__cta-button--secondary {
  color: var(--primary-color, #003366);
}

.page-terms-conditions__cta-button--secondary:hover {
  color: #ffffff;
}