/* style/terms-conditions.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f0f0f0;
  --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: var(--bg-dark); /* Ensure body background is dark */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 20px 80px; /* Desktop padding for fixed header */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-terms-conditions__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-terms-conditions__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-terms-conditions__heading-secondary {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-terms-conditions__heading-tertiary {
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

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

.page-terms-conditions__list li {
  margin-bottom: 10px;
}

.page-terms-conditions__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--primary-color);
  border-radius: 8px;
  color: var(--text-light);
}

.page-terms-conditions__cta-bottom p {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
}

.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: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

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

.page-terms-conditions__link-inline {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 38px;
  }
  .page-terms-conditions__heading-secondary {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    padding-bottom: 60px;
  }

  .page-terms-conditions__main-title {
    font-size: 32px;
  }

  .page-terms-conditions__description {
    font-size: 16px;
  }

  .page-terms-conditions__content-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__heading-secondary {
    font-size: 24px;
    margin-top: 30px;
  }

  .page-terms-conditions__heading-tertiary {
    font-size: 20px;
  }

  .page-terms-conditions p,
  .page-terms-conditions__list li {
    font-size: 15px;
  }

  .page-terms-conditions__cta-bottom {
    padding: 20px;
  }

  .page-terms-conditions__cta-bottom p {
    font-size: 18px;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%; /* Full width button on mobile */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  /* Image responsive adaptation */
  .page-terms-conditions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 28px;
  }
  .page-terms-conditions__heading-secondary {
    font-size: 22px;
  }
  .page-terms-conditions__heading-tertiary {
    font-size: 18px;
  }
}