:root {
  /* Brand colours */
  --color-primary: #5A52AA;
  /* indigo – buttons, links, icons */
  --color-secondary: #3F3572;
  /* deep indigo – headings, hover  */
  --color-dark: #1E1B4B;
  /* navy – top bar, footer         */
  --color-accent: #8E86E6;
  /* light periwinkle – focus, glow */

  /* Background colours */
  --color-white: #ffffff;
  --color-light: #F8FAFC;
  /* page background                */
  --color-soft-lavender: #F1F0FF;
  --color-soft-blue: #EAF4FF;
  --color-soft-cyan: #E8F8FC;
  --color-product-bg: #F4F6FF;
  /* product image tile (matches the cleaned JPGs) */

  /* Text colours */
  --color-heading: #3F3572;
  --color-body: #252B36;
  --color-muted: #667085;
  --color-border: #E3E6F0;
  --color-whatsapp: #1FA855;
  --color-on-dark: #b9bbe0;
  /* body text on navy backgrounds  */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Font sizes (fluid – min on 320px phones, max on large desktops) */
  --font-size-h1: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
  /* 32 – 56px */
  --font-size-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  /* 28 – 40px */
  --font-size-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  /* 22 – 28px */
  --font-size-h4: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  /* 18 – 22px */
  --font-size-h5: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  /* 17 – 19px */
  --font-size-h6: 1rem;
  --font-size-body: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  /* 15 – 17px */
  --font-size-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  /* 17 – 20px */
  --font-size-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  /* 13 – 14px */

  /* Line heights + letter spacing */
  --line-height-body: 1.7;
  --line-height-heading: 1.22;
  --letter-spacing-heading: -0.012em;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 50rem;

  /* Shadows */
  --shadow-sm: 0 4px 15px rgba(63, 53, 114, 0.06);
  --shadow-md: 0 10px 30px rgba(63, 53, 114, 0.09);
  --shadow-lg: 0 24px 56px rgba(63, 53, 114, 0.18);

  /* Spacing */
  --space-section: 5.5rem;
  --space-section-sm: 3.5rem;

  /* Motion */
  --transition: all 0.3s ease;

  /* Layout */
  --container-width: 1320px;
}

html {
  scroll-behavior: smooth;
}

body {
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: var(--font-size-body);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--color-body);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Bootstrap's grid container is capped to the design-token width */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-width);
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

h1,
.h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
}

h2,
.h2 {
  font-size: var(--font-size-h2);
}

h3,
.h3 {
  font-size: var(--font-size-h3);
}

h4,
.h4 {
  font-size: var(--font-size-h4);
}

h5,
.h5 {
  font-size: var(--font-size-h5);
}

h6,
.h6 {
  font-size: var(--font-size-h6);
}

p {
  color: var(--color-muted);
}

.lead {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
  margin: 0 0 1.5rem;
}

small,
.small {
  font-size: var(--font-size-small);
}

.fs-5,
.lead-text {
  font-size: var(--font-size-lead) !important;
}

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

/* Form controls + buttons do not inherit fonts by default in every browser */
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

:where(ul:not(.nav, .navbar-nav, .list-unstyled, .list-inline, .breadcrumb,
    .dropdown-menu, .pagination, .timeline, .no-marker)) {
  list-style: none;
  padding-left: 0;
}

:where(ul:not(.nav, .navbar-nav, .list-unstyled, .list-inline, .breadcrumb,
    .dropdown-menu, .pagination, .timeline, .no-marker))>li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Default marker: small branded dot with a soft halo */
:where(ul:not(.nav, .navbar-nav, .list-unstyled, .list-inline, .breadcrumb,
    .dropdown-menu, .pagination, .timeline, .no-marker))>li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-soft-lavender);
}

/* Check marker – benefits */
.check-list {
  margin: 0;
}

.check-list li {
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: "\F26A";
  /* bi-check-circle-fill */
  font-family: bootstrap-icons;
  left: 0;
  top: 0.12em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--color-primary);
}

