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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f7fafc;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: #0b3c5d;
    color: #ffffff;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

.nav-links a {
    margin-left: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hero {
    background: linear-gradient(120deg, #0b3c5d, #1d72b8);
    color: #ffffff;
    padding: 4rem 0 3rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}

.hero .supporting {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #ffd166;
    color: #1f2933;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
}

.hero-meta {
    font-size: 0.85rem;
    opacity: 0.85;
}

.hero-aside {
    background-color: rgba(15, 52, 96, 0.65);
    border-radius: 1rem;
    padding: 1.5rem;
    font-size: 0.9rem;
}

.hero-aside h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-aside p {
    margin-bottom: 0.6rem;
}

.section {
    padding: 3rem 0;
}

.section.alt {
    background-color: #ffffff;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.section-lead {
    font-size: 0.98rem;
    max-width: 720px;
    margin-bottom: 1.75rem;
    color: #52606d;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 2rem;
}

.card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.93rem;
    color: #52606d;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background-color: #e4effa;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.list {
    list-style: none;
    margin-top: 0.5rem;
}

.list li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    color: #52606d;
}

.list li::before {
    content: "•";
    color: #1d72b8;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

.two-column-text {
    column-count: 1;
    column-gap: 2.5rem;
}

@media (min-width: 900px) {
    .two-column-text {
        column-count: 2;
    }
}

.callout {
    border-left: 4px solid #1d72b8;
    padding-left: 1rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #364152;
}

.contact-section {
    text-align: center;
}

.contact-section p {
    max-width: 640px;
    margin: 0 auto 1.75rem auto;
    color: #52606d;
}

.contact-details {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.contact-details a {
    color: #1d72b8;
    text-decoration: underline;
}

footer {
    background-color: #0b3c5d;
    color: #cbd2d9;
    padding: 1.75rem 0;
    margin-top: 2rem;
    font-size: 0.85rem;
}

footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

footer a {
    color: #e4effa;
    text-decoration: underline;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    header {
        position: static;
    }
    .nav-links {
        display: none;
    }
}


.hero-aside {
    background-color: rgba(15, 52, 96, 0.78);
    border-radius: 1rem;
    padding: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.hero-photo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid rgba(255,255,255,0.85);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-aside h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.hero-aside p {
    margin-bottom: 0.55rem;
}

.hero-aside small {
    font-size: 0.8rem;
    opacity: 0.85;
}


/* How to Engage – CTA alignment */
.engage-card {
  display: flex;
  flex-direction: column;
}

.engage-card .card-cta {
  margin-top: auto;              /* pushes CTA to bottom */
  display: flex;
  justify-content: flex-end;     /* aligns CTA to the right */
  padding-top: 1rem;
}

.engage-card .btn-primary {
  min-height: 44px;              /* proper tap target */
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}


/* ===============================
   Authority Pages (Insights)
   =============================== */
.authority-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.authority-link {
  display: block;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
}

.authority-link:hover {
  border-color: rgba(255,255,255,0.22);
  text-decoration: none;
}

.authority-link .kicker {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 6px;
}

.authority-link .title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.authority-link .desc {
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}
/* ===============================
   Insights grid + card link fixes
   =============================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover,
a.card:focus {
  text-decoration: none;
}

a.card .read-more {
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ==================================================
   Hero – Quick fit check readability fix
   ================================================== */

.hero-aside {
    background-color: rgba(8, 32, 56, 0.88); /* darker panel for contrast */
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-aside h2 {
    color: rgba(255, 255, 255, 0.98);
}

.hero-aside p,
.hero-aside li,
.hero-aside small {
    color: rgba(255, 255, 255, 0.94);
}

.hero-aside li {
    line-height: 1.55;
}

.hero-aside strong {
    color: #ffffff;
}

/* ==================================================
   Mobile Hero – Line Breaks & Button Spacing
   ================================================== */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero h1 br {
    display: none; /* prevent awkward forced breaks */
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-cta,
  .hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.25rem;
  }

  .hero-cta a,
  .hero__cta a {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .hero-aside {
    margin-top: 1.5rem;
  }
}

/* ================================
   Blue / Gradient Section Text Fix (Scoped)
   ================================ */

/* Only apply high-contrast text when the section has the bg-gradient class */
.section.bg-gradient h1,
.section.bg-gradient h2,
.section.bg-gradient h3,
.section.bg-gradient h4,
.section.bg-gradient .badge {
  color: #ffffff;
}

.section.bg-gradient p,
.section.bg-gradient li,
.section.bg-gradient .section-lead {
  color: rgba(255, 255, 255, 0.92);
}

/* Ensure links remain readable on gradient sections */
.section.bg-gradient a {
  color: rgba(255, 255, 255, 0.95);
}

/* ================================
   Page Hero Banner Text Contrast Fix
   Applies to About + Execution-Led GTM pages
   ================================ */

/* Many internal pages reuse a hero/banner block with a dark gradient background.
   These rules increase contrast for the intro copy without affecting white sections. */

.hero h1,
.hero h2,
.page-hero h1,
.page-hero h2,
.section-hero h1,
.section-hero h2,
.banner h1,
.banner h2 {
  color: #ffffff;
}

.hero p,
.hero .lead,
.hero .section-lead,
.page-hero p,
.page-hero .lead,
.page-hero .section-lead,
.section-hero p,
.section-hero .lead,
.section-hero .section-lead,
.banner p,
.banner .lead,
.banner .section-lead {
  color: rgba(255, 255, 255, 0.92);
}

/* If the hero uses a CTA/link inside the banner */
.hero a,
.page-hero a,
.section-hero a,
.banner a {
  color: rgba(255, 255, 255, 0.95);
}
