/* =====================================================
   BARATHI CABS – style.css  (v2)
   Bootstrap 5 Overrides + Minimal Custom CSS
   Brand: Green #009444 | Yellow #FFCB05
   ===================================================== */

/* ---- 1. CSS Variables & Bootstrap Overrides ---- */
:root {
	--bc-green: #009444;
	--bc-green-dark: #007a38;
	--bc-green-light: #39B54A;
	--bc-yellow: #FFCB05;
	--bc-yellow-dark: #DDB726;
	--bc-yellow-light: #fff8e1;
	--bc-dark: #1a1a2e;
	--bc-wa-green: #25D366;
	--bc-radius: 0.75rem;
	--bc-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

	--bs-primary: #009444;
	--bs-primary-rgb: 0, 148, 68;
	--bs-warning: #FFCB05;
	--bs-warning-rgb: 255, 203, 5;
	--bs-link-color: #009444;
	--bs-link-hover-color: #007a38;
	--bs-font-sans-serif: 'Poppins', system-ui, sans-serif;
	--bs-border-radius: var(--bc-radius);
}

/* ---- 2. Global Base ---- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	color: #333;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

address {
	font-style: normal;
}

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

/* ---- 3. Button Colors ---- */
.btn-primary {
	background-color: var(--bc-green);
	border-color: var(--bc-green);
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: var(--bc-green-dark);
	border-color: var(--bc-green-dark);
	color: #fff;
}

.btn-outline-primary {
	color: var(--bc-green);
	border-color: var(--bc-green);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	background-color: var(--bc-green);
	border-color: var(--bc-green);
	color: #fff;
}

.btn-warning {
	background-color: var(--bc-yellow);
	border-color: var(--bc-yellow);
	color: #000;
}

.btn-warning:hover,
.btn-warning:focus {
	background-color: var(--bc-yellow-dark);
	border-color: var(--bc-yellow-dark);
	color: #000;
}

.btn-outline-warning {
	color: #997a00;
	border-color: var(--bc-yellow);
}

.btn-outline-warning:hover {
	background-color: var(--bc-yellow);
	border-color: var(--bc-yellow);
	color: #000;
}

.btn-whatsapp {
	background: var(--bc-wa-green);
	border-color: var(--bc-wa-green);
	color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
	background-color: #1ea855;
	border-color: #1ea855;
	color: #fff;
}

/* Utility */
.bg-primary {
	background-color: var(--bc-green) !important;
}

.text-primary {
	color: var(--bc-green) !important;
}
.text-secondary {
	color: var(--bc-yellow) !important;
}

.border-primary {
	border-color: var(--bc-green) !important;
}

.badge.bg-primary {
	background-color: var(--bc-green) !important;
}

.text-white-75 {
	color: rgba(255, 255, 255, 0.75);
}

.shadow-xl {
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18) !important;
}

.btn-check:checked+.btn-outline-primary {
	background-color: var(--bc-green);
	border-color: var(--bc-green);
	color: #fff;
}

/* ---- 4. Skip Link (WCAG) ---- */
.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 9999;
	background: var(--bc-green);
	color: #fff;
	padding: 8px 16px;
	border-radius: 0 0 6px 6px;
	font-weight: 600;
	transition: top 0.2s;
	text-decoration: none;
}

.skip-link:focus {
	top: 0;
}

/* ---- 5. Flash Message ---- */
.bc-flash {
	position: fixed;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	min-width: 280px;
	max-width: 500px;
	width: calc(100% - 32px);
	padding: 14px 20px;
	border-radius: var(--bc-radius);
	font-size: .9rem;
	font-family: 'Poppins', sans-serif;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	animation: bcSlideDown .35s ease;
}

.bc-flash--success {
	background: #d4edda;
	border: 1px solid var(--bc-green);
	color: #155724;
}

.bc-flash--error {
	background: #f8d7da;
	border: 1px solid #dc3545;
	color: #721c24;
}

