/* ==========================================================
   OLA First Aid — shared stylesheet
   Brand palette sampled from the Organisational Learning
   Australia logo (teal → green) plus grey for text.
   ========================================================== */

:root{
  --teal:#128C8A;
  --teal-dark:#0B6E6C;
  --green:#8DC63F;
  --green-dark:#5C9A2A;
  --grey-900:#333438;
  --grey-700:#58595B;
  --grey-400:#8B8D8F;
  --grey-200:#E3E5E6;
  --grey-100:#F5F7F7;
  --white:#FFFFFF;
  --accredited:#00543C;
  --accredited-red:#E4173F;
  --radius:10px;
  --shadow:0 4px 18px rgba(0,0,0,0.08);
  --shadow-lg:0 10px 32px rgba(0,0,0,0.12);
  --max:1120px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--grey-900);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .5em;font-weight:700}
h1{font-size:clamp(2rem,4vw,2.9rem)}
h2{font-size:clamp(1.5rem,3vw,2.1rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  font-weight:700;
  color:var(--teal-dark);
  margin-bottom:.6em;
  display:inline-block;
}
.section{padding:72px 0}
.section-tight{padding:44px 0}
.bg-grey{background:var(--grey-100)}
.text-center{text-align:center}
.muted{color:var(--grey-700)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  padding:14px 28px;border-radius:999px;font-weight:700;font-size:1rem;
  border:2px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(90deg,var(--teal) 0%,var(--green) 100%);color:var(--white);box-shadow:var(--shadow)}
.btn-primary:hover{box-shadow:var(--shadow-lg)}
.btn-outline{background:transparent;border-color:var(--grey-200);color:var(--grey-900)}
.btn-outline:hover{border-color:var(--teal)}
.btn-block{width:100%}
.btn-sm{padding:10px 20px;font-size:.9rem}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:blur(6px);border-bottom:1px solid var(--grey-200);
}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;max-width:var(--max);margin:0 auto}
.logo img{height:34px;width:auto}
.nav{display:flex;align-items:center;gap:28px}
.nav a{font-weight:600;font-size:.95rem;color:var(--grey-700)}
.nav a:hover{color:var(--teal-dark)}
.nav-toggle{display:none;background:none;border:0;font-size:1.6rem;cursor:pointer}
.header-cta{display:flex;align-items:center;gap:14px}

@media (max-width:820px){
  .nav{
    position:absolute;top:100%;left:0;right:0;background:var(--white);
    flex-direction:column;align-items:flex-start;gap:0;
    border-bottom:1px solid var(--grey-200);
    max-height:0;overflow:hidden;transition:max-height .25s ease;
  }
  .nav.open{max-height:400px}
  .nav a{padding:14px 24px;width:100%;border-top:1px solid var(--grey-200)}
  .nav-toggle{display:block}
  .header-cta .btn-outline{display:none}
}

/* Hero */
.hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(18,140,138,.10), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(141,198,63,.14), transparent 40%),
    var(--white);
  padding:84px 0 64px;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr}}
.trust-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px}
.trust-item{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:600;color:var(--grey-700)}
.trust-item .dot{width:8px;height:8px;border-radius:50%;background:var(--green)}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-card{
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:28px;border:1px solid var(--grey-200);
}
.hero-card h3{margin-bottom:14px}
.hero-card ul{margin:0;padding-left:1.1em}
.hero-card li{margin-bottom:8px}

/* Course cards */
.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:36px}
@media (max-width:820px){.course-grid{grid-template-columns:1fr}}
.course-card{
  background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);
  padding:32px;box-shadow:var(--shadow);display:flex;flex-direction:column;height:100%;
  transition:box-shadow .15s ease, transform .15s ease;
}
.course-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.badge{
  display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.06em;padding:6px 12px;border-radius:999px;margin-bottom:14px;
}
.badge-accredited{background:rgba(0,84,60,.08);color:var(--accredited)}
.badge-nonaccredited{background:rgba(18,140,138,.09);color:var(--teal-dark)}
.course-card .price{font-size:1.6rem;font-weight:800;margin:14px 0 4px}
.course-card .price span{font-size:.9rem;font-weight:600;color:var(--grey-400)}
.course-card ul{margin:14px 0;padding-left:1.1em;color:var(--grey-700);font-size:.94rem}
.course-card li{margin-bottom:6px}
.course-card .btn{margin-top:auto}
.nrt-mini{height:30px;width:auto;margin-top:16px}

