/*
 * Homepage CSS
 *
 * @author  Andy Bui
 * @website https://abui.top
 * @project XE DỊCH VỤ HOÀNG DUY
 */
.hoangduy-hero {
	position: relative;
	background-color: #333;
	background-size: cover;
	background-position: center;
	padding: 80px 0 180px;
	color: var(--hd-white);
	min-height: 600px;
	display: flex;
	align-items: center;
}
.hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
	z-index: 1;
}
.hero-container {
	position: relative;
	z-index: 2;
}
.hero-content {
	margin-bottom: 20px;
}
.hero-tagline {
	color: var(--hd-primary-color);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
	display: block;
	font-size: 16px;
}
.hero-title {
	font-size: 56px;
	line-height: 1.2;
	color: var(--hd-white);
	text-transform: uppercase;
}
.hero-title .highlight {
	color: var(--hd-primary-color);
}
.hero-subtitle {
	font-size: 18px;
	margin-bottom: 35px;
	line-height: 1.6;
	opacity: 0.95;
	font-weight: 400;
}
.hero-features {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}
.hero-feature {
	display: flex;
	align-items: center;
	gap: 15px;
	background: rgba(0, 0, 0, 0.4);
	padding: 8px 1px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	width:15%;
}
.hero-feature .feature-icon i {
	font-size: 24px;
	color: var(--hd-primary-color);
}
.hero-feature .feature-text {
	display: flex;
	flex-direction: column;
}
.hero-feature .feature-text strong {
	font-size: 14px;
	line-height: 1.2;
}
.hero-feature .feature-text span {
	font-size: 12px;
	opacity: 0.8;
}
/* Responsive */
@media (max-width: 767px) {
	.hoangduy-hero {
		padding: 50px 0 100px;
	}
	.hero-title {
		font-size: 36px;
	}
	.hero-features {
		flex-direction: column;
		gap: 15px;
	}
}
.hoangduy-services {
	padding: 110px 0 10px 0;
	background-color: var(--hd-white);
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	text-align: center;
}
.service-item {
	padding: 20px 10px;
	transition: var(--hd-transition);
	border-radius: 8px;
}
.service-item:hover {
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	transform: translateY(-5px);
}
.service-icon-wrap {
	margin: 0 auto 15px;
	display: flex;
	justify-content: center;
	font-size: 50px;
	color: var(--hd-primary-color);
}
.service-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 5px;
	text-transform: uppercase;
}
.service-desc {
	font-size: 13px;
	color: var(--hd-text-light);
	margin-bottom: 0;
}
@media (max-width: 991px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.hoangduy-vehicles {
	padding: 60px 0;
	background-color: var(--hd-bg-light);
}
.section-header {
	margin-bottom: 40px;
	text-align: center !important;
	width: 100%;
}
.section-title {
	font-size: 32px;
	text-transform: uppercase;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
}
.section-subtitle {
	color: var(--hd-text-light);
	font-size: 16px;
}
.vehicles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}
.vehicle-card {
	background-color: var(--hd-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	transition: var(--hd-transition);
	position: relative;
	text-align: center;
	border: 1px solid var(--hd-border-color);
}
.vehicle-card:hover {
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border-color: var(--hd-primary-color);
}
.vehicle-image {
	position: relative;
	padding: 20px;
	background-color: var(--hd-white);
}
.vehicle-image img {
	width: 100%;
	object-fit: contain;
	height: 180px;
}
.badge-featured {
	position: absolute;
	top: 15px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #22c55e; /* Green color in mockup */
	color: var(--hd-white);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	z-index: 2;
}
.vehicle-info {
	padding: 0 20px 25px;
}
.vehicle-name {
	font-size: 18px;
	margin-bottom: 8px;
}
.vehicle-name a {
	color: var(--hd-secondary-color);
}
.vehicle-name a:hover {
	color: var(--hd-primary-color);
}
.vehicle-excerpt {
	font-size: 13px;
	color: var(--hd-text-light);
	margin-bottom: 15px;
}
.vehicle-price {
	font-weight: 600;
	color: #ef4444; /* Red color for price */
	font-size: 16px;
}
.contact-price {
	color: #ef4444;
}
.btn-outline-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 30px;
	border: 1px solid var(--hd-primary-color);
	color: var(--hd-primary-color);
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	transition: var(--hd-transition);
}
.btn-outline-primary:hover {
	background-color: var(--hd-primary-color);
	color: var(--hd-white);
}
@media (max-width: 991px) {
	.vehicles-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.vehicles-grid {
		grid-template-columns: 1fr;
	}
	.section-title {
		font-size: 26px;
	}
}
.hoangduy-routes {
	padding: 60px 0 80px;
	background-color: var(--hd-white);
}
.routes-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}
.route-card {
	background-color: var(--hd-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	transition: var(--hd-transition);
	border: 1px solid var(--hd-border-color);
	display: flex;
	flex-direction: column;
}
.route-card:hover {
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	transform: translateY(-5px);
}
.route-image {
	position: relative;
	width: 100%;
	padding-top: 60%; /* Aspect ratio for route images */
	overflow: hidden;
}
.route-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.route-card:hover .route-image img {
	transform: scale(1.05);
}
.route-info {
	padding: 20px 15px;
	text-align: center;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.route-name {
	font-size: 15px;
	margin-bottom: 15px;
	font-weight: 700;
	color: var(--hd-secondary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.route-name i {
	font-size: 12px;
	color: var(--hd-text-light);
}
.route-meta {
	display: flex;
	justify-content: center;
	gap: 15px;
	font-size: 12px;
	color: var(--hd-text-light);
	margin-bottom: 15px;
}
.route-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.route-price {
	color: #ef4444;
	font-weight: 700;
	font-size: 16px;
	margin-top: auto;
}
@media (max-width: 1199px) {
	.routes-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.routes-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.routes-grid {
		grid-template-columns: 1fr;
	}
}
.hoangduy-why-choose {
	position: relative;
	background-size: auto;
	background-position: center;
	padding: 80px 0;
	background-attachment: fixed;
}
.overlay-dark {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(10, 10, 10, 0.85);
	z-index: 1;
}
.z-10 {
	z-index: 10;
}
.relative {
	position: relative;
}
.text-white {
	color: var(--hd-white);
}
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 40px;
}
.feature-box {
	text-align: center;
	padding: 30px 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transition: var(--hd-transition);
}
.feature-box:hover {
	border-color: var(--hd-primary-color);
	transform: translateY(-5px);
}
.feature-icon-wrap {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--hd-primary-color);
	border-radius: 50%;
	color: var(--hd-primary-color);
	font-size: 36px;
	transition: var(--hd-transition);
}
.feature-box:hover .feature-icon-wrap {
	background-color: var(--hd-primary-color);
	color: var(--hd-white);
	border-style: solid;
}
.feature-title {
	font-size: 16px;
	color: var(--hd-white);
	margin-bottom: 10px;
}
.feature-desc {
	color: #d1d5db;
	font-size: 14px;
	margin-bottom: 0;
}
@media (max-width: 991px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}
.hoangduy-testimonials {
	padding: 80px 0;
	background-color: var(--hd-bg-light);
}
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}
.testimonial-card {
	background-color: var(--hd-white);
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
	border: 1px solid var(--hd-border-color);
}
.testimonial-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}
.testimonial-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}
.author-name {
	font-size: 16px;
	margin-bottom: 2px;
}
.author-role {
	font-size: 13px;
	color: var(--hd-text-light);
	display: block;
	margin-bottom: 5px;
}
.hd-star-rating {
	color: #fbbf24; /* yellow/gold for stars */
	font-size: 12px;
}
.testimonial-content {
	font-size: 15px;
	font-style: italic;
	color: var(--hd-text-color);
	line-height: 1.6;
}
.testimonials-dots {
	margin-top: 20px;
}
.testimonials-dots .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #d1d5db;
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
	transition: var(--hd-transition);
}
.testimonials-dots .dot.active {
	background-color: var(--hd-primary-color);
	width: 25px;
	border-radius: 5px;
}
@media (max-width: 991px) {
	.testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	/* Hide 3rd on tablet if simple grid */
	.testimonial-card:nth-child(3) {
		display: none;
	}
}
@media (max-width: 767px) {
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
	.testimonial-card:nth-child(2) {
		display: none;
	}
}