﻿/* ==========================================================================
   FinanceNaro (covervaluebrief.org) - Design System & Stylesheet
   Vanilla CSS | Mobile-First | Production-Ready
   ========================================================================== */

:root {
  /* Typography Stacks */
  --font-serif: Georgia, "Times New Roman", Cambria, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius Scale (8 / 12 / 16px) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Brand Palette - Deep Navy & Sovereign Gold */
  --navy-950: #060e18;
  --navy-900: #0d1a2d;
  --navy-800: #142845;
  --navy-700: #1e3a63;
  --navy-600: #294e82;

  --gold-600: #9e7514;
  --gold-500: #b8860b;
  --gold-400: #cf9b1d;
  --gold-300: #e2ba52;
  --gold-100: #fbf5e4;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Borders */
  --border-card: #d9e0ea;
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-dark: #1e3a63;
  --border-accent: #b8860b;

  /* Shadows - Layered & Subtle */
  --shadow-subtle: 0 2px 8px rgba(13, 26, 45, 0.05), 0 1px 3px rgba(13, 26, 45, 0.04);
  --shadow-hover: 0 10px 24px rgba(13, 26, 45, 0.09), 0 2px 6px rgba(13, 26, 45, 0.04);
  --shadow-strong: 0 14px 32px rgba(13, 26, 45, 0.14);

  /* Semantic Variables */
  --bg-primary: #ffffff;
  --bg-surface: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-dark: #0d1a2d;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-quiet: #64748b;
  --text-inverse: #f8fafc;

  --header-height: 72px;
  --container-max: 1200px;
  --transition-fast: 180ms ease;
  --transition-normal: 300ms ease;
}

/* --------------------------------------------------------------------------
   Global Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100%;
  text-rendering: optimizeLegibility;
}

body.scroll-locked {
  overflow: hidden !important;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  max-width: 100%;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Accessibility focus styles */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Layout Containers & Spacing
   Rule: Centered container width min(100% - 32px, 1200px) gives 16px mobile gutter
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
  padding-inline: 0;
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
  width: 100%;
  overflow: hidden;
}

.section-dark {
  background-color: var(--navy-900);
  color: var(--text-inverse);
}

.section-alt {
  background-color: var(--bg-alt);
}

/* Section Header Typography */
.section-header {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  text-align: left;
  width: 100%;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
  display: block;
}

.section-dark .section-kicker {
  color: var(--gold-300);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 4.2vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.section-dark .section-title {
  color: var(--white);
}

.section-description {
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 720px;
  text-align: left;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.section-dark .section-description {
  color: var(--slate-300);
}

/* --------------------------------------------------------------------------
   Header & Sticky Navigation (Fits on 1 line down to 320px)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 1px 4px rgba(13, 26, 45, 0.04);
  height: var(--header-height);
  width: 100%;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(13, 26, 45, 0.08);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
  padding-inline: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  flex-shrink: 0;
}

/* Brand Logo (Responsive so it never wraps down to 320px) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 4vw, 1.375rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-symbol {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--gold-500) 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.brand-tag {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--gold-600);
  background-color: var(--gold-100);
  border: 1px solid rgba(184, 134, 11, 0.2);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Desktop Navigation (Exactly 5 Links) */
.desktop-nav {
  display: none;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  padding-block: 0.5rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--navy-900);
}

.nav-link.active {
  color: var(--navy-900);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-500);
}

.header-action {
  display: none;
}

/* Hamburger Menu Button - Left-aligned before logo */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  cursor: pointer;
  z-index: 1100;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
  background-color: var(--slate-100);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--navy-900);
  margin: 2.5px 0;
  border-radius: 1px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

/* Hamburger into X */
.hamburger-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide-In Drawer (Opens from Left to Right, visible border between items) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 14, 24, 0.65);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background-color: var(--white);
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 28px rgba(13, 26, 45, 0.25);
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.5rem;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  font-size: 1.25rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--slate-800);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background-color: var(--slate-50);
  color: var(--navy-900);
}

