/*==========================================================================
* Sticky Contact Button CSS
==========================================================================*/
.sticky-contact-btn {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
}

.talk-to-us-btn {
	background: #000;
	color: white;
	border: none;
	padding: 12px 15px 12px 20px;
	border-radius: 30px 0 0 30px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	font-family: var(--body-font);
	transition: all 0.3s ease;
	text-decoration: none;
	min-height: 70px;
	justify-content: center;
	letter-spacing: 0.3px;
	position: relative;
	overflow: hidden;
}

.talk-to-us-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
	transition: left 0.5s;
}

.talk-to-us-btn:hover::before {
	left: 100%;
}

.talk-to-us-btn:hover {
	background: #1a1a1a;
}

.talk-to-us-btn i {
	font-size: 14px;
	writing-mode: initial;
}

.talk-to-us-btn .arrow-bottom {
	font-size: 10px;
	margin-top: 3px;
	opacity: 0.7;
}

.talk-to-us-btn span {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	font-family: var(--body-font);
}

/*==========================================================================
* WhatsApp Button CSS
==========================================================================*/
.whatsapp-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9998;
}

.whatsapp-btn a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: #25D366;
	border-radius: 50%;
	color: white;
	font-size: 28px;
	text-decoration: none;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	transition: all 0.3s ease;
	animation: whatsappPulse 2s infinite;
	position: relative;
}

.whatsapp-btn a::after {
	content: '1';
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4444;
	color: white;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid white;
	box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
	animation: notificationBounce 1.5s ease-in-out infinite;
}

.whatsapp-btn a:hover {
	background: #128C7E;
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn a i {
	color: white;
}

@keyframes whatsappPulse {
	0% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
	}
	100% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
}

@keyframes notificationBounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0) scale(1);
	}
	40% {
		transform: translateY(-3px) scale(1.1);
	}
	60% {
		transform: translateY(-2px) scale(1.05);
	}
}

/*==========================================================================
* Contact Bottom Panel CSS
==========================================================================*/
.contact-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: flex-end;
	justify-content: center;
	z-index: 10000;
	backdrop-filter: blur(5px);
}

.contact-popup-overlay.active {
	display: flex;
}

.contact-popup {
	background: white;
	border-radius: 20px 20px 0 0;
	width: 90%;
	max-width: 800px;
	height: auto;
	max-height: 550px;
	overflow: hidden;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
	font-family: var(--body-font);
}

.contact-popup-overlay.active .contact-popup {
	transform: translateY(0);
}

.contact-popup-header {
	padding: 20px 30px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #44b6e5;
	color: white;
	border-radius: 20px 20px 0 0;
	position: relative;
}

.contact-popup-header::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

.contact-popup-header h3 {
	margin: 0;
	color: white;
	font-size: 22px;
	font-family: var(--heading-font);
}

.contact-popup-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: white;
	padding: 8px;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.contact-popup-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.contact-popup-content {
	padding: 20px 25px 25px 25px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 8px;
	background: #f8f9fa;
	transition: transform 0.2s ease;
}

.contact-item:hover {
	transform: translateY(-2px);
}

.contact-item i {
	background: #44b6e5;
	color: white;
	padding: 12px;
	border-radius: 50%;
	font-size: 16px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-item h4 {
	margin: 0 0 5px 0;
	color: #333;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--heading-font);
}

.contact-item p {
	margin: 0;
	color: #666;
	font-size: 14px;
	font-family: var(--body-font);
}

.contact-form h4 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--heading-font);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #eee;
	border-radius: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	font-family: var(--body-font);
	transition: border-color 0.3s ease;
}

.contact-form textarea {
	height: 80px;
	resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #44b6e5;
	box-shadow: 0 0 0 3px rgba(68, 182, 229, 0.1);
}

.send-btn {
	background: #44b6e5;
	color: white;
	border: none;
	padding: 12px 25px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--body-font);
	transition: all 0.3s ease;
	width: 100%;
}

.send-btn:hover {
	background: #3a9bd1;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(68, 182, 229, 0.3);
}

/*==========================================================================
* Responsive Design
==========================================================================*/
@media (max-width: 768px) {
	.contact-popup {
		width: 95%;
		height: auto;
		max-height: 500px;
		border-radius: 15px 15px 0 0;
	}
	
	.contact-popup-content {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 15px 20px 20px 20px;
	}
	
	.contact-info {
		gap: 12px;
	}
	
	.contact-item {
		padding: 10px;
		gap: 10px;
	}
	
	.contact-popup-header {
		padding: 15px 20px;
		border-radius: 15px 15px 0 0;
	}
	
	.contact-popup-header h3 {
		font-size: 18px;
	}
	
	.contact-popup-header::before {
		top: 6px;
		width: 35px;
		height: 3px;
	}
	
	.talk-to-us-btn {
		padding: 10px 12px 10px 16px;
		min-height: 60px;
		font-size: 11px;
	}
	
	.talk-to-us-btn i {
		font-size: 12px;
	}
	
	.talk-to-us-btn .arrow-bottom {
		font-size: 9px;
	}
	
	.whatsapp-btn {
		bottom: 15px;
		right: 15px;
	}
	
	.whatsapp-btn a {
		width: 55px;
		height: 55px;
		font-size: 24px;
	}
	
	.whatsapp-btn a::after {
		width: 20px;
		height: 20px;
		font-size: 11px;
		top: -4px;
		right: -4px;
	}
}
