.contact-container {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 5;
}

.contact-card {
	position: relative;
	background: rgba(30, 30, 30, 0.6);
	border-radius: 16px;
	padding: 30px;
	margin: 20px 0;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(64, 224, 208, 0.3);
	transition: all 0.4s ease;
	overflow: hidden;
	cursor: pointer;
}

.light-mode .contact-card {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(255, 140, 0, 0.3);
}

.contact-card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	border-color: rgba(64, 224, 208, 0.6);
}

.light-mode .contact-card:hover {
	border-color: rgba(255, 140, 0, 0.6);
}

.contact-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), transparent);
	z-index: -1;
}

.light-mode .contact-card::before {
	background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), transparent);
}

.contact-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	color: #40E0D0;
	text-shadow: 0 0 15px rgba(64, 224, 208, 0.7);
	transition: all 0.3s ease;
}

.light-mode .contact-icon {
	color: #FF8C00;
	text-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.contact-card:hover .contact-icon {
	transform: scale(1.1) rotate(5deg);
}

.contact-title {
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: #40E0D0;
	font-weight: bold;
	letter-spacing: 1px;
}

.light-mode .contact-title {
	color: #008B8B;
}

.contact-detail {
	font-size: 1.2rem;
	opacity: 0.9;
	margin-bottom: 10px;
	word-break: break-word;
}

.contact-description {
	margin-top: 15px;
	font-style: italic;
	opacity: 0.8;
	font-size: 0.95rem;
}

.contact-action {
	margin-top: 25px;
	display: inline-block;
	padding: 12px 25px;
	background: linear-gradient(135deg, #20B2AA, #40E0D0);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 139, 139, 0.5);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.light-mode .contact-action {
	background: linear-gradient(135deg, #FF8C00, #FF4500);
	box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}

.contact-action::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}

.contact-action:hover {
	transform: translateY(-3px);
	box-shadow: 0 7px 15px rgba(0, 139, 139, 0.7);
}

.light-mode .contact-action:hover {
	box-shadow: 0 7px 15px rgba(255, 140, 0, 0.7);
}

.contact-action:hover::before {
	transform: translateX(100%);
}

.connect-title {
	text-align: center;
	margin: 40px 0 30px;
	position: relative;
	font-size: 2rem;
	color: #40E0D0;
	text-shadow: 0 0 15px rgba(64, 224, 208, 0.7);
}

.light-mode .connect-title {
	color: #008B8B;
	text-shadow: 0 0 15px rgba(0, 139, 139, 0.3);
}

.connect-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.8), transparent);
}

.light-mode .connect-title::after {
	background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.8), transparent);
}

.social-links {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	gap: 20px;
	flex-wrap: wrap;
}

.social-link {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(20, 20, 20, 0.6);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(64, 224, 208, 0.3);
	transition: all 0.3s ease;
	font-size: 1.5rem;
	color: #40E0D0;
	text-decoration: none;
}

.light-mode .social-link {
	background: rgba(255, 255, 255, 0.6);
	border: 2px solid rgba(255, 140, 0, 0.3);
	color: #FF8C00;
}

.social-link:hover {
	transform: translateY(-5px) rotate(10deg);
	border-color: rgba(64, 224, 208, 0.8);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	color: #fff;
	background: linear-gradient(135deg, #20B2AA, #40E0D0);
}

.light-mode .social-link:hover {
	border-color: rgba(255, 140, 0, 0.8);
	background: linear-gradient(135deg, #FF8C00, #FF4500);
	color: #fff;
}

.glowing-letters {
	display: inline-block;
	position: relative;
	width: 100%;
	text-align: center;
}

.glowing-letters span {
	display: inline-block;
	animation: glow 2s infinite alternate;
	animation-delay: calc(var(--i) * 0.1s);
}

@keyframes glow {
	0% {
		color: #40E0D0;
		text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
		transform: translateY(0);
	}
	100% {
		color: #fff;
		text-shadow: 0 0 20px rgba(64, 224, 208, 1);
		transform: translateY(-5px);
	}
}

.light-mode .glowing-letters span {
	animation: glowLight 2s infinite alternate;
	animation-delay: calc(var(--i) * 0.1s);
}

@keyframes glowLight {
	0% {
		color: #FF8C00;
		text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
		transform: translateY(0);
	}
	100% {
		color: #FF4500;
		text-shadow: 0 0 20px rgba(255, 140, 0, 1);
		transform: translateY(-5px);
	}
}

.interactive-map {
	width: 100%;
	height: 200px;
	border-radius: 12px;
	margin: 20px 0;
	overflow: hidden;
	border: 2px solid rgba(64, 224, 208, 0.3);
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.light-mode .interactive-map {
	border: 2px solid rgba(255, 140, 0, 0.3);
}

.interactive-map:hover {
	transform: scale(1.02);
	border-color: rgba(64, 224, 208, 0.8);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.light-mode .interactive-map:hover {
	border-color: rgba(255, 140, 0, 0.8);
}

.map-placeholder {
	width: 100%;
	height: 100%;
	background-color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #40E0D0;
	font-size: 1.2rem;
	position: relative;
	overflow: hidden;
}

.light-mode .map-placeholder {
	background-color: #f0f0f0;
	color: #FF8C00;
}

.map-pin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	animation: pin-bounce 2s infinite ease-in-out;
}

@keyframes pin-bounce {
	0%, 100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -60%) scale(1.1);
	}
}

.map-ripple {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #40E0D0;
	animation: ripple 2s infinite ease-out;
}

.light-mode .map-ripple {
	border: 2px solid #FF8C00;
}

.map-ripple:nth-child(2) {
	animation-delay: 0.5s;
}

.map-ripple:nth-child(3) {
	animation-delay: 1s;
}

@keyframes ripple {
	0% {
		width: 0;
		height: 0;
		opacity: 1;
	}
	100% {
		width: 100px;
		height: 100px;
		opacity: 0;
	}
}

/* Improved mobile responsiveness */
.profile-name {
	width: 100%;
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.connect-title {
		font-size: 1.8rem;
	}
	
	.contact-title {
		font-size: 1.5rem;
	}
	
	.contact-card {
		padding: 20px;
	}
	
	.social-link {
		width: 50px;
		height: 50px;
		font-size: 1.3rem;
	}
	
	.profile-name {
		font-size: 2rem;
	}
	
	.glowing-letters {
		font-size: 1.8rem;
	}
}

@media (max-width: 480px) {
	.connect-title {
		font-size: 1.5rem;
	}
	
	.contact-icon {
		font-size: 2.5rem;
	}
	
	.social-links {
		gap: 15px;
	}
	
	.social-link {
		width: 45px;
		height: 45px;
		font-size: 1.2rem;
	}
	
	.profile-name {
		font-size: 1.7rem;
	}
	
	.glowing-letters {
		font-size: 1.5rem;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.glowing-letters span {
		display: inline-block;
		margin: 0 2px;
	}
}

@media (max-width: 360px) {
	.profile-name {
		font-size: 1.5rem;
	}
	
	.glowing-letters {
		font-size: 1.3rem;
	}
}