.mobile-nav-link.active {
  color: var(--gold-600);
  font-weight: 700;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.mobile-contact-line {
  margin-bottom: 0.375rem;
}

/* --------------------------------------------------------------------------
   Hero Section (Left-Aligned, Animated Showcase Fully Visible on Mobile)
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  padding-block: clamp(40px, 6vw, 88px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-card);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
  width: 100%;
}

.hero-content {
  text-align: left;
  max-width: 640px;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.875rem;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-500);
  border-radius: var(--radius-full);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw + 0.5rem, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy-950);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-align: left;
  max-width: 60ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

/* Honest, non-numeric trust points */
.hero-trust-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  text-align: left;
  width: 100%;
}

.trust-point-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  text-align: left;
  line-height: 1.4;
}

.trust-point-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hero Showcase Animation (Smooth Ken Burns, Layered Cards, 100% visible on mobile) */
.hero-visual-frame-wrapper {
  position: relative;
  width: 100%;
}

/* Offset subtle gold accent line behind frame for depth */
.hero-visual-frame-wrapper::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
  transition: border-color var(--transition-fast);
}

.hero-visual-frame-wrapper:hover::before {
  border-color: rgba(184, 134, 11, 0.65);
}

.hero-slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 36px -8px rgba(13, 26, 45, 0.16), 0 4px 12px rgba(13, 26, 45, 0.08);
  overflow: hidden;
  background-color: var(--navy-900);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-slideshow-container {
    aspect-ratio: 4 / 3;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.hero-slide.is-active img {
  animation: kenBurns 16s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 26, 45, 0.1) 0%,
    rgba(13, 26, 45, 0.65) 100%
  );
  pointer-events: none;
}

/* Matching glass caption card - bottom-left corner only, max-width 78% */
.hero-caption-card {
  position: absolute;
  bottom: clamp(10px, 3.5%, 18px);
  left: clamp(10px, 3.5%, 18px);
  max-width: 78%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-radius: 10px;
  padding: clamp(8px, 2vw, 12px) clamp(10px, 2.5vw, 16px);
  box-shadow: 0 4px 16px rgba(13, 26, 45, 0.15);
  z-index: 3;
  text-align: left;
  pointer-events: auto;
}

.caption-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  margin-bottom: 2px;
}

.caption-title {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.caption-sub {
  font-size: clamp(0.6875rem, 1.6vw, 0.75rem);
  color: var(--slate-600);
  margin-top: 2px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Desktop top-right tag chip (hidden on mobile) */
.hero-tag-chip {
  display: none;
}

@media (min-width: 1024px) {
  .hero-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(13, 26, 45, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gold-300);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .chip-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
  }
}

/* Progress indicator bars under image */
.hero-indicators-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}

.hero-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--slate-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot:hover {
  background-color: var(--slate-500);
}

.hero-dot.is-active {
  width: 36px;
  background-color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   Buttons & Links
   Rule: min 44px tap target, exactly 48px standard height, max-width: 100%, text wraps cleanly
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  height: 48px;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  box-sizing: border-box;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--border-card);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm {
  height: 38px;
  min-height: 38px;
  padding: 0 0.875rem;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Signature Card Architecture
   Shared style: 1px border (#d9e0ea), 12-16px radius, white bg, subtle shadow,
   gold border & small lift on hover, thin gold top-border accent.
   -------------------------------------------------------------------------- */
.card-box,
.image-card,
.service-feature-card,
.team-card,
.cta-card,
.prose-content {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  max-width: 100%;
}

.card-box:hover,
.image-card:hover,
.service-feature-card:hover,
.team-card:hover,
.cta-card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Service Feature Card (Competencies Grid) */
.service-feature-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold-500);
}

.service-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--slate-200);
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center center;
transition: transform 400ms ease;
}

.service-feature-card:hover .service-card-thumb img {
  transform: scale(1.04);
}

