/* Premium Elements by Hamza — Hero Banner */

.r1-hero {
	--r1-green: #0c5221;
	--r1-green-mid: #43803e;
	--r1-teal: #437b7e;
	--r1-yellow: #f1c40f;
	--r1-ink: #1c2b27;
	--r1-white: #ffffff;
	--r1-surface: #f5f5f5;
	position: relative;
	overflow: hidden;
	/* Figma fills (top → bottom): gradient @ 64%, #0C5221, #F5F5F5 */
	background-image:
		linear-gradient(90deg, rgba(67, 128, 62, 0.64) 0%, rgba(67, 123, 126, 0.64) 100%),
		linear-gradient(var(--r1-green), var(--r1-green));
	background-size: 100% 72%, 100% 72%;
	background-position: top left, top left;
	background-repeat: no-repeat;
	color: var(--r1-white);
	font-family: "Open Sans", sans-serif;
	padding: 0 clamp(24px, 5.5vw, 80px);
	min-height: clamp(720px, 95vh, 990px);
}

/* Clip rings to green band only — never bleed into the surface area */
.r1-hero__circle-clip {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 72%;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.r1-hero__circle {
	/* Sit on the green cutoff; bottom half is clipped by the wrapper */
	position: absolute;
	left: 50%;
	top: 100%;
	bottom: auto;
	width: min(140vw, 1353px);
	height: auto;
	opacity: 0.95;
	transform-origin: center center;
}

.r1-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 40px;
	padding-top: 150px;
	padding-bottom: clamp(40px, 8vw, 80px);
	min-height: inherit;
}

.r1-hero__copy {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	row-gap: 40px;
	width: 100%;
	max-width: 700px;
}

.r1-hero__title {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 124%;
	letter-spacing: -0.05em;
	color: var(--r1-white);
	text-align: center;
	width: 100%;
	max-width: 700px;
}

.r1-hero__title br {
	display: none;
}

.r1-hero__subtitle {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--r1-white);
	text-align: center;
	max-width: 500px;
	width: 100%;
}

/* CTA — match inspiration #hero_cta.main_btn.brxe-button */
.elementor-widget-rang1-banner .r1-hero__cta,
.r1-hero a.r1-hero__cta,
.r1-hero__cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: max-content;
	max-width: 100%;
	padding: 16px 32px !important;
	gap: 8px;
	border-radius: 8px !important;
	background-image: linear-gradient(to right, #f1c40f, #eeb525, #eeb525, #f1c40f) !important;
	background-size: 300% 100%;
	background-color: transparent !important;
	color: #1c2b27 !important;
	font-family: "Open Sans", sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
	letter-spacing: 0.5px !important;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap;
	border: none !important;
	cursor: pointer;
	z-index: 999;
	overflow: hidden;
	box-shadow: none !important;
	/* Only background — never transform (GSAP owns entrance scale) */
	transition: background-position 0.4s ease-in-out;
}

.r1-hero__cta::before,
.r1-hero__cta::after {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	background: url("../icons/arrow_btn_ai.svg") center / contain no-repeat;
	transition: transform 0.3s ease, margin 0.3s ease;
}

.r1-hero__cta::before {
	transform: translateX(-50px);
	margin-left: -15px;
}

.r1-hero__cta:hover,
.r1-hero__cta:focus {
	background-position: 100% 0;
	color: #1c2b27 !important;
	box-shadow: none !important;
}

.r1-hero__cta:hover::after,
.r1-hero__cta:focus::after {
	transform: translateX(50px);
	margin-left: -15px;
}

.r1-hero__cta:hover::before,
.r1-hero__cta:focus::before {
	transform: translateX(0);
	margin-left: 0;
}

.r1-hero__icons {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 4;
	overflow: visible;
}

.r1-hero__icon {
	position: absolute;
	height: auto;
	max-width: none;
	will-change: transform, opacity;
}

/* Exact inspiration positions (vw relative to full hero) */
.r1-hero__icon[data-icon-index="0"] {
	/* www */
	top: 29px;
	left: 33vw;
	width: 80px;
}
.r1-hero__icon[data-icon-index="1"] {
	/* dialog */
	top: 272px;
	left: 20vw;
	width: 80px;
}
.r1-hero__icon[data-icon-index="2"] {
	/* plane */
	top: 454px;
	left: 23vw;
	width: 140px;
}
.r1-hero__icon[data-icon-index="3"] {
	/* magnifying */
	left: 20vw;
	bottom: 161px;
	top: auto;
	width: 64px;
}
.r1-hero__icon[data-icon-index="4"] {
	/* like */
	top: 117px;
	right: 19vw;
	left: auto;
	width: 80px;
}
.r1-hero__icon[data-icon-index="5"] {
	/* www + magnifying */
	top: 506px;
	right: 19vw;
	left: auto;
	width: 170px;
}
.r1-hero__icon[data-icon-index="6"] {
	/* envelope */
	right: 18vw;
	bottom: 150px;
	top: auto;
	left: auto;
	width: 64px;
}