.bc-flash--warning {
	background: #fff3cd;
	border: 1px solid var(--bc-yellow);
	color: #856404;
}

.bc-flash__close {
	background: none;
	border: none;
	font-size: 1.4rem;
	cursor: pointer;
	line-height: 1;
	margin-left: 16px;
	opacity: .7;
}

.bc-flash__close:hover {
	opacity: 1;
}

@keyframes bcSlideDown {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-16px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* ---- 6. Top Bar ---- */
.topbar {
	border-bottom: 1px solid #2d2d2d;
}

/* ---- 7. Navbar ---- */
.navbar {
	transition: box-shadow 0.3s ease;
}

.navbar-scrolled {
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25) !important;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 500;
	padding: .5rem .85rem;
	border-radius: 6px;
	transition: color .2s, background .2s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
	color: var(--bc-yellow);
	background: rgba(255, 255, 255, 0.06);
}

/* ---- 8. Page Banner (inner pages) ---- */
.page-banner {
	position: relative;
	overflow: hidden;
	padding: 80px 0 50px;
	background: linear-gradient(135deg, var(--bc-green) 0%, #004d22 100%);
}

.page-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../images/banner1.webp') center/cover no-repeat;
	opacity: .12;
	z-index: 0;
}

.page-banner .container {
	position: relative;
	z-index: 1;
}

.page-banner h1 {
	color: #fff;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a,
.page-banner .breadcrumb-item.active {
	color: rgba(255, 255, 255, .75);
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
	color: rgba(255, 255, 255, .5);
}

/* ---- 9. Hero Section ---- */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 100, 40, 0.88) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-section .container {
	z-index: 1;
	position: relative;
}

.hero-row {
	min-height: 80vh;
}

.hero-text {
	animation: fadeSlideUp 0.8s ease both;
}

@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-badge {
	animation: fadeSlideUp 0.6s 0.2s ease both;
}

.booking-card {
	animation: fadeSlideUp 0.8s 0.3s ease both;
}

/* ---- 10. Routes Ticker ---- */
.ticker-track {
	overflow: hidden;
}

.ticker-move {
	display: flex;
	gap: 2rem;
	align-items: center;
	white-space: nowrap;
	width: max-content;
	animation: ticker 35s linear infinite;
	font-size: .88rem;
}

@keyframes ticker {
	from {
		transform: translateX(0)
	}

	to {
		transform: translateX(-50%)
	}
}

.ticker-track:hover .ticker-move {
	animation-play-state: paused;
}

/* ---- 11. Section Badge ---- */
.section-badge {
	letter-spacing: .04em;
	font-size: .78rem;
}

/* ---- 12. Service Cards ---- */
.service-icon {
	width: 80px;
	height: 80px;
	transition: transform .3s ease;
}

.service-card {
	transition: transform .35s ease, box-shadow .35s ease;
	cursor: default;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 48px rgba(0, 148, 68, .15) !important;
}

.service-card:hover .service-icon {
	transform: scale(1.12) rotate(-5deg);
}

/* ---- 13. Route Cards ---- */
.route-img {
	height: 165px;
	object-fit: cover;
	transition: transform .4s ease;
}

.route-card {
	transition: transform .3s ease, box-shadow .3s ease;
	overflow: hidden;
}

.route-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 32px rgba(0, 0, 0, .13) !important;
}

.route-card:hover .route-img {
	transform: scale(1.04);
}

/* ---- 14. Why Us Icon ---- */
.why-icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

/* ---- 15. How It Works ---- */
.step-circle {
	width: 72px;
	height: 72px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
	transition: transform .3s ease;
}

.step-circle:hover {
	transform: scale(1.08);
}

/* ---- 16. Fleet Cards ---- */
.fleet-img {
	height: 185px;
	object-fit: cover;
	transition: transform .4s ease;
}

