/* ===================================
   Raj Chimnani & Associates
   Design System — Light, Minimal, Editorial
   Inspired by modern advisory firm aesthetics
   =================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette — Soft navy & warm whites */
  --navy: #1a2744;
  --navy-light: #2a3b5e;
  --navy-muted: #3d5078;

  /* Accent */
  --accent: #4361a5;
  --accent-light: #5a7bc4;
  --accent-soft: rgba(67, 97, 165, 0.08);
  --accent-softer: rgba(67, 97, 165, 0.04);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f8fc;
  --cream: #f0f2f8;
  --gray-50: #f5f6fa;
  --gray-100: #eceef5;
  --gray-200: #dde0eb;
  --gray-300: #bfc4d6;
  --gray-400: #9099b2;
  --gray-500: #6b7594;
  --gray-600: #505a73;
  --gray-700: #343c50;
  --gray-800: #1e2433;

  /* Functional */
  --bg-body: var(--white);
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-muted: var(--gray-400);
  --border: var(--gray-200);
  --border-light: var(--gray-100);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 5rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 50px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(26, 39, 68, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.1);
  --shadow-xl: 0 16px 48px rgba(26, 39, 68, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s var(--ease-in-out);
  --t-base: 0.4s var(--ease-out);
  --t-slow: 0.6s var(--ease-out);

  /* Layout */
  --container-max: 1180px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Section ---------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 520px;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}

.header.scrolled {
  border-bottom-color: var(--border-light);
  background: rgba(255, 255, 255, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo Lockup — Exact match to reference */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logo-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 2px;
  color: #0b253a;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-subrow {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 5px;
  margin-top: 4px;
}

.logo-gold-line,
.logo-accent-line {
  flex: 1;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.logo-assoc {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: #0b253a;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-divider {
  width: 1.5px;
  height: 30px;
  background: #8b9bb0;
  margin: 0 12px;
  opacity: 0.75;
  align-self: center;
}

.logo-qual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 30px;
}

.logo-qual span {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 2px;
  color: #0b253a;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.2px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
  color: var(--gray-800);
}

.nav-link.active {
  color: var(--gray-800);
  background: var(--gray-50);
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
  transition: all var(--t-fast);
}

.nav-cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-lg) var(--space-xl);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
  z-index: 999;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile .nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.nav-mobile .nav-link:last-of-type {
  border-bottom: none;
}

.nav-mobile .nav-cta {
  display: block;
  text-align: center;
  margin-top: var(--space-md);
}

/* =========================================
   HERO — Editorial, Image-driven
   ========================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--off-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 65%, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 252, 0.85) 55%, rgba(247, 248, 252, 0.4) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(247, 248, 252, 0.9) 65%, rgba(247, 248, 252, 1) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-3xl);
}

.hero-inner {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.7s var(--ease-out) both;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.7s var(--ease-out) 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.7s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: fadeUp 0.7s var(--ease-out) 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  cursor: pointer;
  border: none;
}

.btn-lg {
  padding: 14px 32px;
}

.btn-md {
  padding: 11px 24px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

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

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* =========================================
   SERVICE STRIP — Horizontal icon strip
   ========================================= */
.service-strip {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.strip-item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-right: 1px solid var(--border-light);
  transition: background var(--t-base);
  cursor: default;
}

.strip-item:last-child {
  border-right: none;
}

.strip-item:hover {
  background: var(--accent-softer);
}

.strip-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}

.strip-item:hover .strip-icon {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.strip-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  transition: color var(--t-fast);
}

.strip-item:hover .strip-icon svg {
  color: var(--accent);
}

.strip-item h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 2px;
}

