:root {
	--primary: #d43338;
	--secondary: #363435;
	--accent: #d33337;
	--dark: #363435;
	--light: #f5f3ff;
}
header {
	background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;           
    top: 10px;                 
    left: 50%;                
    transform: translateX(-50%);
    width: 95%;               
    max-width: 1100px;         
    z-index: 1000;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 15px;
}    
.nav-logo img {
	height: 50px;
	padding-right: 15px;
	border-right: 2px solid #000;
}
.dropdown {
	position: relative;
}
.dropdown > a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.dropdown > a:after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(45deg);
	margin-top: -4px;
}    
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	min-width: 180px;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 0.5rem 0;
	display: none;
	z-index: 100;
}    
.dropdown-item {
	display: block;
	padding: 0.75rem 1.5rem;
	color: #333;
	text-decoration: none;
	transition: all 0.2s ease;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.dropdown-item:hover {
	background-color: #f5f5f5;
	color: var(--primary);
}    
.nav-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}    
.phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.phone img {
	height: 20px;
} 
.phone a{
	color: #3a3839;
    text-decoration: none;
}      
.appointment {
	background-color: var(--primary);
	color: white;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.appointment:hover {
	background-color: var(--secondary);
	transform: translateY(-2px);
}    
.menu-toggle {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	gap: 0.2rem;
	z-index: 1001;
	position: relative;
}    
.menu-toggle div {
	width: 24px;
	height: 2px;
	background-color: #333;
	margin: 2px 0;
	transition: all 0.3s ease;
}    
.menu-toggle.active div:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
	background-color: white;
}    
.menu-toggle.active div:nth-child(2) {
	opacity: 0;
}    
.menu-toggle.active div:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
	background-color: white;
}    
.menu-toggle span {
	font-size: 0.7rem;
	text-transform: uppercase;
	margin-top: 2px;
	transition: all 0.3s ease;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}
