/* style/privacy-policy.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

.page-privacy-policy__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Aligned with fixed header spacing rule */
  margin-bottom: 40px;
}

.page-privacy-policy__hero-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 5vw, 3em);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-main);
}

.page-privacy-policy__intro-text {
  font-size: clamp(1em, 2vw, 1.2em);
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-privacy-policy__content-section:nth-child(even) {
  background-color: var(--card-bg);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  color: var(--gold-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 3vw, 1.8em);
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-privacy-policy__list-item strong {
  color: var(--text-main);
}

.page-privacy-policy__image {
  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-privacy-policy__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__link {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--glow-color);
}

/* Placeholder styles for mandatory media queries - these modules are not typically on a privacy policy page, but rules must be present */
.page-privacy-policy__hero-carousel-section { /* This class is not used in the HTML above, but included for mandatory CSS rule */
  padding-top: 10px; 
}

.page-privacy-policy__guide-box {
  padding: 16px 20px 24px;
  background: var(--card-bg);
  border-radius: 4px;
  margin-top: 40px;
}

.page-privacy-policy__guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  justify-content: center;
}

.page-privacy-policy__guide-card {
  text-align: center;
}

.page-privacy-policy__guide-card img {
  aspect-ratio: 250/350;
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-privacy-policy__home-content-box {
  max-width: 91%;
  margin: 40px auto;
  padding: 10px 16px;
  border: 5px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--glow-color);
  height: 700px;
  background-color: var(--card-bg);
}

.page-privacy-policy__home-content-inner {
  height: 100%;
  overflow-y: auto;
  padding-right: 10px; /* For scrollbar */
  color: var(--text-main);
}

.page-privacy-policy__home-content-inner h3 {
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-privacy-policy__blog-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-privacy-policy__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-privacy-policy__blog-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-privacy-policy__blog-card:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__blog-card-content {
  padding: 20px;
}

.page-privacy-policy__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-privacy-policy__blog-card-excerpt {
  font-size: 0.9em;
  color: var(--text-secondary);
}

/* General image and button styles for mobile */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

  .page-privacy-policy__hero-content {
    width: 90%;
    padding: 0 10px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  .page-privacy-policy__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mandatory: Top Carousel Section */
  .page-privacy-policy__hero-carousel-section {
    padding-top: 10px !important; /* Retain minimal padding */
  }

  /* Mandatory: Guide Box + Five Team Vertical Cards */
  .page-privacy-policy__guide-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .page-privacy-policy__guide-card {
    padding-top: 0 !important; /* Reset any desktop specific top padding */
  }

  .page-privacy-policy__guide-card:nth-child(1),
  .page-privacy-policy__guide-card:nth-child(2) {
    grid-column: span 3; /* Two cards on top row */
  }

  .page-privacy-policy__guide-card:nth-child(3),
  .page-privacy-policy__guide-card:nth-child(4),
  .page-privacy-policy__guide-card:nth-child(5) {
    grid-column: span 2; /* Three cards on bottom row */
  }

  .page-privacy-policy__guide-card img {
    aspect-ratio: 250/350; /* Maintain aspect ratio */
    object-fit: cover;
  }

  /* Mandatory: Home Content Box (700px height) */
  .page-privacy-policy__home-content-box {
    max-width: 100%;
    height: auto; /* Full height on mobile */
    padding: 10px;
    margin: 20px auto;
    box-shadow: none;
    border: none;
  }

  .page-privacy-policy__home-content-inner {
    height: auto;
    overflow: visible; /* Show all content */
    padding-right: 0;
  }

  /* Mandatory: Blog Card Section */
  .page-privacy-policy__blog-grid {
    grid-template-columns: repeat(1, 1fr); /* Single column on mobile */
    gap: 20px;
  }

  .page-privacy-policy__blog-card-image {
    height: 180px;
  }

  /* Mandatory: General Images and Buttons */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure buttons and their containers are responsive */
  .page-privacy-policy__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}