/* ===========================================
       TESTIMONIAL CARD - Main Container
       =========================================== */
.lm-testimonial-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--logicmind-white) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 4px solid var(--logicmind-accent) !important;
  position: relative;
  min-height: 280px;
}

.lm-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(253, 189, 18, 0.3) !important;
}

/* ===========================================
       TESTIMONIAL CARD - Content Stack
       =========================================== */
.lm-testimonial__content-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* ===========================================
       TESTIMONIAL CARD - Quote Text
       =========================================== */
.lm-testimonial__quote-text {
  color: var(--logicmind-black) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  font-style: italic !important;
  margin-bottom: 12px !important;
}

/* ===========================================
       TESTIMONIAL CARD - Name
       =========================================== */
.lm-testimonial__name-text {
  color: var(--logicmind-black) !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* ===========================================
       TESTIMONIAL CARD - Rating
       =========================================== */
.lm-testimonial__rating {
  color: var(--logicmind-accent) !important;
  margin: 0 !important;
}

/* ===========================================
       TESTIMONIAL CARD - Icon Image
       =========================================== */
.lm-testimonial__icon-img {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 100px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease !important;
}

.lm-testimonial-card:hover .lm-testimonial__icon-img {
  opacity: 1;
}

/* ===========================================
       RESPONSIVE ADJUSTMENTS - Tablet Large
       =========================================== */
@media (max-width: 1280px) {
  .lm-testimonial-card {
    padding: 36px;
    min-height: 270px;
  }

  .lm-testimonial__quote-text {
    font-size: 0.98rem !important;
  }

  .lm-testimonial__name-text {
    font-size: 1.15rem !important;
  }

  .lm-testimonial__icon-img {
    max-width: 90px;
    bottom: 18px;
    right: 18px;
  }
}

/* ===========================================
       RESPONSIVE ADJUSTMENTS - Tablet
       =========================================== */
@media (max-width: 960px) {
  .lm-testimonial-card {
    padding: 32px;
    min-height: 260px;
  }

  .lm-testimonial__quote-text {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }

  .lm-testimonial__name-text {
    font-size: 1.1rem !important;
  }

  .lm-testimonial__icon-img {
    max-width: 80px;
    bottom: 16px;
    right: 16px;
  }
}

/* ===========================================
       RESPONSIVE ADJUSTMENTS - Mobile
       =========================================== */
@media (max-width: 600px) {
  .lm-testimonial-card {
    padding: 24px;
    min-height: 240px;
    border-radius: 16px;
    border-width: 3px;
  }

  .lm-testimonial__quote-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .lm-testimonial__name-text {
    font-size: 1rem !important;
  }

  .lm-testimonial__icon-img {
    max-width: 70px;
    bottom: 12px;
    right: 12px;
  }
}
