/* style/index-security-guarantee.css */

/* Base styles for the page content */
.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #26A9E0; /* Brand main color for hero section background */
  color: #FFFFFF; /* White text for dark background */
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width on larger screens */
  margin-bottom: 30px; /* Space between image and content */
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantee__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF; /* Ensure white text on brand blue background */
}

.page-index-security-guarantee__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF; /* Ensure white text */
}

.page-index-security-guarantee__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF; /* Ensure white text */
}

/* General Content Area */
.page-index-security-guarantee__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* White background for content */
  color: #333333; /* Dark text for white background */
}

.page-index-security-guarantee__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand main color for section titles */
  text-align: center;
}

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

.page-index-security-guarantee__list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-index-security-guarantee__list li {
  margin-bottom: 10px;
}

/* Feature Grid */
.page-index-security-guarantee__feature-grid,
.page-index-security-guarantee__payment-methods,
.page-index-security-guarantee__support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-index-security-guarantee__feature-card,
.page-index-security-guarantee__payment-card,
.page-index-security-guarantee__support-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-index-security-guarantee__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Constrain image height in cards */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.page-index-security-guarantee__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand main color for card titles */
}

.page-index-security-guarantee__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take up available space */
}

/* Call to Action Buttons */
.page-index-security-guarantee__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand main color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: 2px solid transparent;
}

.page-index-security-guarantee__btn-primary:hover {
  background-color: #1a8cc7; /* Slightly darker blue on hover */
  transform: translateY(-2px);
}

.page-index-security-guarantee__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand main color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: 2px solid #26A9E0; /* Border with brand main color */
}

.page-index-security-guarantee__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc7;
  transform: translateY(-2px);
}

.page-index-security-guarantee__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: 40px;
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #f8f8f8; /* Light grey background for FAQ */
  color: #333333;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

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

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

.page-index-security-guarantee__faq-item details > summary {
  list-style: none; /* Hide default marker */
}

.page-index-security-guarantee__faq-item details > summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.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: #26A9E0; /* Brand main color for FAQ questions */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index-security-guarantee__faq-question:hover {
  background-color: #f0f8ff; /* Light hover effect */
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
}

.page-index-security-guarantee__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-security-guarantee__hero-content {
    max-width: 700px;
  }
}

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

  .page-index-security-guarantee__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-index-security-guarantee__content-area,
  .page-index-security-guarantee__faq-section {
    padding: 40px 15px;
  }

  .page-index-security-guarantee__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-index-security-guarantee__text-block {
    font-size: 1em;
  }

  /* Images */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers */
  .page-index-security-guarantee__hero-image-wrapper,
  .page-index-security-guarantee__feature-card,
  .page-index-security-guarantee__payment-card,
  .page-index-security-guarantee__support-card,
  .page-index-security-guarantee__content-area,
  .page-index-security-guarantee__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    margin: 10px 0 !important; /* Adjust margin for vertical stacking */
  }

  /* Button containers */
  .page-index-security-guarantee__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
    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 {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index-security-guarantee__faq-answer {
    padding: 0 20px 15px;
  }
}

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

/* Color Contrast Fixes if needed */
.page-index-security-guarantee__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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