/* ==========================================================================
   TESTIMONIALS SECTION STYLES — AURALIX MEDIA (PREMIUM 3-COLUMN REDESIGN)
   ========================================================================== */

.testimonials-section {
  padding: 3.5rem 0 4rem 0; /* Reduced vertical padding */
  background-color: #FFF8F6; /* Premium warm peach background matching screenshot */
  border-top: 1px solid rgba(17, 19, 24, 0.05);
  border-bottom: 1px solid rgba(17, 19, 24, 0.05);
  position: relative;
  overflow: hidden; /* Clips any offscreen elements to prevent horizontal overflow */
}

/* Header style tags */
.testimonials-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #555864;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.t-tag-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-red, #D43A2F);
  border-radius: 50%;
  display: inline-block;
}

.testimonials-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111318;
  margin-bottom: 0.8rem;
  line-height: 1.1;
}

.testimonials-subtitle {
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #555864;
  line-height: 1.6;
  font-weight: 400;
}

/* 3-Column layout grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

/* Testimonial Card Styling */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(17, 19, 24, 0.05);
  border-radius: 20px;
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(17, 19, 24, 0.015);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 58, 47, 0.25);
  box-shadow: 0 20px 45px rgba(212, 58, 47, 0.06);
}

/* Card Header elements */
.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

/* Small red star ratings in top-left */
.card-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--brand-red, #D43A2F); /* Red stars */
  font-size: 0.72rem;
}

/* Large faint double quotes in top-right */
.card-quote-mark {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  color: rgba(212, 58, 47, 0.12); /* Soft red quote mark */
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Testimonial text quote body */
.testimonial-text {
  font-size: 0.88rem;
  color: #555864;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1; /* Pushes profile block to bottom */
}

/* Author block */
.client-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px dashed rgba(17, 19, 24, 0.08);
  padding-top: 1.2rem;
  width: 100%;
}

/* Client initials circular avatar badge */
.client-initials-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 58, 47, 0.08); /* Soft brand red overlay */
  color: var(--brand-red, #D43A2F);
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-details h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111318;
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}

.client-details span {
  font-size: 0.76rem;
  color: #8a8d9a;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 480px;
    margin: 3rem auto 0 auto;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 4rem 0;
  }
}