/* Arrow marker – service points / footer links */
.arrow-list li {
  padding-left: 1.5rem;
}

.arrow-list li::before {
  content: "\F135";
  /* bi-arrow-right-short */
  font-family: bootstrap-icons;
  left: 0;
  top: 0.05em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--color-primary);
  font-size: 1.15em;
}

/* Feature list inside product cards – compact checks */
.feature-list {
  font-size: var(--font-size-small);
  color: var(--color-muted);
  margin-bottom: 1.0rem;
  padding: 0 0 0 10px;
}

.feature-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
}

.feature-list li::before {
  content: "\F26A";
  font-family: bootstrap-icons;
  left: 0;
  top: 0.08em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--color-primary);
}

/* Icon list – each <li> sets its own glyph through --marker */
.icon-list li {
  padding-left: 3.1rem;
  margin-bottom: 0.9rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  color: var(--color-body);
  font-weight: 500;
}

.icon-list li::before {
  content: var(--marker, "\F26A");
  font-family: bootstrap-icons;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--color-primary);
  background: var(--color-soft-lavender);
  box-shadow: none;
}

.icon-list li:nth-child(even)::before {
  background: var(--color-soft-cyan);
}

/* Footer link lists */
.footer-links,
.footer-contact {
  margin: 0;
  padding: 0 0 0 0.5rem;
}

.footer-links li {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-links li::before {
  content: "\F285";
  /* bi-chevron-right */
  font-family: bootstrap-icons;
  left: 0;
  top: 0.2em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 0.7rem;
  color: var(--color-accent);
}

.footer-contact li {
  padding-left: 0;
}

.footer-contact li::before {
  display: none;
  /* contact rows carry their own icons */
}

/* ==========================================================================
   04. LAYOUT HELPERS + SECTION BACKGROUNDS
   ========================================================================== */
.section {
  padding: var(--space-section) 0;
}

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

.bg-lav {
  background: var(--color-soft-lavender);
}

.bg-sky {
  background: var(--color-soft-blue);
}

.bg-cyan {
  background: var(--color-soft-cyan);
}

.lead-narrow {
  max-width: 38rem;
}

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-size-body);
  padding: 0.5rem 1.5rem;
  transition: var(--transition);
}

.btn-brand {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-light-brand {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 2px solid var(--color-white);
}

.btn-light-brand:hover {
  background: var(--color-soft-lavender);
  color: var(--color-secondary);
}

.btn-sm-card {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   06. TOP BAR + HEADER + MOBILE MENU  (markup lives in assets/js/layout.js)
   ========================================================================== */
.topbar {
  background: var(--color-dark);
  color: #cfd0ee;
  font-size: var(--font-size-small);
  padding: 0.45rem 0;
}

.topbar a {
  color: #cfd0ee;
}

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

.topbar i {
  color: #ffffff;
  margin-right: 0.35rem;
}

.site-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s, padding 0.3s;
  padding: 0.9rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  box-shadow: 0 6px 24px rgba(63, 53, 114, 0.12);
  padding: 0.4rem 0;
  border-color: var(--color-border);
}

.site-nav .brand img {
  height: 50px;
  width: auto;
  transition: height 0.3s;
}

.site-nav.scrolled .brand img {
  height: 36px;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.site-nav .nav-link {
  color: var(--color-body);
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--color-primary);
}

.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.offcanvas {
  max-width: 300px;
}

.offcanvas .nav-link {
  color: var(--color-body);
  font-weight: 500;
}

.offcanvas .nav-link.active {
  color: var(--color-primary);
}

/* Placeholder keeps the page from jumping while layout.js builds the header */
#site-header:empty {
  min-height: 108px;
}

