/* Base styles for the page-terms-conditions */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  background: #F4F7FB; /* Match body background */
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-terms-conditions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-terms-conditions__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #2F6BFF; /* Main color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #1F2D3D;
}

/* CTA Buttons */
.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-terms-conditions__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-terms-conditions__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
  transform: translateY(-2px);
}

/* Content Area */
.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__container {
  padding: 40px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #D6E2FF; /* Border */
  padding-bottom: 10px;
}

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

.page-terms-conditions__sub-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #1F2D3D;
}

.page-terms-conditions strong {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-terms-conditions__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-terms-conditions__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-terms-conditions__faq-list {
  margin-top: 30px;
}

details.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question:hover {
  background: #F4F7FB; /* Background color for hover */
}

.page-terms-conditions__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-terms-conditions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
  padding: 0 25px 20px;
  background: #F4F7FB; /* Background color */
  border-radius: 0 0 8px 8px;
  color: #1F2D3D;
}

.page-terms-conditions__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-image-wrapper {
    max-width: 90%;
  }
  .page-terms-conditions__content-area {
    margin: 30px auto;
    padding: 0 15px;
  }
  .page-terms-conditions__container {
    padding: 30px;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
}