span {}    
.menu-toggle.active span {
	color: white;
}    
/* Modern Overlay Menu Styling */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--dark), var(--primary));
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
	overflow-y: auto;
}    
.overlay.active {
	opacity: 1;
	visibility: visible;
}    
.overlay-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}    
.circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	animation: float 15s infinite ease-in-out;
}    
.circle:nth-child(1) {
	width: 300px;
	height: 300px;
	top: 10%;
	left: 10%;
	animation-delay: 0s;
	background: linear-gradient(to right, rgba(236, 72, 153, 0.2), rgba(124, 58, 237, 0.1));
	backdrop-filter: blur(5px);
}    
.circle:nth-child(2) {
	width: 200px;
	height: 200px;
	top: 60%;
	left: 70%;
	animation-delay: 2s;
	background: linear-gradient(to right, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.1));
	backdrop-filter: blur(5px);
}    
.circle:nth-child(3) {
	width: 150px;
	height: 150px;
	top: 40%;
	left: 25%;
	animation-delay: 4s;
	background: linear-gradient(to right, rgba(124, 58, 237, 0.2), rgba(79, 70, 229, 0.1));
	backdrop-filter: blur(5px);
}    
.circle:nth-child(4) {
	width: 100px;
	height: 100px;
	top: 20%;
	left: 80%;
	animation-delay: 6s;
	background: linear-gradient(to right, rgba(236, 72, 153, 0.2), rgba(124, 58, 237, 0.1));
	backdrop-filter: blur(5px);
}    
@keyframes float {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	50% {
		transform: translate(30px, 30px) rotate(180deg);
	}
	100% {
		transform: translate(0, 0) rotate(360deg);
	}
}    
.wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 2rem;
	position: relative;
	z-index: 10;
}    
.overlay-header {
	text-align: center;
	margin-bottom: 3rem;
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.6s ease;
	transition-delay: 0.2s;
}    
.overlay.active .overlay-header {
	transform: translateY(0);
	opacity: 1;
}    
.overlay-header h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: white;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	display: inline-block;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.overlay-header h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background: var(--accent);
	border-radius: 3px;
}    
.overlay-header p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.wrap-nav {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}    
.nav-list {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}	
.nav-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	transform: translateY(30px);
	opacity: 0;
}    
.overlay.active .nav-item {
	transform: translateY(0);
	opacity: 1;
}    
.nav-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	background: rgba(255, 255, 255, 0.15);
}    
.nav-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem 1.5rem;
	color: white;
	text-decoration: none;
	height: 100%;
}    
.menu-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #ffffff;
	transition: all 0.3s ease;
}
.nav-item:hover .menu-icon {
	transform: scale(1.2);
}    
.menu-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.menu-desc {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	transition: all 0.3s ease;
	font-family: "Roboto Condensed", sans-serif;
	letter-spacing: 1px;
}    
.nav-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent), var(--secondary));
	opacity: 0;
	z-index: -1;
	transition: all 0.3s ease;
}    
.nav-item:hover::before {
	opacity: 0.2;
}    
.nav-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--accent);
	transition: all 0.3s ease;
}
.nav-item:hover::after {
	width: 100%;
}    
.close-btn {
	position: absolute;
	top: 2rem;
	right: 2rem;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(5px);
	transform: scale(0);
}    
.overlay.active .close-btn {
	transform: scale(1);
	transition-delay: 0.5s;
}    
.close-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg) scale(1.1);
}    
.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 3rem;
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.6s ease;
	transition-delay: 0.6s;
}	
.overlay.active .social-links {
	transform: translateY(0);
	opacity: 1;
}    
.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 1.2rem;
}    
.social-link:hover {
	background: var(--accent);
	transform: translateY(-5px);
}    
/* Animation delays for menu items */
.nav-item:nth-child(1) { transition-delay: 0.1s; }
.nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav-item:nth-child(3) { transition-delay: 0.3s; }
.nav-item:nth-child(4) { transition-delay: 0.4s; }
.nav-item:nth-child(5) { transition-delay: 0.5s; }
.nav-item:nth-child(6) { transition-delay: 0.6s; }
.nav-item:nth-child(7) { transition-delay: 0.7s; }    
/* Mobile Responsive Styles */
@media (max-width: 1024px) {
	.nav-list {
		grid-template-columns: repeat(2, 1fr);
	}
	.overlay-header h2 {
		font-size: 2.2rem;
	}
	.overlay-header p {
		font-size: 1rem;
	}
}    
@media (max-width: 768px) {
	header {
		padding: 1rem;
	}  
	.nav-logo {
		gap: 1rem;
	}  
	.dropdown {
		display: block;
	}
	.phone span {
		display: none;
	}  
	.appointment {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}  
	.wrap {
		padding: 1.5rem;
	}  
	.overlay-header {
		margin-bottom: 2rem;
	}  
	.overlay-header h2 {
        font-size: 1.8rem;
	}  
	.overlay-header p {
        font-size: 0.9rem;
		padding: 0 1rem;
	}
	.nav-list {
		grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
	}
	.nav-item a {
        padding: 1.5rem 1rem;
	}
	.menu-icon {
        font-size: 1.5rem;
	}
	.menu-title {
        font-size: 1rem;
	}
	.menu-desc {
        font-size: 0.8rem;
	}
	.close-btn {
        top: 1rem;
		right: 1rem;
        width: 40px;
        height: 40px;
	}
	.social-links {
        margin-top: 2rem;
	}
	.social-link {
        width: 35px;
        height: 35px;
	}
}
@media (max-width: 480px) {
	.nav-logo img {
		height: 30px;
	}
	.nav-right {
		gap: 0.8rem;
	}
	.appointment {
        display: none;
	}
	.overlay-header h2 {
        font-size: 1.5rem;
	}
	.overlay-header p {
        font-size: 0.85rem;
	}
	.nav-list {
        grid-template-columns: 1fr;
	}
	.nav-item a {
        padding: 1.2rem 1rem;
	}
	.menu-icon {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
	}
	.menu-title {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
	}
	.menu-desc {
        font-size: 0.75rem;
	}
	.social-links {
        flex-wrap: wrap;
        justify-content: center;
	}
}
/* Fix for mobile menu toggle */
@media (max-width: 768px) {
	.menu-toggle.active {
        position: fixed;
        top: 1rem;
        right: 1rem;
	}
}