/* =============================================
   OJG TESTIMONIALS PAGE — Testimonials.css
   Theme: #0978EF / #014392 / #07242F
   Fonts: Poppins (body) + Urbanist (headings)
   Pure white background — no glow / no shadow on bg
   ============================================= */

#ojg-testi-hero-6204,
#ojg-testi-hero-6204 *,
#ojg-testi-grid-6204,
#ojg-testi-grid-6204 *,
#ojg-testi-cta-6204,
#ojg-testi-cta-6204 * {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

#ojg-testi-hero-6204 .fa-solid,
#ojg-testi-hero-6204 i[class*="fa-"] {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  line-height: 1;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* ============ Shared tag (same as home) ============ */
#ojg-testi-hero-6204 .ojg-section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  background: #eef6ff;
  color: #0978ef;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* =============================================
   HERO — pure white, no glow / no gradient
   ============================================= */
#ojg-testi-hero-6204 {
  background: #ffffff;
  padding: 120px 20px 50px;
  text-align: center;
  overflow-x: hidden;
}

#ojg-testi-hero-6204 .ojg-testi-hero-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

#ojg-testi-hero-6204 .ojg-testi-hero-heading {
  font-family: "Urbanist", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.22;
  color: #07242f;
  margin: 0 0 24px;
}

#ojg-testi-hero-6204 .ojg-testi-hero-text {
  font-size: 17px;
  line-height: 1.85;
  color: #64748b;
  margin: 0 auto 40px;
  max-width: 700px;
}

/* =============================================
   STATISTICS SECTION — premium icon cards
   Flat white, border only, NO box-shadow
   ============================================= */
#ojg-testi-hero-6204 .ojg-testi-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

#ojg-testi-hero-6204 .ojg-testi-stat-card {
  background: #ffffff;
  border: 1px solid #e7eef8;
  border-radius: 18px;
  padding: 32px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

#ojg-testi-hero-6204 .ojg-testi-stat-card:hover {
  border-color: #0978ef;
  transform: translateY(-4px);
}

#ojg-testi-hero-6204 .ojg-testi-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0978ef, #014392);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

#ojg-testi-hero-6204 .ojg-testi-stat-icon i {
  font-size: 21px;
  color: #ffffff;
}

#ojg-testi-hero-6204 .ojg-testi-stat-card h3 {
  font-family: "Urbanist", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #0978ef;
  margin: 0 0 8px;
}

#ojg-testi-hero-6204 .ojg-testi-stat-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: #5a6b7d;
  line-height: 1.4;
}

/* =============================================
   TESTIMONIALS GRID — flat white, no bg shadow
   ============================================= */
#ojg-testi-grid-6204 {
  background: #ffffff;
  padding: 30px 20px 100px;
  overflow-x: hidden;
}

#ojg-testi-grid-6204 .ojg-testi-grid-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

#ojg-testi-grid-6204 .ojg-testi-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 26px 28px;
  border: 1px solid #edf3fb;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#ojg-testi-grid-6204 .ojg-testi-card:hover {
  transform: translateY(-8px);
  border-color: #0978ef;
}

#ojg-testi-grid-6204 .ojg-testi-quote {
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
  color: #dbeaff;
  margin-bottom: 4px;
}

#ojg-testi-grid-6204 .ojg-testi-stars {
  color: #0978ef;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

#ojg-testi-grid-6204 .ojg-testi-review {
  font-size: 14.5px;
  line-height: 1.8;
  color: #4b6477;
  margin: 0;
  min-height: 185px;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#ojg-testi-grid-6204 .ojg-testi-review strong {
  color: #07242f;
}

#ojg-testi-grid-6204 .ojg-testi-line {
  margin: 22px 0;
  border-top: 1px solid #edf3fb;
}

#ojg-testi-grid-6204 .ojg-testi-user {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

#ojg-testi-grid-6204 .ojg-testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0978ef, #014392);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

#ojg-testi-grid-6204 .ojg-testi-user > div {
  min-width: 0;
}

