/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #f8fafc;
	/* Slate-50 */
}

::selection {
	background-color: #ef4444;
	/* Red-500 */
	color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	/* Thinner for modern look */
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #9ca3af;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #6b7280;
}

.scrollbar-hide::-webkit-scrollbar {
	display: none;
}

.scrollbar-hide {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* --- Preloader Styles --- */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid #dc2626;
	/* Brand Red */
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* --- Cookie Banner Transition --- */
#cookie-banner {
	transition: transform 0.5s ease-in-out;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 30px;
	right: 30px;
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	color: #FFF;
	border-radius: 50%;
	text-align: center;
	font-size: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	z-index: 90;
	/* Below preloader */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
	transform: scale(1.1) translateY(-5px);
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* --- Back To Top Button --- */
.back-to-top {
	position: fixed;
	bottom: 100px;
	/* Above WhatsApp */
	right: 30px;
	width: 45px;
	height: 45px;
	background-color: #1f2937;
	/* Dark Gray */
	color: white;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 89;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.back-to-top:hover {
	background-color: #dc2626;
	/* Brand Red */
	transform: translateY(-3px);
}

/* --- Card Styles --- */
.service-card {
	transition: all 0.4s ease;
	border: 1px solid transparent;
	/* Prevent jump on hover border */
}

/* Hover effects for text readability on images */
.text-shadow-sm {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Hero Pattern --- */
.pattern-grid-lg {
	background-image: linear-gradient(#ffffff 1px, transparent 1px),
		linear-gradient(90deg, #ffffff 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: center center;
}