
/* Base styles */
:root {
  --primary-color: #061E42; /* Logo navy */
  --secondary-color: #005B4F; /* Logo green */
  --accent-color: #C99A2E; /* Logo gold */
  --light-color: #f5f5f5; /* Light grey for backgrounds */
  --text-color: #333333;
  --font-family: 'Arial', sans-serif;
  --brand-font-family: Georgia, "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  font-family: var(--font-family);
  background: #ffffff;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
canvas,
iframe,
video {
  max-width: 100%;
}

section,
main,
footer,
header {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('logo.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.4;
  filter: none;
}

.brand-launch {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(201, 154, 46, 0.22), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f7f6f2 52%, #eef3f0 100%);
  animation: brand-launch-overlay 1s ease-in-out forwards;
}

.brand-launch__mark {
  position: relative;
  width: min(92vmin, 1120px);
  aspect-ratio: 1;
  filter: drop-shadow(0 36px 80px rgba(6, 30, 66, 0.22));
}

.brand-launch__half,
.brand-launch__complete {
  position: absolute;
  top: 0;
  bottom: 0;
  background-image: url('logo.jpg');
  background-repeat: no-repeat;
  background-size: 200% 100%;
}

.brand-launch__half--left {
  left: 0;
  width: 50%;
  background-position: left center;
  animation: brand-launch-left 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-launch__half--right {
  right: 0;
  width: 50%;
  background-position: right center;
  animation: brand-launch-right 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-launch__complete {
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
  opacity: 0;
  animation: brand-launch-complete 1s ease-in-out forwards;
}

@keyframes brand-launch-left {
  0% {
    transform: translateX(calc(-50vw - 100%)) scale(1.08);
  }
  54%,
  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes brand-launch-right {
  0% {
    transform: translateX(calc(50vw + 100%)) scale(1.08);
  }
  54%,
  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes brand-launch-complete {
  0%,
  48% {
    opacity: 0;
  }
  62%,
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes brand-launch-overlay {
  0%,
  74% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

main,
.login-page,
.login-main,
.home-hero,
.image-carousel-section,
.visual-story-section,
.company-help-section,
.home-focus-section,
.process-strip-section,
.next-dashboard-section,
.content-hero,
.page-section,
.page-cta {
  background: transparent;
  background-color: transparent;
}

header,
main,
footer,
.modal {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.brand-name {
  color: var(--primary-color);
  font-family: var(--brand-font-family);
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.095em;
  line-height: 1;
  text-transform: none;
}

.brand-name-inline {
  display: inline-block;
  vertical-align: baseline;
}

/* Header styles */
header {
  background:
    linear-gradient(90deg, #061E42 0%, #0B2B57 48%, #061E42 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 2rem;
  min-height: 82px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 12px 28px rgba(7, 26, 55, 0.18);
}

header::after {
  content: "";
  position: absolute;
  inset: auto 2rem 0 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-width: max-content;
  position: relative;
  z-index: 2;
}

.header-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  height: 2.65rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.3s;
  line-height: 1;
  white-space: nowrap;
}

.header-home-link:hover {
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(195, 154, 52, 0.45);
  transform: translateY(-1px);
}

.header-home-link.brand-name {
  color: white;
  font-family: var(--brand-font-family);
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.095em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-home-link.brand-name:hover {
  color: var(--accent-color);
}

.site-logo {
  width: 1.75rem;
  height: 1.75rem;
  max-width: 1.75rem;
  max-height: 1.75rem;
  border-radius: 0.45rem;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  line-height: 1;
}

.header-right {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 2;
}

header nav {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

header nav a,
.header-login-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.3s;
}

header nav a:hover,
.header-login-link:hover,
header nav a.is-active,
.header-login-link.is-active {
  color: var(--accent-color);
}

header nav a {
  padding: 0.62rem 0.78rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  white-space: nowrap;
}

header nav a:hover,
header nav a.is-active {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(195, 154, 52, 0.4);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.65rem;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.header-login-link:hover,
.header-login-link.is-active {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(195, 154, 52, 0.45);
  transform: translateY(-1px);
}

.header-calculator-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(201, 154, 46, 0.5);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.62rem 0.82rem;
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.header-calculator-button:hover,
.header-calculator-button[aria-expanded="true"] {
  background-color: rgba(201, 154, 46, 0.18);
  color: var(--accent-color);
  transform: translateY(-1px);
}

.translate-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.32rem 0.28rem 0.82rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.translate-chip span {
  white-space: nowrap;
}

/* Language selector */
.language-select {
  background-color: rgba(3, 88, 77, 0.92);
  color: white;
  border: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 1rem;
  background-color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(2px);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 241, 196, 0.18), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(255, 244, 203, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(248, 251, 253, 0.94), rgba(236, 243, 248, 0.76));
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero .hero-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.hero .hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.home-hero {
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: left;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  column-gap: 2.4rem;
  row-gap: 0;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero-lower-content {
  margin-top: 1.25rem;
}

.hero-side-content {
  grid-column: 2;
  grid-row: 2;
  margin-top: -18rem;
}

.hero-responsible-card {
  width: min(100%, 520px);
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(201, 154, 46, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.84);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 18px 42px rgba(6, 30, 66, 0.09);
  backdrop-filter: blur(9px);
}

.hero-responsible-card h2 {
  max-width: 460px;
  margin-top: 0.7rem;
  color: var(--primary-color);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.hero .hero-content .hero-responsible-card p:not(.eyebrow) {
  max-width: 460px;
  margin: 1rem 0 0;
  color: #4f5f6b;
  font-size: 1rem;
  line-height: 1.55;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
  color: var(--primary-color);
}

.hero-lead {
  max-width: 690px;
  margin-top: 1rem;
  color: #4a5b67;
  font-size: 1.1rem;
}

.dynamic-hero-title {
  letter-spacing: 0;
}

.hero-rotating-word {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.1rem 0;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 54%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--accent-color);
  -webkit-text-fill-color: currentColor;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 680px;
  margin-top: 0;
}

.hero-feature-grid span {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.76);
  padding: 0.72rem 0.85rem 0.72rem 2.15rem;
  color: #53636f;
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: 0 12px 24px rgba(6, 30, 66, 0.06);
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.38s ease, box-shadow 0.38s ease, background 0.38s ease, color 0.38s ease;
  will-change: transform;
}

.hero-feature-grid span::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 50%;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  transform: translateY(-50%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
}

.hero-feature-grid span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, rgba(201, 154, 46, 0.18) 42%, rgba(255, 255, 255, 0.38) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-130%);
  transition: transform 0.55s ease, opacity 0.35s ease;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-left-actions {
  margin-top: 1.5rem;
}

.hero-actions .btn {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 14px 28px rgba(0, 91, 79, 0.18);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease, background 0.38s ease, color 0.38s ease;
}

.hero-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, rgba(255, 255, 255, 0.48) 50%, transparent 58%);
  opacity: 0;
  transform: translateX(-130%);
  transition: transform 0.58s ease, opacity 0.35s ease;
  pointer-events: none;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 720px;
  margin-top: 1.4rem;
}

.hero-proof-row article {
  position: relative;
  overflow: hidden;
  border-left: 3px solid rgba(201, 154, 46, 0.72);
  border-radius: 0 16px 16px 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 0.9rem;
  box-shadow: 0 12px 26px rgba(6, 30, 66, 0.06);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  will-change: transform;
}

.hero-proof-row article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.4s ease, width 0.35s ease;
}

.hero-proof-row article::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 154, 46, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 249, 247, 0.74));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero-proof-row strong,
.hero-proof-row span {
  display: block;
  position: relative;
  z-index: 1;
}

.hero-proof-row strong {
  color: var(--primary-color);
  font-size: 1rem;
  transition: color 0.35s ease, transform 0.35s ease;
}

.hero-proof-row span {
  margin-top: 0.15rem;
  color: #53636f;
  font-size: 0.82rem;
  line-height: 1.35;
  transition: transform 0.35s ease, color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-feature-grid span:hover,
  .hero-feature-grid span:focus-visible {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(201, 154, 46, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 249, 247, 0.84));
    box-shadow: 0 18px 36px rgba(6, 30, 66, 0.12), 0 0 0 4px rgba(201, 154, 46, 0.08);
    color: var(--primary-color);
  }

  .hero-feature-grid span:hover::before,
  .hero-feature-grid span:focus-visible::before {
    transform: translateY(-50%) scale(1.22);
    box-shadow: 0 0 0 6px rgba(201, 154, 46, 0.12);
  }

  .hero-feature-grid span:hover::after,
  .hero-feature-grid span:focus-visible::after,
  .hero-actions .btn:hover::after,
  .hero-actions .btn:focus-visible::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-actions .btn:hover,
  .hero-actions .btn:focus-visible {
    transform: translateY(-5px) scale(1.025);
    border-color: rgba(201, 154, 46, 0.48);
    box-shadow: 0 20px 42px rgba(0, 91, 79, 0.24), 0 0 0 4px rgba(201, 154, 46, 0.1);
  }

  .hero-actions .secondary-btn:hover,
  .hero-actions .secondary-btn:focus-visible {
    box-shadow: 0 20px 42px rgba(6, 30, 66, 0.24), 0 0 0 4px rgba(201, 154, 46, 0.1);
  }

  .hero-proof-row article:hover,
  .hero-proof-row article:focus-visible {
    transform: translateY(-7px) scale(1.025);
    border-color: rgba(201, 154, 46, 0.76);
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 44px rgba(6, 30, 66, 0.14), 0 0 0 4px rgba(201, 154, 46, 0.08);
    outline: none;
  }

  .hero-proof-row article:hover::before,
  .hero-proof-row article:focus-visible::before {
    opacity: 1;
    width: 5px;
    transform: scaleY(1);
  }

  .hero-proof-row article:hover::after,
  .hero-proof-row article:focus-visible::after {
    opacity: 1;
  }

  .hero-proof-row article:hover strong,
  .hero-proof-row article:focus-visible strong {
    color: var(--secondary-color);
    transform: translateX(4px);
  }

  .hero-proof-row article:hover span,
  .hero-proof-row article:focus-visible span {
    color: #334554;
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-grid span,
  .hero-feature-grid span::before,
  .hero-feature-grid span::after,
  .hero-actions .btn,
  .hero-actions .btn::after,
  .hero-proof-row article,
  .hero-proof-row article::before,
  .hero-proof-row article::after,
  .hero-proof-row strong,
  .hero-proof-row span {
    transition: none;
  }
}

.hero-story-card {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 30px;
  background-color: #ffffff;
  box-shadow: 0 26px 70px rgba(6, 30, 66, 0.14);
}

.hero-story-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.35rem;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-story-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 30, 66, 0.08) 0%, rgba(6, 30, 66, 0.28) 48%, rgba(6, 30, 66, 0.72) 100%),
    linear-gradient(135deg, rgba(0, 91, 79, 0.2), rgba(201, 154, 46, 0.18));
}

.hero-story-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-story-ambition {
  background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1200&q=80");
}

.hero-story-direction {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80");
}

.hero-story-milestone {
  background-image: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1200&q=80");
}

.hero-story-momentum {
  background-image: url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1200&q=80");
}

.hero-story-overlay {
  position: relative;
  z-index: 1;
  max-width: min(330px, calc(100% - 150px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.91);
  padding: 1.1rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-story-overlay img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background-color: white;
  box-shadow: 0 10px 20px rgba(6, 30, 66, 0.1);
}

.hero-story-overlay span {
  display: block;
  margin-top: 0.7rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-story-overlay h2 {
  margin-top: 0.25rem;
  color: var(--primary-color);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.hero-story-overlay p {
  margin: 0.55rem 0 0;
  color: #53636f;
  font-size: 0.96rem;
  line-height: 1.45;
}

.hero-metric-stack {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.42rem;
  width: min(118px, calc(100% - 1.9rem));
}

.hero-metric-stack article {
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(6, 30, 66, 0.93), rgba(0, 91, 79, 0.86));
  padding: 0.5rem 0.58rem;
  color: white;
  box-shadow: 0 16px 34px rgba(6, 30, 66, 0.24);
  backdrop-filter: blur(10px);
}

.hero-metric-stack strong {
  display: block;
  color: var(--accent-color);
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.05;
}

.hero-metric-stack span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-floating-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(6, 30, 66, 0.94), rgba(0, 91, 79, 0.9));
  padding: 0.85rem 1rem;
  color: white;
  box-shadow: 0 18px 36px rgba(6, 30, 66, 0.22);
}

.hero-floating-badge strong {
  color: var(--accent-color);
  font-size: 1.05rem;
  line-height: 1;
}

.hero-floating-badge span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.hero-fast-badge {
  top: 1.05rem;
  right: 1.05rem;
}

.hero-safe-badge {
  left: 1.05rem;
  bottom: 1.05rem;
}

.hero-story-dots {
  position: absolute;
  right: 1.3rem;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-story-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(6, 30, 66, 0.1);
}

.hero-story-dots span.is-active {
  width: 1.4rem;
  background-color: var(--accent-color);
}

.hero-assurance-card {
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 28px;
  background-color: rgba(255, 255, 255, 0.78);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 22px 50px rgba(10, 42, 86, 0.1);
  backdrop-filter: blur(10px);
}

.hero-assurance-card img {
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 1rem;
}

.hero-assurance-card h2 {
  color: var(--primary-color);
}

.hero-assurance-card p {
  margin-top: 0.75rem;
  color: #53636f;
  font-size: 1rem;
}

.image-carousel-section {
  padding: 3rem 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.38);
}

.carousel-heading {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  text-align: center;
}

.carousel-heading h2 {
  margin-top: 0.75rem;
  color: var(--primary-color);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.image-carousel {
  width: 100%;
  overflow: hidden;
}

.image-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: autoScrollImages 34s linear infinite;
}

.image-carousel:hover .image-track {
  animation-play-state: paused;
}

.visual-story-section {
  padding: 2.6rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(238, 241, 244, 0.62));
}

.visual-story-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.visual-story-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.visual-story-head h2 {
  margin-top: 0.65rem;
  color: var(--primary-color);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.visual-story-head p:not(.eyebrow) {
  color: #53636f;
}

.visual-story-note {
  border-left: 4px solid var(--accent-color);
  border-radius: 0 18px 18px 0;
  background-color: rgba(255, 255, 255, 0.72);
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 32px rgba(6, 30, 66, 0.07);
}

.visual-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.visual-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 24px;
  background-color: var(--primary-color);
  background-position: center;
  background-size: cover;
  box-shadow: 0 20px 42px rgba(6, 30, 66, 0.11);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 30, 66, 0.02) 0%, rgba(6, 30, 66, 0.42) 48%, rgba(6, 30, 66, 0.86) 100%),
    linear-gradient(135deg, rgba(0, 91, 79, 0.24), rgba(201, 154, 46, 0.12));
}

.visual-card-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.visual-card-content strong {
  color: white;
  font-size: 1.12rem;
  line-height: 1.2;
}

.visual-card-content span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background-color: rgba(201, 154, 46, 0.92);
  padding: 0.26rem 0.55rem;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-card-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.45;
}

.visual-study-goal {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=900&q=80");
}

.visual-cost-map {
  background-image: url("https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=900&q=80");
}

.visual-family-ready {
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=900&q=80");
}

