/* ============================================================
   Bliss Assurance Agency — 2025 Redesign layer
   "One Company, Two Doors"
   Loaded AFTER templatemo-finance-business.css so it wins.
   All new sections are namespaced with .bliss-* to stay
   isolated and easy to roll back (delete this file + revert
   index.html to index.html.bak).
   Brand green: #84d40c  |  Charcoal: #1e1e1e
   ============================================================ */

:root {
  --bliss-green: #84d40c;
  --bliss-green-dark: #6cae0a;
  --bliss-charcoal: #1e1e1e;
  --bliss-charcoal-2: #2a2a2a;
}

/* ---------- 0. HERO WRAP ----------
   Dark frame around the nav + hero card. The nav sits in normal flow at
   the top (not an absolute overlay), so it reads as one continuous piece
   with the rounded hero card beneath it — floating pill nav, inset
   full-bleed photo card, matching the reference composition. */
.bliss-hero-wrap {
  background: var(--bliss-charcoal);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh; /* mobile browser chrome-aware, where supported */
}
.bliss-hero-wrap header {
  position: relative !important; /* stays in normal flow, but still anchors the
    mobile .navbar-brand { position:absolute } rule from the base stylesheet */
  width: auto !important;
  background: transparent !important;
  height: auto !important;
  flex: 0 0 auto;
  padding: 6px 0 18px;
}
.bliss-hero-wrap header .navbar {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 6px 22px !important;
  min-height: 0;
}
.bliss-hero-wrap header.background-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important; /* fixed + the base .bliss-hero-wrap header's
    width:auto shrink-wraps to content — without this the scrolled header
    only ever spans as wide as the logo+nav, not the viewport. */
  padding: 10px 0 !important;
}
.bliss-hero-wrap header.background-header .navbar {
  background: #fff;
  border-color: transparent;
  border-radius: 0;
  max-width: none;
}
/* The old template's logo had large inline margins meant for an 80px-tall
   fixed header; in the new pill nav that just made the pill tall. Give the
   logo an explicit, modest height instead and let flex centering do the rest. */
.bliss-navbar-brand { display: inline-flex !important; align-items: center; margin: 0 !important; padding: 0 !important; }
.bliss-navbar-brand img { height: 40px; width: auto; display: block; }

/* Reliable hamburger icon: the base stylesheet's icon depends on an
   external FontAwesome kit script — if that's slow/blocked, Bootstrap's
   default icon (light/white lines) silently takes over and disappears
   against the white toggler button. Use a local, always-available icon
   with an explicit dark color instead. */
.bliss-navbar-toggler {
  background: #fff !important;
  border-color: #fff !important;
}
.bliss-navbar-toggler i {
  color: var(--bliss-charcoal);
  font-size: 18px;
}

/* Below the lg breakpoint, the base stylesheet takes the logo and the
   toggler button out of flow (position:absolute) to place them precisely,
   which leaves .navbar with no in-flow content to size itself against.
   Give it an explicit height there so the pill background actually wraps
   the logo + toggler instead of collapsing to a sliver above them. Bootstrap
   already hides .navbar-toggler at ≥992px — these sizing rules only need
   to exist below that breakpoint too, so they can't ever fight that. */
@media (max-width: 991px) {
  .bliss-hero-wrap header .navbar { min-height: 62px; }
  .bliss-navbar-toggler {
    height: 40px !important;
    width: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu panel: previously the expanded collapse had no background
     at all, so page content behind it (feature-card icons, headings) showed
     straight through — reading as a second, broken box sitting under the
     pill nav. One solid, blurred dark panel instead. */
  .bliss-hero-wrap #navbarResponsive {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    z-index: 1000;
    background: rgba(10, 12, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 8px 22px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 24px 50px rgba(0,0,0,.4);
  }
  .bliss-hero-wrap #navbarResponsive .navbar-nav {
    text-align: left;
  }
  .bliss-hero-wrap #navbarResponsive .nav-item {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .bliss-hero-wrap #navbarResponsive .nav-item:last-child { border-bottom: none; }
  .bliss-hero-wrap #navbarResponsive .nav-link {
    color: #fff !important;
    padding: 14px 4px;
  }
  .bliss-hero-wrap #navbarResponsive .nav-link:hover,
  .bliss-hero-wrap #navbarResponsive .active > .nav-link {
    color: var(--bliss-green) !important;
    border-bottom: none;
  }
}

