:root {
	--hd-blue-900: #001b4e;
	--hd-blue-800: #002a69;
	--hd-blue-700: #0a3f86;
	--hd-gold: #caa03a;
	--hd-gold-dark: #ad852b;
	--hd-text: #15284a;
	--hd-muted: #15284a;
	--hd-bg-soft: #f4f7fb;
	--hd-border: #dfe7f3;
}

.hd-homepage {
	background: #fff;
	color: var(--hd-text);
}

.hd-homepage .row {
	max-width: 1240px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
}


.hd-homepage .hd-kicker {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hd-gold);
}

.hd-homepage .hd-title-center {
	margin: 0;
	font-size: clamp(35px, 45px, 50px);
	line-height: 1.2;
	color: var(--hd-blue-900);
	text-transform: uppercase;
}

.hd-homepage .button.hd-btn-primary,
.hd-homepage .button.primary.hd-btn-primary {
	background: var(--hd-gold);
	border-color: var(--hd-gold);
	color: #fff;
	font-weight: 700;
	padding-left: 24px;
	padding-right: 66px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}

.hd-homepage .button.hd-btn-primary:hover,
.hd-homepage .button.primary.hd-btn-primary:hover {
	background: var(--hd-gold-dark);
	border-color: var(--hd-gold-dark);
	color: #fff;
}

.hd-homepage .button.hd-btn-dark,
.hd-homepage .button.secondary.hd-btn-dark {
	background: var(--hd-blue-900);
	border-color: var(--hd-blue-900);
	color: #fff;
	font-weight: 700;
	padding-left: 24px;
	padding-right: 66px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}

.hd-homepage .button.hd-btn-dark:hover,
.hd-homepage .button.secondary.hd-btn-dark:hover {
	background: #00163d;
	border-color: #00163d;
	color: #fff;
}

.hd-homepage .button.hd-btn-primary::before,
.hd-homepage .button.hd-btn-dark::before {
	content: "";
	position: absolute;
	right: 48px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.35);
}

.hd-homepage .button.hd-btn-primary::after,
.hd-homepage .button.hd-btn-dark::after {
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	line-height: 1;
	color: #fff;
}

.hd-hero-row {
	margin: 0;
	max-width: 100% !important;
}

.hd-hero-col {
	padding: 0 !important;
}

.hd-hero-slider .flickity-viewport {
	border-radius: 0;
}

.hd-hero-slide {
	position: relative;
	min-height: 600px;
}

.hd-hero-slide .text-box {
	left: 0 !important;
	right: auto !important;
	transform: translate(0, -50%) !important;
}

.hd-hero-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 20, 55, 0.88) 0%, rgba(0, 20, 55, 0.68) 42%, rgba(0, 20, 55, 0.18) 100%);
	pointer-events: none;
}

.hd-hero-slide .text-box-content {
	max-width: 720px !important;
	text-align: left !important;
	margin-left: 0;
}

.hd-hero-slide .hd-kicker {
	display: inline-block;
	margin-bottom: 16px !important;
	line-height: 1.45 !important;
	letter-spacing: 0.08em !important;
	color: var(--hd-gold) !important;
}

.hd-hero-slide h1,
.hd-hero-slide h2 {
	margin: 0 0 20px !important;
	color: #fff !important;
	font-size: 45px !important;
	line-height: 1.16 !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	text-wrap: balance;
}

.hd-hero-slide p {
	max-width: 760px !important;
	margin: 0 0 30px !important;
	color: rgba(255, 255, 255, 0.94) !important;
	font-size: 18px !important;
	line-height: 1.72 !important;
}

.hd-hero-slide .button {
	margin-top: 0;
}

.hd-hero-slider .flickity-page-dots {
	counter-reset: hdSlide;
	bottom: 52px !important;
	text-align: left !important;
	left: 13.5% !important;
	width: auto;
	display: inline-flex;
	align-items: flex-end !important;
	gap: 28px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.hd-hero-slider .flickity-page-dots .dot {
	position: relative;
	margin: 0;
	width: 150px !important;
	height: 4px !important;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.7);
	opacity: 1;
	counter-increment: hdSlide;
}

.hd-hero-slider .flickity-page-dots .dot::before {
	content: counter(hdSlide, decimal-leading-zero);
	position: absolute;
	left: 0;
	bottom: 13px !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
}

.hd-hero-slider .flickity-page-dots .dot.is-selected {
	background: var(--hd-gold);
}

.hd-hero-slider .flickity-page-dots .dot.is-selected::before {
	color: var(--hd-gold);
}

