/* Animation Fix - Fade in up animation for images ONLY */

/* Keyframe animation for fade-in-up effect */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure images are visible and get fade-in animation (scoped)
   IMPORTANT: do NOT target all `img` globally.
   The site builder may use shared animation/visibility rules and JS that
   toggles opacity/transform on many elements. A global `img { ... !important }`
   can accidentally participate in those cascades and lead to text flicker/
   disappearing when the builder updates animation state.
*/
.image-wrapper--layout img,
[data-animation-role="image"] img,
.service-card__media img {
  visibility: visible !important;
  opacity: 1 !important;
  animation: fadeInUp 0.6s ease-out forwards !important;
}

/*
  Text invisible but present in DOM usually means the builder's animation system
  keeps elements at opacity:0 until JS sets data-animation-state="active".
  If that JS doesn't run (or the attribute isn't applied), text stays hidden.

  We keep the image-only animation above, but force text to be readable.
*/
.text-box,
.text-box *,
[data-animation-role="block-element"],
[data-animation-role="block-element"] * {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Override any parent container restrictions */
.image-wrapper--layout,
[data-animation-role="image"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure image wrapper children are visible */
.image-wrapper--layout .image,
.image-wrapper--layout .image__image,
[data-animation-role="image"] img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* --- Home: services cards (replaces old slider markup) --- */
.services-cards {
  /* keep it independent from the generated grid positioning */
  grid-column: 2 / -2;
  grid-row: 6 / -1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  height: auto;

  /* prevent overly wide cards on large screens */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Diensten: services overview (CSS-driven, clean mobile) --- */
.services-cards--overview {
  /* Injected into a Zyro/astro builder grid. Place it AFTER the title/subtitle.
     Title uses grid-row 2/3 and subtitle 4/5, so we pin services to row 6+. */
  grid-row: 6 / -1 !important;
  grid-column: 1 / -1 !important;
  align-self: start;
  justify-self: stretch;
  position: relative;
  z-index: 0;

  /* match builder gutter behaviour */
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.services-cards--overview .service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 20, 26, 0.08);
}

.services-cards--overview .service-card__media {
  height: 280px;
  background: #f3f3f3;
}

.services-cards--overview .service-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.services-cards--overview .service-card__body {
  padding: 16px 16px 18px;
}

.services-cards--overview .service-card__title {
  margin: 0 0 10px;
  color: #0d141a;
}

.services-cards--overview .service-card__text {
  margin: 0;
  color: rgb(86, 88, 94);
  line-height: 1.4;
}

@media (max-width: 920px) {
  .services-cards--overview {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;

    /* keep it after title/subtitle in builder mobile grid */
    grid-row: 6 / -1 !important;
  }

  .services-cards--overview .service-card__media {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .services-cards--overview {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 32px;
  }

  .services-cards--overview .service-card {
    border-radius: 16px;
  }

  .services-cards--overview .service-card__media {
    height: 200px;
  }

  .services-cards--overview .service-card__body {
    padding: 14px 14px 16px;
  }
}

/* Service card link - use CSS Grid positioning */
.service-card-link {
  display: grid;
  text-decoration: none;
  color: inherit;
  grid-row: var(--grid-row);
  grid-column: var(--grid-column);
  z-index: var(--z-index);
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  /* Don't clip text; only the media area should clip for rounded corners */
  overflow: visible;
  box-shadow: 0 8px 24px rgba(13, 20, 26, 0.08);
  height: 420px;

  /* ensure we can layer above builder backgrounds if needed */
  position: relative;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  .service-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(13, 20, 26, 0.12);
  }
}

.service-card__media {
  /* desktop: keep cards compact instead of becoming very tall */
  aspect-ratio: 3 / 2;
  background: #f3f3f3;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Dynamic version uses an <a> for the media; normalize it to behave like the static <div> */
.service-card__media:where(a) {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card__media:where(a):focus,
.service-card__media:where(a):active,
.service-card__media:where(a):visited {
  color: inherit;
}

.service-card__media:where(a):focus-visible {
  outline: 2px solid rgba(13, 20, 26, 0.35);
  outline-offset: 4px;
  border-radius: 20px;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop: cap the visual height of each card */
@media (min-width: 921px) {
  .service-card {
    /* allow the card to grow; we clamp the text instead */
    max-height: none;
  }

  .service-card__body {
    padding: 16px 16px 18px;
  }
}

.service-card__body {
  padding: 18px 18px 20px;
  text-align: center;

  position: relative;
  z-index: 1;
}

.service-card__title {
  margin: 0 0 10px;
  color: #0d141a;
  font-size: 18px;
}

.service-card__text {
  margin: 0;
  color: rgb(86, 88, 94);
  line-height: 1.4;
  font-size: 14px;

  /* keep cards consistent height on desktop */
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Tablet: allow 2 columns before collapsing to a single column */
@media (max-width: 920px) {
  .services-cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
  }

  /* Services overview images: on <=920px the builder hides `.image-wrapper--desktop`
     (expecting a `.image-wrapper--mobile` variant). Our services module markup
     only contains the desktop wrapper, so it gets hidden and images disappear. */
  .services-cards .service-card-link .image-wrapper--desktop {
    display: block !important;
  }

  .services-cards .service-card-link .image-wrapper,
  .services-cards .service-card-link .image-wrapper--layout {
    height: 210px !important;
    max-height: none !important;
  }

  .services-cards .service-card-link .image__image,
  .services-cards .service-card-link img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover;
    object-position: center;
  }

  .service-card__title {
    font-size: 16px;
  }
}

/* Mobile: single column, comfortable padding, less wide gutters */
@media (max-width: 600px) {
  .services-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 32px;
  }

  .service-card {
    border-radius: 16px;
  }

  .service-card__media {
    aspect-ratio: 4 / 3;
  }

  .service-card__body {
    padding: 14px 14px 16px;
  }

  .service-card__text {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* --- Header dropdown styling (navigation) --- */
/* These classes exist in the generated template/CSS but can look unstyled when
   the generated CSS isn't loaded or is overridden. Keep this in custom.css to
   guarantee consistent dropdown behaviour and appearance. */

/* Ensure dropdown can align under its parent label */
.block-header-item {
  position: relative;
}

/* Desktop dropdown panel */
.block-header-item__dropdown-area {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;

  display: none;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 24px;
}

/* Show on hover/focus (keyboard) */
.block-header-item__label:hover .block-header-item__dropdown-area,
.block-header-item__label:focus-within .block-header-item__dropdown-area {
  display: block;
}

.block-header-item__dropdown {
  min-width: 220px;
  max-width: 340px;
  max-height: 420px;
  overflow: auto;

  margin: 0;
  padding: 12px 14px;
  list-style: none;

  background: #ffffff;
  border: 1px solid rgba(13, 20, 26, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(13, 20, 26, 0.14);
}

/* --- Over ons page: clean + simple CTA + copy --- */
.overons-cta {
  /* keep it minimal: no full-width banner look */
  background: transparent;
  border: 0;
  padding: 0;
}

/* Two column layout: text left, image right */
.overons-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  width: min(80vw, 1100px);
  margin-left: auto;
  margin-right: auto;
}

.overons-split__text h2 {
  margin: 0 0 14px;
}

.overons-split__media {
  position: sticky;
  top: 110px;
}

.overons-split__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 920px) {
  .overons-split {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
    width: 100%;
  }

  .overons-split__media {
    position: static;
    top: auto;
  }
}

.overons-cta__inner {
  display: block;
}

.overons-cta__text {
  margin: 0 0 10px;
  color: #0d141a;
  font-size: 16px;
  line-height: 1.35;
}

.overons-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: #28527a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(13, 20, 26, 0.12);
}

.overons-cta__phone:hover,
.overons-cta__phone:focus-visible {
  background: #1f3f5f;
}

/* Place the CTA inside the left text column of the split layout */
.overons-split__text .overons-cta {
  margin-top: 16px;
}

.about-section {
  padding: 80px;
}

/* About page: clean padding + alignment */
.about-section .content-column .inner-column {
  padding-top: 26px;
  padding-bottom: 26px;
}

.about-section .content-column h2 {
  margin: 0 0 14px;
  color: #0d141a;
}

/* Typography spacing */
.overons-copy {
  max-width: 62ch;
}

.overons-copy p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.overons-copy h3 {
  margin: 18px 0 10px;
  color: #0d141a;
  font-size: 20px;
}

.overons-copy__list {
  margin: 10px 0 14px 18px;
  padding: 0;
}

.overons-copy__list li {
  margin: 8px 0;
  line-height: 1.5;
}

/* Image column: keep it tidy */
.about-section .image-column .image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.about-section .image-column .inner-column {
  padding-top: 26px;
  padding-bottom: 26px;
}

@media (max-width: 600px) {

  .overons-cta__phone {
    width: 100%;
  }

  .overons-copy {
    max-width: none;
  }
  .about-section {
    padding: 40px;
  }

  .about-section .content-column .inner-column,
  .about-section .image-column .inner-column {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

.block-header-item__dropdown > .block-header-item {
  width: 100%;
}

.block-header-item__dropdown > .block-header-item:not(:last-child) {
  margin-bottom: 4px;
}

/* Dropdown links */
.block-header-item__dropdown a,
.block-header-item__dropdown .item-content {
  display: block;
  width: 100%;
  padding: 10px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  line-height: 1.2;
  white-space: nowrap;
}

.block-header-item__dropdown a:hover,
.block-header-item__dropdown a:focus-visible,
.block-header-item__dropdown .item-content-wrapper:hover .item-content {
  background: rgba(13, 20, 26, 0.06);
  text-decoration: none;
}

/* Mobile: dropdown becomes an indented list (no floating panel) */
@media (max-width: 920px) {
  .block-header-item__dropdown-area {
    position: static;
    display: none;
    padding: 0;
  }

  /* On mobile the template uses a hidden checkbox to toggle */
  .block-header-item__mobile-dropdown-trigger:checked ~ .block-header-item__dropdown-area {
    display: block;
  }

  .block-header-item__dropdown {
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .block-header-item__dropdown a,
  .block-header-item__dropdown .item-content {
    padding: 8px 0;
    border-radius: 0;
    white-space: normal;
  }
}

/* =========================
   Header dropdown (compat for injected submenu)
   Our Twig markup uses:
   <ul class="block-header-item__submenu" data-v-7a1586db>
   but the theme styles target __dropdown-area/__dropdown.
   The rules below style the submenu so it behaves like a dropdown.
   ========================= */

/* Desktop/Tablet: float as dropdown and show on hover/focus */
@media (min-width: 921px) {
  /* Anchor absolute positioning + hover state to the whole nav item */
  .block-header-item {
    position: relative;
  }

  /* Match the theme's dropdown panel look/behavior */
  .block-header-item__submenu[data-v-7a1586db] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    list-style: none;
    /* IMPORTANT: don't create a hover-gap between the trigger and submenu */
    margin: 0;
    padding: 16px 24px;

    background-color: var(--background-color, #ffffff);
    border-radius: 5px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);

    max-height: 400px;
    overflow: auto;

    /* Hidden by default (like theme dropdown-area display:none) */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  }

  /* Invisible bridge above the dropdown so the pointer can travel down without
     leaving :hover on the parent (prevents flicker/disappearing). */
  .block-header-item__submenu[data-v-7a1586db]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  /* Show on hover/focus for the whole menu item (includes submenu) */
  .block-header-item:hover .block-header-item__submenu[data-v-7a1586db],
  .block-header-item:focus-within .block-header-item__submenu[data-v-7a1586db] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .block-header-item__submenu[data-v-7a1586db] > li:not(:last-child) {
    margin-bottom: 10px;
  }

  .block-header-item__submenu[data-v-7a1586db] a {
    display: block;
    width: 100%;
    padding: 6px 0;
    text-decoration: none;
    color: inherit;
    line-height: 1.35;
    white-space: nowrap;
  }

  .block-header-item__submenu[data-v-7a1586db] a:hover,
  .block-header-item__submenu[data-v-7a1586db] a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 7px;
  }
}

/* Mobile: render submenu inline (no floating panel) */
@media (max-width: 920px) {
  .block-header-item__submenu[data-v-7a1586db] {
    position: static;
    display: none;
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  /* JS toggled state (tap caret) */
  .block-header-item.is-submenu-open .block-header-item__submenu[data-v-7a1586db] {
    display: block;
  }

  /* Make room for the injected toggle button */
  .block-header-item__item[aria-haspopup="true"] {
    position: relative;
    padding-right: 40px;
  }

  /* Injected caret toggle button (JS) */
  .block-header-item__item[aria-haspopup="true"] .nav-submenu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  .block-header-item__item[aria-haspopup="true"] .nav-submenu-toggle::before {
    content: "▾";
    display: block;
    width: 100%;
    height: 100%;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    opacity: 0.85;
  }

  .block-header-item.is-submenu-open .block-header-item__item[aria-haspopup="true"] .nav-submenu-toggle::before {
    content: "▴";
  }

  /* If the builder ever toggles aria-expanded on the wrapper, respect it */
  .block-header-item__item[aria-haspopup="true"][aria-expanded="true"] + .block-header-item__submenu[data-v-7a1586db] {
    display: block;
  }

  .block-header-item__submenu[data-v-7a1586db] a {
    padding: 12px 0;
    white-space: normal;
    line-height: 1.35;
  }

  .block-header-item__submenu[data-v-7a1586db] > li:not(:last-child) {
    margin-bottom: 6px;
  }
}

/* ===========================
   Service Detail Page Styling
   =========================== */

/* Hero Section */
.service-detail__hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.service-detail__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 20, 26, 0.5);
  z-index: 1;
}

.service-detail__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.service-detail__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-detail__title h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 30px;
  color: white;
  line-height: 1.2;
}

.service-detail__breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.service-detail__breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.service-detail__breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.service-detail__breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.service-detail__breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Container */
.service-detail__container {
  padding: 60px 20px;
  background: #ffffff;
}

.service-detail__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* Main Content */
.service-detail__main {
  grid-column: 1;
}

.service-detail__content {
  background: #ffffff;
  margin-top: 40px;
}

.service-detail__heading {
  font-size: 32px;
  font-weight: 700;
  color: #0d141a;
  margin: 0 0 20px;
  line-height: 1.2;
}

.service-detail__text {
  font-size: 16px;
  line-height: 1.8;
  color: rgb(86, 88, 94);
  margin-bottom: 30px;
}

.service-detail__text--primary {
  margin-bottom: 40px;
}

/* Section Styling */
.service-detail__section {
  margin-bottom: 50px;
}

.service-detail__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.service-detail__col {
  display: flex;
  flex-direction: column;
}

.service-detail__col--image {
  justify-content: flex-start;
}

.service-detail__image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 20, 26, 0.12);
  height: 100%;
  min-height: 350px;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.service-detail__image:hover img {
  transform: scale(1.05);
}

.service-detail__col--content {
  padding-top: 10px;
}

.service-detail__subheading {
  margin-bottom: 20px;
}

.service-detail__subheading h4 {
  font-size: 20px;
  font-weight: 600;
  color: #0d141a;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #007bff;
  display: inline-block;
}

/* Lists */
.service-detail__list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.service-detail__list li {
  padding: 10px 0 10px 25px;
  position: relative;
  color: rgb(86, 88, 94);
  line-height: 1.6;
  font-size: 15px;
}

.service-detail__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
  font-size: 16px;
}

