* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	background: whitesmoke;
}

/* ===================== Navbar ===================== */
#mainNavbar {
	background-color: rgb(255, 255, 255);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	z-index: 1000;
}

#mainNavbar .logo-wrapper {
	height: 50px;
	overflow: visible;
	display: flex;
	align-items: center;
}

#mainNavbar .logo-img {
	height: 60px;
	max-width: 220%;
	border-radius: 10px;
	object-fit: contain;
}

#mainNavbar .nav-link {
	color: rgb(255, 141, 28);
	font-weight: 900;
	margin-right: 20px;
}

#mainNavbar .logout-btn {
	color: white !important;
	transition: color 0.3s ease;
}

.profile-container {
	display: flex;
	align-items: center;
	gap: 12px;
}

.navbar .profile-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #ff6f00;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
	position: relative;
	cursor: pointer;
}

#mainNavbar .custom-login-btn {
	background-color: rgb(255, 70, 70);
	border: 1px solid black;
	color: white;
}

.logout-btn {
	background: rgb(255, 70, 70);
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	color: white;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logout-btn:hover {
	background: rgb(255, 70, 70);
}

/* ===================== Hero Section ===================== */
.hero {
	text-align: center;
	margin-top: 40px;
	padding: 70px;
	color: white;
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("/assets/images/herobg_image5.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 60vh;
}

.hero h1.hero-heading {
	color: #000;
	font-size: 3rem;
	font-weight: 900;
	margin-bottom: 15px;
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero .tagline {
	color: rgb(134, 134, 134);
	font-size: 1rem;
	margin-bottom: 20px;
	font-weight: 600;
}

.hero p {
	font-size: clamp(0.9rem, 1.8vw, 1.1rem);
	margin-bottom: 30px;
	font-family: initial;
	font-style: italic;
}

.hero button {
	padding: 10px 20px;
	margin: 10px;
	border-radius: 6px;
	font-weight: 600;
	font-size: medium;
	cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero .btn-primary {
	background-color: #ff5722;
	color: white;
}

.hero .btn-primary:hover {
	background-color: #e64a19;
}

.hero .btn-outline {
	background-color: #ff5722;
	color: white;
	border: 2px solid #ff5722;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.hero .btn-outline:hover {
	background-color: #ff5722;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-content {
	background-size: cover;
	background-position: center;
	position: relative;
	padding-top: 60px;
	background: rgb(255, 255, 255);
}

.hero-inner-content {
	position: relative;
	z-index: 2;
	/* Above the ::after background */
}

.hero-content h3 {
	font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', sans-serif;
	color: rgb(0, 0, 0);
	font-weight: bold;
}

/* ===================== Area Boxes ===================== */
.area-boxes {
	position: relative;
	z-index: 2;
	padding: 5px;
	background-color: transparent;
	border-radius: 15px;
	max-width: 960px;
	margin: 0 auto 30px auto;
	color: white;
}

.area-boxes h3 {
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
	text-shadow: none;
	margin-bottom: 20px;
}

.scrollable-area-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 20px;
	justify-items: center;
	padding: 10px;
}

.area-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.area-card {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-image: url("/assets/images/cardbg_image2.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-shadow: 0 2px 6px rgb(191, 191, 191);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 8px;
	display: inline-block;
}

.area-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.area-name {
	font-size: 0.8rem;
	font-weight: 500;
	color: rgb(0, 0, 0);
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}


/*==========================Middle Portion==========================*/
.image-text-section {
	background: linear-gradient(to bottom, #ff9800, #ffffff);
	color: white;
}

.image-text-section h2 {
	font-size: 1.8rem;
	font-weight: bold;
	color: rgb(0, 0, 0);
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.image-text-section .section-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: darkslategray;
}

/* ===================== Popular Categories Carousel ===================== */
.popular-category {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	perspective: 1000px;
	padding-bottom: 15px;
}

.category-card {
	width: 250px;
	border-radius: 10px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	transform-style: preserve-3d;
	background-color: white;
}

.category-card:hover {
	transform: rotateY(15deg) rotateX(5deg) scale(1.03);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-item img {
	height: 200px;
	width: 100%;
	object-fit: cover;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.popular h2 {
	color: rgb(0, 0, 0);
	font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', sans-serif;
	font-weight: bold;
	font-weight: 700;
}

.popular-category h5 {
	font-size: 0.9rem;
	font-weight: 600;
	color: rgb(0, 0, 0);
	font-family: 'Courier New', Courier, monospace;
}

/* ===================== Right Align Buttons ===================== */
.right-buttons {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ===================== Mobile Responsive ===================== */
@media (max-width: 768px) {

	#mainNavbar .navbar-brand {
		font-size: 22px;
	}

	#mainNavbar .nav-link {
		margin-right: 10px;
		font-size: 14px;
	}

	.logout-btn {
		padding: 6px 12px;
		font-size: 0.9rem;
		position: absolute;
		top: 10px;
		right: 10px;
	}

	.hero {
		padding-top: 100px;
		padding-left: 15px;
		padding-right: 15px;
		height: 80vh;
	}

	.hero h1.hero-heading {
		font-size: 2rem;
		line-height: 1.1;
		word-wrap: break-word;
		font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
	}

	.hero p {
		font-size: 0.85rem;
		font-family: initial;
	}

	.hero button {
		font-size: medium;
		padding: 8px 10px;
		width: 80%;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	}

	.hero .location-btn {
		font-size: 0.85rem;
		padding: 0.4rem 0.8rem;
	}

	.hero-content {
		padding-top: 40px;
		text-align: center;
		background-position: top;
	}

	.hero-content h3 {
		font-size: 1.1rem;
		font-weight: 900;
	}

	.area-boxes {
		padding: 10px;
	}

	.area-boxes h3 {
		font-size: 1rem;
	}

	.scrollable-area-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.area-wrapper {
		width: 90px;
	}

	.area-card {
		width: 80px;
		height: 80px;
	}

	.area-name {
		font-size: 0.85rem;
	}


	#popular-category {
		padding: 10px;
		flex-direction: column;
		align-items: center;

	}

	#popular-category>div {
		width: 90%;
	}

	.carousel-item img {
		height: 180px;
	}

	.category-card h5 {
		font-size: 1.1rem;
	}
}

/* ======= Mobile Sidebar (Visible only on small devices) ======= */
@media (max-width: 768px) {
	.mobile-sidebar {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1050;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	.sidebar-toggle {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 28px;
		height: 20px;
		cursor: pointer;
		background: none;
		border: none;
		padding: 0;
		z-index: 1060;
	}

	.sidebar-toggle .bar {
		height: 3px;
		width: 100%;
		background-color: rgb(0, 0, 0);
		border-radius: 2px;
	}

	.sidebar-content {
		display: none;
		margin-top: 10px;
		background: #ffffff;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
		border-radius: 10px;
		padding: 10px;
		width: 160px;
		text-align: right;
	}

	.sidebar-content .sidebar-link {
		display: block;
		padding: 10px;
		color: #000;
		font-weight: 600;
		text-decoration: none;
		border-radius: 6px;
		transition: background 0.2s;
	}

	.sidebar-content .sidebar-link:hover {
		background: #ffe0cc;
	}

	.sidebar-content .logout-link {
		width: 100%;
		text-align: right;
		background: none;
		border: none;
		color: #ff3e3e;
		cursor: pointer;
		font-weight: 600;
		padding: 10px;
	}
}

/* Hide mobile sidebar wrapper on screens wider than 991px */
@media (min-width: 992px) {
	.mobile-only {
		display: none !important;
	}
}