/* ==========================================================================
   07. HOME HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-soft-lavender) 0%, var(--color-soft-blue) 60%, var(--color-soft-cyan) 100%);
  padding: 4.5rem 0 7rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(90, 82, 170, 0.09);
  right: -140px;
  top: -160px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F8FAFC' d='M0 40C240 90 480 0 720 30s480 55 720 5V80H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-img {
  position: relative;
  z-index: 1;
  max-height: 560px;
  width: auto;
  max-width: 100%;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(63, 53, 114, 0.25);
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-tag {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: var(--font-size-small);
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   08. INNER-PAGE HERO BANNER
   ========================================================================== */
.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 30vw, 380px);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  color: var(--color-white);
  background-color: var(--color-dark);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Brand-colour overlay – dark on the text side, lighter on the image side */
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
      rgba(30, 27, 75, 0.95) 0%,
      rgba(48, 41, 105, 0.82) 42%,
      rgba(63, 53, 114, 0.35) 100%);
}

/* Soft curved edge into the page, same language as the home hero */
.inner-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F8FAFC' d='M0 40C240 90 480 0 720 30s480 55 720 5V80H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
  max-width: 24ch;
}

.inner-hero .hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-lead);
  max-width: 36rem;
  margin-bottom: 0;
}

/* Breadcrumb on a dark image */
.inner-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
  font-size: var(--font-size-small);
}

.inner-hero .breadcrumb a {
  color: var(--color-white);
  font-weight: 500;
}

.inner-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* Per-page banner images */
.inner-hero--about {
  --hero-image: url("../images/banners/banner-about.jpg");
}

.inner-hero--services {
  --hero-image: url("../images/banners/banner-services.jpg");
}

.inner-hero--products {
  --hero-image: url("../images/banners/banner-products.jpg");
}

.inner-hero--contact {
  --hero-image: url("../images/banners/banner-contact.jpg");
}


/* ==========================================================================
   09. CARDS + ICON CHIPS + IMAGE FRAME
   ========================================================================== */
.card-soft {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

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

.icon-chip {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  background: var(--color-soft-lavender);
  margin-bottom: 0;
  min-width: 54px;
  min-height: 54px;
}

.chip-sky {
  background: var(--color-soft-blue);
}

.chip-cyan {
  background: var(--color-soft-cyan);
}

.frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================================================================
   10. PRODUCT CARDS (Home featured + Products page)
   Cleaned product images are baked onto --color-product-bg; the tile uses
   the same colour so the product always sits centred with no visible seam.
   ========================================================================== */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.product-media {
  display: block;
  position: relative;
  aspect-ratio: 1;
  /* identical tile height for every product */
  background: var(--color-product-bg);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* never stretches or crops the product */
  object-position: center;
  display: block;
  transition: transform 0.5s;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.zoom-hint {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  background: var(--color-white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: var(--font-size-h5);
}

/* Single action – pinned to the bottom so buttons line up across a row */
.product-actions {
  margin-top: auto;
}

.product-actions .btn {
  width: 100%;
}

.tag-warranty {
  display: inline-block;
  align-self: flex-start;
  background: #5a52aaad;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.7rem;
  margin-bottom: 0.6rem;
  position: absolute;
  bottom: 0;
  left: 15px;
  backdrop-filter: blur(5px);
}


/* ==========================================================================
   11. MISSION & VISION (About)
   ========================================================================== */
.mv-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(90, 82, 170, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card--mission {
  background: linear-gradient(145deg, #F4F2FF 0%, #E4E0FF 100%);
}

.mv-card--vision {
  background: linear-gradient(145deg, #EAFAFD 0%, #D9EFF9 100%);
}

/* Large faint glyph in the corner */
.mv-card::after {
  font-family: bootstrap-icons;
  position: absolute;
  right: -1.25rem;
  bottom: -2.25rem;
  font-size: clamp(9rem, 16vw, 13rem);
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.07;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.mv-card--mission::after {
  content: "\F1DE";
}

/* bi-bullseye */
.mv-card--vision::after {
  content: "\F33E";
}

/* bi-eye-fill */

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mv-card:hover::after {
  transform: scale(1.08) rotate(-4deg);
}

.mv-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.9rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  transition: transform 0.35s ease;
}

.mv-card:hover .mv-icon {
  transform: rotate(-8deg) scale(1.06);
}

.mv-card h3 {
  position: relative;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}

.mv-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-primary);
}

.mv-card p {
  position: relative;
  z-index: 1;
  color: #4b5262;
  font-size: var(--font-size-lead);
  max-width: 34rem;
  margin-bottom: 0;
}


/* Product photo shown inside a frame (About page) */
.frame--product {
  background: var(--color-product-bg);
}

.frame--product img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  object-fit: contain;
}


/* ==========================================================================
   12. WHY CHOOSE US – image left / content right (About)
   ========================================================================== */
.why-visual {
  position: relative;
  padding: 0 1.25rem 1.25rem 0;
}

/* Offset pastel block behind the photo */
.why-visual::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 78%;
  border-radius: var(--radius-2xl);
  background: var(--color-soft-lavender);
  border: 1px solid rgba(90, 82, 170, 0.12);
  z-index: 0;
}

.why-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 28% center;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.section-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-h4);
  color: var(--color-primary);
  margin-bottom: 1rem;
}