.strip-item p {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* =========================================
   ABOUT / "BUILDING THE FUTURE" SECTION
   ========================================= */
.about-section {
  background: var(--white);
  overflow: hidden;
}

.about-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.about-header .section-desc {
  margin: var(--space-md) auto 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid var(--border);
  transition: background var(--t-base);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card:hover {
  background: var(--accent-softer);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* Why We Exist — Two columns */
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-content {
  padding-top: var(--space-xs);
}

.why-content .section-title {
  margin-bottom: var(--space-sm);
}

.why-content .section-desc {
  margin-bottom: var(--space-md);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--space-md);
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.why-feature-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.why-feature-text h4 {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 2px;
}

.why-feature-text p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Image collage — Compact, tasteful proportions */
.why-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 175px 175px;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.why-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.why-img:hover img {
  transform: scale(1.04);
}

.why-img-tall {
  grid-row: span 2;
}

/* =========================================
   SERVICES SECTION (Home + Services page)
   ========================================= */
.services-section {
  background: var(--off-white);
  position: relative;
  padding: 5rem 0 6rem;
}

.services-section .container {
  position: relative;
  z-index: 3;
}

/* Wave top */
.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.wave-top svg {
  display: block;
  width: calc(100% + 2px);
  height: 70px;
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
  pointer-events: none;
}

.wave-bottom svg {
  display: block;
  width: calc(100% + 2px);
  height: 70px;
}

.services-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.services-header .section-desc {
  margin: var(--space-md) auto 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--t-fast);
}

.svc-card:hover .svc-icon {
  background: var(--accent);
}

.svc-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: color var(--t-fast);
}

.svc-card:hover .svc-icon svg {
  color: var(--white);
}

.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.svc-card p {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* =========================================
   CTA SECTION — "Let's Talk" style
   ========================================= */
.cta-section {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative cloud/blob */
.cta-blob {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 250px;
  background: var(--off-white);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.cta-inner .section-title {
  margin-bottom: var(--space-md);
}

.cta-inner .section-desc {
  margin: 0 auto var(--space-xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* =========================================
   SERVICES PAGE — Full detail grid
   ========================================= */
.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-softer) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .section-desc {
  margin: var(--space-md) auto 0;
}

.svc-detail-section {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.svc-detail-card {
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--t-base);
  position: relative;
}

.svc-detail-card:hover {
  background: var(--white);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.svc-detail-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.svc-detail-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.svc-detail-card:hover .svc-detail-icon {
  background: var(--accent);
}

.svc-detail-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: color var(--t-fast);
}

.svc-detail-card:hover .svc-detail-icon svg {
  color: var(--white);
}

.svc-detail-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gray-800);
}

.svc-detail-header p {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--t-fast);
}

.svc-detail-card:hover .svc-pill {
  border-color: var(--accent-soft);
  background: var(--accent-softer);
  color: var(--navy);
}

.svc-pill svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all var(--t-base);
}

.contact-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-card-body h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.contact-card-body p,
.contact-card-body a {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.contact-card-body a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form-box {
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-submit {
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

/* Map */
.map-section {
  padding: 0 0 var(--space-4xl);
  background: var(--white);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* =========================================
   FOOTER — Clean, minimal
   ========================================= */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo-title,
.footer-brand .logo-assoc {
  color: var(--white);
}

.footer-brand .logo-gold-line,
.footer-brand .logo-accent-line {
  background: var(--accent-light);
}

.footer-brand .logo-divider {
  background: rgba(255, 255, 255, 0.3);
}

.footer-brand .logo-qual span {
  color: rgba(255, 255, 255, 0.9);
}

.footer-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

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

.footer-col a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--t-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   SCROLL ANIMATIONS — Multi-directional
   ========================================= */

/* Base reveal — fade up */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade only (no movement) */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.reveal-fade.visible {
  opacity: 1;
}

/* Stagger delays */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }
.reveal-d7 { transition-delay: 0.56s; }
.reveal-d8 { transition-delay: 0.64s; }

/* =========================================
   SECTION-SPECIFIC DECORATIONS
   ========================================= */

/* About Section — Subtle dot grid background */
.about-section::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}

.about-section {
  position: relative;
}

/* Services Section — Floating accent circles */
.services-section::after {
  content: '';
  position: absolute;
  top: 120px;
  right: 60px;
  width: 160px;
  height: 160px;
  border: 1.5px solid var(--accent-soft);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  animation: floatSlow 12s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -15px) rotate(3deg); }
  66% { transform: translate(-8px, 8px) rotate(-2deg); }
}

/* CTA — Animated pulsing blob */
.cta-blob {
  animation: blobPulse 6s ease-in-out infinite;
}

@keyframes blobPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 0.5; }
}

