/* style/terms-conditions.css */

/* Base styles for the page content, considering body background is #0a0a0a (dark) */
.page-terms-conditions {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency, though body handles main background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, no var(--header-offset) */
  box-sizing: border-box;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and content */
}

.page-terms-conditions__hero-content {
  max-width: 1200px;
  width: 100%; /* Ensure content takes full width up to max-width */
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: transparent; /* No specific background, rely on body */
  color: #ffffff; /* Light text */
}

.page-terms-conditions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-terms-conditions__description {
  font-size: clamp(16px, 2vw, 18px);
  color: #f0f0f0; /* Slightly off-white for body text */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for wrapping */
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-terms-conditions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #D46E06;
  border-color: #D46E06;
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand main color */
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Area */
.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #0a0a0a; /* Keep content area dark */
  color: #ffffff; /* Light text for readability */
}

.page-terms-conditions__container {
  max-width: 100%; /* Ensure container respects parent's width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-terms-conditions__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-terms-conditions__text-block {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
  text-align: justify;
}

.page-terms-conditions__highlight {
  color: #26A9E0; /* Highlight brand name */
  font-weight: bold;
}

.page-terms-conditions__link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #3DA2E5;
  text-decoration: underline;
}

.page-terms-conditions__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Center images */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image width */
  min-height: 200px; /* Minimum image height */
  /* No filter property to change image color */
}

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

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  box-sizing: border-box;
}

.page-terms-conditions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__faq-item {
  background-color: #0a0a0a; /* Darker background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #26A9E0; /* Border with brand color */
}

.page-terms-conditions__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-terms-conditions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #0d0d0d; /* Slightly different dark for question */
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
  background-color: #151515;
}

.page-terms-conditions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #26A9E0; /* Brand color for toggle icon */
  margin-left: 15px;
}

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: #f0f0f0;
  border-top: 1px solid rgba(38, 169, 224, 0.2); /* Subtle border for answer */
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding: 10px 0 30px 0;
  }

  .page-terms-conditions__hero-content {
    padding: 0 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-terms-conditions__content-area,
  .page-terms-conditions__faq-section {
    padding: 30px 15px;
  }

  .page-terms-conditions__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__text-block,
  .page-terms-conditions__list-item,
  .page-terms-conditions__faq-answer {
    font-size: 15px;
  }

  /* Images responsive */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is respected */
    min-height: 200px !important;
  }

  /* Containers responsive */
  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container,
  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-area,
  .page-terms-conditions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Video specific (if any, though not in this page's content) */
  .page-terms-conditions video,
  .page-terms-conditions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__video-section,
  .page-terms-conditions__video-container,
  .page-terms-conditions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-terms-conditions__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }
}