/* These styles are generated from project.scss. */
.container-fluid {
  /* Temp fix for larger screens */
  max-width: 1500px;
  margin: 0 auto;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.nav-link:hover {
  color: #4E8373;
}

.footer-link {
  color: #4E8373;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: none;
  color: #0D4821;
}

.nav-pills .nav-link.active {
  position: relative;
  background: transparent;
  color: #3D995C;
}

.text-default {
  color: #969595;
}

.text-default-green {
  color: #3F9A5D !important;
}

.bg-default-green {
  background-color: #3F9A5D !important;
  color: #FFF !important;
}

.gradient-background {
  background: linear-gradient(to bottom, #F9F9F9, #CBE1D2, #3F9A5D);
}

.nav-pills .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #3D995C;
}

.service-search-input {
  border: none;
  box-shadow: none;
  width: 400px;
  padding: 5px 15px;
}

.service-search-input::placeholder {
  font-size: 20px;
  color: #C7C5C5;
}

.service-search-container {
  border: 1px solid #ced4da;
  border-radius: 0.9rem;
  padding: 0.25rem;
}

/* Container that holds the arrows and the horizontal scroll area */
.slider-container {
  position: relative;
  width: 95%;
  margin: 1rem auto;
  overflow: hidden;
  /* Hide scrollbar behind arrows */
}

/* Scrollable wrapper */
.scroll-wrapper {
  display: flex;
  gap: 1rem;
  /* spacing between cards */
  overflow-x: auto;
  scroll-behavior: smooth;
  /* smooth horizontal scrolling */
  scroll-snap-type: x mandatory;
  /* optional “snap” effect */
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  /* iOS smooth scrolling */
}

/* Hide the scrollbar in some browsers (optional) */
.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Each card within the slider */
.service-card {
  flex: 0 0 70%;
  /* card takes ~70% of container width on small screens */
  text-align: left;
  max-width: 300px;
  /* but no wider than 300px on large screens */
  border-radius: 8px;
  scroll-snap-align: start;
  /* snap each card to the left edge */
}

/* Basic card styling */
.service-card-img-top {
  max-width: 100%;
  height: 200px;
}

.service-card-body {
  padding: 1rem;
}

.service-card-title {
  margin-bottom: 1rem;
  font-size: 20px;
}

.service-card-text {
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: bold;
}

/* Arrow buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background-color: rgb(255, 255, 255, 0.3);
  color: #000;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background-color: #999;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

.card {
  border: none;
  background-color: transparent;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
}

.section-heading::before {
  content: "•";
  color: #0D4821;
  display: inline-block;
  margin-right: 0.2em;
  font-size: 1.6em;
  position: relative;
  top: 5px;
}

.section-tagline {
  font-size: 20px;
  font-weight: 400;
}

.accordion {
  --bs-accordion-border-color: transparent;
}

.accordion-item {
  background-color: transparent;
}

.accordion-header {
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: #32894F;
}

.accordion-button {
  background-color: transparent;
  color: #000;
  border-radius: 10px;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #000;
}

.accordion-collapse {
  background-color: #FFF;
  color: #000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.blur_text {
  filter: blur(7px);
}

/* For the service purchase form payment options */
.switch-field {
	display: flex;
  margin-top: 10px;
	margin-bottom: 36px;
	overflow: hidden;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #e4e4e4;
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 16px 32px;
	margin-right: -1px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	/* background-color: #3E9A5D; */
  border-color: #3E9A5D;
  border-width: 2px;
	box-shadow: none;
}

.switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}

.dropdown-item, .page-link {
  cursor: pointer;
}

@media (max-width: 768px) {
  .collapse.show {
    z-index: 1050;
    background-color: white;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .align-self-stretch-sm {
    align-self: stretch !important;
  }

  .section-heading {
    font-size: 24px;
    font-weight: 700;
  }

  .section-heading::before {
    content: "•";
    margin-right: 0.2em;
    font-size: 1.2em;
    position: relative;
    top: 1px;
  }
}