/* CTA — Floating decorative ring */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 8%;
  width: 100px;
  height: 100px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

/* =========================================
   PARALLAX SUPPORT
   ========================================= */
.hero-bg img {
  will-change: transform;
  transition: none;
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1001;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* =========================================
   ANIMATED STAT NUMBER — Bounce on appear
   ========================================= */
.stat-card .stat-number {
  transition: transform 0.4s var(--ease-out);
}

.stat-card:hover .stat-number {
  transform: scale(1.08);
}

/* =========================================
   SERVICE CARD — Tilt micro-interaction
   ========================================= */
.svc-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* =========================================
   WHY-FEATURE — Line-reveal effect
   ========================================= */
.why-feature {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--space-md);
}

.why-feature:last-child {
  border-bottom: none;
}

/* =========================================
   STRIP ITEM — Hover shine effect
   ========================================= */
.strip-item {
  position: relative;
  overflow: hidden;
}

.strip-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: none;
  pointer-events: none;
}

.strip-item:hover::after {
  animation: shinePass 0.6s ease forwards;
}

@keyframes shinePass {
  from { left: -60%; }
  to { left: 120%; }
}

/* =========================================
   IMAGE HOVER — Subtle color overlay
   ========================================= */
.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(67, 97, 165, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
  border-radius: inherit;
}

.why-img:hover::after {
  opacity: 1;
}

/* =========================================
   RESPONSIVE — Tablet
   ========================================= */
/* =========================================
   RESPONSIVE — Tablet (<= 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .services-grid,
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-images {
    max-width: 480px;
    margin: var(--space-lg) auto 0;
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strip-item:nth-child(2) {
    border-right: none;
  }

  .strip-item:nth-child(1),
  .strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .about-section::before,
  .about-section::after,
  .services-section::after,
  .cta-section::after {
    display: none;
  }
}

/* =========================================
   RESPONSIVE — Mobile (<= 768px)
   ========================================= */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Header & Logo */
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .nav-mobile {
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-sm);
  }

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

  /* Grids */
  .strip-grid,
  .services-grid,
  .svc-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) var(--space-sm);
  }

  .strip-item:last-child {
    border-bottom: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  /* Why Section */
  .why-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
    height: 312px;
    max-width: 100%;
  }

  .why-img-tall {
    grid-row: span 2;
  }

  /* Service detail cards */
  .svc-card {
    padding: var(--space-lg);
  }

  /* Contact Page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 13px 16px;
  }

  /* CTA */
  .cta-inner {
    padding: var(--space-xl) var(--space-md);
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Disable parallax on mobile for smooth performance */
  .hero-bg img {
    transform: none !important;
  }

  /* Simplify directional reveals on touch devices */
  .reveal-left,
  .reveal-right {
    transform: translateY(20px);
  }
}

/* =========================================
   RESPONSIVE — Small Mobile (<= 520px)
   ========================================= */
@media (max-width: 520px) {
  .logo-title {
    font-size: 0.92rem;
    letter-spacing: 1.5px;
  }

  .logo-assoc {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
  }

  .logo-divider {
    height: 22px;
    margin: 0 6px;
  }

  .logo-qual {
    height: 22px;
  }

  .logo-qual span {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 400px) {
  /* On ultra-small screens, hide the right qualification block for extreme clarity */
  .logo-divider,
  .logo-qual {
    display: none;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 1;
    transform: none;
  }
  .hero-bg img {
    transform: none !important;
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
