:root {
  --navy: #071f49;
  --navy-2: #092b63;
  --blue: #0b5be1;
  --blue-2: #0b6ff0;
  --light-blue: #eaf4ff;
  --pale-blue: #f4f9ff;
  --gray: #5d6b80;
  --text: #10233f;
  --border: #d9e3f0;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(7, 31, 73, 0.08);
  --radius: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid #e7edf6;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff !important;
  padding: 15px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(11, 91, 225, 0.2);
}

.nav-cta:hover {
  color: #ffffff !important;
}

/* Hero */

.hero {
  padding: 62px 0 58px;
  background:
    radial-gradient(circle at top right, rgba(11, 91, 225, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid #edf3fb;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
}

.hero .eyebrow {
  text-align: left;
}

.hero-copy h1 {
  margin: 0 0 22px;
  max-width: 740px;
  font-size: clamp(36px, 3.15vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--navy);
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 650px;
  color: #2d3a53;
  font-size: 18px;
  font-weight: 600;
}

.highlight {
  color: var(--blue);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.btn-primary,
.form-button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 91, 225, 0.18);
}

.btn-secondary {
  border: 2px solid var(--blue);
  color: var(--navy);
  background: #ffffff;
}

.hero-image img {
  width: 100%;
  max-height: 455px;
  object-fit: contain;
}

/* Trust strip */

.trust-strip {
  border-bottom: 1px solid #e7edf6;
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  padding: 20px 12px;
  border-right: 1px solid #e7edf6;
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
  text-align: left;
}

.trust-card:last-child {
  border-right: 0;
}

.trust-icon {
  width: 34px;
  height: 34px;
  color: var(--blue);
  flex: 0 0 auto;
}

/* General sections */

.section {
  padding: 70px 0 0;
}

.section-title {
  margin: 0 0 18px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.section-intro {
  max-width: 900px;
  margin: -4px auto 34px;
  text-align: center;
  color: #2d3a53;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

/* Services preview */

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1050px;
  margin: 0 auto;
}

.services-preview-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(7, 31, 73, 0.04);
}

.services-preview-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.services-preview-card p {
  margin: 0;
  color: #2d3a53;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.services-button-wrap,
.blog-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  width: 100%;
}

.services-button-wrap .btn-secondary,
.blog-button-wrap .btn-secondary {
  min-width: 230px;
  text-align: center;
}

/* Why section */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.why-card {
  text-align: center;
  padding: 10px 18px;
  border-right: 1px solid #dce6f4;
}

.why-card:last-child {
  border-right: 0;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--blue);
}

.why-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.why-card p {
  margin: 0;
  color: #2d3a53;
  font-size: 14px;
  font-weight: 600;
}

/* Lead panel */

.lead-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f3f9ff;
  padding: 34px;
  box-shadow: var(--shadow);
}

.lead-copy {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}

.clipboard-icon {
  width: 50px;
  height: 50px;
  color: var(--blue);
}

.lead-copy h2,
.homepage-contact-cta h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
}

.lead-copy p,
.homepage-contact-cta p {
  margin: 0 0 18px;
  color: #2d3a53;
  font-size: 15px;
  font-weight: 600;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.check-list li {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.check-list span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  margin-right: 8px;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
}

.homepage-contact-cta {
  background: #ffffff;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(7, 31, 73, 0.04);
}

/* Blog cards */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(7, 31, 73, 0.04);
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f9ff;
  border-bottom: 1px solid #d9e3f0;
  padding: 8px;
}

.blog-content {
  padding: 24px;
}

.blog-content h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.12;
  font-weight: 900;
}

.blog-content p {
  margin: 0 0 18px;
  color: #2d3a53;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.blog-content a {
  color: var(--blue);
  font-weight: 800;
}

/* Footer */

.footer {
  background: linear-gradient(180deg, #08224d 0%, #041633 100%);
  color: #ffffff;
  margin-top: 70px;
  padding: 46px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
  box-shadow: none;
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  margin: 0;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 1100px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav-cta {
    padding: 13px 20px;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .lead-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .services-preview-grid,
  .why-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

 .footer-bottom {
    flex-direction: column;
  }
  #assessments .services-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-card {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

 .brand-logo {
  height: 50px;
}

  .nav {
    gap: 13px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .trust-grid,
  .services-preview-grid,
  .why-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .lead-copy {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.services-preview-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 22px;
}

.services-preview-card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-preview-card h3 {
  margin-top: 0;
}

/* Assessment page card layout */

#assessments .services-preview-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
}

#assessments .services-preview-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#assessments .services-preview-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 22px;
}


/* Shared J3 page layout for Industries and Resources */

.j3-page {
  background: #ffffff;
  color: var(--text);
}

.j3-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.j3-hero {
  padding: 70px 0 58px;
  background:
    radial-gradient(circle at top right, rgba(11, 91, 225, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid #edf3fb;
}

.j3-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.j3-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.j3-hero h1 {
  margin: 0 0 12px;
  max-width: 760px;
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--navy);
}

.j3-hero h2 {
  margin: 0 0 20px;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.j3-hero p {
  margin: 0 0 26px;
  max-width: 690px;
  color: #2d3a53;
  font-size: 18px;
  font-weight: 600;
}

.j3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.j3-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 91, 225, 0.18);
}

.j3-button-light {
  background: #ffffff;
  color: var(--navy);
  border: 2px solid var(--blue);
  box-shadow: none;
}

.j3-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.j3-hero-image img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
}

.j3-section {
  padding: 70px 0 0;
}

.j3-section-white {
  background: #ffffff;
}

.j3-section-light {
  background: #f4f9ff;
  padding-bottom: 70px;
  margin-top: 70px;
}

.j3-section-title {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.j3-section-title h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.j3-section-title p {
  margin: 0 auto;
  color: #2d3a53;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.j3-card-grid {
  display: grid;
  gap: 24px;
}

.j3-card-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.j3-card-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.j3-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(7, 31, 73, 0.05);
}

.j3-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.j3-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.j3-card p {
  margin: 0;
  color: #2d3a53;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.j3-card a {
  color: var(--blue);
  font-weight: 900;
}

.j3-banner {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 24px;
  background: linear-gradient(135deg, #062147, #0b5be1);
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(11, 91, 225, 0.2);
}

.j3-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.j3-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 600;
}

.j3-footer {
  background: linear-gradient(180deg, #08224d 0%, #041633 100%);
  color: #ffffff;
  padding: 46px 0 26px;
  margin-top: 70px;
}

.j3-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.j3-footer .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
  box-shadow: none;
}

.j3-footer img {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.j3-footer p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  margin: 0;
}

.j3-footer h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #ffffff;
}

@media (max-width: 980px) {
  .j3-hero-grid,
  .j3-card-grid-three,
  .j3-card-grid-two,
  .j3-banner,
  .j3-footer-grid {
    grid-template-columns: 1fr;
  }

  .j3-hero-image {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .j3-container {
    width: min(var(--max), calc(100% - 28px));
  }

  .j3-hero {
    padding: 46px 0 48px;
  }

  .j3-hero h1 {
    font-size: 36px;
  }

  .j3-card {
    padding: 24px;
  }
}

/* Resources page image and card layout fix */

#resources .j3-card img,
.j3-page .j3-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

#resources .j3-hero-image img,
.j3-page .j3-hero-image img {
  width: min(100%, 420px);
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

#resources .j3-card-grid,
.j3-page .j3-card-grid {
  display: grid;
  gap: 24px;
}

#resources .j3-card-grid-three,
.j3-page .j3-card-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

#resources .j3-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(7, 31, 73, 0.05);
}

@media (max-width: 980px) {
  #resources .j3-card-grid-three,
  .j3-page .j3-card-grid-three {
    grid-template-columns: 1fr;
  }
}

/* Resources page list layout */

#resources .j3-resource-list {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

#resources .j3-resource-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(7, 31, 73, 0.05);
}

#resources .j3-resource-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

#resources .j3-resource-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

#resources .j3-resource-item p {
  margin: 0;
  color: #2d3a53;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

#resources .j3-resource-item .j3-button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  #resources .j3-resource-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

/* Professional shared page background */

.hero,
.j3-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(11, 91, 225, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(234, 244, 255, 0.95), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #edf6ff 100%) !important;
  border-bottom: 1px solid #dce8f6 !important;
  position: relative;
  overflow: hidden;
}

.hero::before,
.j3-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 91, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 91, 225, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none;
}

.hero-inner,
.j3-hero-grid {
  position: relative;
  z-index: 1;
}

/* Professional section background for lower page content */

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

.section,
.j3-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(234, 244, 255, 0.85), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(11, 91, 225, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.section:nth-of-type(even),
.j3-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 80% 12%, rgba(234, 244, 255, 0.95), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.services-preview-card,
.blog-card,
.j3-card,
.focus-card,
.card,
.timeline-card,
.side-card,
.post-card,
.featured-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

/* Final homepage visual polish */

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  max-height: 455px;
  margin: 0 auto;
  object-fit: contain;
}

.services-preview-card {
  box-shadow: 0 14px 34px rgba(7, 31, 73, 0.07);
  border: 1px solid #d7e4f3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(7, 31, 73, 0.11);
}

