/* =========================================================
   Property Professionals College — styles.css
   Static site, matched to the modern Next.js design.
   ========================================================= */
:root {
  --navy: #0f2038;
  --slate: #1c3355;
  --slate-2: #26436b;
  --blue: #2f6fed;
  --blue-dark: #1d54c4;
  --blue-soft: #eaf1ff;
  --ink: #16233a;
  --muted: #5a6b83;
  --line: #e2e8f2;
  --bg: #ffffff;
  --bg-alt: #f6f9fe;
  --gold: #f0b429;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15,32,56,.06);
  --shadow-md: 0 12px 30px rgba(15,32,56,.10);
  --shadow-lg: 0 24px 60px rgba(15,32,56,.16);
  --maxw: 1160px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section { padding: 88px 0; scroll-margin-top: 76px; }
.section-alt { background: var(--bg-alt); }
#home { scroll-margin-top: 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: 100px;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 20px; font-size: .92rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(47,111,237,.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,111,237,.45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }

/* -------- Header / Nav -------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.90); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px rgba(15,32,56,.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 85px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 95px; width: 95px; object-fit: contain; margin-right: 15px; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 0.9rem; line-height: 1.15; }
.brand-name small { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }
.brand-name.light { color: #fff; }
.brand-name.light small { color: #7f92ad; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--slate); position: relative; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active:not(.btn) { color: var(--blue); }
.nav-links a.active:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-links .btn.active::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* -------- Hero -------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(105deg, rgba(15,32,56,.94) 0%, rgba(28,51,85,.86) 45%, rgba(38,67,107,.62) 100%),
    url("https://ppcollege.com.au/media/homepage-1536x962.jpg") center/cover no-repeat,
    linear-gradient(160deg, var(--navy) 0%, var(--slate) 55%, var(--slate-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 400px at 20% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 88px 0 92px;
}
.hero .eyebrow { background: rgba(255,255,255,.12); color: #cfe0ff; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.hero .lead { color: #c8d6ec; font-size: 1.16rem; margin-top: 22px; max-width: 560px; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.14);
}

/* -------- Stats -------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stats-grid .stat { text-align: center; }
.stats-grid .stat strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.stats-grid .stat span { display: block; margin-top: 4px; font-size: .9rem; font-weight: 500; color: var(--muted); }

/* -------- About / Welcome -------- */
.welcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.welcome-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.welcome-text p { margin-top: 18px; font-size: 1.06rem; }
.welcome-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.welcome-points { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.welcome-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.welcome-points .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* -------- Mission & Vision -------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-sm); }
.mv-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--slate), var(--blue));
}
.mv-icon.alt { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.mv-icon svg { width: 28px; height: 28px; }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { margin-top: 12px; font-size: 1.02rem; }

/* -------- Why Choose Us (features) -------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--slate), var(--blue));
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.12rem; }
.feature-card p { margin-top: 12px; font-size: .95rem; }

/* -------- Featured Qualifications -------- */
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.qual-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qual-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.qual-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.qual-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.qual-card:hover .qual-media img { transform: scale(1.05); }
.qual-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95); color: var(--blue);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.qual-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.qual-code { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qual-body h3 { margin-top: 6px; font-size: 1.5rem; }
.qual-body p { margin-top: 12px; font-size: 1rem; }
.qual-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.qual-cta .btn { width: 100%; }

/* -------- CPD -------- */
.cpd { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.callout {
  background: linear-gradient(135deg, var(--navy), var(--slate)); color: #fff; border-radius: 20px;
  padding: 44px 46px; box-shadow: var(--shadow-lg); margin-bottom: 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.callout h3 { color: #fff; font-size: 1.6rem; }
.callout p { color: #cddaf0; margin-top: 12px; font-size: 1.02rem; }
.callout .big-points { margin-top: 20px; display: flex; align-items: baseline; gap: 12px; }
.callout .big-points strong { font-size: 2.6rem; color: var(--gold); font-weight: 800; }
.callout .big-points span { color: #cddaf0; font-weight: 600; }
.deadlines { display: grid; gap: 16px; }
.deadline-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 18px 20px; }
.deadline-item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9fb4d4; font-weight: 700; }
.deadline-item .val { font-size: 1.12rem; font-weight: 800; color: #fff; margin-top: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 20px 50px rgba(47,111,237,.22); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.price-card h3 { font-size: 1.28rem; }
.price-card .points-tag { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 5px 12px; border-radius: 8px; }
.price-card .desc { margin-top: 16px; font-size: .96rem; min-height: 48px; }
.price-card .amount { margin: 22px 0 4px; }
.price-card .amount .cur { font-size: 1.3rem; font-weight: 700; color: var(--navy); vertical-align: top; }
.price-card .amount .num { font-size: 3rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.price-card .amount .cents { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.price-card .gst { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 26px; display: grid; gap: 10px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink); }
.price-card ul li .tick { color: var(--blue); font-weight: 800; flex: 0 0 auto; }
.price-card .btn { margin-top: auto; }

/* -------- FAQ -------- */
.faq-wrap { max-width: 760px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease; }
.faq-item.open { border-color: var(--blue); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--navy);
}
.faq-ic {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); font-size: 1.2rem; font-weight: 700; line-height: 1;
}
.faq-item.open .faq-ic { background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; font-size: .98rem; color: var(--muted); }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.contact-info p { margin-top: 14px; font-size: 1.04rem; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; border-left: 3px solid var(--blue); padding-left: 16px; }
.contact-list .c-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-list .c-val { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-top: 2px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg-alt); color: var(--ink); font-size: .98rem; font-family: inherit; outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 6px; }
.form-success {
  display: none; margin-top: 18px; background: #14361f; color: #b8f5cf; border: 1px solid #2f7d4f;
  border-radius: 12px; padding: 15px 20px; font-weight: 700;
}
.form-success.show { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* -------- Footer -------- */
footer.site { background: #0b1729; color: #9fb0c9; padding: 60px 0 34px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-about .brand { align-items: center; }
.brand-chip { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 8px; }
.brand-chip img { height: 80px; width: 80px; object-fit: contain; }
.footer-about p { margin-top: 16px; max-width: 340px; color: #8fa2bd; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: #9fb0c9; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-creds { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.social-links { display: flex; gap: 16px; margin-top: 24px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background-color: #f4f3ed; color: #4a5568; border: 1px solid #e5e3db; transition: all 0.2s ease; }
.social-links a:hover { background-color: #e5e3db; color: #1c3355; transform: translateY(-2px); }
.cred-box { border: 1px dashed #33475f; border-radius: 10px; padding: 12px 18px; background: rgba(255,255,255,.02); }
.cred-box .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #7f92ad; font-weight: 700; }
.cred-box .v { color: #cbd8ea; font-weight: 700; margin-top: 4px; }
.disclaimer { color: #78899f; font-size: .82rem; line-height: 1.7; margin-top: 8px; }
.copyright { margin-top: 24px; color: #6d7f97; font-size: .85rem; }

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .hero-grid, .welcome-grid, .callout, .contact-grid, .mv-grid, .qual-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0 70px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 14px; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open a.active:not(.btn)::after { display: none; }
  .callout { padding: 34px 28px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .hero-cta .btn { width: 100%; }
  .contact-form .field-row { grid-template-columns: 1fr; }
}
