/* style/security-guarantee.css */
.page-security-guarantee {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Ensure sections within main inherit or define their own */
}

.page-security-guarantee__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
  overflow: hidden;
  color: #ffffff;
}

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

.page-security-guarantee__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

.page-security-guarantee__hero-cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-security-guarantee__hero-cta-button:hover {
  background-color: #d46a00;
  transform: translateY(-2px);
}

.page-security-guarantee__video-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: #1a1a2e;
  color: #ffffff;
  text-align: center;
}

.page-security-guarantee__video-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

.page-security-guarantee__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-security-guarantee__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none; /* Allow clicks to pass through to video */
}

.page-security-guarantee__video-overlay:hover {
  opacity: 0;
}

.page-security-guarantee__video-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-security-guarantee__video-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-security-guarantee__video-cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  border: none;
  pointer-events: all; /* Make button clickable */
}

.page-security-guarantee__video-cta-button:hover {
  background-color: #1e87b7;
}

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

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

.page-security-guarantee__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-security-guarantee__key-principles {
  background-color: #1a1a2e;
  padding: 60px 0;
}

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

.page-security-guarantee__card {
  background-color: #26324b; /* Slightly lighter dark background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-security-guarantee__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-security-guarantee__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 400px; /* Ensure minimum size */
  height: 300px; /* Ensure minimum size */
  object-fit: cover;
}

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

.page-security-guarantee__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-security-guarantee__licensing, .page-security-guarantee__customer-support {
  background-color: #1a1a2e;
  padding: 60px 0;
}

.page-security-guarantee__content-block {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-security-guarantee__content-block--reverse {
  flex-direction: row-reverse;
}

.page-security-guarantee__content-block img {
  flex: 1;
  min-width: 400px; /* Ensure minimum size */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-security-guarantee__text-content {
  flex: 2;
  color: #ffffff;
}

.page-security-guarantee__content-subtitle {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-security-guarantee__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-security-guarantee__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-security-guarantee__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-security-guarantee__faq {
  background-color: #1a1a2e;
  padding: 60px 0 80px 0;
}

.page-security-guarantee__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-security-guarantee__faq-item {
  background-color: #26324b;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #26A9E0; /* Brand color for question background */
  transition: background-color 0.3s ease;
}

.page-security-guarantee__faq-question:hover {
  background-color: #1e87b7;
}

.page-security-guarantee__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-security-guarantee__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-security-guarantee__hero-title {
    font-size: 2.8em;
  }
  .page-security-guarantee__section-title {
    font-size: 2.4em;
  }
  .page-security-guarantee__content-subtitle {
    font-size: 1.8em;
  }
  .page-security-guarantee__content-block {
    flex-direction: column;
    text-align: center;
  }
  .page-security-guarantee__content-block--reverse {
    flex-direction: column;
  }
  .page-security-guarantee__text-content {
    margin-top: 30px;
  }
  .page-security-guarantee__content-block img {
    min-width: unset;
    width: 100%;
    max-width: 600px;
  }
}

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

  .page-security-guarantee__hero-section {
    min-height: 450px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-security-guarantee__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-security-guarantee__video-section {
    padding: 40px 0;
  }

  .page-security-guarantee__video-wrapper {
    padding-bottom: 56.25%;
  }

  .page-security-guarantee__video-overlay {
    padding: 15px;
  }

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

  .page-security-guarantee__video-description {
    font-size: 0.9em;
  }

  .page-security-guarantee__video-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-security-guarantee__container {
    padding: 0 15px;
  }

  .page-security-guarantee__section-title {
    font-size: 2em;
    padding-top: 30px;
  }

  .page-security-guarantee__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-security-guarantee__key-principles,
  .page-security-guarantee__licensing,
  .page-security-guarantee__customer-support,
  .page-security-guarantee__faq {
    padding: 40px 0;
  }

  .page-security-guarantee__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-security-guarantee__card {
    padding: 20px;
  }

  .page-security-guarantee__card img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-security-guarantee__content-block {
    gap: 30px;
  }

  .page-security-guarantee__content-block img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-security-guarantee__content-subtitle {
    font-size: 1.5em;
  }

  .page-security-guarantee__text-content p {
    font-size: 1em;
  }

  .page-security-guarantee__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-security-guarantee__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-security-guarantee__faq-item.active .page-security-guarantee__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images are responsive in content areas */
  .page-security-guarantee img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-security-guarantee__section,
  .page-security-guarantee__card,
  .page-security-guarantee__container,
  .page-security-guarantee__video-section,
  .page-security-guarantee__video-wrapper,
  .page-security-guarantee__cta-buttons,
  .page-security-guarantee__button-group,
  .page-security-guarantee__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-security-guarantee__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section accounts for header on mobile */
  }

  .page-security-guarantee__video,
  .page-security-guarantee video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-security-guarantee__cta-button,
  .page-security-guarantee__btn-primary,
  .page-security-guarantee__btn-secondary,
  .page-security-guarantee a[class*="button"],
  .page-security-guarantee a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-security-guarantee__cta-buttons,
  .page-security-guarantee__button-group,
  .page-security-guarantee__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-security-guarantee__hero-title {
    font-size: 1.8em;
  }
  .page-security-guarantee__section-title {
    font-size: 1.6em;
  }
  .page-security-guarantee__content-subtitle {
    font-size: 1.3em;
  }
  .page-security-guarantee__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-security-guarantee__faq-answer {
    padding: 0 15px;
  }
  .page-security-guarantee__faq-item.active .page-security-guarantee__faq-answer {
    padding: 12px 15px;
  }
}