/* ================================================================
   CHARTERED ACCOUNTANCY FIRM — PREMIUM STYLESHEET
   Design Philosophy: Big 4 Consulting Aesthetic
   ================================================================ */

/* ————————————————————————————————————————————————————————————————
   0. GOOGLE FONTS
   ———————————————————————————————————————————————————————————————— */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ————————————————————————————————————————————————————————————————
   1. CSS CUSTOM PROPERTIES
   ———————————————————————————————————————————————————————————————— */
:root {
  /* ---- Colour Palette ---- */
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F9FAFB;
  --color-bg-dark:        #0F172A;
  --color-text-primary:   #1F2937;
  --color-text-secondary: #6B7280;
  --color-text-tertiary:  #9CA3AF;
  --color-accent:         #1E3A8A;
  --color-button:         #1D4ED8;
  --color-hover:          #2563EB;
  --color-border:         #E5E7EB;
  --color-border-light:   #F3F4F6;
  --color-white:          #FFFFFF;
  --color-black:          #000000;
  --color-overlay:        rgba(15, 23, 42, 0.65);
  --color-card-shadow:    rgba(31, 41, 55, 0.06);
  --color-card-shadow-hover: rgba(30, 58, 138, 0.12);

  /* ---- Typography ---- */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                  Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-serif:   'Georgia', 'Times New Roman', Times, serif;

  /* ---- Fluid Type Scale (clamp) ---- */
  --text-xs:   clamp(0.694rem, 0.65rem + 0.22vw, 0.75rem);
  --text-sm:   clamp(0.8rem,   0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.938rem, 0.875rem + 0.3vw, 1rem);
  --text-lg:   clamp(1.063rem, 0.975rem + 0.45vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-2xl:  clamp(1.25rem,  1rem + 1.2vw, 1.5rem);
  --text-3xl:  clamp(1.5rem,   1.125rem + 1.8vw, 1.875rem);
  --text-4xl:  clamp(1.875rem, 1.25rem + 3vw, 2.25rem);
  --text-5xl:  clamp(2.25rem,  1.5rem + 3.5vw, 3rem);
  --text-6xl:  clamp(2.75rem,  1.75rem + 5vw, 3.75rem);
  --text-hero: clamp(2.75rem,  1.5rem + 6vw, 4.5rem);

  /* ---- Spacing ---- */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-section-y:       clamp(80px, 8vw, 120px);
  --space-section-y-inner: clamp(60px, 6vw, 100px);

  /* ---- Layout ---- */
  --max-width:     1200px;
  --max-width-narrow: 800px;
  --nav-height:    80px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* ---- Transitions ---- */
  --ease-smooth:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   0.2s;
  --duration-base:   0.3s;
  --duration-slow:   0.5s;
  --duration-slower:  0.7s;

  /* ---- Z-index Scale ---- */
  --z-base:    1;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-scroll-indicator: 110;
}


/* ————————————————————————————————————————————————————————————————
   2. CSS RESET & BASE
   ———————————————————————————————————————————————————————————————— */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl);  }
h6 { font-size: var(--text-lg);  }

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
  transition: background var(--duration-base) ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}


/* ————————————————————————————————————————————————————————————————
   3. SCROLL PROGRESS INDICATOR
   ———————————————————————————————————————————————————————————————— */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-button));
  z-index: var(--z-scroll-indicator);
  transition: width 0.1s linear;
  will-change: width;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4));
  border-radius: 0 2px 2px 0;
}


/* ————————————————————————————————————————————————————————————————
   4. NAVIGATION
   ———————————————————————————————————————————————————————————————— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: var(--z-nav);
  background-color: transparent;
  transition:
    background-color var(--duration-slow) var(--ease-smooth),
    box-shadow var(--duration-slow) var(--ease-smooth),
    backdrop-filter var(--duration-slow) var(--ease-smooth);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

/* ---- Logo ---- */
.nav-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  transition: color var(--duration-base) var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}

.navbar.scrolled .nav-logo {
  color: var(--color-text-primary);
}

