/* Main Header */
.dr1041header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: white;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	font-family: 'Poppins', 'Noto Sans Telugu', sans-serif;
}

/* Header Container */
.dr1041header .header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 5%;
	flex-wrap: nowrap;
}

/* Logo & Title */
.dr1041header .header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dr1041header .header-left img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.dr1041header .header-title {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.dr1041header .header-title .english {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0d47a1;
}

.dr1041header .header-title .telugu {
	font-family: 'Noto Sans Telugu', sans-serif;
	font-size: 1rem;
	color: #00796b;
	font-weight: 600;
}

.dr1041header .header-tagline {
	font-size: 0.85rem;
	color: #555;
}

/* Inline Location in Header Text */
.dr1041header .header-title .location-inline {
	background: #0d47a1;
	color: white;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	transition: background 0.3s ease, transform 0.2s ease;
}

.dr1041header .header-title .location-inline:hover {
	background: #1565c0;
	transform: translateY(-1px);
}

/* Desktop Menu */
.dr1041header .header-menu {
	display: flex;
	gap: 20px;
	align-items: center;
}

.dr1041header .header-menu a {
	text-decoration: none;
	font-weight: 600;
	color: #333;
	transition: color 0.3s ease;
}

.dr1041header .header-menu a:hover {
	color: #0d47a1;
}

/* Location Button in Desktop Menu */
.dr1041header .header-menu .location-link {
	background: #0d47a1;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transition: background 0.3s ease;
}

.dr1041header .header-menu .location-link:hover {
	background: #1565c0;
}

/* Hamburger Menu for Mobile */
.dr1041header .hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.dr1041header .hamburger span {
	width: 25px;
	height: 3px;
	background: #333;
	border-radius: 2px;
}

/* Mobile Menu (Hidden by Default) */
.dr1041header .mobile-menu {
	display: none;
	flex-direction: column;
	background: white;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dr1041header .mobile-menu a {
	padding: 10px;
	border-bottom: 1px solid #eee;
	text-align: center;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	transition: background 0.3s ease;
}

.dr1041header .mobile-menu a:hover {
	background: #f0f0f0;
}

/* Show mobile menu when active */
.dr1041header .mobile-menu.show {
	display: flex;
}

/* Responsive Adjustments for Mobile */
@media ( max-width : 768px) {
	/* Hide desktop menu, show hamburger */
	.dr1041header .header-menu {
		display: none;
	}
	.dr1041header .hamburger {
		display: flex;
	}

	/* Header container: wrap items & center */
	.dr1041header .header-container {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
		gap: 5px;
		padding: 10px 3%;
	}
	.dr1041header .header-left {
		flex-direction: column;
		align-items: center;
		gap: 5px;
	}
	.dr1041header .header-title {
		text-align: center;
	}

	/* Scale down text */
	.dr1041header .header-title .english {
		font-size: 1rem;
	}
	.dr1041header .header-title .telugu {
		font-size: 0.85rem;
	}
	.dr1041header .header-title .doctor-name {
		font-size: 0.85rem;
	}
	.dr1041header .header-title .doctor-specialty, .dr1041header .header-title .doctor-specialty-telugu
		{
		font-size: 0.75rem;
	}

	/* Inline location inside tagline scales down */
	.dr1041header .header-title .location-inline {
		font-size: 0.7rem;
		padding: 2px 8px;
		margin-left: 0;
		margin-top: 4px;
	}

	/* Mobile menu links */
	.dr1041header .mobile-menu a {
		padding: 8px 0;
		font-size: 0.85rem;
	}

	/* Location link inside mobile menu */
	.dr1041header .mobile-menu a.location-link {
		font-size: 0.75rem;
		padding: 4px 8px;
		border-radius: 15px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		max-width: 120px;
		margin: 5px auto;
	}
}