/* ============================================================
   Insight Core Learning — Global Stylesheet
   Brand: Blue (primary) | Red (secondary) | Black (tertiary)
   ============================================================ */

:root {
  /* Brand colors */
  --blue-900: #0B1F4D;
  --blue-800: #10265B;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
  --red-700: #B91C1C;
  --red-600: #DC2626;
  --red-500: #EF4444;
  --red-50: #FEF2F2;
  --black: #111827;
  --ink: #1F2937;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;

  /* Shape & depth */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 77, .08), 0 1px 2px rgba(11, 31, 77, .06);
  --shadow: 0 4px 14px rgba(11, 31, 77, .10);
  --shadow-lg: 0 16px 40px rgba(11, 31, 77, .16);
  --grad-blue: linear-gradient(135deg, #1D4ED8 0%, #10265B 100%);
  --grad-red: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);

  /* Type */
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--black); line-height: 1.25; font-weight: 700; }

.container { width: min(1180px, 92%); margin-inline: auto; }

section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-600); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { font-size: 17px; }
.text-red { color: var(--red-600); }
.text-blue { color: var(--blue-600); }
.bg-gray { background: var(--gray-50); }
.bg-blue { background: var(--blue-900); }
.bg-blue .section-head h2, .bg-blue .section-head p { color: var(--white); }
.bg-blue .section-head .kicker { color: #FCA5A5; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: #CBD5E1; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #E2E8F0; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .tb-right { gap: 22px; }
.topbar svg { vertical-align: -3px; margin-right: 6px; opacity: .85; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 4px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 20px; font-weight: 800; color: var(--blue-900); line-height: 1.1; }
.brand-name span { color: var(--red-600); }
.brand-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 11px; border-radius: 8px;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--blue-900); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn svg { flex: 0 0 auto; }
.btn-blue { background: var(--blue-700); color: #fff; box-shadow: 0 4px 12px rgba(29, 78, 216, .35); }
.btn-blue:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn-red { background: var(--red-600); color: #fff; box-shadow: 0 4px 12px rgba(220, 38, 38, .35); }
.btn-red:hover { background: var(--red-500); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--blue-900); color: #fff; }
.btn-navy:hover { background: var(--blue-800); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--blue-700); color: var(--blue-700); background: transparent; }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--blue-900); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #E2E8F0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37, 99, 235, .45), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(220, 38, 38, .25), transparent 55%),
    var(--grad-blue);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25); color: #DBEAFE; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.01em; margin-bottom: 22px; }
.hero h1 .hl { color: #FCA5A5; }
.hero h1 .hlb { color: #93C5FD; }
.hero p.lead { font-size: 18px; color: #CBD5E1; margin-bottom: 14px; }
.hero p.sub { color: #94A3B8; font-size: 15.5px; margin-bottom: 30px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 520px; }
.hero-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 16px 18px; }
.hero-stat b { display: block; font-size: 26px; color: #fff; }
.hero-stat span { font-size: 13px; color: #94A3B8; }

.hero-visual { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg);
  color: var(--gray-600);
}
.hero-card h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-card h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-500); display: inline-block; }
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-bottom: 20px; }
.chart-bars .bar { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--grad-blue); position: relative; }
.chart-bars .bar::after { content: attr(data-v); position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--blue-800); }
.hero-card .mini-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; border-bottom: 1px dashed var(--gray-200); }
.hero-card .mini-row:last-child { border-bottom: 0; }
.hero-card .mini-row b { color: var(--black); }

.hero-float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--black);
}
.hero-float.f1 { top: -22px; right: -12px; }
.hero-float.f2 { bottom: -24px; left: -18px; }
.hero-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.hero-float.f1 .ic { background: var(--red-50); color: var(--red-600); }
.hero-float.f2 .ic { background: var(--blue-50); color: var(--blue-700); }
.hero-float small { display: block; font-weight: 400; color: var(--gray-500); font-size: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(37,99,235,.4), transparent 60%),
    var(--grad-blue);
  color: #E2E8F0; padding: 64px 0 66px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: #CBD5E1; max-width: 640px; }
