/* Modern Contact Form Style */
.as-form-wrapper {
	max-width: 800px;
	margin: 2rem auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
}

.as-form-wrapper * {
	box-sizing: border-box;
}

.as-modern-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.as-row {
	display: flex;
	gap: 20px;
}

@media (max-width: 767px) {
	.as-row {
		flex-direction: column;
		gap: 20px;
	}
}

.as-group {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.as-group.full {
	width: 100%;
}

.as-group label {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.as-group label .req {
	color: #ef4444;
	margin-left: 2px;
}

.as-group input[type="text"],
.as-group input[type="email"],
.as-group input[type="tel"],
.as-group textarea {
	width: 100%;
	font-size: 15px;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	color: #0f172a;
	outline: none;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.as-group input:focus,
.as-group textarea:focus {
	border-color: #254783;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(37, 71, 131, 0.1);
}

.as-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #254783;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	align-self: flex-start;
	box-shadow: 0 4px 12px rgba(37, 71, 131, 0.2);
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.as-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(37, 71, 131, 0.3);
}

.as-submit-btn:active {
	transform: translateY(0);
}

.as-btn-icon {
	transition: transform 0.3s ease;
}

.as-submit-btn:hover .as-btn-icon {
	transform: translate(2px, -2px);
}

/* Success Modal */
.as-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(8px);
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.as-modal-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	text-align: center;
	max-width: 440px;
	width: 90%;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	animation: asModalSlideIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes asModalSlideIn {
	0% {
		transform: scale(0.9) translateY(20px);
		opacity: 0;
	}
	100% {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.as-modal-icon {
	width: 64px;
	height: 64px;
	background: #10b981;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px auto;
	color: #ffffff;
}

.as-modal-icon svg {
	width: 32px;
	height: 32px;
}

.as-modal-box h3 {
	margin: 0 0 12px 0;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.as-modal-box p {
	margin: 0 0 30px 0;
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
}

.as-modal-btn {
	background: #254783;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 12px 36px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s;
}

.as-modal-btn:hover {
	background: #1e3562;
}