.fleet-card {
	transition: transform .3s ease, box-shadow .3s ease;
}

.fleet-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 32px rgba(0, 0, 0, .12) !important;
}

.fleet-card:hover .fleet-img {
	transform: scale(1.04);
}

.fleet-featured {
	border: 2px solid var(--bc-yellow) !important;
}

/* ---- 17. Testimonials ---- */
.review-avatar {
	width: 52px;
	height: 52px;
	object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
	width: 5%;
}

.carousel-indicators {
	position: relative;
	margin: 0;
}

.carousel-indicators [data-bs-target] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	opacity: .4;
	border: 0;
}

.carousel-indicators .active {
	opacity: 1;
}

/* ---- 18. WhatsApp CTA Section ---- */
.whatsapp-cta-section {
	background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-cta-icon i {
	color: rgba(255, 255, 255, .9);
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .2));
	animation: bounce 2s infinite;
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

/* ---- 19. Contact Cards ---- */
.contact-icon {
	width: 64px;
	height: 64px;
	transition: transform .3s ease;
}

.contact-card:hover .contact-icon {
	transform: scale(1.1);
}

.contact-card {
	transition: transform .3s ease, box-shadow .3s ease;
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(0, 0, 0, .12) !important;
}

/* ---- 20. Form Improvements (validation states) ---- */
.form-control:focus,
.form-select:focus {
	border-color: var(--bc-green);
	box-shadow: 0 0 0 .2rem rgba(0, 148, 68, .2);
}

.form-control.is-valid,
.form-select.is-valid {
	border-color: var(--bc-green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23009444' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.13z'/%3E%3C/svg%3E");
}

.form-control.is-invalid,
.form-select.is-invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .15);
}

.valid-feedback {
	display: block;
	color: var(--bc-green);
	font-size: .78rem;
	margin-top: .25rem;
}

.invalid-feedback {
	display: block;
	color: #dc3545;
	font-size: .78rem;
	margin-top: .25rem;
}

/* Form field icon wrapper */
.input-icon-wrap {
	position: relative;
}

.input-icon-wrap .form-control,
.input-icon-wrap .form-select {
	padding-left: 2.4rem;
}

.input-icon-wrap .fi {
	position: absolute;
	left: .75rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--bc-green);
	font-size: 1rem;
	pointer-events: none;
	z-index: 4;
}

/* Required star helper */
.req {
	color: #dc3545;
	margin-left: 2px;
}

/* ---- 21. Floating WhatsApp ---- */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--bc-wa-green);
	border-radius: 50px;
	color: #fff;
	font-size: 1.75rem;
	padding: 5px 35px;
	box-shadow: 0 4px 24px rgba(37, 211, 102, .45);
	z-index: 1050;
	text-decoration: none;
	transition: transform .3s ease, box-shadow .3s ease;
	min-width: 60px;
	min-height: 60px;
}

.whatsapp-float:hover {
	transform: scale(1.08);
	box-shadow: 0 8px 32px rgba(37, 211, 102, .55);
	color: #fff;
}

.whatsapp-label {
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
}

.whatsapp-pulse {
	position: absolute;
	inset: -5px;
	border-radius: 50px;
	border: 3px solid var(--bc-wa-green);
	animation: waPulse 2.2s infinite;
	pointer-events: none;
}

@keyframes waPulse {
	0% {
		transform: scale(1);
		opacity: .7;
	}

	70% {
		transform: scale(1.35);
		opacity: 0;
	}

	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}

/* ---- 22. Back to Top ---- */
.back-to-top {
	position: fixed;
	bottom: 96px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	padding: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1049;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
	transition: opacity .3s ease, transform .3s ease;
}

.back-to-top.show {
	display: flex;
}

.back-to-top:hover {
	transform: translateY(-3px);
}

/* ---- 23. Scroll Reveal ---- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---- 24. Focus Styles (WCAG AA) ---- */
:focus-visible {
	outline: 3px solid var(--bc-yellow);
	outline-offset: 3px;
	border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--bc-yellow);
}

