/* ProfitEdge Consulting - Main Design System Stylesheet */

:root {
  --bg-dark: #070d24;
  --bg-dark-card: #0c1538;
  --bg-dark-card-2: #121e4d;
  --navy-deep: #05091a;
  --accent-red: #e63946;
  --accent-red-hover: #d32734;
  --accent-coral: #ff4d5a;
  --pastel-coral: #f78474;
  --pastel-blue: #dcf2f7;
  --pastel-yellow: #fef3c7;
  --text-main: #0d1322;
  --text-muted: #5a6578;
  --text-light: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

::selection {
  background: rgba(230, 57, 70, 0.2);
  color: #070d24;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
           Fixed & Sticky Navigation Header & Mobile Menu
           ========================================================================== */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 90%;
  margin: 10px auto;
  border-radius: 50px;
  z-index: 1000;
  background: rgba(7, 13, 36, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgb(7 26 49 / 85%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Responsive Navbar display rules */
@media (max-width: 1023px) {
  .nav-links {
    display: none !important;
  }

  #mobile-menu-btn {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex !important;
  }

  #mobile-menu-btn {
    display: none !important;
  }

  .mobile-nav-dropdown {
    display: none !important;
  }
}

/* Content Offset for Fixed Navbar */
.hero-wrapper {
  padding-top: 110px !important;
}

/* Anchor scroll offset for fixed navbar */
section,
header,
[id] {
  scroll-margin-top: 85px;
}

/* Mobile Hamburger Toggle & Animation */
.hamburger-icon .bar {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

body.mobile-menu-open .navbar .bar-top,
#mobile-menu-toggle:checked~.navbar .bar-top,
.navbar.menu-open .bar-top {
  transform: translateY(8px) rotate(45deg) !important;
}

body.mobile-menu-open .navbar .bar-mid,
#mobile-menu-toggle:checked~.navbar .bar-mid,
.navbar.menu-open .bar-mid {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

body.mobile-menu-open .navbar .bar-bot,
#mobile-menu-toggle:checked~.navbar .bar-bot,
.navbar.menu-open .bar-bot {
  transform: translateY(-8px) rotate(-45deg) !important;
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  pointer-events: none;
}

body.mobile-menu-open .mobile-nav-dropdown,
#mobile-menu-toggle:checked~.mobile-nav-dropdown,
.mobile-nav-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Tailwind's utility classes (text-white, hover:text-white) live inside an
   unnamed CSS layer, so the unlayered `a { color: inherit }` rule above wins
   the cascade and silently hides link text. Set color explicitly here. */
.mobile-nav-link,
.mobile-nav-link span {
  color: #e2e8f0;
}

.mobile-nav-link:hover,
.mobile-nav-link:hover span {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}

/* Typography Helpers */
.script-red {
  font-family: 'Caveat', cursive;
  font-size: 1.28em;
  font-weight: 700;
  color: var(--accent-red);
  display: inline-block;
  transform: rotate(-2.5deg);
  margin: 0 4px;
  line-height: 0.9;
  vertical-align: baseline;
}

.script-coral {
  font-family: 'Caveat', cursive;
  font-size: 1.28em;
  font-weight: 700;
  color: #ff6575;
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 4px;
  line-height: 0.9;
}

.script-white {
  font-family: 'Caveat', cursive;
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 4px;
  line-height: 0.9;
}

.script-cursive {
  font-family: 'Caveat', cursive;
  font-size: 38px;
  font-weight: 700;
  color: #ff6575;
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

/* Animations */
@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sticky Navigation */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 90%;
  margin: 10px auto;
  border-radius: 50px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: rgb(0 0 0 / 0%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 12px;
  margin-left: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: #cbd5e1;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn-pill-red {
  background: var(--accent-red);
  color: #ffffff !important;
  padding: 11px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pill-red:hover {
  background: var(--accent-red-hover);
  box-shadow: 0 6px 24px rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

.btn-pill-muted {
  background: var(--text-muted);
  color: #ffffff !important;
  padding: 11px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pill-muted:hover {
  background: var(--text-main);
  box-shadow: 0 6px 24px rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

.btn-pill-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  padding: 11px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-pill-linkedin {
  background: #0a66c2;
  color: #ffffff !important;
  padding: 14px 30px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #0a66c2;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-pill-linkedin:hover {
  background: #004182;
  border-color: #004182;
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.55);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Hero Section with SSA Mesh Lighting */
.hero-wrapper {
  position: relative;
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 82% 24%, rgba(230, 57, 70, 0.26) 0%, transparent 44%),
    radial-gradient(circle at 16% 40%, rgba(79, 70, 229, 0.34) 0%, transparent 52%),
    radial-gradient(circle at 55% 82%, rgba(6, 182, 212, 0.16) 0%, transparent 48%);
  overflow: hidden;
  padding: 90px 48px 120px;
  color: #ffffff;
}

.hero-glow-orb {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(230, 57, 70, 0.18) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.8s ease-out both;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 24px;
}

.hero-badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

.hero-headline {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero-headline .highlight-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #ffd0d5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Stats Row inside Hero Bottom */
.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  max-width: 540px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Wave Transition into White Body */
.wave-bottom-curve {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  line-height: 0;
}

.wave-bottom-curve svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Bento Grid Section ("Unlocking Potential") */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 32px;
}

.section-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.section-title-large {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--text-main);
  margin: 0 0 16px;
}

.section-subtitle-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.bento-left-col,
.bento-right-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Asymmetric Bento Cards */
.card-asymmetric-coral {
  background: linear-gradient(140deg, #f88777 0%, #f06a57 100%);
  color: #ffffff;
  border-radius: 36px 8px 36px 8px;
  padding: 40px;
  box-shadow: 0 14px 34px rgba(240, 106, 87, 0.22);
  position: relative;
  overflow: hidden;
}

.card-asymmetric-coral h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 14px;
}

.card-asymmetric-coral p {
  font-size: 16px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.card-asymmetric-blue {
  background: var(--pastel-blue);
  color: #0c2340;
  border-radius: 8px 36px 8px 36px;
  padding: 38px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  box-shadow: 0 12px 30px rgba(12, 35, 64, 0.04);
}

.card-asymmetric-blue h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0c2340;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.card-asymmetric-blue p {
  font-size: 15.5px;
  line-height: 1.68;
  color: #334155;
  margin: 0;
}

.card-asymmetric-white {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 38px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.card-kicker-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card-asymmetric-white h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 16px;
  line-height: 1.3;
}

.card-asymmetric-white p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.card-photo-box {
  border-radius: 32px 8px 32px 8px;
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 16/10;
  position: relative;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bento-grid .card-photo-box {
  aspect-ratio: auto;
  min-height: 380px;
  height: 100%;
}

/* 28+ Years Section & SSA Methodology Tree */
.methodology-section {
  background: #fdfefe;
  padding: 80px 32px 100px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.two-col-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto 60px;
}

.narrative-col p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

/* The Signature SSA Mindmap Diagram Container */
.mindmap-board {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 36px;
  padding: 50px 36px;
  box-shadow: 0 20px 50px rgba(7, 13, 36, 0.06);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.mindmap-title-row {
  text-align: center;
  margin-bottom: 40px;
}

.mindmap-badge {
  display: inline-block;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent-red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.framework-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}

/* Central Core Engine */
.framework-core {
  background: linear-gradient(135deg, #e63946, #c52431);
  color: #ffffff;
  padding: 24px 44px;
  border-radius: 9999px;
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.38);
  position: relative;
  z-index: 2;
  border: 3px solid #ffffff;
}

.framework-core small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 2px;
}

/* Top Horizontal Wings */
.framework-wings {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  position: relative;
  align-items: center;
}

.wing-card {
  background: #0d1a45;
  color: #ffffff;
  padding: 18px 28px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 8px 24px rgba(13, 26, 69, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

/* Sticky Notes (Authentic SSA Reference Style) */
.sticky-note {
  background: #fef08a;
  color: #713f12;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #fde047;
  position: absolute;
  max-width: 170px;
  z-index: 3;
}

.sticky-note-left-top {
  top: -30px;
  left: 10px;
  transform: rotate(-4deg);
}

.sticky-note-right-top {
  top: -30px;
  right: 10px;
  transform: rotate(3deg);
}

.sticky-note-left-bottom {
  bottom: -15px;
  left: 60px;
  transform: rotate(-3deg);
}

.sticky-note-right-bottom {
  bottom: -15px;
  right: 60px;
  transform: rotate(4deg);
}

/* Bottom Sub-branches */
.framework-branches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 960px;
  padding-top: 10px;
}

.branch-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.branch-card:hover {
  background: #ffffff;
  border-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.branch-icon {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--accent-red);
}

.branch-card .b-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

/* Asymmetric Deep Royal Navy Card (SSA Signature Showstopper) */
.navy-showstopper-card {
  border-radius: 48px 0 48px 0;
  background: linear-gradient(145deg, #091238 0%, #111d4d 100%);
  padding: 70px 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(7, 13, 36, 0.28);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  margin: 40px auto;
  max-width: 1140px;
}

.navy-showstopper-glow {
  position: absolute;
  top: -100px;
  left: 40%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.navy-card-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.navy-card-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.navy-card-desc {
  font-size: 16.5px;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
}

.three-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 34px 28px;
  transition: all 0.3s ease;
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.pillar-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(79, 70, 229, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pillar-icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

/* Core Competencies Section: "Delivering Impact One Service at a Time" */
.competencies-section {
  padding: 90px 32px;
  background: #ffffff;
}

.competencies-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: #081132;
  border-radius: 40px 0 40px 0;
  padding: 56px 48px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(8, 17, 50, 0.18);
  position: relative;
  overflow: hidden;
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.comp-row:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-red);
  transform: translateX(6px);
}

.comp-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.04em;
}

.comp-label {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.comp-showcase-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comp-showcase-panel h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.35;
}

.comp-showcase-panel p {
  font-size: 15px;
  line-height: 1.68;
  color: #94a3b8;
  margin: 0 0 24px;
}

.pedagogy-badge {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid var(--accent-red);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

/* "Our Journey So Far" Terracotta / Coral Banner Section */
.journey-banner {
  background: linear-gradient(135deg, #ee6c5b 0%, #e65745 100%);
  color: #ffffff;
  border-radius: 40px 0 40px 0;
  padding: 70px 48px;
  max-width: 1140px;
  margin: 60px auto;
  box-shadow: 0 20px 50px rgba(230, 87, 69, 0.25);
}

.journey-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.journey-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.25s ease;
}

.journey-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.journey-period {
  display: inline-block;
  background: #ffffff;
  color: #c53424;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.journey-role {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
}

.journey-org {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.journey-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.journey-bullets li {
  margin-bottom: 6px;
}

/* Accordion / Expandable Leadership & Credentials (SSA Style) */
.credentials-section {
  padding: 80px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-toggle-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.25s ease;
}

details[open] .accordion-toggle-circle {
  background: var(--accent-red);
  color: #ffffff;
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 30px 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

/* Industries Badges Section (Like SSA Client Carousel) */
.industries-section {
  padding: 70px 32px;
  background: #fafbfe;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.industry-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 980px;
  margin: 32px auto 0;
}

.industry-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.industry-badge:hover {
  border-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.1);
  color: var(--accent-red);
}

/* Houston, WE HAVE A SOLUTION! CTA Box */
.houston-cta-section {
  padding: 80px 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.houston-card {
  border: 2px dashed rgba(230, 57, 70, 0.35);
  border-radius: 36px 0 36px 0;
  padding: 60px 48px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
  box-shadow: 0 20px 50px rgba(230, 57, 70, 0.08);
  position: relative;
}

.houston-script {
  font-family: 'Alex Brush', cursive;
  font-size: 52px;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 4px;
}

.houston-headline {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 16px;
}

.houston-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

/* Footer Section (SSA Signature Royal Asymmetric Dark Footer) */
.site-footer {
  background: linear-gradient(180deg, #070d24 0%, #040817 100%);
  border-radius: 48px 0 0 0;
  color: #ffffff;
  padding: 80px 48px 30px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: var(--accent-red);
}

.footer-bottom-bar {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.footer-bottom-bar .crafted-by {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

.footer-bottom-bar .crafted-heart {
  display: inline-block;
  vertical-align: -1px;
  margin: 0 2px;
  fill: #ef4444;
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 1px 2px rgba(239, 68, 68, 0.3));
}

.footer-bottom-bar .codegrand-link {
  color: #3b82f6 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-bar .codegrand-link:hover {
  color: #60a5fa !important;
  text-decoration: underline;
}

/* ==========================================================================
           Micro-Animations, Keyframes & Visual Effects
           ========================================================================== */

/* Heartbeat pulse on the crafted-heart icon */
@keyframes heartPulse {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.28);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }
}

.crafted-heart {
  animation: heartPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}

/* Smooth Accordion content expansion */
.accordion-item[open] .accordion-content {
  animation: accordionOpen 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button shimmer light sweep */
.btn-pill-red {
  position: relative;
  overflow: hidden;
}

.btn-pill-red::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-pill-red:hover::after {
  left: 150%;
  transition: left 0.75s ease-in-out;
}

/* Card hover lift & glow enhancements */
.card-asymmetric-coral,
.card-asymmetric-blue,
.card-asymmetric-white,
.journey-card,
.branch-card,
.pillar-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-asymmetric-coral:hover,
.card-asymmetric-blue:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card-asymmetric-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.journey-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.branch-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-red);
}

.pillar-item:hover .pillar-icon-circle {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-coral);
  box-shadow: 0 0 20px rgba(255, 77, 90, 0.3);
}

.pillar-icon-circle {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #070d24;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #070d24;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Global overflow protection */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ==========================================================================
   Image Gallery Carousel & Lightbox
   ========================================================================== */
.gallery-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.gallery-ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 420px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.07) 0%, rgba(7, 13, 36, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.gallery-filter-pill {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.gallery-filter-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  transform: translateY(-1px);
}

.gallery-filter-pill.active {
  background: #070d24;
  color: #ffffff;
  border-color: #070d24;
  box-shadow: 0 4px 12px rgba(7, 13, 36, 0.2);
}

.gallery-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.gallery-arrow-btn:hover:not(:disabled) {
  background: #070d24;
  color: #ffffff;
  border-color: #070d24;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 13, 36, 0.25);
}

.gallery-arrow-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.gallery-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-card {
  flex-shrink: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .gallery-card {
    width: calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .gallery-card {
    width: calc(50% - 12px);
  }
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(7, 13, 36, 0.08);
  border-color: #cbd5e1;
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070d24;
  cursor: pointer;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.05);
}

.gallery-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 13, 36, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  pointer-events: none;
}

.gallery-card-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #070d24;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-card:hover .gallery-card-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.gallery-card-zoom-btn:hover {
  background: #e63946;
  color: #ffffff;
}

.gallery-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-dot.active {
  width: 28px;
  background: #e63946;
}

/* Lightbox Modal */
.gallery-lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

body.lightbox-open {
  overflow: hidden !important;
}

/* ==========================================================================
   Inner-Page Compact Hero Banner (About / Services / How We Work / etc.)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(230, 57, 70, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 14% 46%, rgba(79, 70, 229, 0.3) 0%, transparent 54%);
  overflow: hidden;
  padding: 150px 32px 70px;
  color: #ffffff;
  text-align: center;
}

.page-hero-glow {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(230, 57, 70, 0.16) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff8f98;
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
}

.page-hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 118px 20px 50px;
  }

  .page-hero-title {
    font-size: 30px;
  }

  .page-hero-desc {
    font-size: 15px;
  }
}

/* Pricing / Engagement Option Cards */
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 40px 34px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  background: linear-gradient(145deg, #091238 0%, #111d4d 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 40px 34px;
  box-shadow: 0 20px 50px rgba(7, 13, 36, 0.28);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transform: scale(1.02);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-red);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
  white-space: nowrap;
}

/* Value Chain Bottom Row Centered Cards */
.value-chain-card-centered {
  width: calc(50% - 8px);
}

@media (min-width: 768px) {
  .value-chain-card-centered {
    width: calc(25% - 12px);
  }
}