/* =============================================
   QUICK QUOTATION PAGE — feature-quick-quotation.css
   Prefix for page-specific rules: fqq-
   ============================================= */

/* ---- Base ---- */
body { overflow-x: hidden; }
.section { background-color: white !important; }
h1, h2, h3, h4, h5, h6 { word-wrap: break-word; }
img { max-width: 100%; }

/* =========================================
   fs2 design system — copied verbatim from
   feature_subpage2.ejs inline <style> block
   ========================================= */
.fs2-section-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; margin: 0 0 2rem; line-height: 1.3; }
.fs2-hero { padding: 40px 0; }
.fs2-hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.25; color: #1a1a1a; text-wrap: balance; }
.fs2-hero .h1-highlight { color: #0A1A6F; display: block; text-wrap: balance; }
.fs2-hero .fs2-desc { font-size: 1rem; color: #555; margin-top: 1rem; line-height: 1.7; }

/* Pain Points */
.fs2-pain-points { padding: 40px 0; background: #fff; }
.fs2-pain-card { background: #fff; border: 1.5px solid #c0bfcf; border-radius: 16px; padding: 36px 28px 32px; text-align: center; height: 100%; box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: default; }
.fs2-pain-card:hover { transform: translateY(-6px); box-shadow: 0 10px 32px rgba(0,0,0,.10); border-color: #d0d0d0; }
.fs2-pain-icon { width: 56px; height: 56px; border-radius: 50%; background: #FFDAD6; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #e05c5c; font-size: 1.25rem; }
.fs2-pain-card h5 { font-weight: 700; color: #1a1a1a; margin-bottom: 10px; font-size: 1.05rem; }
.fs2-pain-card p { color: #888; font-size: .9rem; margin: 0; line-height: 1.6; }

/* Features Grid */
.fs2-features { padding: 40px 0; }
.fs2-feat-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.fs2-feat-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 1px 6px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: default; }
.fs2-feat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.10); border-color: #c0bfcf; }
.fs2-feat-card-sm { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px; flex: 1; box-shadow: 0 1px 6px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: default; }
.fs2-feat-card-sm:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.10); border-color: #c0bfcf; }
.fs2-feat-icon { width: 36px; height: 36px; background: #eef1fb; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #0A1A6F; margin-bottom: 10px; font-size: .9rem; flex-shrink: 0; }
.fs2-feat-card h6 { font-weight: 700; color: #1a1a1a; margin-bottom: 8px; font-size: .92rem; line-height: 1.4; }
.fs2-feat-card p { color: #666; font-size: .84rem; line-height: 1.65; margin: 0; }
.fs2-feat-card .fs2-bullets li { font-size: .84rem; color: #555; line-height: 1.65; margin-bottom: 4px; }
.fs2-center-img { border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f0f4ff; min-height: 220px; }
.fs2-center-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.fs2-stacked { display: flex; flex-direction: column; gap: 1rem; }
.fs2-feat-card-sm h6 { font-weight: 700; font-size: .92rem; color: #1a1a1a; margin-bottom: 6px; line-height: 1.4; }
.fs2-feat-card-sm p { font-size: .84rem; color: #666; line-height: 1.65; margin: 0; }
.fs2-feat-icon-sm { width: 28px; height: 28px; background: #eef1fb; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #0A1A6F; font-size: .75rem; flex-shrink: 0; }

/* Comparison */
.fs2-comparison { padding: 40px 0; background: #fff; }
.fs2-cmp-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.fs2-cmp-table thead tr { background: #0A1A6F; }
.fs2-cmp-table thead th { color: #fff; padding: 16px 20px; font-weight: 600; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.fs2-cmp-table thead th.ep-col { color: #FFD700; }
.fs2-cmp-table tbody tr:nth-child(odd)  { background: #fff; }
.fs2-cmp-table tbody tr:nth-child(even) { background: #fafafa; }
.fs2-cmp-table td { padding: 13px 20px; font-size: .9rem; color: #333; border-bottom: 1px solid #eee; }
.fs2-cmp-table td.fct { font-weight: 600; color: #1a1a1a; }
.fs2-cmp-table tbody tr { transition: background .2s ease, transform .2s ease; }
.fs2-cmp-table tbody tr:hover { background: #f0f4ff !important; transform: scale(1.01); cursor: default; }
.old-x { color: #dc3545; margin-right: 5px; }
.new-check { color: #28a745; margin-right: 5px; }

/* FAQ */
.fs2-faqs { padding: 60px 0 40px; }
.fs2-faq-item { border: 1px solid #e8e8e8; border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: default; }
.fs2-faq-item:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.10); border-color: #c0bfcf; }
.fs2-faq-q-badge { background: #0A1A6F; color: #fff; border-radius: 6px; width: 28px; height: 28px; min-width: 28px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .78rem; margin-top: 1px; }
.fs2-faq-question { font-weight: 700; color: #1a1a1a; font-size: .95rem; margin: 0 0 8px; }
.fs2-faq-answer   { color: #777; font-size: .87rem; line-height: 1.6; margin: 0; padding-left: 40px; }

/* Responsive */
@media (max-width: 991px) {
  .fs2-feat-grid { grid-template-columns: 1fr 1fr; }
  .fs2-center-img { grid-column: 1 / -1; max-height: 260px; }
}
@media (max-width: 767px) {
  .fs2-hero h1 { font-size: 1.8rem; }
  .fs2-feat-grid { grid-template-columns: 1fr; }
  .fs2-center-img { max-height: 220px; }
  .fs2-hero, .fs2-pain-points, .fs2-features, .fs2-comparison, .fs2-faqs { padding: 36px 0; }
}

/* =========================================
   Shared fp- utilities (from customer-portal)
   ========================================= */
.fp-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1a6f;
  background: #e8eeff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.fp-section-heading {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  margin-bottom: 0;
}
.fp-section-lead {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.fp-prose {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.fp-prose:last-child { margin-bottom: 0; }
.fp-prose__link {
  color: #0a1a6f;
  text-decoration: none !important;
  border-bottom: 1px solid #c7d2fe;
  transition: border-color 0.18s ease;
}
.fp-prose__link:hover,
.fp-prose__link:focus {
  border-bottom-color: #0a1a6f;
  color: #0a1a6f;
  text-decoration: none !important;
}

/* ---- Primary demo button ---- */
.fqq-demo-btn {
  background-color: #0A1A6F !important;
  border-color: #0A1A6F !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 6px !important;
}
.fqq-demo-btn:hover,
.fqq-demo-btn:focus {
  background-color: #0c1e8a !important;
  border-color: #0c1e8a !important;
  color: #FFCC00 !important;
}

/* ---- Secondary outlined button ---- */
.fp-cta-secondary {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0a1a6f;
  text-decoration: none !important;
  padding: 12px 26px;
  border: 2px solid #0a1a6f;
  border-radius: 6px;
  margin-left: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}
a.fp-cta-secondary:hover {
  background: #0a1a6f;
  color: #ffffff !important;
  text-decoration: none !important;
}
@media (max-width: 991px) {
  .fp-cta-secondary { margin-left: 0; margin-top: 12px; }
}

/* =========================================
   fqq- page-specific rules
   ========================================= */

/* Prose sections */
.fqq-prose-section { padding: 60px 0; }
.fqq-prose-section--alt { background: #f7f8fc; }

/* Make a copy sub-block (Section 4) */
.fqq-sub-block {
  background: #f0f4ff;
  border-left: 4px solid #0A1A6F;
  border-radius: 8px;
  padding: 20px 24px;
  max-width: 820px;
  margin: 24px auto 0;
}
.fqq-sub-block p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}

/* Section 7 outcome cards */
.fqq-outcome-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px 28px;
  height: 100%;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fqq-outcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  border-color: #c0bfcf;
}
.fqq-outcome-card__icon {
  width: 40px;
  height: 40px;
  background: #eef1fb;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0A1A6F;
  font-size: 1rem;
  margin-bottom: 14px;
}
.fqq-outcome-card h6 {
  font-weight: 700;
  color: #1a1a1a;
  font-size: .95rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.fqq-outcome-card p {
  font-size: .88rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Closing line for Section 7 */
.fqq-closing-line {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #374151;
  text-align: center;
  margin-top: 32px;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Section 4 — Swiper coverflow carousel (matches feature_subpage.ejs) */
.swiper-container {
  width: 100% !important;
  padding-bottom: 50px !important;
  position: relative !important;
  top: 40px !important;
  backface-visibility: hidden !important;
  perspective: 1000px !important;
}
.swiper-slide {
  width: 213px !important;
  display: flex;
  justify-content: center;
}
.swiper-slide img {
  height: 400px;
  transform: translate3d(0, 0, 0) !important;
  image-rendering: -webkit-optimize-contrast !important;
}
.slider__pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: relative;
  top: 5px;
  left: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1024px) {
  .swiper-container { padding-bottom: 30px !important; top: 0 !important; }
  .swiper-slide img { height: 360px; }
}
/* Tablet: constrain swiper to desktop column width so pyramid proportions match */
@media (min-width: 768px) and (max-width: 991px) {
  .swiper-container {
    max-width: 451px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 767px) {
  .swiper-container { padding-bottom: 20px !important; }
  .swiper-slide { width: 170px !important; }
  .swiper-slide img { height: 320px; }
  .slider__pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 0;
  }
}
@media (max-width: 480px) {
  .swiper-slide { width: 170px !important; }
  .swiper-slide img { height: 280px; }
}

/* Section 6 — floating card */
.fqq-floating-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(10, 26, 111, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 48px 40px;
  border: 1px solid rgba(10, 26, 111, 0.08);
}
@media (max-width: 767px) {
  .fqq-floating-card { padding: 32px 24px; }
}

/* Section 2 — dark navy mesh (matches enterprise-complexity on integration page) */
.fqq-dark-section {
  background: #0A1A6F url('/website-files/img/Feature_New_Imf/cta_bk.png') center center / cover no-repeat;
  padding: 60px 0;
}
.fqq-dark-section .fp-section-heading {
  color: #ffffff;
}
.fqq-dark-section .fp-prose {
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive prose */
@media (max-width: 767px) {
  .fqq-prose-section { padding: 40px 0; }
  .fp-section-heading { font-size: 22px; }
  .fqq-demo-btn { margin-bottom: 8px; }
}
