/* ============================================================ JAYHAWKK | Caring Hearts, Healing Hands Final Light Theme (Fixed Nav, Uniform Cards, Soft Borders) ============================================================ */
/* ---------- ROOT VARIABLES ---------- */
:root {
  --bg-start: #FFF9FC;    /* Soft Pinkish Highlight */
  --bg-mid: #FCEBF4;      /* Soft Magenta-Pink Tint */
  --bg-end: #F4E8F9;      /* Gentle Purple Bottom */
  --ink: #3D2D3E;         /* Deep Charred Plum (instead of neutral charcoal) */
  --ink-70: rgba(61, 45, 62, 0.7);
  --ink-50: rgba(61, 45, 62, 0.5);
  --muted: #8E7A8F;       /* Mauve-Gray */
  --primary: #DC3C6E;     /* Key Magenta from logo text */
  --primary-rgb: 220, 60, 110;
  --secondary: #9C27B0;   /* Vibrant Purple from logo icon */
  --accent: #FF8BA0;      /* Bright Soft Rose accent */
  --accent-30: rgba(220, 60, 110, 0.2);
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --surface-light: #FFFFFF;
  --fog-shadow: 0 8px 32px rgba(220, 60, 110, 0.08); /* Hint of magenta shadow */
  --fog-shadow-strong: 0 16px 48px rgba(220, 60, 110, 0.12);
  --nav-h: 76px;
}

/* ---------- BASE STYLES ---------- */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.75;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 45%, var(--bg-end) 100%);
  background-attachment: fixed;
}

/* Ambient Glow Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1000px 700px at 10% 20%, rgba(220, 60, 110, 0.15), transparent 60%), radial-gradient(800px 600px at 80% 90%, rgba(156, 39, 176, 0.1), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

/* Selection */
::selection {
  background: var(--primary);
  color: #fff;
}

::-moz-selection {
  background: var(--primary);
  color: #fff;
}

/* Links */
a {
  transition: 0.3s all ease;
  color: var(--primary);
}