.nav-logo span {
  color: var(--color-hover);
  transition: color var(--duration-base) var(--ease-smooth);
}

.navbar.scrolled .nav-logo span {
  color: var(--color-accent);
}

/* ---- Nav Links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration-base) var(--ease-smooth);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-secondary);
}

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

.navbar.scrolled .nav-links a:hover {
  color: var(--color-accent);
}

/* Smooth underline animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width var(--duration-base) var(--ease-smooth);
  will-change: width;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ---- Hamburger Menu ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: calc(var(--z-nav) + 10);
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--duration-base) var(--ease-smooth),
    opacity var(--duration-fast) var(--ease-smooth),
    background-color var(--duration-base) var(--ease-smooth);
  will-change: transform, opacity;
}

.navbar.scrolled .nav-hamburger span {
  background-color: var(--color-text-primary);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Nav Overlay ---- */
.nav-mobile {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: var(--z-nav);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-slow) var(--ease-smooth),
    visibility var(--duration-slow) var(--ease-smooth);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-slow) var(--ease-smooth),
    transform var(--duration-slow) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth);
}

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

.nav-mobile.open a:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile.open a:nth-child(6) { transition-delay: 0.35s; }

.nav-mobile a:hover {
  color: var(--color-hover);
}

.nav-mobile a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-hover);
  transition: width var(--duration-base) var(--ease-smooth), left var(--duration-base) var(--ease-smooth);
}

.nav-mobile a:hover::after {
  width: 100%;
  left: 0;
}


/* ————————————————————————————————————————————————————————————————
   5. HERO SECTION
   ———————————————————————————————————————————————————————————————— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-dark);
  overflow: hidden;
  isolation: isolate;
}

/* ---- Geometric pattern overlay (CSS-only) ---- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Diagonal grid lines */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.015) 60px,
      rgba(255, 255, 255, 0.015) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.015) 60px,
      rgba(255, 255, 255, 0.015) 61px
    ),
    /* Large diamond shapes */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 120px,
      rgba(30, 58, 138, 0.06) 120px,
      rgba(30, 58, 138, 0.06) 121px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 120px,
      rgba(30, 58, 138, 0.06) 120px,
      rgba(30, 58, 138, 0.06) 121px
    );
  z-index: 1;
  animation: heroPatternDrift 30s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Radial glow top-left */
    radial-gradient(
      ellipse 60% 50% at 15% 20%,
      rgba(30, 58, 138, 0.2) 0%,
      transparent 70%
    ),
    /* Radial glow bottom-right */
    radial-gradient(
      ellipse 50% 60% at 80% 80%,
      rgba(29, 78, 216, 0.12) 0%,
      transparent 70%
    ),
    /* Subtle horizontal scanlines */
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.008) 3px,
      rgba(255, 255, 255, 0.008) 4px
    );
  z-index: 2;
}

@keyframes heroPatternDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ---- Hero floating geometric accents ---- */
.hero-geometric {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-geometric .shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.04);
  animation: floatShape 20s var(--ease-in-out) infinite;
}

.hero-geometric .shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  transform: rotate(45deg);
  animation-duration: 25s;
}

.hero-geometric .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 5%;
  border-radius: 50%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.hero-geometric .shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 20%;
  transform: rotate(30deg);
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; }
  50%      { transform: translateY(-30px) rotate(55deg); opacity: 0.7; }
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-xl);
}

.hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-lg);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero-heading {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-xl);
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.4s both;
}

.hero-heading em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.hero-subheading {
  font-size: var(--text-xl);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.6s both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.8s both;
}

/* Hero scroll-down indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: heroFadeUp 0.8s var(--ease-smooth) 1s both;
}

.hero-scroll-indicator span {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

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


/* ————————————————————————————————————————————————————————————————
   6. PAGE HEADER (Inner Pages)
   ———————————————————————————————————————————————————————————————— */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background-color: var(--color-bg-dark);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.012) 60px,
      rgba(255, 255, 255, 0.012) 61px
    ),
    radial-gradient(
      ellipse 50% 80% at 70% 30%,
      rgba(30, 58, 138, 0.18) 0%,
      transparent 70%
    );
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--duration-base) var(--ease-smooth);
}

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

