/* ============================================================
   Rajnish Virmani — Main Stylesheet
   Palette: Navy #1C2D4F | Gold #C9A84C | Off-White #F8F7F4
            Charcoal #2E2E2E | Light Slate #DDE1E7
   Fonts:   Playfair Display (H1) | Raleway (H2/H3/nav) | Lato (body)
   ============================================================ */

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --navy:      #1C2D4F;
  --gold:      #C9A84C;
  --gold-dark: #a8853a;
  --offwhite:  #F8F7F4;
  --charcoal:  #2E2E2E;
  --slate:     #DDE1E7;
  --white:     #ffffff;

  --ff-display: 'Playfair Display', serif;
  --ff-heading: 'Raleway', sans-serif;
  --ff-body:    'Lato', sans-serif;

  --transition: 0.3s ease;
}

/* ── Base Reset & Body ───────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--offwhite);
  margin: 0;
}


a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

/* ── Typography ──────────────────────────────────────────── */
h1, .h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  color: var(--navy);
}

h2, .h2 {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--navy);
}

h3, .h3 {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--navy);
}

h4, .h4 {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}

p { margin-bottom: 1rem; }

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal);
}

/* ── Utility Classes ─────────────────────────────────────── */
.text-gold   { color: var(--gold) !important; }
.text-navy   { color: var(--navy) !important; }
.bg-navy     { background-color: var(--navy) !important; }
.bg-gold     { background-color: var(--gold) !important; }
.bg-offwhite { background-color: var(--offwhite) !important; }
.bg-slate    { background-color: var(--slate) !important; }

.section-label {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.divider-gold {
  width: 56px;
  height: 3px;
  background-color: var(--gold);
  border: none;
  margin: 1rem 0 1.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--gold);
  border-radius: 4px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
section[aria-labelledby="services-heading"] .btn-gold::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
section[aria-labelledby="services-heading"] .btn-gold:hover::after {
  transform: translateX(4px);
}
.cta-block .btn-gold::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
.cta-block .btn-gold:hover::after {
  transform: translateX(4px);
}
.site-footer .btn-gold::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
.site-footer .btn-gold:hover::after {
  transform: translateX(4px);
}
.in-media-cta-sidebar .btn-outline-white::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
.in-media-cta-sidebar .btn-outline-white:hover::after {
  transform: translateX(4px);
}

.btn-outline-gold,
a.btn-outline-gold:visited, a.btn-outline-gold:focus {
  background-color: transparent;
  color: var(--gold);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--gold);
  border-radius: 4px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy);
}
.btn-outline-gold::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
.btn-outline-gold:hover::after {
  transform: translateX(4px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--white);
  border-radius: 4px;
  transition: all var(--transition);
  display: inline-block;
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
}
.podcast-strip .btn-outline-white::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition);
}
.podcast-strip .btn-outline-white:hover::after {
  transform: translateX(4px);
}

/* ── Navbar ──────────────────────────────────────────────── */
#mainNav {
  background-color: var(--navy);
  padding: 0.9rem 0;
  transition: padding var(--transition), box-shadow var(--transition);
}

#mainNav.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

#mainNav .navbar-brand {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

#mainNav .navbar-brand a,
#mainNav .navbar-brand a:hover,
#mainNav .navbar-brand a:focus,
#mainNav .navbar-brand a:active,
#mainNav .navbar-brand a:visited {
  color: var(--white) !important;
}

#mainNav .navbar-brand span {
  color: var(--gold);
}

#mainNav .nav-link {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82) !important;
  padding: 0.4rem 0.85rem !important;
  transition: color var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--gold) !important;
}
.menu-main-navigation-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
#mainNav .btn-nav-cta {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--navy) !important;
  background-color: var(--gold);
  padding: 0.1rem 1.2rem !important;
  border-radius: 4px;
  margin-left: 0.5rem;
  transition: background-color var(--transition);
}

#mainNav .btn-nav-cta:hover {
  background-color: var(--gold-dark);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  background-color: var(--navy);
  padding: 6rem 0 4rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.hero-section h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-section .hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Stat Bar ────────────────────────────────────────────── */
.stat-bar {
  background-color: var(--gold);
  padding: 1.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.8;
}

/* ── Section padding ─────────────────────────────────────── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background-color: var(--navy);
  padding: 7rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }

.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto; }

/* ── Book Cards ──────────────────────────────────────────── */
.book-mini-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.book-mini-card:hover {
  box-shadow: 0 8px 30px rgba(28,45,79,0.12);
  transform: translateY(-3px);
}

.book-mini-card .book-cover-placeholder {
  background-color: var(--slate);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  padding: 0;
  position: relative;
}

