/* Main Application & Page Structural CSS */

/* Root Layout & Accessibility */
:root {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 2px solid var(--brand-blue, #322F87);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typography Headers */
h1, h2, h3, h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--brand-blue);
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.15;
}

h2 {
  font-size: 2.1rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.65;
  color: #4A5568;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Sticky Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 241, 246, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 4px 12px rgba(163, 177, 198, 0.2);
}

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

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--accent-coral);
}

/* Giant Background Watermark Typography */
.hero-watermark {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(6rem, 14vw, 15rem);
  font-weight: 900;
  color: rgba(50, 47, 135, 0.04);
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  text-transform: uppercase;
  user-select: none;
}

/* Floating Glass & Neumorphic Hero Elements */
.hero-wrapper-rel {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
}

.hero-profile-badge {
  position: absolute;
  top: 15%;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-profile-badge img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-globe-card {
  position: absolute;
  top: 20%;
  left: 3%;
  width: 200px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(163, 177, 198, 0.3);
}

.hero-metric-card {
  position: absolute;
  bottom: 12%;
  right: 4%;
  width: 220px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1E1B5E 100%);
  color: #FFFFFF;
  z-index: 10;
  box-shadow: 0 14px 36px rgba(50, 47, 135, 0.35);
}

.btn-pill-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 30px;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(50, 47, 135, 0.3);
  transform-style: preserve-3d;
  will-change: transform;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-pill-action:hover {
  background: var(--accent-coral);
  color: #FFFFFF;
  box-shadow: 0 14px 32px rgba(224, 93, 95, 0.45);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mega Menu & Dropdown Styling */
.nav-item-dropdown {
  position: relative;
  padding: 10px 0;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:hover .mega-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-canvas);
  padding: 12px 0;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(50, 47, 135, 0.08);
  color: var(--brand-blue);
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -240px;
  width: 900px;
  background: var(--bg-canvas);
  padding: 28px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.mega-column h4 {
  font-size: 13px;
  color: var(--brand-blue);
  margin: 0 0 10px;
  border-bottom: 2px solid var(--accent-coral);
  padding-bottom: 4px;
}

.mega-column a {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.mega-column a:hover {
  color: var(--accent-coral);
  font-weight: 600;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Split-Column Hero Grid */
.hero-section {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--bg-canvas);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.link-arrow {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

/* ASYMMETRIC HERO LAYOUT SYSTEM (Full-Width 70% and 30% Split) */
.hero-section .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.hero-asymmetric-grid {
  display: grid;
  grid-template-columns: 7fr 3fr; /* 70% for hero-card-main, 30% for hero-right-stack */
  gap: 32px;
  align-items: stretch;
  margin-top: 20px;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-asymmetric-grid {
    grid-template-columns: 1fr;
  }
}




/* Interactive Liquid Glow Backdrop (Mouse Follower Orb) */
.hero-fluid-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(240, 78, 55, 0.12) 40%,
    rgba(238, 241, 246, 0) 70%
  );
  filter: blur(60px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: opacity 0.5s ease;
}

/* Left Main Featured Hero Card - 3D Container */
.hero-card-main {
  position: relative;
  background: #E8ECF2;
  border-radius: 28px;
  padding: 48px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 14px 40px rgba(163, 177, 198, 0.38);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Dynamic 3D Light Sheen Overlay */
.hero-card-main::before,
.hero-card-review::before,
.hero-card-photo::before,
.hero-card-metrics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}

.hero-card-main:hover::before,
.hero-card-review:hover::before,
.hero-card-photo:hover::before,
.hero-card-metrics:hover::before {
  opacity: 1;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(-25px);
  transition: transform 0.5s ease;
}

.hero-blob-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
}

.hero-blob-2 {
  position: absolute;
  bottom: -30%;
  left: 15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.7);
}

.hero-main-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  transform-style: preserve-3d;
}


.accent-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--accent-coral);
  font-weight: 500;
}