/* ---------- 1. HERO (Ken-Burns photo + staggered text reveal) ----------
   Background photo: Lagos skyline, Lagos, Nigeria.
   Photographer: onaopemipo Rufus, via Pexels (free license).
   Source: https://www.pexels.com/photo/aerial-view-of-lagos-cityscape-with-ocean-horizon-32656347/
   ---------------------------------------------------------------- */
.bliss-hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  background: #1e1e1e; /* fallback while image loads */
  color: #fff;
  overflow: hidden;
  border-radius: 24px;
  padding: 60px 0 56px;
}
.bliss-hero__bg {
  position: absolute;
  inset: -3%;
  z-index: 0;
  background: url('../images/hero-lagos-skyline.jpg') center 60% / cover no-repeat;
  animation: blissKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* Interior pages get their own distinct photo — add a --pagename modifier
   here rather than reusing the homepage's Lagos image everywhere. */
.bliss-hero__bg--about {
  background-image: url('../images/about-hero-portharcourt.jpg');
  background-position: center 38%;
}
.bliss-hero__bg--heavy {
  background-image: url('../images/heavyduty.png');
  background-position: center 55%;
}
.bliss-hero__bg--realestate {
  background-image: url('../images/estate-osapa-london.jpg');
  background-position: center 50%;
}
.bliss-hero__bg--oilgas {
  background-image: url('../images/oilgas-tankfarm-sunset.jpg');
  background-position: center 42%;
}
.bliss-hero__bg--marine {
  background-image: url('../images/mariii.jpg');
  background-position: center 60%;
}
.bliss-hero__bg--scraps {
  background-image: url('../images/re.jpg');
  background-position: center 55%;
}
.bliss-hero__bg--contact {
  background-image: url('../images/contact-hero-call.jpg');
  background-position: center 22%;
}
@keyframes blissKenBurns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
/* dark + brand-green overlay so text stays legible over the photo — heavier
   toward the bottom, where the text sits, lighter up top so more of the
   photo reads through */
.bliss-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 600px at 78% 15%, rgba(132, 212, 12, 0.16), transparent 55%),
    linear-gradient(0deg, rgba(12,12,12,.94) 0%, rgba(15,15,15,.62) 42%, rgba(15,15,15,.18) 100%);
}
/* subtle brand-green accent bar, decorative only */
.bliss-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 6px;
  z-index: 2;
  background: linear-gradient(90deg, var(--bliss-green), transparent 70%);
}
.bliss-hero .container { position: relative; z-index: 2; }

.bliss-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bliss-green);
  font-weight: 600;
  margin-bottom: 12px;
}
.bliss-hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 17ch;
}
.bliss-hero__title em { color: var(--bliss-green); font-style: normal; }
.bliss-hero__sub {
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  color: #d7d7d7;
  max-width: 52ch;
  margin: 0 0 22px;
}
.bliss-hero__cta {
  display: inline-block;
  background: var(--bliss-green);
  color: #14210a;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(132, 212, 12, 0.25);
}
.bliss-hero__cta:hover {
  background: #93e618;
  color: #14210a;
  transform: translateY(-2px);
  text-decoration: none;
}

/* trust badges */
.bliss-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
}
.bliss-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #eaeaea;
  backdrop-filter: blur(4px);
}
.bliss-badges li i { color: var(--bliss-green); }

/* staggered reveal animation (Option A) */
@keyframes blissFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blissPop {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}
.bliss-hero__eyebrow,
.bliss-hero__title,
.bliss-hero__sub,
.bliss-hero__cta { opacity: 0; animation: blissFadeUp .7s ease forwards; }
.bliss-hero__eyebrow { animation-delay: .10s; }
.bliss-hero__title   { animation-delay: .28s; }
.bliss-hero__sub     { animation-delay: .48s; }
.bliss-hero__cta     { animation-delay: .66s; }
.bliss-badges li { opacity: 0; animation: blissPop .5s ease forwards; }
.bliss-badges li:nth-child(1) { animation-delay: .85s; }
.bliss-badges li:nth-child(2) { animation-delay: .98s; }
.bliss-badges li:nth-child(3) { animation-delay: 1.11s; }
.bliss-badges li:nth-child(4) { animation-delay: 1.24s; }

