/* Browser Compatibility and Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent iOS text size adjust */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Remove tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Improve font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --vrv-navy: #0A2540;
  --vrv-blue: #3A6EA5;
  --vrv-gold: #F5C542;
  --vrv-cream: #FAF7F2;
  /* How far the hero etch pulls upward to encase the previous content */
  --hero-etch-overlap: 140px;
  --vrv-light-cream: #FAF7F2;
  --vrv-white: #ffffff;
  --vrv-slate: #e1e8ed;
  --vrv-light-slate: #f8f9fa;
  --vrv-ink: #0A2540;
  --vrv-light-ink: #2c3e50;
  --vrv-card: #ffffff;
  --vrv-accent: #667eea;
}

/* Light/Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --vrv-cream: #0E2A3C;
    --vrv-light-cream: #153B52;
    --vrv-card: #162531;
    --vrv-slate: #29414f;
    --vrv-light-slate: #17313d;
    --vrv-ink: #eaf6ff;
    --vrv-light-ink: #d7ecff;
  }
}

/* Explicit dark mode when toggled via data-theme attribute. This uses the
   brand navy as the primary background color and adjusts surface/ink
   variables to maintain contrast while keeping the blue identity. */

/* Components that need explicit overrides in dark mode for contrast */

















/* Ensure the hero backdrop looks good on navy background */

/* Page etch: maintain navy-dominant branding in dark mode with softer transitions */


html { box-sizing: border-box; }


body {
  margin: 0;
  font-family: Constantia, -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, Cantarell, system-ui, serif;
  color: var(--vrv-ink);
  background: #FAF7F2;
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  /* Fallback for browsers without backdrop-filter */
  background: #ffffff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--vrv-slate);
  z-index: 1000;
}

/* Backdrop filter support detection */
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255,255,255,0.95);
  }
}

/* IE11 and older browser fallbacks */
.ie .site-header,
.not-chrome.not-firefox.not-safari .site-header {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav { display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--vrv-navy);
  font-weight:700;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}
.brand:hover { color: var(--vrv-blue); }
.brand-mark { height:75px; width:auto; display:block; }

@media (max-width: 520px) {
  .brand { gap:8px; font-size:1rem; }
  .brand-mark { height:48px; }
}

.menu {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.menu a { 
  margin: 0 8px;
  text-decoration: none;
  color: var(--vrv-navy);
  font-weight: 600;
  transition: color 0.15s ease;
  position: relative;
}
.menu a:hover { color: var(--vrv-blue); }
.menu a.active { 
  color: var(--vrv-gold); 
  font-weight: 700;
}
.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vrv-gold);
  border-radius: 1px;
}

h1,h2,h3 {
  line-height: 1.2;
  color: var(--vrv-gold);
}

h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--vrv-gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero {
  padding: 120px 0 60px; /* increased top padding to create space from header */
  display:grid;
  gap:24px;
  text-align: center;
  position: relative;
  justify-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--hero-etch-overlap));
  height: calc(100% + var(--hero-etch-overlap));
  /* Grey → white etched gradient to contrast with the site's blue */
  background: linear-gradient(180deg, rgba(20,24,30,0.22) 0%, rgba(255,255,255,0.00) 45%);
  border-radius: 0 0 50px 50px;
  z-index: 0;
  pointer-events: none;
}

/* Page-level etched backdrop that runs the full document length. This creates the same
   subtle gradient/etch behind the entire page while preserving the hero's local backdrop.
   The .page-etch element sits behind the content and extends to the bottom of the page. */