.visual-doc-file {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.visual-emi-roadmap {
  background-image: url("https://images.unsplash.com/photo-1519452575417-564c1401ecc0?auto=format&fit=crop&w=900&q=80");
}

.visual-status-track {
  background-image: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=900&q=80");
}

.page-visual-system {
  max-width: 1180px;
  margin: 0 auto 1.3rem;
  padding: 0 0.75rem;
}

.page-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}

.page-visual-stage {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 30px;
  background-color: var(--primary-color);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 48px rgba(6, 30, 66, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, filter 0.3s ease-in-out;
  will-change: transform;
}

.page-visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 30, 66, 0.06), rgba(6, 30, 66, 0.52)),
    linear-gradient(135deg, rgba(0, 91, 79, 0.18), rgba(201, 154, 46, 0.18));
}

.page-visual-stage::after {
  content: none;
}

.page-visual-logo {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 3;
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 12px 22px rgba(6, 30, 66, 0.24));
  pointer-events: none;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  will-change: transform;
}

.page-visual-stage:hover .page-visual-logo {
  filter: drop-shadow(0 16px 28px rgba(6, 30, 66, 0.3));
  transform: translateY(-4px) scale(1.04);
}

.page-visual-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  max-width: 560px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 1.15rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.page-visual-caption span {
  display: inline-flex;
  border-radius: 999px;
  background-color: rgba(201, 154, 46, 0.14);
  padding: 0.28rem 0.65rem;
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-visual-caption strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--primary-color);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.page-visual-caption p {
  margin-top: 0.65rem;
  color: #53636f;
}

.page-visual-panel {
  display: grid;
  gap: 0.9rem;
}

.page-visual-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-visual-stats article,
.page-visual-tiles article {
  border: 1px solid rgba(10, 42, 86, 0.09);
  background-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(6, 30, 66, 0.07);
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  will-change: transform;
}

.page-visual-stats article {
  border-radius: 18px;
  padding: 0.8rem 0.7rem;
}

.page-visual-stats strong,
.page-visual-stats span {
  display: block;
}

.page-visual-stats strong {
  color: var(--accent-color);
  font-size: 1.05rem;
  line-height: 1.1;
}

.page-visual-stats span {
  margin-top: 0.25rem;
  color: #53636f;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.page-visual-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.page-visual-tiles article {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: 20px;
  padding: 0.95rem;
}

.page-visual-tiles article::after {
  content: "";
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 154, 46, 0.25), rgba(0, 91, 79, 0.16));
}

.page-visual-tiles span {
  display: inline-flex;
  border-radius: 999px;
  background-color: var(--primary-color);
  padding: 0.2rem 0.48rem;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
}

.page-visual-tiles strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.2;
}

.page-visual-tiles p {
  margin-top: 0.35rem;
  color: #53636f;
  font-size: 0.88rem;
  line-height: 1.42;
}

.visual-page-services {
  background-image: url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-about {
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-eligibility {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-contact {
  background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-dashboard {
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-education {
  background-image: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-personal {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-business {
  background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-home {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-mutual {
  background-image: url("https://images.unsplash.com/photo-1642543492481-44e81e3914a7?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-insurance {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-all {
  background-image: url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=1200&q=80");
}

.visual-page-consult {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1200&q=80");
}

.image-slide {
  position: relative;
  width: min(76vw, 340px);
  height: 220px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background-color: var(--primary-color);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 38px rgba(10, 42, 86, 0.12);
}

.image-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 66, 0.05), rgba(6, 30, 66, 0.72));
}

.image-slide span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: white;
  font-size: 1.15rem;
  font-weight: bold;
}

.slide-education {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=900&q=80");
}

.slide-family {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.slide-documents {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.slide-business {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80");
}

.slide-home {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?auto=format&fit=crop&w=900&q=80");
}

.slide-consult {
  background-image: linear-gradient(135deg, rgba(6, 30, 66, 0.25), rgba(0, 91, 79, 0.25)), url("https://images.unsplash.com/photo-1519452575417-564c1401ecc0?auto=format&fit=crop&w=900&q=80");
}

@keyframes autoScrollImages {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.company-help-section {
  padding: 3rem 1rem;
  background-color: rgba(255, 255, 255, 0.32);
}

.company-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.home-contact-cta {
  padding: 3rem 1rem;
}

.home-contact-cta p {
  max-width: 620px;
  margin: 0 auto 1.4rem;
  color: #4a5b67;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.compact-heading h2 {
  margin-top: 0.7rem;
  color: var(--primary-color);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.compact-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0.65rem auto 0;
  color: #4f5f6b;
}

.home-focus-section,
.process-strip-section,
.home-assurance-section,
.next-dashboard-section {
  padding: 2rem 1rem;
}

.home-focus-section,
.home-assurance-section,
.next-dashboard-section {
  background-color: rgba(255, 255, 255, 0.34);
}

.dense-card-grid,
.eligibility-readiness-grid,
.contact-prep-grid,
.service-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.dense-card-grid.three-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-card,
.eligibility-readiness-grid article,
.contact-prep-grid article,
.service-support-grid article {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.82);
  padding: 1.15rem;
  box-shadow: 0 16px 34px rgba(6, 30, 66, 0.08);
  backdrop-filter: blur(8px);
}

.compact-card::after,
.eligibility-readiness-grid article::after,
.service-support-grid article::after {
  content: "";
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 154, 46, 0.25), rgba(0, 91, 79, 0.16));
  pointer-events: none;
}

.compact-card > *,
.eligibility-readiness-grid article > *,
.service-support-grid article > * {
  position: relative;
  z-index: 1;
}

.contact-prep-grid article {
  isolation: isolate;
  min-height: 184px;
  border-color: rgba(10, 42, 86, 0.12);
  border-radius: 22px;
  padding: 1.35rem 1.45rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(248, 252, 255, 0.64));
  box-shadow: 0 18px 42px rgba(6, 30, 66, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.contact-prep-grid article::before,
.contact-prep-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.contact-prep-grid article::before {
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.36;
  transform: scale(1);
  animation: floatingZoom 13s ease-in-out infinite;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.contact-prep-grid article::after {
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 12% 12%, rgba(201, 154, 46, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(6, 30, 66, 0), rgba(6, 30, 66, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-prep-grid article:hover {
  border-color: rgba(10, 42, 86, 0.12);
  box-shadow: 0 28px 60px rgba(6, 30, 66, 0.2);
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(248, 252, 255, 0.72));
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.contact-prep-grid article:hover::before {
  opacity: 0.42;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(8px, -4px, 0) scale(1.1);
}

.contact-prep-grid article > * {
  position: relative;
  z-index: 2;
}

.contact-prep-grid .prep-card-education::before {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=900&q=80");
}

.contact-prep-grid .prep-card-home::before {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=80");
}

.contact-prep-grid .prep-card-business::before {
  background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80");
}

.contact-prep-grid .prep-card-consultation::before {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80");
}

.compact-card span,
.eligibility-readiness-grid span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-card h3,
.eligibility-readiness-grid h3,
.contact-prep-grid strong,
.service-support-grid h3 {
  color: var(--primary-color);
  font-size: 1.08rem;
  line-height: 1.2;
}

.compact-card p,
.eligibility-readiness-grid p,
.contact-prep-grid span,
.service-support-grid p {
  display: block;
  margin-top: 0.55rem;
  color: #4f5f6b;
  line-height: 1.55;
}

.compact-card,
.info-card,
.eligibility-readiness-grid article,
.service-support-grid article,
.dense-card-grid article,
.page-visual-stats article,
.page-visual-tiles article,
.response-card,
.service-card,
.contact-prep-grid article {
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out, filter 0.3s ease-in-out;
  will-change: transform;
}

.compact-card:hover,
.info-card:hover,
.eligibility-readiness-grid article:hover,
.service-support-grid article:hover,
.dense-card-grid article:hover,
.page-visual-stats article:hover,
.page-visual-tiles article:hover,
.response-card:hover,
.service-card:hover,
.contact-prep-grid article:hover {
  border-color: rgba(10, 42, 86, 0.09);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 48px rgba(6, 30, 66, 0.22), 0 0 0 1px rgba(201, 154, 46, 0.08);
  transform: translateY(-6px) scale(1.01);
  z-index: 4;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, filter 0.35s ease;
}

.page-visual-stage:hover {
  border-color: rgba(10, 42, 86, 0.1);
  box-shadow: 0 32px 64px rgba(6, 30, 66, 0.24), 0 0 0 1px rgba(201, 154, 46, 0.06);
  filter: saturate(1.02) brightness(1.04) contrast(1.01);
  transform: translateY(-6px) scale(1.01);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .compact-card,
  .info-card,
  .eligibility-readiness-grid article,
  .service-support-grid article,
  .dense-card-grid article,
  .page-visual-stage,
  .page-visual-stats article,
  .page-visual-tiles article,
  .response-card,
  .service-card,
  .contact-prep-grid article {
    transition: none;
  }

  .page-visual-logo {
    transition: none;
  }

  .compact-card:hover,
  .info-card:hover,
  .eligibility-readiness-grid article:hover,
  .service-support-grid article:hover,
  .dense-card-grid article:hover,
  .page-visual-stage:hover,
  .page-visual-stats article:hover,
  .page-visual-tiles article:hover,
  .response-card:hover,
  .service-card:hover,
  .contact-prep-grid article:hover {
    transform: none;
  }

  .page-visual-stage:hover .page-visual-logo {
    transform: none;
  }
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 1120px;
  margin: 0 auto;
}

.process-strip article {
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 246, 241, 0.82));
  padding: 1rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(6, 30, 66, 0.07);
}

.process-strip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  margin-bottom: 0.55rem;
  padding: 0.25rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

.process-strip span {
  display: block;
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.25;
}

.assurance-panel,
.content-band,
.service-process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.2rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(201, 154, 46, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.84);
  padding: 1.35rem;
  box-shadow: 0 18px 42px rgba(6, 30, 66, 0.09);
  backdrop-filter: blur(9px);
}

.home-assurance-section .assurance-panel {
  grid-template-columns: minmax(0, 1fr);
}

.assurance-panel h2,
.content-band h2,
.service-process-panel h2 {
  margin-top: 0.7rem;
  color: var(--primary-color);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.assurance-panel p,
.content-band p {
  margin-top: 0.75rem;
  color: #4f5f6b;
}

.assurance-metrics,
.band-list {
  display: grid;
  gap: 0.75rem;
}

.assurance-metrics article,
.band-list article {
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.76);
  padding: 0.95rem;
}

.assurance-metrics strong,
.band-list strong {
  color: var(--primary-color);
}

.assurance-metrics span,
.band-list span {
  color: #53636f;
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 1120px;
  margin: 0 auto;
}

.dashboard-preview-grid article {
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-left: 4px solid var(--accent-color);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.84);
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(6, 30, 66, 0.07);
}

.dashboard-preview-grid strong {
  display: block;
  color: var(--primary-color);
}

.dashboard-preview-grid span {
  display: block;
  margin-top: 0.35rem;
  color: #53636f;
  line-height: 1.45;
}

.destination-planner-section {
  padding: 2rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(238, 243, 240, 0.46));
}

.destination-shell {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 46, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0, 91, 79, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.82);
  padding: 1.35rem;
  box-shadow: 0 24px 58px rgba(6, 30, 66, 0.11);
  backdrop-filter: blur(10px);
}

.destination-intro {
  display: grid;
  gap: 0.65rem;
  max-width: 840px;
  margin: 0 auto 1rem;
  text-align: center;
}

.destination-intro h2 {
  color: var(--primary-color);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.07;
}

.destination-intro p:not(.eyebrow) {
  color: #4f5f6b;
  font-size: 1.03rem;
}

.destination-summary-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.destination-summary-panel article {
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.74);
  padding: 0.95rem;
}

.destination-summary-panel strong {
  display: block;
  color: var(--primary-color);
}

.destination-summary-panel span {
  display: block;
  margin-top: 0.25rem;
  color: #53636f;
  line-height: 1.4;
}

.destination-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 22px;
  background-color: rgba(6, 30, 66, 0.04);
  padding: 0.75rem;
}

.destination-filter {
  border: 1px solid rgba(10, 42, 86, 0.13);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.82);
  color: var(--primary-color);
  padding: 0.55rem 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.destination-filter:hover,
.destination-filter.is-active {
  border-color: rgba(201, 154, 46, 0.65);
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

#destination-filter-count {
  margin-left: 0.25rem;
  color: #53636f;
  font-size: 0.9rem;
  font-weight: bold;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.destination-card {
  position: relative;
  display: grid;
  gap: 0.8rem;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 22px;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 1rem;
  box-shadow: 0 14px 32px rgba(6, 30, 66, 0.07);
  transition: all 0.3s ease;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: var(--flag-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.46;
  pointer-events: none;
  transition: all 0.3s ease;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.55)),
    rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: all 0.3s ease;
}

.destination-card > * {
  position: relative;
  z-index: 2;
}

.destination-card:hover {
  transform: scale(1.03);
  border-color: rgba(201, 154, 46, 0.5);
  box-shadow: 0 18px 38px rgba(6, 30, 66, 0.1);
}

.destination-card:hover::before {
  opacity: 0.5;
  transform: scale(1.06);
}

.destination-card:hover::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.5);
}

.destination-card.priority-card {
  border-color: rgba(201, 154, 46, 0.5);
  box-shadow: 0 18px 38px rgba(6, 30, 66, 0.1);
}

.destination-card--canada {
  --flag-image: url("https://flagcdn.com/ca.svg");
}

.destination-card--australia {
  --flag-image: url("https://flagcdn.com/au.svg");
}

.destination-card--germany {
  --flag-image: url("https://flagcdn.com/de.svg");
}

.destination-card--ireland {
  --flag-image: url("https://flagcdn.com/ie.svg");
}

.destination-card--france {
  --flag-image: url("https://flagcdn.com/fr.svg");
}

.destination-card--netherlands {
  --flag-image: url("https://flagcdn.com/nl.svg");
}

.destination-card--singapore {
  --flag-image: url("https://flagcdn.com/sg.svg");
}

.destination-card--new-zealand {
  --flag-image: url("https://flagcdn.com/nz.svg");
}

.destination-card--sweden {
  --flag-image: url("https://flagcdn.com/se.svg");
}

.destination-card--india {
  --flag-image: url("https://flagcdn.com/in.svg");
}

.destination-card--us {
  --flag-image: url("https://flagcdn.com/us.svg");
}

.destination-card--uk {
  --flag-image: url("https://flagcdn.com/gb.svg");
}

.destination-card.is-hidden {
  display: none;
}

.destination-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-family: var(--brand-font-family);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.destination-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 800;
}

.destination-card-head p {
  margin-top: 0.12rem;
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 700;
}

.destination-card > p {
  color: #2f3b45;
  line-height: 1.5;
  font-weight: 650;
}

.destination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.destination-tags span {
  border: 1px solid rgba(0, 91, 79, 0.14);
  border-radius: 999px;
  background-color: rgba(0, 91, 79, 0.07);
  color: var(--secondary-color);
  padding: 0.32rem 0.52rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.destination-footer-note {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  border: 1px solid rgba(201, 154, 46, 0.3);
  border-radius: 18px;
  background-color: rgba(248, 246, 241, 0.78);
  padding: 0.9rem 1rem;
  color: #53636f;
  line-height: 1.45;
}

.destination-footer-note strong {
  color: var(--primary-color);
  white-space: nowrap;
}

.btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--accent-color);
}

/* Calculator Section */
.calculator-section {
  background-color: rgba(255, 255, 255, 0.76);
  padding: 3rem 1rem;
  text-align: center;
}

.calculator-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

