/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Custom background color */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* General padding */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F5F7FA; /* Match page background */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and text */
}

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

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

.page-privacy-policy__main-title {
  font-size: clamp(28px, 3.5vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #E53935; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: clamp(16px, 1.5vw, 20px);
  color: #333333;
  margin-bottom: 30px;
}

/* --- Content Section --- */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #F5F7FA; /* Custom background color */
  color: #333333; /* Text color for light background */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: #E53935; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-privacy-policy__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list-item {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333333;
}

.page-privacy-policy__list-item strong {
  color: #E53935; /* Highlight important terms with brand color */
}

/* --- Buttons --- */
.page-privacy-policy__contact-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Text Main color */
  border: 2px solid #E53935; /* Border color */
}

.page-privacy-policy__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

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

  .page-privacy-policy__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__container {
    padding: 0 15px !important; /* Ensure content has side padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }

  /* Responsive Images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-bottom: 20px;
  }

  /* Responsive Buttons */
  .page-privacy-policy__contact-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* Ensure no filter on images */
.page-privacy-policy img {
  filter: none !important;
}