.hd-features-row {
	margin-top: -34px;
	position: relative;
	z-index: 8;
	background: #fff;
	border: 1px solid var(--hd-border);
	border-radius: 10px;
	box-shadow: 0 16px 34px rgba(5, 30, 74, 0.1);
}

.hd-icon-card {
	text-align: center;
	padding-top: 15px;
}

.hd-icon-wrap {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 40, 104, 0.05);
	color: var(--hd-blue-900);
	font-size: 25px;
}

.hd-icon-card h3 {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.3;
	color: var(--hd-blue-900);
	text-transform: uppercase;
}

.hd-icon-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--hd-muted);
}

.hd-about-row {
	padding: 64px 0 54px;
}

.hd-about-media img {
	width: 100%;
	border-radius: 10px;
	display: block;
}

.hd-about-content h2 {
	margin: 0 0 16px;
	color: var(--hd-blue-900);
	font-size: clamp(33px, 4vw, 45px);
	text-transform: uppercase;
}

.hd-about-content p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--hd-muted);
}

.hd-list {
	list-style: none;
	margin: 20px 0 26px;
	padding: 0;
}

.hd-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 10px;
	color: var(--hd-text);
	font-size: 16px;
	line-height: 1.58;
}

.hd-list li::before {
	content: "\f058";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 0.08em;
	font-size: 18px;
	line-height: 1;
	color: var(--hd-gold);
}

.hd-practice-title-row {
	background: #f7f9fc;
	padding: 54px 0 14px;
}

.hd-practice-title-row .hd-kicker {
	margin-bottom: 12px;
	font-size: 15px;
	letter-spacing: 0.08em;
}

.hd-practice-row {
	background: #f7f9fc;
	padding: 60px 0 8px;
	border-radius: 0;
	display: flex;
	flex-wrap: nowrap !important;
	justify-content: flex-start;
	gap: 14px;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 50%;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}

.hd-practice-row::before,
.hd-practice-row::after {
	content: "";
	display: block;
	flex: 0 0 calc(50% - 104px);
	min-width: calc(50% - 104px);
	pointer-events: none;
}

.hd-practice-row::-webkit-scrollbar {
	display: none;
}

.hd-practice-row {
	scrollbar-width: none;
}