/* ---------- 2. THE FORK (two doors) ----------
   Sits just below the fully-inset hero card with normal spacing — the
   hero is now framed on all sides, so nothing needs to overlap it. */
.bliss-fork { margin-top: 70px; position: relative; z-index: 5; padding-bottom: 70px; }
.bliss-fork .row { --bs-gutter-x: 22px; row-gap: 22px; }
.bliss-fork__panel {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 36px 32px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0,0,0,.28);
  transform: translateY(30px);
  opacity: 0;
  animation: blissFadeUp .7s ease forwards;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bliss-fork__panel--a { animation-delay: 1.0s; }
.bliss-fork__panel--b { animation-delay: 1.15s; }
.bliss-fork__panel::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.15) 0%, rgba(20,20,20,.82) 100%);
  transition: background .35s ease;
}
.bliss-fork__panel:hover {
  box-shadow: 0 26px 54px rgba(0,0,0,.36);
  transform: translateY(-4px);
}
.bliss-fork__panel:hover::before {
  background: linear-gradient(180deg, rgba(132,212,12,.25) 0%, rgba(20,20,20,.85) 100%);
}
.bliss-fork__panel > * { position: relative; z-index: 2; }
.bliss-fork__panel:hover { text-decoration: none; color: #fff; }
.bliss-fork__panel:hover img,
.bliss-fork__kicker { transition: transform .35s ease; }
.bliss-fork__kicker {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--bliss-green); font-weight: 700; margin-bottom: 6px;
}
.bliss-fork__panel h3 { font-family: 'Poppins'; font-weight: 700; font-size: 1.7rem; margin: 0 0 8px; }
.bliss-fork__panel p { color: #e2e2e2; margin: 0 0 18px; max-width: 42ch; }
.bliss-fork__go {
  font-weight: 700; color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  transform: translateX(0); transition: gap .25s ease, color .25s ease;
}
.bliss-fork__panel:hover .bliss-fork__go { gap: 16px; color: var(--bliss-green); }

/* ---------- 3. WHO WE ARE ----------
   Dark, numbered, text-led — no stock photography. Continues the same
   charcoal system as the hero and stats section instead of breaking to
   a plain white bootstrap card layout. */
.bliss-about {
  background: var(--bliss-charcoal);
  color: #fff;
  padding: 100px 0;
}
.bliss-about__label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.bliss-about__num { color: var(--bliss-green); font-weight: 700; font-size: 14px; font-family: 'Poppins', sans-serif; }
.bliss-about__eyebrow { color: #9a9a9a; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; }
.bliss-about__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  max-width: 12ch;
  margin: 0;
}
.bliss-about__title em { color: var(--bliss-green); font-style: normal; }
.bliss-about__text {
  color: #c7c7c7;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 62ch;
  margin: 0 0 34px;
}
.bliss-about__row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.bliss-about__social { list-style: none; display: flex; gap: 12px; padding: 0; margin: 0; }
.bliss-about__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.bliss-about__social a:hover {
  background: var(--bliss-green); border-color: var(--bliss-green); color: #14210a; transform: translateY(-2px);
}
.bliss-about__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bliss-green); color: #14210a; font-weight: 700;
  padding: 15px 32px; border-radius: 999px; text-decoration: none;
  transition: gap .25s ease, background .25s ease, transform .25s ease;
}
.bliss-about__cta:hover { background: #93e618; gap: 14px; color: #14210a; text-decoration: none; transform: translateY(-2px); }

/* ---------- 4/5. SERVICE TRACKS ---------- */
.bliss-track { padding: 70px 0; }
.bliss-track--industrial { background: #f6f8f2; }
.bliss-track__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.bliss-track__tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--bliss-green); font-weight: 700; margin-bottom: 8px;
}
.bliss-track__head h2 { font-family: 'Poppins'; font-weight: 700; color: var(--bliss-charcoal); }
.bliss-track__head h2 em { color: var(--bliss-green); font-style: normal; }
.bliss-track__head p { color: #666; }
.bliss-feature {
  display: block;
  background: #fff; border: 1px solid #eee; border-radius: 10px;
  padding: 28px 24px; height: 100%;
  color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bliss-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  border-color: var(--bliss-green);
  color: inherit; text-decoration: none;
}
.bliss-feature__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--bliss-green-dark);
  transition: gap .25s ease;
}
.bliss-feature:hover .bliss-feature__link { gap: 12px; }
.bliss-feature__icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(132,212,12,.12); color: var(--bliss-green);
  font-size: 22px; margin-bottom: 16px;
}
.bliss-feature h4 { font-weight: 600; font-size: 1.15rem; color: var(--bliss-charcoal); margin-bottom: 8px; }
.bliss-feature p { color: #6a6a6a; font-size: .95rem; margin: 0; }
.bliss-track__cta { text-align: center; margin-top: 38px; }
.bliss-track__cta a {
  display: inline-block; background: var(--bliss-green); color: #14210a; font-weight: 700;
  padding: 13px 32px; border-radius: 4px; text-decoration: none; transition: transform .2s ease, background .2s ease;
}
.bliss-track__cta a:hover { background: #93e618; transform: translateY(-2px); color: #14210a; text-decoration: none; }

/* ---------- 6. WHY CHOOSE US / STATS ----------
   Replaces the old .fun-facts block (which used a leftover template stock
   photo of an unrelated company's office, with a different business's
   name visible on the whiteboard, plus two stacked <h2>s crammed into one
   column). Same numbered layout language as "Who We Are". */
.bliss-projection {
  background: linear-gradient(135deg, #171717 0%, #1e1e1e 55%, #223214 100%);
  color: #fff;
  padding: 100px 0;
}
.bliss-projection__stats { --bs-gutter-x: 16px; row-gap: 16px; }
.bliss-stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.bliss-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132,212,12,.4);
  background: rgba(255,255,255,.06);
}
.bliss-stat-card .count-digit {
  color: var(--bliss-green);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 10px;
}
.bliss-stat-card .count-title { color: #d7d7d7; font-size: .92rem; font-weight: 500; }

/* On desktop the CTA sits under the paragraph, in the left column. Once the
   two columns stack (≤991px), that reads as "button, then stats" — swap to
   a second full-width CTA that renders after the stats grid instead, so the
   button is always the last thing you see, underneath the numbers. */
.bliss-about__cta--mobile-only { display: none; }
@media (max-width: 991px) {
  .bliss-about__cta--desktop-only { display: none; }
  .bliss-about__cta--mobile-only { display: inline-flex; margin-top: 28px; }
}

/* ---------- 7. MEET THE TEAM ---------- */
.bliss-team { padding: 76px 0; background: #fff; }
.bliss-team__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.bliss-team__head h2 { font-family: 'Poppins'; font-weight: 700; color: var(--bliss-charcoal); }
.bliss-team__head h2 em { color: var(--bliss-green); font-style: normal; }
.bliss-team__head p { color: #666; }
.bliss-member {
  text-align: center;
  background: #fafafa;
  border-radius: 14px;
  padding: 22px 18px 26px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bliss-member:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.bliss-member__photo {
  width: 150px; height: 150px; margin: 0 auto 18px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(132,212,12,.35);
}
.bliss-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bliss-member h4 { font-weight: 600; font-size: 1.1rem; color: var(--bliss-charcoal); margin: 0 0 4px; }
.bliss-member span { color: var(--bliss-green); font-weight: 600; font-size: .9rem; }
.bliss-member__bio { color: #666; font-size: .9rem; line-height: 1.6; margin: 12px 0 14px; }
.bliss-member__link {
  color: var(--bliss-green-dark); font-weight: 700; font-size: .85rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease, color .25s ease;
}
.bliss-member__link:hover { gap: 10px; color: var(--bliss-green); text-decoration: none; }

/* ---------- 6b. INTERIOR PAGE HERO (compact banner) ----------
   Same floating-pill-nav + photo-card system as the homepage hero, but
   shorter — these are page banners, not a full landing hero. ---------- */
.bliss-hero-wrap--page { min-height: auto; }
.bliss-hero--page {
  min-height: 40vh;
  align-items: center;
  padding: 46px 0 46px;
}
.bliss-hero--page .bliss-hero__title { max-width: 22ch; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.bliss-hero--page .bliss-hero__sub { max-width: 58ch; }
.bliss-breadcrumb {
  font-size: 13px; color: #c9c9c9; margin: 0 0 22px; display: flex; align-items: center; gap: 8px;
}
.bliss-breadcrumb a { color: #c9c9c9; text-decoration: none; transition: color .2s ease; }
.bliss-breadcrumb a:hover { color: var(--bliss-green); }
.bliss-breadcrumb i { font-size: 9px; color: #777; }
/* Current-page span stays light, not green — the eyebrow line right below
   it is already green, and two stacked green labels this close together
   read as visual clutter against a busy photo. */
.bliss-breadcrumb span { color: #e8e8e8; font-weight: 600; }
@media (max-width: 767px) {
  .bliss-hero--page { min-height: 34vh; padding: 36px 0; }
}

/* Content photo used in place of old inline float/height:100% styles */
.bliss-content-photo { border-radius: 16px; overflow: hidden; height: 100%; min-height: 320px; }
.bliss-content-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Responsive video embed card (16:9), used in place of a fixed-pixel iframe */
.bliss-video-card {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 16px; overflow: hidden; box-shadow: 0 16px 34px rgba(0,0,0,.12);
  margin-bottom: 34px;
}
.bliss-video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Equipment / capability chip grid — compact, scannable list for pages
   with many similarly-weighted items (no need for a full feature card per
   item when the name alone says everything). */
.bliss-equip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.bliss-equip-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee; border-radius: 999px;
  padding: 12px 20px; font-weight: 600; font-size: .92rem; color: var(--bliss-charcoal);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bliss-equip-item i { color: var(--bliss-green); font-size: 1rem; }
.bliss-equip-item:hover {
  transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); border-color: var(--bliss-green);
}

/* ---------- 6c. CONTACT FORM ----------
   The old form only had visual styling when wrapped in .callback-form or
   footer — a bare .contact-form (like the contact page's main form) fell
   back to unstyled Bootstrap defaults. This gives it its own consistent,
   on-brand look independent of that fragile parent-class cascade. */
.bliss-contact-form .form-control {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 14px 18px;
  height: auto;
  font-size: .95rem;
  color: var(--bliss-charcoal);
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bliss-contact-form .form-control:focus {
  outline: none;
  border-color: var(--bliss-green);
  box-shadow: 0 0 0 3px rgba(132,212,12,.15);
}
.bliss-contact-form ::placeholder { color: #999; }
.bliss-contact-form .filled-button {
  background: var(--bliss-green); color: #14210a; font-weight: 700; border: none;
  padding: 14px 36px; border-radius: 999px; text-transform: none; letter-spacing: 0;
  transition: background .2s ease, transform .2s ease;
}
.bliss-contact-form .filled-button:hover { background: #93e618; transform: translateY(-2px); }

/* ---------- 6d. MAP FRAME ---------- */
.bliss-map-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.bliss-map-frame iframe { display: block; }

/* ---------- 8. TESTIMONIAL TAGS ---------- */
.bliss-tt-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 30px;
  background: rgba(132,212,12,.14); color: var(--bliss-green-dark); margin-bottom: 12px;
}

/* ---------- 8a. TESTIMONIAL CARDS — modern static grid ----------
   Plain CSS grid instead of owl-carousel: grid rows stretch same-row cards
   to equal height automatically, no JS breakpoints to fight, and it scales
   cleanly if more testimonials get added later. */
.bliss-tgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.bliss-tcard {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 44px 38px 32px;
  box-shadow: 0 20px 50px rgba(20,30,10,.06);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bliss-tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(20,30,10,.1);
}
.bliss-tcard__quote {
  position: absolute; top: 28px; right: 32px;
  font-size: 34px; color: rgba(132,212,12,.16);
}
.bliss-tcard .bliss-tt-tag { align-self: flex-start; }
.bliss-tcard__text {
  color: #5a5a5a; line-height: 1.8; font-size: 15px;
  margin: 4px 0 28px; flex: 1 1 auto;
}
.bliss-tcard__author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid #eeeee8;
}
.bliss-tcard__author img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: contain;
  background: #fff; border: 1px solid #eee; padding: 4px; flex-shrink: 0;
}
.bliss-tcard__author h4 {
  margin: 0; font-size: 16px; font-weight: 700; color: var(--bliss-charcoal);
}
.bliss-tcard__author span {
  display: block; margin-top: 2px; font-size: 13px;
  font-weight: 600; color: var(--bliss-green-dark);
}
@media (max-width: 767px) {
  .bliss-tgrid { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .bliss-tcard { padding: 36px 26px 26px; }
}

/* ---------- 8b. LOGOS — one unified section, two auto-scrolling marquee rows ---------- */
.bliss-logos {
  background: linear-gradient(180deg, #fbfbf9 0%, #f5f6f2 100%);
  padding: 64px 0 56px;
}
.bliss-logos__row + .bliss-logos__row { margin-top: 46px; }
.bliss-logos__tag {
  display: block; text-align: center; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: #8d8d8d; font-weight: 700; margin-bottom: 26px;
}
.bliss-logos__note {
  text-align: center; font-size: 12px; color: #b2b2b2; max-width: 620px;
  margin: 18px auto 0; line-height: 1.6;
}

.bliss-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.bliss-marquee__track {
  display: flex; align-items: center; width: max-content;
  animation: bliss-marquee-scroll 32s linear infinite;
}
.bliss-marquee--reverse .bliss-marquee__track {
  animation-direction: reverse; animation-duration: 38s;
}
.bliss-marquee:hover .bliss-marquee__track { animation-play-state: paused; }
.bliss-marquee__item {
  flex: 0 0 auto; height: 52px; display: flex; align-items: center;
  padding: 0 40px;
}
.bliss-marquee__item img {
  max-height: 100%; max-width: 140px; width: auto; object-fit: contain;
}
@keyframes bliss-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .bliss-logos { padding: 46px 0 40px; }
  .bliss-logos__row + .bliss-logos__row { margin-top: 34px; }
  .bliss-marquee__item { height: 38px; padding: 0 26px; }
  .bliss-marquee__item img { max-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .bliss-marquee__track { animation: none; }
  .bliss-marquee { overflow-x: auto; }
}

/* ---------- 8c. BLOG — horizontal scroll carousel ----------
   Same numbered-label language as "Who We Are" / "Why Choose Us", but on
   a white section, plus the same left/right-arrow interaction pattern
   used for property carousels — drag or click through, no page reload. */
.bliss-about__label--dark .bliss-about__num { color: var(--bliss-green-dark); }
.bliss-about__eyebrow--dark { color: #8a8a8a; }

.bliss-blog { background: #fff; padding: 100px 0; }
.bliss-blog__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 44px;
}
.bliss-blog__title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--bliss-charcoal); margin: 0;
}
.bliss-blog__title em { color: var(--bliss-green); font-style: normal; }
.bliss-blog__nav { display: flex; gap: 10px; }
.bliss-blog__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #e2e2e2; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--bliss-charcoal); cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.bliss-blog__arrow:hover { background: var(--bliss-green); border-color: var(--bliss-green); color: #14210a; }
.bliss-blog__arrow.is-disabled { opacity: .35; cursor: default; pointer-events: none; }

.bliss-blog__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin: 0 -2px; scrollbar-width: none;
}
.bliss-blog__track::-webkit-scrollbar { display: none; }
.bliss-blog-card {
  flex: 0 0 clamp(270px, 32%, 380px);
  scroll-snap-align: start;
  background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bliss-blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.bliss-blog-card__img { height: 200px; overflow: hidden; }
.bliss-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bliss-blog-card:hover .bliss-blog-card__img img { transform: scale(1.06); }
.bliss-blog-card__body { padding: 24px; }
.bliss-blog-card__meta { display: flex; gap: 16px; color: #8a8a8a; font-size: .82rem; margin-bottom: 12px; }
.bliss-blog-card__meta i { color: var(--bliss-green); margin-right: 5px; }
.bliss-blog-card__body h4 {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.08rem;
  margin-bottom: 10px; color: var(--bliss-charcoal);
}
.bliss-blog-card__body p { color: #6a6a6a; font-size: .92rem; line-height: 1.6; margin-bottom: 14px; }

/* ---------- 9. WHATSAPP ----------
   A persistent floating bubble stacked with Tawk's own chat bubble read as
   two competing widgets fighting for the same corner. WhatsApp now lives
   inline instead: in the footer (every page) and as a prominent card on
   the Contact page. .bliss-whatsapp-card is the Contact-page treatment. */
.bliss-whatsapp-card {
  background: #25D366 !important;
  color: #fff;
}
.bliss-whatsapp-card .bliss-feature__icon { background: rgba(255,255,255,.2); color: #fff; }
.bliss-whatsapp-card h4, .bliss-whatsapp-card p { color: #fff; }
.bliss-whatsapp-card .bliss-feature__link { color: #fff; text-decoration: underline; }

/* ---------- 10. SCROLL REVEAL ----------
   Applied via bliss-interactions.js (IntersectionObserver). Everything
   below the hero was previously static once the on-load animation
   finished — this makes the rest of the page feel alive as you scroll,
   without a framework or animation library.

   Gated behind html.js (set by a tiny inline script in <head>, before
   first paint) so that if JavaScript never runs — blocked, slow network,
   a non-JS crawler — content is never hidden. Progressive enhancement:
   the reveal is a bonus for capable browsers, not a requirement to see
   the page at all.
   ---------------------------------------------------------------- */
html.js .bliss-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .bliss-reveal.is-visible { opacity: 1; transform: none; }
html.js .bliss-reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js .bliss-reveal-group.is-visible > * { opacity: 1; transform: none; }
html.js .bliss-reveal-group.is-visible > *:nth-child(1) { transition-delay: 0ms; }
html.js .bliss-reveal-group.is-visible > *:nth-child(2) { transition-delay: 90ms; }
html.js .bliss-reveal-group.is-visible > *:nth-child(3) { transition-delay: 180ms; }
html.js .bliss-reveal-group.is-visible > *:nth-child(4) { transition-delay: 270ms; }
html.js .bliss-reveal-group.is-visible > *:nth-child(5) { transition-delay: 360ms; }

/* Nav gains a solid, elevated pill once you scroll past the hero */
header.background-header {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* ---------- 11. BLOG: listing cards + full article ---------- */
.bliss-blog-listing-card {
  display: block; background: #fff; border: 1px solid #eee; border-radius: 16px;
  overflow: hidden; height: 100%; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bliss-blog-listing-card:hover {
  transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.1);
  color: inherit; text-decoration: none;
}
.bliss-blog-listing-card__img { height: 220px; overflow: hidden; }
.bliss-blog-listing-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bliss-blog-listing-card:hover .bliss-blog-listing-card__img img { transform: scale(1.06); }
.bliss-blog-listing-card__body { padding: 26px 24px; }
.bliss-blog-listing-card__tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 30px;
  background: rgba(132,212,12,.14); color: var(--bliss-green-dark); margin-bottom: 12px;
}
.bliss-blog-listing-card__meta { display: flex; gap: 16px; color: #8a8a8a; font-size: .82rem; margin-bottom: 10px; }
.bliss-blog-listing-card__meta i { color: var(--bliss-green); margin-right: 5px; }
.bliss-blog-listing-card__body h3 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem;
  margin-bottom: 10px; color: var(--bliss-charcoal); line-height: 1.35;
}
.bliss-blog-listing-card__body p { color: #6a6a6a; font-size: .94rem; line-height: 1.6; margin-bottom: 0; }

/* Full article body */
.bliss-article { padding: 80px 0 100px; background: #fff; }
.bliss-article__body { max-width: 740px; margin: 0 auto; }
.bliss-article__meta {
  display: flex; flex-wrap: wrap; gap: 18px; color: #8a8a8a; font-size: .88rem;
  margin-bottom: 20px;
}
.bliss-article__meta i { color: var(--bliss-green); margin-right: 6px; }
.bliss-article__lead {
  font-size: 1.18rem; line-height: 1.7; color: #444; font-weight: 500;
  margin-bottom: 34px;
  padding-bottom: 30px; border-bottom: 1px solid #eee;
}
.bliss-article__body h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--bliss-charcoal); margin: 44px 0 16px;
}
.bliss-article__body h3 {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.15rem;
  color: var(--bliss-charcoal); margin: 28px 0 12px;
}
.bliss-article__body p { color: #444; font-size: 1.02rem; line-height: 1.8; margin-bottom: 18px; }
.bliss-article__body ul, .bliss-article__body ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.bliss-article__body ul li, .bliss-article__body ol li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  color: #444; font-size: 1.02rem; line-height: 1.6;
}
.bliss-article__body ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--bliss-green); position: absolute; left: 0; top: 2px; font-size: .85rem;
}
.bliss-article__body a { color: var(--bliss-green-dark); font-weight: 600; text-decoration: underline; }
.bliss-article__image { border-radius: 16px; overflow: hidden; margin: 34px 0; }
.bliss-article__image img { width: 100%; display: block; }
.bliss-article__image figcaption { font-size: .82rem; color: #999; padding: 10px 2px 0; }
.bliss-article__faq {
  margin-top: 12px; border: 1px solid #eee; border-radius: 14px; padding: 8px 24px;
}
.bliss-article__faq-item { padding: 20px 0; border-bottom: 1px solid #eee; }
.bliss-article__faq-item:last-child { border-bottom: none; }
.bliss-article__faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.bliss-article__faq-item p { margin: 0; font-size: .96rem; }
.bliss-article__cta {
  margin-top: 44px; padding: 34px; border-radius: 16px;
  background: linear-gradient(135deg, #171717 0%, #1e1e1e 55%, #223214 100%);
  color: #fff; text-align: center;
}
.bliss-article__cta h3 { color: #fff; margin: 0 0 8px; }
.bliss-article__cta p { color: #d7d7d7; margin: 0 0 20px; }
.bliss-article__share {
  display: flex; align-items: center; gap: 12px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #eee;
}
.bliss-article__share span { font-size: .88rem; color: #8a8a8a; font-weight: 600; }
.bliss-article__share a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e2e2e2;
  display: inline-flex; align-items: center; justify-content: center; color: var(--bliss-charcoal);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bliss-article__share a:hover { background: var(--bliss-green); border-color: var(--bliss-green); color: #14210a; }

/* ============================================================
   RESPONSIVE  — 375 / 768 / 1024 / 1440
   ============================================================ */
@media (max-width: 991px) {
  .bliss-hero-wrap { padding: 12px; }
  .bliss-hero { padding: 90px 0 56px; border-radius: 18px; }
  .bliss-fork__panel { min-height: 280px; }
}
@media (max-width: 767px) {
  .bliss-hero-wrap { min-height: auto; padding: 10px; }
  .bliss-hero { padding: 84px 0 48px; text-align: left; min-height: 82vh; min-height: 82svh; border-radius: 14px; }
  .bliss-hero__title { font-size: 2rem; max-width: 100%; }
  .bliss-badges { gap: 8px; }
  .bliss-badges li { font-size: 12.5px; padding: 8px 13px; }
  .bliss-fork { margin-top: 40px; padding-bottom: 40px; }
  .bliss-fork__panel { min-height: 240px; transform: none; opacity: 1; animation: none; } /* simplify motion on mobile */
  .bliss-track { padding: 52px 0; }
  .bliss-feature { margin-bottom: 18px; }
  .bliss-member { margin-bottom: 20px; }
  .bliss-article { padding: 50px 0 60px; }
  .bliss-article__lead { font-size: 1.05rem; }
  .bliss-article__body h2 { font-size: 1.28rem; }
  .bliss-article__cta { padding: 26px; }
}
@media (min-width: 1440px) {
  .bliss-hero .container,
  .bliss-fork .container { max-width: 1320px; }
}

/* ============================================================
   ACCESSIBILITY — respect reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .bliss-hero__eyebrow,
  .bliss-hero__title,
  .bliss-hero__sub,
  .bliss-hero__cta,
  .bliss-badges li,
  .bliss-fork__panel,
  .bliss-hero__bg,
  .bliss-reveal,
  .bliss-reveal-group > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .bliss-feature, .bliss-member, .bliss-hero__cta, .bliss-fork__go { transition: none !important; }
}
