:root {
  /* ── Brand Colors (Updated) ── */
  --color-primary: #15193B;
  /* Deep authoritative navy */
  --color-primary-mid: #2A52BE;
  /* Brand teal replacing royal blue */
  --color-primary-light: #FAFAFF;
  /* Ice Blue — card backgrounds, tints */
  --color-accent: #94A3B8;
  /* Premium trust accent (Gold) */
  --color-accent-hover: #64748B;
  /* Darker Gold — hover states */
  --color-dark: #0F172A;
  /* Near-black text */
  --color-mid: #475569;
  /* Mid-grey text */
  --color-light: #F1F5F9;
  /* Warm off-white section backgrounds */
  --color-white: #FFFFFF;
  --color-border: #CBD5E1;
  /* Blue-tinted border */
  --color-success: #2D9A6B;
  /* Green for success states only */

  /* ── Typography ── */
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
  --font-label: 'DM Mono', 'Montserrat', sans-serif;

  /* ── Type Scale ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── Layout ── */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;
  --section-pad-y: var(--space-20);
  --section-pad-x: var(--space-8);

  /* ── Border Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.16);
  --shadow-xl: 0 16px 48px rgba(10, 37, 64, 0.22);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ── Z-index ── */
  --z-sticky: 200;
  --z-modal: 300;
  --z-top: 400;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  /* Glassmorphism ambient background lighting */
  background-image: 
    radial-gradient(at 0% 0%, rgba(206, 230, 255, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(235, 243, 252, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(206, 230, 255, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(235, 243, 252, 0.4) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-dark);
  font-weight: 300;
}

h1 {
  font-size: var(--text-5xl);
  line-height: 1.1;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

p {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--color-mid);
  margin-bottom: var(--space-4);
}

.section-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-3);
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

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

.section--gray {
  background: var(--color-light);
}

.section--blue-light {
  background: var(--color-primary-light);
}

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

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

.section--navy h2,
.section--navy h3,
.section--navy p,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--color-white);
}

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

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

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

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

/* Animations & Reveals */
body {
  animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  z-index: var(--z-top);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: var(--space-4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Performance */
img {
  aspect-ratio: attr(width) / attr(height);
}

.section {
  contain: layout style;
}

/* Tables (SEO featured snippets) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
}

th {
  background: var(--color-primary);
  color: white;
  padding: var(--space-4);
  text-align: left;
  font-family: var(--font-label);
  font-size: var(--text-sm);
}

td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-mid);
}

tr:nth-child(even) {
  background: var(--color-primary-light);
}

caption {
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-family: var(--font-label);
}

/* Featured snippet boxes */
.snippet-box {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}

.snippet-box h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.snippet-box ol {
  list-style: decimal;
  padding-left: var(--space-6);
}

.snippet-box ol li {
  padding: var(--space-2) 0;
  color: var(--color-dark);
  font-size: var(--text-md);
}

/* Responsive */
@media (max-width:1024px) {
  :root {
    --section-pad-y: var(--space-16);
  }

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

@media (max-width:768px) {
  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-xl);
  }

  :root {
    --section-pad-y: var(--space-12);
    --section-pad-x: var(--space-4);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  main {
    padding-bottom: 100px; /* Space for WhatsApp float button on mobile */
  }
}

@media (max-width:480px) {
  h1 {
    font-size: var(--text-2xl);
  }

  h2 {
    font-size: var(--text-xl);
  }
}
/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--color-primary-mid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.custom-cursor--hover {
  width: 32px;
  height: 32px;
  background: rgba(42, 82, 190, 0.4);
}
@media (max-width: 1024px) {
  .custom-cursor { display: none !important; }
}
