/* ============================================================
   Our Services – Elementor Widget Styles
   Fully responsive: Desktop / Tablet / Mobile
   ============================================================ */

.os-services-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.os-services-wrapper *,
.os-services-wrapper *::before,
.os-services-wrapper *::after {
	box-sizing: border-box;
}

/* --- Layout variants --- */
.os-layout-boxed .os-services-inner {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.os-layout-fullwidth .os-services-inner {
	max-width: 100%;
	width: 100%;
}

/* --- Header --- */
.os-header {
	text-align: center;
	margin-bottom: 40px;
}

.os-subtitle {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #C41E3A;
	margin: 0 0 8px;
	line-height: 1.4;
}

.os-title {
	font-size: 32px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.3;
}

.os-title-underline {
	display: block;
	width: 50px;
	height: 3px;
	background-color: #E8B923;
	margin: 0 auto;
	border-radius: 2px;
}

/* --- Grid --- */
.os-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
}

/* --- Service Card --- */
.os-service-card {
	position: relative;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	height: 100%;
}

.os-service-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Top accent border (red line) */
.os-service-card.has-top-accent::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background-color: #C41E3A;
	border-radius: 12px 12px 0 0;
}

/* --- Icon --- */
.os-service-icon {
	margin-bottom: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.os-service-icon i {
	font-size: 42px;
	color: #1a1a1a;
	line-height: 1;
}

.os-service-icon svg {
	width: 42px;
	height: 42px;
	fill: #1a1a1a;
}

.os-service-icon img {
	width: 48px;
	height: auto;
	display: block;
	object-fit: contain;
}

/* --- Card Title --- */
.os-service-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.35;
}

/* --- Description --- */
.os-service-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 20px;
	flex-grow: 1;
}

/* --- Read More Link --- */
.os-service-link {
	font-size: 14px;
	font-weight: 600;
	color: #C41E3A;
	text-decoration: none;
	transition: color 0.25s ease;
	display: inline-block;
	margin-top: auto;
}

.os-service-link:hover,
.os-service-link:focus {
	color: #8B0000;
	text-decoration: none;
}

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

/* Large Desktop / PC – already 4 columns by default */

/* Tablet (landscape & portrait) */
@media (max-width: 1024px) {
	.os-services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.os-title {
		font-size: 28px;
	}

	.os-service-card {
		padding: 26px 20px;
	}
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 767px) {
	.os-services-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.os-title {
		font-size: 24px;
	}

	.os-subtitle {
		font-size: 12px;
		letter-spacing: 1.5px;
	}

	.os-service-card {
		padding: 24px 18px;
	}

	.os-service-icon i {
		font-size: 36px;
	}

	.os-service-icon svg {
		width: 36px;
		height: 36px;
	}

	.os-service-title {
		font-size: 17px;
	}

	.os-service-desc {
		font-size: 13.5px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.os-title {
		font-size: 22px;
	}

	.os-service-card {
		padding: 22px 16px;
	}
}

/* Ensure Elementor editor preview also respects the grid */
.elementor-editor-active .os-services-grid {
	display: grid;
}