a:hover {
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 0 var(--accent);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-family: "Playfair Display", serif;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

.btn:focus,
.btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.btn.btn-primary {
  background: linear-gradient(135deg, var(--primary), #9d8de4);
  color: #fff;
  box-shadow: 0 8px 24px rgba(220, 60, 110, 0.3);
  pointer-events: auto !important;
  text-decoration: none;
}

.btn.btn-primary:hover {
  background: linear-gradient(135deg, #E95D8A, #A647B3);
  box-shadow: 0 12px 32px rgba(220, 60, 110, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(220, 60, 110, 0.2);
}

.btn.btn-white {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
}

.btn.btn-white:hover {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn.btn-outline-white {
  border: 1px solid #fff;
  color: #fff;
}

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

/* ---------- FORMS ---------- */
.form-control {
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(61, 45, 62, 0.1);
  color: var(--ink);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-30);
}

/* ---------- NAVBAR (Fixed & Opaque) ---------- */
/* ---------- NAVBAR (Fixed & Clean) ---------- */
.site-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 5000;
  /* <-- THIS IS THE FIX */
  background: var(--surface-light);
  box-shadow: 0 4px 15px rgba(61, 45, 62, 0.08);
  border-bottom: 1px solid rgba(220, 60, 110, 0.15);
  -webkit-backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Pushes main content down to prevent overlap */
.site-wrap {
  /* Set padding-top exactly equal to the navigation bar height */
  padding-top: var(--nav-h) !important;
}

@media (max-width: 991.98px) {
  :root {
    --nav-h: 64px;
  }
}

/* Neutralize sticky plugin */
.sticky-wrapper {
  position: static !important;
  height: auto !important;
}

.sticky-wrapper .site-navbar {
  position: fixed !important;
}

.site-navbar:hover {
  box-shadow: 0 10px 25px var(--accent-30);
}

.site-navbar .site-logo {
  display: block;   /* Ensure container is visible */
}

.site-navbar .site-logo a {
  display: inline-block;
  vertical-align: middle;
}

.site-navbar .site-logo a img.header-logo {
  height: 65px;     /* Increased for better visibility */
  width: auto;      /* Keep aspect ratio */
  max-width: 100%;
  display: block; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-navbar .site-logo a:hover img.header-logo {
  filter: drop-shadow(0 0 15px var(--accent));
  transform: scale(1.05);
}

/* Nav Links */
.site-navbar .site-menu>li>a {
  color: var(--ink);
  padding: 18px 20px;
  text-decoration: none !important;
}

.site-navbar .site-menu>li>a:hover,
.site-navbar .site-menu>li.active>a {
  color: var(--primary);
  box-shadow: 0 2px 0 var(--accent);
  /* Yellow hover light */
}

.site-navbar .site-navigation .site-menu>li.social>a {
  color: var(--ink);
}

.site-navbar .site-navigation .site-menu>li.social>a:hover {
  color: var(--accent);
}

/* Nav Dropdowns */
.site-navbar .site-navigation .site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-navbar .site-navigation .site-menu>li {
  position: relative;
  display: inline-block;
}

.site-navbar .site-navigation .site-menu .has-children>a {
  padding-right: 26px;
}

.site-navbar .site-navigation .site-menu .has-children>a:after {
  content: "▾";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(44, 44, 52, .55);
}

.site-navbar .site-navigation .site-menu .has-children .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin-top: 10px;
  padding: 8px 0;
  background: #fff;
  border-radius: 12px;
  border-top: 2px solid var(--primary);
  box-shadow: 0 12px 28px rgba(61, 45, 62, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 2100;
  list-style: none;
}

.site-navbar .site-navigation .site-menu .has-children:hover>.dropdown,
.site-navbar .site-navigation .site-menu .has-children:focus-within>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-top: 0;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li {
  list-style: none;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a:hover {
  background: rgba(var(--primary-rgb), 0.06);
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li.has-children>a {
  position: relative;
  padding-right: 26px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li.has-children>a:after {
  content: "▸";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(44, 44, 52, .55);
}

/* Mobile Menu */
/* Old mobile menu styles removed - superseded by full-screen redesign */

/* ---------- HERO / SLIDER ---------- */
.slide-item,
.cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.slide-item.overlay::before,
.cover.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 45, 62, 0.25), rgba(61, 45, 62, 0.15));
  z-index: 1; /* Ensure it sits on top of backround but below container */
}

.slide-item>.container,
.cover>.container {
  position: relative;
  z-index: 2;
}

.slide-item>.container>.row,
.cover>.container>.row {
  min-height: inherit;
  align-items: center;
}

.heading {
  font-size: 2.4rem;
  color: var(--ink);
}

/* ---------- FEATURES (UNIFORM HEIGHT) ---------- */
.feature-v1 .pagination-item {
  min-height: 220px;
  background: var(--surface-glass);
  border-radius: 14px;
  box-shadow: var(--fog-shadow);
  display: flex;
  text-align: left;
  padding: 24px;
  color: var(--ink);
  margin-bottom: 16px;
  align-items: center !important;
}

.feature-v1 .pagination-item:hover {
  box-shadow: var(--fog-shadow-strong);
  transform: translateY(-3px);
}

.feature-v1 .pagination-item.active {
  background: #fff;
  color: var(--ink);
}

.feature-v1 .pagination-item .icon-wrap img {
  width: 64px;
  height: auto;
}

/* ---------- SERVICES (Unified Card Structure & Soft Border) ---------- */
.service {
  height: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

/* This is the card wrapper (from index.html) */
.card-combo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(61, 45, 62, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  isolation: isolate;
}

/* Soft Gradient Border Ring Effect */
.card-combo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.card-combo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(220, 60, 110, 0.4);
}

.card-combo:hover::before {
  filter: blur(1px) brightness(1.2);
  opacity: 1;
}

.service a.d-block img {
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.service .card-combo a.d-block {
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  z-index: 2;
}

/* Service Card ICON Wrapper (Home/Residential) */
.service-icon-wrap,
.service .card-combo .service-icon-wrap {
  font-size: 56px;
  /* Final Prominent Icon Size */
  color: var(--primary);
  background: var(--surface-light);
  padding: 30px;
  text-align: center;
  border-radius: 18px 18px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Icon size refinement for smaller screens */
@media (max-width: 991.98px) {
  .service .card-combo .service-icon-wrap {
    font-size: 38px;
    padding: 22px 24px;
    height: 100px;
  }
}


.service-icon-wrap span,
.service .card-combo .service-icon-wrap span {
  transition: all 0.3s ease;
}

.card-combo:hover .service-icon-wrap {
  color: var(--accent);
  background: var(--surface-light);
  transform: scale(1.05);
}

.card-combo:hover .service-icon-wrap span {
  transform: scale(1.1);
}

/* Service Card TEXT */
.service .service-inner {
  text-align: center;
  padding: 24px 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border: none;
  flex: 1 1 auto;
  border-radius: 0 0 18px 18px;
  z-index: 2;
  color: var(--ink);
}

.service .service-inner h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.service .service-inner p {
  margin-bottom: 0;
  color: var(--ink-70);
  font-size: 14px;
}

/* Specialist Care Card Styling (Service-Inner as Card) */
.service-inner.glass {
  height: 100%;
  min-height: 120px;
  border-radius: 18px !important;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-inner.glass h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink);
}

.service-inner.glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--fog-shadow-strong);
}

.service-inner.glass:hover h4 {
  color: var(--primary);
}


/* ---------- COUNTERS (Clean Background) ---------- */
.count-numbers {
  background: #ffffff !important;
  padding-top: 48px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(61, 45, 62, .06);
  border-bottom: 1px solid rgba(61, 45, 62, .06);
  position: relative;
  z-index: 1;
}

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

.count-numbers .counter {
  color: #3a3f47;
  line-height: 1;
  font-size: 60px;
}

.count-numbers span {
  color: #6b7280;
}

/* ---------- TESTIMONIALS (Uniform Height & Soft Look) ---------- */
.testimonial {
  background: var(--surface-light);
  border-radius: 18px;
  box-shadow: var(--fog-shadow);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  margin-bottom: 30px;
  border: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(88, 138, 181, .28);
  background: radial-gradient(800px 200px at 50% -10%, var(--accent-30), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.testimonial img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), 0 8px 24px rgba(61, 45, 62, 0.08);
  z-index: 2;
}

.testimonial blockquote {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--ink);
}

.testimonial blockquote .quote {
  color: var(--ink);
}

.testimonial blockquote .author {
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  display: block;
}

/* ---------- BLOG & NEWS ---------- */
.blog-entry {
  text-align: center;
  color: var(--ink);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-entry h2 {
  font-size: 18px;
  color: var(--ink);
}

.blog-entry p {
  color: var(--ink-70);
  font-size: 14px;
}

.blog-entry .post-meta {
  font-size: 13px;
  color: var(--ink-70);
  margin-bottom: 20px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--fog-shadow);
  padding: 2px 4px;
}

.blog-entry .post-meta [class*="icon-"] {
  color: var(--primary);
}

.blog-entry .post-meta>span {
  margin: 8px;
}

/* Image Backlight Glow for Blog */
.blog-entry a.d-block {
  position: relative;
  z-index: 1;
  border-radius: 16px;
}

.blog-entry a.d-block::before,
.blog-entry a.d-block::after {
  content: "";
  position: absolute;
  border-radius: 16px;
}

.blog-entry a.d-block::before {
  inset: -12px;
  background: radial-gradient(60% 60% at 50% 35%,
      rgba(255, 225, 130, .45), rgba(159, 231, 219, .28), rgba(126, 138, 230, .22), transparent 70%);
  filter: blur(18px);
  opacity: .75;
  z-index: -2;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.blog-entry a.d-block:hover::before {
  opacity: .95;
  filter: blur(22px);
  transform: scale(1.01);
}

.blog-entry a.d-block::after {
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
}

.blog-entry img.img-fluid {
  border-radius: 14px;
  position: relative;
  z-index: 5; /* Ensure image is on top of glow effects */
  display: block;
  width: 100%;
}

/* ---------- CUSTOM MEDIA ---------- */
.custom-media .text {
  text-align: center;
  color: var(--ink);
  background: var(--surface);
}

.custom-media .text h3 {
  font-size: 18px;
  color: var(--ink);
}

.custom-media .img-bg {
  border-radius: 18px 18px 0 0;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 2;
}

/* ---------- SIDEBAR & BLOG UTILITIES ---------- */
.sidebar-box {
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  margin-bottom: 30px;
}

.sidebar-box h3 {
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 15px;
}

.categories li,
.sidelink li {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #dee2e6;
}

.categories li:last-child,
.sidelink li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.categories li a,
.sidelink li a {
  display: block;
}

.categories li a span,
.sidelink li a span {
  position: absolute;
  right: 0;
  top: 0;
  color: #ccc;
}

.categories li.active a,
.sidelink li.active a {
  color: #000;
  font-style: italic;
}

.categories li a:hover,
.sidelink li a:hover {
  color: var(--primary);
}

.comment-form-wrap {
  clear: both;
}

.comment-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-list .children {
  padding: 50px 0 0 40px;
  margin: 0;
  float: left;
  width: 100%;
}

.comment-list li {
  padding: 0;
  margin: 0 0 30px 0;
  float: left;
  width: 100%;
  clear: both;
  list-style: none;
}

.comment-list li .vcard {
  width: 80px;
  float: left;
}

.comment-list li .vcard img {
  width: 50px;
  border-radius: 50%;
}

.comment-list li .comment-body {
  float: right;
  width: calc(100% - 80px);
}

.comment-list li .comment-body h3 {
  font-size: 20px;
}

.comment-list li .comment-body .meta {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #ccc;
}

.comment-list li .comment-body .reply {
  padding: 5px 10px;
  background: #e6e6e6;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
}

.comment-list li .comment-body .reply:hover {
  color: #000;
  background: #e3e3e3;
}

.search-form {
  background: #f7f7f7;
  padding: 10px;
}

.search-form .form-group {
  position: relative;
}

.search-form .form-group input {
  padding-right: 50px;
}

.search-form .icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.post-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.post-meta a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

figure figcaption {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.8rem;
}

.card-title {
  font-size: 1.4rem;
  color: #000;
}

.team img:not(.img-capsule) {
  border-radius: 50%;
  margin-bottom: 20px;
}

.team .img-capsule {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2 / 3.2;
  /* Long capsule ratio */
  object-fit: cover;
  border-radius: 140px;
  /* Fully rounded ends for capsule shape */
  margin-bottom: 30px;
  box-shadow: var(--fog-shadow-strong);
  border: 4px solid #fff;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .img-capsule:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(220, 60, 110, 0.4);
}

.team h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.team .position {
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/* ---------- FOOTER (Fixed Visibility) ---------- */
.site-footer {
  background: var(--surface-light) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 5em 0;
  color: var(--ink);
  box-shadow: inset 0 1px 4px rgba(61, 45, 62, 0.06);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
  color: var(--primary);
}

.site-footer a {
  color: var(--ink-70);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.site-footer .social a {
  font-size: 18px;
  color: var(--ink);
}

.site-footer .social a:hover {
  color: var(--primary);
}

.site-footer .copyright {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .border-top {
  border-top: none !important;
}

/* ---------- MISC & RESPONSIVE ---------- */
.bg-primary {
  background: linear-gradient(180deg, var(--primary), var(--secondary)) !important;
  color: var(--ink) !important;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary p,
.bg-primary strong,
.bg-primary span {
  color: var(--ink) !important;
}

.text-white {
  color: var(--ink) !important;
}

.bg-light {
  background: rgba(255, 255, 255, 0.7) !important;
}

.ul-check,
.site-footer ul,
.site-footer ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ul-check.primary li::before {
  color: var(--primary);
}

.disabled-link {
  pointer-events: none;
  cursor: default;
}

.feature .img-wrap {
  width: 80px;
  height: 80px;
}

.feature .img-wrap img {
  width: 36px;
  height: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .heading {
    font-size: 2rem;
  }

  .site-section {
    padding: 3em 0;
  }

  .feature-v1 .pagination-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* ---------- PRELOADER ---------- */
/* ---------- MOBILE MENU REDESIGN (Full Screen) ---------- */
body.offcanvas-menu {
  overflow: hidden;
}

.site-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  /* Reset left */
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  /* Glassmorphism effect */
  z-index: 11000;
  transform: translateX(110%);
  opacity: 0;
  visibility: hidden;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: block;
  /* Removed flex center */
  overflow: hidden;
}

.offcanvas-menu .site-mobile-menu {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}

.site-mobile-menu .site-mobile-menu-header {
  position: relative;
  width: 100%;
  padding: 20px;
  z-index: 11002;
  text-align: right;
  top: auto;
  right: auto;
}

.site-mobile-menu .site-mobile-menu-close {
  cursor: pointer;
}

.site-mobile-menu .site-mobile-menu-close span {
  font-size: 30px;
  color: var(--ink);
  transition: .3s all ease;
}

.site-mobile-menu .site-mobile-menu-close span:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.site-mobile-menu .site-mobile-menu-body {
  height: calc(100vh - 80px);
  /* Adjust for header */
  width: 100%;
  padding: 20px 30px;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
  /* Left align for drawer */
  display: block;
}

.site-mobile-menu .site-nav-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.site-mobile-menu .site-nav-wrap li {
  list-style: none;
  margin-bottom: 10px;
  /* Reduced margin */
  display: block;
  position: relative;
}

.site-mobile-menu .site-nav-wrap>li>a {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  /* Reduced font size */
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: .3s all ease;
}

.site-mobile-menu .site-nav-wrap>li>a:hover {
  color: var(--primary);
  transform: scale(1.05);
  /* Subtle scale on hover */
}

/* Active State */
.site-mobile-menu .site-nav-wrap>li.active>a {
  color: var(--primary);
}

/* Dropdowns in Mobile */
.site-mobile-menu .site-nav-wrap .arrow-collapse {
  position: absolute;
  right: 0;
  top: 0;
  /* Adjust based on centering */
  top: 5px;
  width: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse:before {
  content: "\e313";
  /* Arrow down icon from icomoon if available, or use border */
  font-family: 'icomoon';
  font-size: 20px;
  color: var(--muted);
  transition: .3s all ease;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse.active:before {
  transform: rotate(180deg);
  color: var(--primary);
}

.site-mobile-menu .site-nav-wrap .collapse {
  display: none;
  margin-top: 15px;
}

.site-mobile-menu .site-nav-wrap .collapse.show {
  display: block;
}

.site-mobile-menu .site-nav-wrap li.has-children ul {
  padding: 0;
  margin: 0;
}

.site-mobile-menu .site-nav-wrap li.has-children ul li {
  margin-bottom: 15px;
}

.site-mobile-menu .site-nav-wrap li.has-children ul li a {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: var(--ink-70);
  padding: 5px 0;
  display: block;
}

.site-mobile-menu .site-nav-wrap li.has-children ul li a:hover {
  color: var(--primary);
}

/* ---------- Dropdown menu styling ---------- */
.site-navbar .site-navigation .site-menu .has-children .dropdown {
  min-width: 280px;
  background: var(--surface);
  backdrop-filter: blur(10px) saturate(120%);
  border-radius: 18px;
  box-shadow: var(--fog-shadow);
  padding: 8px 0;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a:hover {
  background: rgba(var(--primary-rgb), 0.06);
}

/* Icon styling */
.site-navbar .dropdown [class^="icon-"],
.site-navbar .dropdown [class*=" icon-"] {
  font-size: 18px;
  color: var(--primary);
  width: 24px;
  text-align: center;
  opacity: 0.9;
}

/* Remove inline styles from HTML */
.icon-home3,
.icon-users,
.icon-medkit,
.icon-heartbeat {
  font-size: inherit !important;
  color: inherit !important;
  margin: 0 !important;
}

/* NAV: always in front */
.sticky-wrapper {
  /* neutralize the plugin wrapper */
  position: static !important;
  height: auto !important;
  z-index: auto !important;
}

.site-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: #fff;
  /* solid, not transparent */
  border-bottom: 1px solid rgba(44, 44, 52, .08);
  box-shadow: 0 6px 20px rgba(61, 45, 62, .08);
  backdrop-filter: none;
  /* optional: remove blur if you want zero see-through */
  z-index: 10000 !important;
  /* <<< higher than anything else */
  isolation: isolate;
  /* keep its children above page effects */
}

/* reserve space so content doesn't slide under the fixed nav */
.site-wrap {
  padding-top: var(--nav-h) !important;
}

/* make sure page sections sit below the nav */
.slide-item,
.cover,
.site-section,
.count-numbers,
.site-footer {
  position: relative;
  z-index: 1;
}

/* dropdowns & mobile menu should still appear above the bar */
.site-navbar .dropdown {
  z-index: 10050;
}

.site-mobile-menu {
  z-index: 11000;
}

/* end nav fixed visibility code */
/* ================================ SERVICE CARDS — unified glow frame ================================ */
/* 0) Kill any old per-image glow so it doesn't leak between image & text */
.service a.d-block::before,
.service a.d-block::after {
  content: none !important;
}

/* 1) Wrap IMAGE + TEXT in one .card-combo (see HTML note below) */
.service .card-combo {
  position: relative;
  border-radius: 18px;
  /* soft edges */
  overflow: hidden;
  /* keep image & glow flush */
  background: #fff;
  /* solid card surface */
  box-shadow: 0 6px 22px rgba(61, 45, 62, .08);
  display: flex;
  flex-direction: column;
  height: 100%;
  isolation: isolate;
  /* keeps pseudo glows tied to this card */
}

/* 2) THIN GRADIENT RING (border) around the whole card */
.service .card-combo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* ring thickness */
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  /* Safari */
  mask-composite: exclude;
  /* Others */
  pointer-events: none;
  z-index: 1;
  opacity: .95;
}

/* 3) SOFT BACK-LIGHT (outside halo) for the whole card */
.service .card-combo::before {
  content: "";
  position: absolute;
  inset: -12px;
  /* let the halo leak outside */
  border-radius: 26px;
  /* slightly larger than the card */
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 225, 130, .45), rgba(159, 231, 219, .28), rgba(126, 138, 230, .22), transparent 70%);
  filter: blur(18px);
  opacity: .75;
  z-index: 0;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.service .card-combo:hover::before {
  opacity: .95;
  filter: blur(22px);
  transform: scale(1.01);
}

/* 4) Image (top) — flush with radius, no inner glow */
.service .card-combo a.d-block {
  display: block;
  border-radius: 18px 18px 0 0;
  /* match card */
  overflow: hidden;
}

.service .card-combo a.d-block img {
  display: block;
  width: 100%;
  height: 260px;
  /* consistent height */
  object-fit: cover;
  border-radius: 0;
  /* handled by wrapper */
  box-shadow: none;
  margin: 0;
}

/* 5) Text section (bottom) — same card, no seam */
.service .card-combo .service-inner {
  border-radius: 0 0 18px 18px;
  /* match card bottom */
  background: #fff;
  /* keep one surface */
  box-shadow: none;
  border: none;
  padding: 24px 18px;
  min-height: 180px;
  /* equalize heights */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 6) Row tidy so all columns match height */
.service {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  .service .card-combo a.d-block img {
    height: 200px;
  }
}

/* ========================================= GLOBAL TILE GLOW (cards, images, sections) ========================================= */
/* 0) Make common tiles “glow-ready” (one wrapper for image + text) */
.service .card-combo,
.blog-entry,
.custom-media,
.testimonial,
.tile,
/* optional: any element you mark with .tile */
.glow-card {
  /* utility class you can add anywhere */
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 22px rgba(61, 45, 62, .08);
  isolation: isolate;
  /* keep glows contained to this element */
}

/* 1) THIN gradient “ring” around the tile */
.service .card-combo::after,
.blog-entry::after,
.custom-media::after,
.testimonial::after,
.tile::after,
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* ring thickness */
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  /* Safari */
  mask-composite: exclude;
  /* Others */
  pointer-events: none;
  z-index: 1;
  opacity: .9;
}

/* 2) SOFT warm backlight halo outside the tile */
.service .card-combo::before,
.blog-entry::before,
.custom-media::before,
.testimonial::before,
.tile::before,
.glow-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: calc(18px + 8px);
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 225, 130, .45),
      /* warm yellow */
      rgba(159, 231, 219, .28),
      /* aqua */
      rgba(126, 138, 230, .22),
      /* lavender */
      transparent 70%);
  filter: blur(18px);
  opacity: .75;
  z-index: 0;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.service .card-combo:hover::before,
.blog-entry:hover::before,
.custom-media:hover::before,
.testimonial:hover::before,
.tile:hover::before,
.glow-card:hover::before {
  opacity: .95;
  filter: blur(22px);
  transform: scale(1.01);
}

/* 3) Smooth corners on the images inside tiles */
.service .card-combo a.d-block {
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.service .card-combo a.d-block img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
}

.site-section img.img-fluid:not(.no-frame) {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(61, 45, 62, .08);
}

/* Kill any old per-image glow in services so no seam between image & text */
.service a.d-block::before,
.service a.d-block::after {
  content: none !important;
}

/* =============================== MAGNIFIC POPUP — glowing popup =============================== */
/* Smooth, glowing popup frame */
.mfp-content .mfp-figure {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 20px 40px rgba(61, 45, 62, .35), 0 0 60px rgba(255, 225, 130, .35);
  /* warm outer glow */
}

/* Round the actual popup image corners */
img.mfp-img {
  border-radius: 18px !important;
  box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(61, 45, 62, .25);
}

/* Optional: glow the clickable gallery thumbnails automatically (use any of these classes on your anchors) */
a.image-popup,
a.popup-image,
a.mfp-link,
a.magnific,
a[data-mfp] {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

a.image-popup::after,
a.popup-image::after,
a.mfp-link::after,
a.magnific::after,
a[data-mfp]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .9;
}

a.image-popup::before,
a.popup-image::before,
a.mfp-link::before,
a.magnific::before,
a[data-mfp]::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: calc(16px + 8px);
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 225, 130, .42), rgba(159, 231, 219, .26), rgba(126, 138, 230, .20), transparent 70%);
  filter: blur(16px);
  opacity: .7;
  z-index: -1;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

a.image-popup:hover::before,
a.popup-image:hover::before,
a.mfp-link:hover::before,
a.magnific:hover::before,
a[data-mfp]:hover::before {
  opacity: .95;
  filter: blur(20px);
  transform: scale(1.02);
}

/* ========================= TESTIMONIALS — Card Style ========================= */
.testi-card {
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(61, 45, 62, .08);
  padding: 28px 22px 26px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  isolation: isolate;
  /* contain glows */
}

/* Gradient ring (outer) */
.testi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: .9;
}

/* Warm backlight halo */
.testi-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 26px;
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 225, 130, .42), rgba(159, 231, 219, .26), rgba(126, 138, 230, .20), transparent 70%);
  filter: blur(18px);
  opacity: .75;
  z-index: 0;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.testi-card:hover::before {
  opacity: .95;
  filter: blur(22px);
  transform: scale(1.01);
}

