/* ==================================================
   SMR BUTTON WRAPPER
================================================== */

.smr-button-wrapper {
	display: block;
	width: 100%;
}


/*MAIN BUTTON*/

.smr-button-wrapper .smr-animated-button {

	--smr-orange-width: 50px;

	--smr-orange-top: 6px;
	--smr-orange-right: 6px;
	--smr-orange-bottom: 6px;
	--smr-orange-left: 6px;

	--smr-animation-duration: 0.4s;

	position: relative;

	display: inline-flex;
	align-items: center;
	justify-content: flex-start;

	min-height: 64px;

	overflow: hidden;

	background-color: #0a1f3b;

	border: 1px solid #0a1f3b;
	border-radius: 12px;

	color: #ffffff;
	text-decoration: none;

	cursor: pointer;

	isolation: isolate;

	transition:
		background-color var(--smr-animation-duration) ease,
		border-color var(--smr-animation-duration) ease,
		border-radius var(--smr-animation-duration) ease;
}


/*ORANGE ANIMATION LAYER*/

.smr-button-wrapper .smr-button-bg {

	position: absolute;

	top: var(--smr-orange-top);
	left: var(--smr-orange-left);

	width: var(--smr-orange-width);

	height: calc(
		100% -
		var(--smr-orange-top) -
		var(--smr-orange-bottom)
	);

	z-index: 0;

	background-color: #ff6b1a;

	border-radius: 8px;

	pointer-events: none;

	transition:
		width var(--smr-animation-duration) ease,
		background-color var(--smr-animation-duration) ease,
		border-radius var(--smr-animation-duration) ease;
}


/*ORANGE HOVER EXPANSION*/

.smr-button-wrapper
.smr-animated-button:hover
.smr-button-bg {

	width: calc(
		100% -
		var(--smr-orange-left) -
		var(--smr-orange-right)
	);
}


/*CONTENT*/

.smr-button-wrapper .elementor-button-content-wrapper {

	position: relative;

	z-index: 2;

	display: inline-flex;
	align-items: center;
	justify-content: flex-start;

	width: 100%;
}


/*ICON*/

.smr-button-wrapper .smr-button-icon {

	position: relative;

	z-index: 3;

	width: var(--smr-orange-width);

	height: calc(
		100% -
		var(--smr-orange-top) -
		var(--smr-orange-bottom)
	);

	flex: 0 0 var(--smr-orange-width);

	display: flex;
	align-items: center;
	justify-content: center;

	color: #ffffff;

	line-height: 1;

	transform-origin: center;

	transition:
		transform var(--smr-animation-duration) ease,
		color var(--smr-animation-duration) ease;
}


/* ICON SVG*/

.smr-button-wrapper .smr-button-icon svg {

	display: block;

	width: 20px;
	height: 20px;

	fill: currentColor;

	transition:
		width var(--smr-animation-duration) ease,
		height var(--smr-animation-duration) ease;
}


/*ICON HOVER ROTATION*/

.smr-button-wrapper
.smr-animated-button:hover
.smr-button-icon {

	transform: rotate(-45deg);
}


/* TEXT */

.smr-button-wrapper .elementor-button-text {

	position: relative;

	z-index: 3;

	display: inline-block;

	margin-left: 10px;

	color: #ffffff;

	white-space: nowrap;

	transition:
		color var(--smr-animation-duration) ease;
}


/* HOVER TEXT */

.smr-button-wrapper
.smr-animated-button:hover
.elementor-button-text {

	color: #ffffff;
}


/*  HOVER */

.smr-button-wrapper
.smr-animated-button:hover {

	text-decoration: none;
}


/* FOCUS */

.smr-button-wrapper
.smr-animated-button:focus-visible {

	outline: 2px solid #ff6b1a;
	outline-offset: 3px;
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

	.smr-button-wrapper .smr-animated-button,
	.smr-button-wrapper .smr-button-bg,
	.smr-button-wrapper .smr-button-icon,
	.smr-button-wrapper .elementor-button-text {

		transition: none;
	}

	.smr-button-wrapper
	.smr-animated-button:hover
	.smr-button-icon {

		transform: none;
	}
}




/* ==================================================
   SMR SERVICE CARD
================================================== */

.smr-service-card-wrapper {
	width: 100%;
}


/* CARD */

.smr-service-card-wrapper .smr-service-card {

	--smr-card-duration: 0.3s;

	position: relative;

	display: flex;

	width: 100%;
	min-height: 360px;

	padding: 40px;

	overflow: hidden;

	background-color: #ffffff;

	border: 1px solid #e5e7eb;
	border-radius: 20px;

	color: #0a1f3b;
	text-decoration: none;

	isolation: isolate;

	transition:
		background-color var(--smr-card-duration) ease,
		border-color var(--smr-card-duration) ease,
		border-radius var(--smr-card-duration) ease;
}


/* HOVER BACKGROUND IMAGE */