.crumbs { font-size: 13px; color: #94A3B8; margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: #93C5FD; }
.crumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff;
}
.icon-box.blue { background: var(--grad-blue); }
.icon-box.red { background: var(--grad-red); }
.icon-box.light-blue { background: var(--blue-100); color: var(--blue-700); }
.icon-box.light-red { background: var(--red-50); color: var(--red-600); }
.icon-box.light { background: var(--gray-100); color: var(--blue-800); }

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }
.card .link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--red-600); margin-top: 14px; }
.card .link-more:hover { color: var(--blue-700); }

/* Course card */
.course-card { display: flex; flex-direction: column; }
.course-thumb {
  height: 150px; border-radius: 10px; margin-bottom: 18px; display: grid; place-items: center;
  color: #fff; position: relative; overflow: hidden;
}
.course-thumb .ct-label { font-weight: 800; font-size: 15px; letter-spacing: .02em; text-align: center; padding: 0 12px; }
.course-thumb .ct-icon { position: absolute; right: 10px; bottom: -18px; opacity: .18; }
.th-blue { background: var(--grad-blue); }
.th-navy { background: linear-gradient(135deg, #1E3A8A, #0B1F4D); }
.th-red { background: var(--grad-red); }
.th-dark { background: linear-gradient(135deg, #374151, #111827); }
.course-card h3 { font-size: 17px; margin-bottom: 8px; }
.course-card .course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700);
}
.chip.red { background: var(--red-50); color: var(--red-600); }
.chip.gray { background: var(--gray-100); color: var(--gray-600); }
.chip.dark { background: var(--black); color: #fff; }
.course-card .instructor { font-size: 13.5px; color: var(--gray-500); display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 12px; }
.course-card .instructor .av { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.course-card .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.course-card .price { font-weight: 800; color: var(--blue-800); font-size: 17px; }
.course-card .price small { font-weight: 500; color: var(--gray-500); font-size: 12.5px; }

/* Person / serve cards */
.person-card { text-align: center; padding: 30px 22px; }
.person-card .avatar { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 24px; box-shadow: var(--shadow); }
.person-card h3 { font-size: 17px; margin-bottom: 8px; }
.person-card p { font-size: 14px; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why-card { text-align: center; padding: 28px 18px; }
.why-card .icon-box { margin-inline: auto; }

/* Resource / blog cards */
.resource-card .rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.resource-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.resource-card h3 a { color: var(--black); }
.resource-card h3 a:hover { color: var(--blue-700); }
.resource-card p { font-size: 14px; }
.rc-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--gray-500); margin-top: 14px; }
.blog-thumb { height: 170px; border-radius: 10px; margin-bottom: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; text-align: center; padding: 10px; }

/* Program cards */
.program-card { position: relative; overflow: hidden; }
.program-card .p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.program-card .p-dates { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.program-card ul.tick { margin: 14px 0 16px; }
.program-card ul.tick li { font-size: 14px; padding: 5px 0 5px 26px; position: relative; }
.program-card ul.tick li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600);
  transform: rotate(-45deg);
}
.p-badge { position: absolute; top: 14px; right: 14px; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.testimonial-card .quote { font-size: 15px; color: var(--ink); margin-bottom: 20px; position: relative; padding-left: 22px; }
.testimonial-card .quote::before { content: "\201C"; position: absolute; left: 0; top: -10px; font-size: 44px; color: var(--red-500); font-family: Georgia, serif; }
.testimonial-card .t-person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-person .av { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-weight: 800; }
.testimonial-card .t-person b { color: var(--black); display: block; font-size: 14.5px; }
.testimonial-card .t-person span { font-size: 13px; color: var(--gray-500); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--blue-900); color: #E2E8F0; padding: 40px 0; }
.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: #fff; }
.stat-num em { font-style: normal; color: #FCA5A5; }
.stat-label { font-size: 13.5px; color: #94A3B8; }

/* ---------- Methodology flow ---------- */
.method-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.method-step { text-align: center; padding: 0 14px; position: relative; }
.method-step .ms-num {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue-700); font-weight: 800; font-size: 19px; border: 3px solid var(--blue-100);
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.method-step:nth-child(even) .ms-num { border-color: var(--red-100); color: var(--red-600); }
.method-step h4 { font-size: 16px; margin-bottom: 6px; }
.method-step p { font-size: 13.5px; color: var(--gray-500); }
.method-flow::before {
  content: ""; position: absolute; top: 29px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blue-100), var(--red-100));
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(239, 68, 68, .35), transparent 60%),
    var(--grad-blue);
  border-radius: var(--radius-lg); padding: 56px 48px; color: #E2E8F0; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { max-width: 640px; margin-bottom: 26px; color: #CBD5E1; }
.cta-band .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab-btn {
  border: 1.5px solid var(--gray-200); background: #fff; color: var(--gray-600);
  font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.tab-btn:hover { border-color: var(--blue-600); color: var(--blue-700); }
.tab-btn.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--gray-200); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px;
  font-size: 15.5px; font-weight: 700; color: var(--black); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .faq-ic { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; font-size: 16px; transition: .25s; }
.faq-item.open .faq-q .faq-ic { transform: rotate(45deg); background: var(--red-50); color: var(--red-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; font-size: 14.5px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
th { background: var(--blue-900); color: #fff; text-align: left; padding: 13px 16px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--gray-50); }
td b { color: var(--black); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--gray-500); margin-top: 6px; }
.form-success { display: none; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 14px; font-weight: 600; padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; }
.form-success.show { display: block; }

/* Search bar */
.search-bar { position: relative; max-width: 640px; }
.search-bar input { padding: 15px 52px 15px 18px; font-size: 15px; border-radius: 12px; }
.search-bar .sb-ic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 9px; background: var(--blue-700); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; }

/* ---------- Dashboard ---------- */
.dash-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.dash-side { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.dash-user { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-100); margin-bottom: 16px; }
.dash-user .av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-weight: 800; }
.dash-user b { color: var(--black); display: block; font-size: 15px; }
.dash-user span { font-size: 12.5px; color: var(--gray-500); }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--gray-600); font-weight: 600; font-size: 14px; }
.dash-nav a:hover, .dash-nav a.active { background: var(--blue-50); color: var(--blue-700); }
.dash-nav a .dn { margin-left: auto; background: var(--red-50); color: var(--red-600); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; }
.dash-stat b { display: block; font-size: 24px; color: var(--blue-800); }
.dash-stat span { font-size: 12.5px; color: var(--gray-500); }
.dash-stat .ic { float: right; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }

.progress-track { background: var(--gray-100); height: 10px; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad-blue); border-radius: 999px; }
.progress-fill.red { background: var(--grad-red); }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray-500); margin-bottom: 6px; font-weight: 600; }
.progress-label b { color: var(--blue-800); }