.testi-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), 0 10px 24px rgba(61, 45, 62, .12);
}

.testi-quote {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 8px 0 14px;
}

.testi-quote::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -12px;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(44, 44, 52, .15);
}

.testi-author {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink);
}

.testi-meta {
  font-size: .92rem;
  color: var(--ink-50);
}

/* Optional star rating */
.testi-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 0 2px;
}

.testi-stars svg {
  width: 18px;
  height: 18px;
  fill: #f6c453;
  /* warm gold */
}

/* Ensure equal height cards per row */
.testi-col {
  display: flex;
}

.testi-col>.testi-card {
  width: 100%;
}

/* Tighten the section spacing a bit for focus */
.testimonials-section.site-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Hero readability on this page */
.slide-item.overlay .heading {
  color: var(--ink);
}

.slide-item.overlay .lead {
  color: var(--ink-70);
}

/* Make any images inside this page rounder/softer by default */
.site-section img.img-fluid:not(.no-frame) {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(61, 45, 62, .08);
}

/* === Magnific Tiles (image + text as one glowing card) === */
.service.m-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  /* keeps image + text inside soft edges */
  background: #fff;
  box-shadow: 0 6px 20px rgba(61, 45, 62, .08);
  display: flex;
  flex-direction: column;
  height: 100%;
  isolation: isolate;
  /* ensures pseudo elements stay behind */
}