.page-etch {
  position: relative;
  z-index: 0;
}
.page-etch::before {
  content: '';
  /* Use a fixed overlay constrained to content width so cream borders show */
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 40px));
  top: 0;
  bottom: 0;
  /* Page overlay uses navy blue dominant gradient with softer transitions */
  background: linear-gradient(180deg, #0A2540 0%, #0A2540 40%, #2A4A6B 70%, #5A7A95 85%, #FAF7F2 100%);
  border-radius: 0 0 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Curved top etch visible behind the header/hero — mirror the hero's curved etch so pages match home */
.page-etch::after {
  content: '';
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 40px));
  top: calc(-1 * var(--hero-etch-overlap));
  height: calc(100% + var(--hero-etch-overlap));
  /* Curved top etch uses navy dominant gradient with softer transitions */
  background: linear-gradient(135deg, #0A2540 0%, #0A2540 50%, #2A4A6B 75%, #5A7A95 90%, #FAF7F2 100%);
  box-shadow: inset 0 30px 60px rgba(10,37,64,0.12);
  border-radius: 0 0 50px 50px;
  pointer-events: none;
  z-index: 1; /* sits above the overlay but under content which is z-index:2 */
}

/* Make sure the page-etch always spans at least the viewport height so the etch runs the full page */
.page-etch {
  min-height: 100vh;
  display: block;
}

/* Ensure main content and hero stack above the page etch */
.page-etch > #content,
.page-etch .site-footer {
  position: relative;
  z-index: 2;
}

/* Strong page etch modifier for home page or featured sections */
.page-etch--strong::before {
  /* Stronger grey → white etch for featured pages (home) */
  background: linear-gradient(180deg, rgba(20,24,30,0.28) 0%, rgba(255,255,255,0.00) 40%);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

/* Compact hero modifier to use on content-dense pages */
.hero--compact { padding: 40px 0 24px; }
.hero--compact .hero-backdrop { padding: 14px 18px 18px; border-radius: 10px; }

.hero .hero-logo {
  position: relative;
  z-index: 4;
  display: block;
  height: 220px; /* scaled down from implicit/natural size */
  width: auto;
  margin: 0 auto -2rem; /* reduce negative overlap so it doesn't cover heading text */
  will-change: transform;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
}

@media (max-width: 1024px) {
  .hero .hero-logo { height: 180px; margin-bottom: -2.75rem; }
}

@media (max-width: 520px) {
  .hero .hero-logo { height: 120px; margin-bottom: -1.75rem; }
}

.hero-logo-wrap {
  display: inline-block;
  position: relative;
  z-index: 4;
  animation: logoFloat 3s ease-in-out infinite;
}

/* Floating animation - always enabled as requested - Updated Oct 9, 2025 */
/* Reduced motion override removed to ensure animations always display */

@keyframes logoFloat {
  0% { 
    -webkit-transform: translateY(0) scale(1);
    -moz-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1); 
  }
  50% { 
    -webkit-transform: translateY(-15px) scale(1.06);
    -moz-transform: translateY(-15px) scale(1.06);
    -ms-transform: translateY(-15px) scale(1.06);
    transform: translateY(-15px) scale(1.06); 
  }
  100% { 
    -webkit-transform: translateY(0) scale(1);
    -moz-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1); 
  }
}

.hero .hero-backdrop {
  background: linear-gradient(180deg, #F5C542 0%, rgba(245,197,66,0.92) 100%) !important;
  color: #ffffff;
  padding: 40px 36px 50px;
  border-radius: 20px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  box-shadow: 0 12px 40px rgba(10,20,30,0.25);
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0 auto;
}

.hero > *:not(.hero-backdrop) {
  position: relative;
  z-index: 3;
}

/* Ensure hero sections display properly within containers */
.container .hero {
  padding: 120px 0 60px; /* maintain hero padding even within containers */
  text-align: center;
}

@media (max-width: 768px) {
  .container .hero {
    padding: 80px 0 40px; /* maintain mobile hero padding within containers */
  }
}

.container .hero .hero-backdrop {
  margin: 0 auto;
  max-width: fit-content;
}

@media (max-width: 768px) {
  .hero .hero-backdrop { padding: 30px 20px 40px; border-radius: 14px; min-height: 160px; }
  h1 { font-size: 1.75rem; }
}

.hero .lede {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  color: #ffffff !important;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.hero .lede {
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.cards {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.card {
  border: 1px solid var(--vrv-slate);
  border-radius: 20px;
  padding: 24px;
  background: var(--vrv-card);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--vrv-gold) 0%, var(--vrv-blue) 100%);
}

.card:hover {
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.15);
}