.module-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--gray-100); font-size: 14.5px; color: var(--gray-600); }
.module-list li:last-child { border-bottom: 0; }
.module-list .m-state { margin-left: auto; font-size: 12.5px; font-weight: 700; }
.m-done { color: #059669; }
.m-progress { color: var(--red-600); }
.m-locked { color: var(--gray-400); }
.m-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.m-check.ok { background: #D1FAE5; color: #059669; }
.m-check.now { background: var(--red-50); color: var(--red-600); }
.m-check.lock { background: var(--gray-100); color: var(--gray-400); }

/* ---------- Certificate ---------- */
.cert-sheet {
  max-width: 860px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg);
  border: 10px double var(--blue-900); padding: 44px 40px; text-align: center; box-shadow: var(--shadow-lg); position: relative;
}
.cert-sheet .cert-logo { width: 96px; margin: 0 auto 14px; }
.cert-sheet .cert-brand { font-size: 24px; font-weight: 800; color: var(--blue-900); }
.cert-sheet .cert-brand span { color: var(--red-600); }
.cert-sheet .cert-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); font-weight: 700; margin-bottom: 18px; }
.cert-sheet .cert-title { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; color: var(--blue-900); margin: 10px 0 4px; }
.cert-sheet .cert-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 22px; }
.cert-sheet .cert-name { font-size: 34px; font-weight: 800; color: var(--black); border-bottom: 2px solid var(--gray-200); display: inline-block; padding: 0 30px 6px; margin-bottom: 18px; }
.cert-sheet .cert-course { font-size: 17px; color: var(--ink); margin-bottom: 26px; }
.cert-sheet .cert-issuer { font-size: 14.5px; color: var(--gray-500); margin-bottom: 30px; }
.cert-sheet .cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-top: 1px solid var(--gray-200); padding-top: 22px; text-align: left; }
.cert-sheet .cert-foot .sig { font-size: 13px; color: var(--gray-500); }
.cert-sheet .cert-foot .sig b { color: var(--black); display: block; font-size: 14px; }
.cert-id { font-family: ui-monospace, monospace; font-size: 13px; color: var(--gray-500); letter-spacing: .08em; }