/* Real book cover image inside the placeholder */
.book-mini-card .book-cover-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-mini-card .card-body { padding: 1.5rem; }

/* Consistent image height — applies to all images in book/podcast cards */
.book-mini-card > img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background-color: var(--offwhite);
  display: block;
}

/* ── Podcast Strip ───────────────────────────────────────── */
.podcast-strip {
  background-color: var(--navy);
  padding: 2.5rem 0;
}

.podcast-strip .podcast-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ── Consultancy Teaser (home) ───────────────────────────── */
.service-chip {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-family: var(--ff-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: box-shadow var(--transition);
}
.service-chip:hover { box-shadow: 0 4px 16px rgba(201,168,76,0.18); color: var(--navy); }

/* ── Testimonial pull quote ──────────────────────────────── */
.quote-section { background-color: var(--offwhite); padding: 4rem 0; }

.pull-quote {
  border-left: 5px solid var(--gold);
  padding: 1.5rem 2rem;
  background-color: var(--white);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 4px 20px rgba(28,45,79,0.06);
}

.pull-quote blockquote {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 1rem;
}

.pull-quote cite {
  font-family: var(--ff-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
}

/* ── Logos Row ───────────────────────────────────────────── */
.logos-section {
  background-color: var(--white);
  padding: 3rem 0;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.logos-section .logo-img {
  max-height: 70px;
  width: auto;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity var(--transition), filter var(--transition);
}

.logos-section .logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Book detail (books page) ────────────────────────────── */
.book-detail-cover {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(28,45,79,0.15);
  margin: 0 auto;
}

.book-block.bg-navy h2 { color: var(--white); }
.book-block.bg-navy .lead { color: rgba(255,255,255,0.8); }
.book-block.bg-navy .framework-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 1.25rem;
  height: 100%;
}
.book-block.bg-navy .framework-card h4 { color: var(--white); }
.book-block.bg-navy .framework-card i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .75rem;
  margin-right: 0;
}
.book-block.bg-navy .framework-card p { color: rgba(255,255,255,.6); }

.framework-card {
  background-color: var(--offwhite);
  border: 1px solid var(--slate);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.5rem;
  height: 100%;
}

.framework-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.framework-card h4 i { color: var(--gold); font-size: 1.5rem; margin-right: .25rem; }
.framework-card p { font-size: .88rem; margin: 0; color: #666; }

/* ── Testimonial cards ───────────────────────────────────── */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow var(--transition);
  position: relative;
}

.testimonial-card:hover { box-shadow: 0 6px 24px rgba(28,45,79,0.1); }

.testimonial-card .quote-mark {
  font-family: var(--ff-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  opacity: 0.3;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 1.75rem 0 1.25rem;
  line-height: 1.7;
}

.testimonial-card .person-name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.testimonial-card .person-role {
  font-size: 0.82rem;
  color: #6c757d;
}

/* ── Logo grids (clients page) ───────────────────────────── */
.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.client-logo-item {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  transition: box-shadow var(--transition);
}

.client-logo-item:hover { box-shadow: 0 4px 16px rgba(28,45,79,0.08); }

.client-logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.client-logo-placeholder {
  width: 120px;
  height: 50px;
  background-color: var(--slate);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Gallery ─────────────────────────────────────────────── */
.gallery-filter-tabs .nav-link {
  font-family: var(--ff-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--slate);
  margin-right: 0.5rem;
  transition: all var(--transition);
  background-color: var(--white);
  appearance: none;
  cursor: pointer;
}

.gallery-filter-tabs .nav-link.active,
.gallery-filter-tabs .nav-link:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--slate);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}

.gallery-item .gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,45,79,0.72);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 6px;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay p {
  color: var(--white);
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  margin: 0;
}

.video-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  overflow: hidden;
}

.video-card .video-title {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0.85rem 1rem;
}

