@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');

:root {
	--primary-color: #904AF2;
	--secondary-color: #6e6a64;
	--muted: #f5f6f8;
	--card-border: #ececec;
	--text: #222;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--secondary-color);
}
/* Base styles for contact page */
main {
	padding: 0 120px 80px 120px;
}

.contact--section {
	max-width: 800px;
	margin: 60px auto;
}

.contact--title {
	font-size: 4rem;
	color: white;
	margin-bottom: 100px;
	font-family: 'Oswald', sans-serif;
	text-align: center;
}

.contact--form {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	min-height: 600px;
	background: #fff;
	padding: 40px;
	box-shadow: 0 6px 18px #333;
}

.contact--input, .contact--textarea {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	width: 100%;
	margin-bottom: 20px;
}

.contact--submit-button {
	padding: 12px 18px;
	background: var(--primary-color);
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

/* Responsive: tablet and mobile */
@media (max-width: 1024px) {
	main { padding: 0 40px 40px 40px; }
	.contact--section { padding: 28px; }
}

@media (max-width: 768px) {
	main { padding: 0 12px 30px 12px; }
	.contact--section { padding: 18px; margin: 20px 0; }
	.contact--title { font-size: 3rem; }
	.contact--form { gap: 8px; }
	.contact--submit-button { width: 100%; }
}

/* Feedback message shown after submit (via ?sent=1 or ?sent=0) */
.contact-feedback {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 700;
	display: none;
}
.contact-feedback.success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #bbf7d0;
}
.contact-feedback.error {
	background: #fff1f2;
	color: #9f1239;
	border: 1px solid #fecaca;
}