.smr-service-card-wrapper .smr-service-card-image {

	position: absolute;

	inset: 0;

	z-index: -2;

	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;

	opacity: 0;

	transform: scale(1.03);

	transition:
		opacity var(--smr-card-duration) ease,
		transform 0.6s ease;
}


/* IMAGE HOVER */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-card-image {

	opacity: 1;

	transform: scale(1);
}


/* GRADIENT OVERLAY */

.smr-service-card-wrapper .smr-service-card-gradient {

	position: absolute;

	inset: 0;

	z-index: -1;

	background:
		linear-gradient(
			to top,
			rgba(10, 31, 59, 0.95) 0%,
			rgba(10, 31, 59, 0.55) 40%,
			rgba(10, 31, 59, 0) 75%
		);

	opacity: 0;

	transition:
		opacity var(--smr-card-duration) ease;
}


/* GRADIENT HOVER */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-card-gradient {

	opacity: 1;
}


/* CONTENT */

.smr-service-card-wrapper .smr-service-card-content {

	position: relative;

	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;
	min-height: 278px;

}


/* ICON */

.smr-service-card-wrapper .smr-service-icon {

	display: inline-flex;

	align-items: center;
	justify-content: flex-start;

	width: fit-content;

	color: #0a1f3b;

	line-height: 1;

	transition:
		opacity var(--smr-card-duration) ease,
		transform var(--smr-card-duration) ease,
		color var(--smr-card-duration) ease;
}


.smr-service-card-wrapper .smr-service-icon svg {

	display: block;

	width: 50px;
	height: 50px;

	fill: currentColor;
}


/* ICON HOVER */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-icon {

	color: #ffffff;

	opacity: 0;

	transform: translateY(-15px);
}


/* TEXT */

.smr-service-card-wrapper .smr-service-text {

	display: flex;

	flex-direction: column;

	margin-top: auto;
}


/* TITLE */

.smr-service-card-wrapper .smr-service-title {

	position: relative;

	display: inline-block;

	width: fit-content;

	max-width: 100%;

	color: #0a1f3b;

	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
    margin-bottom: 6px;

	transition:
		color var(--smr-card-duration) ease,
		transform var(--smr-card-duration) ease;
}


/* TITLE UNDERLINE */

.smr-service-card-wrapper .smr-service-title::after {

	content: "";

	position: absolute;

	left: 0;
	bottom: -7px;

	width: 100%;
	height: 2px;

	background-color: #ff6b1a;

	transform: scaleX(0);

	transform-origin: left center;

	transition:
		transform var(--smr-card-duration) ease;
}


/* TITLE HOVER */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-title {

	color: #ffffff;

	transform: translateY(-5px);
}


.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-title::after {

	transform: scaleX(1);
}


/* DESCRIPTION */

.smr-service-card-wrapper .smr-service-description {

	display: block;

	margin-top: 18px;

	max-width: 600px;

	color: #5f6673;

	font-size: 16px;
	line-height: 1.7;

	/* Bounded so it can be transitioned away below. Large enough
	   to fit normal description copy without clipping when visible. */
	max-height: 300px;

	overflow: hidden;

	transition:
		opacity var(--smr-card-duration) ease,
		transform var(--smr-card-duration) ease,
		color var(--smr-card-duration) ease,
		max-height var(--smr-card-duration) ease,
		margin-top var(--smr-card-duration) ease;
}


/* 
   DESCRIPTION HOVER
 */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-description {

	color: #ffffff;

	opacity: 0;

	transform: translateY(15px);

	/*
	 * FIX: collapse the description's box on hover instead of only
	 * fading it out. Previously opacity:0 left its full height in
	 * the flex flow, which pushed the title upward and out of line
	 * with the arrow button (bottom:0). Collapsing max-height and
	 * margin-top makes the title the last item in .smr-service-text,
	 * so it lands flush on the same row as the arrow, like the
	 * intended design.
	 */
	max-height: 0;
	margin-top: 0;
}


/* 
   ARROW BUTTON
 */

.smr-service-card-wrapper .smr-service-arrow {

	position: absolute;

	right: 0;
	bottom: 0;

	display: flex;

	align-items: center;
	justify-content: center;

	width: 58px;
	height: 58px;

	background-color: #ff6b1a;

	border-radius: 50%;

	color: #ffffff;

	opacity: 0;

	transform: translateY(20px);

	transition:
		opacity var(--smr-card-duration) ease,
		transform var(--smr-card-duration) ease,
		background-color var(--smr-card-duration) ease,
		color var(--smr-card-duration) ease;
}


/* 
   ARROW SVG
 */

.smr-service-card-wrapper .smr-service-arrow svg {

	display: block;

	width: 20px;
	height: 20px;

	fill: currentColor;

	transform: rotate(0deg);

	transition:
		transform var(--smr-card-duration) ease;
}


/* 
   ARROW SHOW ON CARD HOVER
 */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-arrow {

	opacity: 1;

	transform: translateY(0);
}