.breadcrumb .separator {
  font-size: 0.6em;
  opacity: 0.5;
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}


/* ————————————————————————————————————————————————————————————————
   7. SECTION LAYOUTS
   ———————————————————————————————————————————————————————————————— */
section {
  padding: var(--space-section-y) 0;
  position: relative;
}

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

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

section.bg-dark p {
  color: rgba(255, 255, 255, 0.6);
}


/* ————————————————————————————————————————————————————————————————
   8. UTILITY — CONTAINER
   ———————————————————————————————————————————————————————————————— */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}


/* ————————————————————————————————————————————————————————————————
   9. UTILITY — TYPOGRAPHY CLASSES
   ———————————————————————————————————————————————————————————————— */

/* Small uppercase label (e.g., "Our Services") */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: 2.5rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1px;
  background-color: var(--color-accent);
}

section.bg-dark .section-label {
  color: var(--color-hover);
}

section.bg-dark .section-label::before {
  background-color: var(--color-hover);
}

/* Section heading */
.section-heading {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

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

/* Section body text */
.section-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

section.bg-dark .section-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Lead text */
.lead {
  font-size: var(--text-xl);
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-weight: 400;
}


/* ————————————————————————————————————————————————————————————————
   10. UTILITY — GRID CLASSES
   ———————————————————————————————————————————————————————————————— */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

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

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

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ————————————————————————————————————————————————————————————————
   11. BUTTONS
   ———————————————————————————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth);
  will-change: transform;
}

/* Shine micro-interaction */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.15) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-smooth);
}

.btn:hover::after {
  transform: translateX(100%);
}

/* Primary */
.btn-primary {
  background-color: var(--color-button);
  color: var(--color-white);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.3);
}

/* Secondary / Outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Dark context adjustments */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-border);
}

.btn-outline-dark:hover {
  border-color: var(--color-accent);
  background-color: rgba(30, 58, 138, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

/* Small button */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

/* Large button */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

/* Button icon */
.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-base) var(--ease-smooth);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}


/* ————————————————————————————————————————————————————————————————
   12. TEXT LINK — SMOOTH UNDERLINE
   ———————————————————————————————————————————————————————————————— */
.text-link {
  position: relative;
  color: var(--color-accent);
  font-weight: 500;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size var(--duration-base) var(--ease-smooth);
  padding-bottom: 2px;
}

.text-link:hover {
  background-size: 100% 1px;
}

.text-link-arrow::after {
  content: ' →';
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-smooth);
}

.text-link-arrow:hover::after {
  transform: translateX(4px);
}


/* ————————————————————————————————————————————————————————————————
   13. SERVICE CARDS
   ———————————————————————————————————————————————————————————————— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition:
    transform var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-slow) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth);
  will-change: transform;
  overflow: hidden;
}

/* Top border accent reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-button));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-smooth);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px var(--color-card-shadow),
    0 4px 12px var(--color-card-shadow);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}

.service-card:hover .service-card-icon {
  background-color: rgba(30, 58, 138, 0.1);
  transform: scale(1.05);
}

.service-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.service-card-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}

.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
}

.service-card-link::after {
  content: '→';
  transition: transform var(--duration-base) var(--ease-smooth);
}

.service-card-link:hover::after {
  transform: translateX(4px);
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ————————————————————————————————————————————————————————————————
   14. ABOUT SECTION — TWO COLUMN
   ———————————————————————————————————————————————————————————————— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-content {
  order: 1;
}

.about-image {
  order: 2;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Abstract decorative pattern inside image placeholder */
.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(30, 58, 138, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(29, 78, 216, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(30, 58, 138, 0.02) 30px,
      rgba(30, 58, 138, 0.02) 31px
    );
}