.trust-strip {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(7, 31, 73, 0.04);
  position: relative;
  z-index: 2;
}

/* About page hero balance */

.about-page .hero-inner {
  max-width: 1180px;
}

.hero-copy h1 {
  max-width: 760px;
}

/* Align Assessments, Industries, and Resources hero headers with main pages */

.j3-hero {
  padding: 62px 0 58px !important;
}

.j3-hero-grid {
  max-width: 1240px !important;
  margin: 0 auto !important;
  grid-template-columns: 1.02fr 0.98fr !important;
  gap: 54px !important;
  align-items: center !important;
}

.j3-hero-image img {
  width: 100% !important;
  max-width: 560px !important;
  max-height: 455px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.j3-hero h1 {
  font-size: clamp(36px, 3.15vw, 54px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
}

.j3-hero p {
  max-width: 650px !important;
  font-size: 18px !important;
}

/* Footer logo transparent background correction */

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px;
  box-shadow: none !important;
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Shared J3 footer logo transparent background correction */

.j3-footer .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px;
  box-shadow: none !important;
}

.j3-footer img.footer-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.footer-logo-wrap,
.j3-footer .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px;
  box-shadow: none !important;
}

.footer-logo,
.j3-footer img.footer-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Footer logo final transparent fix */

.footer-logo-wrap,
.j3-footer .footer-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px !important;
  box-shadow: none !important;
}

.footer-logo,
.j3-footer img.footer-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Footer logo brightness adjustment */

.footer-logo,
.j3-footer img.footer-logo {
  height: 74px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  image-rendering: auto !important;
  filter: brightness(1.95) contrast(1.2) saturate(1.15) !important;
}

.footer-logo-wrap,
.j3-footer .footer-logo-wrap {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 16px !important;
}

/* Sitewide footer logo brightness and transparency fix */

.footer img.footer-logo,
.j3-footer img.footer-logo,
.footer img[src*="j3-logo"],
.j3-footer img[src*="j3-logo"] {
  height: 74px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  image-rendering: auto !important;
  filter: brightness(1.95) contrast(1.22) saturate(1.18) !important;
}

.footer-logo-wrap,
.footer .footer-logo-wrap,
.j3-footer .footer-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

/* J3 Systems Group global header fix */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e7edf6;
  box-shadow: 0 2px 10px rgba(7, 31, 73, 0.04);
}

.header .container,
.header .j3-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  color: #071f49;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #0b5be1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5be1, #0b6ff0);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(11, 91, 225, 0.18);
}

@media (max-width: 980px) {
  .header-inner {
    height: auto;
    min-height: 76px;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    height: 50px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 14px;
  }
}

/* FORCE SAME HEADER SIZE ON EVERY PAGE */

body .header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #e7edf6 !important;
  box-shadow: 0 2px 10px rgba(7, 31, 73, 0.04) !important;
}

