/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --body-font: Arial, sans-serif;
  --title-font: Helvetica, Arial, sans-serif;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
}

p,
span,
a,
li,
button {
  font-family: var(--body-font);
}

/* ====================================
     Common Components
     ==================================== */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.feature-item {
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.tag {
  transition: background-color 0.2s ease;
}

.tag:hover {
  background-color: var(--secondary-color);
}

.cta-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Common Testimonial Styles */
.testimonial-highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.testimonial-highlight-secondary {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Testimonials Template 1: Modern Grid Layout */
.testimonials-1 {
  padding: 100px 0;
  background: linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.testimonials-1 .testimonials-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.testimonials-1 .testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-1 h2 {
  font-size: 48px;
  color: var(--tertiary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.testimonials-1 .lead-text {
  font-size: 24px;
  color: var(--tertiary-color);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-1 .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.testimonials-1 .testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonials-1 .testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonials-1 .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonials-1 .pain-duration {
  font-size: 20px;
  color: var(--tertiary-color);
  margin-bottom: 20px;
  padding-left: 60px;
}

.testimonials-1 .testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--tertiary-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonials-1 .results-text {
  background: rgba(129, 183, 26, 0.08);
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  border-left: 4px solid var(--primary-color);
}

.testimonials-1 .testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonials-1 .author-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid var(--primary-color);
}

.testimonials-1 .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-1 .author-info h4 {
  font-size: 18px;
  color: var(--tertiary-color);
  margin: 0 0 5px 0;
  font-weight: 600;
}

.testimonials-1 .author-info p {
  font-size: 14px;
  color: var(--tertiary-color);
  opacity: 0.8;
  margin: 0;
}

/* Media Queries for Testimonials */
@media (max-width: 768px) {
  .testimonials-1 .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-1 h2 {
    font-size: 36px;
  }
}