/* Floating accent square */
.about-image-placeholder::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  background-color: var(--color-accent);
  opacity: 0.08;
  border-radius: var(--border-radius);
  transform: rotate(12deg);
}

/* Pull-quote */
.pull-quote {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin: var(--space-2xl) 0;
  padding-left: var(--space-xl);
  border-left: 3px solid var(--color-accent);
  position: relative;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image { order: 1; }
  .about-content { order: 2; }
}


/* ————————————————————————————————————————————————————————————————
   15. VALUES / PILLARS
   ———————————————————————————————————————————————————————————————— */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--duration-base) var(--ease-smooth);
}

.value-item:first-child {
  border-top: 1px solid var(--color-border);
}

.value-item:hover {
  background-color: var(--color-bg-alt);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  margin-left: calc(-1 * var(--space-lg));
  margin-right: calc(-1 * var(--space-lg));
  border-radius: var(--border-radius);
}

.value-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  min-width: 2rem;
  padding-top: 0.15em;
}

.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-content h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.value-content p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 560px;
}


/* ————————————————————————————————————————————————————————————————
   16. STATS / NUMBERS
   ———————————————————————————————————————————————————————————————— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--color-border);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Accent underline */
.stat-number::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.stat-suffix {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-md);
}

section.bg-dark .stat-number {
  color: var(--color-white);
}

section.bg-dark .stat-item::after {
  background-color: rgba(255, 255, 255, 0.1);
}

section.bg-dark .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}


/* ————————————————————————————————————————————————————————————————
   17. CONTACT SECTION
   ———————————————————————————————————————————————————————————————— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

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

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}

.contact-item:hover .contact-item-icon {
  background-color: rgba(30, 58, 138, 0.1);
  transform: scale(1.06);
}

.contact-item-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 0.15rem;
}

.contact-item-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Map placeholder */
.contact-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.04) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(30, 58, 138, 0.015) 20px,
      rgba(30, 58, 138, 0.015) 21px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(30, 58, 138, 0.015) 20px,
      rgba(30, 58, 138, 0.015) 21px
    );
}

.contact-map-label {
  position: relative;
  z-index: 1;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ————————————————————————————————————————————————————————————————
   18. BLOCKQUOTE / TESTIMONIAL
   ———————————————————————————————————————————————————————————————— */
blockquote,
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  padding: var(--space-xl) 0 var(--space-xl) var(--space-xl);
  border-left: 3px solid var(--color-accent);
  margin: var(--space-2xl) 0;
  position: relative;
}

blockquote::before,
.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.15;
  position: absolute;
  top: -0.2em;
  left: 0.3em;
  line-height: 1;
  font-family: var(--font-serif);
}

blockquote cite,
.testimonial-cite {
  display: block;
  font-family: var(--font-primary);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
  letter-spacing: 0.02em;
}

blockquote cite span,
.testimonial-cite span {
  font-weight: 400;
  color: var(--color-text-tertiary);
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  transition:
    transform var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-slow) var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-card-shadow);
}

.testimonial-card blockquote,
.testimonial-card .testimonial-quote {
  margin: 0;
  padding: 0 0 0 var(--space-lg);
  font-size: var(--text-xl);
}


/* ————————————————————————————————————————————————————————————————
   19. DIVIDERS
   ———————————————————————————————————————————————————————————————— */
.divider {
  border: none;
  height: 1px;
  background-color: var(--color-border);
  margin: var(--space-3xl) 0;
}

.divider-accent {
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-button),
    transparent
  );
  max-width: 120px;
  margin: var(--space-xl) 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.divider-short {
  max-width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

section.bg-dark .divider {
  background-color: rgba(255, 255, 255, 0.1);
}


/* ————————————————————————————————————————————————————————————————
   20. FOOTER
   ———————————————————————————————————————————————————————————————— */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--color-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

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

.footer-brand-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.footer-brand-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-base) var(--ease-smooth);
  position: relative;
  width: fit-content;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--duration-base) var(--ease-smooth);
}

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

