/* ===============================================================
   Educasure Pty Ltd — shared stylesheet
   Modern refresh · QCTO accredited SDP
   =============================================================== */

:root {
  --navy: #0c2a4d;
  --navy-deep: #081d36;
  --teal: #1c8c8c;
  --teal-light: #2eb3b3;
  --gold: #e5a83b;
  --gold-deep: #c98a1c;
  --ink: #1a2433;
  --slate: #5a6b7f;
  --mist: #f4f7fb;
  --line: #e2e8f1;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(12, 42, 77, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 42, 77, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 42, 77, 0.16);
  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-light); }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.mist { background: var(--mist); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .93rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--gold);
}
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.btn-outline{
    background: transparent;
    color: var(--navy);
    border:2px solid var(--navy);
}

.btn-outline:hover{
    background: var(--navy);
    color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal) 140%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(229,168,59,.28), transparent 70%); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 104px; max-width: 780px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-badge {
  display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18); padding: 10px 16px; border-radius: 999px; font-size: .9rem;
}
.hero-badge b { color: var(--gold); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, var(--teal) 150%);
  color: var(--white); padding: 72px 0 60px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; left: -80px; bottom: -140px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(46,179,179,.30), transparent 70%); border-radius: 50%;
}
.page-banner .eyebrow { color: var(--gold); }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 2; }
.page-banner p { color: rgba(255,255,255,.82); max-width: 640px; margin-top: 14px; position: relative; z-index: 2; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: #fff; margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .96rem; }

/* value pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}

/* two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .lead { font-size: 1.05rem; color: var(--slate); }
.split ul { list-style: none; margin-top: 18px; }
.split ul li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.split ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700;
  width: 20px; height: 20px; display: grid; place-items: center;
}

.accred-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff;
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); text-align: center;
}
.accred-box img { height: 88px; margin: 0 auto 20px; background:#fff; padding:10px; border-radius:10px; }
.accred-box h3 { color: #fff; margin-bottom: 8px; }
.accred-box .num {
  display: inline-block; margin-top: 14px; background: rgba(229,168,59,.16); border: 1px solid var(--gold);
  color: var(--gold); font-weight: 700; padding: 8px 18px; border-radius: 999px; letter-spacing: .03em;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat .l { color: var(--slate); font-size: .95rem; margin-top: 6px; }

/* ---------- Qualifications ---------- */
.faculty { margin-bottom: 60px; }
.faculty-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.faculty-head .dot { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg,var(--gold),var(--gold-deep)); display:grid; place-items:center; color:#fff; flex:none; }
.faculty-head h2 { font-size: 1.5rem; }
.qual-card { display: flex; flex-direction: column; }
.qual-card .type { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); font-weight: 700; }
.qual-card h4 { font-size: 1.05rem; margin: 6px 0 14px; color: var(--navy); }
.qual-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qual-meta span { background: var(--mist); border:1px solid var(--line); border-radius: 8px; padding: 4px 12px; font-size: .8rem; color: var(--slate); font-weight: 600; }
.qual-card .link { margin-top: auto; font-weight: 600; font-size: .9rem; }
.qual-card .price { margin: 4px 0 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.qual-card .price .row { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; margin-bottom: 3px; }
.qual-card .price .row .lbl { color: var(--slate); }
.qual-card .price .row .amt { font-weight: 800; color: var(--navy); }
.qual-card .price .row .amt.ind { color: var(--teal); }
.qual-card .price .vat { font-size: .72rem; color: var(--slate); margin-top: 5px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .88rem; color: var(--navy); font-weight: 500; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.jump-nav a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: .88rem; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }
.jump-nav a:hover { background: var(--navy); color: #fff; }

/* ---------- Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.logo-wall .cell {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px;
  display: grid; place-items: center; min-height: 110px; box-shadow: var(--shadow-sm);
}
.logo-wall .cell img { max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .25s; }
.logo-wall .cell:hover img { filter: none; opacity: 1; }

.name-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.name-grid span {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px;
  font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); color: var(--teal); display: grid; place-items: center; flex: none; }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--slate); font-size: .95rem; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: var(--mist); transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 40px; }
/*.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }*/
.map-wrap{
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 40px;
}

.map-wrap iframe{
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: #fff; text-align: center;
  border-radius: 20px; padding: 56px 40px; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 26px; max-width: 560px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { height: 46px; margin-bottom: 16px; background:#fff; padding:8px 10px; border-radius:8px; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* ---------- Banner actions ---------- */
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; position: relative; z-index: 2; }

/* ---------- Accreditation summary cards ---------- */
.accred-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.accred-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm);
}
.accred-card .qa { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; }
.accred-card h3 { font-size: 1.02rem; margin: 6px 0 10px; }
.accred-card .no { font-family: monospace; font-size: .82rem; color: var(--navy); background: var(--mist); border-radius: 6px; padding: 4px 8px; display: inline-block; }
.accred-card .valid { font-size: .82rem; color: var(--slate); margin-top: 10px}
/* ---------- Hero brand watermark ---------- */
.hero-mark { position: absolute; right: -30px; bottom: -30px; width: 360px; max-width: 55%; opacity: .08; z-index: 1; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden; }
.faq summary { cursor:pointer; padding:18px 22px; font-weight:600; color:var(--navy); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.4rem; color:var(--teal); font-weight:400; line-height:1; }
.faq details[open] summary::after { content:"\2013"; }
.faq details[open] summary { border-bottom:1px solid var(--line); }
.faq .a { padding:16px 22px; color:var(--slate); line-height:1.65; }
.faq .a a { font-weight:600; }

/* ---------- Video ---------- */
.video-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    max-width:900px;
    margin:40px auto;
}

