/* Global Styles */
:root {
	--primary-color: #e63946;
	--secondary-color: #1d3557;
	--dark-color: #0d1b2a;
	--light-color: #f8f9fa;
	--success-color: #28a745;
	--danger-color: #dc3545;
	--body-color: #f8f9fa;
	--text-color: #212529;
	--border-color: #dee2e6;
	--transition: all 0.3s ease;
	--box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	--section-padding: 100px 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	font-family: "Poppins", sans-serif;
	color: var(--text-color);
	background-color: var(--body-color);
	line-height: 1.7;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.3;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: #c8242f;
	text-decoration: none;
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary:hover {
	background-color: #c8242f;
	border-color: #c8242f;
}

.logo {
	width: 300px;
	max-height: 60px;
	height: auto;
}

.section-padding {
	padding: var(--section-padding);
}

.section-header {
	margin-bottom: 50px;
}

.section-header h2 {
	font-size: 36px;
	margin-bottom: 15px;
	position: relative;
}

.section-divider {
	width: 70px;
	height: 3px;
	background-color: var(--primary-color);
	margin: 0 auto 20px;
}

.section-subheading {
	font-size: 18px;
	color: var(--secondary-color);
}

/* Header */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
	transition: var(--transition);
	z-index: 1000;
}

header.scrolled {
	padding: 10px 0;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
}

.navbar-nav {
	margin-left: auto;
}

.nav-link {
	font-weight: 500;
	padding: 10px 15px !important;
	color: var(--dark-color) !important;
	position: relative;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary-color) !important;
}

.nav-link::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	bottom: 5px;
	left: 15px;
	transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: calc(100% - 30px);
}

/* Hero Slider */
.hero-slider {
	margin-top: 80px;
}

.slide-content {
	height: 100vh;
	min-height: 600px;
	max-height: 800px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	align-items: center;
	text-align: left;
}

.slide-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

.slide-content .container {
	position: relative;
	z-index: 1;
}

.slide-content h1 {
	font-size: 48px;
	color: #fff;
	margin-bottom: 20px;
	animation: fadeInUp 1s ease;
}

.slide-content p {
	font-size: 20px;
	color: #fff;
	margin-bottom: 30px;
	animation: fadeInUp 1s ease 0.2s;
	animation-fill-mode: both;
}

.slide-content .btn {
	animation: fadeInUp 1s ease 0.4s;
	animation-fill-mode: both;
}

/* About Section */
.about-img {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-img img {
	max-height: 850px;
	height: auto;
	object-fit: cover;
}

.about-content h3 {
	margin-bottom: 20px;
	font-size: 28px;
	color: var(--secondary-color);
}

.about-content p {
	font-size: 1.18rem;
	line-height: 2.1;
	margin-bottom: 1.5rem;
}

.about-content h4 {
	font-size: 1.45rem;
	line-height: 1.5;
	margin-bottom: 1.1rem;
}

.about-content ul {
	font-size: 1.15rem;
	line-height: 2.1;
	margin-bottom: 1.5rem;
}

.about-content ul li {
	margin-bottom: 0.7rem;
}

.feature-box {
	padding: 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: var(--box-shadow);
	height: 100%;
	transition: var(--transition);
}

.feature-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-box i {
	font-size: 36px;
	color: var(--primary-color);
	margin-bottom: 15px;
	display: block;
}

.feature-box h4 {
	font-size: 20px;
	margin-bottom: 10px;
	color: var(--secondary-color);
}

/* Services Section */
.service-card {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 36px 28px 28px 28px;
	min-height: 420px;
	align-items: stretch;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	border-radius: 50%;
	background-color: rgba(230, 57, 70, 0.1);
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-icon i {
	font-size: 36px;
	color: var(--primary-color);
}

.service-card h3 {
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--secondary-color);
}

.service-link {
	display: inline-block;
	margin-top: 15px;
	font-weight: 500;
}

.service-link i {
	transition: var(--transition);
	margin-left: 5px;
}

.service-link:hover i {
	transform: translateX(5px);
}

.service-card-content {
	min-height: 180px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Parts Section */
.parts-filter {
	margin-bottom: 30px;
}

.parts-filter button {
	margin: 0 5px;
	border-radius: 30px;
	padding: 8px 20px;
	font-weight: 500;
}

.parts-filter button.active {
	background-color: var(--primary-color);
	color: #fff;
}

.parts-card {
	margin-bottom: 30px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.parts-img {
	position: relative;
	overflow: hidden;
}

.parts-img img {
	transition: var(--transition);
	width: 100%;
}

.parts-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(230, 57, 70, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.parts-content {
	text-align: center;
	padding: 20px;
	transform: translateY(20px);
	transition: var(--transition);
}

.parts-content h4 {
	color: #fff;
	margin-bottom: 5px;
}

.parts-content p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 15px;
}

.parts-card:hover .parts-overlay {
	opacity: 1;
}

.parts-card:hover .parts-content {
	transform: translateY(0);
}

.parts-card:hover .parts-img img {
	transform: scale(1.1);
}

/* FAQ Section */
.accordion-item {
	margin-bottom: 15px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.accordion-button {
	font-weight: 600;
	padding: 20px;
	background-color: #fff;
}

.accordion-button:not(.collapsed) {
	color: var(--primary-color);
	background-color: rgba(230, 57, 70, 0.05);
}

.accordion-button:focus {
	box-shadow: none;
	border-color: var(--border-color);
}

.accordion-body {
	padding: 20px;
	background-color: #fff;
}

/* Contact Section */
.contact-info {
	padding: 30px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--box-shadow);
	height: 100%;
}

.contact-item {
	display: flex;
	align-items: flex-start;
}

.contact-item i {
	font-size: 24px;
	color: var(--primary-color);
	margin-right: 15px;
	margin-top: 5px;
}

.contact-item h4 {
	font-size: 18px;
	margin-bottom: 5px;
	color: var(--secondary-color);
}

.contact-form {
	padding: 30px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--box-shadow);
	height: 100%;
}

.form-control {
	height: auto;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	margin-bottom: 15px;
}

.form-control:focus {
	box-shadow: none;
	border-color: var(--primary-color);
}

.map-container {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

/* Footer */
#footer {
	background-color: var(--secondary-color);
	color: #fff;
	padding-top: 70px;
}

.footer-top {
	padding-bottom: 50px;
}

.footer-logo {
	max-width: 300px;
	height: auto;
	margin-bottom: 1rem;
	display: block;
}

.footer-info p {
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.7);
}

.social-links {
	display: flex;
	gap: 10px;
}

.social-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #fff;
	transition: var(--transition);
}