/* Course detail page */
.course-hero{padding:56px 0 40px;border-bottom:1px solid var(--grey-200)}
.course-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:start}
@media (max-width:900px){.course-hero-grid{grid-template-columns:1fr}}
.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}
@media (max-width:600px){.meta-grid{grid-template-columns:1fr 1fr}}
.meta-item{background:var(--grey-100);border-radius:var(--radius);padding:16px}
.meta-item .label{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-400);font-weight:700}
.meta-item .value{font-weight:700;font-size:1.05rem;margin-top:4px}

.booking-panel{
  background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);padding:24px;position:sticky;top:96px;
}
.booking-panel .price{font-size:2rem;font-weight:800;margin-bottom:4px}
.booking-panel .price-note{font-size:.85rem;color:var(--grey-400);margin-bottom:18px}
.iframe-slot{
  border:2px dashed var(--grey-200);border-radius:var(--radius);
  background:var(--grey-100);padding:28px 16px;text-align:center;color:var(--grey-400);
  font-size:.85rem;margin:16px 0;
}
.iframe-slot strong{display:block;color:var(--grey-700);margin-bottom:4px;font-size:.9rem}

.price{font-size:1.8rem;font-weight:800;margin:14px 0 4px}

.eskilled-embed{
  border:1px solid var(--grey-200);border-radius:var(--radius);
  overflow:hidden;background:var(--white);box-shadow:var(--shadow);margin:20px 0;
}
.eskilled-embed iframe{display:block;border:0}

.content-block{margin:40px 0}
.content-block h2{border-left:4px solid var(--teal);padding-left:14px}
.check-list{list-style:none;padding:0;margin:0}
.check-list li{padding-left:28px;position:relative;margin-bottom:10px}
.check-list li::before{
  content:"✓";position:absolute;left:0;top:0;color:var(--green-dark);font-weight:800;
}

.callout{
  border-radius:var(--radius);padding:20px 22px;font-size:.92rem;
}
.callout-info{background:rgba(18,140,138,.07);border:1px solid rgba(18,140,138,.25)}
.callout-note{background:rgba(228,23,63,.06);border:1px solid rgba(228,23,63,.2)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px}
@media (max-width:820px){.steps{grid-template-columns:1fr}}
.step{background:var(--white);border-radius:var(--radius);padding:24px;border:1px solid var(--grey-200)}
.step .num{
  width:34px;height:34px;border-radius:50%;background:linear-gradient(90deg,var(--teal),var(--green));
  color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:14px;
}

/* FAQ accordion */
.faq-item{border-bottom:1px solid var(--grey-200)}
.faq-q{
  width:100%;text-align:left;background:none;border:0;padding:20px 0;
  font-weight:700;font-size:1.02rem;display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;color:var(--grey-900);
}
.faq-q .icon{transition:transform .2s ease;color:var(--teal-dark);font-size:1.3rem}
.faq-item.open .faq-q .icon{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-a p{padding-bottom:18px;color:var(--grey-700)}

/* Policies page */
.policy-toc{background:var(--grey-100);border-radius:var(--radius);padding:22px 26px;margin-bottom:40px}
.policy-toc ol{margin:0;padding-left:1.2em;columns:2;gap:24px}
@media (max-width:700px){.policy-toc ol{columns:1}}
.policy-section{padding:28px 0;border-top:1px solid var(--grey-200)}
.policy-section:first-of-type{border-top:none}

/* Footer */
.site-footer{background:var(--grey-900);color:var(--grey-200);padding:56px 0 28px;margin-top:64px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr 1fr}}
.site-footer h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;margin-bottom:16px}
.site-footer a{color:var(--grey-200);font-size:.92rem;display:block;margin-bottom:10px}
.site-footer a:hover{color:#fff}
.site-footer .logo-white img{height:30px;filter:brightness(0) invert(1);margin-bottom:14px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:22px;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:.8rem;color:var(--grey-400);
}
.compliance-note{font-size:.78rem;color:var(--grey-400);max-width:640px;margin-top:14px}

.placeholder{color:#B45309;background:#FEF3C7;padding:1px 6px;border-radius:4px;font-weight:600}
