.nearby-locations-section {
	padding-top: 0px;
	padding-bottom: 60px;
	max-width: 1380px;
	margin: 0 auto;
}
.section-heading {
	text-align: left;
	margin-bottom: 50px;
}
.section-title {
	font-size: 2.5rem;
	font-weight: 500;
	color: #000000;
	margin-bottom: 10px;
	position: relative;
	letter-spacing: 1px;
}
.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #01963a, #02c749);
	border-radius: 2px;
}
.locations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 25px;
	max-width: 100%;
}
.location-item {
	background: #fff;
	border-radius: 15px;
	padding: 25px 20px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(1, 150, 58, 0.1);
	transition: all 0.3s ease;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}
.location-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(1, 150, 58, 0.05), transparent);
	transition: left 0.5s ease;
}
.location-item:hover::before {
	left: 100%;
}
.location-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(1, 150, 58, 0.2);
	border-color: #01963a;
}
.location-icon {
	font-size: 2.5rem;
	color: #01963a;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}
.location-item:hover .location-icon {
	transform: scale(1.1);
	color: #02c749;
}
.location-name {
	font-size: 16px;
	font-weight: 400;
	color: #333;
	margin-bottom: 8px;
	transition: color 0.3s ease;
	letter-spacing: 1px;
}
.location-item:hover .location-name {
	color: #01963a;
}
.location-distance {
	font-size: 14px;
	color: #666;
	font-weight: 400;
}
/* Auto Icon Mapping using CSS */
.auto-icon::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 2.5rem;
	color: #01963a;
	margin-bottom: 15px;
	transition: all 0.3s ease;
	display: block;
}
/* Transportation Icons */
.location-item[data-name*="airport"] .auto-icon::before,
.location-item[data-name*="Airport"] .auto-icon::before { content: "\f072"; }

.location-item[data-name*="bus"] .auto-icon::before,
.location-item[data-name*="Bus"] .auto-icon::before { content: "\f207"; }

.location-item[data-name*="train"] .auto-icon::before,
.location-item[data-name*="Train"] .auto-icon::before { content: "\f238"; }
        
.location-item[data-name*="metro"] .auto-icon::before,
.location-item[data-name*="Metro"] .auto-icon::before { content: "\f239"; }
        
.location-item[data-name*="taxi"] .auto-icon::before,
.location-item[data-name*="Taxi"] .auto-icon::before { content: "\f1ba"; }
        
.location-item[data-name*="parking"] .auto-icon::before,
.location-item[data-name*="Parking"] .auto-icon::before { content: "\f540"; }

/* Healthcare Icons */
.location-item[data-name*="hospital"] .auto-icon::before,
.location-item[data-name*="Hospital"] .auto-icon::before { content: "\f0f8"; }
        
.location-item[data-name*="clinic"] .auto-icon::before,
.location-item[data-name*="Clinic"] .auto-icon::before { content: "\f0f0"; }
        
.location-item[data-name*="pharmacy"] .auto-icon::before,
.location-item[data-name*="Pharmacy"] .auto-icon::before { content: "\f484"; }
        
.location-item[data-name*="medical"] .auto-icon::before,
.location-item[data-name*="Medical"] .auto-icon::before { content: "\f0fa"; }

/* Education Icons */
.location-item[data-name*="school"] .auto-icon::before,
.location-item[data-name*="School"] .auto-icon::before { content: "\f549"; }
        
.location-item[data-name*="university"] .auto-icon::before,
.location-item[data-name*="University"] .auto-icon::before { content: "\f19c"; }
        
.location-item[data-name*="college"] .auto-icon::before,
.location-item[data-name*="College"] .auto-icon::before { content: "\f19d"; }
        
.location-item[data-name*="library"] .auto-icon::before,
.location-item[data-name*="Library"] .auto-icon::before { content: "\f02d"; }

/* Shopping Icons */
.location-item[data-name*="mall"] .auto-icon::before,
.location-item[data-name*="Mall"] .auto-icon::before { content: "\f290"; }
        