.social-icon:hover {
	background-color: var(--primary-color);
	color: #fff;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	padding: 7px 0;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	transition: var(--transition);
}

.footer-links a:hover {
	color: #fff;
	padding-left: 5px;
}

.footer-contact p {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
	color: #fff;
}

.footer-contact i {
	margin-right: 10px;
	color: var(--primary-color);
}

.footer-bottom {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
	color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.7);
	margin-left: 20px;
	transition: var(--transition);
}

.footer-legal a:hover {
	color: #fff;
}

.newsletter-form .form-control {
	background-color: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	height: 44px;
}

.newsletter-form .form-control::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
	padding: 10px 20px;
	font-size: 1rem;
	height: 44px;
	border-radius: 0 5px 5px 0;
	display: flex;
	align-items: center;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 50px;
	height: 50px;
	background-color: var(--primary-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.back-to-top.active {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: #c8242f;
	color: #fff;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 991px) {
	.slide-content h1 {
		font-size: 36px;
	}
	.slide-content p {
		font-size: 18px;
	}
	.navbar-collapse {
		background-color: #fff;
		padding: 20px;
		border-radius: 10px;
		box-shadow: var(--box-shadow);
		margin-top: 15px;
	}
	.nav-link::after {
		display: none;
	}
	.service-card-content {
		min-height: 120px;
	}
}

@media (max-width: 767px) {
	:root {
		--section-padding: 70px 0;
	}
	.section-header h2 {
		font-size: 30px;
	}
	.slide-content {
		min-height: 500px;
		text-align: center;
	}
	.slide-content h1 {
		font-size: 30px;
	}
	.slide-content p {
		font-size: 16px;
	}
	.footer-legal {
		text-align: center !important;
		margin-top: 15px;
	}
	.footer-legal a {
		margin: 0 10px;
	}
	.copyright {
		text-align: center;
	}
}

/* Service List Modern UI */
.service-list {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: left;
	margin-top: 24px;
}
.service-list li {
	display: flex;
	align-items: center;
	font-size: 16px;
	margin-bottom: 10px;
	padding-left: 0;
}
.service-bullet {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--primary-color);
	margin-right: 12px;
	flex-shrink: 0;
}
@media (max-width: 991px) {
	.service-card {
		min-height: unset;
		padding: 28px 16px;
	}
	.service-list li {
		font-size: 15px;
	}
	.service-card-content {
		min-height: 120px;
	}
	.service-list {
		margin-top: 16px;
	}
}

/* Engine Gallery Swiper */
.engine-swiper {
	padding: 10px 0 30px 0;
}
.engine-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
}
.engine-swiper img {
	max-height: 180px;
	width: auto;
	object-fit: contain;
}
.engine-swiper .swiper-button-next,
.engine-swiper .swiper-button-prev,
.engine-swiper .swiper-pagination {
	display: none !important;
}
@media (max-width: 991px) {
	.engine-swiper .swiper-slide {
		height: 140px;
	}
	.engine-swiper img {
		max-height: 120px;
	}
}

#engine-slider {
	background: #fff !important;
	padding-top: 40px;
	padding-bottom: 40px;
}
