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

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --btn-register-bg: #C30808;
  --btn-register-text: #FFFF00;
  --body-bg: #121212; /* From shared.css, for context */
}

.page-resources-lo88-security {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for the page content, contrasting with dark body bg */
  background-color: var(--body-bg); /* Ensure content background matches body if no specific section bg */
}

.page-resources-lo88-security__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), #004d26);
}

.page-resources-lo88-security__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-resources-lo88-security__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--secondary-color);
}

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

.page-resources-lo88-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-resources-lo88-security__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-lo88-security__btn-register,
.page-resources-lo88-security__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-lo88-security__btn-register {
  background-color: var(--btn-register-bg);
  color: var(--btn-register-text);
  border: 2px solid var(--btn-register-text);
}

.page-resources-lo88-security__btn-register:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-resources-lo88-security__btn-login {
  background-color: var(--btn-register-bg);
  color: var(--btn-register-text);
  border: 2px solid var(--btn-register-text);
}

.page-resources-lo88-security__btn-login:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-resources-lo88-security__section {
  padding: 80px 20px;
}

.page-resources-lo88-security__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-lo88-security__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-on-light);
}

.page-resources-lo88-security__dark-section {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

.page-resources-lo88-security__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-resources-lo88-security__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-lo88-security p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-lo88-security ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-lo88-security li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-resources-lo88-security__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-lo88-security__faq-list {
  margin-top: 40px;
}

.page-resources-lo88-security__faq-item {
  background-color: #f9f9f9;
  color: var(--text-on-light);
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-lo88-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--secondary-color);
  border-bottom: 1px solid #eee;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-resources-lo88-security__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-lo88-security__faq-title {
  margin: 0;
  color: var(--text-on-light);
}

.page-resources-lo88-security__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-resources-lo88-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fff;
  color: var(--text-on-light);
}

.page-resources-lo88-security__faq-item.active .page-resources-lo88-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-resources-lo88-security__faq-item.active .page-resources-lo88-security__faq-question {
  background-color: #f0f0f0;
}

.page-resources-lo88-security__faq-item.active .page-resources-lo88-security__faq-toggle {
  transform: rotate(0deg);
}

.page-resources-lo88-security__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-resources-lo88-security__cta-footer {
  margin-top: 40px;
}

.page-resources-lo88-security__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-lo88-security__btn-secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-lo88-security__hero-title {
    font-size: 2.8em;
  }

  .page-resources-lo88-security__section-title {
    font-size: 2em;
  }

  .page-resources-lo88-security__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-lo88-security {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-lo88-security__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    min-height: 450px;
  }

  .page-resources-lo88-security__hero-title {
    font-size: 2.2em;
  }

  .page-resources-lo88-security__hero-description {
    font-size: 1em;
  }

  .page-resources-lo88-security__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  .page-resources-lo88-security__btn-register,
  .page-resources-lo88-security__btn-login,
  .page-resources-lo88-security__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-lo88-security__section {
    padding: 40px 15px;
  }

  .page-resources-lo88-security__content-area {
    padding: 0;
  }

  .page-resources-lo88-security__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-lo88-security__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-lo88-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-lo88-security__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-lo88-security__faq-answer {
    padding: 0 20px;
  }

  .page-resources-lo88-security__faq-item.active .page-resources-lo88-security__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-lo88-security__cta-footer {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
  }
}

@media (max-width: 480px) {
  .page-resources-lo88-security__hero-title {
    font-size: 1.8em;
  }

  .page-resources-lo88-security__section-title {
    font-size: 1.5em;
  }

  .page-resources-lo88-security__sub-title {
    font-size: 1.2em;
  }
}