/* ---------- Instructors ---------- */
.instructor-card { text-align: left; }
.instructor-card .big-av {
  width: 84px; height: 84px; border-radius: 18px; background: var(--grad-blue); color: #fff;
  display: grid; place-items: center; font-size: 28px; font-weight: 800; margin-bottom: 16px;
}
.instructor-card h3 { font-size: 17px; }
.instructor-card .title { color: var(--red-600); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.instructor-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- Resource filters ---------- */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip {
  border: 1.5px solid var(--gray-200); background: #fff; font-weight: 600; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: .2s; color: var(--gray-600);
}
.filter-chip:hover { border-color: var(--blue-600); color: var(--blue-700); }
.filter-chip.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
[data-filter] { transition: opacity .2s; }

/* ---------- Contact info ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; }
.contact-card .icon-box { margin-bottom: 0; flex: 0 0 auto; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; }

/* ---------- Feature list ---------- */
ul.check li { position: relative; padding: 7px 0 7px 30px; font-size: 15px; color: var(--gray-600); }
ul.check li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 15px; height: 8px;
  border-left: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600); transform: rotate(-45deg);
}
ul.check li b { color: var(--black); }

/* ---------- Split / info layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.info-panel { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.info-panel h3 { margin-bottom: 14px; font-size: 18px; }
.info-panel .ip-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--gray-200); font-size: 14px; }
.info-panel .ip-row:last-child { border-bottom: 0; }
.info-panel .ip-row span { color: var(--gray-500); }
.info-panel .ip-row b { color: var(--black); text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #94A3B8; padding: 60px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer .brand img { height: 58px; }
.site-footer .f-about p { margin: 14px 0 18px; font-size: 14px; }
.site-footer .f-tagline { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #64748B; font-weight: 700; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.f-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.f-contact svg { flex: 0 0 auto; margin-top: 3px; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: #64748B; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #94A3B8; }

/* ---------- Breadcrumb strip / misc ---------- */
.lead { font-size: 17.5px; color: var(--gray-600); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.center-block { margin-inline: auto; }

/* Notice banner (demo) */
.notice { background: var(--red-50); border: 1px solid #FECACA; color: var(--red-700); font-size: 13px; padding: 10px 16px; border-radius: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-700); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 118px; right: 0; left: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 18px 5%; gap: 2px; box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200); transform: translateY(-12px); opacity: 0;
    visibility: hidden; transition: .25s; max-height: calc(100vh - 130px); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; font-size: 15px; border-radius: 10px; }
  .nav-cta .btn-outline { display: none; }
  .nav-cta .btn-red { padding: 9px 16px; font-size: 13px; }
  .hero .container { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-visual { max-width: 460px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .method-flow { grid-template-columns: 1fr; gap: 26px; }
  .method-flow::before { display: none; }
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 52px 0; }
  .g2, .g3, .g6 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .tb-right { display: none; }
  .cta-band { padding: 40px 24px; }
  .cert-sheet { padding: 30px 20px; }
  .cert-sheet .cert-foot { flex-direction: column; align-items: center; text-align: center; }
}
