/* style/terms-conditions.css */

/* General page styling */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Inherit from body or shared.css */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
  background: linear-gradient(135deg, #000080, #1a1a40); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  border-bottom: 5px solid #FFD700; /* Gold accent */
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.15; /* Subtly blend with background */
  object-fit: cover;
  z-index: 0;
  filter: grayscale(100%); /* Apply grayscale to blend better */
}

.page-terms-conditions__hero-section .page-terms-conditions__container {
  position: relative;
  z-index: 1;
}

.page-terms-conditions__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px; /* Ensure buttons have a minimum width */
  text-align: center;
}

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

.page-terms-conditions__cta-button--primary:hover {
  background: #e6c200; /* Slightly darker gold */
  color: #000050;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button--secondary {
  background: #000080; /* Dark blue background */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
}

.page-terms-conditions__cta-button--secondary:hover {
  background: #000050; /* Slightly darker dark blue */
  color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-terms-conditions__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for content area */
}

.page-terms-conditions__article {
  background-color: #2a2a2a; /* Even lighter dark background for article */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-terms-conditions__article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__article-heading {
  font-size: 32px;
  color: #FFD700; /* Gold headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__article-heading:first-of-type {
  margin-top: 0;
}

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

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

.page-terms-conditions__article ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-terms-conditions__article a {
  color: #FFD700; /* Gold links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__article a:hover {
  color: #e6c200; /* Slightly darker gold on hover */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 40px;
  }
  .page-terms-conditions__description {
    font-size: 17px;
  }
  .page-terms-conditions__article-heading {
    font-size: 28px;
  }
  .page-terms-conditions__article {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

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

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

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-terms-conditions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-terms-conditions__article {
    padding: 20px;
    border-radius: 8px;
  }

  .page-terms-conditions__article-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
  }

  .page-terms-conditions__article-heading {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__article p,
  .page-terms-conditions__article ul li {
    font-size: 15px;
  }

  .page-terms-conditions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 28px;
  }
  .page-terms-conditions__article-heading {
    font-size: 20px;
  }
  .page-terms-conditions__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}