/************************************/
/* Shared section utilities         */
/************************************/

.section-row {
	margin-bottom: 60px;
}

.section-content-btn {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.section-title-content p {
	margin: 0;
	line-height: 1.6em;
	opacity: 0.85;
}

.section-title h2 {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15em;
	margin-bottom: 0;
}

.section-title h2 span {
	background: linear-gradient(to right, var(--accent-secondary-color) 0%, var(--accent-color) 50%, var(--accent-secondary-color) 100%);
	background-size: 200% auto;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all 0.3s ease-in-out;
}

.section-title:hover h2 span {
	background-position: right center;
}

.section-btn {
	flex-shrink: 0;
}

/************************************/
/* Scrolling Ticker                 */
/************************************/

.our-scrolling-ticker {
	position: relative;
	background: var(--gradient-accent);
	padding: 20px 0;
	z-index: 1;
	overflow: hidden;
}

.scrolling-ticker-box {
	--gap: 20px;
	position: relative;
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
	align-items: center;
}

.scrolling-content {
	flex-shrink: 0;
	display: flex;
	gap: var(--gap);
	min-width: 100%;
	animation: ticker-scroll 45s linear infinite;
}

.scrolling-content span {
	display: inline-flex;
	align-items: center;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2em;
	text-transform: uppercase;
	color: var(--black-color);
	white-space: nowrap;
}

.scrolling-content span img {
	width: 30px;
	height: 30px;
	margin-right: 20px;
	flex-shrink: 0;
}

@keyframes ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-100% - var(--gap))); }
}

/************************************/
/* Our Specialization               */
/************************************/

.our-specialization {
	position: relative;
	padding: 100px 0 90px;
	z-index: 1;
}

.service-item {
	position: relative;
	background: var(--secondary-color);
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	padding: 40px 30px;
	overflow: hidden;
	height: 100%;
	min-height: 260px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 0.3s ease;
}

.service-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle at top left, rgba(107, 253, 217, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.service-item:hover {
	border-color: rgba(107, 253, 217, 0.25);
}

.specialization-slider .swiper-wrapper {
	align-items: stretch;
}

.specialization-slider .swiper-slide {
	height: auto;
	display: flex;
}

.specialization-slider .service-item {
	width: 100%;
	min-height: 300px;
}

.service-item-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.service-item-header .icon-box {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--accent-secondary-color);
}

.service-item-btn a {
	background: linear-gradient(to right, var(--accent-secondary-color) 0%, var(--accent-color) 50%, var(--accent-secondary-color) 100%);
	background-size: 200% auto;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black-color);
	transition: all 0.4s ease-in-out;
}

.service-item:hover .service-item-btn a {
	background-position: right center;
	transform: rotate(45deg);
}

.service-item-body {
	margin-top: auto;
}

.service-item-body h3 {
	font-size: 22px;
	font-weight: 600;
	text-transform: capitalize;
	line-height: 1.3em;
}

.service-item-body h3 a {
	color: inherit;
}

.service-item-body p {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5em;
	opacity: 0.75;
}

.specialization-slider {
	margin-top: 10px;
}

.specialization-slider .swiper-pagination {
	position: relative;
	text-align: center;
	margin-top: 50px;
}

.specialization-slider .swiper-pagination-bullet {
	height: 10px;
	width: 10px;
	background: var(--divider-color);
	opacity: 1;
	margin: 0 3px;
	transition: all 0.4s ease-in-out;
}

.specialization-slider .swiper-pagination-bullet-active {
	width: 30px;
	border-radius: 100px;
	background: var(--gradient-accent);
}

.section-footer-text {
	margin-top: 30px;
	text-align: center;
}

.section-footer-text p {
	margin: 0;
	line-height: 1.6em;
}

.section-footer-text p a {
	background: linear-gradient(to right, var(--accent-secondary-color) 0%, var(--accent-color) 50%, var(--accent-secondary-color) 100%);
	background-size: 200% auto;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 600;
	text-decoration: underline;
	transition: all 0.3s ease-in-out;
}

.section-footer-text p a:hover {
	background-position: right center;
}

/************************************/
/* Our Facts                        */
/************************************/

.our-facts {
	position: relative;
	padding: 90px 0;
	z-index: 1;
}

.our-facts-box {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 60px;
	background: linear-gradient(180deg, var(--accent-secondary-color) 0%, rgba(0, 0, 0, 0) 90%);
	border-radius: 30px;
	padding: 60px;
}