/* ---- 25. Shake animation ---- */
.shake {
	display: inline-block;
	animation: shake 1.6s ease-in-out infinite;
}

@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(4px);
	}
}

/* ---- 26. Why-Us parallax background ---- */
.bg-why-us {
	position: relative;
	background: url('../images/banner1.webp') center/cover no-repeat;
	background-attachment: fixed;
}

.bg-why-us::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(350deg, rgb(0 0 0), rgb(0 0 0 / 55%));
}

.bg-why-us>.container {
	position: relative;
	z-index: 1;
}

/* ---- 27. About Page: Timeline ---- */
.timeline {
	position: relative;
	padding-left: 2rem;
}

.timeline::before {
	content: '';
	position: absolute;
	left: .65rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--bc-green);
	opacity: .3;
}

.timeline-item {
	position: relative;
	margin-bottom: 2rem;
}

.timeline-dot {
	position: absolute;
	left: -2rem;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--bc-green);
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--bc-green);
	top: .2rem;
}

/* ---- 28. Services grid icons ---- */
.service-lg-icon {
	width: 90px;
	height: 90px;
	transition: transform .3s ease, box-shadow .3s ease;
}

.service-lg-card:hover .service-lg-icon {
	transform: scale(1.1) rotate(-6deg);
	box-shadow: 0 12px 32px rgba(0, 148, 68, .2);
}

.service-lg-card {
	transition: transform .3s ease, box-shadow .3s ease;
}

.service-lg-card:hover {
	transform: translateY(-6px);
}

/* ---- 29. Routes: price pill ---- */
.price-pill {
	display: inline-block;
	padding: 4px 14px;
	background: var(--bc-yellow-light);
	border: 1px solid var(--bc-yellow-dark);
	color: #555;
	border-radius: 50px;
	font-size: .78rem;
	font-weight: 600;
}

/* ---- 30. Responsive ---- */
@media (max-width: 991.98px) {
	.hero-section {
		min-height: auto;
		padding-top: 60px;
		padding-bottom: 40px;
	}

	.hero-row {
		min-height: auto;
	}

	.topbar {
		display: none !important;
	}

	.bg-why-us {
		background-attachment: scroll;
	}
}

@media (max-width: 767.98px) {
	.display-4 {
		font-size: 1.9rem;
	}

	.display-6 {
		font-size: 1.45rem;
	}

	.whatsapp-float {
		bottom: 16px;
		right: 16px;
		font-size: 1.5rem;
		padding: 10px 12px;
		min-width: 52px;
		min-height: 52px;
	}

	.back-to-top {
		bottom: 80px;
		right: 16px;
	}

	.hero-section {
		padding-top: 24px;
	}

	.ticker-move {
		animation-duration: 22s;
	}

	.page-banner {
		padding: 60px 0 36px;
	}
}

@media (max-width: 575.98px) {
	.fleet-img {
		height: 155px;
	}

	.route-img {
		height: 140px;
	}

	.step-circle {
		width: 60px;
		height: 60px;
		font-size: 1.4rem !important;
	}
}

/* ---- 31. Print ---- */
@media print {

	.whatsapp-float,
	.back-to-top,
	.navbar,
	.ticker-section {
		display: none !important;
	}
}


.glass-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--r-lg);
	padding: 32px 26px;
	transition: var(--t);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.glass-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--g-gold);
	transform: scaleX(0);
	transition: transform .4s ease;
}

.glass-card:hover {
	background: rgba(255, 255, 255, .09);
	border-color: var(--bdr-gold);
	transform: translateY(-7px);
}

.glass-card:hover::after {
	transform: scaleX(1);
}

.glass-icon {
	width: 52px;
	height: 52px;
	background: var(--g-gold);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--navy-dark);
	margin-bottom: 18px;
}

 