.footer-links a:hover::after {
  width: 100%;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

.footer-icai {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ————————————————————————————————————————————————————————————————
   21. ANIMATIONS — SCROLL REVEAL
   ———————————————————————————————————————————————————————————————— */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--duration-slower) var(--ease-smooth),
    transform var(--duration-slower) var(--ease-smooth);
  will-change: opacity, transform;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
.animate-on-scroll.from-left {
  transform: translateX(-40px);
}

.animate-on-scroll.from-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(40px);
}

.animate-on-scroll.from-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.from-scale {
  transform: scale(0.95);
}

.animate-on-scroll.from-scale.animated {
  transform: scale(1);
}

/* Staggered children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }

/* ---- Text reveal line-by-line ---- */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.text-reveal.animated span {
  transform: translateY(0);
}

/* ---- Fade-in classes ---- */
.fade-in {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-smooth);
}

.fade-in.animated {
  opacity: 1;
}

/* ---- Count-up number animation support ---- */
.stat-number[data-count] {
  transition: none; /* JS will handle the animation */
}

@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.stat-number.count-complete {
  animation: countPulse 0.4s var(--ease-bounce);
}


/* ————————————————————————————————————————————————————————————————
   22. MICRO-INTERACTIONS
   ———————————————————————————————————————————————————————————————— */

/* Interactive card press effect */
.service-card:active {
  transform: translateY(-2px) scale(0.995);
}

/* Icon rotate on card hover */
.service-card:hover .service-card-icon svg,
.service-card:hover .service-card-icon img {
  transform: rotate(-5deg) scale(1.1);
  transition: transform var(--duration-base) var(--ease-bounce);
}

/* Image reveal on hover */
.image-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.image-reveal img {
  transition: transform var(--duration-slow) var(--ease-smooth);
}

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

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Smooth color transitions on all interactive elements */
a,
button,
input,
textarea,
select {
  transition:
    color var(--duration-base) var(--ease-smooth),
    background-color var(--duration-base) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth),
    opacity var(--duration-base) var(--ease-smooth);
}

/* Disable animations for users who prefer reduced motion */
@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;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero::before {
    animation: none;
  }
}


/* ————————————————————————————————————————————————————————————————
   23. ADDITIONAL COMPONENT STYLES
   ———————————————————————————————————————————————————————————————— */

/* ---- Tag / Badge ---- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth);
}

.tag:hover {
  background-color: rgba(30, 58, 138, 0.12);
}

/* ---- Feature Row ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--space-section-y-inner) 0;
}

.feature-row:nth-child(even) .feature-content {
  order: 2;
}

.feature-row:nth-child(even) .feature-media {
  order: 1;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row:nth-child(even) .feature-content { order: 1; }
  .feature-row:nth-child(even) .feature-media   { order: 2; }
}

/* ---- Team Member Card ---- */
.team-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}

.team-card:hover {
  background-color: var(--color-bg-alt);
  transform: translateY(-4px);
}

.team-card-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-smooth);
}

.team-card:hover .team-card-avatar {
  border-color: var(--color-accent);
}

.team-card-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.15rem;
}

.team-card-role {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.team-card-designation {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}


/* ————————————————————————————————————————————————————————————————
   24. LOADING SKELETON (Optional)
   ———————————————————————————————————————————————————————————————— */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-alt) 25%,
    var(--color-border-light) 37%,
    var(--color-bg-alt) 63%
  );
  background-size: 400% 100%;
  animation: skeletonPulse 1.4s ease infinite;
  border-radius: var(--border-radius);
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: 4px;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-heading {
  height: 1.8em;
  width: 70%;
  margin-bottom: 0.8em;
  border-radius: 4px;
}