/* ==========================================================================
   13. SERVICE CARDS + SERVICE APPROACH TIMELINE (Services)
   ========================================================================== */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p {
  flex: 1;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 1.25rem;
}

/* --- Timeline --- */
.timeline {
  --timeline-node: 56px;
  position: relative;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2.1rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

/* Vertical connecting line, drawn downward from each node */
.timeline-step::before {
  content: "";
  position: absolute;
  left: calc(var(--timeline-node) / 2 - 1px);
  top: var(--timeline-node);
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  opacity: 0.45;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s ease var(--delay, 0s);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline.in .timeline-step::before {
  transform: scaleY(1);
}

/* Numbered circular icon */
.timeline-node {
  position: relative;
  flex: none;
  width: var(--timeline-node);
  height: var(--timeline-node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: var(--color-primary);
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}

.timeline-no {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-primary);
  border: 2px solid var(--color-white);
}

/* Each step gets its own tint so the four stages read as distinct */
.timeline-step:nth-child(1) {
  --ring: var(--color-soft-lavender);
}

.timeline-step:nth-child(2) {
  --ring: var(--color-soft-blue);
}

.timeline-step:nth-child(3) {
  --ring: var(--color-soft-cyan);
}

.timeline-step:nth-child(4) {
  --ring: #E6E3FF;
}

.timeline-body {
  padding-top: 0.2rem;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.6s ease var(--delay, 0s), transform 0.6s ease var(--delay, 0s);
}

.timeline.in .timeline-body {
  opacity: 1;
  transform: none;
}

.timeline-body h3 {
  font-size: var(--font-size-h5);
  margin-bottom: 0.25rem;
}

.timeline-body p {
  margin: 0;
  font-size: var(--font-size-body);
}

.timeline-step:nth-child(1) {
  --delay: 0.05s;
}

.timeline-step:nth-child(2) {
  --delay: 0.3s;
}

.timeline-step:nth-child(3) {
  --delay: 0.55s;
}

.timeline-step:nth-child(4) {
  --delay: 0.8s;
}

/* --- Right-hand image --- */
.service-visual {
  position: sticky;
  top: 110px;
}

.service-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(90, 82, 170, 0.12);
}


/* ==========================================================================
   14. CALL-TO-ACTION BAND
   ========================================================================== */
.cta {
  background: linear-gradient(120deg, var(--color-secondary), var(--color-primary));
  color: var(--color-white);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta h2,
.cta p {
  color: var(--color-white);
}

.cta p {
  opacity: 0.88;
}

.cta::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 48px solid rgba(255, 255, 255, 0.06);
  right: -90px;
  bottom: -140px;
}


/* ==========================================================================
   15. ACCORDION (FAQ) – Bootstrap 5.3 accordion, restyled
   ========================================================================== */
.accordion {
  --bs-accordion-border-color: var(--color-border);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(90, 82, 170, 0.18);
  --bs-accordion-active-bg: var(--color-soft-lavender);
  --bs-accordion-active-color: var(--color-secondary);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 14px !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-h6);
  color: var(--color-secondary);
  padding: 1.1rem 1.4rem;
}

