﻿/* Base Styles */
.offer-hero {
	position: relative;
	z-index: 1;
	padding: 120px 0 !important;
	overflow: hidden;
}

.offer-hero:before,
.offer-hero:after {
	content: '';
	position: absolute;
	z-index: -1;
	opacity: 0.7;
	filter: blur(100px);
	border-radius: 100vh;
}

.offer-hero:before {
	top: -220px;
	left: -100px;
	width: 420px;
	height: 420px;
	background: var(--accentColor);
}

.offer-hero:after {
	bottom: -220px;
	right: -100px;
	width: 420px;
	height: 420px;
	background: var(--accentColor);
}

.offer-hero ul {
	list-style: none;
	padding: 0;
	font-size: 18px;
}

.offer-hero ul li {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 6px;
}

.offer-hero ul li:before {
	content: '\f058';
	font-family: var(--fa-style-family-classic);
	margin-right: 10px;
	color: var(--bs-secondary);
}

.offer-hero ul li.attention:before {
	content: '\f05a';
	color: var(--bs-light);
}

.offer-hero .breadcrumb li {
	font-size: 14px;
}

.offer-hero .breadcrumb li:before {
	color: white;
}

.offer-hero-logo {
	width: 80px !important;
	height: 80px !important;
	border-radius: 10px;
	margin-bottom: 16px;
	display: block;
}

.offer-hero-bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 60% !important;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	object-fit: cover;
	mask-image: linear-gradient(to left, white 60%, transparent 100%);
	-webkit-mask-image: linear-gradient(to left, white 60%, transparent 100%);
}

/* Image Grid */
.offer-img-grid {
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 4;
	height: calc(100% + 400px);
	transform: translateY(-50%) rotate(8deg);
}

.offer-img-grid > div {
	display: flex;
	flex-direction: column;
	gap: 1.2em;
	height: 100%;
	margin-top: 0;
}

.offer-img-grid .image {
	overflow: hidden;
	border-radius: 24px;
	animation-name: drop-down;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
	transform: translateY(-250%);
	opacity: 0;
	will-change: opacity, transform;
}

.offer-img-grid .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.offer-img-grid .image-1 {
	height: 55%;
	animation-delay: 0.3s;
}

.offer-img-grid .image-1 img {
	object-position: bottom center;
}

.offer-img-grid .image-2 {
	height: 45%;
	animation-delay: 0.15s;
}

.offer-img-grid .image-2 img {
	object-position: top center;
}

.offer-img-grid .image-3 {
	height: 40%;
	animation-delay: 0.55s;
}

.offer-img-grid .image-3 img {
	object-position: bottom center;
}

.offer-img-grid .image-4 {
	height: 40%;
	animation-delay: 0.25s;
}

.offer-img-grid .image-4 img {
	object-position: top center;
}

.offer-img-grid .offer-logo {
	position: relative;
	z-index: 1;
	height: 20%;
	animation-delay: 0.45s;
}

.offer-img-grid .offer-logo img {
	object-fit: scale-down;
}

.offer-img-grid .offer-logo img.logo-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 10000px;
	height: 10000px;
	object-fit: cover;
	z-index: -1;
}

/* Animation */
@keyframes drop-down {
	0% {
		transform: scale(1, 1) translateY(-50px);
		opacity: 0;
	}
	100% {
		transform: scale(1, 1) translateY(0);
		opacity: 1;
	}
}

/* Media Queries */
@media screen and (max-width: 1300px) {
	.offer-hero {
		padding: 60px 0;
	}
}

@media screen and (max-width: 768px) {
	.offer-hero {
		padding: 0 0 30px 0 !important;
	}
		.offer-hero:before{
			display: none;
		}
		.offer-hero:after{
			display: none;
		}
	.offer-img-grid .image {
		overflow: hidden;
		animation: none;
		border-radius: 0;
		transform: unset;
		opacity: 1;
	}
	.offer-hero ul {
		font-size: 15px;
	}

	.offer-hero-logo {
		position: absolute;
		top: 1.5em;
		left: 1.5em;
		z-index: 2;
	}

	.offer-hero-bg {
		position: relative;
		right: unset;
		left: -1.5em;
		width: calc(100% + 3em) !important;
		max-width: 12000px !important;
		height: 300px;
		margin-bottom: -50px;
		mix-blend-mode: normal;
		z-index: -1;
		mask-image: linear-gradient(to bottom, white 60%, transparent 100%);
		-webkit-mask-image: linear-gradient(to bottom, white 60%, transparent 100%);
	}

	.offer-hero-text {
		width: 100%;
	}

	.offer-img-grid {
		position: relative;
		top: 0;
		background: var(--bs-secondary);
		right: unset;
		left: -2em;
		padding: 0;
		width: calc(100% + 4em) !important;
		height: 340px;
		margin-bottom: 1em;
		padding-top: 0px;
		transform: translateY(0%) rotate(0deg);

	}
	.offer-img-grid:after{
		content: "";
		display: block;
		width: 100%;
		height: 50px;
		background: url("data:image/svg+xml,%3Csvg viewBox='0 0 402 40' xmlns='http://www.w3.org/2000/svg' fill='%23071035' preserveAspectRatio='none'%3E%3Cpath d='M402 0V39.82H0V0C56.73 17.37 126.1 27.58 200.99 27.58C275.88 27.58 345.25 17.37 402 0Z' /%3E%3C/svg%3E")
		no-repeat center bottom;
		background-size: 100% 100%;
		position: absolute;
		bottom: -5px;
		left: 0;
		z-index: 1;
		pointer-events: none;
	}
	.offer-img-grid > div {
		gap: 0px;
	}

	.offer-img-grid .image-1 {
		height: 50%;
	}

	.offer-img-grid .image-2 {
		height: 50%;
	}
	.offer-img-grid .image-2 img, .offer-img-grid .image-4 img{
		object-position: bottom center;
	}

	.offer-img-grid .image-3 {
		height: 30%;
	}

	.offer-img-grid .image-4 {
		height: 40%;
	}

	.offer-img-grid .offer-logo {
		height: 30%;
	}
}
