.page-terms-conditions {
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: var(--header-offset, 120px);
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero to make text pop */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button--primary {
  background-color: #FF4500;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.page-terms-conditions__button--primary:hover {
  background-color: #e63e00;
  transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.page-terms-conditions__button--secondary:hover {
  background-color: #1a7fd9;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #FF4500;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #1E90FF;
  padding-bottom: 10px;
  line-height: 1.3;
}

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-terms-conditions__inline-link {
  color: #1E90FF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__inline-link:hover {
  color: #007bff;
  text-decoration: underline;
}

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

.page-terms-conditions__cta-section {
  background: linear-gradient(135deg, #FF4500, #FFD700);
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-terms-conditions__cta-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.15;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__cta-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #ffffff;
  max-width: 800px;
}

.page-terms-conditions__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }
  .page-terms-conditions__main-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
  }
  .page-terms-conditions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-terms-conditions__content-area {
    margin: 20px auto;
    padding: 20px 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-top: 30px;
  }
  .page-terms-conditions__paragraph {
    font-size: 1em;
  }
  .page-terms-conditions__cta-section {
    padding: 40px 15px;
    margin-top: 40px;
  }
  .page-terms-conditions__cta-content {
    padding: 20px;
  }
  .page-terms-conditions__cta-title {
    font-size: 2em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1em;
  }
  /* Ensure images do not overflow on mobile */
  .page-terms-conditions__image, 
  .page-terms-conditions__hero-image, 
  .page-terms-conditions__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@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__cta-title {
    font-size: 1.8em;
  }
}