/* style/terms-conditions.css */
.page-terms-conditions {
  background-color: #0D0E12; /* Background color from custom palette */
  color: #FFF3E6; /* Text Main color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  box-sizing: border-box;
  text-align: center;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-terms-conditions__main-title {
  color: #FFB04D; /* Glow color for main title */
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

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

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

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

.page-terms-conditions__section-title {
  color: #FFA53A; /* Auxiliary color for section titles */
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #A84F0C; /* Border color */
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  color: #FF8C1A; /* Main color for sub-titles */
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

.page-terms-conditions__list li {
  margin-bottom: 8px;
  color: #FFF3E6;
}

.page-terms-conditions__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-block {
  background: #17191F; /* Card BG color */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.2);
}

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

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 10px 10px 10px;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* For mobile button responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main color */
  border: none;
}

.page-terms-conditions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-terms-conditions__btn-secondary {
  background: #17191F; /* Card BG for secondary button */
  color: #FF8C1A; /* Main color for text */
  border: 2px solid #A84F0C; /* Border color */
}

.page-terms-conditions__btn-secondary:hover {
  background: #FF8C1A; /* Main color on hover */
  color: #FFF3E6; /* Text Main color on hover */
  border-color: #FF8C1A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-terms-conditions a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-terms-conditions a:hover {
  color: #FFB04D;
}

.page-terms-conditions .text-highlight {
  color: #FFB04D;
  font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 15px;
    line-height: 1.5;
  }

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

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-terms-conditions__description {
    font-size: 1em;
    padding: 0 10px;
  }

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

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

  .page-terms-conditions h3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__cta-block {
    padding: 20px;
    margin-top: 30px;
  }

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

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

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: calc(100% - 30px) !important; /* Adjusted for padding */
    margin: 10px auto !important;
    display: block !important;
    text-align: center;
    padding: 12px 15px;
  }

  .page-terms-conditions__hero-image,
  .page-terms-conditions__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__container,
  .page-terms-conditions__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-terms-conditions__hero-section {
    padding-top: 10px !important; 
  }
}