:root {
  --primary: #3b82f6;
  --bg: #fafafa;
  --text: #263238;
  --muted: #475569;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

/* Section */
.cta31 {
  padding: 3.5rem 5%;
  text-align: center;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Container */
.cta31-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

/* Text */
.cta31-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #071133;
  line-height: 1.15;
}
.cta31-text p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Buttons — unified pill style */
.cta31-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cta31-buttons button,
.cta31-buttons .btn {
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}
.cta31-buttons button:hover,
.cta31-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

/* Primary / secondary */
.cta31-buttons .primary,
.cta31-buttons button.primary {
  background: var(--primary);
  color: #fff;
}
.cta31-buttons .secondary,
.cta31-buttons button.secondary {
  background: rgba(59, 130, 246, 0.06);
  color: var(--primary);
  border: 2px solid rgba(37, 99, 235, 0.12);
  padding: 0.55rem 1rem;
  box-shadow: none;
}

/* Image */
.cta31 img {
  max-width: 680px;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.03);
}

/* Responsive */
@media (min-width: 768px) {
  .cta31-container { gap: 2.5rem; }
  .cta31-text h2 { font-size: 2.25rem; }
  .cta31-text p { font-size: 1.05rem; }
}
@media (max-width: 900px) {
  .cta31 { padding: 2.5rem 4%; }
  .cta31 img { max-height: 360px; }
}
@media (max-width: 480px) {
  .cta31-text h2 { font-size: 1.6rem; }
  .cta31-buttons button,
  .cta31-buttons .btn,
  .cta31-buttons .secondary { padding: 0.5rem 1rem; font-size: 0.95rem; }
}