.accordion-button:not(.collapsed) {
  background: var(--color-soft-lavender);
  color: var(--color-secondary);
  box-shadow: none;
}

.accordion-body {
  padding: 1.1rem 1.4rem 1.4rem;
  color: var(--color-muted);
}


/* ==========================================================================
   16. FORMS + ENQUIRY MODAL
   ========================================================================== */
.form-label {
  font-weight: 600;
  font-size: var(--font-size-small);
  color: var(--color-secondary);
}

.form-control {
  font-size: var(--font-size-body);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  border-color: var(--color-border);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(90, 82, 170, 0.18);
}

/* Auto-filled product / service name */
.form-control[readonly] {
  background: var(--color-soft-lavender);
  color: var(--color-secondary);
  font-weight: 600;
  cursor: default;
}

/* Spam trap – hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-modal .modal-content {
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.enquiry-modal .modal-header {
  align-items: flex-start;
  padding: 1.5rem 1.75rem 1.1rem;
  background: linear-gradient(120deg, var(--color-soft-lavender), var(--color-soft-blue));
  border-bottom: 1px solid var(--color-border);
}

.enquiry-modal .modal-title {
  font-size: var(--font-size-h3);
  margin-bottom: 0.2rem;
}

.enquiry-modal .modal-sub {
  margin: 0;
  font-size: var(--font-size-small);
}

.enquiry-modal .modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* Gentler open: Bootstrap's fade plus a small rise */
.enquiry-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s ease;
}

.enquiry-modal.show .modal-dialog {
  transform: none;
}

.enquiry-status .alert {
  margin: 0;
  font-size: var(--font-size-small);
}


/* ==========================================================================
   17. MAP (Contact page)
   ========================================================================== */
.map-wrap {
  width: 100%;
  /* without this, aspect-ratio + min-height can make the box wider than the screen on phones */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 12;
  min-height: 300px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.card-soft-2-form {
  aspect-ratio: 16 / 12 !important;
  height: auto !important;
}


/* ==========================================================================
   18. FOOTER  (markup lives in assets/js/layout.js)
   ========================================================================== */
.footer {
  background: var(--color-dark);
  color: var(--color-on-dark);
  position: relative;
  padding: 6rem 0 0;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F8FAFC' d='M0 0h1440v30C1200 80 960 0 720 40S240 70 0 25z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.footer h4 {
  color: var(--color-white);
  font-size: var(--font-size-h6);
  margin-bottom: 1.1rem;
}

.footer p {
  color: var(--color-on-dark);
}

.footer a {
  color: var(--color-on-dark);
}

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

.footer li {
  margin-bottom: 0.5rem;
}

.footer .logo-badge {
  background: transparent;
  padding: 0;
  display: inline-block;
  margin: 0 0 1.5rem 0;
}

.footer .logo-badge img {
  height: 58px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.2rem 0;
  font-size: var(--font-size-small);
}

.footer-social-links {
  margin-top: 20px;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-4px);
}


/* ==========================================================================
   19. FLOATING BUTTONS (WhatsApp + back-to-top)
   ========================================================================== */
.fab {
  position: fixed;
  right: 18px;
  z-index: 1030;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--color-white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  border: 0;
  transition: var(--transition);
}

.fab-wa {
  bottom: 20px;
  background: var(--color-whatsapp);
}

.fab-wa:hover {
  color: var(--color-white);
  transform: scale(1.08);
}

.fab-top {
  bottom: 84px;
  background: var(--color-primary);
  opacity: 0;
  visibility: hidden;
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   20. REVEAL ANIMATION + REDUCED MOTION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .timeline-body {
    opacity: 1;
    transform: none;
  }

  .timeline-step::before {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}