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

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-security-guarantee__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-index-security-guarantee__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-index-security-guarantee__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-index-security-guarantee__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-security-guarantee__btn-primary:hover {
  background: #1a7bbd;
  border-color: #1a7bbd;
}

.page-index-security-guarantee__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-security-guarantee__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

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

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-index-security-guarantee__content-section {
  padding: 60px 0;
}

.page-index-security-guarantee__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-index-security-guarantee__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-security-guarantee__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-security-guarantee__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-security-guarantee__dark-bg .page-index-security-guarantee__section-title,
.page-index-security-guarantee__dark-bg .page-index-security-guarantee__sub-title {
  color: #ffffff;
}

.page-index-security-guarantee__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-index-security-guarantee__feature-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-index-security-guarantee__dark-bg .page-index-security-guarantee__feature-card {
  background: rgba(255, 255, 255, 0.95);
}

.page-index-security-guarantee__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-index-security-guarantee__feature-description {
  font-size: 1em;
  text-align: justify;
  flex-grow: 1;
}

.page-index-security-guarantee__text-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-security-guarantee__text-with-image--reverse {
  flex-direction: row-reverse;
}

.page-index-security-guarantee__text-with-image .page-index-security-guarantee__text-block {
  flex: 1;
}

.page-index-security-guarantee__text-with-image .page-index-security-guarantee__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-security-guarantee__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index-security-guarantee__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-index-security-guarantee__inline-link:hover {
  color: #1a7bbd;
}

.page-index-security-guarantee__faq-list {
  margin-top: 40px;
}

.page-index-security-guarantee__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-index-security-guarantee__faq-question:hover {
  background-color: #f0f0f0;
}

.page-index-security-guarantee__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-index-security-guarantee__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-index-security-guarantee__faq-item.active .page-index-security-guarantee__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px;
}

.page-index-security-guarantee__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

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

  .page-index-security-guarantee__section-title {
    font-size: 2em;
  }

  .page-index-security-guarantee__text-with-image,
  .page-index-security-guarantee__text-with-image--reverse {
    flex-direction: column;
    text-align: center;
  }

  .page-index-security-guarantee__text-with-image .page-index-security-guarantee__image-wrapper {
    margin-top: 30px;
  }
}

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

  .page-index-security-guarantee__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

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

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

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

  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  /* Images responsiveness */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-security-guarantee__hero-image-wrapper,
  .page-index-security-guarantee__image-wrapper,
  .page-index-security-guarantee__feature-grid,
  .page-index-security-guarantee__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-index-security-guarantee__faq-question,
  .page-index-security-guarantee__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}