/* Tables */
.service-detail__table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 20, 26, 0.08);
}

.service-detail__table thead {
  background: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
}

.service-detail__table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #0d141a;
  background: #f5f5f5;
}

.service-detail__table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  color: rgb(86, 88, 94);
}

.service-detail__table tbody tr:hover {
  background: #f9f9f9;
}

.service-detail__table tbody tr:last-child td {
  border-bottom: none;
}

/* Sidebar */
.service-detail__sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail__widget {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 20, 26, 0.08);
  position: sticky;
  top: 20px;
}

.service-detail__widget-box {
  padding: 25px;
  border-bottom: 1px solid #e0e0e0;
}

.service-detail__widget-box:last-of-type {
  border-bottom: none;
}

.service-detail__widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #0d141a;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

.service-detail__widget-content {
  padding-top: 10px;
}

/* Services List */
.service-detail__services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-detail__services-list li {
  margin-bottom: 10px;
}

.service-detail__services-list a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: rgb(86, 88, 94);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.service-detail__services-list a:hover {
  background: #f5f5f5;
  color: #007bff;
  border-left-color: #007bff;
}

.service-detail__services-list-item--active a {
  background: #e7f1ff;
  color: #007bff;
  border-left-color: #007bff;
  font-weight: 600;
}

