/* Enhanced Contact Form Styling */
.contact-form {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.contact-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
	background-size: 200% 100%;
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% { background-position: 200% 0; }
	50% { background-position: -200% 0; }
}

.contact-form .section-title h2 {
	color: #2c3e50;
	font-weight: 700;
	margin-bottom: 1rem;
	position: relative;
}

.contact-form .section-title p {
	color: #6c757d;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}

/* Enhanced Form Controls */
.contact-form .form-control {
	border: 2px solid #d1d5db;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	font-weight: 500;
	color: #374151;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: #ffffff;
	backdrop-filter: blur(5px);
	position: relative;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control:hover {
	border-color: #9ca3af;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15), 0 4px 12px rgba(0, 123, 255, 0.1);
	background: #ffffff;
	transform: translateY(-2px);
	outline: none;
}

.contact-form .form-control::placeholder {
	color: #6b7280;
	font-weight: 500;
	opacity: 1;
	transition: all 0.3s ease;
}

.contact-form .form-control:focus::placeholder {
	color: #9ca3af;
	transform: translateY(-2px);
	font-size: 0.9rem;
}

/* Enhanced placeholder visibility for different input types */
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder {
	color: #4b5563;
	font-weight: 500;
}

.contact-form textarea::placeholder {
	color: #4b5563;
	font-weight: 500;
	line-height: 1.5;
}

/* Floating Label Effect */
.form-group {
	position: relative;
	margin-bottom: 1.5rem;
}

.form-group.focused .form-control {
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Enhanced Submit Button */
.contact-form .btn-default {
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
	border: none;
	color: white;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.contact-form .btn-default:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
	background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.contact-form .btn-default:active {
	transform: translateY(-1px);
}

.contact-form .btn-default::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.contact-form .btn-default:hover::before {
	left: 100%;
}

/* Form Validation Styling */
.form-control.is-invalid {
	border-color: #dc3545;
	animation: shake 0.5s ease-in-out;
}

.form-control.is-valid {
	border-color: #28a745;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.help-block.with-errors {
	color: #dc3545;
	font-size: 0.875rem;
	margin-top: 0.5rem;
	font-weight: 500;
}

/* Loading State */
.btn-default:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none !important;
}

/* Textarea Enhancement */
.contact-form textarea.form-control {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

/* Character Counter */
.char-counter {
	font-size: 0.8rem;
	color: #6c757d;
	text-align: right;
	margin-top: 0.5rem;
	transition: color 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.contact-form {
		padding: 2rem 1.5rem;
		margin: 1rem;
		border-radius: 15px;
	}
	
	.contact-form .btn-default {
		width: 100%;
		padding: 1rem;
	}
}

/* Contact Info Enhancement */
.contact-info-item {
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
}

.contact-info-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-item .icon-box {
	margin-bottom: 1.5rem;
}

.contact-info-item .icon-box img {
	width: 50px;
	height: 50px;
	filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.contact-info-item h3 {
	color: #2c3e50;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

/* Contact Sidebar Enhancement */
.contact-sidebar {
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
	padding: 2.5rem;
	border-radius: 20px;
	color: white;
	box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.contact-sidebar h3 {
	color: white;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

/* Sidebar Google Map */
.sidebar-map-container {
	margin-bottom: 2rem;
}

.sidebar-map-wrapper {
	position: relative;
	width: 100%;
	height: 200px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	margin-bottom: 1rem;
}

.sidebar-map-iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 15px;
	transition: transform 0.3s ease;
}

.sidebar-map-wrapper:hover .sidebar-map-iframe {
	transform: scale(1.02);
}

.map-address-info {
	background: rgba(255, 255, 255, 0.1);
	padding: 1rem;
	border-radius: 10px;
	backdrop-filter: blur(10px);
}

.map-address-info p {
	margin: 0;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.map-address-info i {
	color: #ffd700;
	font-size: 1rem;
}

/* Contact Social Links */
.contact-social-list {
	margin-bottom: 2rem;
}

.contact-social-list ul {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.contact-social-list ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: white;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	font-size: 1.1rem;
}

.contact-social-list ul li a:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Quick Contact Info */
.quick-contact-info {
	background: rgba(255, 255, 255, 0.1);
	padding: 1.5rem;
	border-radius: 15px;
	backdrop-filter: blur(10px);
}

.quick-contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	transition: all 0.3s ease;
}

.quick-contact-item:last-child {
	margin-bottom: 0;
}

.quick-contact-item:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(5px);
}

.quick-contact-item i {
	font-size: 1.2rem;
	color: #ffd700;
	width: 20px;
	text-align: center;
}

.quick-contact-item div {
	flex: 1;
}

.quick-contact-item span {
	display: block;
	font-size: 0.8rem;
	opacity: 0.8;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.quick-contact-item a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.quick-contact-item a:hover {
	color: #ffd700;
}

/* Animation Classes */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeOutUp {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}
}

.animate__animated {
	animation-duration: 0.5s;
	animation-fill-mode: both;
}

.animate__fadeInDown {
	animation-name: fadeInDown;
}

.animate__fadeOutUp {
	animation-name: fadeOutUp;
}