/* info-pages.css — styles for styled CMS info pages */

.qp-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Main action button — outline style */
.qp-btn-primary {
  display: inline-block;
  background: transparent;
  color: #2a6496 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 28px;
  border-radius: 3px;
  border: 1px solid #2a6496;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.qp-btn-primary:hover {
  background: #2a6496;
  color: #fff !important;
  border-color: #2a6496;
  text-decoration: none !important;
}

/* Section heading */
.qp-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
}

/* How It Works steps */
.qp-steps {
  margin-bottom: 24px;
}
.qp-steps-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
}
.qp-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  text-align: center;
  padding: 16px 8px;
}
@media (max-width: 600px) {
  .qp-steps-row {
    flex-direction: column;
    align-items: center;
  }
  .qp-step {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}
.qp-step-circle {
  background: #fff;
  border: 1px solid #b0c4d4;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: default;
}
.qp-step-circle:hover {
  border-color: #2a6496;
  box-shadow: 0 4px 18px rgba(42,100,150,0.2);
}
.qp-step-circle img {
  width: 42px;
  height: 42px;
  transition: filter 0.2s, transform 0.2s;
}
.qp-step-title {
  font-family: Raleway, sans-serif;
  font-weight: 400;
  color: #222;
  margin-bottom: 8px;
  font-size: 20px;
  border-bottom: 1px solid #333333;
  padding-bottom: 10px;
  font-size: 21px;
}
}
.qp-step-desc {
  font-family: 'Open Sans', sans-serif;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================
   Other Services page (pID=58) — 3-column service cards
   ========================================= */

.os-services-wrapper {
  max-width: 860px;
}

.os-services-row {
  gap: 20px;
  align-items: stretch;
}

.os-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dde6f0;
  border-radius: 10px;
  padding: 28px 16px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
  max-width: 260px;
}

.os-service-card:hover {
  box-shadow: 0 8px 28px rgba(42,100,150,0.22);
}

.os-service-card .qp-step-desc {
  flex: 1;
  margin-bottom: 18px;
}

.os-service-btn {
  margin-top: auto;
  text-align: center;
}

.os-service-btn .qp-btn-primary {
  font-size: 13px;
  padding: 8px 24px;
}

/* SVG icons: grey tone like home page */
.os-service-card .qp-step-circle img {
  filter: brightness(0) opacity(0.45);
  width: 42px;
  height: 42px;
  transition: filter 0.2s, transform 0.2s;
}

/* On hover: show site blue */
.os-service-card .qp-step-circle:hover img {
  filter: brightness(0) opacity(0.45);
}

/* Price Estimates — spin animation */
@keyframes os-spin {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(22deg); }
  70%  { transform: rotate(-12deg); }
  100% { transform: rotate(0deg); }
}
.os-service-card:nth-child(1) .qp-step-circle:hover img {
  animation: os-spin 0.55s ease-in-out;
}

/* Invoice Generator — bounce animation */
@keyframes os-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-7px); }
  65%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.os-service-card:nth-child(2) .qp-step-circle:hover img {
  animation: os-bounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Quoted Payments — pulse animation */
@keyframes os-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.os-service-card:nth-child(3) .qp-step-circle:hover img {
  animation: os-pulse 0.4s ease-in-out;
}

@media (max-width: 600px) {
  .os-services-wrapper { max-width: 100%; }
  .os-service-card { max-width: 100%; }
}
