/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-terms-conditions__hero-banner {
  background-color: #1A2B4C; /* Primary brand color */
  padding: 120px 20px 60px; /* Adjusted padding for fixed header and visual appeal */
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-banner {
    padding: 100px 15px 40px; /* Adjusted padding for mobile fixed header */
  }
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary brand color for highlight */
  line-height: 1.2;
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 32px;
  }
}

.page-terms-conditions__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-description {
    font-size: 16px;
  }
}

.page-terms-conditions__inline-link {
  color: #FFD700; /* Gold color for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__inline-link:hover {
  color: #ffffff;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Dark background for content area */
}

@media (max-width: 768px) {
  .page-terms-conditions__content-area {
    padding: 40px 15px;
  }
}

.page-terms-conditions__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-terms-conditions__text-block {
  background-color: #1A2B4C; /* Dark blue background for text blocks */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0; /* Light text for dark background */
}

@media (max-width: 768px) {
  .page-terms-conditions__text-block {
    padding: 20px;
  }
}

.page-terms-conditions__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFD700; /* Gold for main section titles */
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .page-terms-conditions__section-title {
    font-size: 24px;
  }
}

.page-terms-conditions__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff; /* White for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .page-terms-conditions__sub-title {
    font-size: 20px;
  }
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-terms-conditions ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700; /* Gold border for images */
}

/* Mobile responsive image styles - MUST HAVE !important */
@media (max-width: 768px) {
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-terms-conditions__hero-banner,
  .page-terms-conditions__content-area,
  .page-terms-conditions__text-block,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-terms-conditions__hero-banner {
    padding-left: 0;
    padding-right: 0;
  }
}

.page-terms-conditions__cta-block {
  text-align: center;
  background-color: #1A2B4C;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.page-terms-conditions__cta-text {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 500;
}

.page-terms-conditions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn--primary {
  background-color: #FFD700; /* Gold button background */
  color: #1A2B4C; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

.page-terms-conditions__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-terms-conditions__cta-block {
    padding: 30px 15px;
  }
  .page-terms-conditions__cta-text {
    font-size: 18px;
  }
  .page-terms-conditions__btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* Ensure color contrast for dark background */
.page-terms-conditions__dark-bg {
  color: #ffffff;
  background: #1A2B4C;
}

.page-terms-conditions__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-terms-conditions__medium-bg {
  color: #000000;
  background: #FFD700;
}

/* Contrast fix classes (if needed) */
.page-terms-conditions__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-terms-conditions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}