#emi-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(3, 88, 77, 0.12);
  outline: none;
}

.emi-result {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--light-color);
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Services Section */
@keyframes floatingZoom {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8px, -3px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.services-section {
  background-color: rgba(245, 245, 245, 0.74);
  padding: 3rem 1rem;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 0 auto;
  max-width: 1120px;
}

.service-card {
  isolation: isolate;
  overflow: hidden;
  min-height: 270px;
  border: 1px solid rgba(10, 42, 86, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 255, 0.66));
  padding: 1.35rem;
  text-align: left;
  box-shadow: 0 18px 44px rgba(6, 30, 66, 0.1);
  position: relative;
}

.service-link-card {
  --service-tint-rgb: 201, 154, 46;
  transform: translate3d(0, 0, 0);
}

.service-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.34;
  animation: floatingZoom 12s ease-in-out infinite;
  transform-origin: center;
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  will-change: transform;
}

.service-link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(var(--service-tint-rgb), 0.34), rgba(var(--service-tint-rgb), 0.34)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.66)),
    linear-gradient(180deg, rgba(6, 30, 66, 0), rgba(6, 30, 66, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.service-link-card:hover::before {
  animation-play-state: paused;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(10px, -5px, 0) scale(1.1);
}

.service-link-card > * {
  position: relative;
  z-index: 2;
}

.service-link-card:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(1) {
  --service-tint-rgb: 95, 145, 220;
}

.service-link-card:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(2) {
  --service-tint-rgb: 0, 123, 111;
}

.service-link-card:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(3) {
  --service-tint-rgb: 201, 154, 46;
}

.service-link-card:nth-child(4)::before {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(4) {
  --service-tint-rgb: 188, 113, 91;
}

.service-link-card:nth-child(5)::before {
  background-image: url("https://images.unsplash.com/photo-1642543492481-44e81e3914a7?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(5) {
  --service-tint-rgb: 108, 153, 83;
}

.service-link-card:nth-child(6)::before {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(6) {
  --service-tint-rgb: 78, 151, 165;
}

.service-link-card:nth-child(7)::before {
  background-image: url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(7) {
  --service-tint-rgb: 124, 122, 185;
}

.service-link-card:nth-child(8)::before {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=700&q=80");
}

.service-link-card:nth-child(8) {
  --service-tint-rgb: 210, 133, 92;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.18rem;
  line-height: 1.18;
}

.service-card p {
  margin-bottom: 1rem;
  color: #425563;
  line-height: 1.55;
}

.service-card .btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: rgba(245, 245, 245, 0.74);
  padding: 3rem 1rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
}

#contact-form {
  max-width: 600px;
  margin: 1rem auto;
  text-align: left;
}

#contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-lab-main {
  padding: 0 1rem 2.5rem;
}

.contact-lab-hero,
.contact-command-center,
.office-navigator {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem;
  align-items: center;
  padding: 2.8rem 0 1.4rem;
}

.contact-hero-copy h1 {
  max-width: 780px;
  margin-top: 1rem;
  color: var(--primary-color);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.03;
}

.contact-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 1rem;
  color: #4f5f6b;
  font-size: 1.08rem;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-action-row a {
  border: 1px solid rgba(10, 42, 86, 0.12);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 1rem;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(6, 30, 66, 0.08);
}

.contact-action-row a:hover {
  border-color: rgba(201, 154, 46, 0.5);
  color: var(--secondary-color);
}

.contact-hero-badge {
  display: grid;
  justify-items: center;
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(201, 154, 46, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.82);
  padding: 1.35rem;
  box-shadow: 0 24px 52px rgba(6, 30, 66, 0.12);
}

.contact-hero-badge img {
  width: 190px;
  height: 190px;
  border-radius: 24px;
  object-fit: contain;
}

.contact-hero-badge span {
  margin-top: 0.7rem;
  color: var(--accent-color);
  font-family: var(--brand-font-family);
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.78fr);
  gap: 1rem;
  align-items: start;
}

.contact-intake-card,
.contact-side-panel,
.office-copy-card,
.office-map-card {
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 55px rgba(6, 30, 66, 0.11);
  backdrop-filter: blur(10px);
}

.contact-intake-card {
  padding: 1.5rem;
}

.form-intro-block {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.form-intro-block h2,
.office-copy-card h2 {
  color: var(--primary-color);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.form-intro-block p {
  color: #53636f;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-intake-card label {
  display: grid;
  gap: 0.45rem;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: bold;
}

.contact-intake-card input,
.contact-intake-card select,
.contact-intake-card textarea {
  width: 100%;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 14px;
  background-color: white;
  padding: 0.78rem 0.9rem;
  color: var(--primary-color);
}

.contact-intake-card input:focus,
.contact-intake-card select:focus,
.contact-intake-card textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 91, 79, 0.12);
  outline: none;
}

.message-field {
  margin-top: 1rem;
}

.contact-intake-card .btn {
  margin-top: 1rem;
  border-radius: 999px;
}

.contact-side-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, #061E42 0%, #0A315B 100%);
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.response-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  color: white;
}

.primary-response-card {
  background:
    radial-gradient(circle at top right, rgba(201, 154, 46, 0.26), transparent 40%),
    rgba(255, 255, 255, 0.1);
}

.response-card span {
  display: block;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.response-card h2 {
  margin-top: 0.45rem;
  color: white;
}

.response-card a,
.response-card p {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  text-decoration: none;
}

.response-card a:hover {
  color: var(--accent-color);
}

.office-navigator {
  display: grid;
  grid-template-columns: minmax(270px, 0.55fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.office-copy-card {
  padding: 1.5rem;
}

.office-copy-card address {
  margin: 1rem 0 1.3rem;
  color: #53636f;
  font-style: normal;
  line-height: 1.7;
}

.office-map-card {
  overflow: hidden;
  min-height: 360px;
}

.office-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Apply Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
footer {
  background:
    linear-gradient(180deg, #061E42 0%, #082550 100%);
  color: white;
  position: relative;
  padding: 1.6rem 1.5rem 5.1rem;
  text-align: left;
  border-top: 3px solid rgba(201, 154, 46, 0.85);
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

footer h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

footer .brand-name {
  display: inline-block;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.94);
  padding: 0.38rem 0.7rem;
}

footer p .brand-name-inline {
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.94);
  padding: 0.18rem 0.45rem;
}

footer ul {
  list-style: none;
}

footer p, footer li {
  margin-bottom: 0.25rem;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

.footer-link-list {
  display: grid;
  gap: 0.55rem;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.75rem;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.15;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.footer-link-list a:hover {
  border-color: rgba(201, 154, 46, 0.55);
  background-color: rgba(201, 154, 46, 0.14);
  color: var(--accent-color);
  transform: translateX(2px);
}

body.login-page .login-developer-credit {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: 10px;
  color: #f7f4ef;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

body.login-page .login-developer-credit span {
  display: block;
}

body.login-page .login-developer-credit strong {
  color: #f0c15a;
  letter-spacing: 0.4px;
}

.content-main {
  padding: 0 1rem 2.5rem;
}

.scroll-reveal-card {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(60px) scale(0.96);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.42s ease,
    background-color 0.42s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.scroll-reveal-card.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.scroll-reveal-card::after {
  transition: opacity 0.42s ease, transform 0.55s ease, filter 0.42s ease;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-reveal-card.is-revealed:hover {
    border-color: rgba(201, 154, 46, 0.56);
    box-shadow: 0 16px 34px rgba(6, 30, 66, 0.14), 0 0 0 1px rgba(201, 154, 46, 0.14);
    transform: translateY(-2px);
    z-index: 5;
  }

  .visual-card.scroll-reveal-card.is-revealed:hover {
    box-shadow: 0 32px 70px rgba(6, 30, 66, 0.24), 0 0 0 1px rgba(201, 154, 46, 0.2);
  }

  .dashboard-preview-grid .scroll-reveal-card.is-revealed:hover,
  .assurance-metrics .scroll-reveal-card.is-revealed:hover,
  .process-strip .scroll-reveal-card.is-revealed:hover {
    background:
      radial-gradient(circle at 14% 12%, rgba(201, 154, 46, 0.18), transparent 34%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 248, 0.82));
  }
}

@media (hover: hover) and (pointer: fine) {
  .premium-tilt {
    position: relative;
    transform-origin: center;
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease,
      filter 220ms ease;
  }

  .premium-tilt.is-tilting:not(.scroll-reveal-card) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(6, 30, 66, 0.13), 0 0 0 1px rgba(217, 164, 65, 0.16);
    z-index: 4;
  }

  a.premium-tilt.is-tilting,
  button.premium-tilt.is-tilting,
  .admin-nav a.premium-tilt.is-tilting,
  .admin-nav button.premium-tilt.is-tilting,
  .login-mode-switch button.premium-tilt.is-tilting,
  .user-auth-switch button.premium-tilt.is-tilting,
  .destination-filter.premium-tilt.is-tilting,
  .translate-chip.premium-tilt.is-tilting,
  .service-chip.premium-tilt.is-tilting,
  .nav-pill.premium-tilt.is-tilting,
  .mini-tab.premium-tilt.is-tilting {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 30, 66, 0.13), 0 0 0 1px rgba(217, 164, 65, 0.14);
  }

  .admin-table tbody tr.premium-tilt.is-tilting {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 30, 66, 0.1);
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-card,
  .scroll-reveal-card.is-revealed,
  .scroll-reveal-card.is-revealed:hover,
  .premium-tilt,
  .premium-tilt.is-tilting {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.content-hero,
.page-section,
.page-cta {
  max-width: 1100px;
  margin: 0 auto;
}

.content-hero {
  padding: 3rem 0 1.25rem;
  text-align: center;
}

.content-hero h1 {
  margin: 0.8rem auto 0;
  max-width: 820px;
  color: var(--primary-color);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.05;
}

.content-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: #4a5b67;
  font-size: 1.08rem;
}

.page-section {
  padding: 1rem 0 1.35rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 1.35rem;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(10, 42, 86, 0.08);
  backdrop-filter: blur(8px);
}

.info-card h2 {
  margin-bottom: 0.9rem;
  color: var(--primary-color);
}

.info-card p,
.info-card li {
  color: #4f5f6b;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
}

.responsibility-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(201, 154, 46, 0.28);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.84);
  padding: 1rem 1.1rem;
  color: #4f5f6b;
  box-shadow: 0 14px 30px rgba(6, 30, 66, 0.06);
}

.responsibility-note strong {
  color: var(--primary-color);
  white-space: nowrap;
}

.document-chip-box {
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.74);
  padding: 1rem;
}

.document-chip-box h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.document-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.document-chip-grid li {
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 999px;
  background-color: rgba(6, 30, 66, 0.05);
  padding: 0.45rem 0.7rem;
  color: var(--primary-color);
  font-size: 0.86rem;
  font-weight: bold;
}

.service-detail-band {
  align-items: stretch;
}

.mini-process-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}

.service-band {
  align-items: stretch;
}

.service-support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eligibility-readiness-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-prep-section {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-prep-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
}

.service-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  will-change: transform;
}

.service-link-card:hover {
  border-color: rgba(201, 154, 46, 0.5);
  box-shadow: 0 30px 64px rgba(10, 42, 86, 0.17);
  transform: translateY(-10px) scale(1.03);
}

.btn-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0.65rem 1rem;
  color: white;
  box-shadow: 0 12px 24px rgba(6, 30, 66, 0.16);
  font-weight: bold;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-link-card:hover .btn-like {
  box-shadow: 0 16px 30px rgba(6, 30, 66, 0.22);
  transform: translateY(-2px);
}

.service-link-card {
  isolation: isolate;
  min-height: 270px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background: #061e42;
  box-shadow: 0 20px 44px rgba(6, 30, 66, 0.12);
}

.service-link-card::before,
.service-link-card::after {
  display: none;
}

.service-card-media,
.service-card-media::after,
.service-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.service-card-media {
  z-index: 0;
  overflow: hidden;
  background: #061e42;
}

.service-card-media::after {
  content: "";
  z-index: 4;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(6, 30, 66, 0.06), rgba(6, 30, 66, 0.36));
  backdrop-filter: blur(2px);
}

.service-bg {
  z-index: 1;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out, filter 0.7s ease-in-out;
  will-change: opacity, transform;
}

.service-bg-one {
  opacity: 1;
}

.service-link-card > *:not(.service-card-media) {
  position: relative;
  z-index: 2;
}