/* Banner */
.service-detail__banner {
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 20, 26, 0.6);
  z-index: 1;
}

.service-detail__banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
}

.service-detail__banner-image {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.service-detail__banner-image img {
  width: 80px;
  height: auto;
  display: block;
}

.service-detail__banner-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 5px;
  color: white;
}

.service-detail__banner-content h4 {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
}

.service-detail__banner-action {
  margin-top: 20px;
}

.service-detail__banner-link {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  gap: 8px;
  display: inline-flex;
  align-items: center;
}

.service-detail__banner-link:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.service-detail__banner-link i {
  margin-right: 8px;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet: 1 column layout */
@media (max-width: 920px) {
  .service-detail__title h1 {
    font-size: 36px;
  }

  .service-detail__container {
    padding: 40px 20px;
  }

  .service-detail__wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail__sidebar {
    grid-column: 1;
  }

  .service-detail__widget {
    position: static;
  }

  .service-detail__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-detail__heading {
    font-size: 24px;
  }
}

/* Mobile: smaller fonts and padding */
@media (max-width: 600px) {
  .service-detail__hero {
    padding: 60px 15px;
    min-height: 300px;
  }

  .service-detail__title h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .service-detail__breadcrumb {
    gap: 10px;
  }

  .service-detail__breadcrumb li {
    font-size: 12px;
  }

  .service-detail__container {
    padding: 30px 15px;
  }

  .service-detail__heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .service-detail__text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .service-detail__subheading h4 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .service-detail__image {
    min-height: 150px;
  }

  .service-detail__list li {
    font-size: 14px;
    padding: 8px 0 8px 20px;
  }

  .service-detail__table {
    font-size: 13px;
  }

  .service-detail__table th,
  .service-detail__table td {
    padding: 10px;
  }

  .service-detail__services-list a {
    padding: 10px 12px;
  }

  .service-detail__banner {
    min-height: 250px;
  }

  .service-detail__banner-image img {
    width: 60px;
  }

  .service-detail__banner-content h3 {
    font-size: 18px;
  }

  .service-detail__banner-link {
    padding: 10px 20px;
    font-size: 13px;
  }
}
