/*====GLOBAL (ALL PAGES)  ====*/

body {
margin: 0;
font-family: Arial, sans-serif;
background: #f5f5f5;
}

/* HEADER (NAVBAR STYLE) */
header {
	display: flex;
	justify-content: space-between;
 	align-items: center;
	background: black;
	color: white;
	padding: 15px;
}

.logo{
	display: flex;
	align-items: center;
}

.logo img {
	height: 40px;
	margin-right: 10px;
}

ul {
list-style: none;
display: flex;
}

ul li {
	margin: 0 15px;
	text-align: center;
}

ul li a {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

/*** MENU ICON ***/
.menu-icon {
display: none;
font-size: 25px;
cursor: pointer;
}

/* COMMON CARD (USED EVERYWHERE) */
.car-card {
	background: white;
	margin: 10px;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	transition: 0.3s;
}

.car-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 10px;
}

.car-card h3 {
margin: 5px 0;

}

/* BUTTON */
.car-card button {
	width: 100%;
	padding: 10px;
	background: orange;
	color: white;
	border: none;
	border-radius: 5px;
	margin-top: 10px;
	font-size: 16px;
}

.car-card button:hover { 
	background: darkorange;
}

/*GRID SYSTEM */
.car-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 10px;
padding: 10px;
}

/* MOBILE MENU */
@media (max-width: 600px) {
ul { 
display: none;
flex-direction: column;
background: black;
position: absolute;
top: 60px;
left: 0;
width: 100%;
}


ul.show{
display: flex;
}
.menu-icon {
display:block;
}
}

/* ====HOME PAGE==== */
.home .title{
text-align: center;
padding: 10px;
}

/* =====MILEAGE PAGE==== */
.mileage .title{
	text-align: center;
	padding: 10px;
	color: green;
}

/* ==== UNDER 5 LAKH PAGE ==== */
.under5 .title {
text-align: center;
padding: 10px;
color: blue;
}

/* ==== COMPARE PAGE ====- */
.compare .title {
text-align: center;
padding: 10px;
color: red;
}





























