/* ==========================================================================
   eBUDDY Immigration — Master Stylesheet
   Production-ready CSS for all 27 pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES (Brand Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --primary: #C8102E;
  --primary-dark: #8B0000;
  --secondary: #002147;
  --accent: #D4A017;
  --accent-light: #FFF3CD;
  --neutral-bg: #F8F9FA;
  --dark-bg: #0D1B2A;
  --text-dark: #1A1A2E;
  --text-body: #3D3D3D;
  --text-muted: #6C757D;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --success: #28A745;
  --warning: #FFC107;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);

  /* Radii */
  --radius: 12px;
  --radius-lg: 20px;

  /* Motion */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography scale */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

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

/* Skip-to-content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   2. UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-sm {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-lg {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Section spacing */
.section-padding {
  padding-block: 80px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Text helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-primary{ color: var(--primary); }
.text-accent { color: var(--accent); }

.highlight-text {
  color: var(--primary);
  font-weight: 700;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* Background helpers */
.bg-neutral  { background-color: var(--neutral-bg); }
.bg-dark     { background-color: var(--dark-bg); }
.bg-white    { background-color: var(--white); }
.bg-secondary{ background-color: var(--secondary); }

/* Flex / Grid helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-wrap   { flex-wrap: wrap; }
.gap-1       { gap: 0.5rem; }
.gap-2       { gap: 1rem; }
.gap-3       { gap: 1.5rem; }
.gap-4       { gap: 2rem; }

/* Display */
.d-none      { display: none; }
.d-block     { display: block; }
.d-flex      { display: flex; }
.d-grid      { display: grid; }

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   2b. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn i,
.btn svg {
  font-size: 1.1em;
}

/* Primary */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
}

/* Secondary */
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: #001530;
  border-color: #001530;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 33, 71, 0.35);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

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

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

/* White (solid) — for use on red/dark bands (B7: class was used in
   contact.html, faq.html and services.html but never defined) */
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Status badge — a non-interactive label (e.g. "Coming Soon"), NOT a button.
   Used on courses.html so unavailable items no longer look like dead CTAs (B3). */
.status-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--neutral-bg);
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

.status-coming-soon-full {
  display: flex;
  width: 100%;
}

/* Waitlist link shown under a status badge (B3) */
.waitlist-link {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.waitlist-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--neutral-bg);
  color: var(--primary);
}

/* Accent / Gold */
.btn-accent {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #c49315;
  border-color: #c49315;
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

/* Button group */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
/* White bar matching the logo background — always solid */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.85rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 12px rgba(13, 27, 42, 0.06);
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.12);
}

/* Anchor offset for the fixed navbar (B1): navbar height is ~76px
   (0.85rem top/bottom padding + 48px logo + 1px border); +16px
   breathing room so jumped-to sections/anchors are never clipped
   under the fixed header. */
section,
[id] {
  scroll-margin-top: 92px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  z-index: 1010;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-logo img {
  height: 42px;
}

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

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: var(--neutral-bg);
}

/* Per-category animated underline — distinct colour per link */
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1rem;
  right: 1rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  transform: scaleX(1);
}

