/* style/terms-conditions.css */

/* Variables for brand colors */
:root {
  --primary-color: #0A246A; /* Royal Blue - Dark */
  --secondary-color: #F0B400; /* Gold - Medium/Light */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-card-dark: rgba(255, 255, 255, 0.08); /* Slightly visible on dark background */
  --border-dark: rgba(255, 255, 255, 0.15);
}

.page-terms-conditions {
  background-color: var(--bg-dark); /* Inherits from body, but explicitly set for clarity */
  color: var(--text-light); /* Light text on dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 80px; /* General padding for bottom */
}

/* --- Hero Section --- */
.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px; /* General padding */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0,0,0,0.8) 100%);
  overflow: hidden;
}

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

.page-terms-conditions__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.page-terms-conditions__hero-image-wrapper {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
}

.page-terms-conditions__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Content Section --- */
.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: var(--bg-dark); /* Ensure section background matches body for seamless look */
  color: var(--text-light); /* Maintain light text */
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--bg-card-dark); /* Slightly lighter dark background for content block */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section-title {
  font-size: 28px;
  color: var(--secondary-color); /* Gold for titles */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__section-title:first-of-type {
  margin-top: 0;
}

.page-terms-conditions p {
  font-size: 16px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.85); /* Slightly muted white for paragraphs */
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

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

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

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

.page-terms-conditions__image-caption {
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

.page-terms-conditions__contact-link {
  color: var(--secondary-color); /* Gold for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 42px;
  }
  .page-terms-conditions__section-title {
    font-size: 26px;
  }
  .page-terms-conditions__container {
    padding: 30px;
  }
}

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

  .page-terms-conditions__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-terms-conditions__container {
    padding: 25px;
    max-width: 100% !important; /* Ensure content container doesn't exceed mobile width */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__section-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

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

  /* Images responsive on mobile */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-terms-conditions__image-block,
  .page-terms-conditions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 28px;
  }
  .page-terms-conditions__section-title {
    font-size: 20px;
  }
  .page-terms-conditions__container {
    padding: 20px;
  }
  .page-terms-conditions__list {
    margin-left: 20px;
  }
}