.location-item[data-name*="market"] .auto-icon::before,
.location-item[data-name*="Market"] .auto-icon::before { content: "\f54e"; }
        
.location-item[data-name*="supermarket"] .auto-icon::before,
.location-item[data-name*="Supermarket"] .auto-icon::before { content: "\f07a"; }
        
.location-item[data-name*="shop"] .auto-icon::before,
.location-item[data-name*="Shop"] .auto-icon::before { content: "\f291"; }

/* Food & Dining Icons */
.location-item[data-name*="restaurant"] .auto-icon::before,
.location-item[data-name*="Restaurant"] .auto-icon::before { content: "\f2e7"; }
        
.location-item[data-name*="cafe"] .auto-icon::before,
.location-item[data-name*="Cafe"] .auto-icon::before { content: "\f0f4"; }
        
.location-item[data-name*="food"] .auto-icon::before,
.location-item[data-name*="Food"] .auto-icon::before { content: "\f354"; }
        
.location-item[data-name*="bakery"] .auto-icon::before,
.location-item[data-name*="Bakery"] .auto-icon::before { content: "\f563"; }

/* Entertainment Icons */
.location-item[data-name*="cinema"] .auto-icon::before,
.location-item[data-name*="Cinema"] .auto-icon::before { content: "\f008"; }
		
.location-item[data-name*="theater"] .auto-icon::before,
.location-item[data-name*="Theater"] .auto-icon::before { content: "\f630"; }
        
.location-item[data-name*="park"] .auto-icon::before,
.location-item[data-name*="Park"] .auto-icon::before { content: "\f1bb"; }
        
.location-item[data-name*="gym"] .auto-icon::before,
.location-item[data-name*="Gym"] .auto-icon::before { content: "\f44b"; }
        
.location-item[data-name*="spa"] .auto-icon::before,
.location-item[data-name*="Spa"] .auto-icon::before { content: "\f5bb"; }

/* Services Icons */
.location-item[data-name*="bank"] .auto-icon::before,
.location-item[data-name*="Bank"] .auto-icon::before { content: "\f19c"; }
        
.location-item[data-name*="atm"] .auto-icon::before,
.location-item[data-name*="ATM"] .auto-icon::before { content: "\f09d"; }
        
.location-item[data-name*="post"] .auto-icon::before,
.location-item[data-name*="Post"] .auto-icon::before { content: "\f0e0"; }
        
.location-item[data-name*="police"] .auto-icon::before,
.location-item[data-name*="Police"] .auto-icon::before { content: "\f3ed"; }
        
.location-item[data-name*="fire"] .auto-icon::before,
.location-item[data-name*="Fire"] .auto-icon::before { content: "\f134"; }

/* Religious Icons */
.location-item[data-name*="temple"] .auto-icon::before,
.location-item[data-name*="Temple"] .auto-icon::before { content: "\f679"; }
        
.location-item[data-name*="church"] .auto-icon::before,
.location-item[data-name*="Church"] .auto-icon::before { content: "\f51d"; }
			
.location-item[data-name*="mosque"] .auto-icon::before,
.location-item[data-name*="Mosque"] .auto-icon::before { content: "\f678"; }

/* Default Icon */
.location-item .auto-icon::before {
	content: "\f3c5"; /* Default map marker */
}
.location-item:hover .auto-icon::before {
	transform: scale(1.1);
	color: #02c749;
}
/* Responsive Design */
@media (max-width: 768px) {
	.nearby-locations-section {
		padding: 0px 15px;
		padding-bottom: 50px;
	}
	.section-title {
		font-size: 2rem;
	}
	.locations-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 20px;
	}
	.location-item {
		padding: 20px 15px;
	}
	.auto-icon::before {
		font-size: 2rem !important;
	}
	.location-name {
		font-size: 15px;
	}
}
@media (max-width: 480px) {
	.section-title {
		font-size: 1.8rem;
	}
	.locations-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	.location-item {
		padding: 18px 12px;
	}
}
/* Ensure exactly 6 items per row on larger screens */
@media (min-width: 1200px) {
	.locations-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}