.hd-practice-col .col-inner {
	background: #fff;
	border: 1px solid #e7ecf4;
	border-radius: 16px;
	padding: 15px 15px 15px;
	height: 100%;
	box-shadow: 0 8px 22px rgba(7, 36, 83, 0.03);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.hd-practice-col {
	flex: 0 0 208px;
	max-width: 208px !important;
	width: 208px !important;
	scroll-snap-align: center;
	cursor: pointer;
	transform: scale(0.9);
	transform-origin: center bottom;
	transition: transform 0.25s ease, opacity 0.25s ease;
	opacity: 0.8;
	padding-top:7px !important;
}

.hd-practice-col .col-inner:hover {
	border-color: #d7e2f1;
	box-shadow: 0 14px 30px rgba(7, 36, 83, 0.08);
	transform: translateY(-2px);
	transition: all 0.2s ease;
}

.hd-practice-col.is-active {
	transform: scale(1.18);
	opacity: 1;
	z-index: 2;
}

.hd-practice-col.is-active .col-inner {
	background: linear-gradient(180deg, #0b3f96 0%, #0a357f 100%);
	border-color: rgb(255, 255, 255);
	box-shadow: 0 2px 8px rgba(1, 16, 47, 0.5);
	border-radius: 16px;
}

.hd-practice-col.is-side {
	transform: scale(0.96);
	opacity: 0.9;
}

.hd-icon-card--service h3 {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.2;
	color: var(--hd-blue-900);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.hd-icon-card--service p {
	font-size: 15px;
	line-height: 1.62;
	color: var(--hd-muted);
	margin-bottom: 0;
}

.hd-practice-col a {
	color: var(--hd-blue-900);
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.hd-practice-col a:hover {
	text-decoration: underline;
}

.hd-practice-col a::after {
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	line-height: 1;
}

.hd-icon-card--service .hd-icon-wrap {
	background: transparent;
	width: auto;
	height: auto;
	margin-bottom: 14px;
	font-size: 46px;
	color: #032d72;
}

.hd-practice-col.is-active .hd-icon-wrap,
.hd-practice-col.is-active h3,
.hd-practice-col.is-active p,
.hd-practice-col.is-active a,
.hd-practice-col.is-active a::after {
	color: #ffffff;
}

.hd-practice-action-row {
	background: #f7f9fc;
	display: block !important;
	clear: both;
	padding-top: 18px;
	padding-bottom: 50px;
	margin-top: 10px;
	width: 100%;
}

.hd-practice-action-row .col {
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
}

.hd-practice-action-row .button {
	min-width: 290px;
	height: 48px;
	font-size: 14px;
	letter-spacing: 0.02em;
	white-space: nowrap !important;
	writing-mode: horizontal-tb !important;
}

/* Fallback: if action row is parsed inside the carousel row, force it to a new line below cards */
.hd-practice-row .hd-practice-action-row {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
	order: 99;
	margin-top: 18px;
	padding-top: 12px;
	padding-bottom: 34px;
	overflow: visible;
	display: block !important;
	background: #f7f9fc;
}

.hd-practice-row .hd-practice-action-row .col {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

.hd-stats-row {
	background:
		linear-gradient(125deg, rgba(0, 31, 89, 0.9), rgba(4, 52, 122, 0.86)),
		url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=2200&q=80");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 0;
	margin: 0;
	max-width: 100% !important;
	padding: 14px min(48px, 4vw);
}

.hd-stat-col .col-inner {
	display: flex;
	justify-content: center;
}

.hd-stat {
	text-align: center;
	display: flex;
	padding-top: 15px;
	flex-direction: column;
	align-items: center;
}

.hd-stat-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(244, 200, 103, 0.55);
	color: #f4c867;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 10px;
}

.hd-stat strong {
	display: block;
	color: #f4c867;
	font-size: clamp(38px, 5vw, 56px);
	line-height: 1;
	font-weight: 800;
}

.hd-stat span {
	display: block;
	margin-top: 9px;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
}

.hd-stat p {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
}

.hd-news-head-row {
	padding-top: 54px;
	padding-bottom: 14px;
}

.hd-news-post-row .box {
	border: 1px solid var(--hd-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(8, 34, 73, 0.06);
}

.hd-news-post-row .box-text {
	padding: 14px 14px 16px;
}

.hd-news-post-row .box-image img {
	aspect-ratio: 16/9;
	object-fit: cover;
}

.hd-news-post-row .post-meta,
.hd-news-post-row .from_the_blog_excerpt {
	color: var(--hd-muted);
}

.hd-news-post-row .post-title a {
	color: var(--hd-blue-900);
	font-weight: 700;
}

.hd-news-action-row {
	padding: 8px 0 36px;
}

.hd-cta-row {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(105deg, rgba(0, 34, 92, 0.96) 0%, rgba(0, 33, 95, 0.94) 52%, rgba(6, 53, 124, 0.94) 100%),
		url("https://images.unsplash.com/photo-1519501025264-65ba15a82390?auto=format&fit=crop&w=1800&q=80");
	background-size: cover;
	background-position: center;
	color: #fff;
	border-radius: 12px;
	border: 1px solid rgba(201, 214, 238, 0.5);
	box-shadow: 0 14px 32px rgba(3, 24, 63, 0.16);
	padding: 22px 0 18px;
	margin-bottom: 30px !important;
}

.hd-cta-row::before {
	content: "";
	position: absolute;
	left: 18px;
	bottom: -14px;
	width: 128px;
	height: 210px;
	opacity: 0.12;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12));
	clip-path: polygon(50% 0%, 67% 8%, 67% 17%, 76% 17%, 76% 25%, 67% 25%, 67% 100%, 33% 100%, 33% 25%, 24% 25%, 24% 17%, 33% 17%, 33% 8%);
	pointer-events: none;
}

.hd-cta-row::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(88, 168, 255, 0.22) 0%, rgba(88, 168, 255, 0.08) 38%, rgba(88, 168, 255, 0) 70%);
	pointer-events: none;
}

.hd-cta-row .col {
	position: relative;
	z-index: 1;
}

.hd-cta-row h2 {
	color: #fff !important;
	margin: 0 0 12px !important;
	font-size: clamp(25px, 2vw, 33px) !important;
	line-height: 1.24 !important;
	text-transform: uppercase !important;
	text-wrap: balance;
}

.hd-cta-row p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	line-height: 1.6;
}

.hd-cta-contact {
	text-align: left;
	padding-left: 26px;
}

.hd-phone,
.hd-email {
	color: #fff;
	text-decoration: none;
}

.hd-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 45px;
	font-weight: 800;
	line-height: 1.2;
	margin-top: 8px;
}

.hd-email {
	display: inline-block;
	margin-top: 8px;
	font-size: 21px;
	opacity: 0.94;
}

.hd-phone::before {
	content: "\f095";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 16px;
	background: rgba(202, 160, 58, 0.22);
	border: 1px solid rgba(202, 160, 58, 0.68);
	color: #f3c55b;
}