/* 
   ARROW ROTATION
 */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-arrow
svg {

	transform: rotate(45deg);
}


/* 
   ARROW HOVER BACKGROUND
 */

.smr-service-card-wrapper
.smr-service-card:hover
.smr-service-arrow {

	background-color: #ff6b1a;

	color: #ffffff;
}


/* 
   HOVER CARD
 */

.smr-service-card-wrapper
.smr-service-card:hover {

	background-color: #0a1f3b;

	color: #ffffff;
}


/* 
   FOCUS
 */

.smr-service-card-wrapper
.smr-service-card:focus-visible {

	outline: 2px solid #ff6b1a;

	outline-offset: 4px;
}


/* 
   REMOVE LINK UNDERLINE
 */

.smr-service-card-wrapper
.smr-service-card:hover,
.smr-service-card-wrapper
.smr-service-card:focus {

	text-decoration: none;
}


/* 
   TABLET
 */

@media (max-width: 1024px) {

	.smr-service-card-wrapper .smr-service-card-content {

		min-height: 258px;
	}

	.smr-service-card-wrapper .smr-service-title {

		font-size: 26px;
	}

}


/* 
   MOBILE
 */

@media (max-width: 767px) {

	.smr-service-card-wrapper .smr-service-card-content {

		min-height: 250px;
	}

	.smr-service-card-wrapper .smr-service-title {

		font-size: 24px;
	}

	.smr-service-card-wrapper .smr-service-description {

		font-size: 15px;
		line-height: 1.6;
	}


	.smr-service-card-wrapper .smr-service-arrow {

		width: 52px;
		height: 52px;
	}

}


/* 
   REDUCED MOTION
 */

@media (prefers-reduced-motion: reduce) {

	.smr-service-card-wrapper .smr-service-card,
	.smr-service-card-wrapper .smr-service-card-image,
	.smr-service-card-wrapper .smr-service-card-gradient,
	.smr-service-card-wrapper .smr-service-icon,
	.smr-service-card-wrapper .smr-service-title,
	.smr-service-card-wrapper .smr-service-title::after,
	.smr-service-card-wrapper .smr-service-description,
	.smr-service-card-wrapper .smr-service-arrow,
	.smr-service-card-wrapper .smr-service-arrow svg {

		transition: none;
	}

}


/* SMR Our Process */
.smr-our-process {
	--smr-process-transition: 300ms;
	width: 100%;
}

.smr-our-process,
.smr-our-process * {
	box-sizing: border-box;
}

.smr-process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 40px;
	width: 100%;
}

.smr-process-step {
	position: relative;
	min-width: 0;
	text-align: center;
	transition:
		background-color var(--smr-process-transition, 300ms) ease,
		border-color var(--smr-process-transition, 300ms) ease,
		box-shadow var(--smr-process-transition, 300ms) ease;
}

.smr-process-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 24px;
	min-height: 66px;
}

.smr-process-icon-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	background: #eff4fb;
	color: #2563eb;
	transition:
		transform var(--smr-process-transition, 300ms) ease,
		background-color var(--smr-process-transition, 300ms) ease,
		border-color var(--smr-process-transition, 300ms) ease;
}

.smr-process-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 23px;
	line-height: 1;
	color: inherit;
}

.smr-process-icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.smr-process-number {
	position: absolute;
	z-index: 3;
	top: 0;
	right: calc(50% - 43px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	border: 0;
	border-radius: 50%;
	background: #ff6b1a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.smr-process-connector {
	position: absolute;
	z-index: 1;
	top: 33px;
	left: calc(50% + var(--smr-process-icon-size, 66px) / 2);
	width: calc(100% + var(--smr-process-column-gap, 24px) - var(--smr-process-icon-size, 66px));
	border-top: 1px dashed #cbd5e1;
	pointer-events: none;
}

.smr-process-title {
	margin: 0 0 12px;
	padding: 0;
	color: #0a1f3b;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	transition: color var(--smr-process-transition, 300ms) ease;
}

.smr-process-description {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.65;
	transition: color var(--smr-process-transition, 300ms) ease;
}

.smr-process-animate .smr-process-step {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 550ms ease,
		transform 550ms ease,
		background-color var(--smr-process-transition, 300ms) ease,
		border-color var(--smr-process-transition, 300ms) ease,
		box-shadow var(--smr-process-transition, 300ms) ease;
}

.smr-process-animate .smr-process-step.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1024px) {
	.smr-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.smr-process-connector {
		display: none;
	}
}

@media (max-width: 767px) {
	.smr-process-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
	.smr-process-step {
		width: 100%;
	}
	.smr-process-title {
		font-size: 17px;
	}
	.smr-process-description {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smr-process-animate .smr-process-step,
	.smr-process-step,
	.smr-process-icon-wrap,
	.smr-process-title,
	.smr-process-description {
		transition: none !important;
		transform: none !important;
	}
	.smr-process-animate .smr-process-step {
		opacity: 1;
	}
}