@keyframes skeletonPulse {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ————————————————————————————————————————————————————————————————
   25. RESPONSIVE BREAKPOINTS
   ———————————————————————————————————————————————————————————————— */

/* ---- Tablet: 1024px ---- */
@media (max-width: 1024px) {
  :root {
    --nav-height: 72px;
  }

  .hero-content {
    max-width: 700px;
  }
}

/* ---- Mobile: 768px ---- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
  }

  /* Hide desktop nav links */
  .nav-links {
    display: none;
  }

  /* Hero adjustments */
  .hero {
    min-height: 100svh;
  }

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

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

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Section headings */
  .section-heading {
    font-size: var(--text-4xl);
  }

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

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

  /* Page header */
  .page-header {
    min-height: 220px;
    padding: calc(var(--nav-height) + 40px) 0 40px;
  }

  .page-header-title {
    font-size: var(--text-4xl);
  }

  /* Pull-quote */
  .pull-quote {
    font-size: var(--text-2xl);
  }

  /* Blockquote */
  blockquote,
  .testimonial-quote {
    font-size: var(--text-xl);
    padding-left: var(--space-lg);
  }

  /* Values */
  .value-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ---- Small Mobile: 480px ---- */
@media (max-width: 480px) {
  .hero-heading {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-subheading {
    font-size: var(--text-base);
  }

  .section-heading {
    font-size: var(--text-3xl);
  }

  .stat-number {
    font-size: var(--text-5xl);
  }

  .service-card {
    padding: var(--space-xl);
  }
}


/* ————————————————————————————————————————————————————————————————
   26. PRINT STYLES
   ———————————————————————————————————————————————————————————————— */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar,
  .scroll-indicator,
  .hero-geometric,
  .nav-hamburger,
  .nav-mobile {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    font-weight: normal;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  section {
    padding: 1em 0;
    page-break-inside: avoid;
  }
}


/* ================================================================
   27. CLASS BRIDGE — HTML ↔ CSS ALIGNMENT
   Maps actual HTML class names to styles
   ================================================================ */

/* ---- Scroll Progress (HTML uses .scroll-progress) ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-button));
  z-index: var(--z-scroll-indicator);
  transition: width 0.1s linear;
  will-change: width;
}
.scroll-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4));
  border-radius: 0 2px 2px 0;
}

/* ---- Logo (HTML uses .logo, .logo-text, .logo-ampersand, .logo-sub) ---- */
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.logo-text {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  transition: color var(--duration-base) var(--ease-smooth);
}
.logo-ampersand {
  color: var(--color-hover);
  transition: color var(--duration-base) var(--ease-smooth);
}
.logo-sub {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--duration-base) var(--ease-smooth);
}
.navbar.scrolled .logo-text {
  color: var(--color-text-primary);
}
.navbar.scrolled .logo-ampersand {
  color: var(--color-accent);
}
.navbar.scrolled .logo-sub {
  color: var(--color-text-secondary);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}
.footer-logo .logo-text {
  color: var(--color-text-primary);
  font-size: var(--text-lg);
}
.footer-logo .logo-ampersand {
  color: var(--color-accent);
}
.footer-logo .logo-sub {
  color: var(--color-text-secondary);
}

/* ---- Navbar Inner ---- */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ---- Nav Link (individual link class) ---- */
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration-base) var(--ease-smooth);
}
.navbar.scrolled .nav-link {
  color: var(--color-text-secondary);
}
.nav-link:hover { color: var(--color-white); }
.navbar.scrolled .nav-link:hover { color: var(--color-accent); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width var(--duration-base) var(--ease-smooth);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ---- Hamburger (HTML uses .hamburger, .hamburger-line) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: calc(var(--z-nav) + 10);
  background: none;
  border: none;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--duration-base) var(--ease-smooth),
    opacity var(--duration-fast) var(--ease-smooth),
    background-color var(--duration-base) var(--ease-smooth);
}
.navbar.scrolled .hamburger-line {
  background-color: var(--color-text-primary);
}
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Nav Hidden (scroll direction) ---- */
.navbar.nav-hidden {
  transform: translateY(-100%);
}
.navbar {
  transition:
    background-color var(--duration-slow) var(--ease-smooth),
    box-shadow var(--duration-slow) var(--ease-smooth),
    backdrop-filter var(--duration-slow) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}

