/* Basic Reset & Typography */
:root {
	--primary-color: #3498db;
	--secondary-color: #2c3e50;
	--text-color-1: #333;
	--text-color-2: #777;
	--background: #f4f4f4;
	--border-color: #ddd;
	--success-color: #28a745;
	--error-color: #dc3545;
}

@media (prefers-color-scheme:dark) {
    :root {
        --primary-color: #3498db;
        --secondary-color: #9DB2BF;
        --text-color-1: #f4f4f4;
		--text-color-2: #777;
        --background: #27374D;
        --border-color: #526D82;
        --success-color: #28a745;
        --error-color: #dc3545;
    }
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	color: var(--text-color-1);
	background-color: var(--background);
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 100vh;
}

.container {
	max-width: 700px;
	width: 100%;
	padding: 30px;
}

h1, h2, h3, p {
	text-align: center;
	line-height: 1;
}

h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2.2em;
	color: var(--secondary-color);
	margin-bottom: 10px;
	font-weight: 700;
}

h2, h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5em;
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 600;
}
section p {
	line-height: 1.5;
}
section p:not(:last-of-type) {
	margin-bottom: 10px;
}

/* Header */
header {
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
}

header p {
	font-size: 1.1em;
	color: var(--text-color-2);
}

/* Main Content Sections */
section:not(:last-of-type) {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
}

.intro-section .domain {
    font-size: 1.4em;
    color: var(--secondary-color);
}

/* Form Styling */
form {
	max-width: 500px;
	margin: auto;
}
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--secondary-color);
	line-height: 1;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 8px 12px;
	background: #fff1;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-size: 1em;
	font-family: 'Roboto', sans-serif;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
	outline: none;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
	color: var(--text-color-1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.submit-button {
	display: block;
	margin: auto;
	padding: 12px 20px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
	background-color: #2980b9;
	transform: translateY(-2px);
}

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

/* Form Status Message */
.form-status {
	margin-top: 20px;
	padding: 50px 15px;
	border-radius: 5px;
	text-align: center;
	font-weight: 600;
	display: none;
}

.form-status.success {
	background-color: #d4edda;
	color: var(--success-color);
	border: 1px solid #c3e6cb;
}

.form-status.error {
	background-color: #f8d7da;
	color: var(--error-color);
	border: 1px solid #f5c6cb;
}

/* Footer */
footer {
	text-align: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	color: var(--text-color-2);
	font-size: 0.9em;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
	.container {
		padding: 20px;
		margin-top: 10px;
	}

	header h1 {
		font-size: 2.2em;
	}

	.intro-section h2,
	.contact-form-section h3 {
		font-size: 1.5em;
	}

	.submit-button {
		font-size: 1em;
		padding: 12px;
	}
}