/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body handles the background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for better text contrast */
}

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

.page-terms-conditions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Area */
.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark body */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-terms-conditions__heading {
  color: #26A9E0; /* Brand color for headings */
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 2px solid rgba(38, 169, 224, 0.5);
  padding-bottom: 10px;
}

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

.page-terms-conditions__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-terms-conditions__link:hover {
  color: #5ac4ee;
}

/* Call to Action Section */
.page-terms-conditions__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff; /* Light background for CTA */
  color: #333333; /* Dark text for light background */
  border-top: 1px solid #e0e0e0;
}

.page-terms-conditions__cta-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-terms-conditions__btn-secondary:hover {
  background: #d46f06;
  border-color: #d46f06;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-terms-conditions__content-area,
  .page-terms-conditions__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0;
  }

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