/* ==========================================================================
   Digilink Hero Slider — v1.3.0
   Responsive: Desktop | Tablet (≤ 1024px) | Mobile (≤ 767px) | Small (≤ 480px)

   SPECIFICITY NOTE FOR ELEMENTOR
   ───────────────────────────────────────────────────────────────────────────
   Elementor adds its own reset/layout CSS and its containers use IDs such as
   #elementor-*, which have high specificity. To guarantee our styles win we:
     • Scope most rules under .dhs-hero (our own root class).
     • Use !important only where Elementor's core styles reliably clobber ours
       (padding, flex, opacity on animation states).
     • Keep the EDITOR overrides in a separate block at the bottom so they
       don't bleed into the live frontend.
   ========================================================================== */

/* ── Hero wrapper ────────────────────────────────────────────────────────── */

.dhs-hero {
	position: relative !important;
	overflow: hidden !important;
	background: #101314;
	padding: 155px 40px 40px 42px !important;
	min-height: 620px;
	box-sizing: border-box;
}
.dhs-hero .dhs-hero__row .tm-sc-section-title .title-wrapper {
    margin-bottom: 0;
    position: relative;
    margin-bottom: 35px;
}
.dhs-hero{
    padding-bottom: 11px !important;
}
/* ── Background layer ────────────────────────────────────────────────────── */

.dhs-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* Photo — editable from Elementor Style → Background */
.dhs-hero__bg-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Green diagonal accent */
.dhs-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		transparent 55%,
		rgba(139, 195, 74, 0.85) 78%,
		rgba(139, 195, 74, 0.65) 100%
	);
}

/* ── Watermark text ───────────────────────────────────────────────────────── */

.dhs-hero__bg-watermark {
	position: absolute;
	top: 50%;
	right: -25px;
	transform: translateY(-50%);
	font-size: 108px;
	font-weight: 800;
	letter-spacing: 4px;
	color: rgba(255, 255, 255, 0.08);
	writing-mode: vertical-rl;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

/* ── Swiper instance ─────────────────────────────────────────────────────── */

.dhs-hero .dhs-swiper-instance {
	position: relative;
	z-index: 1;
}

/* ── Layout row ──────────────────────────────────────────────────────────── */

.dhs-hero .dhs-hero__row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 40px;
	flex-wrap: wrap;
}

/* ── Left content ────────────────────────────────────────────────────────── */

.dhs-hero .dhs-hero__content {
	flex: 1 1 480px;
	max-width: 560px;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: 0.25s;
}