.hero-tags-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
  transform-style: preserve-3d;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateZ(22px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.hero-card-main:hover .hero-tag-pill {
  transform: translateZ(35px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hero-tag-pill i {
  color: var(--accent-coral);
  width: 12px;
  height: 12px;
}

.hero-main-image {
  position: relative;
  z-index: 2;
  width: 45%;
  display: flex;
  justify-content: flex-end;
  transform-style: preserve-3d;
}

.hero-main-image img {
  width: 100%;
  max-width: 360px;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.15));
  transform: translateZ(45px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.hero-card-main:hover .hero-main-image img {
  transform: translateZ(65px) scale(1.04);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.22));
}

/* Right Stacked Column Cards - 3D Enabled */
.hero-right-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  perspective: 1200px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Top Card: Sage Green Review Card */
.hero-card-review {
  position: relative;
  background: #6C7A59;
  color: #FFFFFF;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(108, 122, 89, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
  will-change: transform;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.review-avatars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  transform: translateZ(20px);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #6C7A59;
  margin-left: -8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-card-review:hover .avatar-stack img {
  transform: scale(1.08);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.hero-card-review strong {
  font-size: 13px;
  line-height: 1.2;
}

.hero-card-review p {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Middle Card: Image Showcase */
.hero-card-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 140px;
  width: 100%;
  box-sizing: border-box;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
  will-change: transform;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-photo:hover img {
  transform: scale(1.08);
}

/* Bottom Card: Dark Navy Metric Counter Box */
.hero-card-metrics {
  position: relative;
  background: #1E293B;
  color: #FFFFFF;
  border-radius: 18px;
  padding: 16px 18px;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
  will-change: transform;
  box-shadow: 0 12px 30px rgba(30, 41, 59, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.metric-box strong {
  font-size: 22px;
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
  display: block;
  line-height: 1.1;
}

.metric-box span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.25;
  display: block;
  margin-top: 2px;
  word-break: break-word;
}


/* 3-TIER HEADER SYSTEM (Matching Reference Layout) */
.site-header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Tier 1: Utility Top Bar */
.header-utility-bar {
  background: #F8F9FA;
  border-bottom: 1px solid rgba(163, 177, 198, 0.25);
  font-size: 12px;
  padding: 6px 0;
  color: var(--text-muted);
}

.header-utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-left a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-right select, .utility-right a {
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

/* Tier 2: Middle Branding & Search Bar */
.header-middle-bar {
  padding: 16px 0;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.header-middle-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.middle-contact-search {
  display: flex;
  align-items: center;
  gap: 28px;
}

.phone-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.phone-callout i {
  color: var(--brand-blue);
  width: 22px;
  height: 22px;
}

.header-search-box {
  display: flex;
  align-items: center;
}

.header-search-box input {
  padding: 8px 16px;
  border: 1px solid rgba(163, 177, 198, 0.4);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 13px;
  width: 240px;
  outline: none;
}

.header-search-box button {
  background: var(--accent-coral);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tier 3: Main Navigation Bar with Red Accent Bottom Border */
.header-main-bar {
  background: #FFFFFF;
  border-bottom: 3px solid var(--accent-coral);
}

.header-main-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-list > li {
  position: relative;
}

.main-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border-right: 1px solid rgba(163, 177, 198, 0.2);
  transition: all 0.2s ease;
}

.main-nav-list > li:first-child > a {
  border-left: 1px solid rgba(163, 177, 198, 0.2);
}

.main-nav-list > li > a:hover {
  background: rgba(50, 47, 135, 0.05);
  color: var(--accent-coral);
}

/* ──────────────────────────────────────────
   DARK THEME HEADER & MEGA-MENU OVERRIDES
─────────────────────────────────────────── */
body.dark-theme .site-header {
  background: #0F172A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-theme .header-utility-bar {
  background: #090D16;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
}

body.dark-theme .utility-left a,
body.dark-theme .utility-right a,
body.dark-theme #themeToggleBtn {
  color: #818CF8 !important;
}

body.dark-theme .header-middle-bar {
  background: #0F172A;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .brand-logo-svg {
  color: #818CF8 !important;
}

body.dark-theme .brand-logo-text {
  color: #F8FAFC !important;
}

body.dark-theme .phone-callout strong {
  color: #818CF8 !important;
}

body.dark-theme .phone-callout i {
  color: #818CF8 !important;
}

body.dark-theme .header-search-box input {
  background: #1E293B;
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-theme .header-search-box input::placeholder {
  color: #64748B;
}

body.dark-theme .header-main-bar {
  background: #1E293B;
  border-bottom-color: var(--accent-coral);
}

body.dark-theme .main-nav-list > li > a {
  color: #F8FAFC;
  border-right-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .main-nav-list > li:first-child > a {
  border-left-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .main-nav-list > li > a:hover {
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-coral);
}

body.dark-theme .mega-menu,
body.dark-theme .dropdown-menu {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .mega-column h4 {
  color: #818CF8 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .mega-column a,
body.dark-theme .dropdown-menu a {
  color: #CBD5E1 !important;
}

body.dark-theme .mega-column a:hover,
body.dark-theme .dropdown-menu a:hover {
  color: var(--accent-coral) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ──────────────────────────────────────────
   DARK THEME HERO SECTION OVERRIDES
─────────────────────────────────────────── */
body.dark-theme .hero-card-main {
  background: #1E293B !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .hero-main-content h1,
body.dark-theme #heroTitleText {
  color: #F8FAFC !important;
}

body.dark-theme .hero-main-content p,
body.dark-theme #heroSubtitle {
  color: #94A3B8 !important;
}

body.dark-theme .hero-tag-pill {
  background: #0F172A !important;
  color: #F8FAFC !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .hero-tag-pill span {
  color: #F8FAFC !important;
}

body.dark-theme .hero-blob-1 {
  background: rgba(129, 140, 248, 0.12) !important;
}

body.dark-theme .hero-blob-2 {
  background: rgba(30, 41, 59, 0.6) !important;
}

body.dark-theme .hero-card-photo {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4) !important;
}

/* ──────────────────────────────────────────
   GLOBAL DARK THEME SURFACE & TEXT CONTRAST OVERRIDES
─────────────────────────────────────────── */
body.dark-theme {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
}

body.dark-theme .neu-raised {
  background: #1E293B !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.5), -6px -6px 18px rgba(255, 255, 255, 0.02) !important;
}

body.dark-theme .neu-inset {
  background: #0F172A !important;
  color: #F8FAFC !important;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.6), inset -4px -4px 8px rgba(255, 255, 255, 0.03) !important;
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme strong,
body.dark-theme th {
  color: #F8FAFC !important;
}

body.dark-theme p,
body.dark-theme li,
body.dark-theme td,
body.dark-theme span:not(.metric-badge):not(.hero-eyebrow) {
  color: #CBD5E1;
}

body.dark-theme .text-muted,
body.dark-theme small {
  color: #94A3B8 !important;
}

body.dark-theme section[style*="background"] {
  background: rgba(15, 23, 42, 0.7) !important;
}

body.dark-theme .hero-watermark {
  color: rgba(255, 255, 255, 0.03) !important;
}

body.dark-theme .data-table {
  color: #F8FAFC !important;
}

body.dark-theme .data-table th {
  background: #0F172A !important;
  color: #818CF8 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .data-table td {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

body.dark-theme .footer {
  background: #090D16 !important;
  color: #94A3B8 !important;
}

body.dark-theme .footer h4,
body.dark-theme .footer-bottom p {
  color: #F8FAFC !important;
}

body.dark-theme .footer-links a {
  color: #94A3B8 !important;
}

body.dark-theme .footer-links a:hover {
  color: var(--accent-coral) !important;
}

/* ──────────────────────────────────────────
   FOOTER SOCIAL MEDIA BUTTONS
─────────────────────────────────────────── */
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-canvas, rgba(0, 0, 0, 0.05));
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #64748B);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--brand-blue, #4361EE);
  color: #FFFFFF !important;
  border-color: var(--brand-blue, #4361EE);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
}

body.dark-theme .footer-social-btn {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #CBD5E1 !important;
}

body.dark-theme .footer-social-btn:hover {
  background: #818CF8 !important;
  color: #FFFFFF !important;
  border-color: #818CF8 !important;
  box-shadow: 0 4px 14px rgba(129, 140, 248, 0.4) !important;
}

/* ──────────────────────────────────────────
   WHATSAPP FLOATING BUTTON (LIGHT & DARK MODE PROTECTED)
─────────────────────────────────────────── */
.whatsapp-floating-btn,
body.dark-theme .whatsapp-floating-btn,
body.dark-theme a.whatsapp-floating-btn {
  background: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
}

.whatsapp-floating-btn svg,
body.dark-theme .whatsapp-floating-btn svg,
body.dark-theme a.whatsapp-floating-btn svg {
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* ──────────────────────────────────────────
   MOSEY HERO RIGHT PANEL DARK MODE OVERRIDES
─────────────────────────────────────────── */
body.dark-theme .mosey-app-container,
body.dark-theme .mosey-hero-mockup,
body.dark-theme .mosey-window-frame {
  background: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .mosey-window-bar {
  background: #090D16 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .mosey-window-search {
  background: #1E293B !important;
  color: #818CF8 !important;
}

body.dark-theme .mosey-tabs-nav {
  background: #0F172A !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .mosey-tab-item {
  color: #94A3B8 !important;
  background: transparent !important;
}

body.dark-theme .mosey-tab-item.active {
  color: #818CF8 !important;
}

body.dark-theme .mosey-window-content {
  background: #0F172A !important;
  color: #F8FAFC !important;
}

body.dark-theme .mosey-context-info h3 {
  color: #F8FAFC !important;
}

body.dark-theme .mosey-context-info p {
  color: #94A3B8 !important;
}

body.dark-theme .mosey-ring-text {
  color: #F8FAFC !important;
}

body.dark-theme .mosey-ring-bg {
  stroke: rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .mosey-task-item,
body.dark-theme .mosey-recurring-item {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #F8FAFC !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .mosey-task-item *,
body.dark-theme .mosey-recurring-item * {
  color: #F8FAFC !important;
}

body.dark-theme .mosey-checklist-panel {
  background: rgba(30, 41, 59, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  color: #F8FAFC !important;
}

body.dark-theme .mosey-checklist-panel * {
  color: #F8FAFC !important;
}

body.dark-theme .mosey-checklist-title {
  color: #F8FAFC !important;
}

body.dark-theme .mosey-trend-chip {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #CBD5E1 !important;
}

/* ──────────────────────────────────────────
   TEAM SECTION & CARDS DARK MODE OVERRIDES
─────────────────────────────────────────── */
body.dark-theme .team-card-main,
body.dark-theme .team-card {
  background: #1E293B !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5) !important;
  color: #F8FAFC !important;
}

body.dark-theme .team-avatar-img,
body.dark-theme .team-avatar {
  border-color: #1E293B !important;
  background: #0F172A !important;
}

body.dark-theme .star-badge-bottom {
  background: #1E293B !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .team-member-name,
body.dark-theme .team-card h4 {
  color: #F8FAFC !important;
}

body.dark-theme .team-member-position,
body.dark-theme .team-card span {
  color: #818CF8 !important;
}

body.dark-theme .team-member-bio,
body.dark-theme .team-card p {
  color: #CBD5E1 !important;
}

body.dark-theme .team-social-icon {
  background: #0F172A !important;
  color: #CBD5E1 !important;
}

body.dark-theme .team-social-icon:hover {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
}


.navbar {
  position: relative;
}

.hero-image-wrapper img {
  max-width: 85%;
  border-radius: 24px;
  box-shadow: 12px 12px 28px var(--shadow-dark), -12px -12px 28px var(--shadow-light);
}

.floating-stat-card {
  position: absolute;
  bottom: 24px;
  left: 12px;
  padding: 16px 24px;
  background: rgba(238, 241, 246, 0.95);
  border-radius: 16px;
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-coral);
}

/* Services 2x2 Grid */
.services-section {
  padding: 70px 0;
}

.services-grid-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.services-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px 24px;
}

.service-card h4 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

/* Meet the Strategists Profile Showcase */
.team-section {
  padding: 70px 0;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  padding: 24px;
  text-align: center;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
}

.team-card h4 {
  margin: 8px 0 4px;
  font-size: 16px;
}

.team-card span {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

/* Case Study Highlight Panel */
.case-section {
  padding: 70px 0;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.case-panel {
  padding: 40px;
  background: linear-gradient(135deg, #EEF1F6 0%, #E2E7F0 100%);
}

body.dark-theme .case-panel {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
  color: #F8FAFC !important;
}

body.dark-theme .case-panel h3,
body.dark-theme .case-panel h4,
body.dark-theme .case-panel strong {
  color: #F8FAFC !important;
}

body.dark-theme .case-panel p {
  color: #CBD5E1 !important;
}

.metric-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-blue);
  color: #FFF;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

/* Form Module */
.audit-section {
  padding: 80px 0;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
}

/* Footer */
footer {
  padding: 60px 0 30px;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(163, 177, 198, 0.3);
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile Navigation Drawer & Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(50, 47, 135, 0.35) !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  min-width: 44px !important;
  min-height: 44px !important;
}

.mobile-menu-toggle svg {
  stroke: #FFFFFF !important;
  width: 22px !important;
  height: 22px !important;
}


.mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: var(--bg-canvas) !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.35) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
}

.mobile-nav-drawer.active {
  right: 0 !important;
}


.mobile-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-nav-list li {
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.mobile-nav-list a, .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

.mobile-submenu {
  display: none;
  background: rgba(238, 241, 246, 0.5);
  padding: 8px 0;
}

body.dark-theme .mobile-submenu {
  background: rgba(15, 23, 42, 0.6);
}

.mobile-dropdown-item.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  padding: 10px 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Comprehensive Responsive Media Queries */
@media (max-width: 992px) {
  /* HIDE ALL HORIZONTAL NAVIGATION MENU LISTS & ACTION BUTTONS ON MOBILE */
  .navbar .nav-menu,
  .navbar .nav-actions,
  .site-header .header-main-bar,
  .site-header .header-utility-bar,
  .header-middle-bar .header-search-box,
  .middle-contact-search .phone-callout {
    display: none !important;
  }

  /* DISPLAY HAMBURGER TOGGLE BUTTON IN NAVBAR & SITE-HEADER */
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ENSURE LOGO & HAMBURGER ARE DISPLAYED ON SAME LINE */
  .navbar .nav-container,
  .header-middle-bar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }


  .hero-asymmetric-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100%;
  }
  .hero-section {
    padding: 12px 0 30px !important;
  }
  .hero-section .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .hero-card-main {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .hero-main-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-main-content h1 {
    font-size: 1.45rem !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-main-content p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
  }
  .btn-pill-action#heroCtaBtn {
    padding: 10px 18px !important;
    font-size: 13px !important;
    min-height: 38px !important;
  }
  .hero-tags-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }
  .hero-tag-pill {
    padding: 5px 8px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .hero-main-image {
    display: none !important;
  }
  .hero-grid, .services-grid-wrapper, .case-grid, .audit-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


@media (max-width: 768px) {
  .header-utility-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  .utility-left {
    display: none;
  }
  .utility-right {
    width: 100%;
    justify-content: space-between;
  }
  .middle-contact-search .phone-callout {
    display: none;
  }
  .header-search-box input {
    width: 140px;
  }
  h2 { font-size: 1.75rem !important; }
  .btn-pill-action, .neu-btn {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-tags-matrix {
    grid-template-columns: 1fr !important;
  }
  .hero-main-content h1 {
    font-size: 1.45rem !important;
  }
  .services-2x2, .team-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
}