/* ---- Hero Pattern (decorative div) ---- */
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(30,58,138,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(29,78,216,0.12) 0%, transparent 70%);
  z-index: 1;
  animation: heroPatternDrift 30s linear infinite;
  pointer-events: none;
}

/* ---- Hero Text & Accent ---- */
.hero-heading-accent {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.hero-text {
  font-size: var(--text-xl);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.6s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.8s both;
}
.scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* ---- Button Outline (HTML uses .btn-outline) ---- */
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
/* On non-hero (light bg) context */
.section .btn-outline,
.section-alt .btn-outline,
.footer .btn-outline {
  color: var(--color-accent);
  border-color: var(--color-border);
}
.section .btn-outline:hover,
.section-alt .btn-outline:hover {
  border-color: var(--color-accent);
  background-color: rgba(30, 58, 138, 0.04);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

/* ---- Section variants (HTML uses .section, .section-alt, .section-dark) ---- */
.section {
  padding: var(--space-section-y) 0;
  position: relative;
}
.section-alt {
  padding: var(--space-section-y) 0;
  position: relative;
  background-color: var(--color-bg-alt);
}
.section-dark {
  padding: var(--space-section-y) 0;
  position: relative;
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}
.section-dark p { color: rgba(255, 255, 255, 0.6); }
.section-dark .section-heading { color: var(--color-white); }
.section-label-light { color: var(--color-hover); }
.section-label-light::before { background-color: var(--color-hover); }
.section-heading-light { color: var(--color-white); }
.section-header {
  margin-bottom: var(--space-3xl);
}

/* ---- Service Icon/Title/Desc/Link (HTML class names) ---- */
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}
.service-card:hover .service-icon {
  background-color: rgba(30, 58, 138, 0.1);
  transform: scale(1.05);
}
.service-card:hover .service-icon svg {
  transform: rotate(-5deg) scale(1.1);
  transition: transform var(--duration-base) var(--ease-bounce);
}
.service-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}
.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}
.service-link svg {
  transition: transform var(--duration-base) var(--ease-smooth);
}
.service-link:hover svg {
  transform: translateX(4px);
}

/* ---- About Visual + Pattern ---- */
.about-visual {
  order: 2;
  position: relative;
}
.about-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}
.about-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-pattern-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(30, 58, 138, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(29, 78, 216, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(30, 58, 138, 0.025) 30px, rgba(30, 58, 138, 0.025) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(30, 58, 138, 0.025) 30px, rgba(30, 58, 138, 0.025) 31px);
  animation: heroPatternDrift 40s linear infinite;
  z-index: 2;
}
.about-stat-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 3;
}
.about-stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.08);
  color: var(--color-accent);
}
.about-stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}
.about-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ---- Values Grid (used in grid-4 on home) ---- */
.values-grid.grid-4 .value-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--duration-base) var(--ease-smooth);
}
.values-grid.grid-4 .value-item:hover {
  background-color: var(--color-bg-alt);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--color-card-shadow);
  margin: 0;
  padding: var(--space-xl);
}
.value-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}
.value-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Approach Section ---- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.approach-content {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.approach-step {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.step-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-hover);
  font-variant-numeric: tabular-nums;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.step-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
}
.step-content { flex: 1; }
.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}
.step-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}
.approach-intro-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: var(--space-lg);
}

/* ---- Contact Preview Grid ---- */
.contact-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.contact-preview-content {}
.contact-preview-visual {}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}
.contact-info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}
.contact-info-item:hover .contact-info-icon {
  background-color: rgba(30, 58, 138, 0.1);
  transform: scale(1.06);
}
.contact-info-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 0.15rem;
}
.contact-info-value {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
}
.contact-info-value:hover {
  color: var(--color-accent);
}