.service-card-body {
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

/* Card Link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
  padding-top: 0.75rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.card-link:hover {
  color: var(--gold-500);
  transform: translateX(3px);
}

/* Principle Card (Why FinanceNaro Band) */
.principle-card {
  background-color: var(--navy-800);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.principle-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
}

.principle-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.principle-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.principle-text {
  font-size: 0.9375rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* Base Card Box */
.card-box {
  padding: clamp(1.25rem, 4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 3px solid var(--gold-500);
}

/* Circular top-center avatar/icon in cards */
.card-avatar-center {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  margin-inline: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate-100);
  border: 1px solid var(--border-card);
  overflow: hidden;
  flex-shrink: 0;
}

.card-avatar-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center center;
object-position: top center;
}

.card-avatar-center svg {
  width: 26px;
  height: 26px;
  color: var(--navy-900);
}

/* Card Content Typography */
.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 3.2vw, 1.35rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.625rem;
  text-align: left;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.card-meta-unboxed {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
  text-align: left;
  flex-wrap: wrap;
}

/* Image Card Showcase */
.image-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold-500);
}

.image-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--slate-200);
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
}

.image-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 400ms ease;
}

.image-card:hover .image-card-thumb img {
  transform: scale(1.04);
}

.image-card-body {
  padding: clamp(1.125rem, 3.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

/* --------------------------------------------------------------------------
   CTA Card (Fixed padding, no void on right, no button overflow)
   -------------------------------------------------------------------------- */
.cta-card {
  padding: clamp(1.75rem, 5vw, 3rem);
  border-top: 3px solid var(--gold-500);
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-sizing: border-box;
}

.cta-card-content {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.cta-card .section-title {
  margin-bottom: 0.75rem;
}

.cta-card .section-description {
  margin-bottom: 1.5rem;
  max-width: 65ch;
  width: 100%;
}

.cta-dark-card {
  background-color: var(--navy-900);
  background-image: linear-gradient(135deg, rgba(13, 26, 45, 0.96) 0%, rgba(6, 14, 24, 0.98) 100%), url('../images/doller%20coin.webp');
  background-size: cover;
  background-position: center;
  border-color: var(--border-dark);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-strong);
}

.cta-dark-card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-strong);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
}

.newsletter-form .form-input {
  flex: 1 1 280px;
  height: 48px;
  min-height: 48px;
  padding: 0 1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  box-sizing: border-box;
}

.newsletter-form .form-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-500);
  outline: none;
}

.cta-btn {
  max-width: 100% !important;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  box-sizing: border-box;
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
}

.newsletter-disclaimer a {
  text-decoration: underline;
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Minimal Content Cards & Responsive Grid Logic
   -------------------------------------------------------------------------- */
.grid-minimal-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  width: 100%;
}

.minimal-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: clamp(0.875rem, 2.5vw, 1.25rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.minimal-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.minimal-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  margin-inline: auto;
  margin-bottom: 0.625rem;
  background-color: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.minimal-card-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  text-align: left;
  overflow-wrap: break-word;
}

.minimal-card-desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.45;
  text-align: left;
  overflow-wrap: break-word;
}

/* Cards with large amount of content: horizontal scroll-snap on small screens */
.cards-scroll-mobile {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 0.75rem;
  padding-inline: 0.25rem;
  width: 100%;
}

.cards-scroll-mobile > * {
  flex: 0 0 88%;
  max-width: 320px;
  scroll-snap-align: start;
}

/* Grids: 1 column on mobile, auto-expanding */
.grid-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

.grid-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Filter & Sorting Component
   -------------------------------------------------------------------------- */
.filter-bar-wrapper {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

.search-box-container {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents iOS auto-zoom */
  color: var(--navy-900);
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--gold-500);
  outline: none;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  pointer-events: none;
}

.filter-control-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.filter-dropdown-select {
  padding: 0.625rem 2.25rem 0.625rem 1rem;
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents iOS zoom */
  font-weight: 500;
  color: var(--navy-900);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23334155'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  cursor: pointer;
  min-width: 200px;
  max-width: 100%;
  flex: 1 1 auto;
}

.filter-dropdown-select:focus {
  border-color: var(--gold-500);
  outline: none;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.no-results-banner {
  display: none;
  width: 100%;
  padding: 3rem 1.5rem;
  background-color: var(--white);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  text-align: center;
  margin-block: 1.5rem;
}

.no-results-banner.is-visible {
  display: block;
}

.no-results-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.no-results-desc {
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* --------------------------------------------------------------------------
   Team Section & Face Visibility Rule
   Rule: Top center object-position preserves face visibility at every breakpoint
   Hierarchy: Name, gold uppercase role label, body, small credential with divider
   -------------------------------------------------------------------------- */
.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--slate-100);
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* face visibility protected */
  transition: transform var(--transition-normal);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.03);
}

