/* ============================================================
   Our Fleet – Elementor Widget Styles
   Fully responsive: Mobile / Tablet / Laptop / Desktop / PC
   ============================================================ */

.of-fleet-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.of-fleet-wrapper *,
.of-fleet-wrapper *::before,
.of-fleet-wrapper *::after {
	box-sizing: border-box;
}

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

.of-layout-fullwidth .of-fleet-inner {
	max-width: 100%;
	width: 100%;
}

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

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

.of-title {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.25;
}

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

.of-description {
	font-size: 15px;
	line-height: 1.6;
	color: #666666;
	max-width: 620px;
	margin: 0 auto;
}

/* --- Grid --- */
.of-fleet-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	width: 100%;
}

/* --- Vehicle Card --- */
.of-vehicle-card {
	background-color: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.of-vehicle-card:hover {
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

/* --- Image --- */
.of-vehicle-image {
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.of-vehicle-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.of-vehicle-card:hover .of-vehicle-image img {
	transform: scale(1.04);
}

/* --- Content --- */
.of-vehicle-content {
	padding: 24px 24px 28px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.of-vehicle-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px;
	line-height: 1.3;
}

.of-vehicle-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 18px;
}

/* --- Features (pills) --- */
.of-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.of-feature-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #f5f5f5;
	color: #444444;
	font-size: 12.5px;
	font-weight: 500;
	padding: 6px 12px 6px 10px;
	border-radius: 8px;
	line-height: 1.3;
	white-space: nowrap;
}

.of-feature-item i {
	font-size: 13px;
	color: #666666;
	line-height: 1;
}

.of-feature-item svg {
	width: 13px;
	height: 13px;
	fill: #666666;
	flex-shrink: 0;
}

/* --- Book Now Button --- */
.of-book-btn {
	display: block;
	width: 100%;
	text-align: center;
	background-color: #C41E3A;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 8px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	margin-top: auto;
	line-height: 1.3;
}

.of-book-btn:hover,
.of-book-btn:focus {
	background-color: #9B1830;
	color: #ffffff;
	text-decoration: none;
}

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

/* Large Desktop / PC – 3 columns (default) */

/* Laptop / Medium Desktop */
@media (max-width: 1200px) {
	.of-title {
		font-size: 32px;
	}

	.of-fleet-grid {
		gap: 22px;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	.of-fleet-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

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

	.of-vehicle-image img {
		height: 180px;
	}

	.of-vehicle-content {
		padding: 20px 20px 24px;
	}
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 767px) {
	.of-fleet-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.of-title {
		font-size: 26px;
	}

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

	.of-description {
		font-size: 14px;
	}

	.of-vehicle-image img {
		height: 190px;
	}

	.of-vehicle-title {
		font-size: 18px;
	}

	.of-vehicle-desc {
		font-size: 13.5px;
	}

	.of-feature-item {
		font-size: 12px;
		padding: 5px 10px 5px 8px;
	}
}

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

	.of-vehicle-content {
		padding: 18px 16px 22px;
	}

	.of-vehicle-image img {
		height: 170px;
	}

	.of-book-btn {
		padding: 13px 20px;
		font-size: 14.5px;
	}
}

/* Editor preview */
.elementor-editor-active .of-fleet-grid {
	display: grid;
}