#ojg-testi-grid-6204 .ojg-testi-user span {
  display: block;
  color: #07242f;
  font-size: 14px;
  font-weight: 600;
}

#ojg-testi-grid-6204 .ojg-testi-user small {
  display: block;
  margin-top: 3px;
  color: #07242f;
  font-size: 14px;
  font-weight: 600;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Small laptop */
@media (max-width: 1240px) {
  #ojg-testi-grid-6204 .ojg-testi-grid-container {
    gap: 18px;
  }

  #ojg-testi-grid-6204 .ojg-testi-card {
    padding: 26px 20px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stats-row {
    max-width: 920px;
  }
}

/* Tablet → 2 columns */
@media (max-width: 992px) {
  #ojg-testi-hero-6204 .ojg-testi-hero-heading {
    font-size: 42px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #ojg-testi-grid-6204 .ojg-testi-grid-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  #ojg-testi-grid-6204 .ojg-testi-review {
    min-height: auto;
  }
}

/* Mobile → stats stay 2 columns (2-2 grid), testimonials go back to 1 column */
@media (max-width: 768px) {
  #ojg-testi-hero-6204 {
    padding: 90px 16px 36px;
  }

  #ojg-testi-hero-6204 .ojg-testi-hero-heading {
    font-size: 30px;
  }

  #ojg-testi-hero-6204 .ojg-testi-hero-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card {
    padding: 20px 10px 18px;
    border-radius: 14px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-icon i {
    font-size: 16px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card h3 {
    font-size: 21px;
    margin: 0 0 6px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card span {
    font-size: 11.5px;
    line-height: 1.35;
  }

  #ojg-testi-grid-6204 {
    padding: 36px 18px 64px;
  }

  #ojg-testi-grid-6204 .ojg-testi-grid-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #ojg-testi-grid-6204 .ojg-testi-card {
    padding: 26px 22px 24px;
    border-radius: 18px;
  }

  #ojg-testi-grid-6204 .ojg-testi-quote {
    font-size: 40px;
    margin-bottom: 4px;
  }

  #ojg-testi-grid-6204 .ojg-testi-stars {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 14px;
  }

  #ojg-testi-grid-6204 .ojg-testi-review {
    font-size: 14.5px;
    line-height: 1.75;
    min-height: auto;
  }

  #ojg-testi-grid-6204 .ojg-testi-line {
    margin: 18px 0;
  }

  #ojg-testi-grid-6204 .ojg-testi-user {
    gap: 12px;
  }

  #ojg-testi-grid-6204 .ojg-testi-avatar {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  #ojg-testi-grid-6204 .ojg-testi-user span {
    font-size: 13.5px;
    line-height: 1.35;
  }

  #ojg-testi-grid-6204 .ojg-testi-user small {
    font-size: 12px;
    margin-top: 3px;
  }

  #ojg-testi-cta-6204 {
    padding: 64px 20px;
  }

  #ojg-testi-cta-6204 h2 {
    font-size: 27px;
  }

  #ojg-testi-cta-6204 .ojg-testi-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  #ojg-testi-cta-6204 .ojg-testi-btn-primary,
  #ojg-testi-cta-6204 .ojg-testi-btn-secondary {
    width: 100%;
  }
}

/* Very small phones — stats stay 2 columns, tighten further */
@media (max-width: 380px) {
  #ojg-testi-hero-6204 .ojg-testi-hero-heading {
    font-size: 25px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stats-row {
    gap: 10px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card {
    padding: 16px 8px 14px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card h3 {
    font-size: 18px;
  }

  #ojg-testi-hero-6204 .ojg-testi-stat-card span {
    font-size: 10.5px;
  }

  #ojg-testi-grid-6204 .ojg-testi-card {
    padding: 22px 18px;
  }

  #ojg-testi-grid-6204 .ojg-testi-review {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ojg-testi-hero-6204 .ojg-testi-stat-card,
  #ojg-testi-grid-6204 .ojg-testi-card,
  #ojg-testi-cta-6204 .ojg-testi-btn-primary,
  #ojg-testi-cta-6204 .ojg-testi-btn-secondary {
    transition: none;
  }
}
