:root {
  --primary: #1a3c5e;
  --primary-dark: #0f2a42;
  --primary-light: #2a5a8a;
  --accent: #3b9e7e;
  --accent-dark: #2d7d63;
  --accent-light: #4fc9a3;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #122b40;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7a;
  --text-light: #f0f4f8;
  --border: #dce2ea;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 8px;
  --max-width: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

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

/* ---- Navbar ---- */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}
.navbar .logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--bg-alt); }
.nav-links .btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .btn-nav:hover { background: var(--primary-light); color: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light {
  background: var(--bg);
  color: var(--primary);
}
.btn-light:hover { background: var(--bg-alt); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 580px;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,158,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero .btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 64px 0;
  background: var(--primary);
  color: #fff;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 8px; font-size: 1.05rem; }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---- About Strip ---- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-strip h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.about-strip p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-strip .visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  font-size: 4rem;
  border: 1px solid var(--border);
}

/* ---- Credentials Strip ---- */
.credentials-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.credentials-strip .cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.credentials-strip .cred-item strong { color: var(--primary); display: block; font-size: 1rem; }

/* ---- CTA Strip ---- */
.cta-strip {
  text-align: center;
  padding: 64px 0;
}
.cta-strip h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cta-strip p { color: var(--text-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { color: var(--primary); margin-bottom: 16px; font-size: 1.2rem; }
.contact-info .info-row { display: flex; gap: 12px; margin-bottom: 16px; color: var(--text-muted); }
.contact-info .info-row .label { font-weight: 600; color: var(--text-dark); min-width: 70px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); font-size: 0.9rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  margin-bottom: 18px;
  transition: border .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---- Legal Pages ---- */
.legal-content h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  color: var(--primary-light);
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 6px; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.footer ul a:hover { color: var(--accent-light); }
.footer .abn {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-links .btn-nav { margin-left: 0; text-align: center; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .hero .btn-group { flex-direction: column; }
  .hero .btn-group .btn { width: 100%; }

  .section { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }

  .about-strip { grid-template-columns: 1fr; gap: 24px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.5rem; }

  .credentials-strip { flex-direction: column; align-items: center; gap: 16px; }
}