.service.m-tile::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 22px;
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 225, 130, .45),
      /* soft yellow */
      rgba(159, 231, 219, .28),
      /* aqua */
      rgba(126, 138, 230, .22),
      /* lavender */
      transparent 70%);
  filter: blur(18px);
  opacity: .75;
  z-index: -2;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.service.m-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  /* ring thickness */
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary, #DC3C6E), var(--secondary, #9C27B0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  /* Safari */
  mask-composite: exclude;
  /* Others */
  pointer-events: none;
  z-index: -1;
  opacity: .9;
}

.service.m-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(61, 45, 62, .14);
}

.service.m-tile:hover::before {
  opacity: .95;
  filter: blur(22px);
  transform: scale(1.01);
}

.service.m-tile>a.d-block img {
  display: block;
  width: 100%;
  height: 220px;
  /* keep all tiles same height */
  object-fit: cover;
  border-radius: 0;
  /* corners handled by wrapper */
  margin: 0;
}

.service.m-tile .service-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 22px 18px;
  min-height: 160px;
  /* unify text block height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #2C2C34;
}

/* Smaller image height on mobile to balance */
@media (max-width: 991.98px) {
  .service.m-tile>a.d-block img {
    height: 180px;
  }
}

/* ---------- Video Hero Background ---------- */
.video-hero {
  position: relative;
  overflow: hidden;
}

