/* style/terms-conditions.css */
.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #0056B3; /* Primary brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-terms-conditions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  font-weight: bold;
}

.page-terms-conditions__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__register-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #0056B3; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__register-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
}

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  color: #0056B3; /* Primary color for section titles */
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700; /* Accent underline */
  padding-bottom: 10px;
}

.page-terms-conditions__article p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

.page-terms-conditions__article li {
  margin-bottom: 8px;
}

.page-terms-conditions__article a {
  color: #0056B3; /* Primary color for links */
  text-decoration: underline;
}

.page-terms-conditions__article a:hover {
  color: #003f80; /* Darker shade on hover */
}

.page-terms-conditions__button-group {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__deposit-button,
.page-terms-conditions__withdraw-button,
.page-terms-conditions__contact-button {
  display: inline-block;
  background-color: #0056B3; /* Primary color for these buttons */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__deposit-button:hover,
.page-terms-conditions__withdraw-button:hover,
.page-terms-conditions__contact-button:hover {
  background-color: #003f80; /* Darker shade on hover */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-terms-conditions__register-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }

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

  .page-terms-conditions__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__article ul {
    margin-left: 20px;
  }

  .page-terms-conditions__deposit-button,
  .page-terms-conditions__withdraw-button,
  .page-terms-conditions__contact-button {
    width: 100%;
    text-align: center;
  }

  .page-terms-conditions__hero-image-container .page-terms-conditions__hero-image,
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

/* Ensure content images are not too small */
.page-terms-conditions__article img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* Mobile content image constraint */
@media (max-width: 768px) {
  .page-terms-conditions__content-area img {
    max-width: 100% !important;
    height: auto !important;
  }
}