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

/* Base styles for the page content, ensuring text contrast against body background */
/* Body background color is #08160F (dark), so main text should be #F2FFF6 */
.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-index-security-guarantee__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image wrapper */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-index-security-guarantee__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: -80px; /* Overlap slightly with the image for visual flow */
  border: 1px solid #2E7A4E; /* Border */
}

.page-index-security-guarantee__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-index-security-guarantee__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-security-guarantee__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantee__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-index-security-guarantee__section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-index-security-guarantee__dark-section {
  background-color: #11271B; /* Card BG */
}

.page-index-security-guarantee__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-index-security-guarantee__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Features Grid */
.page-index-security-guarantee__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-security-guarantee__feature-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

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

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

.page-index-security-guarantee__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-guarantee__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Content Grid */
.page-index-security-guarantee__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  margin-top: 50px;
}

.page-index-security-guarantee__content-grid--reverse {
  grid-template-columns: 1fr 1fr; /* Default order */
}

.page-index-security-guarantee__content-grid--reverse .page-index-security-guarantee__image-block {
  order: 2; /* Image on right */
}

.page-index-security-guarantee__content-grid--reverse .page-index-security-guarantee__text-block {
  order: 1; /* Text on left */
}

.page-index-security-guarantee__text-block {
  color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__sub-title {
  font-size: 1.8rem;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-guarantee__text-block p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-index-security-guarantee__image-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-index-security-guarantee__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

/* Support Grid */
.page-index-security-guarantee__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-security-guarantee__support-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-security-guarantee__support-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-guarantee__support-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-index-security-guarantee__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #2E7A4E; /* Border */
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantee__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
}

.page-index-security-guarantee__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-index-security-guarantee__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

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

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

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-index-security-guarantee__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-index-security-guarantee__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-index-security-guarantee__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-index-security-guarantee__cta-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-index-security-guarantee__hero-content {
    margin-top: -50px;
  }
  .page-index-security-guarantee__content-grid {
    grid-template-columns: 1fr;
  }
  .page-index-security-guarantee__content-grid--reverse .page-index-security-guarantee__image-block {
    order: initial; /* Reset order for smaller screens */
  }
  .page-index-security-guarantee__content-grid--reverse .page-index-security-guarantee__text-block {
    order: initial; /* Reset order for smaller screens */
  }
  .page-index-security-guarantee__text-block,
  .page-index-security-guarantee__image-block {
    text-align: center;
  }
  .page-index-security-guarantee__sub-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-index-security-guarantee__hero-content {
    padding: 15px;
    margin-top: -40px;
  }
  .page-index-security-guarantee__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-index-security-guarantee__intro-text {
    font-size: 1rem;
  }
  .page-index-security-guarantee__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-index-security-guarantee__section {
    padding: 50px 0;
  }
  .page-index-security-guarantee__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-index-security-guarantee__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-index-security-guarantee__features-grid,
  .page-index-security-guarantee__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-index-security-guarantee__feature-card,
  .page-index-security-guarantee__support-card {
    padding: 25px;
  }
  .page-index-security-guarantee__feature-title,
  .page-index-security-guarantee__support-title {
    font-size: 1.3rem;
  }
  .page-index-security-guarantee__sub-title {
    font-size: 1.5rem;
  }
  .page-index-security-guarantee__text-block p {
    font-size: 0.95rem;
  }
  .page-index-security-guarantee__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-index-security-guarantee__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image, video, container responsiveness */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-security-guarantee__section,
  .page-index-security-guarantee__card,
  .page-index-security-guarantee__container,
  .page-index-security-guarantee__hero-section,
  .page-index-security-guarantee__hero-image-wrapper,
  .page-index-security-guarantee__hero-content,
  .page-index-security-guarantee__features-grid,
  .page-index-security-guarantee__content-grid,
  .page-index-security-guarantee__image-block,
  .page-index-security-guarantee__text-block,
  .page-index-security-guarantee__support-grid,
  .page-index-security-guarantee__faq-list,
  .page-index-security-guarantee__faq-item,
  .page-index-security-guarantee__cta-section,
  .page-index-security-guarantee__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}

/* Ensure no image filters are used */
.page-index-security-guarantee img {
  filter: none !important;
}