/* style/resources-security-privacy.css */

:root {
  --jun88-primary-color: #FFD700;
  --jun88-secondary-color: #8B0000;
  --jun88-text-light: #ffffff;
  --jun88-text-dark: #333333;
  --jun88-bg-dark: #000000; /* Body background from shared.css */
  --jun88-bg-light: #f8f8f8;
  --jun88-border-color: #e0e0e0;
}

.page-resources-security-privacy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--jun88-text-light); /* Default text color for dark body background */
  background-color: var(--jun88-bg-dark); /* Ensure consistency */
}

.page-resources-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-security-privacy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: var(--jun88-secondary-color);
  color: var(--jun88-text-light);
}

.page-resources-security-privacy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--jun88-primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-security-privacy__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--jun88-text-light);
}

.page-resources-security-privacy__hero-image-wrapper {
  margin-top: 40px;
}

.page-resources-security-privacy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-security-privacy__content-area {
  background-color: var(--jun88-bg-light);
  color: var(--jun88-text-dark);
  padding: 60px 0;
}

.page-resources-security-privacy__section-title {
  font-size: 2.5em;
  color: var(--jun88-secondary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-security-privacy__sub-title {
  font-size: 1.8em;
  color: var(--jun88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-security-privacy__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--jun88-text-dark);
}

.page-resources-security-privacy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--jun88-text-dark);
}

.page-resources-security-privacy__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-security-privacy__image-container {
  text-align: center;
  margin: 40px 0;
}

.page-resources-security-privacy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-security-privacy__faq-container {
  margin-top: 40px;
  border-top: 1px solid var(--jun88-border-color);
}

.page-resources-security-privacy__faq-item {
  border-bottom: 1px solid var(--jun88-border-color);
}

.page-resources-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-security-privacy__faq-question:hover {
  background-color: rgba(var(--jun88-primary-color-rgb, 255, 215, 0), 0.1);
}

.page-resources-security-privacy__faq-title {
  font-size: 1.3em;
  color: var(--jun88-secondary-color);
  margin: 0;
}

.page-resources-security-privacy__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--jun88-primary-color);
  transition: transform 0.3s ease;
}

.page-resources-security-privacy__faq-item.active .page-resources-security-privacy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-security-privacy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--jun88-text-dark);
}

.page-resources-security-privacy__faq-item.active .page-resources-security-privacy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 0 20px;
}

.page-resources-security-privacy__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--jun88-secondary-color);
  color: var(--jun88-text-light);
  margin-top: 60px;
  border-radius: 10px;
}

.page-resources-security-privacy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-resources-security-privacy__btn-primary {
  background-color: var(--jun88-primary-color);
  color: var(--jun88-bg-dark);
  border: 2px solid var(--jun88-primary-color);
}

.page-resources-security-privacy__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-security-privacy__btn-secondary {
  background-color: transparent;
  color: var(--jun88-primary-color);
  border: 2px solid var(--jun88-primary-color);
}

.page-resources-security-privacy__btn-secondary:hover {
  background-color: var(--jun88-primary-color);
  color: var(--jun88-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-security-privacy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-security-privacy__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-security-privacy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-security-privacy__hero-section {
    padding: 60px 15px;
  }
  .page-resources-security-privacy__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-resources-security-privacy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-resources-security-privacy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-resources-security-privacy__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-resources-security-privacy__paragraph,
  .page-resources-security-privacy__list-item {
    font-size: 1em;
  }
  .page-resources-security-privacy__faq-question {
    padding: 15px 0;
  }
  .page-resources-security-privacy__faq-title {
    font-size: 1.1em;
  }
  .page-resources-security-privacy__faq-toggle {
    font-size: 1.5em;
  }
  .page-resources-security-privacy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-security-privacy__btn-primary,
  .page-resources-security-privacy__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Responsive images, videos, and containers */
  .page-resources-security-privacy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-security-privacy__section,
  .page-resources-security-privacy__card,
  .page-resources-security-privacy__container,
  .page-resources-security-privacy__image-container,
  .page-resources-security-privacy__cta-section,
  .page-resources-security-privacy__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-security-privacy__hero-section {
    padding-top: 60px !important; /* Adjusted for mobile, assuming header offset is handled by shared */
  }
}

@media (max-width: 480px) {
  .page-resources-security-privacy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-security-privacy__section-title {
    font-size: 1.6em;
  }
  .page-resources-security-privacy__sub-title {
    font-size: 1.3em;
  }
}