.team-card-body {
  padding: clamp(1.125rem, 3.5vw, 1.375rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.team-member-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
}

.team-member-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-member-bio {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.team-member-credentials {
  font-size: 0.75rem;
  color: var(--slate-500);
  border-top: 1px solid var(--border-light);
  padding-top: 0.625rem;
  margin-top: auto;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Forms & Contact Controls (16px input font size stops iOS zoom)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  width: 100%;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
  text-align: left;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents auto zoom */
  color: var(--navy-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-500);
  outline: none;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
  text-align: left;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-input.is-invalid + .form-error-msg,
.form-select.is-invalid + .form-error-msg,
.form-textarea.is-invalid + .form-error-msg {
  display: block;
}

/* Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.accordion-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.accordion-header {
  width: 100%;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  background-color: var(--white);
  min-height: 48px;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--slate-50);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  text-align: left;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

/* --------------------------------------------------------------------------
   Popup / Toast Notification System
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(92vw, 440px);
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background-color: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.toast-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-text {
  font-size: 0.875rem;
  line-height: 1.45;
  flex-grow: 1;
  text-align: left;
}

.toast-close-btn {
  color: var(--slate-400);
  padding: 2px;
  line-height: 1;
  font-size: 1.125rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.toast-close-btn:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Legal & Static Content Pages (Privacy, Disclaimer)
   -------------------------------------------------------------------------- */
.prose-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
  border-top: 3px solid var(--gold-500);
}

.prose-content h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-content h2:first-child {
  margin-top: 0;
}

.prose-content p {
  margin-bottom: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
}

.prose-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--slate-700);
}

.prose-content li {
  margin-bottom: 0.5rem;
}

/* Callout Box */
.callout-box {
  background-color: var(--slate-100);
  border-left: 3px solid var(--gold-500);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.5rem;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--navy-900);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Footer (Identical on every page, stacked columns with dividers on mobile)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-300);
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
}

.footer-top-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .brand-logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 0.875rem;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--slate-300);
}

.footer-link:hover {
  color: var(--white);
}

.footer-contact-info {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.65;
}

.footer-disclaimer-note {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--slate-400);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  text-align: left;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--slate-400);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: 480px, 768px, 1024px
   -------------------------------------------------------------------------- */

/* Under 480px: Full-width buttons, no overflows */
@media (max-width: 480px) {
  .btn,
  .cta-btn,
  .hero-actions .btn,
  .cta-card .btn,
  .newsletter-form .btn {
    width: 100% !important;
    white-space: normal;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .form-input,
  .newsletter-form .btn {
    width: 100%;
  }
}

/* 480px and up */
@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* 640px and up */
@media (min-width: 640px) {
  .grid-minimal-2col {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-scroll-mobile > * {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* 768px and up */
@media (min-width: 768px) {
  .hero-trust-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
  }

  .grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* 1024px and up */
@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .hamburger-btn {
    display: none;
  }

  .header-action {
    display: block;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    align-items: center;
    gap: clamp(2.5rem, 4.5vw, 4rem);
  }

  .hero-trust-points {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 16px 28px;
    align-items: center;
  }

  .cards-scroll-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-inline: 0;
  }

  .cards-scroll-mobile > * {
    flex: initial;
    max-width: none;
  }

  .grid-4col {
    grid-template-columns: repeat(4, 1fr);
  }

  .filter-bar-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .filter-control-container {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-slide img {
    animation: none !important;
  }

  .hero-floating-card {
    animation: none !important;
  }
}


/* ==========================================================================
   FinanceNaro Contact Page & Desk Inquiry Layout
   Aligned strictly with FinanceNaro navy/gold palette, typography, and card rules
   ========================================================================== */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
}

.contact-form-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.contact-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.contact-form-sub {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block: 1.25rem 1.5rem;
  cursor: pointer;
}

.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--gold-500);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-text {
  font-size: 0.84375rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.contact-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.desk-status-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border: 1px solid var(--navy-700);
  border-left: 4px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.desk-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.625rem;
}

.desk-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.desk-status-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.desk-status-card p {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-channels-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.channel-item {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--slate-100);
  align-items: flex-start;
}

.channel-item:first-child {
  padding-top: 0;
}

.channel-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  flex-shrink: 0;
}

