.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicit background for content area */
}

.page-index-security-guarantee__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  text-align: center;
  color: #FFFFFF;
  background-color: #000000; /* Dark background for hero text */
  overflow: hidden;
}

.page-index-security-guarantee__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-index-security-guarantee__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim image for text readability */
}

.page-index-security-guarantee__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index-security-guarantee__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-security-guarantee__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-index-security-guarantee__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-security-guarantee__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-index-security-guarantee__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-security-guarantee__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-index-security-guarantee__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-security-guarantee__button--login:hover {
  background-color: #E0A83D;
  color: #000000;
  transform: translateY(-3px);
}

.page-index-security-guarantee__section {
  padding: 60px 20px;
  border-bottom: 1px solid #EEEEEE;
}

.page-index-security-guarantee__section:last-of-type {
  border-bottom: none;
}

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-security-guarantee__heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-security-guarantee__sub-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-index-security-guarantee__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-index-security-guarantee__text-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-security-guarantee__text-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-index-security-guarantee__image-text-group {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-security-guarantee__image-text-group--reversed {
  flex-direction: row-reverse;
}

.page-index-security-guarantee__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-index-security-guarantee__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-index-security-guarantee__text-content {
  flex: 1;
  min-width: 300px;
}

.page-index-security-guarantee__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-security-guarantee__feature-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-guarantee__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-security-guarantee__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide in cards */
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-security-guarantee__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index-security-guarantee__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-index-security-guarantee__paragraph--cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.2em;
  font-weight: bold;
}

.page-index-security-guarantee__call-to-action {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-security-guarantee__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-index-security-guarantee__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-3px);
}

.page-index-security-guarantee__button--secondary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-security-guarantee__button--secondary:hover {
  background-color: #E0A83D;
  border-color: #E0A83D;
  transform: translateY(-3px);
}

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

  .page-index-security-guarantee__heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee__hero-section {
    padding-bottom: 40px;
  }

  .page-index-security-guarantee__hero-title {
    font-size: 2.2em;
  }

  .page-index-security-guarantee__hero-description {
    font-size: 1em;
  }

  .page-index-security-guarantee__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-security-guarantee__button {
    width: 80%;
    max-width: 300px;
  }

  .page-index-security-guarantee__heading {
    font-size: 1.8em;
  }

  .page-index-security-guarantee__sub-heading {
    font-size: 1.5em;
  }

  .page-index-security-guarantee__paragraph {
    font-size: 0.95em;
  }

  .page-index-security-guarantee__image-text-group {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-security-guarantee__image-text-group--reversed {
    flex-direction: column;
  }

  .page-index-security-guarantee__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-index-security-guarantee__feature-card {
    padding: 25px;
  }

  .page-index-security-guarantee__call-to-action {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area images must not overflow */
  .page-index-security-guarantee img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content area image is smaller than 200px */
  .page-index-security-guarantee__image-wrapper img,
  .page-index-security-guarantee__feature-card img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Occupy full width within its container */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-security-guarantee__hero-title {
    font-size: 1.8em;
  }

  .page-index-security-guarantee__heading {
    font-size: 1.6em;
  }

  .page-index-security-guarantee__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-security-guarantee__section {
    padding: 40px 15px;
  }
}