.service-link-card h3 {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.38rem 0.62rem;
  color: var(--primary-color);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.service-link-card p {
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.service-link-card:hover {
  border-color: rgba(201, 154, 46, 0.68);
  box-shadow:
    0 32px 72px rgba(6, 30, 66, 0.26),
    0 0 32px rgba(201, 154, 46, 0.22);
  transform: translateY(-10px) scale(1.025);
}

.service-link-card:hover .service-bg {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.service-link-card:hover .service-bg-one {
  animation: serviceImageOne 7.5s ease-in-out infinite;
}

.service-link-card:hover .service-bg-two {
  animation: serviceImageTwo 7.5s ease-in-out infinite;
}

.service-link-card:hover .service-bg-three {
  animation: serviceImageThree 7.5s ease-in-out infinite;
}

.service-link-card .btn-like {
  border-color: rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, rgba(6, 30, 66, 0.96), rgba(0, 91, 79, 0.94));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.service-link-card:hover .btn-like {
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(112, 201, 188, 0.28);
}

.service-link-card:nth-child(1) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(1) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(1) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(2) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(2) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(2) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(3) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(3) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(3) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(4) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(4) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1560185127-6ed189bf02f4?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(4) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(5) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(5) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(5) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(6) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(6) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(6) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1556745757-8d76bdb6984b?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(7) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(7) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(7) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80"); }

.service-link-card:nth-child(8) .service-bg-one { background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(8) .service-bg-two { background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80"); }
.service-link-card:nth-child(8) .service-bg-three { background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=900&q=80"); }

.services-intro-panel,
.student-trust-grid,
.success-stories-section,
.section-heading-block {
  max-width: 1180px;
  margin-inline: auto;
}

.services-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 1.5rem;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 245, 0.78)),
    radial-gradient(circle at top right, rgba(201, 154, 46, 0.18), transparent 34%);
  box-shadow: 0 24px 58px rgba(6, 30, 66, 0.12);
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.services-intro-panel h2,
.section-heading-block h2,
.success-stories-heading h2 {
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.services-intro-panel p:not(.eyebrow),
.section-heading-block p:not(.eyebrow),
.success-stories-heading p {
  margin-top: 0.85rem;
  color: #4d5f6b;
}

.services-intro-metrics {
  display: grid;
  gap: 0.8rem;
}

.services-intro-metrics article,
.student-trust-grid article {
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(6, 30, 66, 0.08);
}

.services-intro-metrics article {
  padding: 1rem;
}

.services-intro-metrics strong,
.student-trust-grid h3 {
  color: var(--primary-color);
}

.services-intro-metrics span {
  display: block;
  margin-top: 0.25rem;
  color: #596a76;
  font-size: 0.94rem;
}

.section-heading-block,
.success-stories-heading {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.student-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.student-trust-grid article {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.student-trust-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201, 154, 46, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(238, 246, 244, 0.24));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.student-trust-grid article > * {
  position: relative;
  z-index: 1;
}

.student-trust-grid article:hover {
  border-color: rgba(201, 154, 46, 0.38);
  box-shadow: 0 26px 54px rgba(6, 30, 66, 0.14);
  transform: translateY(-6px);
}

.student-trust-grid article:hover::before {
  opacity: 1;
}

.student-trust-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: white;
  font-weight: 800;
  font-size: 0.82rem;
}

.student-trust-grid p {
  margin-top: 0.55rem;
  color: #566672;
  font-size: 0.95rem;
}

.success-stories-section {
  overflow: hidden;
  padding-block: 0.5rem 1rem;
}

.success-carousel {
  --story-card-width: clamp(330px, 27vw, 430px);
  --story-gap: 1.2rem;
  --story-step: calc(var(--story-card-width) + var(--story-gap));
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 30px;
  padding: 0.4rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.success-carousel-track {
  display: flex;
  gap: var(--story-gap);
  width: max-content;
  animation: successStorySlider 42s linear infinite;
  will-change: transform;
}

.success-carousel:hover .success-carousel-track {
  animation-play-state: paused;
}

.success-story-card {
  position: relative;
  flex: 0 0 var(--story-card-width);
  min-height: 276px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: #061e42;
  box-shadow: 0 28px 62px rgba(6, 30, 66, 0.22);
  color: white;
  isolation: isolate;
  transform: translateZ(0);
}

.story-card-bg,
.story-card-bg::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.story-card-bg {
  z-index: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.story-card-bg::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 30, 66, 0.12), rgba(6, 30, 66, 0.82)),
    linear-gradient(135deg, rgba(0, 91, 79, 0.35), rgba(201, 154, 46, 0.18));
  backdrop-filter: blur(1px);
}

.success-story-card:hover .story-card-bg {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
}

.story-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 276px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.story-person {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.8rem 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.story-person h3 {
  color: white;
  font-size: 0.98rem;
  line-height: 1.15;
}

.story-person span {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}

.story-card-content p {
  margin-top: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
}

.story-rating {
  margin-top: 0.75rem;
  color: #ffd36a;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.32);
}

.story-canada .story-card-bg { background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=900&q=80"); }
.story-uk .story-card-bg { background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80"); }
.story-australia .story-card-bg { background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80"); }
.story-germany .story-card-bg { background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=900&q=80"); }
.story-us .story-card-bg { background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=900&q=80"); }
.story-ireland .story-card-bg { background-image: url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=900&q=80"); }
.story-france .story-card-bg { background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80"); }
.story-singapore .story-card-bg { background-image: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=900&q=80"); }

.about-identity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: 1.4rem;
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 245, 0.8)),
    radial-gradient(circle at top left, rgba(0, 91, 79, 0.16), transparent 34%);
  box-shadow: 0 24px 58px rgba(6, 30, 66, 0.12);
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.about-identity-panel h2 {
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.about-identity-panel p:not(.eyebrow),
.about-mission-card p {
  margin-top: 0.85rem;
  color: #4d5f6b;
}

.about-mission-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(6, 30, 66, 0.02), rgba(6, 30, 66, 0.58)),
    linear-gradient(135deg, rgba(0, 91, 79, 0.18), rgba(201, 154, 46, 0.08)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=900&q=80") center / cover no-repeat;
  box-shadow: 0 24px 54px rgba(6, 30, 66, 0.18);
  padding: 1.35rem;
  color: white;
}

.about-mission-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.4rem 0.75rem;
  color: #ffd36a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.about-mission-card h3 {
  color: white;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.about-mission-card p {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.about-support-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-support-grid article {
  background: rgba(255, 255, 255, 0.82);
}

.about-support-grid article::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.68)),
    var(--about-support-image) center / cover no-repeat;
}

.about-support-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.about-support-grid article > * {
  position: relative;
  z-index: 1;
}

.about-support-grid article:nth-child(1) {
  --about-support-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=700&q=80");
}

.about-support-grid article:nth-child(2) {
  --about-support-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=700&q=80");
}

.about-support-grid article:nth-child(3) {
  --about-support-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=700&q=80");
}

.about-support-grid article:nth-child(4) {
  --about-support-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=700&q=80");
}

.about-support-grid article:nth-child(5) {
  --about-support-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=700&q=80");
}

.about-support-grid h3 {
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.about-support-grid p {
  color: #354a58;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
}

.about-success-stories {
  margin-top: 0.25rem;
}

@keyframes successStorySlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(var(--story-step) * -8)); }
}

@keyframes serviceImageOne {
  0%, 28% { opacity: 1; }
  36%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes serviceImageTwo {
  0%, 28% { opacity: 0; }
  36%, 60% { opacity: 1; }
  68%, 100% { opacity: 0; }
}

@keyframes serviceImageThree {
  0%, 60% { opacity: 0; }
  68%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 2.5rem;
}

.secondary-btn {
  background-color: var(--primary-color);
}

.advanced-emi-planner {
  max-width: 1160px;
  margin: 1rem auto 2rem;
  padding: 0 0 1rem;
}

.planner-heading {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.planner-heading h2 {
  margin-top: 0.9rem;
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.planner-heading p:not(.eyebrow) {
  margin-top: 0.85rem;
  color: #53636f;
  font-size: 1.05rem;
}

.planner-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 246, 241, 0.86));
  box-shadow: 0 24px 60px rgba(6, 30, 66, 0.12);
}

.planner-controls {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 46, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.74);
}

.planner-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.planner-field,
.range-field {
  display: block;
  border: 1px solid rgba(10, 42, 86, 0.09);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: bold;
}

.planner-field input,
.planner-field select {
  width: 100%;
  margin-top: 0.55rem;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 12px;
  background-color: white;
  padding: 0.75rem 0.85rem;
  color: var(--primary-color);
  font-weight: bold;
}

.range-field {
  margin-bottom: 1rem;
}

.range-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.range-label input {
  width: min(170px, 48%);
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 12px;
  background-color: white;
  padding: 0.72rem 0.85rem;
  color: var(--primary-color);
  font-weight: bold;
  text-align: right;
}

.range-field input[type="range"] {
  width: 100%;
  margin-top: 1rem;
  accent-color: var(--secondary-color);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: #637281;
  font-size: 0.78rem;
  font-weight: normal;
}

.planner-results {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, #061E42 0%, #0A315B 100%);
  color: white;
}

.emi-hero-result {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(201, 154, 46, 0.2), transparent 38%),
    rgba(255, 255, 255, 0.08);
  padding: 1.4rem;
  text-align: center;
}

.emi-hero-result span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.emi-hero-result strong {
  display: block;
  margin-top: 0.35rem;
  color: white;
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  line-height: 1;
}

.emi-hero-result p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.result-metrics div {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
}

.result-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-metrics strong {
  display: block;
  margin-top: 0.4rem;
  color: white;
  font-size: 1rem;
}

.repayment-mix,
.mini-amortization {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.mix-header,
.mix-legend {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.mix-header strong {
  color: white;
}

.mix-bar {
  display: flex;
  height: 14px;
  margin: 0.8rem 0;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.12);
}

.mix-bar span:first-child {
  background-color: var(--accent-color);
}

.mix-bar span:last-child {
  background-color: #70C9BC;
}

.principal-dot,
.interest-dot {
  display: inline-flex;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  border-radius: 50%;
}

.principal-dot {
  background-color: var(--accent-color);
}

.interest-dot {
  background-color: #70C9BC;
}

.mini-amortization h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.mini-table {
  display: grid;
  gap: 0.3rem;
}

.mini-table-row {
  display: grid;
  grid-template-columns: 0.55fr repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.mini-table-head {
  color: var(--accent-color);
  font-weight: bold;
}

.planner-disclaimer {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.6;
}

.floating-emi-panel,
.floating-lead-widget,
.floating-live-chat-widget {
  position: fixed;
  right: 1.2rem;
  z-index: 1500;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 42px rgba(6, 30, 66, 0.18);
  backdrop-filter: blur(12px);
}

.floating-emi-panel {
  top: 6.4rem;
  width: min(320px, calc(100vw - 2rem));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
}

.floating-emi-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-lead-widget {
  top: 6.4rem;
  width: min(300px, calc(100vw - 2rem));
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.floating-lead-widget.is-collapsed {
  transform: translateX(calc(100% - 52px));
  box-shadow: 0 12px 28px rgba(6, 30, 66, 0.14);
}

.floating-live-chat-widget {
  bottom: 1.2rem;
  width: min(360px, calc(100vw - 2rem));
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.floating-live-chat-widget.is-collapsed {
  width: auto;
  border-color: rgba(37, 211, 102, 0.35);
  border-radius: 999px;
  background-color: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.28);
}

.floating-widget-header,
.floating-lead-toggle,
.floating-live-chat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: none;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.9rem 1rem;
  text-align: left;
}

.floating-lead-widget.is-collapsed .floating-lead-toggle {
  width: 52px;
  min-height: 172px;
  justify-content: center;
  border-radius: 22px 0 0 22px;
  padding: 0.85rem 0.45rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.floating-lead-widget.is-collapsed .floating-lead-toggle strong {
  display: none;
}

.floating-lead-widget.is-collapsed .floating-lead-toggle span {
  color: white;
  letter-spacing: 0.08em;
}

.floating-widget-header span,
.floating-lead-toggle span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-widget-header strong,
.floating-lead-toggle strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 1rem;
}

.floating-lead-toggle,
.floating-live-chat-toggle {
  cursor: pointer;
}

.floating-live-chat-widget.is-collapsed .floating-live-chat-toggle {
  width: auto;
  min-height: auto;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: #25d366;
  padding: 0.62rem 0.95rem 0.62rem 0.68rem;
}

.live-chat-launch-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  color: white;
}

.live-chat-launch-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.live-chat-launch-copy {
  color: white;
  font-size: 0.95rem;
  font-weight: bold;
}

.floating-live-chat-widget.is-collapsed .live-chat-launch-icon {
  width: 2.1rem;
  height: 2.1rem;
  background-color: transparent;
}

.floating-live-chat-widget.is-collapsed .live-chat-launch-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.whatsapp-launch-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  color: white;
}

.whatsapp-launch-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

.whatsapp-launch-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.floating-lead-widget.is-collapsed .whatsapp-launch-icon {
  width: 2.15rem;
  height: 2.15rem;
  background-color: transparent;
}

.floating-lead-widget.is-collapsed .whatsapp-launch-icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.floating-lead-widget.is-collapsed .whatsapp-launch-copy {
  display: grid;
}

.floating-lead-widget.is-collapsed .whatsapp-launch-copy span {
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.floating-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
}

.floating-widget-body,
.floating-lead-body,
.floating-live-chat-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.floating-chat-head {
  display: grid;
  gap: 0.2rem;
}

.floating-chat-head span {
  color: var(--secondary-color);
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-chat-head strong {
  color: var(--primary-color);
  font-size: 0.98rem;
}

.floating-chat-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  border-radius: 999px;
  background-color: rgba(10, 42, 86, 0.07);
  padding: 0.28rem;
}

.floating-chat-tabs button {
  border: none;
  border-radius: 999px;
  background-color: transparent;
  color: #53636f;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: bold;
  padding: 0.52rem 0.6rem;
}

.floating-chat-tabs button.is-active {
  background-color: white;
  color: var(--secondary-color);
  box-shadow: 0 6px 16px rgba(6, 30, 66, 0.1);
}

.quick-enquiry-panel,
.live-chat-panel {
  display: grid;
  gap: 0.75rem;
}

.quick-enquiry-panel[hidden],
.live-chat-panel[hidden] {
  display: none;
}

.floating-chat-messages {
  display: grid;
  gap: 0.55rem;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 16px;
  background-color: rgba(248, 246, 241, 0.76);
  padding: 0.75rem;
}

.floating-chat-message {
  max-width: 92%;
  margin: 0;
  border-radius: 14px;
  padding: 0.62rem 0.72rem;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-line;
}

.floating-chat-message.is-bot {
  justify-self: start;
  background-color: white;
  color: #334451;
}

.floating-chat-message.is-user {
  justify-self: end;
  background-color: rgba(0, 91, 79, 0.12);
  color: var(--primary-color);
}

.floating-chat-form {
  display: grid;
  gap: 0.7rem;
}

.live-chat-panel {
  min-height: 390px;
}

.live-chat-messages {
  align-content: start;
  min-height: 245px;
  max-height: 330px;
}

.live-chat-compose {
  display: grid;
  gap: 0.65rem;
}

.floating-widget-body label,
.floating-lead-body label,
.floating-live-chat-body label {
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: bold;
}

.floating-widget-body input,
.floating-lead-body input,
.floating-lead-body select,
.floating-lead-body textarea,
.floating-live-chat-body textarea {
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  font-family: inherit;
}

.floating-widget-body input:focus,
.floating-lead-body input:focus,
.floating-lead-body select:focus,
.floating-lead-body textarea:focus,
.floating-live-chat-body textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 91, 79, 0.12);
  outline: none;
}

.floating-lead-body textarea,
.floating-live-chat-body textarea {
  resize: vertical;
}

.floating-chat-actions {
  display: grid;
  gap: 0.55rem;
}

.floating-chat-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  justify-self: start;
  width: min(100%, 320px);
}

.floating-chat-action-button {
  min-height: 40px;
  border: 1px solid rgba(10, 42, 86, 0.16);
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary-color);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 0.6rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.floating-chat-action-button.is-agent {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #ffffff;
}

.floating-chat-action-button:hover,
.floating-chat-action-button:focus-visible {
  border-color: var(--secondary-color);
  background: rgba(0, 91, 79, 0.08);
  color: var(--secondary-color);
  outline: none;
}

.floating-chat-action-button.is-agent:hover,
.floating-chat-action-button.is-agent:focus-visible {
  background: #004f44;
  color: #ffffff;
}

.floating-agent-button {
  width: 100%;
  border: 1px solid rgba(0, 91, 79, 0.28);
  border-radius: 4px;
  background-color: white;
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: bold;
  padding: 0.72rem 1rem;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.floating-agent-button:hover,
.floating-agent-button:focus-visible {
  border-color: var(--secondary-color);
  background-color: rgba(0, 91, 79, 0.08);
  outline: none;
}

.floating-result {
  display: grid;
  gap: 0.25rem;
  border-radius: 14px;
  background-color: rgba(201, 154, 46, 0.12);
  padding: 0.8rem;
  color: var(--primary-color);
  font-size: 0.86rem;
  font-weight: bold;
}

.floating-result span {
  color: #53636f;
  font-weight: normal;
}

.floating-lead-widget.is-collapsed .floating-lead-body,
.floating-live-chat-widget.is-collapsed .floating-live-chat-body {
  display: none;
}

.floating-form-note {
  color: #53636f;
  font-size: 0.78rem;
  text-align: center;
}

.floating-form-status {
  min-height: 1.1rem;
  margin: 0;
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
}

footer .premium-footer-grid {
  max-width: 1240px;
  width: 100%;
  grid-template-columns: 170px minmax(255px, 310px) minmax(290px, 1fr) minmax(330px, 380px);
  align-items: start;
  gap: 2rem;
  margin: 0 auto;
}

footer,
footer * {
  overflow-wrap: anywhere;
}

.premium-footer-grid::before {
  display: none;
}

.footer-brand-block {
  display: grid;
  justify-items: start;
  align-content: start;
  min-height: 100%;
  padding-top: 0.2rem;
  grid-column: 1;
}

.footer-logo {
  width: 138px;
  height: 138px;
  border-radius: 26px;
  background-color: white;
  object-fit: contain;
  padding: 0.38rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.footer-services-block {
  text-align: left;
  padding-top: 0;
  grid-column: 2;
}

.footer-services-block h4 {
  margin-bottom: 0.75rem;
}

.footer-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 305px;
  margin: 0;
  gap: 0.45rem;
}

.footer-service-grid a {
  width: 100%;
  min-height: 38px;
  padding: 0.36rem 0.62rem;
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.footer-address-block address {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.55;
}

.footer-address-block {
  text-align: left;
  font-size: 0.92rem;
  grid-column: 3;
}

.footer-address-block p {
  margin-bottom: 0.32rem;
}

.footer-map-block iframe {
  width: 100%;
  min-height: 190px;
  border: 0;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  touch-action: auto;
}

.footer-map-block {
  text-align: left;
  justify-self: end;
  width: 100%;
  grid-column: 4;
}

.footer-map-block h4 {
  margin-bottom: 0.35rem;
}

.map-open-link {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1240px;
  margin: 1rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-terms-note {
  max-width: 1240px;
  margin: 0.5rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.btn-block {
  width: 100%;
}

.text-link {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary-color);
}

.eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(195, 154, 52, 0.14);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.login-page main {
  flex: 1;
}

.login-main {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.login-shell {
  width: min(100%, 460px);
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.login-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-card,
.support-card,
.login-panel {
  border: 1px solid rgba(10, 42, 86, 0.08);
  box-shadow: 0 18px 40px rgba(10, 42, 86, 0.08);
}

.highlight-card {
  padding: 1.35rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.highlight-number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: bold;
}

.highlight-card p {
  color: #4f5f6b;
}

.support-card {
  max-width: 520px;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 24px;
  background-color: var(--primary-color);
  color: white;
}

.support-card h2 {
  margin-bottom: 0.6rem;
}

.support-card p {
  color: rgba(255, 255, 255, 0.85);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.support-links a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.login-panel {
  width: 100%;
  align-self: center;
  padding: 2.15rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(0, 91, 79, 0.1), transparent 32%);
  backdrop-filter: blur(16px);
}

.login-access-form {
  display: grid;
  gap: 1rem;
}

.login-panel-logo {
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 0.85rem;
  border-radius: 20px;
  object-fit: contain;
  background-color: white;
  padding: 0.25rem;
  box-shadow: 0 14px 30px rgba(10, 42, 86, 0.13);
}

.form-intro h2 {
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.form-intro h1 {
  color: var(--primary-color);
  font-size: clamp(1.85rem, 5vw, 2.55rem);
  line-height: 1.08;
  margin: 0.6rem 0 0.3rem;
  text-align: center;
}

.form-intro p {
  color: #5a6a75;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-intro .eyebrow {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.login-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  border-radius: 12px;
  background-color: rgba(10, 42, 86, 0.07);
  padding: 0.32rem;
  margin-top: 0.35rem;
}

.user-auth-switch {
  display: flex;
  justify-content: center;
  gap: 2.75rem;
  border-bottom: 1px solid rgba(10, 42, 86, 0.16);
  margin: 0.15rem 0 0.4rem;
}

.login-mode-switch button,
.user-auth-switch button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: transparent;
  color: #53636f;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.user-auth-switch button {
  position: relative;
  min-height: 42px;
  border-radius: 0;
  padding: 0 0.4rem;
  background-color: transparent;
  font-size: 0.9rem;
  color: #1b2a39;
}

.login-mode-switch button.is-active {
  border-color: rgba(0, 91, 79, 0.16);
  background-color: white;
  color: var(--secondary-color);
  box-shadow: 0 8px 18px rgba(10, 42, 86, 0.1);
}

.user-auth-switch button.is-active {
  color: var(--secondary-color);
}

.user-auth-switch button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background-color: var(--secondary-color);
  content: "";
}

.login-mode-switch button:focus-visible,
.user-auth-switch button:focus-visible {
  outline: 3px solid rgba(0, 91, 79, 0.18);
  outline-offset: 2px;
}

.login-form [hidden] {
  display: none !important;
}

.login-security-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 91, 79, 0.12);
  border-radius: 12px;
  background-color: rgba(232, 246, 242, 0.72);
}

.login-security-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: white;
  font-weight: 900;
}

.login-security-card strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.92rem;
}

.login-security-card p {
  margin: 0.16rem 0 0;
  color: #53636f;
  font-size: 0.82rem;
  line-height: 1.4;
}

.login-form .form-group {
  margin-bottom: 0;
}

.login-form label {
  margin-bottom: 0.48rem;
  color: #263545;
  font-size: 0.95rem;
  font-weight: 850;
}

.login-form input {
  min-height: 44px;
  border: 1px solid rgba(10, 42, 86, 0.22);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input:focus {
  border-color: rgba(0, 91, 79, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 91, 79, 0.12);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: clamp(5.25rem, 34%, 7.25rem);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  border: none;
  border-radius: 999px;
  background-color: rgba(10, 42, 86, 0.08);
  color: var(--primary-color);
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.05;
  max-width: 45%;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
}

.login-form-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.checkbox-field {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.95rem;
  color: #53636f;
}

.checkbox-field input {
  flex: 0 0 auto;
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-field span,
.login-form-row .text-link {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.login-form-row .text-link {
  margin-left: auto;
  text-align: right;
}

.login-status {
  min-height: 1.5rem;
  margin-top: 0.2rem;
  font-weight: bold;
}

.login-status.is-success {
  color: var(--secondary-color);
}

.login-status.is-error {
  color: #b12626;
}

.login-note {
  margin-top: 0.2rem;
  color: #6a7780;
  font-size: 0.92rem;
  text-align: center;
}

.signup-consent {
  margin: 0.2rem 0 1rem;
  color: #5b6872;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.auth-alt-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  color: #6a7780;
  font-size: 0.92rem;
  text-align: center;
}

.auth-alt-copy button {
  border: none;
  background: none;
  color: var(--secondary-color);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0.1rem 0;
}

.auth-alt-copy button:focus-visible {
  outline: 3px solid rgba(0, 91, 79, 0.18);
  outline-offset: 3px;
}

.login-trust-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 42, 86, 0.1);
}

.login-trust-row span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(0, 91, 79, 0.22);
  border-radius: 50%;
  color: var(--secondary-color);
  font-weight: 900;
}

.login-trust-row p {
  margin: 0;
  color: #53636f;
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-consent,
.form-status {
  margin: 0.75rem 0 0;
  color: #5b6872;
  font-size: 0.88rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.3rem;
  white-space: pre-line;
  font-weight: 700;
}

.form-status.is-success,
.floating-form-status.is-success {
  color: var(--secondary-color);
}

.form-status.is-error,
.floating-form-status.is-error {
  color: #b12626;
}

.form-status.is-info,
.floating-form-status.is-info {
  color: var(--primary-color);
}

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.floating-chat-message.is-agent {
  justify-self: start;
  background-color: rgba(10, 42, 86, 0.1);
  color: var(--primary-color);
}

.floating-chat-message.is-system {
  justify-self: center;
  max-width: 100%;
  border: 1px dashed rgba(10, 42, 86, 0.18);
  background-color: rgba(255, 255, 255, 0.7);
  color: #596773;
  font-size: 0.78rem;
  text-align: center;
}

.live-chat-preform,
.live-chat-room {
  display: grid;
  gap: 0.65rem;
}

.live-chat-preform[hidden],
.live-chat-room[hidden] {
  display: none;
}

.floating-live-chat-body input,
.floating-live-chat-body select {
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  font-family: inherit;
}

.floating-live-chat-body input:focus,
.floating-live-chat-body select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 91, 79, 0.12);
  outline: none;
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f7f6f2 0%, #eef3f0 55%, #edf2f8 100%);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: rgba(6, 30, 66, 0.96);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}

.admin-nav a,
.admin-nav span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background-color: white;
  color: var(--primary-color);
}

.admin-nav span {
  opacity: 0.58;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.admin-control-card {
  border: 1px solid rgba(6, 30, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-color);
  padding: 1rem;
  text-decoration: none;
  display: grid;
  gap: 0.45rem;
}

.admin-control-card strong {
  font-size: 1rem;
}

.admin-control-card span,
.admin-table-note {
  color: var(--muted-color);
  font-size: 0.9rem;
}

.admin-filter-bar,
.admin-editor-grid,
.admin-editor-stack {
  display: grid;
  gap: 0.9rem;
}

.admin-filter-bar {
  grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(140px, 190px)) auto auto;
  align-items: end;
}

.admin-editor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-editor-stack {
  align-content: start;
}

.admin-editor-grid label,
.admin-editor-stack label,
.admin-status-form label,
.admin-filter-bar label {
  display: grid;
  gap: 0.35rem;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.88rem;
}

.admin-editor-grid input,
.admin-editor-grid textarea,
.admin-editor-stack input,
.admin-editor-stack textarea,
.admin-status-form textarea,
.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  border: 1px solid rgba(6, 30, 66, 0.14);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.admin-editor-grid textarea,
.admin-editor-stack textarea,
.admin-status-form textarea {
  resize: vertical;
}

.admin-editor-grid .span-2 {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.admin-metric-grid.compact {
  margin-top: 1rem;
}

.admin-main {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.admin-heading {
  margin-bottom: 1.5rem;
}

.admin-heading h1 {
  margin-top: 0.8rem;
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-heading p:not(.eyebrow) {
  max-width: 760px;
  color: #53636f;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.admin-metric-grid article,
.admin-panel {
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(10, 42, 86, 0.08);
}

.admin-metric-grid article {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
}

.admin-metric-grid span,
.admin-detail-grid span {
  color: #5b6872;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-metric-grid strong {
  color: var(--primary-color);
  font-size: 2.1rem;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.admin-panel {
  padding: 1rem;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.admin-panel-head h2,
.admin-status-form h2 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.admin-panel-head a,
.table-action {
  color: var(--secondary-color);
  font-weight: 800;
  text-decoration: none;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(10, 42, 86, 0.08);
  padding: 0.78rem 0.7rem;
  color: #344451;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--primary-color);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  background-color: rgba(0, 91, 79, 0.1);
  color: var(--secondary-color);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-detail-grid div {
  display: grid;
  gap: 0.25rem;
  border-radius: 8px;
  background-color: rgba(10, 42, 86, 0.04);
  padding: 0.85rem;
}

.admin-detail-grid strong {
  color: var(--primary-color);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-status-form {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.admin-status-form label,
.admin-chat-compose label {
  color: var(--primary-color);
  font-weight: 800;
}

.admin-status-form select,
.admin-chat-compose textarea {
  width: 100%;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: inherit;
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1rem;
}

.admin-chat-thread {
  display: grid;
  gap: 1rem;
}

.admin-chat-messages {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 360px;
  max-height: 58vh;
  overflow-y: auto;
  border-radius: 8px;
  background-color: rgba(10, 42, 86, 0.04);
  padding: 1rem;
}

.admin-chat-message {
  display: grid;
  gap: 0.25rem;
  max-width: 78%;
  margin: 0;
  border-radius: 8px;
  background-color: white;
  padding: 0.8rem;
  box-shadow: 0 8px 20px rgba(10, 42, 86, 0.08);
}

.admin-chat-message.is-customer {
  justify-self: start;
}

.admin-chat-message.is-agent {
  justify-self: end;
  background-color: rgba(0, 91, 79, 0.1);
}

.admin-chat-message.is-system {
  justify-self: center;
  max-width: 100%;
  background-color: rgba(195, 154, 52, 0.12);
  text-align: center;
}

.admin-chat-message strong {
  color: var(--primary-color);
  text-transform: capitalize;
}

.admin-chat-message small {
  color: #6a7780;
}

.admin-timeline {
  display: grid;
  gap: 0.85rem;
}

.admin-timeline-item {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.82);
  padding: 0.95rem;
}

.admin-timeline-item.is-internal {
  background-color: rgba(195, 154, 52, 0.12);
}

.admin-timeline-item div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.admin-timeline-item strong {
  color: var(--primary-color);
}

.admin-timeline-item span,
.admin-timeline-item small {
  color: #6a7780;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-timeline-item p {
  color: #344451;
}

.user-dashboard-main .admin-metric-grid strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  overflow-wrap: anywhere;
}

.user-dashboard-page {
  background:
    linear-gradient(135deg, rgba(245, 248, 247, 0.96), rgba(255, 252, 242, 0.9));
}

.user-dashboard-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.user-dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 42, 86, 0.08);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.94);
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(10, 42, 86, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.user-dashboard-card:hover {
  box-shadow: 0 20px 42px rgba(10, 42, 86, 0.12);
}

.user-dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background-color: var(--primary-color);
}

.user-dashboard-card.accent-teal {
  background-color: rgba(238, 249, 246, 0.94);
}

.user-dashboard-card.accent-teal::before {
  background-color: var(--secondary-color);
}

.user-dashboard-card.accent-gold {
  background-color: rgba(255, 249, 232, 0.95);
}

.user-dashboard-card.accent-gold::before {
  background-color: #c39a34;
}

.user-dashboard-card.accent-soft {
  background-color: rgba(247, 249, 250, 0.95);
}

.crm-controls-form {
  gap: 1rem;
}

.crm-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.crm-controls-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-controls-grid fieldset {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  border: 1px solid rgba(10, 42, 86, 0.1);
  border-radius: 8px;
  padding: 0.95rem;
}

.crm-controls-grid legend {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 900;
  padding: 0 0.35rem;
}

.crm-controls-form label {
  font-size: 0.94rem;
}

.crm-controls-form input,
.crm-controls-form select,
.crm-controls-form textarea,
.admin-status-form input,
.admin-status-form select {
  width: 100%;
  border: 1px solid rgba(10, 42, 86, 0.14);
  border-radius: 8px;
  padding: 0.78rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .user-dashboard-sections,
  .crm-controls-grid,
  .crm-controls-grid.compact {
    grid-template-columns: 1fr;
  }
}

.admin-chat-compose {
  display: grid;
  gap: 0.7rem;
}

.admin-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-page {
  background:
    radial-gradient(circle at top left, rgba(195, 154, 52, 0.16), transparent 34%),
    linear-gradient(135deg, #f7f6f2 0%, #eef3f0 55%, #edf2f8 100%);
}

.home-page .hero,
.home-page .calculator-section {
  background-color: rgba(255, 255, 255, 0.27);
  backdrop-filter: blur(1px);
}

.home-page .services-section,
.home-page .contact-section {
  background-color: rgba(245, 245, 245, 0.25);
  backdrop-filter: blur(1px);
}

@media (max-width: 1100px) {
  footer {
    padding-bottom: 1rem;
  }

  footer .premium-footer-grid {
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .footer-brand-block,
  .footer-services-block,
  .footer-address-block,
  .footer-map-block {
    grid-column: auto;
  }

  .footer-service-grid {
    max-width: 100%;
  }

  .footer-map-block {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .services-intro-panel {
    grid-template-columns: 1fr;
  }

  .about-identity-panel {
    grid-template-columns: 1fr;
  }

  .student-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.login-page .login-developer-credit {
    width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100vw;
    padding: 0.75rem 0.85rem;
    min-height: auto;
    overflow: visible;
  }

  .header-left {
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    gap: 0.45rem;
  }

  header .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .header-home-link {
    max-width: 100%;
    height: 2.35rem;
    padding: 0.5rem 0.68rem;
    font-size: 0.82rem;
  }

  .header-login-link {
    height: 2.35rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
  }

  .site-logo {
    width: 1.45rem;
    height: 1.45rem;
    max-width: 1.45rem;
    max-height: 1.45rem;
  }

  .header-right {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-width: 0;
    position: static;
  }

  .header-calculator-button {
    height: 2.5rem;
    padding: 0.5rem 0.68rem;
    font-size: 0.7rem;
  }

  .translate-chip {
    max-width: 100%;
    min-width: 0;
    padding: 0.2rem 0.25rem;
  }

  .translate-chip span {
    display: none;
  }

  .language-select {
    max-width: 5.7rem;
    padding: 0.42rem 0.58rem;
    font-size: 0.76rem;
  }

  header nav {
    display: none;
  }

  header.nav-open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    top: calc(100% + 0.45rem);
    width: auto;
    max-width: calc(100vw - 1.7rem);
    align-items: stretch;
    background-color: rgba(8, 28, 58, 0.95);
    padding: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(6, 30, 66, 0.28);
    transform: none;
    z-index: 1600;
  }

  header.nav-open nav a {
    width: 100%;
    margin-bottom: 0.45rem;
    text-align: center;
  }

  header.nav-open nav a:last-child {
    margin-bottom: 0;
  }

  .login-main {
    min-height: calc(100vh - 76px);
    padding: 2rem 1rem 3rem;
  }

  .login-shell {
    grid-template-columns: 1fr;
    width: min(100%, 430px);
  }

  .login-highlights {
    grid-template-columns: 1fr;
  }

  .login-panel {
    padding: 1.5rem;
  }

  .login-form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-form-row .text-link {
    margin-left: 0;
    text-align: left;
  }

  .home-hero {
    padding: 3rem 1rem 2.5rem;
  }

  .contact-lab-hero,
  .contact-command-center,
  .office-navigator,
  .home-hero-grid,
  .services-intro-panel,
  .about-identity-panel,
  .visual-story-head,
  .page-visual-grid,
  .company-help-grid,
  .assurance-panel,
  .content-band,
  .service-process-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-story-card,
  .hero-lower-content,
  .hero-side-content {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-lower-content,
  .hero-side-content {
    margin-top: 1.25rem;
  }

  .hero-side-content {
    transform: none;
  }

  .dense-card-grid,
  .eligibility-readiness-grid,
  .contact-prep-grid,
  .service-support-grid,
  .student-trust-grid,
  .visual-card-grid,
  .page-visual-stats,
  .page-visual-tiles,
  .dashboard-preview-grid,
  .destination-summary-panel,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .process-strip,
  .mini-process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-mission-card {
    min-height: 340px;
  }

  .contact-lab-hero {
    padding: 3rem 0 1.5rem;
  }

  .contact-hero-badge {
    justify-self: center;
    max-width: 260px;
  }

  .contact-form-grid,
  .response-grid {
    grid-template-columns: 1fr;
  }

  .office-map-card,
  .office-map-card iframe {
    min-height: 280px;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-feature-grid,
  .hero-proof-row {
    grid-template-columns: 1fr;
  }

  .hero-story-card {
    min-height: 500px;
    border-radius: 24px;
  }

  .hero-story-slide {
    padding: 1rem;
  }

  .hero-story-overlay {
    max-width: calc(100% - 0.5rem);
    padding: 0.95rem;
  }

  .hero-metric-stack {
    top: 0.85rem;
    right: 0.85rem;
    left: auto;
    width: min(108px, calc(100% - 1.7rem));
    grid-template-columns: 1fr;
  }

  .hero-metric-stack article {
    min-height: auto;
    padding: 0.62rem 0.75rem;
  }

  .hero-metric-stack strong,
  .hero-metric-stack span {
    display: block;
  }

  .hero-metric-stack span {
    margin-left: 0;
    margin-top: 0.2rem;
    font-size: 0.68rem;
  }

  .visual-story-section {
    padding: 2rem 1rem;
  }

  .visual-story-head {
    gap: 0.9rem;
  }

  .visual-card {
    min-height: 235px;
  }

  .page-visual-system {
    padding: 0 1rem;
  }

  .page-visual-stage {
    min-height: 350px;
    border-radius: 24px;
  }

  .page-visual-stage::after {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .page-visual-logo {
    right: 0.75rem;
    top: 0.75rem;
    width: 64px;
    height: 64px;
  }

  .page-visual-caption {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.95rem;
  }

  .page-visual-tiles article {
    min-height: auto;
  }

  .hero-floating-badge {
    padding: 0.7rem 0.85rem;
  }

  .hero-fast-badge {
    top: 0.75rem;
    right: 0.75rem;
  }

  .hero-safe-badge {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .hero-story-dots {
    right: 1rem;
    bottom: 1rem;
  }

  .hero-assurance-card {
    padding: 1.35rem;
  }

  .image-slide {
    width: 78vw;
    height: 190px;
  }

  .floating-emi-panel {
    top: 5.7rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: calc(100vw - 2rem);
    transform: translateY(-8px);
  }

  .floating-emi-panel.is-open {
    transform: translateY(0);
  }

  .floating-lead-widget {
    top: auto;
    left: 1rem;
    right: 1rem;
    bottom: auto;
    width: auto;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 5.75rem);
    max-height: calc(100dvh - 5.75rem);
    transform: none;
  }

  .floating-lead-widget.is-collapsed {
    left: auto;
    right: 1rem;
    bottom: 4.75rem;
    width: auto;
    max-width: calc(100vw - 2rem);
    transform: none;
  }

  .floating-lead-widget.is-collapsed .floating-lead-toggle {
    width: auto;
    min-height: auto;
    border-radius: 999px;
    padding: 0.62rem 0.95rem 0.62rem 0.68rem;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .floating-live-chat-widget {
    top: clamp(4.75rem, 10dvh, 5.5rem);
    left: 1rem;
    right: 1rem;
    bottom: auto;
    width: auto;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 5.75rem);
    max-height: calc(100dvh - 5.75rem);
  }

  .floating-live-chat-widget.is-collapsed {
    top: auto;
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: calc(100vw - 2rem);
    transform: none;
  }

  .floating-lead-body,
  .floating-live-chat-body {
    max-height: calc(100vh - 10.5rem);
    max-height: calc(100dvh - 10.5rem);
    overflow-y: auto;
  }

  footer .premium-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .premium-footer-grid::before {
    display: none;
  }

  .footer-logo {
    width: 140px;
    height: 140px;
  }

  .footer-brand-block,
  .footer-address-block,
  .footer-map-block {
    grid-column: auto;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-services-block {
    grid-column: auto;
    text-align: center;
  }

  .footer-brand-block {
    padding-top: 0;
  }

  .footer-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .footer-map-block iframe {
    min-height: 220px;
  }

  body.login-page .login-developer-credit {
    margin-top: 12px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .planner-shell,
  .planner-control-grid,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .planner-controls,
  .planner-results {
    padding: 1rem;
  }

  .range-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .range-label input {
    width: 100%;
    text-align: left;
  }

  .mini-table-row {
    grid-template-columns: 0.45fr repeat(3, 1fr);
    font-size: 0.7rem;
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .content-hero {
    padding-top: 2.25rem;
  }

  .home-focus-section,
  .process-strip-section,
  .home-assurance-section,
  .next-dashboard-section,
  .destination-planner-section {
    padding: 1.5rem 1rem;
  }

  .destination-shell {
    border-radius: 24px;
    padding: 1rem;
  }

  .destination-toolbar {
    justify-content: flex-start;
  }

  .destination-filter {
    flex: 1 1 auto;
  }

  #destination-filter-count {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .destination-footer-note,
  .responsibility-note {
    flex-direction: column;
  }

  .services-intro-panel {
    border-radius: 22px;
  }

  .success-carousel {
    --story-card-width: min(86vw, 340px);
    --story-gap: 0.9rem;
    margin-inline: -0.25rem;
    border-radius: 24px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .success-story-card,
  .story-card-content {
    min-height: 320px;
  }

  .story-person {
    align-items: flex-start;
  }

  .admin-topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .admin-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .admin-filter-bar,
  .admin-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-metric-grid,
  .admin-detail-grid,
  .admin-chat-layout {
    grid-template-columns: 1fr;
  }

  .admin-chat-message {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-link-card,
  .service-link-card::before,
  .service-bg,
  .success-carousel-track,
  .success-story-card,
  .story-card-bg,
  .student-trust-grid article {
    animation: none;
    transition-duration: 0.01ms;
  }

  .success-carousel {
    overflow-x: auto;
    mask-image: none;
    scroll-snap-type: x mandatory;
  }

  .success-story-card {
    scroll-snap-align: start;
  }

  .service-link-card:hover .service-bg-one {
    opacity: 1;
  }

  .service-link-card:hover .service-bg-two,
  .service-link-card:hover .service-bg-three {
    opacity: 0;
  }
}

/* ============================================================
   Tubes interactive intro (full-screen, above the hero).
   The canvas is rendered by threejs-components/cursors/tubes1.
   ============================================================ */
.tubes-intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #0a2755 0%, #050d20 70%, #02040b 100%);
  isolation: isolate;
  cursor: crosshair;
}

.tubes-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  touch-action: none;
}

.tubes-solar-field,
.tubes-meteor-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.tubes-solar-field {
  opacity: 0.64;
}

.tubes-solar-field::before,
.tubes-solar-field::after,
.tubes-solar-field > span {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tubes-solar-field::before {
  right: -18vw;
  top: 8vh;
  width: min(92vw, 1120px);
  height: min(78vh, 760px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 47%, rgba(244, 210, 99, 0.22) 0 5%, transparent 12%),
    radial-gradient(circle at 55% 45%, rgba(112, 201, 188, 0.16), transparent 32%),
    radial-gradient(circle at 38% 54%, rgba(92, 125, 255, 0.11), transparent 46%),
    radial-gradient(circle at 71% 42%, rgba(255, 255, 255, 0.13), transparent 56%);
  filter: blur(8px);
  animation: tubes-solar-field-drift 24s ease-in-out infinite;
}

.tubes-solar-field::after {
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.9px),
    radial-gradient(circle at 88% 33%, rgba(201, 154, 46, 0.64) 0 1px, transparent 1.9px),
    radial-gradient(circle at 70% 63%, rgba(112, 201, 188, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 19% 22%, rgba(255, 255, 255, 0.44) 0 1px, transparent 2px),
    radial-gradient(circle at 31% 72%, rgba(201, 154, 46, 0.42) 0 1px, transparent 2px);
  opacity: 0.76;
}

.tubes-solar-field__orbit {
  left: 73%;
  top: 43%;
  border: 1px solid rgba(248, 246, 241, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  box-shadow:
    inset 0 0 42px rgba(112, 201, 188, 0.05),
    0 0 34px rgba(201, 154, 46, 0.04);
  animation: tubes-solar-orbit-turn 46s linear infinite;
}

.tubes-solar-field__orbit--one {
  width: min(76vw, 1040px);
  height: min(34vw, 430px);
  opacity: 0.72;
}

.tubes-solar-field__orbit--two {
  width: min(59vw, 780px);
  height: min(27vw, 340px);
  border-color: rgba(112, 201, 188, 0.18);
  transform: translate(-50%, -50%) rotate(12deg);
  animation-duration: 58s;
  animation-direction: reverse;
}

.tubes-solar-field__orbit--three {
  width: min(42vw, 560px);
  height: min(19vw, 250px);
  border-color: rgba(201, 154, 46, 0.18);
  transform: translate(-50%, -50%) rotate(32deg);
  animation-duration: 38s;
}

.tubes-solar-field__planet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f3d36b;
  box-shadow: 0 0 18px rgba(243, 211, 107, 0.7);
  animation: tubes-solar-planet-breathe 5.8s ease-in-out infinite;
}

.tubes-solar-field__planet--one {
  right: 18%;
  top: 31%;
}

.tubes-solar-field__planet--two {
  right: 28%;
  top: 63%;
  width: 6px;
  height: 6px;
  background: #70c9bc;
  box-shadow: 0 0 16px rgba(112, 201, 188, 0.66);
  animation-delay: -2s;
}

.tubes-solar-field__planet--three {
  right: 10%;
  top: 52%;
  width: 5px;
  height: 5px;
  background: #90a8ff;
  box-shadow: 0 0 15px rgba(144, 168, 255, 0.58);
  animation-delay: -3.4s;
}

.tubes-meteor {
  --start-x: -16vw;
  --start-y: 8vh;
  --mid-x: 33vw;
  --mid-y: 18vh;
  --orbit-x: 64vw;
  --orbit-y: 34vh;
  --exit-x: 92vw;
  --exit-y: 45vh;
  --angle-a: 19deg;
  --angle-b: 23deg;
  --angle-c: 31deg;
  --duration: 17s;
  --delay: 0s;
  --meteor-core: rgba(255, 246, 206, 0.9);
  --meteor-trail: rgba(229, 185, 77, 0.44);
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(78px, 10vw, 160px);
  height: 1.5px;
  border-radius: 999px;
  opacity: 0;
  transform-origin: 100% 50%;
  filter:
    drop-shadow(0 0 6px var(--meteor-trail))
    drop-shadow(0 0 14px rgba(112, 201, 188, 0.1));
  animation: tubes-meteor-drift var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.tubes-meteor::before,
.tubes-meteor::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tubes-meteor::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(112, 201, 188, 0.04) 22%,
      var(--meteor-trail) 78%,
      var(--meteor-core) 100%);
}

.tubes-meteor::after {
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 18%, var(--meteor-core) 34%, var(--meteor-trail) 66%, transparent 78%);
  box-shadow:
    0 0 7px rgba(255, 255, 255, 0.72),
    0 0 14px var(--meteor-trail);
  transform: translateY(-50%);
}

.tubes-meteor:nth-child(1) {
  --start-y: 4vh;
  --mid-x: 27vw;
  --mid-y: 12vh;
  --orbit-x: 62vw;
  --orbit-y: 29vh;
  --exit-y: 37vh;
  --duration: 18s;
  --delay: -2.8s;
}

.tubes-meteor:nth-child(2) {
  --start-y: 15vh;
  --mid-x: 39vw;
  --mid-y: 21vh;
  --orbit-x: 69vw;
  --orbit-y: 35vh;
  --exit-y: 47vh;
  --angle-a: 15deg;
  --angle-b: 21deg;
  --angle-c: 29deg;
  --duration: 21s;
  --delay: -11s;
  --meteor-trail: rgba(124, 213, 255, 0.36);
}

.tubes-meteor:nth-child(3) {
  --start-y: 25vh;
  --mid-x: 34vw;
  --mid-y: 30vh;
  --orbit-x: 63vw;
  --orbit-y: 42vh;
  --exit-y: 51vh;
  --angle-a: 11deg;
  --angle-b: 17deg;
  --angle-c: 24deg;
  --duration: 19.5s;
  --delay: -15.4s;
}

.tubes-meteor:nth-child(4) {
  --start-y: 0vh;
  --mid-x: 47vw;
  --mid-y: 13vh;
  --orbit-x: 72vw;
  --orbit-y: 28vh;
  --exit-y: 39vh;
  --angle-a: 22deg;
  --angle-b: 27deg;
  --angle-c: 36deg;
  --duration: 23s;
  --delay: -6.5s;
  --meteor-trail: rgba(184, 247, 224, 0.34);
}

.tubes-meteor:nth-child(5) {
  --start-y: 36vh;
  --mid-x: 42vw;
  --mid-y: 38vh;
  --orbit-x: 66vw;
  --orbit-y: 48vh;
  --exit-y: 55vh;
  --angle-a: 8deg;
  --angle-b: 14deg;
  --angle-c: 22deg;
  --duration: 24s;
  --delay: -19.2s;
  --meteor-trail: rgba(255, 227, 143, 0.34);
}

.tubes-meteor:nth-child(6) {
  --start-y: 9vh;
  --mid-x: 21vw;
  --mid-y: 20vh;
  --orbit-x: 58vw;
  --orbit-y: 33vh;
  --exit-y: 44vh;
  --angle-a: 25deg;
  --angle-b: 29deg;
  --angle-c: 38deg;
  --duration: 20s;
  --delay: -8.4s;
  --meteor-trail: rgba(255, 227, 143, 0.38);
}

.tubes-meteor:nth-child(7) {
  --start-y: 19vh;
  --mid-x: 52vw;
  --mid-y: 26vh;
  --orbit-x: 75vw;
  --orbit-y: 38vh;
  --exit-y: 49vh;
  --angle-a: 12deg;
  --angle-b: 20deg;
  --angle-c: 30deg;
  --duration: 26s;
  --delay: -23s;
  --meteor-trail: rgba(128, 151, 255, 0.3);
}

.tubes-meteor:nth-child(8) {
  --start-y: 44vh;
  --mid-x: 29vw;
  --mid-y: 43vh;
  --orbit-x: 60vw;
  --orbit-y: 52vh;
  --exit-y: 56vh;
  --angle-a: 6deg;
  --angle-b: 12deg;
  --angle-c: 19deg;
  --duration: 22s;
  --delay: -13.5s;
}

.tubes-meteor:nth-child(9) {
  --start-y: -4vh;
  --mid-x: 32vw;
  --mid-y: 8vh;
  --orbit-x: 66vw;
  --orbit-y: 25vh;
  --exit-y: 34vh;
  --angle-a: 24deg;
  --angle-b: 30deg;
  --angle-c: 39deg;
  --duration: 28s;
  --delay: -17s;
  --meteor-trail: rgba(255, 255, 255, 0.3);
}

.tubes-galaxy {
  position: absolute;
  right: clamp(2.5rem, 9vw, 10rem);
  top: clamp(16rem, 42vh, 28rem);
  z-index: 1;
  width: clamp(190px, 23vw, 360px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.9;
  transform: translateY(-50%) rotate(-12deg);
  filter:
    drop-shadow(0 0 24px rgba(201, 154, 46, 0.2))
    drop-shadow(0 0 52px rgba(0, 91, 79, 0.14));
  mix-blend-mode: screen;
}

.tubes-galaxy::before,
.tubes-galaxy::after,
.tubes-galaxy > span {
  position: absolute;
  pointer-events: none;
}

.tubes-galaxy::before {
  content: "";
  inset: -36%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 18%, rgba(248, 246, 241, 0.85) 0 1.2px, transparent 2px),
    radial-gradient(circle at 86% 58%, rgba(201, 154, 46, 0.85) 0 1px, transparent 1.9px),
    radial-gradient(circle at 34% 82%, rgba(112, 201, 188, 0.76) 0 1.1px, transparent 2px),
    radial-gradient(circle at 58% 8%, rgba(255, 255, 255, 0.62) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 8% 66%, rgba(201, 154, 46, 0.62) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 68% 76%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  opacity: 0.76;
  animation: tubes-galaxy-twinkle 4.8s ease-in-out infinite;
}

.tubes-galaxy::after {
  content: "";
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(201, 154, 46, 0.22), transparent 38%),
    radial-gradient(circle at center, rgba(0, 91, 79, 0.14), transparent 62%);
  filter: blur(26px);
  opacity: 0.86;
  animation: tubes-solar-breathe 9s ease-in-out infinite;
}

.tubes-galaxy__dust {
  inset: 1%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 38%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 43% 28%, rgba(201, 154, 46, 0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 64% 43%, rgba(112, 201, 188, 0.78) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 70%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 61%, rgba(201, 154, 46, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 20% 66%, rgba(107, 139, 255, 0.68) 0 1px, transparent 2px);
  animation: tubes-galaxy-drift 17s linear infinite;
}

.tubes-galaxy__disc {
  inset: 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 4%, rgba(201, 154, 46, 0.82) 5% 9%, transparent 15%),
    conic-gradient(from 28deg,
      transparent 0deg,
      rgba(201, 154, 46, 0.05) 20deg,
      rgba(201, 154, 46, 0.56) 44deg,
      rgba(255, 255, 255, 0.18) 62deg,
      transparent 88deg,
      rgba(0, 91, 79, 0.42) 128deg,
      transparent 168deg,
      rgba(31, 78, 140, 0.38) 218deg,
      rgba(201, 154, 46, 0.44) 250deg,
      transparent 304deg,
      rgba(255, 255, 255, 0.12) 330deg,
      transparent 360deg);
  filter: blur(0.6px);
  transform: scaleX(1.42) rotate(9deg);
  animation: tubes-galaxy-spin 34s linear infinite;
  mask-image: radial-gradient(ellipse at center, #000 0 58%, transparent 76%);
}

.tubes-galaxy__core {
  inset: 42%;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 16%, #f5d46d 18% 42%, rgba(201, 154, 46, 0.22) 62%, transparent 72%);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.92),
    0 0 42px rgba(201, 154, 46, 0.72),
    0 0 72px rgba(0, 91, 79, 0.36);
}

.tubes-galaxy__orbit {
  inset: 23%;
  z-index: 1;
  border: 1px solid rgba(248, 246, 241, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(201, 154, 46, 0.08);
}

.tubes-galaxy__orbit--outer {
  transform: rotate(23deg) scaleX(1.58);
  animation: tubes-galaxy-orbit 18s linear infinite;
}

.tubes-galaxy__orbit--inner {
  inset: 33%;
  border-color: rgba(112, 201, 188, 0.34);
  transform: rotate(-18deg) scaleX(1.5);
  animation: tubes-galaxy-orbit 14s linear infinite reverse;
}

.tubes-galaxy__planet {
  z-index: 3;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 0 20px currentColor;
}

.tubes-galaxy__planet--gold {
  right: 16%;
  top: 37%;
  width: 8px;
  height: 8px;
  color: rgba(201, 154, 46, 0.9);
  background: #e0b552;
  animation: tubes-galaxy-pulse 3s ease-in-out infinite;
}

.tubes-galaxy__planet--green {
  left: 25%;
  bottom: 31%;
  width: 6px;
  height: 6px;
  color: rgba(112, 201, 188, 0.86);
  background: #70c9bc;
  animation: tubes-galaxy-pulse 3.4s ease-in-out infinite 0.7s;
}

.tubes-galaxy__planet--blue {
  right: 30%;
  bottom: 22%;
  width: 5px;
  height: 5px;
  color: rgba(107, 139, 255, 0.78);
  background: #6b8bff;
  animation: tubes-galaxy-pulse 3.8s ease-in-out infinite 1.1s;
}

.tubes-galaxy__star {
  z-index: 3;
  width: 22px;
  height: 22px;
  opacity: 0.82;
}

.tubes-galaxy__star::before,
.tubes-galaxy__star::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.94), transparent);
  transform: translate(-50%, -50%);
}

.tubes-galaxy__star::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tubes-galaxy__star--one {
  left: 14%;
  top: 20%;
  animation: tubes-galaxy-flare 3.7s ease-in-out infinite;
}

.tubes-galaxy__star--two {
  right: 7%;
  top: 22%;
  transform: scale(0.74);
  animation: tubes-galaxy-flare 4.1s ease-in-out infinite 1s;
}

.tubes-galaxy__star--three {
  left: 61%;
  bottom: 6%;
  transform: scale(0.62);
  animation: tubes-galaxy-flare 4.6s ease-in-out infinite 1.8s;
}

.tubes-intro-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 100vh;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.tubes-intro-eyebrow {
  font-family: var(--brand-font-family);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0;
}

.tubes-intro-brand {
  font-family: var(--brand-font-family);
  font-size: clamp(4.2rem, 11vw, 8.8rem);
  font-weight: 800;
  line-height: 0.88;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0;
}

.tubes-intro-tagline {
  font-family: var(--brand-font-family);
  font-size: clamp(2.1rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--accent-color);
  margin: 0;
  letter-spacing: 0;
}

.tubes-intro-title {
  font-family: var(--font-family);
  font-size: clamp(0.82rem, 1.35vw, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  margin: 0.25rem 0 0;
  letter-spacing: 0;
}

.tubes-intro-title span {
  color: var(--accent-color);
  font-style: normal;
}

.tubes-intro-lead {
  max-width: 36rem;
  margin: 0.25rem 0 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.tubes-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  pointer-events: auto;
}

.tubes-intro-cta,
.tubes-intro-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tubes-intro-cta {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 35px rgba(201, 154, 46, 0.35);
}

.tubes-intro-cta:hover {
  transform: translateY(-2px);
  background-color: #e0b552;
}

.tubes-intro-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tubes-intro-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.16);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.tubes-intro-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  pointer-events: auto;
  display: grid;
  place-items: center;
}

.tubes-intro-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: tubes-intro-scroll-pulse 1.6s ease-in-out infinite;
}

@keyframes tubes-intro-scroll-pulse {
  0%, 100% { transform: translateY(-6px); opacity: 0.2; }
  50%      { transform: translateY(6px);  opacity: 1;   }
}

@keyframes tubes-galaxy-spin {
  to { transform: scaleX(1.42) rotate(369deg); }
}

@keyframes tubes-galaxy-orbit {
  to { rotate: 360deg; }
}

@keyframes tubes-galaxy-drift {
  to { transform: rotate(360deg); }
}

@keyframes tubes-galaxy-twinkle {
  0%, 100% { opacity: 0.56; filter: brightness(0.9); }
  50% { opacity: 0.92; filter: brightness(1.28); }
}

@keyframes tubes-galaxy-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.76; }
  50% { transform: scale(1.16); opacity: 1; }
}

@keyframes tubes-galaxy-flare {
  0%, 100% { opacity: 0.25; transform: scale(0.58) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1) rotate(20deg); }
}

@keyframes tubes-solar-field-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.98); opacity: 0.68; }
  50% { transform: translate3d(-1.2vw, 1vh, 0) scale(1.03); opacity: 0.88; }
}

@keyframes tubes-solar-orbit-turn {
  to { rotate: 360deg; }
}

@keyframes tubes-solar-planet-breathe {
  0%, 100% { transform: scale(0.88); opacity: 0.62; }
  50% { transform: scale(1.16); opacity: 1; }
}

@keyframes tubes-meteor-drift {
  0% {
    opacity: 0;
    transform: translate3d(var(--start-x), var(--start-y), 0) rotate(var(--angle-a)) scaleX(0.18) scaleY(0.72);
  }

  14% {
    opacity: 0.46;
  }

  48% {
    opacity: 0.64;
    transform: translate3d(var(--mid-x), var(--mid-y), 0) rotate(var(--angle-a)) scaleX(0.9) scaleY(0.92);
  }

  76% {
    opacity: 0.48;
    transform: translate3d(var(--orbit-x), var(--orbit-y), 0) rotate(var(--angle-b)) scaleX(0.68) scaleY(0.84);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--exit-x), var(--exit-y), 0) rotate(var(--angle-c)) scaleX(0.28) scaleY(0.72);
  }
}

@keyframes tubes-solar-breathe {
  0%, 100% { transform: scale(0.98); opacity: 0.72; }
  50% { transform: scale(1.03); opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .tubes-solar-field::before,
  .tubes-solar-field__orbit,
  .tubes-solar-field__planet,
  .tubes-galaxy,
  .tubes-galaxy *,
  .tubes-galaxy::before,
  .tubes-galaxy::after,
  .tubes-meteor {
    animation: none;
  }

  .tubes-meteor {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .tubes-meteor-field {
    opacity: 0.52;
  }

  .tubes-meteor:nth-child(n+6) {
    display: none;
  }

  .tubes-galaxy {
    right: 50%;
    top: 62%;
    width: min(58vw, 230px);
    opacity: 0.34;
    transform: translate(50%, -50%) rotate(-12deg);
  }

  .tubes-galaxy__orbit,
  .tubes-galaxy__star--two,
  .tubes-galaxy__star--three {
    display: none;
  }

  .tubes-intro-overlay { padding: 5rem 1rem 5rem; }
  .tubes-intro-brand { font-size: clamp(3.15rem, 17vw, 5rem); }
  .tubes-intro-tagline { font-size: clamp(1.55rem, 8.5vw, 2.5rem); }
  .tubes-intro-title { font-size: 0.82rem; }
  .tubes-intro-actions { flex-direction: column; width: 100%; max-width: 18rem; }
  .tubes-intro-cta,
  .tubes-intro-secondary { width: 100%; }
}

/* ============================================================
   A3 — Magnetic buttons + tactile press feedback.
   Uses the standalone `translate` longhand (not the `transform`
   property) so it composes additively with the existing :hover
   transforms on .btn / .apply-btn / .secondary-btn etc.
   JS sets --magnet-x / --magnet-y from initMagneticButtons().
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .btn,
  .apply-btn,
  .cta-btn,
  button[data-magnetic],
  a[data-magnetic] {
    translate: var(--magnet-x, 0) var(--magnet-y, 0);
    transition:
      translate 0.18s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.3s,
      border-color 0.3s,
      color 0.3s,
      box-shadow 0.3s;
    will-change: translate, transform;
  }
}

/* Tactile press — sub-pixel scale on active. Standalone `scale`
   longhand composes with any existing `transform`. */
.btn:active,
.apply-btn:active,
.cta-btn:active,
button[data-magnetic]:active,
a[data-magnetic]:active {
  scale: 0.985;
  transition-duration: 0.08s !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .apply-btn, .cta-btn,
  button[data-magnetic], a[data-magnetic] {
    translate: 0 0 !important;
    transition-duration: 0s !important;
  }
}

/* ============================================================
   A6 — Site-wide polish: scroll-progress bar, logo 3D tilt on
   hover, animated nav link underline.
   ============================================================ */

/* Scroll progress bar — injected by initScrollProgress(). 2px tall,
   ivory→gold gradient, scaleX driven from JS for cheap updates. */
#nidhi-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--light-color), var(--accent-color));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.05s linear;
}

@media (prefers-reduced-motion: reduce) {
  #nidhi-scroll-progress { display: none; }
}

/* Logo: gentle 3D rotation on hover. Perspective on the parent so the
   inner image rotates in space rather than flattening. */
@media (hover: hover) and (pointer: fine) {
  .header-home-link {
    perspective: 800px;
  }

  .header-home-link .site-logo {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    transform-origin: 50% 50%;
  }

  .header-home-link:hover .site-logo {
    transform: rotateY(14deg) rotateX(-5deg) scale(1.06);
  }
}

/* Nav link underline — gold gradient that scales in from the left. */
header nav a {
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), transparent 90%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
  header nav a:hover::after,
  header nav a:focus-visible::after,
  header nav a.is-active::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-home-link:hover .site-logo {
    transform: none !important;
  }
  header nav a::after {
    transition: none;
  }
}

/* ============================================================
   A6 — Site-wide :focus-visible polish for keyboard users.
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   A7 — Cross-document View Transitions.
   Chromium-based browsers (2026 onward) honor the @view-transition
   rule and fade old→new page when navigating between same-origin
   documents. Safari/Firefox ignore it and fall back to plain
   navigation. No JS required.
   ============================================================ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 320ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(root) {
  animation-name: nidhi-vt-fade-out;
}

::view-transition-new(root) {
  animation-name: nidhi-vt-fade-in;
}

@keyframes nidhi-vt-fade-out {
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes nidhi-vt-fade-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms;
  }
}

/* ============================================================
   B1 — Atmosphere layer. Three large blurred radial orbs drift
   slowly across the viewport behind everything. Fixed position
   so they stay in the same camera frame as you scroll. Hidden
   on mobile + on reduced motion.
   ============================================================ */
.atmosphere-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere-orb {
  position: absolute;
  display: block;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  will-change: transform;
  mix-blend-mode: multiply;
}

.atmosphere-orb--navy {
  background: radial-gradient(circle, var(--primary-color), transparent 70%);
  top: -12%;
  left: -12%;
  animation: nidhi-orb-drift-1 32s ease-in-out infinite alternate;
}

.atmosphere-orb--green {
  background: radial-gradient(circle, var(--secondary-color), transparent 70%);
  top: 38%;
  right: -16%;
  animation: nidhi-orb-drift-2 28s ease-in-out infinite alternate;
}

.atmosphere-orb--gold {
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  bottom: -14%;
  left: 28%;
  animation: nidhi-orb-drift-3 36s ease-in-out infinite alternate;
  opacity: 0.14;
}

@keyframes nidhi-orb-drift-1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7vw, 12vh, 0) scale(1.18); }
}
@keyframes nidhi-orb-drift-2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-9vw, -7vh, 0) scale(1.12); }
}
@keyframes nidhi-orb-drift-3 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(5vw, -10vh, 0) scale(1.22); }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-orb { animation: none; }
}