/* Disable transforms on older browsers */
.ie .card:hover {
  transform: none;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
}

.card h3 {
  color: var(--vrv-gold);
  margin-bottom: 12px;
  font-size: 1.2rem;
  text-shadow: 0 2px 6px rgba(22,18,10,0.25);
}

.note {
  padding: 20px 24px;
  border-left: 6px solid var(--vrv-gold);
  background: linear-gradient(135deg, #fffef9 0%, #faf7ed 100%);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
  font-weight: 500;
  color: #2c2c2c;
  border: 1px solid rgba(245, 197, 66, 0.2);
}

/* Horizontal rule styling - gold to navy gradient lines */
hr {
  border: none;
  height: 4px;
  background: linear-gradient(90deg, var(--vrv-gold) 0%, var(--vrv-navy) 100%);
  margin: 3rem 0;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(245, 197, 66, 0.3);
}

.site-footer { 
  margin-top: 48px; 
  padding: 3rem 0 1.5rem 0; 
  border-top: 1px solid var(--vrv-slate); 
  background: var(--vrv-navy);
  color: #fff;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .footer-section h3 {
  color: var(--vrv-gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.site-footer .footer-section h4 {
  color: var(--vrv-gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.site-footer .footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

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

.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--vrv-gold);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.site-footer .footer-tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .site-footer .footer-section:first-child {
    margin-bottom: 1rem;
  }
}
.posts {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.posts li {
  display: block;
  padding: 18px;
  border: 1px solid var(--vrv-slate);
  border-radius: 12px;
  background: var(--vrv-card);
  box-shadow: 0 6px 20px rgba(10,37,64,0.06);
  -webkit-transition: -webkit-transform 0.18s ease, box-shadow 0.18s ease;
  -moz-transition: -moz-transform 0.18s ease, box-shadow 0.18s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.posts li:hover {
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
}

.posts a {
  text-decoration: none;
  color: var(--vrv-navy);
  font-weight: 700;
  display: inline-block;
}

.posts small {
  display: block;
  color: var(--vrv-light-ink);
  font-weight: 600;
  margin-top: 6px;
}

/* Pagination controls that match site buttons */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.pagination .prev,
.pagination .next {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--vrv-light-slate);
  color: var(--vrv-ink);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(10,37,64,0.04);
}

.pagination .prev.disabled,
.pagination .next.disabled { opacity: 0.55; pointer-events: none; }

.pagination .pages { color: var(--vrv-light-ink); font-weight: 600; }

@media (min-width: 900px) {
  /* make posts feel lighter on large screens by increasing gap */
  .posts { gap: 1.5rem; }
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--vrv-gold) 0%, var(--vrv-blue) 100%);
  border-radius: 2px;
}

a {
  color: var(--vrv-blue);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vrv-navy);
}



.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--vrv-card);
  border-top: 3px solid var(--vrv-gold);
  box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.15);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent:not(.hidden) { transform: translateY(0); }