.video-hero #bgvideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  pointer-events: none;
}

.video-hero {
  position: relative;
  overflow: hidden;
  background: none !important;
}

/* Ensure content stays on top */
.video-hero .container {
  position: relative;
  z-index: 2;
}

/* Darker overlay for video to make text readable */
.video-hero.overlay::before {
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* ---------- Quick Contact Buttons ---------- */
.quick-contact-buttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1001;
  /* Above most content, below navbar dropdown */
  display: flex;
  flex-direction: column;
}

.qc-button {
  background: var(--primary);
  /* Uses your Lavender-gray color */
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px 0 0 8px;
  /* Rounded on the left side */
}

.qc-button:hover {
  background: var(--accent);
  /* Uses your Gentle Gold hover */
  color: var(--ink);
  transform: translateX(-5px);
  box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.2);
}

/* ---------- Service Card Icons ---------- */
.service-icon-wrap {
  font-size: 50px;
  color: var(--primary);
  background: #fff;
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px 18px 0 0;
  /* Match card radius */
}

/* Ensure the card-combo structure from your CSS is used */
.service .card-combo .service-icon-wrap {
  border-radius: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* --- CSS for ALL Icons on Service Cards (Home/Residential) --- */
.service .card-combo .service-icon-wrap {
  /* INCREASED ICON SIZE and padding */
  font-size: 56px;
  color: var(--primary);
  background: var(--bg-start);
  /* Light BG to separate icon from body */
  padding: 30px;
  text-align: center;
  border-radius: 18px 18px 0 0;
  transition: all 0.3s ease;
}

/* Yellow/Gold Interactive Hover Effect */
.service:hover .card-combo .service-icon-wrap {
  color: var(--accent);
  background: var(--surface-light);
  /* Brighter white surface on hover */
  box-shadow: 0 0 15px var(--accent-30);
  /* Soft accent glow */
  transform: scale(1.05);
  /* Subtle growth effect */
}

/* This targets the icon itself inside the wrapper */
.service-icon-wrap span {
  transition: all 0.3s ease;
}

.service:hover .service-icon-wrap span {
  transform: scale(1.1);
}

/* ====== QUICK FIX PACK (paste at the END of style.css) ====== */

/* 1) De-duplicate & tighten feature box icon styles */
.feature-v1 .pagination-item .icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--fog-shadow);
}

