/* ==========================================================================
   MyKey Technology Lab — sections for the consultative single-page layout.
   Builds on the variables defined in style.css (--primary, --gray-*, etc.).
   ========================================================================== */

/* Visible reminders for content still to be filled in */
.placeholder-text { background: rgba(255, 193, 7, 0.18); border-radius: 4px; padding: 0 0.25rem; }
.placeholder-note { font-size: 0.9rem; color: var(--gray-600); font-style: italic; }

/* Smooth anchor offset for sticky header */
section[id] { scroll-margin-top: 90px; }

/* ---------- Hero ---------- */
.hero-paths { color: #ffe9b3; font-size: 1.05rem; margin-bottom: 2rem; }
.hero-paths strong { color: #fff; }
.hero-whatsapp-btn i { font-size: 1.15em; }

/* ---------- Sound familiar? (problem → solution cards) ---------- */
.problem-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: 0 1rem 2rem rgba(0, 68, 148, 0.12); border-color: rgba(0, 86, 179, 0.35); }
.problem-quote {
  position: relative;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.55;
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.problem-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -0.55rem;
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--primary-light);
}
.solution-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}
.solution-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-300); }
.solution-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.6rem; }
.solution-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a6fdc 100%);
}
.solution-head h3 { font-size: 1.12rem; font-weight: 600; margin: 0; }
.solution-text { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0.9rem; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.solution-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(0, 86, 179, 0.07);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
}
.solutions-footnote { text-align: center; margin-top: 2rem; font-size: 1.05rem; color: var(--gray-700); }
.solutions-footnote a { font-weight: 600; }

/* ---------- How we work ---------- */
.path-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}
.path-card.path-card-alt { border-top-color: #4a6fdc; }
.path-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem; }
.path-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.65rem; }
.path-card h3 i { color: var(--primary); }
.path-card p { color: var(--gray-700); margin-bottom: 0; }

.steps { counter-reset: step; position: relative; }
.step-card { position: relative; text-align: center; padding: 0 0.75rem; }
.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a6fdc 100%);
  box-shadow: 0 0.5rem 1rem rgba(0, 86, 179, 0.25);
  position: relative;
  z-index: 1;
}
.step-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0; }
@media (min-width: 992px) {
  /* connecting line between step circles */
  .steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), #4a6fdc);
    opacity: 0.25;
  }
}
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  color: var(--gray-700);
  font-size: 0.98rem;
}
.secure-note i { color: var(--primary); }

/* ---------- Why MyKey ---------- */
.why-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 1rem 2rem rgba(0, 68, 148, 0.1); }
.why-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 1rem; }
.why-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { border: 1px solid var(--gray-200); border-radius: 0.85rem !important; margin-bottom: 0.85rem; overflow: hidden; background: #fff; }
.faq-accordion .accordion-button { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.02rem; padding: 1.15rem 1.35rem; color: var(--gray-900); background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--primary-dark); background: rgba(0, 86, 179, 0.05); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.2); }
.faq-accordion .accordion-body { color: var(--gray-700); padding: 0 1.35rem 1.25rem; background: rgba(0, 86, 179, 0.05); }

/* ---------- Contact ---------- */
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
}
.contact-details a, .contact-details span { color: #fff; text-decoration: none; }
.contact-details i { margin-right: 0.45rem; opacity: 0.85; }
.cta-gradient-card .placeholder-text { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 575.98px) {
  .contact-actions .btn { width: 100%; }
  .path-card { padding: 1.5rem; }
}

/* Contact card heading must stay white on the blue gradient */
.cta-gradient-card h2 { color: #fff; }

/* Long email addresses wrap instead of overflowing the footer column */
.footer-contact-item { min-width: 0; }
.footer-contact-item a, .footer-contact-item span { overflow-wrap: anywhere; }

/* Experience line under "Why MyKey" */
.experience-line { font-size: 1.05rem; font-weight: 500; color: var(--gray-800); }
.experience-line i { color: var(--primary); margin-right: 0.5rem; }