@media (max-width: 768px) {
  .atmosphere-layer { display: none; }
}

/* ============================================================
   B2 — Section dividers. Thin SVG curve between adjacent sections.
   Currentcolor inherited from .section-divider so we can tint
   them ivory in light areas and gold in feature areas via a
   modifier class if needed later.
   ============================================================ */
.section-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  color: rgba(248, 246, 241, 0.72); /* soft ivory wave on light pages */
  z-index: 1;
}

.section-divider .section-divider__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Mirror the wave on every second divider so the rhythm alternates,
   gives a sense of flow without using JS to randomize. */
.section-divider:nth-of-type(even) .section-divider__svg {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .section-divider { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-divider { display: none; }
}

/* ============================================================
   D1 — Custom desktop cursor. Two layered elements driven by JS:
   a small filled gold dot that snaps to the cursor, and a larger
   ring that eases toward it. The native cursor stays visible
   underneath; this overlay just adds visual weight.
   ============================================================ */
#nidhi-cursor-dot,
#nidhi-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease,
              border-color 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

#nidhi-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(201, 154, 46, 0.6);
}

#nidhi-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201, 154, 46, 0.6);
  background-color: transparent;
  mix-blend-mode: normal;
}

#nidhi-cursor-ring.is-active {
  width: 56px;
  height: 56px;
  border-color: rgba(201, 154, 46, 0.9);
  background-color: rgba(201, 154, 46, 0.08);
}

