/* Contact Section Styles - Professional & Slick */
.contact-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	position: relative;
}

.contact-container {
	position: relative;
	z-index: 2;
}

.contact-card-modern {
	background: white;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.contact-info-modern {
	background: var(--charcoal);
	color: white;
	padding: 40px;
	border-radius: 12px 0 0 12px;
}

.contact-info-modern h3 {
	font-family: 'Bebas Neue', cursive;
	font-size: 1.8rem;
	letter-spacing: 1px;
	margin-bottom: 1rem;
	color: white;
}

.contact-item-modern {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.contact-item-modern:hover {
	background: rgba(255, 255, 255, 0.12);
}

.contact-icon-modern {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--woodley-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: white;
	flex-shrink: 0;
}

.contact-item-content h6 {
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.7);
}

.contact-item-content p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.contact-form-modern {
	padding: 40px;
}

.contact-form-modern h3 {
	font-family: 'Bebas Neue', cursive;
	font-size: 1.8rem;
	letter-spacing: 1px;
	margin-bottom: 1.5rem;
	color: var(--charcoal);
	text-align: center;
}

.form-group-modern {
	position: relative;
	margin-bottom: 24px;
}

.form-input-modern {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-size: 1rem;
	background: white;
	transition: all 0.3s ease;
	outline: none;
	font-family: 'Inter', sans-serif;
}

.form-input-modern:focus {
	border-color: var(--woodley-blue);
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input-modern.error {
	border-color: #e74c3c;
	background: rgba(231, 76, 60, 0.05);
}

.form-input-modern.success {
	border-color: var(--woodley-green);
	background: rgba(0, 204, 102, 0.05);
}

.form-label-modern {
	position: absolute;
	top: 14px;
	left: 16px;
	font-size: 1rem;
	color: rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
	pointer-events: none;
	background: white;
	padding: 0 4px;
}

.form-input-modern:focus + .form-label-modern,
.form-input-modern:not(:placeholder-shown) + .form-label-modern {
	top: -8px;
	left: 12px;
	font-size: 0.75rem;
	color: var(--woodley-blue);
	font-weight: 600;
}

.form-select-modern,
.form-textarea-modern {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-size: 1rem;
	background: white;
	transition: all 0.3s ease;
	outline: none;
	font-family: 'Inter', sans-serif;
}

.form-select-modern {
	padding-right: 40px; /* Add extra padding for the dropdown arrow */
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form-select-modern:focus,
.form-textarea-modern:focus {
	border-color: var(--woodley-blue);
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-select-modern.error,
.form-textarea-modern.error {
	border-color: #e74c3c;
	background: rgba(231, 76, 60, 0.05);
}

.form-select-modern.success,
.form-textarea-modern.success {
	border-color: var(--woodley-green);
	background: rgba(0, 204, 102, 0.05);
}

.btn-send-modern {
	width: 100%;
	padding: 18px 24px;
	background: linear-gradient(135deg, var(--woodley-blue), var(--basketball-orange));
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.btn-send-modern::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--basketball-orange), var(--woodley-green));
	transition: left 0.4s ease;
	z-index: 1;
}

.btn-send-modern:hover::before {
	left: 0;
}

.btn-send-modern:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
}

.btn-send-modern span,
.btn-send-modern i {
	position: relative;
	z-index: 2;
}

.btn-send-modern:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.btn-send-modern:disabled:hover {
	transform: none;
	box-shadow: none;
}

.error-message {
	color: #e74c3c;
	font-size: 0.85rem;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.success-message {
	color: var(--woodley-green);
	font-size: 0.85rem;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.spinner-modern {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Result Page Styles */
.contact-result-modern {
	padding: 40px;
	text-align: center;
	animation: fadeInUp 0.5s ease-out;
}

.result-success,
.result-error {
	max-width: 500px;
	margin: 0 auto;
}

.result-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	margin: 0 auto 24px;
	animation: bounceIn 0.6s ease-out 0.2s both;
}

.result-success .result-icon {
	background: var(--woodley-green);
	color: white;
}

.result-error .result-icon {
	background: #e74c3c;
	color: white;
}

.result-title {
	font-family: 'Bebas Neue', cursive;
	font-size: 2rem;
	letter-spacing: 1px;
	margin-bottom: 16px;
	animation: fadeInUp 0.5s ease-out 0.3s both;
}

.result-success .result-title {
	color: var(--woodley-green);
}

.result-error .result-title {
	color: #e74c3c;
}

.result-message {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--charcoal);
	margin-bottom: 24px;
	animation: fadeInUp 0.5s ease-out 0.4s both;
}

.result-details {
	background: rgba(0, 0, 0, 0.03);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 30px;
	text-align: left;
	animation: fadeInUp 0.5s ease-out 0.5s both;
}

.result-details p {
	margin-bottom: 8px;
	color: var(--charcoal);
}

.result-details p:last-child {
	margin-bottom: 0;
}

.sent-details {
	background: white;
	border-radius: 8px;
	padding: 16px;
	margin-top: 12px;
	border-left: 4px solid var(--woodley-green);
}

.sent-details p {
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.sent-details p:last-child {
	margin-bottom: 0;
}

.result-actions {
	animation: fadeInUp 0.5s ease-out 0.6s both;
}

.btn-send-again {
	background: linear-gradient(135deg, var(--charcoal), var(--woodley-blue));
	color: white;
	border: none;
	border-radius: 12px;
	padding: 16px 32px;
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	position: relative;
	overflow: hidden;
}

.btn-send-again::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--woodley-blue), var(--basketball-orange));
	transition: left 0.4s ease;
	z-index: 1;
}

.btn-send-again:hover::before {
	left: 0;
}

