/* SECTION */
.testimonial-section {
  padding: 10px 20px;
  position: relative;
  text-align: center;
  overflow: visible;
}

/* subtle background glow */
.testimonial-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(207,175,107,0.15), transparent 70%);
  top: -100px;
  left: -100px;
  z-index: 0;
}

/* HEADER */
.testimonial-header {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: auto;
}

.testimonial-header .tag {
  background: rgba(163,177,138,0.2);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  backdrop-filter: blur(6px);
}

.testimonial-header h2 {
  margin: 20px 0 30px; /* was 50px */
  font-weight: 600;
}

/* STATS (GLASS STYLE) */
.stats-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px; /* was 80px */
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  padding: 15px 20px; /* was 0px 15px */
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.stat h3 {
  font-size: 38px;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.stat p {
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* TESTIMONIAL CARDS */
.testimonial-cards {
  display: flex;
  gap: 25px; /* slightly tighter */
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px; /* was 80px */
  position: relative;
  z-index: 2;
}

.testimonial-card {
  max-width: 320px;
  background: var(--color-white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* bamboo accent line */
.testimonial-card::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, var(--color-bamboo), var(--color-primary));
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* quote styling */
.testimonial-card p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
}

.testimonial-card p::before {
  content: "“";
  font-size: 40px;
  color: var(--color-bamboo);
  position: absolute;
  left: -10px;
  top: -10px;
  opacity: 0.4;
}

/* client name */
.testimonial-card h4 {
  margin: 0;
  font-size: 16px;
}

/* tag */
.testimonial-card span {
  font-size: 12px;
  color: var(--color-soft-green);
}

.client-logos img {
  height: 42px;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.client-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.15);
  opacity: 1;
}

/* CTA BUTTON ICONS */
.cta-btn span img {
  width: 20px;         /* set fixed width */
  height: 20px;        /* set fixed height */
  object-fit: contain;  /* keep icon proportions */
  vertical-align: middle;
  margin-right: 8px;   /* space between icon and text */
}


/* Floating leaves (unchanged) */
.leaf{
  position:absolute;
  width:60px;
  height:60px;
  background:url('/assets/images/leaf.png') no-repeat center/contain;
  opacity:.45;
  animation:floatLeaf 7s ease-in-out infinite;
  z-index:1;
}

/* LEFT SIDE LEAVES */
.testimonial-leaf-left-1{
  top:20%;
  left:15%;
  animation-delay:0s;
}

.testimonial-leaf-left-2{
  top:78%;
  left:72%;
  animation-delay:2s;
}


@keyframes floatLeaf{
  0%{
    transform:translateY(0) rotate(0deg);
  }

  50%{
    transform:translateY(-20px) rotate(12deg);
  }

  100%{
    transform:translateY(0) rotate(0deg);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .testimonial-header h2 {
    font-size: 28px;
  }

  .stats-wrapper {
    gap: 20px;
  }

  .stat {
    padding: 20px;
  }

  .testimonial-card {
    max-width: 100%;
  }
}