.feature-v1 .pagination-item .icon-wrap span {
  font-size: 30px;
  /* smaller so it doesn't overflow */
  line-height: 1;
  color: #fff;
}

/* 2) Make service-card icons slightly smaller + responsive */
.service .card-combo .service-icon-wrap {
  font-size: 44px;
  /* was 56px – reduced */
  padding: 26px 28px;
  /* slightly tighter */
}

@media (max-width: 991.98px) {
  .service .card-combo .service-icon-wrap {
    font-size: 38px;
    padding: 22px 24px;
  }
}

/* 3) Ensure dropdown icons (including Specialist Care) render & align */
.site-navbar .dropdown [class^="icon-"],
.site-navbar .dropdown [class*=" icon-"] {
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  font-size: 16px;
  /* a bit bigger for clarity */
  color: var(--primary);
  margin-right: 10px;
  transition: color 0.25s ease;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a {
  display: flex;
  align-items: flex-start;
  /* Changed from center to flex-start */
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  width: 100%;
  /* Ensure full width */
}

/* Adjust icon alignment and size */
.site-navbar .dropdown [class^="icon-"],
.site-navbar .dropdown [class*=" icon-"] {
  font-size: 18px;
  color: var(--primary);
  margin-right: 10px;
  flex-shrink: 0;
  /* Prevent icon from shrinking */
  width: 24px;
  /* Give fixed width to icons */
  text-align: center;
  /* Center the icon in its fixed width */
}

/* Fix text wrapping for longer items */
.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a span:not([class^="icon-"]) {
  white-space: normal;
  /* Allow text to wrap */
  flex-grow: 1;
  /* Let text take remaining space */
  text-align: left;
  /* Align text to left */
}

/* Ensure dropdown width accommodates longer text */
.site-navbar .site-navigation .site-menu .has-children .dropdown {
  min-width: 280px;
  padding: 8px 0;
  border-radius: 12px;
}

/* 1. Base Dropdown Style (To remove any existing harsh shadows/gloss effects, if needed) */
.site-navbar .site-menu .dropdown {
  /* Optional: If the original "glass/translucent" effect uses hard shadows, remove them here */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Keep it light */
}

/* 2. Style for individual items */
.site-navbar .site-menu .dropdown a {
  /* Set a smooth transition for the glow effect */
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #333;
  /* Standard text color */
}

/* 3. The Glowing Hover Effect */
.site-navbar .site-menu .dropdown a:hover {
  /* Change the background color on hover (use a semi-transparent white/light color) */
  background-color: rgba(245, 222, 179, 0.2);
  /* Soft beige background */
  /* Add the subtle "glow" using a box-shadow (soft lavender or soft gold) */
  box-shadow: 0 0 10px rgba(230, 230, 250, 0.8),
    /* Soft Lavender Glow */
    0 0 20px rgba(245, 222, 179, 0.6);
  /* Soft Beige Glow */
  color: #000;
  /* Darker text on hover for contrast */
}

/* 4. Optional: Highlight the inner span icons with the same color */
.site-navbar .site-menu .dropdown a:hover span {
  color: #F5DEB3 !important;
  /* Forces the icon to the soft gold color */
}

/* =============================================================== */
/* ====== CUSTOM GLOW HOVER FOR DROPDOWN MENU ITEMS (USER REQUEST) ===== */
/* =============================================================== */

/* Target the dropdown menu item link */
.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a {
  /* Ensures smooth animation */
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  border-radius: 8px;
  /* Give the hover area soft edges */
  margin: 4px 8px;
  /* Add slight margin for the glow to breathe */
  padding: 10px 12px;
  /* Adjust padding to match new margin */
  width: calc(100% - 16px);
  /* Full width minus margin */
  display: flex;
  /* Keep layout flexible */
  text-align: left;
}

/* 1. The Glowing Hover Effect */
.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a:hover {
  /* Subtle background shift to accent/white to indicate activation */
  background: rgba(255, 255, 255, 0.8);

  /* Subtle Soft Golden Glow using ACCENT color and a touch of PRIMARY */
  box-shadow: 0 0 10px rgba(220, 60, 110, 0.4),
    /* Soft Primary (Lavender) Glow */
    0 0 12px var(--accent-30);
  /* Soft Accent (Gentle Gold) Glow */

  /* Ensure text color stays readable */
  color: var(--ink);

  /* Remove any default box-shadow from the base <a>:hover rule if necessary */
  /* box-shadow: none; */
}

/* 2. Highlight the inner text and icon on hover */
.site-navbar .site-menu .dropdown a:hover span,
.site-navbar .site-menu .dropdown a:hover [class^="icon-"],
.site-navbar .site-menu .dropdown a:hover [class*=" icon-"] {
  /* Use the bright accent color for the icons on hover */
  color: var(--accent) !important;
}

/* 3. Ensure the dropdown itself looks clean and transparent */
.site-navbar .site-navigation .site-menu .has-children .dropdown {
  /* Reduce padding/margin inside the wrapper if needed to accommodate item spacing */
  padding: 4px 0;
}

/* =============================================================== */
/* ====== DROP-DOWN MENU FIXES (ICON COLOR & LAVENDER GLOW) ====== */
/* =============================================================== */

/* 1. Ensure icons start in INK/Black and have correct sizing */
.site-navbar .dropdown [class^="icon-"],
.site-navbar .dropdown [class*=" icon-"] {
  /* Resets icon color to soft ink/black by default */
  color: var(--ink-70);
}

/* 2. Style for individual menu item links */
.site-navbar .site-navigation .site-menu .has-children .dropdown>li>a {
  /* Reset background and borders to prepare for hover effect */
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  border-radius: 8px;
  margin: 4px 8px;
  padding: 10px 12px;
  width: calc(100% - 16px);
}

/* 3. The Hover Effect: Lavender Glow */
.site-navbar .site-menu .dropdown a:hover {
  /* Soft light background for contrast */
  background-color: rgba(220, 60, 110, 0.08);

  /* Subtle glow using Primary Lavender color */
  box-shadow: 0 0 10px rgba(220, 60, 110, 0.6),
    0 0 20px rgba(220, 60, 110, 0.4);

  /* Text color turns Primary Lavender on hover */
  color: var(--primary);
}

/* 4. Highlight icons on hover in Primary Lavender color */
.site-navbar .site-menu .dropdown a:hover span,
.site-navbar .site-menu .dropdown a:hover [class^="icon-"],
.site-navbar .site-menu .dropdown a:hover [class*=" icon-"] {
  color: var(--primary) !important;
}

/* ======================================================= */
/* ====== FINAL FIX: AGGRESSIVE NAVBAR GAP ELIMINATION ====== */
/* ======================================================= */

/* Target the first main content element (the slider/hero) and use a negative margin 
equal to the navigation height (var(--nav-h)) to pull it up into the fixed header's space. 
The .site-wrap padding ensures the content below the header doesn't get hidden. 
*/
.site-navbar+.slide-item,
.site-navbar+.cover,
.site-navbar+.hero-section,
.site-navbar+section,
.sticky-wrapper+.slide-item,
.sticky-wrapper+.cover,
.sticky-wrapper+.hero-section,
.sticky-wrapper+section {
  /* Pulls the element up by the exact height of the navbar (76px desktop/64px mobile) */
  margin-top: calc((var(--nav-h) * -1) + 30px) !important;

  /* Pushes the content *inside* the slide-item down, preventing the fixed nav from covering it */
  padding-top: var(--nav-h) !important;
}

/* Ensure body/HTML margins are absolutely zero */
body,
html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- GOLDEN GLOW BUTTON EFFECT ---------- */
.btn.btn-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary), #9d8de4);
  color: #fff;
  box-shadow: 0 8px 24px rgba(220, 60, 110, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  z-index: 10;
  pointer-events: auto !important;
}

