
.glass-btn {
	padding: 0.3rem 2rem;
	font-size: 1.25rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0.4rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(4px);
	transition: all 0.4s ease;
}

.glass-btn::before,
.glass-btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0.4rem;
	border: 1px solid transparent;
	transition: all 0.4s ease;
}

.glass-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	letter-spacing: 1px;
}

.glass-btn:hover::before {
	animation: borderAnim 1.5s linear infinite;
	border-color: rgba(255, 255, 255, 0.4);
}

.glass-btn:hover::after {
	animation: borderAnim 1.5s linear infinite 0.75s;
	border-color: rgba(255, 255, 255, 0.4);
}

@keyframes borderAnim {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

.glass-btn:active {
	transform: scale(0.95);
	background: rgba(255, 255, 255, 0.2);
}

.main-section-container {
	position: relative;
	height: 100vh;
	padding-top: 6rem;
	padding-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.main-section-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('/assets/images/background.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: -1;
	transform: scale(var(--bg-scale, 1.25));
	transition: transform 0.1s ease-out;
}

.main-section-container.scrolled::before {
	transform: scale(1);
}

.headline-description-container {
	position: relative;
	z-index: 2;
	max-width: 98%;
	margin-left: auto;
	margin-right: auto;
	padding: 4rem;
}

.headline-text {
	font-size: 2.25rem;
	font-weight: 300;
	color: rgb(255, 255, 255);
	margin-bottom: 1.75rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.description-text {
	font-size: 1.1rem;
	color: rgb(255, 255, 255);
	margin-bottom: 2rem;
	font-weight: 200;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.grid-area-container {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.headline-grid-text {
	font-size: 2rem;
	font-weight: bold;
	color: rgb(0, 0, 0);
	margin-bottom: 1.5rem;
}

.grid-container {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.custom-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 2rem;
	align-items: stretch;
}

.custom-tile {
	position: relative;
	background-color: white;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	padding-bottom: 4rem;
	transition: box-shadow 0.3s, transform 0.3s ease;
	min-height: 100%;
}

.custom-tile:hover {
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.tile-link:hover .custom-tile {
	transform: translateY(-5px);
}

.tile-arrow {
	position: absolute;
	inset-block-end: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	border: 1.5px solid #2563eb;
	background-color: transparent;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s, color 0.2s;
}

.tile-arrow-icon {
	width: 0.8125rem;
	height: 0.8125rem;
}

html[dir="rtl"] .tile-arrow-icon {
	transform: scaleX(-1);
}

.tile-link:hover .tile-arrow {
	background-color: #2563eb;
	color: white;
}

.headline-text-tile {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.text-tile {
	color: #4b5563;
}

.custom-icon {
	width: 2.25rem;
	height: 2.25rem;
	color: #2563eb;
	margin-bottom: 1rem;
}

.custom-operatives-icon {
	width: 2.25rem;
	height: 2.25rem;
	object-fit: contain;
	object-position: left;
	color: #2563eb;
	margin-bottom: 1rem;
}

.footer-area {
	background-color: #1f2937;
	color: white;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.footer-container {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.footer-grid {
	justify-content: center;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1rem;
}

.footer-element {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #fff;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 64px;
	left: 0;
	width: 100%;
	background: white;
	opacity: 0.7;
	padding: 1rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	z-index: 40;
}

.mobile-menu.active {
	display: block;
}

.hover-effect {
	transition: all 0.3s ease;
}

.hover-effect:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}

	.custom-grid {
		grid-template-columns: repeat(2, 1fr);
		align-items: stretch;
	}
}

@media (max-width: 1000px) {
.main-section-container {
        padding-top: 4rem;
}

	.headline-description-container {
		padding: 0.75rem;
	}

	.headline-text {
		font-size: 1.50rem;
		font-weight: 400;
		margin-bottom: 0.5rem;
	}

	.description-text {
		margin-top: 0.5rem;
		font-size: 1rem;
	}

	.headline-grid-text {
		margin-top: 2rem;
		font-size: 1.7rem;
		margin-bottom: 0.85rem;
	}

	.grid-area-container {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.grid-container {
		max-width: 100%;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		margin-bottom: 1rem;
	}

	.custom-grid {
		gap: 1rem;
	}

	.custom-tile {
		padding: 1.1rem;
		padding-bottom: 3.25rem;
	}

	.tile-arrow {
		width: 1.5rem;
		height: 1.5rem;
		inset-block-end: 0.85rem;
	}

	.tile-arrow-icon {
		width: 0.6875rem;
		height: 0.6875rem;
	}

	.headline-text-tile {
		font-size: 1.2rem;
	}

	.text-tile {
		font-size: 1rem;
	}

	.footer-container {
		max-width: 100%;
	}	

	.custom-icon {
		width: 1.25rem;
		height: 1.25rem;
		margin-bottom: 0.5rem;
	}

	.custom-operatives-icon {
		width: 1.25rem;
		height: 1.25rem;
		object-fit: contain;
		object-position: left;
		margin-bottom: 0.5rem;
	}

	.h4 {
		font-size: 1rem;
	}

	.li {
		font-size: 0.75rem;
	}

	.mobile-menu-container-visible {
		height: 100vh;
		background-color: #1f2937;
	}

	.main-section-container::before {
		height: 100vh;
	}
}