.nav-links > li:nth-child(1) > a::after { background: #C8102E; } /* Home — red */
.nav-links > li:nth-child(2) > a::after { background: #D4A017; } /* About — gold */
.nav-links > li:nth-child(3) > a::after { background: #002147; } /* Services — navy */
.nav-links > li:nth-child(4) > a::after { background: #0E9594; } /* Live Updates — teal */
.nav-links > li:nth-child(5) > a::after { background: #2E7D32; } /* Resources — green */
.nav-links > li:nth-child(6) > a::after { background: #6A4C93; } /* Courses — purple */
.nav-links > li:nth-child(7) > a::after { background: #E07A1F; } /* Blog — orange */

.nav-links > li:nth-child(1) > a:hover { color: #C8102E; }
.nav-links > li:nth-child(2) > a:hover { color: #B8901A; }
.nav-links > li:nth-child(3) > a:hover { color: #002147; }
.nav-links > li:nth-child(4) > a:hover { color: #0E9594; }
.nav-links > li:nth-child(5) > a:hover { color: #2E7D32; }
.nav-links > li:nth-child(6) > a:hover { color: #6A4C93; }
.nav-links > li:nth-child(7) > a:hover { color: #E07A1F; }

/* Dropdown arrow */
.nav-links .dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ---------- Mega Menu ---------- */
.has-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 720px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
  border-top: 3px solid var(--primary);
}

.has-dropdown:hover > .mega-menu,
.has-dropdown:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mega-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.mega-col a:hover {
  background: var(--neutral-bg);
  color: var(--primary);
}

.mega-col a i,
.mega-col a svg {
  width: 18px;
  text-align: center;
  color: var(--primary);
  font-size: 0.95rem;
}

.highlight-link {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  margin-top: 0.5rem;
}

.highlight-link:hover {
  background: #fce9a0;
}

/* Simple dropdown (non-mega) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
  border-top: 3px solid var(--primary);
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--neutral-bg);
  color: var(--primary);
}

/* CTA group (phone + button) */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1010;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-phone:hover {
  color: #25D366;
}

.nav-phone i {
  font-size: 1.1rem;
  color: #25D366;
}

/* Client Portal button */
.nav-portal-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.22);
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1020;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Mobile Drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
}

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

.mobile-drawer .nav-links {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-drawer .nav-links > li > a {
  color: var(--text-dark);
  padding: 0.85rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
  justify-content: space-between;
}

.mobile-drawer .nav-links > li > a:hover {
  color: var(--primary);
  background: transparent;
}

.mobile-drawer .mega-menu,
.mobile-drawer .dropdown-menu {
  position: static;
  transform: none;
  min-width: 100%;
  box-shadow: none;
  border-top: none;
  border-radius: 0;
  padding: 0 0 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.mobile-drawer .has-dropdown.open > .mega-menu,
.mobile-drawer .has-dropdown.open > .dropdown-menu {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 0.5rem;
}

.mobile-drawer .mega-menu-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.mobile-drawer .nav-cta-group {
  flex-direction: column;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.mobile-drawer .nav-cta-group .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 33, 71, 0.82) 0%,
    rgba(13, 27, 42, 0.75) 50%,
    rgba(139, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* ─────────────────────────────────────────────
   HERO CAROUSEL — 6 immigration category slides
   ───────────────────────────────────────────── */
.hero-carousel {
  min-height: 100vh;
  padding: 96px 0 48px;
  align-items: flex-start;
}

.hero-carousel .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-carousel-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) 40%;
  gap: 2.5rem;
  align-items: stretch;
  min-height: 480px;
  animation: heroSlideFade 0.55s ease both;
}

.hero-slide.active {
  display: grid;
}

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

.hero-slide-content {
  text-align: left;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0;
}

.hero-carousel .hero-slide-content h1, .hero-carousel .hero-slide-content h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-carousel .hero-slide-content h1 .accent, .hero-carousel .hero-slide-content h2 .accent {
  color: var(--accent);
}

.hero-offer-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hero-slide-content .hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1rem;
  max-width: 56ch;
}

.hero-outcomes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.hero-outcomes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-outcomes li i {
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Right column — full-bleed category image with chip overlay */
.hero-slide-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  min-height: 100%;
}

.hero-slide-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soft left-edge gradient for visual blend into dark hero bg */
.hero-slide-image::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 90px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Bottom gradient for chip legibility */
.hero-slide-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-slide-avatar-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(15, 20, 30, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.hero-slide-avatar-chip .chip-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-slide-avatar-chip .chip-caption {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.95;
}

.hero-slide-avatar-chip .chip-caption strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 2px;
  font-weight: 600;
}

/* Offer / pricing box */
.hero-offer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.hero-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-offer-row:first-child { margin-bottom: 0.85rem; }
.hero-offer-row:not(:first-child) { margin-top: 1rem; }
.hero-offer-cta { margin-top: 1rem; }

.hero-price {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.price-strike {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 1.1rem;
}

.price-now {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.price-badge {
  background: #d4af37;
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.hero-offer-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.85;
  margin: 0;
}
.hero-offer-desc em { color: #ffd166; font-style: normal; font-weight: 600; }

.hero-offer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd166;
}
.hero-offer-note i { font-size: 0.95rem; }

/* Hero CTA: sits at the bottom of the card; animated hover (lift + shadow) */
.hero-offer .btn {
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-offer .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.hero-offer .btn:active { transform: translateY(0); }

/* Arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.06);
}
.hero-carousel-arrow.prev { left: -64px; }
.hero-carousel-arrow.next { right: -64px; }

/* Dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s, border-radius 0.25s;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero-dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-badge .maple-leaf {
  color: var(--primary);
  font-size: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Trust bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.trust-item i {
  color: var(--accent);
}

/* Draw ticker */
.draw-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.65rem 0;
  overflow: hidden;
  z-index: 3;
}

.draw-ticker-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.draw-ticker span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.draw-ticker .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   5. AUTHORITY / CREDENTIAL BAR
   -------------------------------------------------------------------------- */
.authority-bar {
  background: var(--secondary);
  padding: 1.5rem 0;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.authority-item i {
  font-size: 1.75rem;
  color: var(--accent);
  flex-shrink: 0;
}

.authority-item .auth-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.authority-item .auth-value {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Credential badges */
.credential-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.badge-item img {
  height: 20px;
  width: auto;
}

.badge-item.cicc  { border-color: var(--accent); }
.badge-item.capic { border-color: #4CAF50; }
.badge-item.icn   { border-color: #2196F3; }
.badge-item.irb   { border-color: #FF9800; }

/* --------------------------------------------------------------------------
   6. LIVE DATA STRIP
   -------------------------------------------------------------------------- */
.live-strip {
  background: var(--primary);
  padding: 0.65rem 0;
  overflow: hidden;
  position: relative;
}

.live-ticker {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.live-ticker:hover {
  animation-play-state: paused;
}

.live-ticker span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.pulse-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   7. SERVICE CARDS / TILES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-tile:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-tile p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-tile:hover .service-link i {
  transform: translateX(4px);
}

/* 5-column row for smaller sub-items */
.services-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.about-feature i {
  color: var(--success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.consultant-card {
  background: var(--neutral-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.consultant-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.consultant-info .name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.consultant-info .title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.consultant-info .credentials {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. PRICING / CONSULTATION CARDS
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-featured {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-header {
  padding: 2rem 1.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary), #001530);
  color: var(--white);
}

.pricing-featured .pricing-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.pricing-header .plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-tag .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.price-tag .period {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-dark);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.pricing-body {
  padding: 1.5rem;
  flex: 1;
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--neutral-bg);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--success);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  opacity: 0.45;
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

.pricing-footer {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.pricing-footer .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   10. ELIGIBILITY CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}

.calc-header {
  background: linear-gradient(135deg, var(--secondary), #001530);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.calc-header h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* Progress bar */
.calc-progress {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 2rem;
  background: var(--neutral-bg);
  border-bottom: 1px solid var(--border);
}

.calc-progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.calc-progress-step .step-number {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.calc-progress-step.active .step-number {
  background: var(--primary);
  color: var(--white);
}

.calc-progress-step.completed .step-number {
  background: var(--success);
  color: var(--white);
}

.calc-progress-step.active {
  color: var(--text-dark);
  font-weight: 600;
}

.calc-progress-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  align-self: center;
  margin: 0 0.5rem;
}

.calc-progress-connector.completed {
  background: var(--success);
}

/* Calculator steps */
.calc-body {
  padding: 2rem;
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.calc-step h3 {
  margin-bottom: 1.5rem;
}

/* Range slider */
.range-slider {
  width: 100%;
  margin: 1rem 0;
}

.range-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.15);
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.range-value {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Score display */
.score-display {
  text-align: center;
  padding: 2rem;
}

.score-meter {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

.score-meter svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-meter .track {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}

.score-meter .fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  transition: stroke-dashoffset 1.5s ease;
}

.score-meter .score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.score-meter .score-label {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Result card */
.result-card {
  background: var(--neutral-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--success);
}

.result-card.warning {
  border-left-color: var(--warning);
}

.result-card.danger {
  border-left-color: var(--primary);
}

.result-card h4 {
  margin-bottom: 0.5rem;
}

.result-card p {
  font-size: 0.92rem;
  color: var(--text-body);
}

/* Calc navigation */
.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   11. LIVE DRAWS DASHBOARD
   -------------------------------------------------------------------------- */
.draws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.draw-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: var(--transition);
  border-top: 3px solid var(--primary);
}

.draw-card:hover {
  box-shadow: var(--shadow-md);
}

.draw-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.draw-card-header h4 {
  font-size: 1rem;
}

.draw-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.draw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.draw-stat {
  background: var(--neutral-bg);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.draw-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.draw-stat .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.draw-stat.highlight {
  background: var(--accent-light);
  border: 1px solid var(--accent);
}

.draw-stat.highlight .stat-value {
  color: var(--accent);
}

/* Chart container */
.chart-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-top: 2rem;
}

.chart-container canvas {
  width: 100%;
  max-height: 400px;
}

/* --------------------------------------------------------------------------
   12. TIMELINE / PROCESS STEPS
   -------------------------------------------------------------------------- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--border);
  transform: translateY(-50%);
}

.timeline-step {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 2;
}

.timeline-step .step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.timeline-step.active .step-circle,
.timeline-step.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.timeline-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.timeline-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 160px;
  margin-inline: auto;
}

.timeline-connector {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border);
  z-index: 1;
}

.timeline-connector.completed {
  background: var(--primary);
}

/* Process steps alternative (vertical on pages) */
.process-steps {
  position: relative;
  padding-left: 3rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
}

.process-step {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.process-step .step-marker {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}

.process-step h4 {
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. ANIMATED COUNTERS / STATS
   -------------------------------------------------------------------------- */
.stats-section {
  background: linear-gradient(135deg, var(--secondary), var(--dark-bg));
  color: var(--white);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.counter {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter .suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-item .stat-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-carousel {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  flex: 0 0 calc(33.333% - 1.33rem);
  margin-right: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.testimonial-author .author-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.testimonial-author .flag {
  font-size: 1rem;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--text-dark);
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* Testimonials grid (dedicated page) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonials-grid .testimonial-card {
  flex: none;
  margin-right: 0;
}

/* --------------------------------------------------------------------------
   15. BLOG CARDS
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-meta .category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(200, 16, 46, 0.08);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.blog-card-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.blog-card-content h3 a:hover {
  color: var(--primary);
}

.blog-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.blog-read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

/* Blog detail page */
.blog-detail-header {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.blog-detail-content {
  max-width: 800px;
  margin-inline: auto;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-detail-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.blog-detail-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--neutral-bg);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.blog-detail-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   16. NEWS FEED
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-thumbnail {
  height: 180px;
  overflow: hidden;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail img {
  transform: scale(1.04);
}

.news-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.news-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.news-content h4 a {
  color: var(--text-dark);
  text-decoration: none;
}

.news-content h4 a:hover {
  color: var(--primary);
}

.news-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}

.news-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Loading spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.loading-spinner::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   17. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .chevron {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.75;
}

.faq-answer ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-top: 0.5rem;
}

.faq-answer li {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--text-body);
}

/* FAQ categories (tabbed) */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
}

.faq-tab:hover,
.faq-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

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

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

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Alert messages */
.form-alert {
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-alert.success {
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
  border: 1px solid rgba(40, 167, 69, 0.25);
}

.form-alert.error {
  background: rgba(200, 16, 46, 0.08);
  color: #721c24;
  border: 1px solid rgba(200, 16, 46, 0.2);
}

.form-alert.info {
  background: rgba(0, 33, 71, 0.06);
  color: var(--secondary);
  border: 1px solid rgba(0, 33, 71, 0.15);
}

/* Custom checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: var(--transition);
  position: relative;
}

.checkbox-group input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group label {
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.radio-option input[type="radio"]:checked {
  border-color: var(--primary);
}

.radio-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

/* Honeypot (hidden field) */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer {
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
}

.footer-main {
  padding: 3.5rem 0 2rem;
}

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

/* Brand column */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-brand .footer-logo img {
  height: 36px;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.footer-brand .consultant-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .consultant-card .name {
  color: var(--white);
}

.footer-brand .consultant-card .title {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand .consultant-card .credentials {
  color: var(--accent);
}

/* Footer columns */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  transform: translateX(4px);
}

/* Contact info */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Newsletter box */
.newsletter-box {
  margin-top: 1.25rem;
}

.newsletter-box p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom .copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.cicc-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
}

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

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

/* --------------------------------------------------------------------------
   20. WHATSAPP FLOAT BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 900;
  text-decoration: none;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--text-dark);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   21. MOBILE CTA BAR
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   22. COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-bg);
  color: var(--white);
  z-index: 9000;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.cookie-content .cookie-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.cookie-content p {
  font-size: 0.88rem;
  margin: 0;
  flex: 1;
  line-height: 1.55;
}

.cookie-content p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   23. EXIT INTENT POPUP
   -------------------------------------------------------------------------- */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.exit-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.exit-popup-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
  animation: fadeInUp 0.4s ease;
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--neutral-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.exit-popup-close:hover {
  background: var(--primary);
  color: var(--white);
}

.exit-popup-inner h3 {
  margin-bottom: 0.75rem;
}

.exit-popup-inner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.exit-popup-inner .popup-image {
  max-width: 120px;
  margin: 0 auto 1.5rem;
}

/* --------------------------------------------------------------------------
   24. RESOURCE / DOWNLOAD CARDS
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.resource-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.resource-type {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: var(--neutral-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.resource-type.pdf  { color: #DC3545; border-color: #DC3545; background: rgba(220, 53, 69, 0.06); }
.resource-type.xlsx { color: #28A745; border-color: #28A745; background: rgba(40, 167, 69, 0.06); }
.resource-type.doc  { color: #007BFF; border-color: #007BFF; background: rgba(0, 123, 255, 0.06); }

.resource-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.resource-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.resource-download {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   25. COURSE CARDS
   -------------------------------------------------------------------------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.course-featured {
  border-color: var(--accent);
}

.course-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-featured .course-badge {
  background: var(--accent);
  color: var(--text-dark);
}

.course-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.course-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.course-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.course-price .original {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.5rem;
}

.course-features {
  margin-bottom: 1.25rem;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-body);
}

.course-features li i {
  color: var(--success);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.course-footer {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   26. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-body);
}

.legal-content ul,
.legal-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.legal-content th,
.legal-content td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.legal-content th {
  background: var(--neutral-bg);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   27. SITEMAP PAGE
   -------------------------------------------------------------------------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.sitemap-section {
  margin-bottom: 2rem;
}

.sitemap-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.sitemap-section ul {
  list-style: none;
}

.sitemap-section ul li {
  margin-bottom: 0.4rem;
}

.sitemap-section ul li a {
  font-size: 0.9rem;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sitemap-section ul li a:hover {
  color: var(--primary);
}

.sitemap-section ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   28. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

/* 1200px — large desktops */
@media (max-width: 1200px) {
  .mega-menu {
    min-width: 620px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 992px — tablets landscape */
@media (max-width: 992px) {
  .section-padding {
    padding-block: 60px;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-cta-group .btn {
    display: none;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-4px);
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-height: 360px;
  }

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

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

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

  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }

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

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

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

  /* Timeline horizontal to vertical */
  .timeline {
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 15px;
    right: auto;
    width: 3px;
    height: auto;
    transform: none;
  }

  .timeline-step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-step .step-circle {
    margin: 0;
    flex-shrink: 0;
  }

  .timeline-step p {
    max-width: none;
  }

  /* Hero carousel — tablet: tighter image column, smaller arrows */
  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 38%;
    gap: 1.5rem;
    min-height: 460px;
  }
  .hero-carousel .hero-slide-content h1, .hero-carousel .hero-slide-content h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); }
  .hero-slide-content .hero-subtitle { font-size: 0.98rem; }
  .hero-slide-avatar-chip .chip-caption { font-size: 0.74rem; }
  .hero-slide-avatar-chip .chip-caption strong { font-size: 0.8rem; }
  .hero-carousel-arrow.prev { left: -8px; }
  .hero-carousel-arrow.next { right: -8px; }

  /* Mega menu full-width on tablet */
  .mega-menu {
    left: 0;
    right: 0;
    transform: none;
    min-width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .has-dropdown:hover > .mega-menu,
  .has-dropdown:focus-within > .mega-menu {
    transform: none;
  }

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

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* 768px — tablets portrait */
@media (max-width: 768px) {
  .section-padding {
    padding-block: 48px;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Hero carousel — mobile: image becomes top banner, content stacks below */
  .hero-carousel {
    min-height: 0;
    padding: 96px 0 60px;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-slide-image {
    order: -1;
    min-height: 220px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }
  .hero-slide-content { text-align: left; padding: 0; }
  .hero-carousel .hero-slide-content h1, .hero-carousel .hero-slide-content h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-slide-content .hero-subtitle { font-size: 0.95rem; }
  .hero-outcomes li { font-size: 0.9rem; }
  .hero-slide-avatar-chip { left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; }
  .hero-slide-avatar-chip .chip-circle { width: 36px; height: 36px; font-size: 0.9rem; }
  .hero-slide-avatar-chip .chip-caption { font-size: 0.72rem; }
  .hero-slide-avatar-chip .chip-caption strong { font-size: 0.78rem; }
  .hero-carousel-arrow { display: none; }
  .hero-offer { padding: 1rem 1.1rem; }
  .hero-offer-row { flex-direction: column; align-items: stretch; }
  .hero-offer-row .btn { width: 100%; }
  .price-now { font-size: 1.8rem; }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  .trust-bar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 100%;
  }

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

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* Authority bar */
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .authority-item {
    justify-content: center;
  }

  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Sitemap */
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile CTA bar */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 950;
    padding: 0;
  }

  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    border-right: 1px solid var(--border);
    transition: var(--transition);
  }

  .mobile-cta-bar a:last-child {
    border-right: none;
  }

  .mobile-cta-bar a i {
    font-size: 1.2rem;
    color: var(--primary);
  }

  .mobile-cta-bar a:hover,
  .mobile-cta-bar a:active {
    background: rgba(200, 16, 46, 0.06);
    color: var(--primary);
  }

  /* Adjust spacing for mobile CTA bar + floating buttons (B4):
     footer padding is raised so the last footer/legal text can scroll
     fully clear of the sticky CTA bar (~64px) and the WhatsApp float
     stacked above it, instead of staying covered at page bottom. */
  .footer {
    padding-bottom: 160px;
  }

  /* Floats raised to clear the sticky bottom action bar (~64px) */
  .whatsapp-float {
    bottom: 88px;
  }

  /* Courses page cards — mobile proportions (B2): the grid's inline
     minmax(340px, 1fr) overflows narrow phones, and the cards carry
     desktop proportions; give them one column, sane padding and a
     smaller heading/banner scale. !important beats the inline styles. */
  #courses .services-grid {
    grid-template-columns: 1fr !important;
  }

  #courses .pricing-card {
    padding: 0 1.25rem 1.5rem;
  }

  #courses .pricing-card > div:first-child {
    height: 150px !important;
  }

  #courses .pricing-card > div:first-child i {
    font-size: 2.75rem !important;
  }

  #courses .pricing-card h3 {
    font-size: 1.15rem !important;
  }

  /* Calculator */
  .calc-progress {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .calc-progress-step .step-text {
    display: none;
  }

  /* Credential badges */
  .credential-badges {
    gap: 0.75rem;
  }

  .badge-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
}

/* 576px — mobile */
@media (max-width: 576px) {
  .section-padding {
    padding-block: 40px;
  }

  .container {
    padding-inline: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }

  /* About features */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Services 5-col */
  .services-grid-5 {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .counter {
    font-size: 2rem;
  }

  /* Draw stats */
  .draw-stats {
    grid-template-columns: 1fr;
  }

  /* Exit popup */
  .exit-popup-inner {
    padding: 2rem 1.25rem;
    margin: 0.75rem;
  }

  /* Course cards */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Calculator body */
  .calc-body {
    padding: 1.25rem;
  }

  /* Score meter */
  .score-meter {
    width: 140px;
    height: 140px;
  }

  .score-meter .score-text {
    font-size: 2rem;
  }

  /* Navbar logo */
  .nav-logo-text {
    font-size: 1.15rem;
  }

  /* Blog meta */
  .blog-meta {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   29. ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reveal on scroll (JS adds .revealed) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

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

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

  .navbar,
  .mobile-cta-bar,
  .whatsapp-float,
  .cookie-banner,
  .exit-popup,
  .drawer-overlay,
  .mobile-drawer,
  .live-strip,
  .draw-ticker,
  .carousel-controls,
  .carousel-dots {
    display: none !important;
  }

  .footer {
    padding: 1rem 0;
  }

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

  .social-links,
  .newsletter-box {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

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

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero::before {
    display: none;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .service-tile,
  .blog-card,
  .pricing-card,
  .testimonial-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* --------------------------------------------------------------------------
   31. DISCLAIMER STYLES
   -------------------------------------------------------------------------- */
.disclaimer-banner {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.disclaimer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 0.75rem;
}

.disclaimer-toggle:hover {
  background: rgba(212, 160, 23, 0.1);
}

.disclaimer-toggle i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.disclaimer-banner.open .disclaimer-toggle i {
  transform: rotate(180deg);
}

.disclaimer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.disclaimer-banner.open .disclaimer-content {
  max-height: 500px;
}

.disclaimer-content-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   32. PROCESS PAGE STYLES
   -------------------------------------------------------------------------- */
.process-hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--secondary), var(--dark-bg));
  color: var(--white);
  text-align: center;
}

.process-hero h1 {
  color: var(--white);
}

.process-timeline-horizontal {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 3rem 0;
  overflow-x: auto;
}

.process-step-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  text-align: center;
  min-width: 200px;
  max-width: 240px;
  position: relative;
  transition: var(--transition);
}

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

.process-step-card .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}

.process-step-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  color: var(--border);
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   33. TESTIMONIALS PAGE — MASONRY-LIKE GRID
   -------------------------------------------------------------------------- */
@supports (grid-template-rows: masonry) {
  .testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: masonry;
    gap: 1.75rem;
  }
}

/* Fallback for browsers without masonry */
@supports not (grid-template-rows: masonry) {
  .testimonials-masonry {
    columns: 3;
    column-gap: 1.75rem;
  }

  .testimonials-masonry .testimonial-card {
    break-inside: avoid;
    margin-bottom: 1.75rem;
    display: inline-block;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .testimonials-masonry {
    columns: 2;
  }

  @supports (grid-template-rows: masonry) {
    .testimonials-masonry {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

@media (max-width: 576px) {
  .testimonials-masonry {
    columns: 1;
  }

  @supports (grid-template-rows: masonry) {
    .testimonials-masonry {
      grid-template-columns: 1fr;
    }
  }
}

/* --------------------------------------------------------------------------
   34. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: flex-start;
}

/* Mobile fix (B5): collapse to one column at <=992px. This block must stay
   AFTER the base rule above — the identical collapse rule inside the 992px
   media block near the top of this file (~line 3831) sits BEFORE the base
   rule, so at equal specificity the base rule was winning at every width
   and phones never stacked. Breakpoint matches that original block. */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.contact-form-card h2 {
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.contact-info-card h4 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-list li i {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.contact-info-list li a {
  color: var(--text-body);
}

.contact-info-list li a:hover {
  color: var(--primary);
}

/* Calendly embed */
.calendly-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 600px;
}

.calendly-container iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
}

/* Map embed */
.map-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Office hours */
.office-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--neutral-bg);
}

.office-hours li:last-child {
  border-bottom: none;
}

.office-hours .day {
  font-weight: 600;
  color: var(--text-dark);
}

.office-hours .time {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   EXTRA: Page header banner (used on inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--secondary), var(--dark-bg));
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-inline: auto;
  font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs .current {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   EXTRA: Comparison Table
   -------------------------------------------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--neutral-bg);
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--text-muted);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   EXTRA: Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}

.pagination a:hover {
  background: var(--neutral-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   EXTRA: Tags / Pill Labels
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-primary {
  background: rgba(200, 16, 46, 0.1);
  color: var(--primary);
}

.tag-success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
}

.tag-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #856404;
}

.tag-info {
  background: rgba(0, 33, 71, 0.08);
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   EXTRA: Skeleton loading states
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--neutral-bg) 25%,
    #e8e8e8 50%,
    var(--neutral-bg) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 0.6rem;
}

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

.skeleton-heading {
  height: 24px;
  margin-bottom: 1rem;
  width: 70%;
}

.skeleton-image {
  height: 200px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.skeleton-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   EXTRA: Toast notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--success); }
.toast.warning { border-left-color: var(--warning); }
.toast.error   { border-left-color: var(--primary); }

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.toast-body {
  flex: 1;
}

.toast-body strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.toast-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 0;
  transition: var(--transition);
}

.toast-close:hover {
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   EXTRA: Back to top button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 800;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .back-to-top {
    /* B4: raised to sit clear above the WhatsApp float (bottom: 88px
       + 56px tall = 144px) and the sticky bottom action bar. */
    bottom: 156px;
    width: 40px;
    height: 40px;
    right: 16px;
  }
}

/* --------------------------------------------------------------------------
   EXTRA: 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;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .live-ticker,
  .draw-ticker-inner {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   EXTRA: Dark mode support (opt-in via class or prefers-color-scheme)
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  .dark-mode-auto {
    --neutral-bg: #1a1f2e;
    --white: #0f1319;
    --text-dark: #e8e8e8;
    --text-body: #c0c0c0;
    --text-muted: #8a8a8a;
    --border: #2a2f3e;
  }
}

/* --------------------------------------------------------------------------
   POST-PAYMENT CONFIRMATION PAGE (confirmed-*.html)
   -------------------------------------------------------------------------- */

/* Success banner */
.confirm-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #002147 100%);
  color: var(--white);
  text-align: center;
  padding: 110px 0 64px;
}

.confirm-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.18);
}

.confirm-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5fd07e;
  margin-bottom: 0.75rem;
}

.confirm-hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 auto 1rem;
}

.confirm-hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  opacity: 0.9;
  max-width: 60ch;
  margin: 0 auto;
}
.confirm-hero p strong { color: var(--accent); }

/* Steps */
.confirm-steps { background: var(--neutral-bg); }

.confirm-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.confirm-step-head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.confirm-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-step-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 0.4rem;
}

.confirm-step-head p {
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* Booking card — Step 1 (opens Google Calendar in a new tab) */
.booking-card {
  text-align: center;
  background: var(--neutral-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.booking-card-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.12);
}

.booking-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0 0 0.5rem;
}

.booking-card p {
  color: var(--text-body);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 1.5rem;
}

.booking-card-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin: 1rem auto 0 !important;
}
.booking-card-note i { color: var(--accent); margin-right: 0.3rem; }

/* 16:9 responsive embed (prep video) */
.embed-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.18);
}

.embed-16x9 iframe,
.embed-16x9 .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-thumb-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}
.video-thumb-note i { color: var(--accent); margin-right: 0.3rem; }

/* What happens next */
.confirm-next {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.confirm-next h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 1.5rem;
}

.confirm-next-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.confirm-next-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.confirm-next-list li i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.confirm-next-list li strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.confirm-next-list li span {
  color: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .confirm-hero { padding: 96px 0 48px; }
  .confirm-step { padding: 1.5rem; }
  .confirm-step-head { gap: 0.85rem; }
  .confirm-step-num { width: 40px; height: 40px; font-size: 1.25rem; }
  .booking-card { padding: 1.75rem 1.25rem; }
  .confirm-next { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   CLIENT PORTAL (portal.html)
   -------------------------------------------------------------------------- */
.portal-section {
  padding: 120px 1.25rem 80px;
  background: var(--neutral-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  max-width: 1040px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.16);
}

/* Left value panel */
.portal-aside {
  background: linear-gradient(150deg, #0D1B2A 0%, #002147 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-aside-logo {
  height: 54px;
  width: auto;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.portal-aside h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.22;
  margin-bottom: 0.85rem;
}

.portal-aside > p {
  font-size: 0.97rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.portal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.7rem;
}

.portal-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
}

.portal-features li i {
  color: var(--accent);
  font-size: 1.05rem;
}

.portal-aside-note {
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.5;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.portal-aside-note i { color: var(--accent); margin-right: 0.35rem; }

/* Right auth card */
.portal-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--neutral-bg);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 1.75rem;
}

.portal-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.1);
}

.portal-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.portal-notice[hidden] { display: none; }
.portal-notice {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.portal-notice i { color: var(--primary); margin-top: 2px; }

.portal-form .form-group { margin-bottom: 1rem; }

.portal-forgot {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.portal-help {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .portal-wrap { grid-template-columns: 1fr; max-width: 460px; }
  .portal-aside { padding: 2.25rem 1.75rem; }
  .portal-card { padding: 2.25rem 1.75rem; }
}

/* --------------------------------------------------------------------------
   END OF STYLESHEET
   -------------------------------------------------------------------------- */

/* ════════════════════════════════════════════════════════════════
   V2.1 — Global footer alignment + mobile hardening (Oct 14, 2026)
   Appended as an override layer; earlier rules unchanged.
   ════════════════════════════════════════════════════════════════ */
.footer-grid > * { min-width: 0; }

/* Brand logo: image + stacked wordmark, never jammed on one line */
.footer-brand .footer-logo { flex-wrap: wrap; row-gap: 0.35rem; }
.footer-brand .footer-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand .footer-logo-text small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Consultant card inside the footer: stacked lines, not flex columns.
   (The base .consultant-card is a horizontal card used elsewhere.) */
.footer-brand .consultant-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
}
.footer-brand .consultant-card .name,
.footer-brand .consultant-card .title,
.footer-brand .consultant-card .credentials { display: block; line-height: 1.45; }

/* Tablet: brand takes the full first row so its logo and card have room */
@media (max-width: 992px) {
  .footer-brand { grid-column: 1 / -1; }
}

/* Phones: tighten the footer, keep every block full-width and readable */
@media (max-width: 576px) {
  .footer-main { padding: 2.5rem 0 1.5rem; }
  .footer-brand .footer-logo img { height: 32px; }
  .footer-brand .consultant-card { width: 100%; }
  .credential-badges > img { max-width: 170px; }
  .footer-col h4 { margin-top: 0.5rem; }
}

/* Category color system (Oct 25, 2026) — one unique theme per article category.
   Used by: article cards on articles.html, article page-headers, article-details
   pills, and the filter tabs on articles.html (see the tab script there).
   Every new category MUST get a token here before its first article publishes.
   Reserved: .cat-irb-hearings (teal) for the upcoming IRB Hearings filter. */
.cat-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.cat-express-entry { background: #FDECEF; color: #C8102E; }
.cat-pnp { background: #E7F3E8; color: #1E7D32; }
.cat-family { background: #F7EAF7; color: #7B2D8B; }
.cat-work-study { background: #FEF4DC; color: #7A5A00; }
.cat-policy { background: #E9EFF8; color: #1F4E79; }
.cat-irb-hearings { background: #E4F2F0; color: #0F766E; }

/* Compact hero for short viewports (Oct 25, 2026) — the SAME rules on every
   slide; only the vertical rhythm tightens so the CTA stays above the fold
   on laptop-height windows. Tall screens keep the full-size hero. */
@media (min-width: 993px) and (max-height: 860px) {
  .hero-carousel { padding: 72px 0 24px; }
  .hero-slide-content { padding: 0.5rem 0; }
  .hero-carousel .hero-slide-content h1, .hero-carousel .hero-slide-content h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
  }
  .hero-slide-content .hero-subtitle { margin-bottom: 0.6rem; line-height: 1.5; }
  .hero-outcomes { margin: 0 0 1rem; gap: 0.4rem; }
  .hero-offer { padding: 0.75rem 1.25rem; }
  .hero-offer-cta { margin-top: 0.75rem; }
}
