/* ============================================================
   Safesite Response Pty Ltd — Main Stylesheet
   Colour palette: Safety Navy #0A1F3C | Safety Orange #F57C00
   Accent: Amber #FFA000 | Light: #F5F7FA | White: #FFFFFF
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A1F3C;
  --navy-mid:  #122B52;
  --orange:    #F57C00;
  --amber:     #FFA000;
  --light:     #F5F7FA;
  --white:     #FFFFFF;
  --text:      #1A2633;
  --muted:     #5A6A7A;
  --radius:    6px;
  --shadow:    0 4px 18px rgba(10,31,60,.12);
  --trans:     .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--orange); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 80px 0; }
.section--alt { background: var(--light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  border: none;
}
.btn--primary  { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--amber); color: var(--white); transform: translateY(-2px); }
.btn--outline  { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn--nav      { background: var(--orange); color: var(--white); padding: .55rem 1.3rem; font-size: .9rem; }
.btn--nav:hover { background: var(--amber); color: var(--white); }

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

nav.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-brand .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 900;
  flex-shrink: 0;
}

.nav-brand .brand-text { display: flex; flex-direction: column; }
.nav-brand .brand-name { color: var(--white); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.nav-brand .brand-tag  { color: var(--amber); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a { color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; transition: color var(--trans); }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-mid);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a6b 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,124,0,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,160,0,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(245,124,0,.2);
  border: 1px solid rgba(245,124,0,.5);
  color: var(--amber);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 { margin-bottom: 1.2rem; max-width: 700px; }
.hero h1 span { color: var(--amber); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 580px; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 2rem;
}
.stat-item .stat-num { font-size: 1.9rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-item .stat-lbl { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: .2rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--orange);
  color: var(--white);
  padding: 18px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; }
.trust-item .icon { font-size: 1.1rem; }

/* ---------- Section Intro ---------- */
.section-intro { text-align: center; max-width: 650px; margin: 0 auto 3rem; }
.section-intro .label {
  display: inline-block;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-intro h2 { color: var(--navy); margin-bottom: .75rem; }
.section-intro p { color: var(--muted); }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(10,31,60,.15); }
.service-card .card-icon {
  width: 54px; height: 54px;
  background: rgba(245,124,0,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { color: var(--navy); margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item .check {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}
.why-item h4 { color: var(--navy); margin-bottom: .3rem; }
.why-item p  { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 5rem;
  color: var(--orange);
  opacity: .25;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card .stars { color: var(--amber); font-size: 1rem; margin-bottom: .75rem; }
.testimonial-card blockquote { color: var(--muted); font-size: .93rem; font-style: italic; margin-bottom: 1.1rem; }
.testimonial-card .author { display: flex; flex-direction: column; }
.testimonial-card .author strong { color: var(--navy); font-size: .92rem; }
.testimonial-card .author span   { color: var(--muted); font-size: .82rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: .8rem; }
.breadcrumb a { color: var(--amber); }

/* ---------- Content Sections ---------- */
.content-section { padding: 70px 0; }
.content-section .container { max-width: 860px; }
.content-section h2 { color: var(--navy); margin: 2rem 0 .75rem; }
.content-section h3 { color: var(--navy); margin: 1.5rem 0 .5rem; }
.content-section ul.dot-list { padding-left: 1.4rem; list-style: disc; color: var(--muted); }
.content-section ul.dot-list li { margin-bottom: .4rem; }

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  padding: 3rem 2rem;
  color: var(--white);
  text-align: center;
}
.about-visual .big-icon { font-size: 5rem; margin-bottom: 1rem; }
.about-visual h3 { color: var(--amber); margin-bottom: .5rem; }
.about-visual p { color: rgba(255,255,255,.75); font-size: .92rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.value-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.2rem;
  border-left: 3px solid var(--orange);
}
.value-item h4 { color: var(--navy); margin-bottom: .3rem; font-size: .95rem; }
.value-item p  { color: var(--muted); font-size: .87rem; margin: 0; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.contact-info-card h3 { color: var(--amber); margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.info-item .icon { font-size: 1.3rem; min-width: 24px; margin-top: .1rem; }
.info-item strong { display: block; color: var(--amber); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .2rem; }
.info-item span, .info-item a { color: rgba(255,255,255,.85); font-size: .93rem; }
.info-item a:hover { color: var(--amber); }

.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid #D1D9E0;
  border-radius: var(--radius);
  font-size: .93rem;
  color: var(--text);
  transition: border-color var(--trans);
  font-family: inherit;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-name { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.footer-brand p { font-size: .88rem; margin-bottom: 1rem; line-height: 1.6; }
.footer-badge {
  display: inline-block;
  background: rgba(245,124,0,.15);
  border: 1px solid rgba(245,124,0,.4);
  color: var(--amber);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 4px;
  letter-spacing: .04em;
}

.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .07em; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a  { color: rgba(255,255,255,.68); font-size: .88rem; transition: color var(--trans); }
.footer-col ul a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
}
.footer-bottom p { font-size: .8rem; margin: 0; }
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-legal a { color: rgba(255,255,255,.6); }
.footer-legal a:hover { color: var(--amber); }

/* ---------- Services Page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-page-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.service-page-card .card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-page-card h3 { color: var(--navy); margin-bottom: .75rem; }
.service-page-card ul { padding-left: 1.2rem; list-style: disc; color: var(--muted); font-size: .92rem; }
.service-page-card ul li { margin-bottom: .4rem; }

/* ---------- Compliance Banner ---------- */
.compliance-banner {
  background: linear-gradient(90deg, var(--orange) 0%, var(--amber) 100%);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}
.compliance-banner p { font-size: .95rem; font-weight: 600; margin: 0; }
.compliance-banner strong { font-size: 1.05rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.color-orange { color: var(--orange); }
.color-navy   { color: var(--navy); }