.video-wrap video{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
    object-fit:contain;
}
/* ---------- NQF ladder diagram ---------- */
.nqf-scroll { overflow-x: auto; padding-bottom: 6px; }
.nqf-grid { display: grid; grid-template-columns: 64px repeat(3, 1fr); gap: 8px; min-width: 660px; }
.nqf-h { padding: 4px 12px 10px; }
.nqf-h b { display: block; color: var(--navy); font-size: .92rem; font-weight: 700; }
.nqf-h span { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.nqf-h.col-oqsf b { color: var(--gold-deep); }
.nqf-lvl { display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 800; border-radius: 12px; font-size: 1.15rem; min-height: 52px; }
.nqf-lvl.on { background: var(--gold); color: var(--navy-deep); }
.nqf-cell { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .85rem; color: var(--ink); display: flex; align-items: center; box-shadow: var(--shadow-sm); }
.nqf-cell.empty { background: transparent; border: 1px dashed var(--line); box-shadow: none; }
.nqf-cell.on { border: 1.5px solid var(--gold); background: rgba(229,168,59,.12); color: var(--navy); font-weight: 600; }
@media (max-width: 640px) { .nqf-grid { gap: 6px; } .nqf-cell { font-size: .8rem; padding: 9px 10px; } }

/* ---------- Fee cards (Fees page) ---------- */

.fee-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:10px;
}

.fee-card .fee-meta{
    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:5px;
}

.fee-card .fee-meta span{
    background:var(--mist);
    border:1px solid var(--line);
    border-radius:8px;
    padding:4px 10px;
    font-size:.75rem;
    font-weight:600;
    color:var(--slate);
}

.fee-card h4{
    width:100%;
    text-align:center;
    color:var(--navy);
    font-size:1.08rem;
    margin-bottom:5px;
    min-height:5px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.fee-prices{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px 0;
    color:var(--gold);
    
}

.fee-p {
    width: 160px;          /* was 220px */
    min-height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: #f5f7fb;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2px;
}
.fee-p span{
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--slate);
    margin-bottom:8px;
}

.fee-p b{
    font-size:1.2rem;
    font-weight:800;
    color:var(--teal);
}

.fee-p.emp{
    background:linear-gradient(135deg,var(--navy),var(--navy-deep));
    border:none;
}

.fee-p.emp span{
    color:rgba(255,255,255,.75);
}

.fee-p.emp b{
    color:#fff;
}

.fee-vat{
    width:220px;
    margin:5px auto 0;
    padding-top:5px;
    font-size:.75rem;
    color:var(--slate);
}



/* ---------- Video duo (adjacent, compact) ---------- */
.video-duo { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.video-duo > div { flex: 1 1 300px; max-width: 360px; }
.video-duo .video-wrap { max-width: 100%; margin: 0; }

/* ---------- Floating WhatsApp ---------- */

.wa-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 12px 30px rgba(0,0,0,.3);
    z-index:99999;
    transition:all .3s ease;
    animation:whatsappFloat 2s ease-in-out infinite;
}

.wa-float:hover{
    transform:scale(1.12);
    box-shadow:0 18px 40px rgba(0,0,0,.4);
}

@keyframes whatsappFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
}