#nidhi-cursor-dot.is-hidden,
#nidhi-cursor-ring.is-hidden {
  opacity: 0;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  #nidhi-cursor-dot,
  #nidhi-cursor-ring { display: none; }
}

/* ============================================================
   D2 — Click ripple. Single span injected at click coordinates,
   grows + fades over 600ms then is removed by JS.
   ============================================================ */
.nidhi-ripple {
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 46, 0.55), rgba(201, 154, 46, 0) 70%);
  pointer-events: none;
  z-index: 9998;
  animation: nidhi-ripple-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes nidhi-ripple-grow {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(18);  opacity: 0;    }
}

@media (prefers-reduced-motion: reduce) {
  .nidhi-ripple { display: none; }
}

/* ============================================================
   D4 — Scrollbar styling. Cosmetic only; doesn't affect layout.
   WebKit + Firefox both supported. Track is ivory, thumb is gold,
   gold deepens to navy on hover.
   ============================================================ */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--light-color);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-color), #b0852a);
  border-radius: 999px;
  border: 2px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ============================================================
   B4 — Hero rotating word, per-letter morph animation.
   Each letter is wrapped in <span class="rw-letter"> by the JS
   in bindHeroStoryRotator(); we animate each one's translate +
   rotateX + opacity with a staggered transition-delay set by JS.
   ============================================================ */