.cookie-consent.hidden { transform: translateY(100%); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text { flex: 1; }
.cookie-text p { margin: 0; color: var(--vrv-ink); font-size: 0.95rem; line-height: 1.4; }

.cookie-buttons { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.cookie-buttons .btn { padding: 0.6rem 1.2rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s ease; }

.btn-primary { background: linear-gradient(135deg, var(--vrv-gold) 0%, #d4af37 100%); color: var(--vrv-navy); font-weight: 700; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4); }

.btn-secondary { background: linear-gradient(135deg, var(--vrv-navy) 0%, var(--vrv-blue) 100%); color: var(--vrv-white); border: none; }
.btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3); }

.cookie-policy-link { color: var(--vrv-blue); text-decoration: none; font-size: 0.85rem; padding: 0.6rem 0.8rem; }
.cookie-policy-link:hover { color: var(--vrv-navy); text-decoration: underline; }

/* Parent Organization Link Styling */
.parent-org-link {
  background: rgba(245, 197, 66, 0.1) !important;
  border: 1px solid var(--vrv-gold) !important;
  border-radius: 4px !important;
  padding: 0.3rem 0.6rem !important;
  font-weight: 600 !important;
  color: var(--vrv-navy) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.parent-org-link:hover {
  background: var(--vrv-gold) !important;
  color: white !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero { padding: 80px 0 40px; } /* increased mobile padding to maintain spacing */
  :root { --hero-etch-overlap: 80px; }
  
  .page-etch::before,
  .page-etch::after {
    width: calc(100vw - 20px);
  }
}

/* Enhanced Service Sections */
.service-section { margin: 3rem 0; padding: 2rem; border-radius: 16px; }
.service-header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.service-icon { font-size: 3rem; line-height: 1; }
.service-info h2 { margin: 0 0 0.5rem 0; color: var(--vrv-gold); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.service-description { font-size: 1.1rem; color: #666; margin: 0; line-height: 1.6; }
.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item { background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(18,51,77,0.08); border: 1px solid rgba(18,51,77,0.05); transition: all 0.3s ease; }
.feature-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(18,51,77,0.12); }
.feature-icon { font-size: 1.5rem; display: block; margin-bottom: 0.75rem; }
.feature-item strong { display: block; color: var(--vrv-navy); margin-bottom: 0.5rem; font-size: 1rem; }
.feature-item p { margin: 0; color: #666; font-size: 0.9rem; line-height: 1.5; }






/* Benefits and Examples Sections */
.benefits-section, .projects-section { margin: 2rem 0; }
.benefits-section h3, .projects-section h3 { color: var(--vrv-navy); margin-bottom: 1.5rem; text-align: center; }
.benefit-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-item { background: white; padding: 1.25rem; border-radius: 8px; box-shadow: 0 2px 6px rgba(18,51,77,0.06); border: 1px solid rgba(18,51,77,0.05); text-align: center; transition: all 0.3s ease; }
.benefit-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(18,51,77,0.1); }
.benefit-icon { font-size: 1.25rem; display: block; margin-bottom: 0.5rem; }
.benefit-item strong { display: block; color: var(--vrv-navy); margin-bottom: 0.5rem; font-size: 0.9rem; }
.benefit-item p { margin: 0; color: #666; font-size: 0.8rem; line-height: 1.4; }

.project-examples { display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .project-examples { grid-template-columns: repeat(2, 1fr); } }
.example-item { background: white; padding: 1rem 1.25rem; border-radius: 8px; box-shadow: 0 2px 6px rgba(18,51,77,0.06); border: 1px solid rgba(18,51,77,0.05); display: flex; align-items: center; gap: 1rem; transition: all 0.3s ease; }
.example-item:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(18,51,77,0.1); }
.example-icon { font-size: 1.25rem; }
.example-item strong { color: var(--vrv-navy); font-size: 0.95rem; }

/* FAQ Section */
.faq-section { margin: 3rem 0; padding: 2rem; background: linear-gradient(135deg, #f8f9fb 0%, #f1f3f6 100%); border-radius: 16px; border: 1px solid rgba(18,51,77,0.1); }
.faq-section h2 { text-align: center; color: var(--vrv-navy); margin-bottom: 2rem; }
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }
.faq-item { background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(18,51,77,0.08); border: 1px solid rgba(18,51,77,0.08); }
.faq-question { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.faq-icon { font-size: 1.25rem; margin-top: 0.125rem; }
.faq-question strong { color: var(--vrv-navy); font-size: 1rem; line-height: 1.4; }
.faq-answer { color: #666; line-height: 1.6; margin-left: 2rem; }

/* Dark theme for benefits and FAQ */









/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: var(--vrv-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Touch Targets */
.menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
}

/* Header responsive stacking to avoid jumbling */
@media (max-width: 768px) {
  .nav { 
    justify-content: space-between; 
    align-items: center;
    position: relative;
  }
  
  .mobile-menu-toggle { 
    display: flex; 
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu a {
    padding: 12px 16px;
    margin: 0;
    border-radius: 6px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .menu a:last-child {
    border-bottom: none;
  }
  
  .menu .btn {
    margin: 8px 0 0 0;
    text-align: center;
  }
  
  .container.nav { 
    padding: 12px 20px; 
  }
}

  /* ============================= */
  /* Pricing: Unified Navy Gradient */
  /* ============================= */

  .value-card,
  .platform-card,
  .platform-cost-card,
  .package-card,
  .retainer-card,
  .benefit-card,
  .freedom-card,
  .service-card,
  .credit-card {
    background: linear-gradient(135deg, #3A6EA5 0%, #0A2540 100%) !important;
    color: #ffffff !important;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(58, 110, 165, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .value-card:hover,
  .platform-card:hover,
  .platform-cost-card:hover,
  .package-card:hover,
  .retainer-card:hover,
  .benefit-card:hover,
  .freedom-card:hover,
  .service-card:hover,
  .credit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(58, 110, 165, 0.4);
  }

  .value-card h3,
  .platform-card h3,
  .platform-cost-card h3,
  .package-card h3,
  .retainer-card h3,
  .benefit-card h3,
  .freedom-card h3,
  .service-card h3,
  .credit-card h3,
  .credit-card h4 {
    color: #F5C542 !important;
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .value-card p,
  .platform-card p,
  .platform-cost-card p,
  .package-card p,
  .retainer-card p,
  .benefit-card p,
  .freedom-card p,
  .service-card p,
  .credit-card p {
    color: rgba(255, 255, 255, 0.9);
  }

  .package-card .package-badge,
  .retainer-card .retainer-header,
  .service-card .price,
  .credit-card .credit-price,
  .credit-card .savings {
    background: rgba(245, 197, 66, 0.2);
    color: #F5C542;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    display: inline-block;
  }

  .package-card .price-range,
  .retainer-card .retainer-price,
  .credit-card .credit-price {
    color: #F5C542;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
  }

  .package-card .feature-item,
  .retainer-card .feature-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .package-card .feature-item:last-child,
  .retainer-card .feature-item:last-child {
    border-bottom: none;
  }

  /* Specific overrides */
  .credit-card.popular { border: 3px solid #F5C542 !important; }

  .service-card .price,
  .credit-card .credit-price {
    color: #0A2540 !important;
    background: rgba(245, 197, 66, 0.9) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    display: inline-block !important;
    font-weight: bold !important;
  }

  .credit-card .savings {
    color: #F5C542 !important;
    background: rgba(245, 197, 66, 0.2) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 8px !important;
    display: inline-block !important;
    font-weight: bold !important;
  }

  /* Ensure price text is high-contrast on gradient cards */
  .package-card .price,
  .retainer-card .price { color: #F5C542 !important; }
  .package-card .price .amount,
  .retainer-card .price .amount { color: #F5C542 !important; }
  .package-card .price .period,
  .retainer-card .price .period,
  .package-card .price span,
  .retainer-card .price span { color: rgba(255, 255, 255, 0.85) !important; }

  /* Client Selector */
  .client-selector { padding: 4rem 0; background: #FAF7F2; text-align: center; }
  .client-selector h2 { color: #0A2540; margin-bottom: 3rem; font-size: 2.2rem; }
  .selector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 0 1rem; }

  a.selector-card {
    background: #0A2540 !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.3) !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    display: block !important;
    text-align: center !important;
  }

  a.selector-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(10, 37, 64, 0.4) !important;
    border-color: #F5C542 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0A2540 0%, #3A6EA5 100%) !important;
  }

  @media (max-width: 768px) {
    .benefits-grid,
    .platform-grid,
    .packages-grid,
    .retainers-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1rem; }
    .benefit-card,
    .platform-card,
    .package-card,
    .retainer-card { padding: 2rem 1.5rem; }
  }

  /* Remove masked header backgrounds inside gradient cards */
  .package-header { background: transparent !important; }