.btn-send-again:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-send-again span,
.btn-send-again i {
	position: relative;
	z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.95);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.contact-info-modern {
		border-radius: 0 0 12px 12px;
		padding: 20px 24px;
		/* MOBILE: Make contact info section much less prominent */
		background: rgba(42, 42, 42, 0.7);
		margin-top: 15px;
	}

	.contact-form-modern,
	.contact-result-modern {
		padding: 30px 24px;
		border-radius: 12px 12px 0 0;
	}

	/* MOBILE: Reduce prominence of contact info */
	.contact-info-modern h3 {
		font-size: 1.3rem;
		margin-bottom: 0.8rem;
		text-align: center;
		color: rgba(255, 255, 255, 0.9);
	}

	.contact-info-modern > p {
		font-size: 0.9rem;
		text-align: center;
		margin-bottom: 1rem;
		color: rgba(255, 255, 255, 0.7);
	}

	.contact-form-modern h3 {
		font-size: 1.6rem;
	}

	/* MOBILE: Compact contact items */
	.contact-item-modern {
		padding: 10px;
		margin-bottom: 12px;
		background: rgba(255, 255, 255, 0.05);
		border-radius: 6px;
	}

	.contact-item-modern:hover {
		background: rgba(255, 255, 255, 0.08);
	}

	/* MOBILE: Smaller contact icons */
	.contact-icon-modern {
		width: 35px;
		height: 35px;
		font-size: 1rem;
	}

	.contact-item-content h6 {
		font-size: 0.8rem;
		margin-bottom: 2px;
	}

	.contact-item-content p {
		font-size: 0.9rem;
	}

	.form-input-modern,
	.form-select-modern,
	.form-textarea-modern {
		padding: 14px 16px;
		font-size: 0.95rem;
	}

	.form-label-modern {
		top: 14px;
		left: 16px;
		font-size: 0.95rem;
	}

	.form-input-modern:focus + .form-label-modern,
	.form-input-modern:not(:placeholder-shown) + .form-label-modern {
		top: -8px;
		left: 12px;
		font-size: 0.75rem;
	}

	.btn-send-modern {
		padding: 16px 20px;
		font-size: 1rem;
	}

	/* Result page mobile styles */
	.result-icon {
		width: 70px;
		height: 70px;
		font-size: 2rem;
	}

	.result-title {
		font-size: 1.8rem;
	}

	.result-message {
		font-size: 1rem;
	}

	.result-details {
		padding: 16px;
		text-align: center;
	}

	.sent-details {
		padding: 12px;
	}

	.btn-send-again {
		padding: 14px 28px;
		font-size: 1rem;
	}
}

@media (max-width: 576px) {
	.contact-card-modern {
		border-radius: 16px;
		margin: 0 16px;
	}

	.contact-info-modern,
	.contact-form-modern,
	.contact-result-modern {
		padding: 20px 16px;
	}

	/* MOBILE: Further reduce contact info prominence */
	.contact-info-modern {
		padding: 16px;
		margin-top: 12px;
		background: rgba(42, 42, 42, 0.6);
	}

	.contact-info-modern h3 {
		font-size: 1.1rem;
		margin-bottom: 0.6rem;
	}

	.contact-info-modern > p {
		font-size: 0.85rem;
		margin-bottom: 0.8rem;
	}

	/* MOBILE: Simplify contact items layout */
	.contact-item-modern {
		flex-direction: row;
		text-align: left;
		gap: 10px;
		padding: 8px;
		margin-bottom: 8px;
	}

	.contact-item-content {
		text-align: left;
	}

	.contact-icon-modern {
		width: 30px;
		height: 30px;
		font-size: 0.9rem;
	}

	.contact-item-content h6 {
		font-size: 0.75rem;
	}

	.contact-item-content p {
		font-size: 0.85rem;
	}

	.result-icon {
		width: 60px;
		height: 60px;
		font-size: 1.8rem;
	}

	.result-title {
		font-size: 1.6rem;
	}

	.result-message {
		font-size: 0.95rem;
	}

	.result-details {
		padding: 14px;
	}

	.sent-details {
		padding: 10px;
	}

	.btn-send-again {
		padding: 12px 24px;
		font-size: 0.95rem;
		width: 100%;
		justify-content: center;
	}
}

/* MOBILE: Additional mobile-specific enhancements */
@media (max-width: 480px) {
	.contact-info-modern {
		padding: 12px;
		margin-top: 10px;
	}

	.contact-info-modern h3 {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	.contact-info-modern > p {
		font-size: 0.8rem;
		margin-bottom: 0.6rem;
	}

	.contact-item-modern {
		padding: 6px;
		margin-bottom: 6px;
	}

	.contact-icon-modern {
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}

	.contact-item-content h6 {
		font-size: 0.7rem;
	}

	.contact-item-content p {
		font-size: 0.8rem;
	}
}

/* MOBILE: Collapsible contact info section */
@media (max-width: 768px) {
	.contact-info-modern {
		position: relative;
	}

	/* MOBILE: Add subtle visual hierarchy */
	.contact-info-modern::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 2px;
		background: linear-gradient(90deg, var(--woodley-blue), var(--basketball-orange));
		border-radius: 12px 12px 0 0;
	}

	/* MOBILE: Ensure contact info doesn't compete with form */
	.contact-form-modern {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		background: white;
		position: relative;
		z-index: 2;
	}
}

/* MOBILE: Improve touch targets */
@media (max-width: 768px) {
	.contact-item-modern {
		min-height: 44px; /* Minimum touch target size */
		cursor: pointer;
		transition: all 0.2s ease;
	}

	.contact-item-modern:active {
		transform: scale(0.98);
		background: rgba(255, 255, 255, 0.1);
	}
}