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

body {
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	padding: 40px 20px;
	overflow-x: hidden;
	background-image: url('/images/contact.jpeg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

/* Main wrapper */
.contact-container {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 40px;
	position: relative;
	z-index: 1;
	margin-top: 7vh;
}

/* ===== DESKTOP ===== */

.title {
	color: #ffffff;
	font-size: 48px;
	font-weight: 700;
	line-height: 62px;
	position: relative;
	right: 5.7em;
}

.content-wrapper {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: start;
}

.form-section {
	border-radius: 29px;
	padding: 21px;
	max-width: 450px;
	/* border: 1px solid #ffffff; */
	box-shadow: -2px 2px 0px rgba(0, 0, 0, 0.25);
	position: relative;
	left: 12em;
	background-color: #0f172a;
}

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

.form-group label {
	display: block;
	color: #ffffff;
	font-size: 0.9rem;
	margin-bottom: 10px;
	font-weight: 400;
	letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 10px 17px;
	background: rgba(25, 30, 40, 0.6);
	border: 1px solid rgba(70, 150, 200, 0.4);
	border-radius: 10px;
	color: #ffffff;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	outline: none;
	font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: rgba(70, 150, 200, 0.7);
	background: rgba(25, 30, 40, 0.8);
}

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

.submit-wrapper {
	text-align: center;
	margin-top: 30px;
	position: relative;
	bottom: 3.3em;
}

.submit-btn {
	padding: 7px 60px;
	background: #000000;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background: #1a1a1a;
	transform: translateX(2px);
}

.submit-btn::after {
	content: '→';
	font-size: 1.4rem;
	transition: transform 0.3s ease;
}

.submit-btn:hover::after {
	transform: translateX(4px);
}

.footer-text {
	text-align: center;
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.05rem;

	font-weight: 300;
}

/* ===== INFO BOX ===== */
.info-section {
	backdrop-filter: blur(10px);
	border-radius: 0.75rem;
	padding: 2.2rem 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #0f172a;
	text-align: center;
	position: relative;
	top: 7vw; /* responsive vertical spacing */
	right: 4vw;
	z-index: -1;
	max-height: 66vh;
	/* border: 1px solid #ffffff; */
	box-shadow: -0.125rem 0.125rem 0 rgba(0, 0, 0, 0.25);
	opacity: 0.78;
	transition: all 0.3s ease;
}

/* ===== Responsive Adjustments ===== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
	.info-section {
		top: 5vw;
		right: 2vw;
		padding: 2rem 1rem;
		max-height: none;
		width: 90%;
	}
}

/* Mobile Landscape (≤768px) */
@media (max-width: 768px) {
	.info-section {
		position: static;
		width: 100%;
		margin-top: 2rem;
		border-radius: 1rem;
		padding: 1.5rem 1rem;
		opacity: 0.9;
	}
}

/* Mobile Portrait (≤480px) */
@media (max-width: 480px) {
	.info-section {
		padding: 1.2rem 0.8rem;
		border-radius: 0.8rem;
		box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.2);
		opacity: 1;
	}
}

.footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 85px;
	padding: 13px;
}

.logo {
	background: #000;
	border-radius: 45%;
	display: flex;
	align-items: center;
	position: relative;
	/* bottom: 1em; */
}

.logo-placeholder {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.75rem;
	text-align: center;
	padding: 10px;
}

.logo-placeholder img {
	height: 75px;
	width: 75px;
}

.info-section h3,
.email-section h3 {
	color: #cbd5e1;
	font-size: 24px;
	font-family: 'Manrope';
	font-weight: 500;
	line-height: 31px;
}

.email-section {
	margin-bottom: 45px;
}

.email-section p,
.email-section a,
.address-section p {
	color: #f8fafc;
	font-size: 18px;
	font-family: 'Open Sans';
	font-weight: 500;
	line-height: 23px;
}

.email-section a {
	text-decoration: none;
}

.email-section a:hover {
	opacity: 0.7;
}
.address-section {
	text-align: left;
}
/* ====== RESPONSIVE FIXES ====== */

@media (max-width: 1024px) {
	.content-wrapper {
		grid-template-columns: 1fr;
		gap: 30px;
		justify-items: center;
	}

	.form-section {
		left: 0;
		max-width: 90%;
	}

	.info-section {
		top: 20px;
		right: 0;
		width: 90%;
		margin: 0 auto;
	}

	.title {
		font-size: 2.2rem;
		right: 0;
		text-align: center;
	}
}

@media (max-width: 768px) {
	body {
		padding: 30px 15px;
	}

	.title {
		font-size: 2rem;
		margin-bottom: 25px;
	}

	.form-section,
	.info-section {
		padding: 25px 20px;
	}

	.submit-btn {
		width: 100%;
		padding: 12px;
	}

	.footer-row {
		flex-direction: column;
		gap: 20px;
	}

	.info-section {
		max-height: none;
	}
}

@media (max-width: 480px) {
	.title {
		font-size: 1.8rem;
	}

	.form-group input,
	.form-group textarea {
		padding: 12px 14px;
		font-size: 0.9rem;
	}

	.info-section h3,
	.email-section h3 {
		font-size: 1.2rem;
	}

	.email-section p,
	.email-section a,
	.address-section p {
		font-size: 0.9rem;
	}
}
