/* ==========================================================================
   EPSILON LEARNING SOLUTION - UI & VISUAL ENHANCEMENT STYLES
   Fixes: Testimonial Avatars, Footer Link Visibility & Layout Polish
   ========================================================================== */

/* 1. TESTIMONIALS & REVIEWS SECTION ENHANCEMENT */
.epsilon-review-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  padding: 32px 24px 28px;
  margin: 15px 8px 25px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.epsilon-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.epsilon-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px auto;
}

.epsilon-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  display: block;
}

.epsilon-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.epsilon-star-rating {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.epsilon-quote-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  padding: 0 10px;
}

.epsilon-quote-text::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 38px;
  color: #cbd5e1;
  position: absolute;
  top: -15px;
  left: -4px;
  line-height: 1;
}

.epsilon-author-name {
  font-weight: 700;
  font-size: 17px;
  color: #0f172a;
  margin-bottom: 4px;
}

.epsilon-degree-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #0f766e;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

/* 2. FOOTER SECTION MODERN STYLING (DARK SLATE THEME) */
footer.et-l--footer,
.et_pb_section_0_tb_footer {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  padding: 60px 0 20px 0 !important;
  border-top: 4px solid #10b981;
}

.et_pb_section_0_tb_footer h3 {
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #10b981 !important;
  display: inline-block !important;
  letter-spacing: 0.5px;
}

.et_pb_section_0_tb_footer .footer-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_section_0_tb_footer .footer-links-list li {
  margin-bottom: 9px !important;
  line-height: 1.5 !important;
}

.et_pb_section_0_tb_footer .footer-links-list a,
.et_pb_section_0_tb_footer a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  display: inline-block;
}

.et_pb_section_0_tb_footer .footer-links-list a:hover,
.et_pb_section_0_tb_footer a:hover {
  color: #34d399 !important;
  transform: translateX(4px);
}

.et_pb_section_0_tb_footer p,
.et_pb_section_0_tb_footer span {
  color: #cbd5e1 !important;
  font-size: 14px !important;
}

.et_pb_section_0_tb_footer strong {
  color: #ffffff !important;
}

.et_pb_section_0_tb_footer .contact-info-block {
  line-height: 1.7;
}

.et_pb_section_0_tb_footer .contact-info-block a {
  color: #38bdf8 !important;
}

.et_pb_section_0_tb_footer .contact-info-block a:hover {
  color: #7dd3fc !important;
  text-decoration: underline !important;
}

/* Footer Bottom Bar */
.epsilon-footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #334155;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.epsilon-footer-bottom a {
  color: #94a3b8 !important;
  margin: 0 10px;
}

.epsilon-footer-bottom a:hover {
  color: #34d399 !important;
}
