.box {
    background-color: #aebbb0;
    padding: 2em;
}

body.dark-mode .box {
    background-color: #181818;
}

/* --- Content Container Background --- */
/* This container wraps the main page content (excluding header/footer/sidebar) */
.content-container {
    background-color: #ffffff;
    /* Light mode background */
    padding: 2em;
    margin: 150px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

body.dark-mode .content-container {
    background-color: #111;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* --- Google Reviews Section (Inside the Content Container) --- */
.google-reviews-section {
    text-align: center;
    margin-bottom: 1.5em;
}

.google-reviews-section .reviews-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.google-reviews-section .reviews-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    transition: color 0.3s;
}

/* Reviews container and individual review styling */
#reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: background 0.3s, border-color 0.3s;
}

.review .stars {
    color: gold;
    margin-bottom: 0.5rem;
}

.review p {
    margin: 0;
}

.review:last-child {
    border-bottom: none;
}

.review .review-author {
    font-weight: bold;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.review .review-text {
    margin-bottom: 10px;
    transition: color 0.3s;
}

.review .review-stars {
    color: #f5c518;
    /* Star yellow */
    font-size: 1.2rem;
}

/* --- Dark Mode Styles for Reviews --- */
body.dark-mode .content-container .google-reviews-section .reviews-header h2 {
    color: #f1f1f1;
}

body.dark-mode .content-container .google-reviews-section .reviews-header p {
    color: #b0b0b0;
}

body.dark-mode .content-container #reviews-container .review {
    border: 1px solid #444;
    background-color: #3a3a3a;
}

body.dark-mode .content-container .review .review-author {
    color: #fff;
}

body.dark-mode .content-container .review .review-text {
    color: #ccc;
}

body.dark-mode .content-container .review .stars {
    color: #ffd700;
    /* Slightly brighter gold */
}

/* ================================
   CUSTOMER REVIEWS SECTION
   ================================ */

.google-reviews-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.reviews-header h2 {
  margin-bottom: 0.25rem;
  font-size: 2rem;
  font-weight: 700;
}

.reviews-header p {
  margin: 0.2rem 0;
  font-size: 1rem;
  opacity: 0.85;
}

/* optional rating line */
.overall-rating {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
}

/* ================================
   GRID LAYOUT
   ================================ */

.testimonials-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================================
   TESTIMONIAL CARDS
   ================================ */

.testimonial-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Faint background quote mark */
.testimonial-card::before {
  content: "“";
  position: absolute;
  font-size: 6rem;
  line-height: 1;
  top: -1rem;
  right: 1rem;
  opacity: 0.05;
  pointer-events: none;
}

/* Hover effect */
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

/* ================================
   INNER TEXT & COLORS (Trustpilot)
   ================================ */

/* Trustpilot Green Stars */
.testimonial-stars {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #00B67A; /* official Trustpilot green */
  letter-spacing: 0.12em;
}

/* Review text */
.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333; /* dark readable text */
}

/* Name */
.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #222;
}

/* Subtext */
.testimonial-meta {
  font-size: 0.8rem;
  opacity: 0.85;
  color: #009A66; /* darker Trustpilot green */
}

/* ================================
   BOTTOM LINK
   ================================ */

.trustpilot-link {
  text-align: center;
  margin-top: 1.75rem;
}

.trustpilot-link a {
  font-size: 0.95rem;
  text-decoration: underline;
  color: #0066cc;
}

.trustpilot-link a:hover {
  color: #004a99;
}
