:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --dark-bg-1: #0d0d0d; /* Assuming a dark body background from shared.css */
  --light-bg-1: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Main content background will inherit from body or sections */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-terms-conditions__hero-section {
  background: linear-gradient(135deg, var(--primary-color), #1a3a7f);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-terms-conditions__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-terms-conditions__cta-button--secondary:hover {
  background: #071b4a;
  border-color: #e6c200;
}

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

.page-terms-conditions__cta-button--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
}

.page-terms-conditions__content-section .page-terms-conditions__container {
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

.page-terms-conditions__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-terms-conditions__list strong {
  color: var(--secondary-color);
}

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

.page-terms-conditions__cta-bottom-section {
  background: linear-gradient(45deg, #1a3a7f, var(--primary-color));
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-bottom-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__cta-bottom-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.65;
  }

  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-section,
  .page-terms-conditions__cta-bottom-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__container {
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__content-section .page-terms-conditions__container {
    padding: 25px;
  }

  .page-terms-conditions__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-terms-conditions__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-terms-conditions p,
  .page-terms-conditions__list li {
    font-size: 0.95em;
  }

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

  .page-terms-conditions__cta-bottom-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

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