:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #f0f0f0;
  --background-light: #ffffff;
  --border-color: #e0e0e0;
  --register-button-bg: #C30808;
  --register-button-text: #FFFF00;
}

.page-user-reviews {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Assuming body background is light */
  background-color: var(--background-light); /* Default background for page content */
}

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

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

.page-user-reviews__section-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-user-reviews__text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-user-reviews__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-user-reviews__text-block a:hover {
  color: #005f2e; /* Darken primary color */
}

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

/* Hero Section */
.page-user-reviews__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(1, 116, 57, 0.8) 50%, var(--secondary-color) 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-user-reviews__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-user-reviews__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding-bottom: 30px;
}

.page-user-reviews__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-user-reviews__intro-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-user-reviews__hero-image-wrapper {
  width: 100%;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-user-reviews__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.page-user-reviews__hero-image:hover {
  transform: scale(1.03);
}

/* CTA Button */
.page-user-reviews__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-button-bg); /* Specific color for register/login */
  color: var(--register-button-text); /* Specific color for register/login text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--register-button-text);
}

.page-user-reviews__cta-button:hover {
  background: #A00606; /* Darker shade of register button bg */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-user-reviews__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-user-reviews__cta-button--secondary:hover {
  background: #33A069; /* Lighter shade of primary color */
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Feature Cards (Overview Section) */
.page-user-reviews__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-user-reviews__card {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-user-reviews__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-user-reviews__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-user-reviews__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-user-reviews__card-text {
  font-size: 16px;
  color: var(--text-dark);
}

/* Testimonials Section */
.page-user-reviews__testimonials {
  background: var(--primary-color); /* Dark background */
  color: var(--text-light);
  padding: 80px 0;
}

.page-user-reviews__testimonials .page-user-reviews__section-title {
  color: var(--secondary-color);
}

.page-user-reviews__testimonials .page-user-reviews__text-block {
  color: var(--text-light);
}

.page-user-reviews__testimonials .page-user-reviews__highlight {
  color: var(--register-button-text); /* Highlight with yellow on dark background */
}

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

.page-user-reviews__testimonial-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-user-reviews__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

.page-user-reviews__testimonial-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}