/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

@media (max-width: 576px) {
	.sm-pt-2 {
		padding-top: 2rem !important;
	}
	.sm-pt-3 {
		padding-top: 3rem !important;
	}
	.sm-pt-1 {
		padding-top: 1rem !important;
	}
	.col-sm-6 {
		flex: 0 0 auto;
		width: 50% !important;
	}
}

.features-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 0.75rem 2rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.features-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.6;
}

.features-list i {
	color: #666;
	flex-shrink: 0;
	margin-top: 4px;
}

/* Optional hover effect for premium look */
.features-list li {
	transition: all 0.2s ease-in-out;
}

.features-list li:hover {
	transform: translateX(4px);
	color: #111;
}

.features-list li:hover i {
	color: #000;
}

.slider-element {
	position: relative;
	overflow: hidden;
}

/* Overlay text */
.slider-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 800px;
	color: #000;
	padding: 0 1rem;
}

/* Responsive title */
.slider-title {
	font-size: clamp(18px, 5vw, 38px);
	line-height: 1.3;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

/* Responsive subtitle */
.slider-subtitle {
	font-size: clamp(14px, 3vw, 20px);
	margin: 0;
}

/* Mobile fine-tuning */
@media (max-width: 576px) {
	.slider-caption {
		top: 52%;
		width: 95%;
	}

	.slider-title {

		font-size: 20px;
	}

	.slider-subtitle {
		font-size: 14px;
	}
}

.counter {
  /* Base variables */
  --cnvs-counter-font-size: 42px;
  --cnvs-counter-font-weight: 700;
  --cnvs-counter-font-family: var(--cnvs-primary-font, 'Poppins', sans-serif);
  --cnvs-counter-caption-size: 1.125rem;
  --cnvs-counter-sm-font-size: 28px;
  --cnvs-counter-lg-font-size: 35px;
  --cnvs-counter-xl-font-size: 44px;
  --cnvs-counter-lined-size: 2px solid var(--cnvs-heading-color, #222);
  --cnvs-counter-lined-width: 15%;

  font-size: var(--cnvs-counter-font-size);
  font-weight: var(--cnvs-counter-font-weight);
  font-family: var(--cnvs-counter-font-family);
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* Caption or label text (like "Clients Served") */
.counter + h5,
.counter-caption {
  font-size: var(--cnvs-counter-caption-size);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
  color: var(--cnvs-heading-color, #333);
}

/* Decorative underline style (optional) */
.counter::after {
  content: "";
  display: block;
  width: var(--cnvs-counter-lined-width);
  height: 2px;
  background-color: currentColor;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .counter {
    font-size: var(--cnvs-counter-sm-font-size);
  }
}

@media (min-width: 992px) {
  .counter {
    font-size: var(--cnvs-counter-lg-font-size);
  }
}

@media (min-width: 1400px) {
  .counter {
    font-size: var(--cnvs-counter-xl-font-size);
  }
}