.our-facts-box::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 20px;
	border-radius: 16px;
	background: linear-gradient(180deg, var(--black-color) 90%, rgba(0, 0, 0, 0) 99%);
	width: calc(100% - 40px);
	height: calc(100% - 20px);
}

.our-facts-list,
.our-facts-content {
	position: relative;
	width: calc(50% - 30px);
	z-index: 1;
}

.our-facts-content::before {
	content: "";
	position: absolute;
	top: 0;
	right: -30px;
	border-left: 1px dashed var(--divider-color);
	height: 100%;
}

.our-facts-content .section-title {
	margin-bottom: 50px;
}

.facts-counter-box {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.facts-counter-item {
	width: calc(50% - 15px);
}

.facts-counter-item h2 {
	font-size: 42px;
	font-weight: 700;
	background: var(--gradient-accent);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 10px;
}

.facts-counter-item p {
	margin: 0;
	line-height: 1.5em;
	font-size: 14px;
	opacity: 0.85;
}

.facts-list-item {
	padding-left: 40px;
	margin-bottom: 50px;
	position: relative;
}

.facts-list-item::before {
	content: "\f005";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 2px;
	font-size: 20px;
	background: var(--gradient-accent);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.facts-list-item:last-child {
	margin-bottom: 0;
}

.facts-list-item p {
	margin: 0;
	line-height: 1.6em;
}

.facts-list-item p span {
	font-size: 20px;
	font-weight: 700;
	text-transform: capitalize;
	display: block;
	margin-bottom: 8px;
}

/************************************/
/* Our Tools / Services Grid        */
/************************************/

.our-tools {
	position: relative;
	padding: 90px 0 60px;
	z-index: 1;
}

.tool-item {
	background: var(--secondary-color);
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 28px 24px;
	transition: border-color 0.3s ease;
}

.tool-item:hover {
	border-color: rgba(107, 253, 217, 0.25);
}

.tool-item-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	flex: 1;
	min-width: 0;
}

.tool-item .icon-box {
	width: 56px;
	height: 56px;
	background: var(--secondary-color);
	border: 1px solid var(--divider-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: var(--accent-secondary-color);
	flex-shrink: 0;
}

.tool-item-content h3 {
	font-size: 18px;
	font-weight: 600;
	text-transform: capitalize;
	margin-bottom: 6px;
}

.tool-item-content p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4em;
	opacity: 0.7;
}

.tool-item-counter h2 {
	font-size: 36px;
	font-weight: 700;
	background: var(--gradient-accent);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}

@media only screen and (max-width: 991px) {
	.section-row {
		margin-bottom: 40px;
	}

	.section-title h2 {
		font-size: 32px;
	}

	.our-specialization {
		padding: 70px 0 60px;
	}

	.service-item {
		min-height: 220px;
		padding: 30px 24px;
	}

	.service-item-header {
		margin-bottom: 40px;
	}

	.our-facts-box {
		padding: 40px 30px;
		gap: 40px;
	}

	.our-facts-list,
	.our-facts-content {
		width: 100%;
	}

	.our-facts-content::before {
		display: none;
	}

	.our-facts-content .section-title {
		margin-bottom: 30px;
	}

	.scrolling-content span {
		font-size: 22px;
	}
}

/* Contact CTA */
.contact-cta {
	padding: 60px 0 80px;
	text-align: center;
}

.contact-cta .section-title p {
	max-width: 520px;
	margin: 20px auto 30px;
}

@media only screen and (max-width: 767px) {
	.section-title h2 {
		font-size: 26px;
	}

	.section-content-btn {
		flex-direction: column;
		align-items: flex-start;
	}

	.facts-counter-item {
		width: 100%;
	}

	.facts-counter-item h2 {
		font-size: 36px;
	}

	.our-facts-box {
		padding: 28px 20px;
		margin: 0 4px;
		border-radius: 20px;
	}

	.our-facts-box::before {
		left: 12px;
		top: 12px;
		width: calc(100% - 24px);
		border-radius: 14px;
	}

	.tool-item-counter h2 {
		font-size: 28px;
	}

	.scrolling-content span {
		font-size: 18px;
	}

	.scrolling-content span img {
		width: 22px;
		height: 22px;
		margin-right: 12px;
	}
}