.hd-cta-row .button.hd-btn-primary {
	min-width: 248px;
	height: 52px;
	padding-left: 20px;
	padding-right: 64px;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.hd-homepage .row {
		max-width: 96%;
	}

	.hd-hero-slide {
		min-height: 540px;
	}

	.hd-hero-slide h1,
	.hd-hero-slide h2 {
		font-size: 56px !important;
		line-height: 1.17 !important;
	}

	.hd-icon-card h3 {
		font-size: 16px;
	}
}

@media (max-width: 849px) {
	.hd-hero-slide {
		min-height: 470px;
	}

	.hd-hero-slide .text-box-content {
		max-width: 100%;
	}

	.hd-hero-slide h1,
	.hd-hero-slide h2 {
		font-size: 44px !important;
		line-height: 1.18 !important;
	}

	.hd-hero-slide .text-box {
		left: 6% !important;
	}

	.hd-hero-slide p {
		font-size: 16px !important;
		line-height: 1.65 !important;
	}

	.hd-hero-slider .flickity-page-dots {
		left: 6% !important;
		gap: 20px !important;
	}

	.hd-hero-slider .flickity-page-dots .dot {
		width: 108px !important;
	}

	.hd-features-row {
		margin-top: -14px;
		border-radius: 10px;
	}

	.hd-about-row {
		padding-top: 42px;
		padding-bottom: 40px;
	}

	.hd-about-content,
	.hd-cta-contact {
		text-align: left;
	}

	.hd-practice-title-row {
		padding-top: 42px;
	}

	.hd-practice-action-row {
		padding-bottom: 40px;
	}

	.hd-practice-row {
		gap: 12px;
		scroll-padding-inline: 42%;
	}

	.hd-practice-row::before,
	.hd-practice-row::after {
		flex-basis: calc(50% - 93px);
		min-width: calc(50% - 93px);
	}

	.hd-practice-col {
		flex-basis: 186px;
		max-width: 186px !important;
		width: 186px !important;
	}

	.hd-cta-contact {
		margin-top: 14px;
		padding-left: 0;
	}
}

@media (max-width: 549px) {
	.hd-homepage .row {
		max-width: calc(100% - 16px);
	}

	.hd-hero-slide {
		min-height: 420px;
	}

	.hd-hero-slide::before {
		background: linear-gradient(180deg, rgba(0, 20, 55, 0.8) 0%, rgba(0, 20, 55, 0.7) 100%);
	}

	.hd-hero-slide h1,
	.hd-hero-slide h2 {
		font-size: 34px !important;
		line-height: 1.2 !important;
	}

	.hd-hero-slide .text-box {
		left: 5% !important;
	}

	.hd-hero-slide p {
		font-size: 15px !important;
		line-height: 1.58 !important;
	}

	.hd-hero-slider .flickity-page-dots {
		left: 5% !important;
		bottom: 36px !important;
		gap: 14px !important;
	}

	.hd-hero-slider .flickity-page-dots .dot {
		width: 72px !important;
		height: 3px !important;
	}

	.hd-hero-slider .flickity-page-dots .dot::before {
		bottom: 10px !important;
		font-size: 20px !important;
	}

	.hd-features-row {
		margin-top: -6px;
	}

	.hd-homepage .hd-title-center {
		font-size: 30px;
	}

	.hd-practice-col .col-inner {
		padding: 24px 14px 18px;
	}

	.hd-practice-row {
		scroll-padding-inline: 38%;
	}

	.hd-practice-col {
		flex-basis: 78%;
		max-width: 78% !important;
		width: 78% !important;
		transform: scale(0.96);
		opacity: 0.95;
	}

	.hd-practice-row::before,
	.hd-practice-row::after {
		flex-basis: 11%;
		min-width: 11%;
	}

	.hd-practice-col.is-active {
		transform: scale(1);
	}

	.hd-icon-card--service .hd-icon-wrap {
		font-size: 38px;
		margin-bottom: 12px;
	}

	.hd-practice-action-row .button {
		min-width: 240px;
	}

	.hd-about-content h2,
	.hd-cta-row h2 {
		font-size: 38px;
	}

	.hd-stat strong {
		font-size: 42px;
	}

	.hd-stat-icon {
		width: 36px;
		height: 36px;
		font-size: 15px;
		margin-bottom: 8px;
	}

	.hd-phone {
		font-size: 32px;
	}

	.hd-email {
		font-size: 17px;
	}

	.hd-cta-row .button.hd-btn-primary {
		min-width: 210px;
		height: 48px;
	}
}
