/* style/index-user-testimonials.css */

/* Base styles for the page content */
.page-index-user-testimonials {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-index-user-testimonials__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-user-testimonials__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-index-user-testimonials__light-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-user-testimonials__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-index-user-testimonials__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-index-user-testimonials__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-user-testimonials__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, 10px for visual spacing */
  overflow: hidden;
  min-height: 600px;
}

.page-index-user-testimonials__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-index-user-testimonials__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-index-user-testimonials__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-index-user-testimonials__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-index-user-testimonials__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-index-user-testimonials__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index-user-testimonials__btn-primary,
.page-index-user-testimonials__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index-user-testimonials__btn-primary:hover {
  background-color: #1e87b5;
  border-color: #1e87b5;
}

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

.page-index-user-testimonials__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b5;
  border-color: #1e87b5;
}

/* Overview Section */
.page-index-user-testimonials__overview-section .page-index-user-testimonials__section-title,
.page-index-user-testimonials__overview-section .page-index-user-testimonials__text-block {
  color: #ffffff; /* Text color for light-bg section */
}

/* Why Love Section (Features Grid) */
.page-index-user-testimonials__why-love-section .page-index-user-testimonials__section-title {
  color: #ffffff;
}

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

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

.page-index-user-testimonials__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-user-testimonials__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
  text-align: center;
}

.page-index-user-testimonials__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  text-align: center;
}

/* Testimonials List Section */
.page-index-user-testimonials__testimonials-list-section .page-index-user-testimonials__section-title,
.page-index-user-testimonials__testimonials-list-section .page-index-user-testimonials__section-subtitle {
  color: #ffffff; /* Text color for light-bg section */
}

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

.page-index-user-testimonials__testimonial-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter card background */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-user-testimonials__testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.page-index-user-testimonials__user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #26A9E0;
}

.page-index-user-testimonials__user-info {
  display: flex;
  flex-direction: column;
}

.page-index-user-testimonials__user-name {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin: 0;
}

.page-index-user-testimonials__review-date {
  font-size: 0.9em;
  color: #cccccc;
  margin: 0;
}

.page-index-user-testimonials__rating {
  color: #FFD700; /* Gold color for stars */
  font-size: 1.2em;
  margin-bottom: 15px;
}

.page-index-user-testimonials__review-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
}

/* FAQ Section */
.page-index-user-testimonials__faq-section .page-index-user-testimonials__section-title {
  color: #ffffff;
}

.page-index-user-testimonials__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-user-testimonials__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-index-user-testimonials__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  user-select: none; /* Prevent text selection */
}

.page-index-user-testimonials__faq-question::-webkit-details-marker, /* Hide default marker */
.page-index-user-testimonials__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-user-testimonials__faq-item summary {
  list-style: none;
}

.page-index-user-testimonials__faq-qtext {
  flex-grow: 1;
}

.page-index-user-testimonials__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-index-user-testimonials__faq-item[open] .page-index-user-testimonials__faq-toggle {
  transform: rotate(45deg);
}

.page-index-user-testimonials__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Bottom Section */
.page-index-user-testimonials__cta-bottom-section .page-index-user-testimonials__section-title,
.page-index-user-testimonials__cta-bottom-section .page-index-user-testimonials__text-block {
  color: #ffffff; /* Text color for light-bg section */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-user-testimonials__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-index-user-testimonials__hero-description {
    font-size: 1.1em;
  }
  .page-index-user-testimonials__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-user-testimonials__section {
    padding: 40px 0;
  }
  .page-index-user-testimonials__hero-section {
    padding: 10px 0 40px 0;
    min-height: 500px;
  }
  .page-index-user-testimonials__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }
  .page-index-user-testimonials__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index-user-testimonials__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-user-testimonials__btn-primary,
  .page-index-user-testimonials__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-user-testimonials__features-grid,
  .page-index-user-testimonials__testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-index-user-testimonials__feature-card,
  .page-index-user-testimonials__testimonial-card {
    padding: 20px;
  }
  .page-index-user-testimonials__user-avatar {
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }
  .page-index-user-testimonials__user-name {
    font-size: 1.1em;
  }
  .page-index-user-testimonials__review-date {
    font-size: 0.8em;
  }
  .page-index-user-testimonials__review-text {
    font-size: 0.9em;
  }
  .page-index-user-testimonials__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-index-user-testimonials__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .page-index-user-testimonials img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-user-testimonials__section,
  .page-index-user-testimonials__card,
  .page-index-user-testimonials__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-user-testimonials__hero-section {
    padding-top: 10px !important;
  }
  .page-index-user-testimonials video,
  .page-index-user-testimonials__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-user-testimonials__video-section,
  .page-index-user-testimonials__video-container,
  .page-index-user-testimonials__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-user-testimonials__video-section {
    padding-top: 10px !important;
  }
  .page-index-user-testimonials__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-index-user-testimonials__section-title {
    font-size: 1.8em;
  }
  .page-index-user-testimonials__hero-description {
    font-size: 0.9em;
  }
  .page-index-user-testimonials__btn-primary,
  .page-index-user-testimonials__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-index-user-testimonials__feature-title {
    font-size: 1.3em;
  }
  .page-index-user-testimonials__review-text {
    font-size: 0.85em;
  }
  .page-index-user-testimonials__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-index-user-testimonials__faq-answer {
    font-size: 0.9em;
    padding: 12px 15px;
  }
}