.testimonials {
    position: relative;
    padding-bottom: 0;
    z-index: 3;
    padding: 20px 0 15px 0;
}

#clientLoveHeader {
    color: rgb(0, 0, 0);
}

.testimonials .line-hr-center {
    width: 60px;
    border-top: 1px solid #3a5848;
}

/* Make each pricing item take full height and align inner content */
.owl-carousel .owl-item .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bethany-sidebar-part .widget.recent-posts {
    background: #faf8f7;
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

#usefulLinks .nav-item:hover .nav-link {
    color: #000000 !important;
}

form p.has-select {
    display: grid;
}

form p.has-select select {
    border: none;
    border-bottom: 1px solid #ececec;
}

form p.has-select select:focus-visible {
    border-bottom-width: 1px;
    border-color: #3a5848;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #3a5848;
}

.slick-dots li button:before {
    color: #C9D9C0;
}

.main-footer .fotcont .fothead h6:after {
    background: none;
    height: 0px;
}

.main-footer .fotcont .fothead h6 {
    padding-bottom: 0px;
}

.signature {
    color: black !important;
}

.service-image-container {
  position: relative;
  width: 100%;
  max-width: 1080px;   /* cap width */
  aspect-ratio: 3 / 2; /* keeps 1080:720 ratio */
  overflow: hidden;
  background: #f0f0f0; /* optional background */
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* or 'contain' if you don’t want cropping */
}

.masonry-gallery {
  column-count: 3;      /* number of columns */
  column-gap: 1rem;     /* space between columns */
}

.masonry-gallery .gallery-item {
  display: inline-block; 
  width: 100%;          /* ensure images fit column width */
  margin-bottom: 1rem;
  break-inside: avoid;  /* prevent breaking inside columns */
}

.masonry-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;   /* optional: rounded corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* optional: subtle shadow */
}

@media (max-width: 900px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-gallery {
    column-count: 1;
  }
}


.footer-link:hover {
  color: black;
}