/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A202C; /* Main dark background */
  line-height: 1.6;
}

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a4a6e 100%); /* Dark gradient */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFD700; /* Gold for hero titles/subtitles */
}

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

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFD700; /* Gold */
}

.page-terms-conditions__hero-subtitle {
  font-size: 1.3em;
  color: #e5e5e5; /* Slightly lighter text for readability */
  max-width: 700px;
  margin: 0 auto;
}

.page-terms-conditions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%);
}

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

.page-terms-conditions__section {
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main section titles */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-terms-conditions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-terms-conditions__section h3 {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub-titles */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-terms-conditions__section p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-terms-conditions__section ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-terms-conditions__section ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-terms-conditions__section strong {
  color: #FFD700;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.3s ease;
}

.page-terms-conditions__image:hover {
  transform: translateY(-5px);
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 30px;
  width: 40%;
  max-width: 400px;
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 30px;
  width: 40%;
  max-width: 400px;
}

.page-terms-conditions__image--center {
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  max-width: 500px;
}

.page-terms-conditions__section.page-terms-conditions__introduction .page-terms-conditions__container,
.page-terms-conditions__section.page-terms-conditions__rights-obligations .page-terms-conditions__container,
.page-terms-conditions__section.page-terms-conditions__account-security .page-terms-conditions__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.page-terms-conditions__section.page-terms-conditions__introduction .page-terms-conditions__container > *:not(h2),
.page-terms-conditions__section.page-terms-conditions__rights-obligations .page-terms-conditions__container > *:not(h2),
.page-terms-conditions__section.page-terms-conditions__account-security .page-terms-conditions__container > *:not(h2) {
  flex-basis: calc(50% - 20px);
}

.page-terms-conditions__section.page-terms-conditions__introduction .page-terms-conditions__container p,
.page-terms-conditions__section.page-terms-conditions__rights-obligations .page-terms-conditions__container p,
.page-terms-conditions__section.page-terms-conditions__account-security .page-terms-conditions__container p {
  flex-basis: 100%;
}

.page-terms-conditions__section.page-terms-conditions__introduction .page-terms-conditions__container p:first-of-type {
  margin-top: 20px;
}

.page-terms-conditions__cta-section {
  background-color: #1a2a40; /* Slightly lighter dark background for CTA */
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__cta-section .page-terms-conditions__section-title {
  color: #FFD700;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-section .page-terms-conditions__section-title::after {
  display: none;
}

.page-terms-conditions__cta-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-terms-conditions__btn {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px 20px;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__btn:hover {
  background-color: #e0b000; /* Darker gold on hover */
  transform: translateY(-3px);
}

.page-terms-conditions__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-terms-conditions__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }

  .page-terms-conditions__hero-subtitle {
    font-size: 1em;
  }

  .page-terms-conditions__section-title {
    font-size: 2em;
  }

  .page-terms-conditions__section h3 {
    font-size: 1.5em;
  }

  .page-terms-conditions__image--right,
  .page-terms-conditions__image--left,
  .page-terms-conditions__image--center {
    float: none;
    margin: 20px auto;
    width: 80%;
  }

  .page-terms-conditions__section.page-terms-conditions__introduction .page-terms-conditions__container > *:not(h2),
  .page-terms-conditions__section.page-terms-conditions__rights-obligations .page-terms-conditions__container > *:not(h2),
  .page-terms-conditions__section.page-terms-conditions__account-security .page-terms-conditions__container > *:not(h2) {
    flex-basis: 100%;
  }

  .page-terms-conditions__btn {
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 5px 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero {
    padding: 60px 15px;
  }

  .page-terms-conditions__hero-title {
    font-size: 2em;
  }

  .page-terms-conditions__hero-subtitle {
    font-size: 0.9em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__section h3 {
    font-size: 1.3em;
  }

  .page-terms-conditions__section p,
  .page-terms-conditions__section ul li {
    font-size: 0.95em;
  }

  .page-terms-conditions__btn {
    display: block;
    width: calc(100% - 40px);
    margin: 10px auto;
  }
}