/* ============================================================
   H and C Tech (Pty) Ltd — Corporate Stylesheet
   Brand: Teal (#00a9c7) + Green (#6dbf5b), grounded in Navy
   ============================================================ */

:root {
  --navy:        #0a2540;
  --navy-2:      #103356;
  --teal:        #00a9c7;
  --teal-dark:   #0089a3;
  --green:       #6dbf5b;
  --green-dark:  #57a746;
  --ink:         #16232f;
  --body:        #43555f;
  --muted:       #6f818c;
  --line:        #e4ebf0;
  --light:       #f3f8fb;
  --light-2:     #e9f2f6;
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(10, 37, 64, .06);
  --shadow:      0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg:   0 24px 60px rgba(10, 37, 64, .16);
  --maxw:        1180px;
  --font-head:   "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body:   "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.3px; }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--teal-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.lead { font-size: 1.18rem; color: var(--body); }

.accent-bar {
  width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  margin: 0 0 22px;
}
.center .accent-bar { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 169, 199, .35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 169, 199, .45); }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(109, 191, 91, .35);
}
.btn-green:hover { color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--navy); border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfe0ec;
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #cfe0ec; }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 22px; display: inline-flex; align-items: center; gap: 7px; }
.topbar-social a { margin-left: 16px; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.12rem; line-height: 1.15; }
.brand .brand-text small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: 1.5px; color: var(--teal-dark); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--teal-dark); background: var(--light); }
.nav-links a.active { color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; background: var(--navy);
  border-radius: 3px; margin: 5px 0; transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10,37,64,.94) 0%, rgba(16,51,86,.86) 45%, rgba(0,137,163,.78) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700'%3E%3Crect fill='%230a2540' width='1200' height='700'/%3E%3C/svg%3E") center/cover;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at center, rgba(109,191,91,.35), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 96px 0 100px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #d6e6f0; font-size: 1.22rem; max-width: 620px; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #eaf5fa;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.hero-card li {
  display: flex; align-items: flex-start; gap: 12px;
  color: #dbeaf2; padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .98rem;
}
.hero-card li:first-child { border-top: 0; }
.tick {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700;
}

/* ---------- Trust / stats strip ---------- */
.strip {
  background: var(--light);
  border-bottom: 1px solid var(--line);
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--navy);
  line-height: 1;
}
.stat .num span { color: var(--teal); }
.stat .label { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ---------- Feature / service cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--light-2);
  margin-bottom: 20px;
  color: var(--teal-dark);
}
.card:hover .icon { background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .99rem; margin-bottom: 0; }
.card .icon svg { width: 28px; height: 28px; }

/* ---------- Alternating feature blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 40px;
  text-align: center;
}
.split-media .badge-num {
  font-family: var(--font-head); font-weight: 700; font-size: 4.2rem;
  background: linear-gradient(135deg, #fff, #bfe9f2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.list-check { list-style: none; padding: 0; margin: 22px 0 0; }
.list-check li {
  position: relative; padding: 9px 0 9px 34px; color: var(--body);
  border-bottom: 1px solid var(--line);
}
.list-check li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--light-2); color: var(--teal-dark);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* ---------- Bands ---------- */
.band-light { background: var(--light); }
.band-navy { background: var(--navy); color: #d6e6f0; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: #7fd8e8; }

/* ---------- Industries ---------- */
.industry {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
}
.band-navy .industry p { color: #b7cbdb; margin: 6px 0 0; font-size: .95rem; }
.industry .dot {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  display: grid; place-items: center; color: #fff;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--teal-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; left: -80px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(109,191,91,.4), transparent 60%);
}
.cta h2 { color: #fff; position: relative; }
.cta p { color: #cfe6ef; max-width: 620px; margin: 0 auto 28px; position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ---------- About values ---------- */
.value { text-align: left; }
.value .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #fff; display: grid; place-items: center; margin-bottom: 16px;
}
.value h3 { font-size: 1.12rem; }
.value p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 50px; padding: 12px 24px; box-shadow: var(--shadow-sm);
}
.review-badge .stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; }
.review-badge strong { color: var(--ink); font-family: var(--font-head); }
.quote {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item .icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--light-2); color: var(--teal-dark);
  display: grid; place-items: center;
}
.info-item h4 { margin: 0 0 3px; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.info-item p, .info-item a { margin: 0; color: var(--body); }

form.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--light); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,169,199,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 60%, var(--teal-dark) 130%);
  color: #fff;
  padding: 70px 0 74px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  background: radial-gradient(circle, rgba(0,169,199,.4), transparent 62%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #cfe0ec; max-width: 640px; margin: 0; font-size: 1.1rem; }
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: #9fb8cb; }
.breadcrumb a { color: #cfe0ec; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #6f8aa2; }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9c1d4; padding: 66px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 18px; }
.site-footer a { color: #a9c1d4; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-brand img { height: 44px; margin-bottom: 16px; background:#fff; padding:8px 10px; border-radius:10px; }
.footer-brand p { color: #90aac0; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #8aa4ba; font-size: .88rem;
}
.footer-bottom a { color: #8aa4ba; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.chip {
  display: inline-block; background: var(--light-2); color: var(--teal-dark);
  font-family: var(--font-head); font-weight: 500; font-size: .8rem;
  padding: 5px 14px; border-radius: 50px; margin: 0 6px 8px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 76px; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; gap: 2px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 42px 26px; }
  .topbar-left span:nth-child(2) { display: none; }
}
@media (max-width: 460px) {
  .strip .container { grid-template-columns: 1fr 1fr; }
  .brand .brand-text { font-size: 1rem; }
}