.btn.btn-hero::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 8px;
  background: radial-gradient(60% 60% at 50% 35%,
      rgba(255, 215, 0, 0.25),
      rgba(255, 200, 50, 0.15),
      rgba(255, 165, 0, 0.08),
      transparent 70%);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.btn.btn-hero:hover {
  background: linear-gradient(135deg, #a3a0d9, #8d7fd4);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn.btn-hero:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

.btn.btn-hero:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}
/* ======================================================= */
/* ====== MOBILE OPTIMIZATION & BRANDED SIDE MENU ====== */
/* ======================================================= */

@media (max-width: 767.98px) {
  .heading {
    font-size: 1.8rem !important;
  }
  .lead {
    font-size: 1rem !important;
  }
  .site-section {
    padding-top: 4em !important;
    padding-bottom: 4em !important;
  }
  .site-navbar {
    height: 64px !important;
  }
}

/* Premium Branded Mobile Menu */
.site-mobile-menu {
  background: var(--surface-light);
  border-left: 2px solid var(--primary);
  box-shadow: -10px 0 30px rgba(220, 60, 110, 0.12);
}

.site-mobile-menu .site-nav-wrap li a {
  color: var(--ink);
  font-weight: 500;
  padding: 12px 20px !important;
  transition: 0.3s all ease;
  border-radius: 8px;
  margin: 4px 10px;
}

.site-mobile-menu .site-nav-wrap li a:hover,
.site-mobile-menu .site-nav-wrap li.active > a {
  background: rgba(220, 60, 110, 0.08);
  color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(220, 60, 110, 0.4);
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
  color: var(--primary);
}

/* Smooth Image Transitions for "Feels Fast" */
img {
  transition: opacity 0.4s ease-in-out;
}
img[loading="lazy"] {
  opacity: 0;
}
img.loaded {
  opacity: 1;
}
