/* ====================================
   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-4 {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    darken(var(--primary-color), 15%) 100%
  );
  color: white;
}

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

.testimonials-4 .focus-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-4 .card-content {
  text-align: center;
}

.testimonials-4 .highlight-section {
  margin-bottom: 40px;
}

.testimonials-4 .highlight-text {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  color: var(--secondary-color);
}

.testimonials-4 .highlight-text::before,
.testimonials-4 .highlight-text::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 60px;
  position: absolute;
  opacity: 0.3;
}

.testimonials-4 .highlight-text::before {
  left: -30px;
  top: -20px;
}

.testimonials-4 .highlight-text::after {
  right: -30px;
  bottom: -40px;
}

.testimonials-4 .author-section {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
}

.testimonials-4 .author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
}

.testimonials-4 .author-info {
  text-align: left;
  color: var(--primary-color);
}

/* Media Queries for Testimonials */
@media (max-width: 1200px) {
  .testimonials-5 .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 992px) {
  .testimonials-3 .timeline-wrapper::before {
    left: 20px;
  }

  .testimonials-3 .timeline-item,
  .testimonials-3 .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .testimonials-3 .timeline-marker {
    margin-right: 40px;
  }

  .testimonials-3 .testimonial-card {
    width: calc(100% - 90px);
  }
}

@media (max-width: 768px) {
  .testimonials-1 .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-4 .focus-card {
    padding: 30px;
  }

  .testimonials-4 .highlight-text {
    font-size: 24px;
  }

  .testimonials-5 .masonry-grid {
    column-count: 1;
  }

  .testimonials-1 h2,
  .testimonials-2 h2,
  .testimonials-3 h2,
  .testimonials-4 h2,
  .testimonials-5 h2 {
    font-size: 36px;
  }
}
