/* ===================== ROOT / BRAND ===================== */
:root {
  --brand: #c42032;          /* Techmatic signature red */
  --brand-dark: #9e1925;
  --brand-light: #ffe6e9;    /* light red tint (from techmaticsys.com) */
  --accent: #f5a623;         /* warm amber/gold accent */
  --accent-dark: #d98e0a;
  --navy: #212121;           /* heading dark */
  --text: #4a4a4a;
  --soft-bg: #f7f9fc;
}

* { box-sizing: border-box; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: "Poppins", sans-serif; color: var(--navy); font-weight: 700; }

.section { padding: 80px 0; }
.bg-light-soft { background-color: var(--soft-bg); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  position: relative;
}
.sub-title { font-size: 1.35rem; font-weight: 600; }
.text-accent { color: #ffd166; }  /* light gold — high contrast on deep-red hero */
.req { color: var(--accent); }
.lead-copy { font-size: 1.08rem; color: var(--text); }

/* ===================== BUTTONS ===================== */
.btn { font-weight: 600; border-radius: 8px; padding: .7rem 1.6rem; transition: all .25s ease; }
.btn-accent { background: var(--accent); border: none; color: #fff; box-shadow: 0 8px 20px rgba(245,166,35,.35); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-primary-brand { background: var(--brand); border: none; color: #fff; box-shadow: 0 8px 20px rgba(196,32,50,.28); }
.btn-primary-brand:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--navy); font-weight: 600; }
.btn-light:hover { background: #f1f1f1; transform: translateY(-2px); }

/* ===================== SECTION 1: HERO ===================== */
.hero-section {
  background: linear-gradient(135deg, #c42032 0%, #6b0f1a 55%, #212121 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.hero-title { font-size: 3rem; line-height: 1.15; color: #fff; margin-bottom: 1.2rem; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 1.6rem; max-width: 560px; }
.badge-pill {
  display: inline-block; background: rgba(255,255,255,.15); color: #fff;
  padding: .45rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.25);
}
.hero-img { border: 6px solid rgba(255,255,255,.12); }
.hero-stat {
  background: rgba(255,255,255,.1); border-radius: 12px; padding: 1rem .5rem;
  text-align: center; border: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.85); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-chip {
  background: rgba(255,255,255,.12); color: #fff; font-size: .82rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 50px; display: inline-flex; align-items: center; gap: .35rem;
}
.trust-chip i { color: var(--accent); }

/* ===================== FORM ===================== */
.form-card {
  background: #fff; border-radius: 16px; padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(21,41,63,.12);
}
/* form embedded in the hero's right column */
.hero-form { padding: 2rem; }
.hero-form .section-title { font-size: 1.6rem; }
.form-label { font-weight: 500; color: var(--navy); margin-bottom: .3rem; }
.form-control { border-radius: 8px; padding: .7rem .9rem; border: 1px solid #d8e2e1; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(196,32,50,.15); }
.form-success { font-weight: 600; color: var(--brand); }

/* ===================== SECTION 3: CERT BADGES ===================== */
.cert-badge { border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.06); }

/* ===================== SECTION 4: STATS + FEATURES ===================== */
.stat-box { padding: 1.2rem .5rem; }
.stat-num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-text { font-size: .9rem; color: var(--text); }
.feature-card {
  background: #fff; border-radius: 14px; padding: 2rem 1.5rem; text-align: center;
  border: 1px solid #eaf0ef; box-shadow: 0 8px 24px rgba(21,41,63,.05); transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21,41,63,.1); }
.feature-icon {
  width: 70px; height: 70px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand); font-size: 1.8rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1rem;
}

/* ===================== SECTION 5: SERVICES ===================== */
.service-card {
  background: #fff; border-radius: 14px; padding: 1.8rem 1.4rem; height: 100%;
  border: 1px solid #eaf0ef; box-shadow: 0 6px 18px rgba(21,41,63,.05); transition: all .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 36px rgba(196,32,50,.14); }
.service-icon { font-size: 2rem; color: var(--brand); margin-bottom: .8rem; }
.service-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; margin-bottom: 0; }

/* ===================== CTA BANDS ===================== */
.cta-band { background: var(--navy); padding: 60px 0; }
.cta-band-accent { background: linear-gradient(135deg, #c42032 0%, #9e1925 100%); }
.cta-band-title { color: #fff; font-size: 1.6rem; max-width: 900px; margin: 0 auto; line-height: 1.4; }

/* ===================== SECTION 7: PRICING ===================== */
.pricing-card {
  background: #fff; border-radius: 16px; padding: 2.2rem 1.8rem;
  border: 1px solid #eaf0ef; box-shadow: 0 8px 24px rgba(21,41,63,.06); transition: all .3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(21,41,63,.12); }
.pricing-card.featured { border: 2px solid var(--brand); position: relative; }
.pricing-card.featured::before {
  content: "Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600;
  padding: .25rem .9rem; border-radius: 50px;
}
.pricing-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.pricing-head i { font-size: 1.8rem; color: var(--brand); }
.pricing-head h4 { font-size: 1.2rem; margin: 0; }
.best-for { font-size: .9rem; }
.key-label { display: block; font-weight: 600; color: var(--navy); margin: 1rem 0 .5rem; }
.pricing-list { list-style: none; padding-left: 0; margin: 0; }
.pricing-list li { padding: .35rem 0 .35rem 1.6rem; position: relative; font-size: .92rem; }
.pricing-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; color: var(--brand);
  position: absolute; left: 0; top: .35rem;
}

/* ===================== SECTION 9: PROCESS ===================== */
.process-card {
  background: #fff; border-radius: 14px; padding: 1.8rem 1.4rem; height: 100%;
  border: 1px solid #eaf0ef; box-shadow: 0 6px 18px rgba(21,41,63,.05);
  position: relative; transition: all .3s ease;
}
.process-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21,41,63,.1); }
.process-num {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand);
  color: #fff; font-size: 1.3rem; font-weight: 800; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1rem;
}
.process-card h5 { font-size: 1.05rem; }
.process-card p { font-size: .9rem; margin: 0; }

/* ===================== SECTION 10: BENEFITS ===================== */
.benefit-card {
  background: #fff; border-radius: 14px; padding: 2rem 1.6rem; height: 100%;
  border: 1px solid #eaf0ef; box-shadow: 0 6px 18px rgba(21,41,63,.05);
  border-left: 4px solid var(--brand); transition: all .3s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21,41,63,.1); }
.benefit-icon { font-size: 2rem; color: var(--accent); margin-bottom: .8rem; }
.benefit-card h5 { font-size: 1.1rem; }
.benefit-card p { font-size: .92rem; margin: 0; }

/* ===================== SECTION 11: INDUSTRIES ===================== */
.industry-card {
  background: #fff; border-radius: 14px; overflow: hidden; height: 100%;
  border: 1px solid #eaf0ef; box-shadow: 0 6px 18px rgba(21,41,63,.05); transition: all .3s ease;
}
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21,41,63,.1); }
.industry-card img { width: 100%; height: 170px; object-fit: cover; }
.industry-body { padding: 1.4rem; }
.industry-body h5 { font-size: 1.1rem; margin-bottom: .7rem; }
.industry-list { list-style: none; padding-left: 0; margin: 0; }
.industry-list li { padding: .25rem 0 .25rem 1.5rem; position: relative; font-size: .88rem; }
.industry-list li::before {
  content: "\F287"; font-family: "bootstrap-icons"; color: var(--brand);
  position: absolute; left: 0; top: .25rem; font-size: .8rem;
}