.channel-info {
  flex: 1;
  text-align: left;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.channel-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.4;
}

.channel-val a {
  color: var(--navy-900);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.channel-val a:hover {
  color: var(--gold-600);
  text-decoration: underline;
}

.channel-sub {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-800);
  background-color: var(--slate-100);
  border: 1px solid var(--border-card);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-top: 0.375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-email-btn:hover {
  background-color: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.contact-office-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-office-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.contact-office-caption {
  padding: 1rem 1.25rem;
  text-align: left;
  border-top: 1px solid var(--slate-100);
}

.contact-office-caption-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.contact-office-caption-text {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin: 0;
}

.form-success-alert {
  display: none;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  border-left: 4px solid #059669;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #065f46;
  text-align: left;
}

.form-success-alert.is-visible {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ==========================================================================
   Services Page Architecture (Pillar Cards, Stepper, Overview Strip)
   ========================================================================== */

/* Page Header Band */
.page-header-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.page-header-content {
  max-width: 760px;
  text-align: left;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--slate-500);
  user-select: none;
}

.breadcrumb-current {
  color: var(--slate-200);
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
  hyphens: none;
  text-wrap: balance;
}

.page-header-desc {
  font-size: 1.0625rem;
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
}

/* Overview 4-Card Strip */
.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-overview-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.overview-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-500);
}

.overview-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: rgba(184, 134, 11, 0.1);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.overview-card__icon svg {
  width: 22px;
  height: 22px;
}

.overview-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.375rem;
}

.overview-card__desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Anchor Chip Navigation Bar */
.pillar-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.pillar-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid var(--border-card);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pillar-nav-chip:hover,
.pillar-nav-chip:focus-visible {
  border-color: var(--gold-500);
  color: var(--gold-600);
  background-color: rgba(184, 134, 11, 0.05);
}

.pillar-nav-chip__badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--navy-900);
  color: var(--white);
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pillar-nav-chip:hover .pillar-nav-chip__badge {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

/* Service Pillar Cards Stack */
.service-cards-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.service-card {
  background-color: var(--white);
  border: 1px solid #d9e0ea;
  border-top: 3px solid var(--gold-500);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-500);
}

.service-card__grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1024px) {
  .service-card__grid {
    display: grid;
    grid-template-columns: 45fr 55fr;
    align-items: stretch;
  }

  /* Alternate media side on even cards */
  .service-card:nth-child(even) .service-card__media {
    order: 2;
  }

  .service-card:nth-child(even) .service-card__body {
    order: 1;
  }
}

.service-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-950);
}

@media (max-width: 1023px) {
  .service-card__media {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1024px) {
  .service-card__media {
    height: 100%;
    min-height: 100%;
  }
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.025);
}

.service-card__img--suited {
  object-position: center top !important;
}

.service-card__img--desk {
  object-position: center center;
}

.service-card__img--analytics {
  object-position: center center;
}

.service-card__img--tech {
  object-position: center center;
}

.service-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--gold-500);
  color: var(--navy-950);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 2px solid #ffffff;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 26, 47, 0.45) 0%, transparent 60%);
}

.service-card__body {
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  box-sizing: border-box;
}

.service-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  hyphens: none;
  text-wrap: balance;
}

.service-card__lead {
  font-size: 1rem;
  color: var(--navy-900);
  line-height: 1.65;
  margin-bottom: 0.625rem;
}

.service-card__detail {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card__divider {
  width: 100%;
  height: 1px;
  background-color: var(--slate-200);
  margin-bottom: 1.25rem;
}

/* Feature checklist grid & uniform chips */
.service-card__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .service-card__features {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.feature-chip {
  background-color: var(--slate-50);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  box-sizing: border-box;
  text-align: left;
}

.feature-chip__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  margin-top: 2px;
}

.feature-chip__text {
  font-size: 0.84375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}

.service-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
  text-align: left;
}

.service-card__footer .btn {
  width: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  .service-card__footer .btn {
    width: 100%;
  }
}

