/* =========================================
   Testimonials Page
   ========================================= */

/* Current-page nav highlight */
.index-nav-links a.active {
  background: #09275D;
}

/* ---------- Continuous parallax backdrop ----------
   One fixed layer behind the whole page so the pattern flows
   continuously through the hero, testimonials, and footer. */
.testi-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: #09275D url(../images/Paralax_Background.jpg) center center / cover no-repeat;
  pointer-events: none;
}

/* Let the backdrop show through these sections */
.testi-page .testi-hero,
.testi-page .testi-section,
.testi-page .footer-section {
  background: transparent;
}

/* Small legal-type copyright line */
.testi-page .footer-section .section-para {
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Hero ---------- */
.testi-hero {
  text-align: center;
  padding: 62px 0 26px;
}

.testi-logo {
  max-width: 330px;
  width: 100%;
  margin-bottom: 16px;
  /* optical-center nudge to the right */
  transform: translateX(16px);
}

.testi-hero h1 {
  font-size: 72px;
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
}

.testi-sub {
  max-width: 780px;
  margin: 18px auto 0;
  font-size: 28px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

/* ---------- Testimonials grid ---------- */
.testi-section {
  padding: 30px 0 70px;
}

.testi-grid {
  column-count: 2;
  column-gap: 32px;
}

.testi-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  background: #13376f;
  border: 2px solid #2C6BB3;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
  padding: 28px 36px 34px;
  margin: 0 0 32px;
}

.testi-quote-mark {
  display: block;
  font-family: "Georgia";
  font-weight: 700;
  font-size: 104px;
  line-height: 1;
  height: 60px;
  overflow: hidden;
  color: #3f90de;
  margin-bottom: 12px;
}

.testi-callout {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 22px;
}

.testi-body p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}

.testi-body p:last-child {
  margin-bottom: 0;
}

.testi-attr {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: #6cb0f0;
}

/* ---------- Closing CTA ---------- */
.testi-cta {
  background: #1C60A8;
  padding: 64px 0;
  overflow: hidden;
  text-align: center;
}

.testi-cta h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
}

.testi-cta-text p {
  margin-top: 16px;
  font-size: 28px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

.testi-cta-btn {
  margin-top: 28px;
}

.testi-cta-btn a img {
  max-width: 520px;
  width: 100%;
}

/* ---------- Responsive ---------- */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .testi-hero h1 {
    font-size: 60px;
  }
  .testi-callout {
    font-size: 27px;
  }
  .testi-cta h2 {
    font-size: 44px;
  }
}

@media screen and (max-width: 991px) {
  .testi-grid {
    column-count: 1;
  }
  .testi-hero {
    padding: 45px 0 20px;
  }
  .testi-logo {
    max-width: 250px;
  }
  .testi-hero h1 {
    font-size: 46px;
  }
  .testi-sub {
    font-size: 22px;
  }
  .testi-section {
    padding: 26px 0 50px;
  }
  .testi-card {
    padding: 26px 30px 30px;
  }
  .testi-callout {
    font-size: 27px;
  }
  .testi-cta {
    padding: 48px 0;
  }
  .testi-cta h2 {
    font-size: 40px;
    text-align: center;
  }
  .testi-cta-text {
    text-align: center;
  }
  .testi-cta-text p {
    font-size: 24px;
  }
  .testi-cta-btn {
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  .testi-hero h1 {
    font-size: 34px;
  }
  .testi-logo {
    max-width: 200px;
  }
  .testi-sub {
    font-size: 18px;
  }
  .testi-card {
    padding: 22px 22px 26px;
  }
  .testi-quote-mark {
    font-size: 78px;
    height: 46px;
  }
  .testi-callout {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .testi-body p {
    font-size: 16px;
  }
  .testi-attr {
    font-size: 17px;
  }
  .testi-cta h2 {
    font-size: 30px;
  }
  .testi-cta-text p {
    font-size: 19px;
  }
}