body .header .container {
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body .header-inner {
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 0 !important;
}

body .brand {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

body .brand-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

body .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
}

body .nav a {
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #071f49 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body .nav a:hover,
body .nav a.active {
  color: #0b5be1 !important;
}

body .nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0b5be1, #0b6ff0) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(11, 91, 225, 0.18) !important;
}

@media (max-width: 980px) {
  body .header-inner {
    height: auto !important;
    max-height: none !important;
    min-height: 88px !important;
    padding: 14px 0 !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body .brand-logo {
    height: 58px !important;
  }

  body .nav {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  body .nav a {
    font-size: 14px !important;
  }
}

.download-actions button {
  cursor: pointer;
}

/* Force blue call-to-action buttons to use white text */
.nav-cta,
a.nav-cta,
button.nav-cta,
.j3-button:not(.j3-button-light),
a.j3-button:not(.j3-button-light),
button.j3-button:not(.j3-button-light),
.btn-primary,
a.btn-primary,
button.btn-primary {
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Keep light buttons dark */
.j3-button-light,
a.j3-button-light,
button.j3-button-light,
.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  color: #071f49 !important;
}

/* Final override for header consultation button */
.header .nav a.nav-cta,
.header .nav a.nav-cta:link,
.header .nav a.nav-cta:visited,
.header .nav a.nav-cta:hover,
.header .nav a.nav-cta:active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0b5be1, #0b6ff0) !important;
  text-decoration: none !important;
}

.header .nav a.nav-cta,
.header .nav a.nav-cta:link,
.header .nav a.nav-cta:visited,
.header .nav a.nav-cta:hover,
.header .nav a.nav-cta:active,
.header .nav a.nav-cta.active {
  color: #ffffff !important;
}

.section-label {
  color: #0b3a66;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 760px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.featured-article {
  padding: 4rem 0;
  background: #ffffff;
}

.featured-article-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.featured-article-image img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.featured-article-content h3 {
  color: #0b1f33;
  font-size: 1.7rem;
  margin: 0.5rem 0 1rem;
}

.article-date {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.all-articles {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.blog-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0b3a66;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog-card-category {
  color: #0b3a66;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  color: #0b1f33;
  font-size: 1.2rem;
  margin: 0.4rem 0 0.8rem;
  line-height: 1.35;
}

.blog-card p {
  line-height: 1.65;
}

.blog-card-link {
  display: inline-block;
  margin-top: 1rem;
  color: #0b3a66;
  font-weight: 700;
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
}

.all-articles .container {
  max-width: 1120px;
}

.blog-card {
  min-height: 260px;
}

.blog-card h3 {
  font-size: 18px;
  line-height: 1.2;
}

.blog-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* Article page title banner correction */

.article-visual {
  overflow: visible !important;
  min-height: auto !important;
}

.article-visual-inner {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
}

.article-visual-title {
  font-size: clamp(24px, 2.4vw, 38px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  max-width: calc(100% - 130px) !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

.article-visual-icon {
  flex: 0 0 auto !important;
}

@media (max-width: 980px) {
  .article-visual-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .article-visual-title {
    max-width: 100% !important;
    font-size: 34px !important;
    white-space: normal !important;
  }
}

@media (max-width: 720px) {
  .article-visual-title {
    font-size: 28px !important;
    line-height: 1.18 !important;
  }
}


/* Header layout fix */

.j3-page {
  margin: 0;
}

.j3-container {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 56px;
  width: auto;
  max-width: 260px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 8px 0;
}

.nav a:hover,
.nav a:focus {
  color: #174ea6;
}

.nav a.active {
  color: #174ea6;
}

.nav a.nav-cta {
  background: #174ea6;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a.nav-cta:hover,
.nav a.nav-cta:focus {
  background: #0f3f8f;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .nav {
    justify-content: center;
    gap: 12px 16px;
  }

  .site-logo img {
    height: 50px;
    max-width: 230px;
  }
}

@media (max-width: 600px) {
  .j3-container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav a {
    font-size: 15px;
    padding: 4px 0;
  }

  .nav a.nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* Header logo size correction */

.site-header .site-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header .site-logo img {
    height: 44px;
    max-width: 210px;
  }
}

@media (max-width: 600px) {
  .site-header .site-logo img {
    height: 40px;
    max-width: 200px;
  }
}

/* Final header logo match */

.site-header .site-logo img {
  height: 64px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
}

.site-header .header-inner {
  min-height: 82px;
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .site-header .site-logo img {
    height: 56px;
    max-width: 250px;
  }

  .site-header .header-inner {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .site-header .site-logo img {
    height: 48px;
    max-width: 220px;
  }
}


/* J3 standard blog post shell */

.site-logo {
  max-height: 86px;
  width: auto;
  display: block;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0b56d0;
}

.site-nav .nav-cta {
  background: #0b56d0;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  background: #083f9e;
  color: #ffffff;
}

.blog-post-page {
  background: #ffffff;
  color: #0b1f3a;
  padding: 56px 24px 70px;
}

.blog-post {
  max-width: 980px;
  margin: 0 auto;
}

.blog-category {
  color: #0b56d0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.blog-post h1 {
  max-width: 880px;
  margin: 0 0 18px;
  color: #0b1f3a;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.blog-intro {
  max-width: 900px;
  color: #334155;
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 0 18px;
}

.blog-meta {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.share-section {
  margin: 28px 0 32px;
  padding: 22px 24px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.share-section h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0b1f3a;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-buttons a,
.share-buttons button {
  border: 1px solid #9bb2d1;
  background: #ffffff;
  color: #0b1f3a;
  padding: 9px 16px;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.share-buttons a:hover,
.share-buttons button:hover {
  background: #eff6ff;
  border-color: #0b56d0;
  color: #0b56d0;
}

.copy-link-message {
  width: 100%;
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.blog-summary-card {
  margin: 28px 0 34px;
  padding: 28px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fbff;
}

.summary-label {
  display: inline-block;
  margin: 0 0 12px;
  color: #0b56d0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-summary-card h2 {
  margin: 0 0 12px;
  color: #0b1f3a;
  font-size: 1.7rem;
}

.blog-summary-card p {
  color: #334155;
  line-height: 1.7;
}

.blog-summary-card h3 {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dbe3ef;
  color: #0b1f3a;
}

.article-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-section-links a {
  display: inline-block;
  border: 1px solid #9bb2d1;
  border-radius: 999px;
  padding: 9px 14px;
  color: #0b1f3a;
  background: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.article-section-links a:hover {
  border-color: #0b56d0;
  background: #eff6ff;
  color: #0b56d0;
}

.blog-post p {
  color: #1f2937;
  line-height: 1.75;
  margin: 0 0 18px;
}

.blog-post h2 {
  margin: 42px 0 14px;
  color: #0b1f3a;
  font-size: 1.65rem;
  line-height: 1.25;
}

.blog-post h3 {
  margin: 24px 0 10px;
  color: #0b1f3a;
  font-size: 1.15rem;
}

.blog-post ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.blog-post li {
  margin-bottom: 9px;
  line-height: 1.65;
}

.button-link {
  display: inline-block;
  background: #0b56d0;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  background: #083f9e;
  color: #ffffff;
}

.site-footer {
  background: #061b33;
  color: #ffffff;
  padding: 44px 24px 20px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  max-height: 76px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: #dbeafe;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-column h4 {
  color: #ffffff;
  margin: 0 0 12px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #dbeafe;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Header breathing room fix */

.header-inner {
  min-height: 88px !important;
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.brand-logo {
  max-height: 64px !important;
  height: auto !important;
}

.blog-card h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  text-align: left;
  margin: 12px 0 14px;
}

.blog-card h2 a {
  color: #071f49;
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-card .blog-meta {
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-card p {
  text-align: left;
}

.blog-list-card h2 {
  font-size: 1.55rem !important;
  line-height: 1.25 !important;
  text-align: left !important;
  margin: 14px 0 14px !important;
  letter-spacing: -0.02em !important;
}

.blog-list-card h2 a {
  color: #071f49 !important;
  text-decoration: none !important;
}

.blog-list-card .blog-category,
.blog-list-card .blog-meta,
.blog-list-card p,
.blog-list-card .read-more {
  text-align: left !important;
}

@media (max-width: 600px) {
  .blog-list-card h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
}

/* Force all primary hero sections to the same visual height */

.hero,
.j3-hero {
  min-height: 720px !important;
  display: flex !important;
  align-items: center !important;
}

.hero-inner,
.j3-hero-grid {
  min-height: 600px !important;
  align-items: center !important;
}

/* Balance Industries and Resources hero spacing only */

#industries .j3-hero,
#resources .j3-hero {
  min-height: 640px !important;
  display: flex !important;
  align-items: center !important;
}

#industries .j3-hero-grid,
#resources .j3-hero-grid {
  transform: translateY(20px);
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, 1100px);
    margin-left: auto;
    margin-right: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .brand-logo {
    max-width: 160px;
    height: auto;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav a {
    font-size: 0.9rem;
    padding: 8px 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }

  .hero,
  .section,
  .service-section {
    padding-left: 0;
    padding-right: 0;
  }

  .hero h1,
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.15;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  img,
  svg {
    max-width: 100%;
    height: auto;
  }

  .card,
  .service-card,
  .blog-card,
  .pricing-card {
    width: 100%;
  }

  .grid,
  .service-grid,
  .blog-grid,
  .blog-card-grid,
  .pricing-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1100px);
  }

  .nav a {
    font-size: 0.85rem;
    padding: 7px 8px;
  }

  .brand-logo {
    max-width: 140px;
  }

  .hero h1,
  h1 {
    font-size: 2rem;
  }
}

/* Mobile hamburger navigation */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 260px;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--nav);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .menu-toggle-icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  .menu-toggle-text {
    font-size: 0.95rem;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .nav a:hover {
    background: rgba(37, 99, 235, 0.08);
  }

  .nav .nav-cta {
    width: 100%;
    margin-top: 4px;
  }
}

@media (min-width: 769px) {
  .nav {
    display: flex;
  }
}

/* Fix mobile hero layout and text wrapping */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .article-hero,
  .hero,
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .article-hero-inner,
  .hero-inner,
  .header-inner,
  .container.article-hero-inner {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .hero-card,
  .article-card,
  .service-card,
  .pricing-card,
  .cta-panel {
    width: 100%;
    max-width: 100%;
    padding: 28px 22px;
    box-sizing: border-box;
  }

  .hero-card h1,
  .article-hero h1,
  .hero h1,
  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-card p,
  .article-hero p,
  .hero p,
  p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-visual,
  .article-visual,
  .visual-card,
  .one-time-visual,
  .service-visual {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-visual img,
  .article-visual img,
  .visual-card img,
  img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1100px);
  }

  .hero-card,
  .article-card,
  .service-card,
  .pricing-card,
  .cta-panel {
    padding: 24px 18px;
  }

  .hero-card h1,
  .article-hero h1,
  .hero h1,
  h1 {
    font-size: clamp(1.9rem, 11vw, 2.4rem);
  }

  .eyebrow,
  .article-pill {
    letter-spacing: 0.18em;
    font-size: 0.78rem;
  }
}

/* Final mobile hamburger override */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 48px);
    max-width: 420px;
    margin: 18px auto 0;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--nav);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .header .nav {
    display: none !important;
  }

  .header .nav.nav-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: calc(100% - 48px);
    max-width: 420px;
    margin: 18px auto 0;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  }

  .header .nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .header .nav .nav-cta {
    width: 100%;
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .header .nav {
    display: flex !important;
  }
}

/* Final global mobile hamburger fix */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex !important;
  }

  nav.nav {
    display: none !important;
  }

  nav.nav.nav-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: calc(100% - 48px);
    max-width: 420px;
    margin: 18px auto 0;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  }

  nav.nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  nav.nav .nav-cta {
    width: 100%;
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  nav.nav {
    display: flex !important;
  }
}

/* Veteran owned badge */
.veteran-badge-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  margin: 28px 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.veteran-badge-block img {
  width: 130px;
  max-width: 35%;
  height: auto;
}

.veteran-badge-block p {
  margin: 0;
  font-weight: 700;
  color: var(--nav);
}

@media (max-width: 768px) {
  .veteran-badge-block {
    flex-direction: column;
    text-align: center;
  }

  .veteran-badge-block img {
    width: 150px;
    max-width: 70%;
  }
}



/* Resource Center Page */
.resource-center-page .resource-hero {
  background:
    linear-gradient(120deg, rgba(3, 24, 58, 0.94), rgba(10, 76, 161, 0.78)),
    url("assets/cloud-security-dashboard-with-identity.png");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 96px 0 88px;
}

.resource-hero-inner {
  max-width: 860px;
}

.resource-hero h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 22px;
}

.resource-hero .eyebrow {
  color: #9dccff;
}

.resource-hero-text {
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 760px;
  color: #eef6ff;
}

.resource-search {
  margin-top: 34px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  padding: 10px 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.resource-search span {
  color: #0b2d5c;
  font-weight: 700;
  white-space: nowrap;
}

.resource-search input {
  border: none;
  outline: none;
  width: 100%;
  padding: 14px 8px;
  font-size: 1rem;
}

.resource-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.resource-quick-links a {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.resource-section {
  padding: 74px 0;
}

.resource-section-alt {
  background: #f4f8fd;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading.align-left {
  text-align: left;
  margin-left: 0;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

.resource-topic-grid,
.featured-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-topic-card,
.featured-resource-card,
.resource-cta-card {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 55, 105, 0.08);
  overflow: hidden;
}

.resource-topic-card {
  padding: 28px;
}

.topic-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #0b5ed7;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 18px;
}

.resource-topic-card h3,
.featured-resource-card h3,
.resource-cta-card h3 {
  margin-top: 0;
}

.resource-topic-card a,
.featured-resource-card a,
.download-list a,
.latest-resource-list a {
  color: #0b5ed7;
  font-weight: 800;
  text-decoration: none;
}

.resource-card-image {
  min-height: 170px;
  background-size: cover;
  background-position: center;
}

.resource-card-image-security {
  background-image:
    linear-gradient(rgba(0, 45, 99, 0.15), rgba(0, 45, 99, 0.15)),
    url("assets/cloud-security-dashboard-with-identity.png");
}

.resource-card-image-risk {
  background-image:
    linear-gradient(rgba(0, 45, 99, 0.15), rgba(0, 45, 99, 0.15)),
    url("assets/cybersecurity_network_connection_concept.png");
}

.resource-card-image-docs {
  background-image:
    linear-gradient(rgba(0, 45, 99, 0.15), rgba(0, 45, 99, 0.15)),
    url("assets/documentation-sops-icon.png");
}

.resource-card-content {
  padding: 24px;
}

.resource-tag {
  color: #0b5ed7;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.resource-two-column {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.download-list,
.latest-resource-list {
  display: grid;
  gap: 14px;
}

.download-list a,
.latest-resource-list a {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(15, 55, 105, 0.06);
}

.resource-cta-card {
  padding: 30px;
  background: linear-gradient(145deg, #06264f, #0b5ed7);
  color: #ffffff;
}

.resource-cta-card h3,
.resource-cta-card .eyebrow {
  color: #ffffff;
}

.resource-cta-card p {
  color: #eef6ff;
}

.latest-resource-list a {
  display: grid;
  gap: 6px;
  color: #082044;
}

.latest-resource-list span {
  color: #0b5ed7;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.center-button {
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .resource-topic-grid,
  .featured-resource-grid,
  .resource-two-column {
    grid-template-columns: 1fr;
  }

  .resource-center-page .resource-hero {
    padding: 70px 0;
  }

  .resource-search {
    display: block;
  }

  .resource-search span {
    display: block;
    margin-bottom: 6px;
  }
}

/* Resource Center hero cleanup */

.resource-hero,
.resources-hero {
  padding: 70px 20px 55px;
  background: #ffffff;
  text-align: center;
}

.resource-hero .container,
.resources-hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.resource-hero .eyebrow,
.resources-hero .eyebrow {
  margin-bottom: 18px;
  color: #0b63ce;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resource-hero h1,
.resources-hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: #13233a;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.resource-hero p,
.resources-hero p,
.resource-hero .hero-lead,
.resources-hero .hero-lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #4f5f73;
  font-size: 1.08rem;
  line-height: 1.7;
}

.resource-search-wrap,
.resource-search-box {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(19, 35, 58, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(19, 35, 58, 0.12);
}

.resource-search,
#resource-search {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(19, 35, 58, 0.12);
  border-radius: 10px;
  color: #13233a;
  font-size: 1rem;
}

.resource-search::placeholder,
#resource-search::placeholder {
  color: #7a8798;
}

.resource-filter-row,
.resource-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.resource-filter-row a,
.resource-filters a,
.filter-button {
  padding: 9px 14px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #0b63ce;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(11, 99, 206, 0.12);
}

.resource-filter-row a:hover,
.resource-filters a:hover,
.filter-button:hover,
.filter-button.active {
  background: #0b63ce;
  color: #ffffff;
}

/* Resource Article Template */

.article-hero {
  padding: 72px 0 58px;
  background: #f4f8fc;
  border-bottom: 1px solid rgba(15, 35, 55, 0.08);
}

.article-hero-inner {
  max-width: 960px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #66768a;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #0b63ce;
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-hero h1 {
  max-width: 880px;
  margin: 0 0 20px;
  color: #13233a;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.08;
  font-weight: 800;
}

.article-summary {
  max-width: 780px;
  margin: 0 0 24px;
  color: #4f5f73;
  font-size: 1.15rem;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #66768a;
  font-size: 0.92rem;
  font-weight: 700;
}

.article-body-section {
  padding: 68px 0;
  background: #ffffff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
}

.article-content {
  max-width: 800px;
}

.article-content p,
.article-content li {
  color: #344457;
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-content h2 {
  margin: 38px 0 14px;
  color: #13233a;
  font-size: 1.75rem;
  line-height: 1.25;
}

.article-content h3 {
  margin: 0 0 10px;
  color: #13233a;
  font-size: 1.2rem;
}

.article-content ul,
.article-content ol {
  margin: 18px 0 26px 22px;
  padding: 0;
}

.article-content li {
  margin-bottom: 10px;
}

.article-intro {
  font-size: 1.16rem;
  color: #26364a;
}

.article-callout {
  margin: 34px 0;
  padding: 26px;
  border-left: 5px solid #0b63ce;
  border-radius: 16px;
  background: #f4f8fc;
}

.article-callout p {
  margin-bottom: 0;
}

.article-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding: 30px;
  border-radius: 20px;
  background: #082b57;
  color: #ffffff;
}

.article-bottom-cta h2,
.article-bottom-cta p {
  color: #ffffff;
}

.article-bottom-cta p {
  margin-bottom: 0;
}

.article-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 35, 55, 0.12);
  box-shadow: 0 14px 36px rgba(15, 35, 55, 0.08);
}

.sidebar-card h3 {
  margin: 8px 0 10px;
  color: #13233a;
}

.sidebar-card p,
.sidebar-card li {
  color: #526272;
  line-height: 1.65;
}

.sidebar-card a {
  color: #0b63ce;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-card a:hover {
  text-decoration: underline;
}

.sidebar-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.sidebar-list li {
  margin-bottom: 10px;
}

.sidebar-link-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.sidebar-cta {
  background: #082b57;
  color: #ffffff;
}

.sidebar-cta h3,
.sidebar-cta p,
.sidebar-cta .eyebrow {
  color: #ffffff;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Founder page image size fix */
.founder-hero img,
.founder-photo img,
.founder-image img,
.founder-card img,
.founder-photo-card img {
  width: 100%;
  max-width: 430px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
}

/* Founder image card sizing */
.founder-photo,
.founder-image,
.founder-card,
.founder-photo-card {
  max-width: 450px;
  margin: 0 auto;
}

/* Keep the founder hero balanced */
.founder-hero .container,
.founder-hero-inner,
.founder-hero-grid,
.founder-grid {
  align-items: center;
}

/* Mobile fix */
@media (max-width: 768px) {
  .founder-hero img,
  .founder-photo img,
  .founder-image img,
  .founder-card img,
  .founder-photo-card img {
    max-width: 100%;
    max-height: 420px;
  }
}

/* Resources dropdown navigation */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-main::after {
  content: " ▾";
  font-size: 12px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  display: none;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(7, 31, 73, 0.12);
  z-index: 100;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #071f49;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #eaf4ff;
  color: #0b5be1;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

@media (max-width: 720px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: block;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 12px;
  }

  .nav-dropdown-menu a {
    padding-left: 18px;
  }
}

/* Resources dropdown navigation */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-main {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-main::after {
  content: " ▾";
  font-size: 12px;
  margin-left: 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  display: none;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(7, 31, 73, 0.16);
  z-index: 9999;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #071f49;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #eaf4ff;
  color: #0b5be1;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

@media (max-width: 720px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-main {
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    display: block;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 12px;
  }

  .nav-dropdown-menu a {
    padding-left: 18px;
  }
}

/* Center buttons on resource category hero pages */
.resource-category-hero .hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.resource-category-hero .btn-primary,
.resource-category-hero .btn-secondary {
  text-align: center;
}

/* Final Founder page image size correction */

body.founder-page .hero,
body.founder-page .founder-hero {
  min-height: auto !important;
  padding: 52px 0 54px !important;
  display: flex !important;
  align-items: center !important;
}

body.founder-page .hero-inner,
body.founder-page .founder-hero-inner,
body.founder-page .founder-hero-grid,
body.founder-page .founder-grid {
  min-height: auto !important;
  grid-template-columns: 1.15fr 0.75fr !important;
  gap: 42px !important;
  align-items: center !important;
}

body.founder-page .founder-photo,
body.founder-page .founder-image,
body.founder-page .founder-card,
body.founder-page .founder-photo-card,
body.founder-page .hero-image,
body.founder-page .founder-image-wrap {
  max-width: 380px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.founder-page img[alt*="James" i],
body.founder-page img[alt*="Winfield" i],
body.founder-page .founder-photo img,
body.founder-page .founder-image img,
body.founder-page .founder-card img,
body.founder-page .founder-photo-card img,
body.founder-page .hero-image img {
  width: 100% !important;
  max-width: 360px !important;
  max-height: 440px !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
}

body.founder-page figure,
body.founder-page .founder-photo-card {
  padding: 10px 10px 14px !important;
}

@media (max-width: 980px) {
  body.founder-page .hero-inner,
  body.founder-page .founder-hero-inner,
  body.founder-page .founder-hero-grid,
  body.founder-page .founder-grid {
    grid-template-columns: 1fr !important;
  }

  body.founder-page .founder-photo,
  body.founder-page .founder-image,
  body.founder-page .founder-card,
  body.founder-page .founder-photo-card,
  body.founder-page .hero-image,
  body.founder-page .founder-image-wrap {
    max-width: 340px !important;
  }

  body.founder-page img[alt*="James" i],
  body.founder-page img[alt*="Winfield" i],
  body.founder-page .founder-photo img,
  body.founder-page .founder-image img,
  body.founder-page .founder-card img,
  body.founder-page .founder-photo-card img,
  body.founder-page .hero-image img {
    max-width: 320px !important;
    max-height: 390px !important;
  }
}

/* Fix Resources dropdown disappearing before selection */

.header .nav .nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 48px !important;
}

.header .nav .nav-dropdown-main {
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #071f49 !important;
  line-height: 1 !important;
  padding: 18px 0 !important;
}

.header .nav .nav-dropdown-main::after {
  content: " ▾";
  font-size: 12px;
  margin-left: 4px;
}

.header .nav .nav-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 285px !important;
  display: none !important;
  padding: 10px !important;
  margin-top: 0 !important;
  background: #ffffff !important;
  border: 1px solid #d9e3f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(7, 31, 73, 0.16) !important;
  z-index: 99999 !important;
}

.header .nav .nav-dropdown:hover .nav-dropdown-menu,
.header .nav .nav-dropdown:focus-within .nav-dropdown-menu,
.header .nav details.nav-dropdown[open] .nav-dropdown-menu {
  display: block !important;
}

.header .nav .nav-dropdown-menu a {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  color: #071f49 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.header .nav .nav-dropdown-menu a:hover,
.header .nav .nav-dropdown-menu a:focus {
  background: #eaf4ff !important;
  color: #0b5be1 !important;
}

/* Mobile dropdown behavior */
@media (max-width: 768px) {
  .header .nav .nav-dropdown {
    display: block !important;
    width: 100% !important;
  }

  .header .nav .nav-dropdown-main {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
  }

  .header .nav .nav-dropdown-menu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    box-shadow: none !important;
  }

  .header .nav .nav-dropdown-menu a {
    text-align: center !important;
  }
}

/* Final header logo size correction */

body .header {
  min-height: 72px !important;
}

body .header-inner {
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  padding: 0 !important;
  align-items: center !important;
}

body .header .brand,
body .header a.brand {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

body .header .brand-logo,
body .header img.brand-logo,
body .header .brand img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

body .header .nav {
  align-items: center !important;
}

@media (max-width: 768px) {
  body .header-inner {
    height: auto !important;
    max-height: none !important;
    min-height: 72px !important;
    padding: 12px 0 !important;
  }

  body .header .brand-logo,
  body .header img.brand-logo,
  body .header .brand img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: 200px !important;
  }
}

/* J3 ARTICLE FINAL OVERRIDE - fixes narrow article layout */

body.article-page {
  background: #f8fafc !important;
  font-size: 16px !important;
}

body.article-page .header .container.header-inner {
  max-width: 1200px !important;
  width: min(1200px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 14px 0 !important;
}

body.article-page .article-hero .container {
  max-width: 980px !important;
  width: min(980px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.article-page .article-hero {
  padding: 88px 20px !important;
}

body.article-page .article-hero h1 {
  max-width: 900px !important;
  font-size: clamp(2.8rem, 5vw, 4.25rem) !important;
  line-height: 1.06 !important;
}

body.article-page .article-hero p {
  max-width: 780px !important;
  font-size: 1.18rem !important;
  line-height: 1.75 !important;
}

body.article-page .article-wrap {
  padding: 56px 20px 90px !important;
}

body.article-page .breadcrumb {
  max-width: 940px !important;
  width: min(940px, calc(100% - 40px)) !important;
  margin: 0 auto 24px !important;
  font-size: 1rem !important;
}

body.article-page .article-layout {
  display: block !important;
  max-width: 940px !important;
  width: min(940px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.article-page .article-content {
  width: 100% !important;
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 56px 64px !important;
  border-radius: 22px !important;
}

body.article-page .article-content h2 {
  font-size: 1.9rem !important;
  line-height: 1.25 !important;
  margin-top: 46px !important;
  margin-bottom: 16px !important;
}

body.article-page .article-content h3 {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  margin-top: 30px !important;
  margin-bottom: 12px !important;
}

body.article-page .article-content p,
body.article-page .article-content li {
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
}

body.article-page .article-content p {
  margin-bottom: 20px !important;
}

body.article-page .article-content ul {
  padding-left: 26px !important;
  margin-bottom: 28px !important;
}

body.article-page .article-callout,
body.article-page .checklist-box,
body.article-page .article-cta {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.article-page .article-sidebar {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  max-width: 940px !important;
  margin: 34px auto 0 !important;
}

body.article-page .sidebar-card {
  margin: 0 !important;
  padding: 24px !important;
}

body.article-page .sidebar-card h2 {
  font-size: 1.2rem !important;
}

body.article-page .sidebar-card p,
body.article-page .sidebar-card li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  body.article-page .article-content {
    padding: 34px 26px !important;
  }

  body.article-page .article-sidebar {
    grid-template-columns: 1fr !important;
  }

  body.article-page .article-hero h1 {
    font-size: 2.35rem !important;
  }
}

/* Fix sidebar button text visibility */
body.article-page .article-button,
body.article-page .article-button:link,
body.article-page .article-button:visited,
body.article-page .article-button:hover,
body.article-page .article-button:active {
  color: #ffffff !important;
  background: #2563eb !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

body.article-page .sidebar-card .article-button {
  color: #ffffff !important;
  background: #2563eb !important;
  display: inline-block !important;
  padding: 14px 22px !important;
  border-radius: 999px !important;
}

body.article-page .sidebar-card .article-button:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Fix article consultation buttons */

.article-bottom-cta .button,
.article-bottom-cta .button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: #082b57;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.article-bottom-cta .button:hover {
  background: #f3f7fb;
  color: #082b57;
  text-decoration: none;
  transform: translateY(-1px);
}

.sidebar-cta .button,
.sidebar-cta .button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #082b57;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.sidebar-cta .button:hover {
  background: #f3f7fb;
  color: #082b57;
  text-decoration: none;
}

@media (max-width: 800px) {
  .article-bottom-cta .button {
    width: 100%;
  }
}

/* Dark blue article hero */

.resource-article-page .article-hero {
  background: linear-gradient(135deg, #061f3f 0%, #082b57 55%, #0b63ce 100%);
  color: #ffffff;
  border-bottom: none;
}

.resource-article-page .article-hero h1 {
  color: #ffffff;
}

.resource-article-page .article-summary {
  color: rgba(255, 255, 255, 0.88);
}

.resource-article-page .article-meta {
  color: rgba(255, 255, 255, 0.82);
}

.resource-article-page .article-hero .eyebrow {
  color: #9cc7ff;
}

.resource-article-page .breadcrumb {
  color: rgba(255, 255, 255, 0.72);
}

.resource-article-page .breadcrumb a {
  color: #ffffff;
}

.resource-article-page .breadcrumb a:hover {
  color: #cfe4ff;
}


/* J3 RESOURCE CENTER CARD POLISH START */

.resource-page-hero {
  padding: 4.5rem 0 3.25rem;
  background:
    radial-gradient(circle at top left, rgba(20, 87, 200, 0.12), transparent 36rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.resource-page-hero .container {
  max-width: 1120px;
}

.resource-page-hero .eyebrow,
.resource-clusters-section .eyebrow,
.resource-section .eyebrow {
  color: #1457c8;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.resource-page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: #06142f;
}

.resource-page-hero p {
  max-width: 820px;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.resource-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.4rem;
}

.resource-button-row .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7cff8;
  background: #ffffff;
  color: #0f2d5c;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.resource-button-row .button-secondary:hover {
  border-color: #1457c8;
  color: #1457c8;
}

.resource-clusters-section,
.resource-section {
  padding: 4rem 0;
}

.resource-clusters-section .container,
.resource-section .container {
  max-width: 1180px;
}

.resource-clusters-section h2,
.resource-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #07152f;
}

.resource-clusters-section > .container > p,
.resource-section > .container > p {
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 2rem;
}

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

.resource-grid.resource-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #1457c8, #38bdf8);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: #9ec5ff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.resource-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  color: #07152f;
}

.resource-card h3 a {
  color: #07152f;
  text-decoration: none;
}

.resource-card h3 a:hover {
  color: #1457c8;
}

.resource-card p {
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.resource-card .sidebar-link-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.resource-card .sidebar-link-list a {
  display: block;
  background: #f5f8ff;
  border: 1px solid #dce8fb;
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  color: #0f2d5c;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.resource-card .sidebar-link-list a:hover {
  background: #1457c8;
  color: #ffffff;
  border-color: #1457c8;
}

.resource-card:nth-child(1)::before,
.resource-card:nth-child(4)::before,
.resource-card:nth-child(7)::before {
  background: linear-gradient(90deg, #1457c8, #0ea5e9);
}

.resource-card:nth-child(2)::before,
.resource-card:nth-child(5)::before,
.resource-card:nth-child(8)::before {
  background: linear-gradient(90deg, #0f766e, #22c55e);
}

.resource-card:nth-child(3)::before,
.resource-card:nth-child(6)::before,
.resource-card:nth-child(9)::before {
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
}

.resource-final-cta {
  padding: 4rem 0;
  background: #07152f;
  color: #ffffff;
}

.resource-final-cta .container {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.resource-final-cta .eyebrow {
  color: #8ec5ff;
}

.resource-final-cta h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}

.resource-final-cta p {
  color: #dbeafe;
  line-height: 1.7;
  max-width: 760px;
}

@media (max-width: 980px) {
  .resource-grid,
  .resource-grid.resource-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-final-cta .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .resource-page-hero {
    padding: 3.25rem 0 2.5rem;
  }

  .resource-clusters-section,
  .resource-section {
    padding: 3rem 0;
  }

  .resource-grid,
  .resource-grid.resource-grid-two {
    grid-template-columns: 1fr;
  }

  .resource-card {
    padding: 1.35rem;
  }
}

/* J3 RESOURCE CENTER CARD POLISH END */

/* J3 RESOURCE GUIDE VISUAL FIX START */

/* Wider, cleaner layout for Resource Center and guide pages */
.resource-page-hero .container,
.resource-clusters-section .container,
.resource-section .container,
.resource-final-cta .container {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.resource-page-hero {
  padding: 5.25rem 0 4.25rem !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(29, 95, 209, 0.16), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) !important;
  border-bottom: 1px solid #dbe6f5 !important;
}

.resource-page-hero h1 {
  max-width: 860px !important;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  color: #07152f !important;
  margin-bottom: 1.15rem !important;
}

.resource-page-hero p {
  max-width: 760px !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

.resource-page-hero .eyebrow,
.resource-clusters-section .eyebrow,
.resource-section .eyebrow,
.resource-final-cta .eyebrow {
  color: #1457c8 !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.resource-button-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.85rem !important;
  align-items: center !important;
  margin-top: 1.5rem !important;
}

.resource-button-row .button,
.resource-page-hero .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0.8rem 1.15rem !important;
  border-radius: 12px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.resource-button-row .button-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0.8rem 1.15rem !important;
  border-radius: 12px !important;
  border: 1px solid #b7cff8 !important;
  background: #ffffff !important;
  color: #0f2d5c !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.resource-button-row .button-secondary:hover {
  border-color: #1457c8 !important;
  color: #1457c8 !important;
}

/* Section spacing and hierarchy */
.resource-clusters-section,
.resource-section {
  padding: 5rem 0 !important;
}

.resource-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.resource-section + .resource-section {
  border-top: 1px solid #e2e8f0 !important;
}

.resource-clusters-section h2,
.resource-section h2 {
  max-width: 900px !important;
  font-size: clamp(2.05rem, 3vw, 3.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  color: #07152f !important;
  margin-bottom: 1rem !important;
}

.resource-clusters-section > .container > p,
.resource-section > .container > p {
  max-width: 820px !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  margin-bottom: 2.1rem !important;
}

/* Better card layout */
.resource-grid,
.resource-grid.resource-grid-two {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.35rem !important;
  width: 100% !important;
  margin-top: 2rem !important;
}

.resource-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #dbe6f5 !important;
  border-radius: 24px !important;
  padding: 1.8rem !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.085) !important;
  overflow: hidden !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.resource-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 7px !important;
  background: linear-gradient(90deg, #1457c8, #38bdf8) !important;
}

.resource-card:hover {
  transform: translateY(-4px) !important;
  border-color: #9ec5ff !important;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.13) !important;
}

.resource-card h3 {
  font-size: 1.18rem !important;
  line-height: 1.25 !important;
  color: #07152f !important;
  margin: 0 0 0.8rem !important;
}

.resource-card h3 a {
  color: #07152f !important;
  text-decoration: none !important;
}

.resource-card h3 a:hover {
  color: #1457c8 !important;
}

.resource-card p {
  color: #475569 !important;
  line-height: 1.65 !important;
  margin-bottom: 1.15rem !important;
}

.resource-card .sidebar-link-list {
  display: grid !important;
  gap: 0.55rem !important;
  margin-top: auto !important;
}

.resource-card .sidebar-link-list a {
  display: flex !important;
  align-items: center !important;
  min-height: 40px !important;
  background: #f5f8ff !important;
  border: 1px solid #dce8fb !important;
  border-radius: 12px !important;
  padding: 0.68rem 0.85rem !important;
  color: #0f2d5c !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

.resource-card .sidebar-link-list a:hover {
  background: #1457c8 !important;
  color: #ffffff !important;
  border-color: #1457c8 !important;
}

.resource-card:nth-child(1)::before,
.resource-card:nth-child(4)::before,
.resource-card:nth-child(7)::before {
  background: linear-gradient(90deg, #1457c8, #0ea5e9) !important;
}

.resource-card:nth-child(2)::before,
.resource-card:nth-child(5)::before,
.resource-card:nth-child(8)::before {
  background: linear-gradient(90deg, #0f766e, #22c55e) !important;
}

.resource-card:nth-child(3)::before,
.resource-card:nth-child(6)::before,
.resource-card:nth-child(9)::before {
  background: linear-gradient(90deg, #7c3aed, #38bdf8) !important;
}

/* Final CTA band cleanup */
.resource-final-cta {
  padding: 4.75rem 0 !important;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28rem),
    #07152f !important;
  color: #ffffff !important;
}

.resource-final-cta .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 2rem !important;
  align-items: center !important;
}

.resource-final-cta .eyebrow {
  color: #8ec5ff !important;
}

.resource-final-cta h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 3vw, 3.25rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 0.8rem !important;
}

.resource-final-cta p {
  max-width: 780px !important;
  color: #dbeafe !important;
  line-height: 1.7 !important;
}

.resource-final-cta .button,
.resource-final-cta a[href="/contact/"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #07152f !important;
  border: 1px solid #ffffff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
}

.resource-final-cta .button:hover,
.resource-final-cta a[href="/contact/"]:hover {
  background: #eaf2ff !important;
  color: #1457c8 !important;
}

/* Improve local resource pages on smaller screens */
@media (max-width: 980px) {
  .resource-page-hero .container,
  .resource-clusters-section .container,
  .resource-section .container,
  .resource-final-cta .container {
    width: min(100% - 40px, 1180px) !important;
  }

  .resource-final-cta .container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .resource-page-hero {
    padding: 3.5rem 0 2.75rem !important;
  }

  .resource-clusters-section,
  .resource-section {
    padding: 3.25rem 0 !important;
  }

  .resource-grid,
  .resource-grid.resource-grid-two {
    grid-template-columns: 1fr !important;
  }

  .resource-card {
    padding: 1.35rem !important;
  }

  .resource-final-cta .button,
  .resource-final-cta a[href="/contact/"] {
    width: 100% !important;
  }
}

/* J3 RESOURCE GUIDE VISUAL FIX END */

/* J3 COMPACT RESOURCE CTA BAR START */

/* Makes the large dark blue Resource Center CTA sections cleaner and less oversized */
.resource-final-cta {
  padding: 2.4rem 0 !important;
  background:
    linear-gradient(135deg, rgba(20, 87, 200, 0.24), rgba(7, 21, 47, 0.96)),
    #07152f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.resource-final-cta .container {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1.5rem !important;
  align-items: center !important;
}

.resource-final-cta .eyebrow {
  margin: 0 0 0.55rem !important;
  color: #93c5fd !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.resource-final-cta h2 {
  max-width: 720px !important;
  margin: 0 0 0.65rem !important;
  color: #ffffff !important;
  font-size: clamp(1.65rem, 2.35vw, 2.45rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
}

.resource-final-cta p {
  max-width: 760px !important;
  margin: 0 !important;
  color: #dbeafe !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.resource-final-cta .button,
.resource-final-cta a[href="/contact/"] {
  min-height: 44px !important;
  padding: 0.78rem 1.08rem !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #07152f !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  font-size: 0.94rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

.resource-final-cta .button:hover,
.resource-final-cta a[href="/contact/"]:hover {
  background: #eaf2ff !important;
  color: #1457c8 !important;
  border-color: #eaf2ff !important;
}

@media (max-width: 780px) {
  .resource-final-cta {
    padding: 2rem 0 !important;
  }

  .resource-final-cta .container {
    width: min(100% - 40px, 1180px) !important;
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
  }

  .resource-final-cta .button,
  .resource-final-cta a[href="/contact/"] {
    width: 100% !important;
  }
}

/* J3 COMPACT RESOURCE CTA BAR END */

/* J3 RESOURCE CTA ROUNDED BOX START */

/*
  Turns the Resource page CTA from a full-width dark blue band
  into a contained professional rounded box.
*/

.resource-final-cta {
  padding: 3.25rem 0 !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.resource-final-cta .container {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1.75rem !important;
  align-items: center !important;
  padding: 2.35rem 2.5rem !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 26rem),
    linear-gradient(135deg, #07152f 0%, #0b2f68 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden !important;
}

.resource-final-cta .eyebrow {
  margin: 0 0 0.55rem !important;
  color: #93c5fd !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.resource-final-cta h2 {
  max-width: 760px !important;
  margin: 0 0 0.65rem !important;
  color: #ffffff !important;
  font-size: clamp(1.65rem, 2.35vw, 2.45rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
}

.resource-final-cta p {
  max-width: 760px !important;
  margin: 0 !important;
  color: #dbeafe !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.resource-final-cta .button,
.resource-final-cta a[href="/contact/"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0.78rem 1.08rem !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #07152f !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  font-size: 0.94rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

.resource-final-cta .button:hover,
.resource-final-cta a[href="/contact/"]:hover {
  background: #eaf2ff !important;
  color: #1457c8 !important;
  border-color: #eaf2ff !important;
}

@media (max-width: 780px) {
  .resource-final-cta {
    padding: 2.25rem 0 !important;
  }

  .resource-final-cta .container {
    width: min(100% - 40px, 1180px) !important;
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    padding: 1.65rem !important;
    border-radius: 22px !important;
  }

  .resource-final-cta .button,
  .resource-final-cta a[href="/contact/"] {
    width: 100% !important;
  }
}

/* J3 RESOURCE CTA ROUNDED BOX END */


/* J3 FIX RESOURCES DROPDOWN BAD ARROW START */
.nav-dropdown-main::after,
.nav-dropdown-toggle::after {
  content: "" !important;
}
/* J3 FIX RESOURCES DROPDOWN BAD ARROW END */


/* J3 CLEAN RESOURCES DROPDOWN ARROW START */
.nav-dropdown-main::after,
.nav-dropdown-toggle::after {
  content: "" !important;
  display: inline-block !important;
  width: 0.42rem !important;
  height: 0.42rem !important;
  margin-left: 0.45rem !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  vertical-align: middle !important;
}
/* J3 CLEAN RESOURCES DROPDOWN ARROW END */


/* CASE STUDY DETAIL PAGES */
.case-study-v2 {
  background: #ffffff;
  color: #0b1f33;
}

.case-v2-hero {
  background: linear-gradient(135deg, #06264a 0%, #004fae 55%, #0066e6 100%);
  color: #ffffff;
  padding: 110px 24px 95px;
}

.case-v2-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.case-v2-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .8rem;
  color: #d9eaff;
  margin-bottom: 20px;
}

.case-v2-hero h1 {
  max-width: 950px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 1;
  margin: 0 0 28px;
  color: #ffffff;
}

.case-v2-hero p {
  max-width: 820px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #eef6ff;
  margin: 0;
}

.case-v2-body {
  padding: 72px 24px 86px;
}

.case-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.case-v2-main {
  display: grid;
  gap: 24px;
}

.case-v2-card,
.case-v2-side-card {
  background: #ffffff;
  border: 1px solid #d9e4f2;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 16px 34px rgba(6, 38, 74, .08);
}

.case-v2-card h2 {
  color: #06264a;
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 16px;
}

.case-v2-card p,
.case-v2-card li {
  color: #22364d;
  font-size: 1rem;
  line-height: 1.75;
}

.case-v2-card ul {
  margin: 0;
  padding-left: 22px;
}

.case-v2-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 110px;
}

.case-v2-side-card h3 {
  color: #06264a;
  font-size: 1.25rem;
  margin: 0 0 18px;
}

.case-v2-detail {
  background: #f3f7fb;
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.case-v2-detail span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 900;
  color: #4f6780;
  margin-bottom: 5px;
}

.case-v2-detail strong {
  display: block;
  color: #06264a;
}

.case-v2-side-card a {
  display: block;
  color: #0057c2;
  font-weight: 800;
  text-decoration: none;
  margin: 12px 0;
}

.case-v2-side-card a:hover {
  text-decoration: underline;
}

.case-v2-cta {
  background: linear-gradient(135deg, #06264a 0%, #0057c2 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 20px 38px rgba(6, 38, 74, .22);
}

.case-v2-cta h2 {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 14px;
}

.case-v2-cta p {
  color: #eef6ff;
  line-height: 1.7;
  margin: 0 0 22px;
}

.case-v2-cta a {
  display: inline-block;
  background: #ffffff;
  color: #06264a;
  text-decoration: none;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .case-v2-grid {
    grid-template-columns: 1fr;
  }

  .case-v2-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .case-v2-hero {
    padding: 78px 20px 68px;
  }

  .case-v2-body {
    padding: 50px 20px 64px;
  }

  .case-v2-card,
  .case-v2-side-card,
  .case-v2-cta {
    padding: 24px;
  }
}

/* J3 GLOBAL FORM STANDARD START */

.j3-contact-form {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(11, 99, 206, 0.18);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

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

.j3-contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.j3-contact-form label {
  font-weight: 700;
  color: #061a3a;
}

.j3-contact-form input:not([type="hidden"]),
.j3-contact-form select,
.j3-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: #061a3a;
  background: #ffffff;
}

.j3-contact-form input:focus,
.j3-contact-form select:focus,
.j3-contact-form textarea:focus {
  border-color: #0b63ce;
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.10);
  outline: none;
}

.j3-contact-form button[type="submit"],
.j3-contact-form .btn-primary,
.j3-contact-form .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  background: #0b63ce;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(11, 99, 206, 0.18);
}

.j3-contact-form button[type="submit"]:hover,
.j3-contact-form .btn-primary:hover,
.j3-contact-form .btn.btn-primary:hover {
  background: #084fa5;
}

.j3-contact-form .form-note {
  text-align: center;
  max-width: 620px;
  margin: 1rem auto 0;
  color: #53627c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.j3-contact-form .form-note a {
  color: #0b63ce;
  font-weight: 700;
}

.contact-main > .eyebrow,
.contact-main > h2,
.contact-main > .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-main > .section-intro {
  max-width: 760px;
}

.j3-contact-form {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .j3-contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .j3-contact-form {
    padding: 1rem;
  }

  .j3-contact-form input:not([type="hidden"]),
  .j3-contact-form select,
  .j3-contact-form textarea {
    font-size: 16px;
  }
}

/* J3 GLOBAL FORM STANDARD END */

/* Homepage hero image */
.home-hero-image {
  width: min(100%, 620px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  filter: drop-shadow(0 24px 44px rgba(8, 34, 74, 0.16));
}

@media (max-width: 900px) {
  .home-hero-image {
    width: min(100%, 520px);
    margin-top: 24px;
  }
}
/* J3 INTERNAL LINKING STYLES START */
.j3-related-proof-section {
  padding: 56px 20px;
  background: #f8fafc;
}

.j3-related-proof-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.j3-related-proof-eyebrow {
  margin: 0 0 10px;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.j3-related-proof-section h2 {
  margin: 0 0 12px;
  color: #0f172a;
  line-height: 1.15;
}

.j3-related-proof-intro {
  max-width: 780px;
  margin: 0 0 28px;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
}

.j3-related-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.j3-related-proof-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.j3-related-proof-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.j3-related-proof-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.j3-related-proof-card h3 a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.j3-related-proof-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.j3-related-proof-kicker {
  margin: 0 0 10px !important;
  color: #1d4ed8 !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.j3-related-proof-card-cta {
  background: #0f172a;
  border-color: #0f172a;
}

.j3-related-proof-card-cta h3,
.j3-related-proof-card-cta p {
  color: #ffffff;
}

.j3-related-proof-card-cta a {
  color: #ffffff;
}

.j3-related-proof-card-cta .j3-related-proof-kicker {
  color: #93c5fd !important;
}

@media (max-width: 1000px) {
  .j3-related-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .j3-related-proof-section {
    padding: 42px 16px;
  }

  .j3-related-proof-grid {
    grid-template-columns: 1fr;
  }
}
/* J3 INTERNAL LINKING STYLES END */

/* J3 FULL CASE STUDY TEMPLATE STYLES START */
.j3-full-case-study {
  background: #f8fafc;
}

.j3-full-case-hero {
  padding: 64px 20px 38px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.j3-full-case-hero .container,
.j3-full-case-section .container,
.j3-case-final-cta .container {
  max-width: 1120px;
  margin: 0 auto;
}

.j3-case-eyebrow {
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.j3-full-case-hero h1 {
  max-width: 900px;
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
}

.j3-case-subtitle {
  max-width: 860px;
  margin: 0 0 26px;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.7;
}

.j3-case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.j3-case-meta-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.j3-case-meta-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 0.82rem;
}

.j3-case-meta-card span {
  display: block;
  color: #475569;
  line-height: 1.45;
}

.j3-full-case-section {
  padding: 44px 20px 62px;
}

.j3-full-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.j3-case-article {
  display: grid;
  gap: 18px;
}

.j3-case-panel,
.j3-case-sidebar-card,
.j3-case-final-cta-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.j3-case-panel {
  padding: 28px;
}

.j3-case-panel h2,
.j3-case-sidebar-card h2,
.j3-case-final-cta-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  line-height: 1.2;
}

.j3-case-panel p,
.j3-case-sidebar-card p,
.j3-case-final-cta-card p {
  color: #334155;
  line-height: 1.75;
}

.j3-case-panel p:last-child {
  margin-bottom: 0;
}

.j3-case-panel ul,
.j3-case-sidebar-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #334155;
  line-height: 1.7;
}

.j3-case-panel li,
.j3-case-sidebar-card li {
  margin-bottom: 8px;
}

.j3-case-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.j3-case-highlight {
  border-left: 5px solid #1d4ed8;
  background: #eff6ff;
}

.j3-case-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
}

.j3-case-sidebar-card {
  padding: 22px;
}

.j3-case-sidebar-card a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.j3-case-sidebar-card a:hover {
  text-decoration: underline;
}

.j3-case-sidebar-cta {
  background: #0f376d;
  border-color: #0f376d;
}

.j3-case-sidebar-cta h2,
.j3-case-sidebar-cta p {
  color: #ffffff;
}

.j3-case-sidebar-cta .btn-primary,
.j3-case-final-cta-card .btn-primary {
  display: inline-block;
  margin-top: 8px;
}

.j3-case-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.j3-case-mini-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
}

.j3-case-mini-kicker {
  margin: 0 0 8px !important;
  color: #1d4ed8 !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.j3-case-mini-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.j3-case-mini-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.j3-case-mini-card h3 a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.j3-case-mini-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.j3-case-final-cta {
  padding: 0 20px 62px;
}

.j3-case-final-cta-card {
  padding: 30px;
  background: #082f63;
  border-color: #082f63;
}

.j3-case-final-cta-card h2,
.j3-case-final-cta-card p {
  color: #ffffff;
}

@media (max-width: 980px) {
  .j3-case-meta-grid,
  .j3-full-case-layout,
  .j3-case-two-column,
  .j3-case-mini-grid {
    grid-template-columns: 1fr;
  }

  .j3-case-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .j3-full-case-hero,
  .j3-full-case-section,
  .j3-case-final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .j3-case-panel,
  .j3-case-sidebar-card,
  .j3-case-final-cta-card {
    padding: 22px;
  }
}
/* J3 FULL CASE STUDY TEMPLATE STYLES END */

/* J3 CLEAN FINAL MOBILE MENU START */
.menu-toggle {
  display: none !important;
}

@media (min-width: 721px) {
  #main-navigation.nav {
    display: flex !important;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 14px 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .brand {
    justify-content: center !important;
  }

  .menu-toggle {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #071f49 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(7, 31, 73, 0.08) !important;
  }

  #main-navigation.nav {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 10px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 35px rgba(7, 31, 73, 0.12) !important;
  }

  #main-navigation.nav.nav-open {
    display: flex !important;
  }

  #main-navigation.nav a,
  #main-navigation.nav .nav-dropdown-main {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }

  #main-navigation.nav a:hover {
    background: #eaf4ff !important;
  }

  #main-navigation.nav .nav-dropdown {
    width: 100% !important;
  }

  #main-navigation.nav .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 6px 0 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #f4f9ff !important;
    border-radius: 12px !important;
  }

  #main-navigation.nav .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: grid !important;
    gap: 2px !important;
  }
}
/* J3 CLEAN FINAL MOBILE MENU END */

/* J3 HOMEPAGE SURGICAL MOBILE MENU START */
.j3-menu-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.menu-toggle {
  display: none !important;
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #071f49 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(7, 31, 73, 0.08) !important;
    position: relative !important;
    z-index: 9999 !important;
  }

  #main-navigation.nav {
    display: none !important;
  }

  .j3-menu-checkbox:checked + .menu-toggle + #main-navigation.nav,
  .j3-menu-checkbox:checked ~ #main-navigation.nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 10px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 35px rgba(7, 31, 73, 0.12) !important;
  }

  #main-navigation.nav a,
  #main-navigation.nav .nav-dropdown-main {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }

  #main-navigation.nav .nav-dropdown-menu {
    display: grid !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 2px !important;
    padding: 6px 0 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #f4f9ff !important;
    border-radius: 12px !important;
  }
}
/* J3 HOMEPAGE SURGICAL MOBILE MENU END */

/* J3 SITEWIDE SURGICAL MOBILE MENU START */
.j3-menu-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.menu-toggle {
  display: none !important;
}

@media (max-width: 720px) {
  .header-inner {
    padding: 14px 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .brand {
    justify-content: center !important;
  }

  .menu-toggle {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #071f49 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(7, 31, 73, 0.08) !important;
    position: relative !important;
    z-index: 9999 !important;
  }

  #main-navigation.nav {
    display: none !important;
  }

  .j3-menu-checkbox:checked + .menu-toggle + #main-navigation.nav,
  .j3-menu-checkbox:checked ~ #main-navigation.nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 10px !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 35px rgba(7, 31, 73, 0.12) !important;
  }

  #main-navigation.nav a,
  #main-navigation.nav .nav-dropdown-main {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }

  #main-navigation.nav a:hover {
    background: #eaf4ff !important;
  }

  #main-navigation.nav .nav-dropdown {
    width: 100% !important;
  }

  #main-navigation.nav .nav-dropdown-menu {
    display: grid !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 2px !important;
    padding: 6px 0 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #f4f9ff !important;
    border-radius: 12px !important;
  }
}
/* J3 SITEWIDE SURGICAL MOBILE MENU END */


/* J3 DARK CARD LINK CONTRAST FIX START */
.next-step a,
.next-step-card a,
.next-step-box a,
.dark-card a,
.cta-card-dark a,
.resource-next-step a,
.case-study-next-step a,
[class*="next"] a[href*="case-studies"] {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0b2f6b !important;
  font-weight: 800;
  text-decoration: none;
}

.next-step a:visited,
.next-step-card a:visited,
.next-step-box a:visited,
.dark-card a:visited,
.cta-card-dark a:visited,
.resource-next-step a:visited,
.case-study-next-step a:visited,
[class*="next"] a[href*="case-studies"]:visited {
  color: #0b2f6b !important;
}

.next-step a:hover,
.next-step-card a:hover,
.next-step-box a:hover,
.dark-card a:hover,
.cta-card-dark a:hover,
.resource-next-step a:hover,
.case-study-next-step a:hover,
[class*="next"] a[href*="case-studies"]:hover {
  background: #2f7cff;
  color: #ffffff !important;
  text-decoration: none;
}
/* J3 DARK CARD LINK CONTRAST FIX END */

/* J3 GREEN BUTTONS TO BLUE START */

/* Buttons explicitly assigned a green class */
a.green,
button.green,
input.green,
.btn.green,
.button.green,
.cta.green,
.btn-green,
.button-green,
.green-button,
[class*="btn"][class*="green"],
[class*="button"][class*="green"],
[class*="cta"][class*="green"],

/* Buttons inside green-accented cards */
.j3fd-card.green a[class*="btn"],
.j3fd-card.green a[class*="button"],
.j3fd-card.green a[class*="cta"],
.j3fd-card.green > a:last-child,

.j3-rc-card.j3-rc-accent-green a[class*="btn"],
.j3-rc-card.j3-rc-accent-green a[class*="button"],
.j3-rc-card.j3-rc-accent-green a[class*="cta"],
.j3-rc-card.j3-rc-accent-green > a:last-child,

.j3-funnel-card.green a[class*="btn"],
.j3-funnel-card.green a[class*="button"],
.j3-funnel-card.green a[class*="cta"],
.j3-funnel-card.green > a:last-child,

.problem-card.green a[class*="btn"],
.problem-card.green a[class*="button"],
.problem-card.green > a:last-child,

.download-card.green a[class*="btn"],
.download-card.green a[class*="button"],
.download-card.green > a:last-child,

.resource-card.green a[class*="btn"],
.resource-card.green a[class*="button"],
.resource-card.green > a:last-child,

.service-card.green a[class*="btn"],
.service-card.green a[class*="button"],
.service-card.green > a:last-child {
    background: linear-gradient(
        135deg,
        #0b5be1,
        #0b6ff0
    ) !important;

    background-color: #0b5be1 !important;
    border-color: #0b5be1 !important;
    color: #ffffff !important;
}

/* Hover state */
a.green:hover,
button.green:hover,
.btn-green:hover,
.button-green:hover,
.green-button:hover,
[class*="card"].green a:hover,
.j3-rc-card.j3-rc-accent-green a:hover {
    background: #084fc7 !important;
    background-color: #084fc7 !important;
    border-color: #084fc7 !important;
    color: #ffffff !important;
}

/* J3 GREEN BUTTONS TO BLUE END */

/* J3 ALL BUTTONS BLUE START */

/* Main button styles across the site */
.btn,
.btn-primary,
.btn-secondary,
.button,
.button-primary,
.button-secondary,
.cta,
.cta-button,
a[class*="btn"],
button[class*="btn"],
input[type="submit"],
input[type="button"],

/* Buttons used inside service and resource cards */
.problem-card > a:last-child,
.service-card > a:last-child,
.resource-card > a:last-child,
.download-card > a:last-child,
.template-card > a:last-child,
.j3-funnel-card > a:last-child,
.j3fd-card > a:last-child,
.j3-rc-card > a:last-child {
  background: linear-gradient(135deg, #0b5be1, #0b6ff0) !important;
  background-color: #0b5be1 !important;
  border-color: #0b5be1 !important;
  color: #ffffff !important;
}

/* Hover and focus */
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.button:hover,
.button-primary:hover,
.button-secondary:hover,
.cta:hover,
.cta-button:hover,
a[class*="btn"]:hover,
button[class*="btn"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.problem-card > a:last-child:hover,
.service-card > a:last-child:hover,
.resource-card > a:last-child:hover,
.download-card > a:last-child:hover,
.template-card > a:last-child:hover,
.j3-funnel-card > a:last-child:hover,
.j3fd-card > a:last-child:hover,
.j3-rc-card > a:last-child:hover {
  background: #084fc7 !important;
  background-color: #084fc7 !important;
  border-color: #084fc7 !important;
  color: #ffffff !important;
}

/* Keep text readable */
.btn:visited,
.btn-primary:visited,
.btn-secondary:visited,
.button:visited,
.button-primary:visited,
.button-secondary:visited,
.cta:visited,
.cta-button:visited,
a[class*="btn"]:visited,
.problem-card > a:last-child:visited,
.service-card > a:last-child:visited,
.resource-card > a:last-child:visited,
.download-card > a:last-child:visited,
.template-card > a:last-child:visited,
.j3-funnel-card > a:last-child:visited,
.j3fd-card > a:last-child:visited,
.j3-rc-card > a:last-child:visited {
  color: #ffffff !important;
}

/* J3 ALL BUTTONS BLUE END */