.r1-hero__stage {
	position: relative;
	z-index: 2;
	width: min(100%, 1085px);
	margin-top: clamp(-40px, -2vw, 0);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.r1-hero__laptop {
	position: relative;
	z-index: 1;
	width: min(100%, 780px);
	height: auto;
	display: block;
	margin: 0 auto;
}

.r1-hero__cards {
	position: relative;
	z-index: 2;
	width: 100%;
	pointer-events: none;
	display: flex;
	justify-content: center;
	margin-top: -8%;
}

.r1-hero__cards:only-child,
.r1-hero__stage:not(:has(.r1-hero__laptop)) .r1-hero__cards {
	margin-top: 0;
}

.r1-hero__cards-svg,
.r1-hero__cards-img {
	width: 100%;
	max-width: 1085px;
	height: auto;
	display: block;
	overflow: visible;
}

.r1-hero-card {
	transform-box: fill-box;
	transform-origin: center;
	will-change: transform, opacity, filter;
}

/* Initial hidden states when JS animates */
.r1-hero[data-animate="1"] .r1-hero-txt,
.r1-hero[data-animate="1"] .r1-icon-drop,
.r1-hero[data-animate="1"] .r1-hero__circle,
.r1-hero[data-animate="1"] .r1-hero-card,
.r1-hero[data-animate="1"] .r1-hero__laptop,
.r1-hero[data-animate="1"] .r1-hero__cards-img {
	visibility: hidden;
}

@media (max-width: 1440px) {
	.r1-hero__title {
		font-size: 48px;
		line-height: 105%;
	}

	.r1-hero__inner {
		padding-top: 120px;
		row-gap: 20px;
	}

	.r1-hero__copy {
		row-gap: 20px;
	}

	.r1-hero__subtitle {
		line-height: 120%;
	}

	.r1-hero__cta {
		padding: 12px 24px !important;
	}

	.r1-hero__cta::before,
	.r1-hero__cta::after {
		width: 12px;
		height: 12px;
	}

	.r1-hero__icon[data-icon-index="0"] { left: 29vw; width: 72px; }
	.r1-hero__icon[data-icon-index="1"] { left: 13vw; top: 200px; width: 72px; }
	.r1-hero__icon[data-icon-index="2"] { left: 16vw; top: 350px; width: 120px; }
	.r1-hero__icon[data-icon-index="3"] { left: 13vw; bottom: 100px; width: 56px; }
	.r1-hero__icon[data-icon-index="4"] { right: 12vw; width: 72px; }
	.r1-hero__icon[data-icon-index="5"] { right: 12vw; top: 380px; width: 160px; }
	.r1-hero__icon[data-icon-index="6"] { right: 11vw; bottom: 100px; width: 56px; }
}

@media (max-width: 1280px) {
	.r1-hero__subtitle {
		font-size: 16px;
	}

	.r1-hero__cta {
		font-size: 14px !important;
	}

	.r1-hero__icon[data-icon-index="0"] { left: 22vw; width: 72px; }
	.r1-hero__icon[data-icon-index="1"] { left: 5vw; width: 72px; }
	.r1-hero__icon[data-icon-index="2"] { left: 13vw; width: 120px; }
	.r1-hero__icon[data-icon-index="3"] { left: 10vw; width: 56px; }
	.r1-hero__icon[data-icon-index="4"] { right: 2vw; width: 72px; }
	.r1-hero__icon[data-icon-index="5"] { right: 6vw; width: 162px; }
	.r1-hero__icon[data-icon-index="6"] { right: 9vw; width: 56px; }
}

@media (max-width: 1200px) {
	.r1-hero__title {
		font-size: 56px;
		line-height: 124%;
		max-width: 610px;
	}

	.r1-hero__subtitle {
		line-height: 164%;
	}

	.r1-hero__inner {
		padding-top: 130px;
		row-gap: 24px;
	}

	.r1-hero__copy {
		row-gap: 24px;
	}

	.r1-hero__cta {
		z-index: 2;
	}

	.r1-hero__icon[data-icon-index="0"] { display: none; }
	.r1-hero__icon[data-icon-index="1"] { width: 48px; top: 133px; }
	.r1-hero__icon[data-icon-index="2"] { left: 4vw; top: 370px; width: 120px; }
	.r1-hero__icon[data-icon-index="3"] { bottom: 220px; left: 6vw; width: 56px; }
	.r1-hero__icon[data-icon-index="4"] { top: 100px; width: 64px; }
	.r1-hero__icon[data-icon-index="5"] { right: -1vw; top: 380px; width: 194px; }
	.r1-hero__icon[data-icon-index="6"] { bottom: 320px; right: 7vw; width: 48px; }
}

@media (max-width: 899px) {
	.r1-hero__icon[data-icon-index="2"] { top: 420px; }
	.r1-hero__icon[data-icon-index="3"],
	.r1-hero__icon[data-icon-index="5"] { display: none; }
}

@media (max-width: 640px) {
	.r1-hero {
		min-height: 785px;
		padding-bottom: 40px;
	}

	.r1-hero__inner {
		padding-top: 120px;
		padding-bottom: 200px;
		row-gap: 24px;
	}

	.r1-hero__copy {
		row-gap: 24px;
	}

	.r1-hero__title {
		font-size: 38px;
		line-height: 124%;
		width: 100%;
	}

	.r1-hero__title br {
		display: block;
	}

	.r1-hero__cta {
		max-width: 100%;
		white-space: normal;
	}

	.r1-hero__circle {
		width: 140%;
	}

	.r1-hero__icon[data-icon-index="1"],
	.r1-hero__icon[data-icon-index="4"],
	.r1-hero__icon[data-icon-index="6"] {
		display: none;
	}

	.r1-hero__icon[data-icon-index="2"] {
		width: 98px;
		top: 480px;
		left: -12vw;
		display: block;
	}

	.r1-hero__stage {
		width: 110%;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.r1-hero[data-animate="1"] .r1-hero-txt,
	.r1-hero[data-animate="1"] .r1-icon-drop,
	.r1-hero[data-animate="1"] .r1-hero__circle,
	.r1-hero[data-animate="1"] .r1-hero-card,
	.r1-hero[data-animate="1"] .r1-hero__laptop,
	.r1-hero[data-animate="1"] .r1-hero__cards-img {
		visibility: visible;
	}
}
