/* ===== PAGE BASE ===== */

.pillar-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.pillar-page hr {
  border: none;
  height: 1px;
  background: #e5e5e5;   /* ✅ subtle gray */
  margin: 16px 0;
}

/* ===== HERO ===== */

.pillar-hero {
  position: relative;
  padding: 40px 20px;
  color: white;
}

.pillar-hero hr {
  background: rgba(255, 255, 255, 0.829);   /* ✅ visible on dark */
  width: 95%;
  margin: 10px 0 12px 
}


/* ✅ DARK OVERLAY */
.pillar-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);  /* ✅ controls contrast */
  z-index: 0;
}





/* ✅ ENSURE TEXT IS ABOVE */
.pillar-hero > * {
  position: relative;
  z-index: 1;
}

.pillar-hero h1 {
  color: white;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
}

.hero-sub {
  color: rgba(255,255,255,0.88);  
  margin-top: 10px;
  max-width: 620px;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.btn-primary {
  background: #111;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.8);  /* ✅ visible edge */

  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;

  font-weight: 500;

  transition: all 0.18s ease;
}

.btn-primary:hover {
  background: #dfeaf2;      /* ✅ connects to tools */
  color: #111;
  border-color: #dfeaf2;
 border: 1px solid rgba(255,255,255,0.7);
  text-decoration: none;
}


.btn-secondary {
  background: #111;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.8);  /* ✅ visible edge */

  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
   background: #dfeaf2;      /* ✅ connects to tools */
  color: #111;
  border-color: #dfeaf2;
  border: 1px solid rgba(255,255,255,0.7);
  text-decoration: none;
}



/* ===== SECTIONS ===== */

.pillar-section {
  margin-top: 40px;
}

.pillar-section h2 {
  margin-bottom: 16px;
}

.pillar-section:first-of-type {
  margin-top: 20px;
}

.related-section {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  font-size: 13px;
}

.section-title {
  display: inline-block;
  padding: 6px 12px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
  background: #f8f8f8;
  border-radius: 6px;
  color: #111;
}



/* ===== CARD GRID ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

/* responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== CARDS ===== */

.card {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: #f8f8f8;
  text-decoration: none;
  color: inherit;

  transition: all 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fafafa;   /* ✅ very subtle lift from #f8f8f8 */
}

.card.highlight:hover {
  background: #d6e5ef;   /* ✅ slightly darker than #dfeaf2 */
}

.card-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  color: #555;
}


/* ===== TOOL HIGHLIGHT ===== */

.card.highlight {
  background: #e3edf5;
}

.section-title-tools {
  background: #fdfdfde1;   

  color: rgb(0, 0, 0);
}


/* ===== RELATED ===== */

.related-block {
  display: flex;
  gap: 40px;
}

.related-group h4 {
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;

}

.related-group ul {
  list-style: none;
  padding: 0;
}

.related-group li {
  margin-bottom: 6px;
  margin-bottom: 4px;
}

.card-icon svg {
  width: 20px;
  height: 20px;

  stroke: #444;           /* ✅ neutral */
}

.card.highlight .card-icon svg {
  stroke: #2b6cb0;        /* ✅ blue for tools */
}

.contact-card {
  max-width: none;
}

/* spacing */
.contact-form {
  margin-top: 10px;
}

.form-group {
  margin-bottom: 16px;
}

/* labels */
.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

/* inputs + textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  
  padding: 10px 12px;

  border-radius: 8px;                  /* ✅ rounded */
  border: 1px solid #e2e8f0;

  background: #f8fafc;                /* ✅ soft background */

  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

/* focus state */
.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 10px 12px;

  border-radius: 8px;
  border: 1px solid #e2e8f0;

  background: #ffffff;   /* ✅ ALWAYS WHITE */

  font-size: 14px;
  font-family: inherit;

  transition: all 0.15s ease;
}

/* button spacing */
.contact-form .btn-primary {
  margin-top: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 2px rgba(43,108,176,0.12);
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #cbd5e1;
}

.contact-form input {
  resize: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.section-header {
  margin: 20px 0 10px;
  
}

.section-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.section-header p {
  font-size: 0.8rem;
  color: #666;
  margin: 2px 0 0;
}