/*
Theme Name: TechBoK Portal
Theme URI: https://techbok.example
Author: Oseni Elamah ICT
Author URI: https://techbok.example
Description: Branded student-portal theme for TechBoK by Oseni Elamah ICT. Provides a clean landing page and a public certificate-verification section. Designed to pair with the TechBoK Student Registration Portal plugin.
Version: 1.0.0
Requires at least: 5.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techbok-portal
*/

:root{
  --blue:#1f74f0;
  --blue-d:#185fd0;
  --navy:#0c1b3a;
  --ink:#0c1b3a;
  --muted:#5b6577;
  --bg:#ffffff;
  --soft:#eef4ff;
  --line:#e3e9f3;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration:none}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:74px;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;letter-spacing:-.5px}
.brand img{max-height:48px;width:auto}
.brand .tech{color:var(--blue)}
.brand .bok{color:var(--navy)}
.site-nav{display:flex;align-items:center;gap:22px}
.site-nav a{color:var(--navy);font-weight:600;font-size:15px}
.site-nav a:hover{color:var(--blue)}
.btn{display:inline-block;padding:11px 20px;border-radius:9px;font-weight:700;font-size:15px;cursor:pointer;border:2px solid var(--blue)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-d);border-color:var(--blue-d)}
.btn-ghost{background:transparent;color:var(--blue)}
.btn-ghost:hover{background:var(--soft)}
.btn-light{background:#fff;color:var(--navy);border-color:#fff}

/* ---------- hero ---------- */
.hero{background:radial-gradient(1200px 400px at 50% -120px,#dbe8ff 0%,#fff 70%);
  text-align:center;padding:74px 0 64px}
.hero .logo-mark{max-height:120px;margin:0 auto 22px;display:block}
.hero h1{font-size:clamp(30px,5vw,48px);line-height:1.12;margin:0 0 14px;color:var(--navy);letter-spacing:-1px}
.hero h1 .accent{color:var(--blue)}
.hero p.lead{font-size:18px;color:var(--muted);max-width:620px;margin:0 auto 28px}
.hero .cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.tagline{display:inline-block;background:var(--soft);color:var(--blue);font-weight:700;
  font-size:13px;letter-spacing:.12em;text-transform:uppercase;padding:7px 14px;border-radius:999px;margin-bottom:22px}

/* ---------- highlights ---------- */
.section{padding:64px 0}
.section.alt{background:var(--soft)}
.section h2{text-align:center;font-size:30px;color:var(--navy);margin:0 0 8px;letter-spacing:-.5px}
.section .sub{text-align:center;color:var(--muted);margin:0 auto 40px;max-width:560px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px 24px;text-align:center;
  box-shadow:0 1px 3px rgba(12,27,58,.05)}
.card .ico{width:54px;height:54px;border-radius:14px;background:var(--soft);color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:26px;font-weight:800}
.card h3{margin:0 0 8px;color:var(--navy);font-size:18px}
.card p{margin:0;color:var(--muted);font-size:15px}

/* ---------- verify section ---------- */
#verify .box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:36px;
  max-width:680px;margin:0 auto;box-shadow:0 6px 24px rgba(12,27,58,.06)}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:#cdd7ea;padding:34px 0;text-align:center;font-size:14px}
.site-footer .brand-f{font-weight:800;font-size:20px;color:#fff;margin-bottom:6px}
.site-footer .brand-f .tech{color:#5b9bff}

/* ---------- generic page/post content ---------- */
.page-content{padding:56px 0;max-width:760px}
.page-content h1{color:var(--navy)}

@media(max-width:780px){
  .cards{grid-template-columns:1fr}
  .site-nav{gap:12px}
  .site-nav .navlink{display:none}
}
