/* ============================================
   CONTACTO PAGE STYLES
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Geist', sans-serif;
	background-color: #f0eee9;
	color: #000;
}
:root {
	--accent: #800040;
}

/* ============================================
   NAV BAR
   ============================================ */

.nav {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	background-color: #f0eee9;
	border-bottom: 1px solid #000;
	padding: 20px;
	z-index: 1000;
	height: 81px;
}

.nav-contents {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 35px;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	height: 30px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 1 0 0;
	min-width: 307px;
	height: 30px;
	padding: 0 6px;
}

.logo img {
	width: 41px;
	height: 30px;
	object-fit: cover;
}

.logo p {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -1px;
	color: #000;
}

.nav-links {
	display: flex;
	gap: 60px;
	align-items: center;
	flex: 1 0 0;
	max-width: 526px;
	min-width: 526px;
	height: 41px;
}

.nav-links a,
.nav-links p {
	font-family: 'Geist Mono', monospace;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.15px;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.nav-button {
	background-color: rgba(128, 0, 64, 0.7);
	border: none;
	border-radius: 7.246px;
	padding: 12px 17px;
	font-family: 'Geist Mono', monospace;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.15px;
	text-transform: uppercase;
	color: #000;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.nav-button:hover {
	background-color: rgba(128, 0, 64, 0.9);
}

/* Dropdown Menu */
.nav-dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-toggle {
	display: block;
	cursor: pointer;
	transition: color 0.3s ease;
}

.dropdown-toggle:hover {
	color: var(--accent);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 8px 0;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1001;
	margin-top: 5px;
}

.nav-dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu a {
	display: block;
	padding: 10px 16px;
	color: #000;
	text-decoration: none;
	font-family: 'Geist Mono', monospace;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: -0.15px;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
	background-color: rgba(128, 0, 64, 0.1);
	color: var(--accent);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 168px;
	max-height: 168px;
	padding: 20px;
	background-color: #ffffff;
	min-width: 859px;
}

.title-section h1 {
	font-family: 'Anek Tamil', sans-serif;
	font-size: 116px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -5.8px;
	text-transform: uppercase;
	width: 1260px;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(128, 0, 64, 0.7),
		rgba(0, 0, 0, 0.7)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ============================================
   CONTACT SECTION (TWO COLUMNS)
   ============================================ */

.contact-section {
	background-color: #f0eee9;
	border-top: 1px solid #000;
	display: flex;
	flex-wrap: wrap;
	gap: 74px;
	align-items: center;
	justify-content: center;
	min-height: 427px;
	padding-top: 117px;
	padding-left: 12px;
	padding-right: 12px;
	width: 100%;
}

.contact-card {
	background-color: #f0eee9;
	max-width: 533px;
	min-width: 533px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: center;
	padding: 20px;
}

.contact-image {
	width: 129px;
	height: 135px;
	object-fit: cover;
	flex-shrink: 0;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.31;
	color: #000;
}

.contact-header {
	border-bottom: 1px solid #000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 100%;
}

.contact-title {
	font-family: 'Geist Mono', monospace;
	font-weight: 700;
	font-size: 21px;
	text-transform: uppercase;
	letter-spacing: 0.21px;
	line-height: 1.1;
	margin: 0;
}

.contact-email {
	font-family: 'Geist', sans-serif;
	font-size: 17px;
	text-decoration: underline;
	letter-spacing: -0.51px;
	text-align: justify;
	line-height: 1.1;
}

.contact-description {
	font-family: 'Geist', sans-serif;
	font-size: 19px;
	text-align: justify;
	letter-spacing: -0.57px;
	line-height: 1.31;
}

.contact-description-multi {
	font-family: 'Geist', sans-serif;
	font-size: 19px;
	text-align: justify;
	letter-spacing: -0.57px;
	line-height: 1.31;
}

.contact-description-multi p {
	margin: 0;
	line-height: 1.31;
}

.contact-website {
	font-family: 'Geist', sans-serif;
	font-size: 17px;
	text-decoration: underline;
	letter-spacing: -0.51px;
	line-height: 1.1;
}

/* ============================================
   CONTACT SECTION 2 (STUDENT)
   ============================================ */

.contact-section-2 {
	background-color: #f0eee9;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 427px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 45px;
	padding-bottom: 45px;
	width: 100%;
}

.contact-card-centered {
	background-color: #f0eee9;
	max-width: 533px;
	min-width: 533px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: center;
	padding: 20px;
}

.contact-image-centered {
	width: 99px;
	height: 129px;
	object-fit: cover;
	flex-shrink: 0;
}

.contact-info-centered {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.31;
	color: #000;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
	background-color: #f0eee9;
	border-top: 1px solid #000;
	display: flex;
	flex-direction: column;
	gap: 25px;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	overflow: clip;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100%;
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 35px;
	align-items: flex-start;
	width: 100%;
}

.footer-ipn {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.footer-ipn-logo {
	width: 91px;
	height: 136px;
	object-fit: cover;
}

.footer-main {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.footer-authors {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	gap: 15px;
	align-items: center;
	min-width: 272px;
}

.footer-title {
	font-family: 'Anek Tamil', sans-serif;
	font-weight: 700;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: -0.66px;
	line-height: 1.31;
	color: #000;
	width: 100%;
	margin: 0;
}

.footer-list {
	list-style: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.footer-list li {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.14px;
	color: #000;
	line-height: 1.31;
	margin-left: 21px;
}

.footer-logo-section {
	display: flex;
	flex: 1 0 0;
	gap: 16px;
	align-items: center;
	justify-content: flex-end;
	min-width: 443px;
}

.footer-logo-image {
	width: 100px;
	height: 100px;
	object-fit: cover;
	flex-shrink: 0;
}

.footer-wordmark {
	line-height: 1;
	display: inline-block;
}

.footer-wordmark-text {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #74767f;
	letter-spacing: -1.6px;
	line-height: 1.1;
	margin: 0;
}

.footer-copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.footer-copyright p {
	font-family: 'Geist', sans-serif;
	font-weight: 300;
	font-size: 13px;
	color: #000;
	text-align: center;
	line-height: 1.31;
	letter-spacing: 0.13px;
	margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--accent);
	color: #fff;
	border: none;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: scale(0);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(128, 0, 64, 0.3);
	z-index: 999;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.scroll-to-top:hover {
	background-color: rgba(128, 0, 64, 0.8);
	box-shadow: 0 6px 16px rgba(128, 0, 64, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
	.nav {
		gap: 20px;
		padding: 15px;
	}

	.nav-links {
		gap: 40px;
		max-width: 100%;
		min-width: auto;
	}

	.title-heading {
		font-size: 80px;
		letter-spacing: -4px;
	}

	.contact-section {
		gap: 40px;
		padding-top: 60px;
	}

	.contact-card {
		max-width: 100%;
		min-width: auto;
	}

	.contact-section-2 {
		min-height: auto;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.contact-card-centered {
		max-width: 100%;
	}

	.footer-authors {
		min-width: auto;
		flex: 1 0 100%;
	}

	.footer-logo-section {
		min-width: auto;
		flex: 1 0 100%;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.nav {
		height: auto;
		gap: 15px;
		padding: 12px;
	}

	.nav-logo {
		min-width: auto;
		flex: 1 0 100%;
	}

	.nav-links {
		flex: 1 0 100%;
		gap: 30px;
		height: auto;
		max-width: 100%;
		min-width: auto;
	}

	.title-heading {
		font-size: 60px;
		letter-spacing: -3px;
	}

	.contact-section {
		flex-direction: column;
		gap: 30px;
		padding-top: 40px;
	}

	.contact-card {
		max-width: 100%;
		min-width: auto;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.contact-info {
		align-items: center;
	}

	.contact-header {
		width: 100%;
	}

	.contact-description,
	.contact-description-multi {
		font-size: 16px;
	}

	.contact-section-2 {
		padding-top: 25px;
		padding-bottom: 25px;
	}

	.contact-card-centered {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.contact-info-centered {
		align-items: center;
	}

	main {
		margin-top: auto;
	}

	.footer {
		gap: 15px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.footer-content {
		gap: 20px;
	}

	.footer-main {
		flex-direction: column;
		gap: 15px;
	}

	.footer-authors {
		flex: 1 0 auto;
		width: 100%;
	}

	.footer-logo-section {
		flex: 1 0 auto;
		width: 100%;
		justify-content: center;
	}

	.footer-wordmark-text {
		font-size: 24px;
	}
}