.video-thumb-btn {
  outline: none;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-thumb-btn:hover .video-play-icon {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ── Media Cards ─────────────────────────────────────────── */
.media-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
  margin-bottom: 1.25rem;
}

.media-card:hover { box-shadow: 0 6px 20px rgba(28,45,79,0.08); }

.media-card .media-pub {
  background-color: var(--slate);
  border-radius: 4px;
  width: 80px;
  min-width: 80px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  overflow: hidden;
}

.media-card .media-pub.media-pub-lg {
  width: 170px;
  min-width: 170px;
  height: 220px;
  padding: 0;
}

.media-card .media-pub.media-pub-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.media-card .media-date {
  font-size: 0.78rem;
  color: #888;
  font-family: var(--ff-heading);
  margin-bottom: 0.3rem;
}

.media-card .media-headline {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.media-card .media-excerpt {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ── Consultancy pillars ─────────────────────────────────── */
.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pillar-card:hover {
  box-shadow: 0 8px 30px rgba(28,45,79,0.1);
  transform: translateY(-3px);
}

.pillar-number {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  line-height: 1;
}

.pillar-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.pillar-card ul {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.pillar-card ul li { margin-bottom: 0.35rem; }

.pillar-card.cta-card h3 { color: var(--white); }

.pillar-card.cta-card p {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ── Contact page ────────────────────────────────────────── */
.contact-card {
  background-color: var(--white);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
}

.contact-info-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.form-label {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  border: 1px solid var(--slate);
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--white);
  padding: 0.6rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,45,79,0.1);
  outline: none;
}

/* ── CTA Block ───────────────────────────────────────────── */
.cta-block {
  background-color: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.cta-block h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-block, .cta-block p  { color: rgba(255,255,255,0.7); }
.cta-block p  { margin-bottom: 1.5rem; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background-color: #111d30;
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 0;
}

footer .footer-brand {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

footer .footer-brand span { color: var(--gold); }

footer .footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

footer h5 {
  font-family: var(--ff-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

footer ul { list-style: none; padding: 0; margin: 0; }

footer ul li { margin-bottom: 0.5rem; }

footer ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}

footer ul a:hover { color: var(--gold); }

footer .footer-contact-line {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-contact-line i { color: var(--gold); font-size: 0.9rem; }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: background-color var(--transition), color var(--transition);
  margin-right: 0.4rem;
}

.social-icons a:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  margin-top: 2.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ── Back to top ─────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 42px;
  height: 42px;
  background-color: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background-color var(--transition);
  z-index: 999;
}

#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background-color: var(--gold-dark); }

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section { padding: 5rem 0 3rem; min-height: auto; }
  .video-wrapper { margin-top: 2rem; }
  .hero-section .hero-tagline { max-width: 100%; }

  /* Left-align the primary menu when it collapses on mobile */
  .menu-main-navigation-container { justify-content: flex-start; padding-right: 20px;}
  #primary-menu.navbar-nav.ms-auto { width: 100%; margin-left: 0 !important; text-align: left; }
}

@media (max-width: 767.98px) {
  .stat-number { font-size: 1.8rem; }
  .pull-quote blockquote { font-size: 1.1rem; }
  .pillar-card { margin-bottom: 1rem; }
  .media-card { flex-direction: column; }
  .media-card .media-pub { width: 100%; height: 45px; min-width: unset; }
  .media-card .media-pub.media-pub-lg { width: 100%; height: 220px; min-width: unset; }

  /* Books page — center titles & sub-titles when the layout stacks */
  #book-you-can-lead .col-lg-8 > .section-label,
  #book-bloody-good .col-lg-8 > .section-label,
  #podcast .col-lg-8 > .section-label,
  #book-you-can-lead .col-lg-8 > h2,
  #book-bloody-good .col-lg-8 > h2,
  #podcast .col-lg-8 > h2,
  #book-you-can-lead .col-lg-8 > .kicker,
  #book-bloody-good .col-lg-8 > .kicker,
  #podcast .col-lg-8 > .kicker,
  #book-bloody-good .col-lg-8 > h3,
  #podcast .col-lg-8 > h3,
  .framework-card h4,
  #podcast .row.g-3 h4 {
    text-align: center;
  }

  #book-you-can-lead .col-lg-8 > hr.divider-gold,
  #book-bloody-good .col-lg-8 > hr.divider-gold,
  #podcast .col-lg-8 > hr.divider-gold {
    margin-left: auto;
    margin-right: auto;
  }

  #podcast .row.g-3 i {
    text-align: center;
  }

  /* Media page — center the section headings when the layout stacks */
  #downloads-heading, #recent-heading,
  .col-lg-8 > div.mb-3 > .section-label,
  .col-lg-8 > div.mb-3 > hr.divider-gold {
    text-align: center;
  }

  .col-lg-8 > div.mb-3 > hr.divider-gold {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.in-media-cta-sidebar{
  color:rgba(255,255,255,.72);
  font-size:.88rem;
}
.in-media-cta-sidebar p strong{
  color:var(--white);
}
.podcast-strip{
  color:rgba(255,255,255,.85);
  font-family:var(--ff-heading);
  font-size:.95rem;
}
.podcast-strip p:last-child{
  margin-bottom:0;
}
.podcast-strip p strong{
  color:var(--gold);
}
.wpcf7-not-valid-tip{
  font-size:0.85rem;
}
.about-content ul{
  padding-left: 2rem;
  margin-left: 0;
}