/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep dark text for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-terms-conditions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-terms-conditions__main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__cta-button:hover {
  background: #d46b00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-terms-conditions__section-title {
  font-size: 28px;
  color: #26A9E0;
  margin-top: 45px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 22px;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 16px;
  color: #333333;
}

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

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

.page-terms-conditions__list li strong {
  color: #26A9E0;
}

.page-terms-conditions__image-wrapper {
  margin: 40px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-terms-conditions__cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

.page-terms-conditions__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: none;
}

.page-terms-conditions__btn-primary:hover {
  background: #d46b00;
}

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

.page-terms-conditions__btn-secondary:hover {
  background: #f0f8ff;
  color: #1a7bb0;
  border-color: #1a7bb0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 32px;
  }
  .page-terms-conditions__intro-text {
    font-size: 16px;
  }
  .page-terms-conditions__section-title {
    font-size: 24px;
  }
  .page-terms-conditions__sub-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-terms-conditions__hero-image {
    margin-bottom: 20px;
  }
  .page-terms-conditions__hero-image img {
    border-radius: 4px;
  }
  .page-terms-conditions__main-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .page-terms-conditions__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-terms-conditions__content-area {
    padding: 40px 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 20px;
  }
  .page-terms-conditions__sub-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-terms-conditions p,
  .page-terms-conditions__list li {
    font-size: 15px;
  }
  .page-terms-conditions__list {
    margin-left: 20px;
  }
  .page-terms-conditions__image-wrapper {
    margin: 30px 0;
  }
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-terms-conditions__cta-container {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}