/* ---- Map Placeholder ---- */
.contact-map-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.contact-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.04) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(30, 58, 138, 0.015) 20px, rgba(30, 58, 138, 0.015) 21px),
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(30, 58, 138, 0.015) 20px, rgba(30, 58, 138, 0.015) 21px);
}
.map-pin {
  position: relative;
  z-index: 1;
  color: var(--color-accent);
  animation: floatShape 3s var(--ease-in-out) infinite;
}
.map-label {
  position: relative;
  z-index: 1;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ---- Google Maps Embed ---- */
.contact-map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--duration-base) var(--ease-smooth);
}
.contact-map-embed:hover {
  box-shadow: 0 12px 40px var(--color-card-shadow);
}
.contact-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Footer Overrides ---- */
.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.footer-links-group {
  display: flex;
  flex-direction: column;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-base) var(--ease-smooth);
  position: relative;
  width: fit-content;
  text-decoration: none;
}
.footer-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--duration-base) var(--ease-smooth);
}
a.footer-link:hover { color: var(--color-accent); }
a.footer-link:hover::after { width: 100%; }

/* ---- Page Header ---- */
.page-header-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  margin-top: var(--space-sm);
}
.breadcrumb-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-smooth);
}
.breadcrumb-link:hover { color: var(--color-white); }
.breadcrumb-separator {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb-current {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ---- About Page: Philosophy Grid ---- */
.about-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-philosophy-quote {
  position: relative;
}
.pull-quote .quote-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.6;
}
.quote-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.quote-footer { margin-top: var(--space-md); }
.quote-attribution {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

/* ---- Vision/Mission Cards ---- */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}
.vm-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-base) var(--ease-smooth);
}
.vm-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.vm-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(37, 99, 235, 0.12);
  color: var(--color-hover);
  margin-bottom: var(--space-lg);
}
.vm-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.vm-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* ---- Team Values Grid (About page) ---- */
.team-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.team-value-card {
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--duration-base) var(--ease-smooth);
}
.team-value-card:hover {
  background-color: var(--color-bg-alt);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--color-card-shadow);
}
.team-value-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.team-value-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.team-value-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- ICAI Banner ---- */
.icai-banner {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}
.icai-content {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}
.icai-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
}
.icai-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.icai-desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ---- Service Detail (Services page expanded cards) ---- */
.service-card-detailed {
  padding: var(--space-2xl);
}
.service-detail {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.service-detail p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.service-detail-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-detail-list li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}
.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.4;
}

/* ---- Contact Page Grid ---- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-details-column {}
.contact-map-column {}
.contact-info-list-detailed {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.map-grid-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(30,58,138,0.015) 20px, rgba(30,58,138,0.015) 21px),
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(30,58,138,0.015) 20px, rgba(30,58,138,0.015) 21px);
  pointer-events: none;
}

/* ---- Office Hours ---- */
.office-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.office-hours-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--duration-base) var(--ease-smooth);
}
.office-hours-card:hover {
  background-color: var(--color-bg-alt);
  transform: translateY(-2px);
}
.office-hours-card.office-hours-closed {
  opacity: 0.6;
}
.office-hours-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
}
.office-hours-day {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}
.office-hours-time {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* ---- Professional Note Card ---- */
.professional-note-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  background-color: rgba(30, 58, 138, 0.02);
}
.professional-note-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background-color: rgba(30, 58, 138, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
}
.professional-note-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ---- Mobile Responsive Overrides for Bridge ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    z-index: var(--z-nav);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-slow) var(--ease-smooth),
      visibility var(--duration-slow) var(--ease-smooth);
  }
  .nav-links.nav-open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links.nav-open .nav-link {
    color: var(--color-white);
    font-size: var(--text-3xl);
    font-weight: 600;
  }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-content { position: static; }
  .contact-preview-grid { grid-template-columns: 1fr; }
  .about-philosophy-grid { grid-template-columns: 1fr; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .team-values-grid { grid-template-columns: 1fr; }
  .office-hours-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .icai-content { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-text { font-size: var(--text-base); }
}

/* Menu open body lock */
body.menu-open {
  overflow: hidden;
}
