/* ==================================================
   Empathy Care Consulting Pty Ltd — Stylesheet
   Corporate static site, single-file, no @import
   ================================================== */

/* --- Colour palette (care + consulting industry) --- */
:root {
  --primary:    #1B4965;   /* deep teal — trust & stability */
  --primary-d:  #163A54;   /* darker variant for hover/active */
  --accent:     #2A9D8F;   /* warm teal — empathy & growth */
  --accent-d:   #22867E;
  --bg:         #FAFBFC;   /* page background */
  --surface:    #FFFFFF;   /* card / section background */
  --text-dark:  #1A1A2E;   /* primary copy */
  --text-light: #6B7280;   /* secondary / muted */
  --border:     #E5E7EB;   /* subtle dividers */
  --footer-bg:  #1B2A3A;   /* dark footer panel */
  --footer-text:#B8C1D1;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Container --- */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-block: 4rem;
}
.container-sm {
  width: min(90%, 720px);
  margin-inline: auto;
  padding-block: 3rem;
}

/* ==================================================
   Navbar
   ================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.02em;
}
.navbar .logo span { color: var(--accent); }

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.navbar .nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.navbar .nav-links a:hover { color: var(--accent); }
.navbar .nav-links a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* CTA button in nav */
.navbar .btn-cta {
  background: var(--accent);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s;
}
.navbar .btn-cta:hover { background: var(--accent-d); }

/* Hamburger (mobile) */
.navbar .hamburger {
  display: none;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: .3rem;
}
.navbar .hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: background .2s;
}

/* ==================================================
   Hero
   ================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  padding-block: 5rem;
  text-align: center;
}
.hero .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero .hero-sub {
  font-size: 1.125rem;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  opacity: .9;
}
.hero .hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero alternate (inner pages) */
.hero-alt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}
.hero-alt .hero-title { color: var(--primary); }
.hero-alt .hero-sub { color: var(--text-light); max-width: 36rem; }

/* ==================================================
   Buttons
   ================================================== */
.btn {
  display: inline-block;
  padding: .7rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, .25);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid currentColor;
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
}
.btn-outline-light {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}
.btn-outline-light:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ==================================================
   Trust / Credentials strip
   ================================================== */
.credentials-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-top: 3rem;
}
.credentials-strip .cred-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.cred-item {
  text-align: center;
}
.cred-item .label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-light);
  margin-bottom: .25rem;
}
.cred-item .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==================================================
   Services
   ================================================== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-title p {
  color: var(--text-light);
  max-width: 36rem;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.service-card .svc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.service-card p {
  color: var(--text-light);
  font-size: .92rem;
}

/* ==================================================
   Value props (three-column)
   ================================================== */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.value-card {
  padding: 1.5rem;
}
.value-card .icon { font-size: 2rem; margin-bottom: .75rem; }
.value-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.value-card p { color: var(--text-light); font-size: .9rem; }

/* ==================================================
   About strip (homepage)
   ================================================== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-strip img {
  border-radius: 8px;
  border: 1px solid var(--border);
  width: 100%;
}

/* ==================================================
   CTA strip
   ================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 10px;
  margin-top: 3rem;
}
.cta-strip h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: .75rem;
}
.cta-strip p {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  opacity: .92;
}

/* ==================================================
   Contact info
   ================================================== */
.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.contact-list .icon { font-size: 1.2rem; margin-top: .1rem; }
.contact-list .detail {
  display: flex;
  flex-direction: column;
}
.contact-list .detail .label {
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: .03em;
}
.contact-list .detail .value {
  font-weight: 500;
  color: var(--primary);
}

/* ==================================================
   Map placeholder
   ================================================== */
.map-wrapper {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.5rem;
  min-height: 240px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
}

/* ==================================================
   Footer
   ================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.footer .company-name {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer p {
  font-size: .9rem;
  line-height: 1.6;
}
.footer a { color: var(--footer-text); }
.footer a:hover { color: var(--accent); }
.footer .legal-list a,
.footer .quick-list a {
  display: block;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(184,193,209,.15);
}
.footer .contact-item {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-bottom: .5rem;
}
.footer .contact-item .icon { color: var(--accent); }
.footer .copyright {
  text-align: center;
  font-size: .85rem;
  color: #8A94A6;
  border-top: 1px solid rgba(184,193,209,.15);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

/* ==================================================
   Content helpers
   ================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- Mobile --- */
@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .navbar .hamburger { display: flex; }

  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    color: var(--text-dark);
    font-weight: 500;
    padding: .5rem 0;
  }
  .nav-mobile a.active {
    color: var(--accent);
    border: none;
    padding: .4rem 0;
  }
  .nav-mobile .btn-cta {
    margin-top: .5rem;
  }

  .about-strip { grid-template-columns: 1fr; }
  .footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero .hero-ctas { flex-direction: column; align-items: center; }
}