/* ===================== SECTION 12/13: STORY + BLOG ===================== */
.story-card, .blog-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid #eaf0ef; box-shadow: 0 6px 18px rgba(21,41,63,.05); transition: all .3s ease;
}
.story-card:hover, .blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21,41,63,.1); }
.story-card img, .blog-card img { width: 100%; height: 200px; object-fit: cover; }
.story-body, .blog-body { padding: 1.5rem; }
.story-body p { font-weight: 600; color: var(--navy); font-size: .98rem; margin-bottom: 1rem; }
.read-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.read-link:hover { color: var(--accent); }
.read-link i { transition: transform .2s ease; }
.read-link:hover i { transform: translateX(4px); }

/* ===================== SECTION 14/15: FINAL ===================== */
.final-section { background: linear-gradient(135deg, #f5a623 0%, #9e1925 55%, #c42032 100%); }
.step-circle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 1.5rem; font-weight: 800; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.next-steps p { font-size: .9rem; }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed; bottom: 25px; right: 25px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--accent); color: #fff; border: none;
  font-size: 1.2rem; display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(245,166,35,.4); z-index: 999; cursor: pointer;
}
.back-to-top:hover { background: var(--accent-dark); }

/* ===================== SCROLL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .hero-title { font-size: 2.2rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.65rem; }
  .hero-form { margin-top: 1rem; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 1.9rem; }
  .form-card { padding: 1.5rem; }
  .cta-band-title { font-size: 1.3rem; }
    .hero-section .row.align-items-center.g-5 {margin-top: 1.5rem;}
}
