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

/* Variables for colors */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #212529; /* Dark text for light backgrounds */
  --text-light: #f8f9fa; /* Light text for dark backgrounds */
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --border-color: #dee2e6;
}

.page-index-user-testimonials {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-index-user-testimonials .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Hero Section */
.page-index-user-testimonials__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue for depth */
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-user-testimonials__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: var(--text-light); /* Ensure title is light on dark background */
  line-height: 1.2;
}

.page-index-user-testimonials__hero-title .highlight {
  color: var(--secondary-color); /* Yellow highlight */
}

.page-index-user-testimonials__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-user-testimonials__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-user-testimonials__cta-button:hover {
  background-color: #e0a800; /* Slightly darker yellow on hover */
  transform: translateY(-3px);
}

/* Section Titles */
.page-index-user-testimonials__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-index-user-testimonials__section-title .highlight {
  color: var(--secondary-color);
}

/* Testimonials Grid */
.page-index-user-testimonials__testimonials-grid {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-index-user-testimonials__testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-user-testimonials__testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-index-user-testimonials__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--secondary-color);
}

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

.page-index-user-testimonials__username {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
  color: var(--primary-color);
}

.page-index-user-testimonials__rating {
  color: var(--secondary-color);
  font-size: 1.1em;
}

.page-index-user-testimonials__quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-user-testimonials__date {
  font-size: 0.9em;
  color: #6c757d;
  text-align: right;
}

/* Why Trust Us Section */
.page-index-user-testimonials__why-trust-us {
  background-color: #f0f8ff; /* Light blueish background */
  padding: 60px 0;
  text-align: center;
}

.page-index-user-testimonials__why-trust-us .page-index-user-testimonials__text-content {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-index-user-testimonials__feature-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-index-user-testimonials__feature-list li {
  background-color: #ffffff;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-user-testimonials__feature-list li .icon-check {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2em;
  /* Placeholder for actual icon */
  content: '✔';
  display: inline-block;
}

/* Call to Action Banner */
.page-index-user-testimonials__cta-banner {
  background: linear-gradient(90deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.page-index-user-testimonials__cta-banner .page-index-user-testimonials__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-index-user-testimonials__cta-content {
  flex: 1;
  text-align: center;
}

.page-index-user-testimonials__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-index-user-testimonials__cta-title .highlight {
  color: var(--secondary-color);
}

.page-index-user-testimonials__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-user-testimonials__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-user-testimonials__cta-main-button {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-index-user-testimonials__cta-main-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-index-user-testimonials__cta-secondary-button {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-index-user-testimonials__cta-secondary-button:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.page-index-user-testimonials__cta-image {
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

/* FAQ Section */
.page-index-user-testimonials__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-index-user-testimonials__faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index-user-testimonials__faq-question {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
}

.page-index-user-testimonials__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-index-user-testimonials__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-user-testimonials__faq-answer {
  font-size: 1.05em;
  color: var(--text-dark);
  margin-bottom: 0;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-index-user-testimonials__faq-answer.active {
  display: block;
}

/* Final CTA */
.page-index-user-testimonials__final-cta {
  background-color: #e9f7ff; /* Lighter blue */
  padding: 60px 0;
  text-align: center;
}

.page-index-user-testimonials__final-cta .page-index-user-testimonials__text-content {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-index-user-testimonials__text-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-index-user-testimonials__text-link:hover {
  color: #0056b3;
}

.page-index-user-testimonials__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-user-testimonials__hero-title {
    font-size: 2.2em;
  }
  .page-index-user-testimonials__section-title {
    font-size: 1.8em;
  }
  .page-index-user-testimonials__testimonials-grid .page-index-user-testimonials__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-user-testimonials__cta-banner .page-index-user-testimonials__container {
    flex-direction: column;
  }
  .page-index-user-testimonials__cta-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-user-testimonials__hero-section,
  .page-index-user-testimonials__testimonials-grid,
  .page-index-user-testimonials__why-trust-us,
  .page-index-user-testimonials__cta-banner,
  .page-index-user-testimonials__faq-section,
  .page-index-user-testimonials__final-cta {
    padding: 40px 0;
  }
  .page-index-user-testimonials__hero-title {
    font-size: 1.8em;
  }
  .page-index-user-testimonials__hero-subtitle,
  .page-index-user-testimonials__cta-description,
  .page-index-user-testimonials__text-content {
    font-size: 1em;
  }
  .page-index-user-testimonials__cta-button,
  .page-index-user-testimonials__cta-main-button,
  .page-index-user-testimonials__cta-secondary-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-user-testimonials__section-title {
    font-size: 1.6em;
  }
  .page-index-user-testimonials__testimonial-card {
    padding: 20px;
  }
  .page-index-user-testimonials__username {
    font-size: 1.1em;
  }
  .page-index-user-testimonials__faq-question {
    font-size: 1.1em;
  }
  .page-index-user-testimonials__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-user-testimonials__container {
    padding: 0 15px;
  }
  .page-index-user-testimonials__hero-title {
    font-size: 1.5em;
  }
  .page-index-user-testimonials__section-title {
    font-size: 1.4em;
  }
  .page-index-user-testimonials__cta-image {
    max-width: 250px;
  }
}