/* style/privacy-policy.css */

/* Base Styles */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Primary brand gradient */
  color: #ffffff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-privacy-policy__intro-description {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: #2F6BFF; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #6FA3FF; /* Secondary color */
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #1F2D3D; /* Text Main */
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
  color: #2F6BFF; /* Primary color */
}

/* Image Styling */
.page-privacy-policy__image-wrapper {
  margin: 40px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

/* CTA Button */
.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* For responsive buttons */
  word-wrap: break-word; /* For responsive buttons */
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0 80px;
  background-color: #F4F7FB; /* Background */
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

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

details.page-privacy-policy__faq-item summary.page-privacy-policy__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 */
  font-weight: 600;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #F0F5FF; /* Lighter shade of primary/secondary */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

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

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  background: #F9FCFF; /* Slightly lighter than Card BG */
  border-top: 1px solid #D6E2FF; /* Border color */
  border-radius: 0 0 10px 10px;
  color: #1F2D3D; /* Text Main */
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    border-radius: 0 0 10px 10px;
  }

  .page-privacy-policy__main-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section {
    padding: 30px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list-item {
    font-size: 14px;
  }

  .page-privacy-policy__image-wrapper {
    margin: 25px 0;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center button if it takes full width */
  }
  
  .page-privacy-policy__cta-wrapper {
    padding: 0 15px; /* Add padding to wrapper for button */
  }

  .page-privacy-policy__faq-section {
    padding: 30px 0 60px;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 15px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }
}