.hero-rotating-word {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.1rem 0;
  perspective: 800px;
  transform-style: preserve-3d;
  white-space: pre;
}

.rw-letter {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 54%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateY(0) rotateX(0deg);
  opacity: 1;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  transform-origin: 50% 80%;
  backface-visibility: hidden;
}

.rw-letter.rw-in-init {
  transform: translateY(0.6em) rotateX(-80deg);
  opacity: 0;
}

.rw-letter.rw-out {
  transform: translateY(-0.6em) rotateX(80deg);
  opacity: 0.18;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-rotating-word,
  .hero-rotating-word .rw-letter {
    color: var(--accent-color);
    -webkit-text-fill-color: currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rw-letter {
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }
}

/* ============================================================
   C2 — 3D gold coin. Pure CSS 3D, idles with a slow Y rotation;
   speeds up on hover. Lives next to the EMI output as a tactile
   "money" visual cue. No WebGL.
   ============================================================ */
.coin-3d {
  display: inline-flex;
  perspective: 700px;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.coin-3d__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: coin-3d-idle 7s linear infinite;
  will-change: transform;
}

.coin-3d:hover .coin-3d__inner {
  animation-duration: 1.6s;
}

.coin-3d__face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--brand-font-family);
  font-size: 1.55rem;
  font-weight: 700;
  background:
    radial-gradient(circle at 32% 28%, #fbe7a4, #c99a2e 55%, #7a5712 100%);
  color: #4a3308;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    inset 0 -4px 8px rgba(0, 0, 0, 0.25),
    0 10px 30px rgba(201, 154, 46, 0.45);
  backface-visibility: hidden;
}