.dhs-hero .swiper-slide-active .dhs-hero__content,
.dhs-hero .swiper-slide-duplicate-active .dhs-hero__content {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* ── Title ───────────────────────────────────────────────────────────────── */

.dhs-hero .tm-sc-section-title .title-wrapper .title {
	margin: 0;
	font-size: 56px;
	line-height: 1.15;
	color: #ffffff;
	font-weight: 400;
}

.dhs-hero .dhs-title-bold {
	font-weight: 800;
}

.dhs-hero .title-seperator-line {
	width: 70px;
	height: 3px;
	background: #8bc34a;
	margin: 14px 0 24px;
}

/* ── Description ─────────────────────────────────────────────────────────── */

.dhs-hero .tm-text-editor p {
	color: #b7bcbd;
	font-size: 16px;
	line-height: 1.7;
	max-width: 460px;
	margin: 0 0 32px;
}

/* ── Actions row ─────────────────────────────────────────────────────────── */

.dhs-hero .dhs-hero__actions {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 28px;
	flex-wrap: wrap;
}

/* ── Button ──────────────────────────────────────────────────────────────── */

.dhs-hero .elementor-widget-container .theme-btn.btn-style5 {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: #8bc34a;
	color: #101314;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.05em;
	padding: 7px 26px;
	border-radius: 50px;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
	cursor: pointer;
	    margin-top: 26px;
    margin-bottom: 10px;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5:hover {
	background: #79ac3f;
	color: #fff;
	text-decoration: none;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5 .btn-title {
	display: inline-block;
	line-height: 1;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5 .dot-box {
	background-color: var(--theme-color-gray, #444);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	height: 40px;
	line-height: 40px;
	margin-left: 12px;
	text-align: center;
	position: relative;
	width: 40px;
	transition: all 300ms ease;
	flex-shrink: 0;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5 .dot-item {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5:hover .dot-box {
	background-color: #88ff2a;
}

.dhs-hero .elementor-widget-container .theme-btn.btn-style5:hover .dot-item {
	background: #333 !important;
}

/* ── Clients row ─────────────────────────────────────────────────────────── */

.dhs-hero .dhs-hero__clients {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dhs-hero .dhs-hero__clients-img {
	max-height: 40px;
	width: auto;
}

.dhs-hero .dhs-hero__clients-text {
	color: #ffffff;
	font-size: 14px;
	margin: 0;
	line-height: 1.4;
}

/* ── Right image area ────────────────────────────────────────────────────── */

.dhs-hero .dhs-hero__image-wrap {
	position: relative;
	flex: 1 1 400px;
	max-width: 100%;
	display: flex;
	justify-content: center;
}

/* Column-reveal strip animation */
.dhs-hero .dhs-hero__image-cols {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 715px;
	min-width: 715px;
}

.dhs-hero .dhs-hero__image-col {
	flex: 1 1 25%;
	overflow: hidden;
	position: relative;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.dhs-hero .dhs-hero__image-col img {
	display: block;
	width: 400%;
	max-width: none;
	height: auto;
}

.dhs-hero .swiper-slide-active .dhs-hero__image-col,
.dhs-hero .swiper-slide-duplicate-active .dhs-hero__image-col {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* ── Overlay cards (Sales Trend / Rating) ────────────────────────────────── */

.dhs-hero .dhs-hero__card {
	position: absolute;
	background: #ffffff;
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	font-family: inherit;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.dhs-hero .swiper-slide-active .dhs-hero__card,
.dhs-hero .swiper-slide-duplicate-active .dhs-hero__card {
	opacity: 1 !important;
	pointer-events: auto;
	animation: dhs-card-float 3.5s ease-in-out infinite;
}

.dhs-hero .dhs-hero__card--sales {
	left: -10px;
	top: 40%;
	min-width: 130px;
	animation-delay: 0s;
}

.dhs-hero .dhs-hero__card-label {
	display: block;
	color: #8bc34a;
	font-size: 12px;
	margin-bottom: 4px;
}

.dhs-hero .dhs-hero__card-value {
	display: block;
	color: #101314;
	font-size: 24px;
	font-weight: 800;
}

.dhs-hero .dhs-hero__card--rating {
	right: 0;
	bottom: 8%;
	display: flex;
	align-items: center;
	gap: 12px;
	animation-delay: 1s;
}

.dhs-hero .dhs-hero__card-star {
	background: #8bc34a;
	color: #101314;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.dhs-hero .dhs-hero__card-rating-text {
	font-size: 13px;
	color: #101314;
	line-height: 1.4;
}

.dhs-hero .dhs-hero__card-rating-text a {
	color: #8bc34a;
	font-weight: 700;
	text-decoration: underline;
}

@keyframes dhs-card-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-10px); }
}

/* ── Floating decorative objects ─────────────────────────────────────────── */

.dhs-hero__floating-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.dhs-hero .tm-ele-floating-objects > .each-object {
 position: absolute;
    z-index: 0;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-top: 168px !important;
    transform: rotate(316deg) !important;
    left: 28% !important;
    width: 210px !important;
    height: 210px !important;
}
.dhs-hero__floating-layer .tm-ele-floating-objects {
	position: relative;
	width: 100%;
	height: 100%;
}


/* Object 2 — Sales Trend (floating up-down) */
.dhs-hero__floating-layer .elementor-repeater-item-0e9d163 {
	position: absolute;
	bottom: 5%;
	left: 52%;
	width: 80px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* Object 3 — Support / 5 Stars (slide horizontal) */
.dhs-hero__floating-layer .elementor-repeater-item-dc93f38 {
	position: absolute;
	bottom: 18%;
	right: 3%;
	width: 70px;
	height: 70px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* Fallback animations */
.dhs-hero .tm-animation-flicker         { animation: dhs-flicker 2.2s ease-in-out infinite; }
.dhs-hero .tm-animation-floating        { animation: dhs-floating 3.5s ease-in-out infinite; }
.dhs-hero .tm-animation-slide-horizontal { animation: dhs-slide-h 4s ease-in-out infinite; }

@keyframes dhs-flicker {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.35; }
}
@keyframes dhs-floating {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-14px); }
}
@keyframes dhs-slide-h {
	0%, 100% { transform: translateX(0); }
	50%       { transform: translateX(12px); }
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

.dhs-hero .swiper-button-prev,
.dhs-hero .swiper-button-next {
	position: absolute;
	top: 50%;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.15);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	--swiper-navigation-size: 14px;
	z-index: 5;
}

.dhs-hero .swiper-button-next { right: 18px; }
.dhs-hero .swiper-button-prev { left:  18px; }

.dhs-hero .swiper-button-prev:hover,
.dhs-hero .swiper-button-next:hover {
	background: #8bc34a;
	color: #101314;
}

.dhs-hero .swiper-pagination {
	position: relative;
	margin-top: 24px;
	text-align: left;
}

.dhs-hero .swiper-pagination-bullet        { background: #ffffff; opacity: 0.4; }
.dhs-hero .swiper-pagination-bullet-active { background: #8bc34a; opacity: 1; }

/* ==========================================================================
   ELEMENTOR EDITOR — make animated content visible in the preview pane.

   IMPORTANT: Do NOT override Swiper's layout CSS here (.swiper-wrapper,
   .swiper-slide width/transform etc.) — that breaks Swiper initialisation.
   Instead, only un-hide the content that is opacity-animated so designers
   can see it while Swiper runs normally inside the editor preview.

   All rules scoped under .elementor-editor-active so they never affect
   the live/published frontend.
   ========================================================================== */

/* Active-slide content: already visible via .swiper-slide-active selector
   above, but make it explicit for the first slide before Swiper inits */
.elementor-editor-active .dhs-hero .dhs-hero__content {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* Image columns */
.elementor-editor-active .dhs-hero .dhs-hero__image-col {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* Overlay cards — show without float animation */
.elementor-editor-active .dhs-hero .dhs-hero__card {
	opacity: 1 !important;
	pointer-events: auto !important;
	animation: none !important;
}

/* Floating layer always visible in editor */
.elementor-editor-active .dhs-hero__floating-layer {
	opacity: 1;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ── Tablet  ≤ 1024px ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

	.dhs-hero {
		padding: 120px 24px 40px !important;
		min-height: 520px;
	}

	.dhs-hero .tm-sc-section-title .title-wrapper .title {
		font-size: 46px;
	}

	.dhs-hero .dhs-hero__image-cols {
		max-width: 560px;
		min-width: 0;
		width: 100%;
	}

	.dhs-hero__bg-watermark {
		font-size: 80px;
	}
}

/* ── Mobile landscape / tablet portrait  ≤ 900px ────────────────────────── */
@media (max-width: 900px) {

	.dhs-hero {
		padding: 100px 20px 36px !important;
		min-height: auto;
	}

	.dhs-hero .tm-sc-section-title .title-wrapper .title {
		font-size: 38px;
	}

	.dhs-hero__bg-watermark {
		display: none;
	}

	.dhs-hero .dhs-hero__card {
		display: none;
	}

	.dhs-hero .swiper-button-next { right: 42px; }

	.dhs-hero .dhs-hero__image-cols {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
}

/* ── Mobile  ≤ 767px ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {

	.dhs-hero {
		padding: 90px 16px 32px !important;
	}

	/* Stack content + image vertically */
	.dhs-hero .dhs-hero__row {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 28px;
	}

	.dhs-hero .dhs-hero__content {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.dhs-hero .tm-sc-section-title .title-wrapper .title {
		font-size: 32px;
		line-height: 1.2;
	}

	.dhs-hero .title-seperator-line {
		margin: 10px 0 18px;
	}

	.dhs-hero .tm-text-editor p {
		font-size: 15px;
		max-width: 100%;
		margin-bottom: 24px;
	}

	.dhs-hero .dhs-hero__image-wrap {
		flex: 1 1 100%;
		width: 100%;
	}

	.dhs-hero .dhs-hero__image-cols {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}

	.dhs-hero .dhs-hero__actions {
		gap: 16px;
	}

	.dhs-hero .elementor-widget-container .theme-btn.btn-style5 {
		font-size: 12px;
        padding: 2px 20px;
        margin-top: 20px;
        margin-bottom: 13px;
	}

	.dhs-hero .dhs-hero__clients-img {
		max-height: 34px;
	}

	.dhs-hero .dhs-hero__clients-text {
		font-size: 13px;
	}

	.dhs-hero__floating-layer {
		display: none;
	}

	.dhs-hero .swiper-button-prev { left:  8px; }
	.dhs-hero .swiper-button-next { right: 8px; }

	.dhs-hero .swiper-pagination {
		text-align: center;
	}
}

/* ── Small phones  ≤ 480px ──────────────────────────────────────────────── */
@media (max-width: 480px) {

	.dhs-hero {
		padding: 30px 14px 28px !important;
	}

	.dhs-hero .tm-sc-section-title .title-wrapper .title {
		font-size: 26px;
	}

	.dhs-hero .tm-text-editor p {
		font-size: 14px;
	}

	.dhs-hero .dhs-hero__actions {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 14px;
	}

	.dhs-hero .dhs-hero__clients {
		gap: 10px;
	}

	.dhs-hero .dhs-hero__clients-img {
		max-height: 30px;
	}

	.dhs-hero .swiper-button-prev,
	.dhs-hero .swiper-button-next {
		display: none;
	}
}
