/* style/resources-qq88-app-security-features.css */
.page-resources-qq88-app-security-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicit for clarity */
}

.page-resources-qq88-app-security-features__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-resources-qq88-app-security-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.page-resources-qq88-app-security-features__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-resources-qq88-app-security-features__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for title */
}

.page-resources-qq88-app-security-features__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-qq88-app-security-features__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-qq88-app-security-features__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-qq88-app-security-features__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-qq88-app-security-features__cta-buttons--center {
    justify-content: center;
}

.page-resources-qq88-app-security-features__btn-primary,
.page-resources-qq88-app-security-features__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-qq88-app-security-features__btn-primary {
  background-color: #C30808; /* Custom color for register/download */
  color: #FFFF00; /* Custom font color for register/download */
  border: 2px solid #C30808;
}

.page-resources-qq88-app-security-features__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-qq88-app-security-features__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-qq88-app-security-features__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-qq88-app-security-features__content-area {
  padding: 60px 20px;
  background-color: #121212; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-qq88-app-security-features__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Custom color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-qq88-app-security-features__text-block {
  font-size: 1.05em;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-qq88-app-security-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-qq88-app-security-features__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Light text for cards */
  height: 100%; /* Ensure cards have equal height */
}

.page-resources-qq88-app-security-features__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-qq88-app-security-features__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%; /* Ensure image fills card width */
  min-height: 200px; /* Minimum size for content images */
}

.page-resources-qq88-app-security-features__card-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-qq88-app-security-features__card-text {
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
  flex-grow: 1; /* Allow text to grow and fill space */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-qq88-app-security-features__hero-title {
    font-size: 2.8em;
  }
  .page-resources-qq88-app-security-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-qq88-app-security-features__hero-section {
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-qq88-app-security-features__container {
    flex-direction: column;
    gap: 20px;
  }
  .page-resources-qq88-app-security-features__hero-content {
    text-align: center;
  }
  .page-resources-qq88-app-security-features__hero-title {
    font-size: 2.2em;
  }
  .page-resources-qq88-app-security-features__hero-description {
    font-size: 1em;
  }
  .page-resources-qq88-app-security-features__cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-resources-qq88-app-security-features__btn-primary,
  .page-resources-qq88-app-security-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-qq88-app-security-features__content-area {
    padding: 40px 15px;
  }
  .page-resources-qq88-app-security-features__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-qq88-app-security-features__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-qq88-app-security-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-qq88-app-security-features__section,
  .page-resources-qq88-app-security-features__card,
  .page-resources-qq88-app-security-features__container,
  .page-resources-qq88-app-security-features__video-section,
  .page-resources-qq88-app-security-features__video-container,
  .page-resources-qq88-app-security-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-qq88-app-security-features__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-resources-qq88-app-security-features__hero-title {
    font-size: 1.8em;
  }
  .page-resources-qq88-app-security-features__section-title {
    font-size: 1.5em;
  }
  .page-resources-qq88-app-security-features__card-title {
    font-size: 1.4em;
  }
}

/* Color contrast specific styles */
.page-resources-qq88-app-security-features__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-resources-qq88-app-security-features__light-bg {
  background: #121212; /* Using body background as light for contrast with text */
  color: #ffffff;
}

.page-resources-qq88-app-security-features p,
.page-resources-qq88-app-security-features li,
.page-resources-qq88-app-security-features__card-text {
  color: #f0f0f0; /* Ensure light text on dark backgrounds */
}