/* 4-Step Process Section */
.process-stepper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .process-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-stepper {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.step-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.step-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.step-card__desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================
   Horizontal Scroll Slider for Mobile
   ========================================== */

@media (max-width: 768px) {
  /* Parent Container CSS Overrides */
  .grid-4col {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-bottom: 16px !important; /* Space for scrollbar */
    margin-inline: -16px !important;  /* Bleed edge-to-edge on small screens */
    padding-inline: 16px !important;
  }

  /* Hide default scrollbar for a clean look */
  .grid-4col::-webkit-scrollbar {
    height: 4px;
  }

  .grid-4col::-webkit-scrollbar-thumb {
    background: var(--mint-200, #c8e4e4);
    border-radius: 4px;
  }

  /* Individual Card Sizing & Alignment */
  .grid-4col > .team-card,
  .grid-4col > div {
    flex: 0 0 82% !important; /* Shows part of next card to indicate scroll */
    max-width: 300px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
}
/* ==========================================
   Newsletter Form Compact & Center Alignment
   ========================================== */

/* Form Container Center Alignment */
form#home-newsletter-form.newsletter-form {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 540px !important; /* Compact container width */
  margin: 0 auto 1.25rem auto !important; /* Center horizontally */
  gap: 8px !important;
  width: 100% !important;
}

/* Email Input - Small Rectangle Style */
form#home-newsletter-form .form-input {
  flex: 1 !important;
  max-width: 320px !important; /* Fixed width for input */
  height: 44px !important;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
  border-radius: 6px !important; /* Clean rectangular corners */
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

/* Submit Button Alignment */
form#home-newsletter-form .cta-btn,
form#home-newsletter-form button[type="submit"] {
  height: 44px !important;
  padding: 0 20px !important;
  font-size: 0.88rem !important;
  white-space: nowrap !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Mobile Responsive adjustment */
@media (max-width: 576px) {
  form#home-newsletter-form.newsletter-form {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  form#home-newsletter-form .form-input,
  form#home-newsletter-form button[type="submit"] {
    max-width: 100% !important;
    width: 100% !important;
  }
}
/* ========================================================
   Isolated Horizontal Scroll (Only Section Dark Principles)
   ======================================================== */

@media (max-width: 768px) {
  /* Parent section targeting using section-dark class */
  section.section-dark .grid-3col {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
    margin-inline: -16px !important;
    padding-inline: 16px !important;
  }

  /* Specific child cards inside section-dark grid-3col */
  section.section-dark .grid-3col > .principle-card {
    flex: 0 0 85% !important;
    max-width: 310px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  /* Scrollbar styling specifically for this section */
  section.section-dark .grid-3col::-webkit-scrollbar {
    height: 4px;
  }

  section.section-dark .grid-3col::-webkit-scrollbar-thumb {
    background: var(--gold-400, #d4af37);
    border-radius: 4px;
  }
}
/* =========================================================
   Services Overview Grid (.services-overview-grid) 
   Isolated Mobile Horizontal Scroll
   ========================================================= */

@media (max-width: 768px) {
  /* Main Container targeting only services-overview-grid */
  .services-overview-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
    margin-inline: -16px !important;  /* Edge-to-edge touch slider */
    padding-inline: 16px !important;
  }

  /* Hide default scrollbar for clean UI */
  .services-overview-grid::-webkit-scrollbar {
    height: 4px;
  }

  .services-overview-grid::-webkit-scrollbar-thumb {
    background: var(--teal-700, #144d4d);
    border-radius: 4px;
  }

  /* Individual Overview Cards Sizing */
  .services-overview-grid > .overview-card {
    flex: 0 0 82% !important; /* Next card nani thi dekhay aatle scrollable khabar pade */
    max-width: 300px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
}
/* =========================================================
   Pillar Navigation Bar - Mobile Optimization Fix
   ========================================================= */

@media (max-width: 768px) {
  /* Navigation Bar Bar Wrapper */
  nav.pillar-nav-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none; /* Firefox hide scrollbar */
  }

  /* Hide Webkit Scrollbar */
  nav.pillar-nav-bar::-webkit-scrollbar {
    display: none;
  }

  /* DIRECT ACCESS Label Fix */
  nav.pillar-nav-bar > span {
    white-space: nowrap !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
    margin-right: 4px !important;
  }

  /* Individual Pill Chips */
  nav.pillar-nav-bar .pillar-nav-chip {
    flex-shrink: 0 !important; /* Chips wrap hone se roko */
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-radius: 20px !important;
  }

  /* Badge styling inside chips */
  nav.pillar-nav-bar .pillar-nav-chip__badge {
    font-size: 0.75rem !important;
    line-height: 1 !important;
  }
}
/* =========================================================
   Process Stepper (.process-stepper) 
   Isolated Mobile Horizontal Scroll
   ========================================================= */

@media (max-width: 768px) {
  /* Process Stepper Container Targeting */
  .process-stepper {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
    margin-inline: -16px !important; /* Full edge-to-edge touch slider */
    padding-inline: 16px !important;
  }

  /* Webkit Scrollbar Styling */
  .process-stepper::-webkit-scrollbar {
    height: 4px;
  }

  .process-stepper::-webkit-scrollbar-thumb {
    background: var(--gold-400, #d4af37);
    border-radius: 4px;
  }

  /* Individual Step Cards Sizing */
  .process-stepper > .step-card,
  .process-stepper > div {
    flex: 0 0 82% !important; /* Suspect next card peek karne ke liye */
    max-width: 300px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
}
/* Mobile / Small Screens ke liye */
@media (max-width: 768px) {
  .site-header {
    position: fixed; /* ya sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Baki content ke upar rehne ke liye */
    background-color: #ffffff; /* Content ke piche background rehne ke liye */
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 10px; /* Hamburger button aur logo ke bich spacing */
  }

  /* Hamburger button ko hamesha left-top par rakhne ke liye */
  #hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
  }

  /* Fixed header ki wajah se top content hide na ho isliye body/main me padding-top add karein */
  body {
    padding-top: 60px; /* Header ki height ke acche se adjust karein */
  }
}
.site-header {
  position: fixed; /* ya sticky */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000; /* taaki header baaki content ke upar rahe */
  background-color: #ffffff; /* background color set karein taaki niche ka content na dikhe */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* light shadow for clean look */
}

/* Header sticky hone par main body/content overflow na ho */
body {
  padding-top: 60px; /* header ki height ke barabar padding dein */
}
/* Mobile View Fixes (Small Screens) */
@media screen and (max-width: 768px) {
    /* 1. Header ko top par stick karein aur extra space hatayein */
    .site-header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background-color: #ffffff !important; /* Header BG */
        margin: 0 !important;
        padding: 8px 16px !important; /* Minimal vertical space */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
    }

    /* 2. Header Container flex layout reset */
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: unset !important;
        height: auto !important;
    }

    /* 3. Header Left section layout */
    .header-left {
        display: flex !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 4. Brand Logo Ko Left me fix karein */
    .brand-logo {
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 5. Hamburger Button Ko strictly Top-Right me fix karein */
    #hamburger-btn,
    .hamburger-btn {
        order: 2 !important;
        margin-left: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    /* 6. Desktop Nav aur Action Buttons hide karein taaki space na ghere */
    .desktop-nav,
    .header-action {
        display: none !important;
    }
}
/* 1. Body ke default flex alignment ko fix karein */
body, 
body.flex {
    display: block !important; /* Body ko flex se normal block layout me karein */
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

/* 2. Header ko absolute top par zero distance par fix karein */
header.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}
/* Drawer Header container */
.mobile-drawer-header {
  display: flex !important;
  justify-content: space-between !important; /* Logo left, Cross right */
  align-items: center !important; /* Vertically center align */
  padding: 1rem !important; /* Aavashyakta anusaar padding adjust karein */
}

/* Logo element order & styling */
.mobile-drawer-header .brand-logo {
  order: 1 !important; /* Left me dikhane ke liye */
  display: flex !important;
  align-items: center !important;
}

/* Close (Cross) button order & styling */
.mobile-drawer-header .drawer-close-btn {
  order: 2 !important; /* Right me dikhane ke liye */
  margin-left: auto !important; /* Push to the far right */
}