
/* Shared styles for 402 InfoSec */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    line-height: 1.7;
    color: #0f172a;
    background: #ffffff;
}
header, footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 24px;
}
nav a {
    color: #cbd5e1;
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
}
nav a:hover { color: #60a5fa; }
.section {
    max-width: 1000px;
    margin: auto;
    padding: 80px 20px;
}
h1, h2, h3 {
    color: #0f172a;
}
.hero {
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: white;
    padding: 120px 20px;
    text-align: center;
}
.hero p { color: #cbd5e1; max-width: 700px; margin: auto; }
.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}
.button:hover { background: #2563eb; }
.footer-note {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}
ul {
    padding-left: 20px;
}
li { margin-bottom: 10px; }

/* =======================================================================
   Professional Redesign Overrides for 402 InfoSec
   This section introduces a refined, executive-friendly palette and layout.
   It adds CSS variables for easy theme management and modernises the
   typography, spacing, and visual hierarchy to appeal to C-suite and
   high-net-worth clients.
   ======================================================================= */

/* Color palette variables */
:root {
  --ink: #0a192f;        /* primary text color (dark navy) */
  --muted: #94a3b8;      /* muted text and secondary elements (soft blue‑grey) */
  --bg: #f7f9fc;         /* overall page background (very light blue‑grey) */
  --surface: #ffffff;    /* card and section backgrounds */
  --header-bg: #051923;  /* header and footer background (deep navy) */
  --accent: #d4af37;     /* gold accent for calls to action and highlights */
  --accent-dark: #b08a2f;/* darker gold for hover states */
}

/* Global styles */
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  margin: 0;
}

header,
footer {
  background: var(--header-bg);
  color: var(--surface);
  padding: 32px 20px;
}

/* Navigation styling */
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--muted);
  margin-right: 0;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
nav a[aria-current="page"] {
  color: var(--surface);
  border-bottom: 2px solid var(--accent);
}
nav a:hover {
  color: var(--accent);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--header-bg), #0e2a47);
  color: var(--surface);
  padding: 140px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Ensure headings within the hero inherit the light color rather than the global heading color */
.hero h1,
.hero h2,
.hero h3 {
  color: var(--surface);
}
.hero p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* Call to action button */
.button {
  display: inline-block;
  margin-top: 0;
  padding: 16px 40px;
  background: var(--accent);
  /* Use dark text for maximum contrast on the gold accent */
  color: var(--header-bg) !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color .2s;
}
.button:hover {
  background: var(--accent-dark);
}

/* Section styles */
.section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 80px 24px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
h1, h2, h3 {
  color: var(--ink);
  margin-top: 0;
}
.section h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
.section h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

/* Lists */
ul {
  padding-left: 24px;
  margin-top: 0;
  list-style: none;
}
li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

/* Footer note */
.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* Links inside content sections adopt the accent color */
.section a {
  color: var(--accent);
  text-decoration: underline;
  transition: color .2s;
}
.section a:hover {
  color: var(--accent-dark);
}

/* Service definition list styling */
.service-list {
  margin: 24px 0;
}
.service-list dt {
  font-weight: 600;
  margin-top: 20px;
  color: var(--ink);
}
.service-list dd {
  margin-left: 20px;
  margin-bottom: 12px;
  color: var(--muted);
}

/* Testimonials section */
.testimonials blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding-left: 16px;
  font-style: italic;
  color: var(--muted);
}
.testimonials cite {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--ink);
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Top spacing when header is sticky */
.hero {
  margin-top: 80px;
}

/* Secondary call-to-action button */
.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 16px 40px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s;
  margin-left: 12px;
}
.button-secondary:hover {
  background: var(--accent);
  color: var(--header-bg);
}

/* === HNI Service Section Styles === */
.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: -4px;
  margin-bottom: 24px;
}
.cta-group {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.cta-group .button {
  margin-right: 0;
}
.secondary-link {
  font-size: 0.95rem;
  color: var(--accent);
}
.secondary-link a {
  color: var(--accent);
  text-decoration: underline;
  transition: color .2s;
}
.secondary-link a:hover {
  color: var(--accent-dark);
}
.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.qualify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.qualify-grid h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.card h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--ink);
}
.card .desc,
.card .duration {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.micro-line,
.tone-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
}
.deliverables-list li {
  margin-bottom: 8px;
}
.process-steps {
  padding-left: 20px;
}
.process-steps li {
  margin-bottom: 8px;
}

/* Blog article styling */
article {
  margin-bottom: 40px;
}
article h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}
article a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}
article a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