.coin-3d__face--back {
  transform: rotateY(180deg);
}

@keyframes coin-3d-idle {
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .coin-3d__inner { animation: none; }
}


/* ============================================================
   C1 — CSS-only 3D wireframe globe. Slots into the destination
   planner section on the home page as a "global reach" cue.
   Pure CSS 3D (transform-style: preserve-3d), no WebGL — runs
   cheaply alongside the TubesIntro canvas.
   ============================================================ */
.globe-3d {
  --globe-size: clamp(240px, 28vw, 330px);
  position: relative;
  width: var(--globe-size);
  height: var(--globe-size);
  margin: 0 auto;
  perspective: 1200px;
  pointer-events: none;
  flex-shrink: 0;
  transform: rotateX(-7deg);
  filter:
    drop-shadow(0 28px 54px rgba(6, 30, 66, 0.2))
    drop-shadow(0 0 26px rgba(201, 154, 46, 0.18));
  isolation: isolate;
}

.globe-3d__halo,
.globe-3d__orbit,
.globe-3d__spark,
.globe-3d__shadow {
  position: absolute;
  pointer-events: none;
}

.globe-3d__halo {
  inset: -18%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 48% 48%, rgba(112, 201, 188, 0.2), transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(201, 154, 46, 0.28), transparent 72%);
  filter: blur(2px);
}

.globe-3d__orbit {
  inset: 4%;
  z-index: -1;
  border: 1px solid rgba(201, 154, 46, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(201, 154, 46, 0.12);
}

.globe-3d__orbit--one {
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: nidhi-globe-orbit-one 14s linear infinite;
}

.globe-3d__orbit--two {
  inset: 12%;
  border-color: rgba(0, 91, 79, 0.32);
  transform: rotateX(72deg) rotateZ(28deg);
  animation: nidhi-globe-orbit-two 18s linear infinite reverse;
}

.globe-3d__spark {
  z-index: 3;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow:
    0 0 0 7px rgba(201, 154, 46, 0.14),
    0 0 22px rgba(201, 154, 46, 0.68);
  animation: nidhi-globe-spark 2.4s ease-in-out infinite;
}

.globe-3d__spark--one {
  right: 6%;
  bottom: 18%;
}

.globe-3d__spark--two {
  left: 13%;
  top: 29%;
  width: 7px;
  height: 7px;
  animation-delay: 0.9s;
}

.globe-3d__shadow {
  left: 18%;
  right: 18%;
  bottom: -11%;
  height: 20px;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(6, 30, 66, 0.18), transparent 70%);
  filter: blur(8px);
}

.globe-3d__inner {
  position: absolute;
  inset: 4%;
  transform-style: preserve-3d;
  animation: nidhi-globe-rotate 26s linear infinite;
  will-change: transform;
}

.globe-3d__surface {
  position: absolute;
  inset: 4%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 32% 34%, rgba(0, 91, 79, 0.2) 0 10%, transparent 11%),
    radial-gradient(ellipse at 61% 32%, rgba(6, 30, 66, 0.15) 0 7%, transparent 8%),
    radial-gradient(ellipse at 62% 58%, rgba(0, 91, 79, 0.18) 0 12%, transparent 13%),
    radial-gradient(ellipse at 40% 67%, rgba(201, 154, 46, 0.16) 0 8%, transparent 9%),
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.96), transparent 27%),
    radial-gradient(circle at 54% 54%, rgba(238, 248, 245, 0.88), rgba(255, 250, 238, 0.58) 48%, rgba(0, 91, 79, 0.1) 72%, transparent 76%);
  box-shadow:
    inset -28px -18px 46px rgba(6, 30, 66, 0.12),
    inset 22px 20px 38px rgba(255, 255, 255, 0.84),
    0 0 34px rgba(112, 201, 188, 0.18);
  transform: translateZ(calc(var(--globe-size) * -0.035));
}

.globe-3d__axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 154, 46, 0.56), transparent);
  transform: translateX(-50%) translateZ(calc(var(--globe-size) * 0.02));
}

.globe-3d__ring {
  position: absolute;
  inset: 4%;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid rgba(201, 154, 46, 0.64);
  box-shadow:
    inset 0 0 18px rgba(201, 154, 46, 0.16),
    0 0 16px rgba(201, 154, 46, 0.1);
  backface-visibility: visible;
}

/* Latitude rings — rotateX, scaled smaller for higher latitudes. */
.globe-3d__ring--lat-0 { transform: rotateX(90deg); }
.globe-3d__ring--lat-1 { transform: rotateX(90deg) translateZ(calc(var(--globe-size) * 0.15)) scale(0.86); border-color: rgba(0, 91, 79, 0.54); }
.globe-3d__ring--lat-2 { transform: rotateX(90deg) translateZ(calc(var(--globe-size) * -0.15)) scale(0.86); border-color: rgba(0, 91, 79, 0.54); }
.globe-3d__ring--lat-3 { transform: rotateX(90deg) translateZ(calc(var(--globe-size) * 0.28)) scale(0.5); border-color: rgba(6, 30, 66, 0.36); }
.globe-3d__ring--lat-4 { transform: rotateX(90deg) translateZ(calc(var(--globe-size) * -0.28)) scale(0.5); border-color: rgba(6, 30, 66, 0.36); }

/* Longitude rings — rotateY around the vertical axis. */
.globe-3d__ring--lng-1 { transform: rotateY(0deg); }
.globe-3d__ring--lng-2 { transform: rotateY(30deg); }
.globe-3d__ring--lng-3 { transform: rotateY(60deg); }
.globe-3d__ring--lng-4 { transform: rotateY(90deg); }
.globe-3d__ring--lng-5 { transform: rotateY(120deg); }
.globe-3d__ring--lng-6 { transform: rotateY(150deg); }

/* Center glow — gives the impression of a lit core through the wireframe. */
.globe-3d::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.78), transparent 18%),
    radial-gradient(circle at 52% 52%, transparent 56%, rgba(201, 154, 46, 0.32) 68%, rgba(6, 30, 66, 0.18) 84%, transparent 86%);
  pointer-events: none;
  z-index: 4;
}

/* "City" dots — small gold beacons at fixed positions on the sphere. The
   3-D position is achieved with translateZ + rotateY+rotateX before the
   translateZ in the chain. Each dot inherits the inner's rotation. */
.globe-3d__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow:
    0 0 0 5px rgba(201, 154, 46, 0.13),
    0 0 14px rgba(201, 154, 46, 0.88),
    0 0 26px rgba(201, 154, 46, 0.42);
  animation: nidhi-globe-dot-pulse 2.7s ease-in-out infinite;
}

.globe-3d__dot--1 { transform: rotateY(20deg)  rotateX(15deg)  translateZ(calc(var(--globe-size) * 0.42)); }
.globe-3d__dot--2 { transform: rotateY(-60deg) rotateX(-10deg) translateZ(calc(var(--globe-size) * 0.42)); animation-delay: 0.35s; }
.globe-3d__dot--3 { transform: rotateY(120deg) rotateX(30deg)  translateZ(calc(var(--globe-size) * 0.42)); animation-delay: 0.7s; }
.globe-3d__dot--4 { transform: rotateY(180deg) rotateX(-25deg) translateZ(calc(var(--globe-size) * 0.42)); animation-delay: 1.05s; }
.globe-3d__dot--5 { transform: rotateY(-130deg) rotateX(5deg)  translateZ(calc(var(--globe-size) * 0.42)); animation-delay: 1.4s; }

@keyframes nidhi-globe-rotate {
  from { transform: rotateX(-9deg) rotateY(0deg); }
  to   { transform: rotateX(-9deg) rotateY(360deg); }
}

@keyframes nidhi-globe-orbit-one {
  from { transform: rotateX(68deg) rotateZ(-18deg); }
  to { transform: rotateX(68deg) rotateZ(342deg); }
}

@keyframes nidhi-globe-orbit-two {
  from { transform: rotateX(72deg) rotateZ(28deg); }
  to { transform: rotateX(72deg) rotateZ(388deg); }
}

@keyframes nidhi-globe-dot-pulse {
  0%, 100% { opacity: 0.78; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.22); }
}

@keyframes nidhi-globe-spark {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .globe-3d__inner,
  .globe-3d__orbit,
  .globe-3d__dot,
  .globe-3d__spark {
    animation: none;
  }
}

@media (max-width: 768px) {
  .globe-3d { --globe-size: min(68vw, 230px); }
  .globe-3d__ring--lat-3,
  .globe-3d__ring--lat-4 { display: none; }
}

.globe-3d-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 31vw, 380px);
  margin: 0.3rem auto 1.05rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem) 1rem 1rem;
  isolation: isolate;
}

.globe-3d-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 12% 0;
  z-index: -2;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(112, 201, 188, 0.16), transparent 38%),
    radial-gradient(ellipse at center, rgba(201, 154, 46, 0.2), transparent 62%);
  filter: blur(10px);
}

.globe-3d-wrap::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 42%, rgba(201, 154, 46, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 62%, rgba(0, 91, 79, 0.18) 0 2px, transparent 3px),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), transparent 54%),
    linear-gradient(90deg, transparent, rgba(201, 154, 46, 0.09) 34%, rgba(0, 91, 79, 0.09) 66%, transparent);
  opacity: 0.75;
  mask-image: radial-gradient(ellipse at center, #000 0 46%, transparent 74%);
}

@media (max-width: 768px) {
  .globe-3d-wrap {
    min-height: 250px;
    margin-top: 0.75rem;
    margin-bottom: 0.65rem;
    padding-top: 1rem;
  }

  .globe-3d__orbit,
  .globe-3d__spark--two {
    display: none;
  }

  .globe-3d__spark--one {
    right: 2%;
  }
}
