@font-face {
    font-family: "Helvetica";
    src: url(./assets/font/Helvetica.ttf) format("truetype");
}

body, html {
	overflow: hidden !important;
	overscroll-behavior: none;
}

main, .section {
	overflow: hidden;
}

/* ===== SMART RESPONSIVE SCALING WITH TRANSFORM ===== */
/* Uses transform: scale() to maintain card proportions without cropping */

/* Desktop XL (> 1920px) - 100% scale */
@media (min-width: 1921px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(1);
		transform-origin: center top;
	}
}

/* Desktop Large (1441px - 1920px) - 95% scale */
@media (min-width: 1441px) and (max-width: 1920px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.95);
		transform-origin: center top;
	}
}

/* Desktop Standard (1201px - 1440px) - 90% scale */
@media (min-width: 1201px) and (max-width: 1440px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.9);
		transform-origin: center top;
	}
}

/* Tablet Landscape (1101px - 1200px) - 88% scale */
@media (min-width: 1101px) and (max-width: 1200px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.88);
		transform-origin: center top;
	}
	.profile-img {
		width: 280px;
		height: 280px;
	}
}

/* Tablet Landscape (1025px - 1100px) - 85% scale */
@media (min-width: 1025px) and (max-width: 1100px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.85);
		transform-origin: center top;
	}
	.profile-img {
		width: 280px;
		height: 280px;
	}
}

/* iPad Pro (1001px - 1024px) - 82% scale */
@media (min-width: 1001px) and (max-width: 1024px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.82);
		transform-origin: center top;
	}
	.profile-img {
		width: 280px;
		height: 280px;
	}
}

/* iPad Pro (951px - 1000px) - 79% scale */
@media (min-width: 951px) and (max-width: 1000px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.79);
		transform-origin: center top;
	}
	.profile-img {
		width: 280px;
		height: 280px;
	}
}

/* iPad Pro (901px - 950px) - 76% scale */
@media (min-width: 901px) and (max-width: 950px) {
	.about-container, .education-cards, .achievements-container {
		transform: scale(0.76);
		transform-origin: center top;
	}
	.profile-img {
		width: 280px;
		height: 280px;
	}
}

/* Tablet Portrait (851px - 900px) - 74% scale */
@media (min-width: 851px) and (max-width: 900px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.74);
		transform-origin: center top;
	}
	.education-cards {
		transform: scale(0.74);
		transform-origin: center top;
	}
	.about-image {
		flex: 0 0 auto;
	}
	.achievements-container {
		transform: scale(0.74);
		transform-origin: center top;
		flex-direction: column;
		max-height: calc(100vh - 56px);
	}
	.achievement-category {
		width: 100%;
		max-width: none;
	}
}

/* Tablet Portrait (751px - 850px) - 71% scale */
@media (min-width: 751px) and (max-width: 850px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.71);
		transform-origin: center top;
	}
	.education-cards {
		transform: scale(0.71);
		transform-origin: center top;
	}
	.about-image {
		flex: 0 0 auto;
	}
	.achievements-container {
		transform: scale(0.71);
		transform-origin: center top;
		flex-direction: column;
		max-height: calc(100vh - 56px);
	}
	.achievement-category {
		width: 100%;
		max-width: none;
	}
}

/* Tablet Portrait (651px - 750px) - 68% scale */
@media (min-width: 651px) and (max-width: 750px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.68);
		transform-origin: center top;
	}
	.education-cards {
		transform: scale(0.68);
		transform-origin: center top;
	}
	.about-image {
		flex: 0 0 auto;
	}
	.achievements-container {
		transform: scale(0.68);
		transform-origin: center top;
		flex-direction: column;
		max-height: calc(100vh - 56px);
	}
	.achievement-category {
		width: 100%;
		max-width: none;
	}
}

/* Tablet Portrait (601px - 650px) - 65% scale */
@media (min-width: 601px) and (max-width: 650px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.65);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.65);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 1.5rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.65);
		transform-origin: center top;
	}
	.achievement-category {
		width: 100%;
	}
}

/* Large Mobile (551px - 600px) - 62% scale */
@media (min-width: 551px) and (max-width: 600px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.62);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.62);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 1.2rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.5rem 1rem;
	}
	.school-logo {
		width: 56px;
		height: 56px;
		margin-bottom: 0.3rem;
	}
	.edu-info h2 {
		font-size: 1rem;
		margin-bottom: 0.3rem;
	}
	.edu-info p {
		font-size: 0.85rem;
		margin-bottom: 0.2rem;
	}
	.achievement-card {
		padding: 1rem 1.3rem;
	}
	.achievement-card h3 {
		font-size: 1rem;
		margin-bottom: 0.1rem;
	}
	.achievement-card p {
		font-size: 0.8rem;
		margin-bottom: 0.08rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.62);
		transform-origin: center top;
		padding: 0.8rem 0.5rem;
	}
	.achievement-category {
		width: 100%;
	}
}

/* Large Mobile (501px - 550px) - 59% scale */
@media (min-width: 501px) and (max-width: 550px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.59);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.59);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 1.1rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.5rem 1rem;
	}
	.school-logo {
		width: 54px;
		height: 54px;
	}
	.edu-info h2 {
		font-size: 1rem;
	}
	.edu-info p {
		font-size: 0.85rem;
	}
	.achievement-card {
		padding: 1rem 1.2rem;
	}
	.achievement-card h3 {
		font-size: 1rem;
	}
	.achievement-card p {
		font-size: 0.8rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.59);
		transform-origin: center top;
		padding: 0.7rem 0.5rem;
	}
	.achievement-category {
		width: 100%;
	}
}

/* Large Mobile (451px - 500px) - 56% scale */
@media (min-width: 451px) and (max-width: 500px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.56);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.56);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 1rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.4rem 0.9rem;
	}
	.school-logo {
		width: 52px;
		height: 52px;
	}
	.edu-info h2 {
		font-size: 1rem;
	}
	.edu-info p {
		font-size: 0.8rem;
	}
	.achievement-card {
		padding: 0.9rem 1.1rem;
	}
	.achievement-card h3 {
		font-size: 0.95rem;
	}
	.achievement-card p {
		font-size: 0.78rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.56);
		transform-origin: center top;
		padding: 0.6rem 0.4rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.5rem;
	}
	nav ul li {
		padding: 0.5rem 0.8rem;
		font-size: 0.75rem;
	}
	main {
		margin-top: 56px;
	}
}

/* Standard Mobile (426px - 450px) - 53% scale */
@media (min-width: 426px) and (max-width: 450px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.53);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.53);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 0.9rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.3rem 0.8rem;
	}
	.school-logo {
		width: 50px;
		height: 50px;
	}
	.edu-info h2 {
		font-size: 0.95rem;
	}
	.edu-info p {
		font-size: 0.8rem;
	}
	.achievement-card {
		padding: 0.9rem 1rem;
	}
	.achievement-card h3 {
		font-size: 0.9rem;
	}
	.achievement-card p {
		font-size: 0.75rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.53);
		transform-origin: center top;
		padding: 0.5rem 0.3rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.4rem;
	}
	nav ul li {
		padding: 0.45rem 0.7rem;
		font-size: 0.7rem;
	}
	main {
		margin-top: 56px;
	}
}

/* Standard Mobile (401px - 425px) - 50% scale */
@media (min-width: 401px) and (max-width: 425px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.5);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.5);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 0.8rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.2rem 0.7rem;
	}
	.school-logo {
		width: 48px;
		height: 48px;
	}
	.edu-info h2 {
		font-size: 0.9rem;
	}
	.edu-info p {
		font-size: 0.75rem;
	}
	.achievement-card {
		padding: 0.8rem 1rem;
	}
	.achievement-card h3 {
		font-size: 0.85rem;
	}
	.achievement-card p {
		font-size: 0.72rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.5);
		transform-origin: center top;
		padding: 0.4rem 0.3rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.4rem;
	}
	nav ul li {
		padding: 0.4rem 0.65rem;
		font-size: 0.68rem;
	}
	main {
		margin-top: 56px;
	}
}

/* Standard Mobile (376px - 400px) - 47% scale */
@media (min-width: 376px) and (max-width: 400px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.47);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.47);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 0.7rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1.1rem 0.6rem;
	}
	.school-logo {
		width: 46px;
		height: 46px;
	}
	.edu-info h2 {
		font-size: 0.9rem;
	}
	.edu-info p {
		font-size: 0.73rem;
	}
	.achievement-card {
		padding: 0.8rem 0.9rem;
	}
	.achievement-card h3 {
		font-size: 0.8rem;
	}
	.achievement-card p {
		font-size: 0.7rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.47);
		transform-origin: center top;
		padding: 0.3rem 0.2rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.3rem;
	}
	nav ul li {
		padding: 0.4rem 0.6rem;
		font-size: 0.65rem;
	}
	main {
		margin-top: 56px;
	}
}

/* Small Mobile (351px - 375px) - 44% scale */
@media (min-width: 351px) and (max-width: 375px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.44);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.44);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 0.6rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 1rem 0.5rem;
	}
	.school-logo {
		width: 44px;
		height: 44px;
	}
	.edu-info h2 {
		font-size: 0.85rem;
	}
	.edu-info p {
		font-size: 0.7rem;
	}
	.achievement-card {
		padding: 0.7rem 0.8rem;
	}
	.achievement-card h3 {
		font-size: 0.75rem;
	}
	.achievement-card p {
		font-size: 0.65rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.44);
		transform-origin: center top;
		padding: 0.25rem 0.2rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.3rem;
	}
	nav ul li {
		padding: 0.35rem 0.55rem;
		font-size: 0.63rem;
	}
	main {
		margin-top: 56px;
	}
}

/* Small Mobile (320px - 350px) - 41% scale */
@media (max-width: 350px) {
	.about-container {
		flex-direction: column;
		transform: scale(0.41);
		transform-origin: center top;
		gap: 2rem;
	}
	.education-cards {
		flex-direction: column;
		align-items: center;
		transform: scale(0.41);
		transform-origin: center top;
		max-height: calc(100vh - 56px);
		padding: 0.5rem 0.5rem;
	}
	.edu-card {
		width: 90vw;
		min-width: 90vw;
		max-width: 90vw;
		padding: 0.9rem 0.4rem;
	}
	.school-logo {
		width: 42px;
		height: 42px;
	}
	.edu-info h2 {
		font-size: 0.8rem;
	}
	.edu-info p {
		font-size: 0.68rem;
	}
	.achievement-card {
		padding: 0.6rem 0.7rem;
	}
	.achievement-card h3 {
		font-size: 0.7rem;
	}
	.achievement-card p {
		font-size: 0.6rem;
	}
	.achievements-container {
		flex-direction: column;
		transform: scale(0.41);
		transform-origin: center top;
		padding: 0.15rem 0.1rem;
	}
	.achievement-category {
		width: 100%;
	}
	nav ul {
		padding: 0 0.25rem;
	}
	nav ul li {
		padding: 0.3rem 0.5rem;
		font-size: 0.6rem;
	}
	main {
		margin-top: 56px;
	}
}


/* Ultra-wide aspect ratio (16:9 landscape) - reduce further if low height */
@media (min-aspect-ratio: 16/9) and (max-height: 600px) {
	.about-container, .education-cards {
		transform: scale(0.7) !important;
	}
	.achievements-container {
		transform: scale(0.7) !important;
		flex-direction: column;
		max-height: calc(100vh - 48px);
	}
	nav {
		height: 48px;
	}
	nav ul {
		height: 48px;
	}
	main {
		margin-top: 48px;
		height: calc(100vh - 48px);
	}
}

/* Very short screens (< 500px height) - compact mode */
@media (max-height: 500px) {
	nav {
		height: 44px;
	}
	nav ul {
		height: 44px;
		padding: 0 0.4rem;
	}
	nav ul li {
		padding: 0.35rem 0.5rem;
		font-size: 0.65rem;
	}
	main {
		margin-top: 44px;
		height: calc(100vh - 44px);
	}
	.about-container, .education-cards {
		transform: scale(0.60) !important;
	}
	.achievements-container {
		transform: scale(0.60) !important;
		flex-direction: column;
		max-height: calc(100vh - 44px);
	}
}
.achievements-cards {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 900px;
}
.achievement-card {
	background: var(--card-bg);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	padding: 2rem 2rem;
	min-width: 220px;
	max-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.achievement-card h2 {
	margin: 0;
	color: var(--accent-color);
	font-size: 1.3rem;
}
.achievement-card p {
	margin: 0.2rem 0;
	color: var(--text-color);
	font-size: 1rem;
}

.achievements-container {
	display: flex;
	gap: 2rem;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.2rem 1rem;
	flex-wrap: wrap;
	overflow-y: auto;
	overflow-x: hidden;
	height: 100%;
	max-height: calc(100vh - 56px);
}

.achievements-container::-webkit-scrollbar {
	width: 6px;
}

.achievements-container::-webkit-scrollbar-track {
	background: transparent;
}

.achievements-container::-webkit-scrollbar-thumb {
	background: rgba(186, 155, 124, 0.3);
	border-radius: 3px;
}

.achievements-container::-webkit-scrollbar-thumb:hover {
	background: rgba(186, 155, 124, 0.5);
}
.achievement-category {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
	min-width: 300px;
	max-width: 500px;
}
.category-title {
	font-size: 1.8rem;
	color: var(--accent-color);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.01em;
	opacity: 0.95;
	text-rendering: optimizeLegibility;
	text-align: center;
	width: 100%;
}
.achievement-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-content: flex-start;
	width: 100%;
	max-width: 800px;
}
.achievement-category:first-child .achievement-cards {
	max-width: 380px;
}
.achievement-category:last-child .achievement-cards {
	max-width: none;
	width: auto;
}
.achievement-card {
	background: var(--card-bg);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	padding: 1.5rem 1.8rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.6rem;
	border: 1px solid rgba(186,155,124,0.1);
	transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
	flex: 0 1 auto;
}
.achievement-card:hover {
	background: linear-gradient(135deg, rgba(35,35,35,0.8) 0%, rgba(30,30,30,0.8) 100%);
	border: 1px solid rgba(186,155,124,0.2);
	transform: translateY(-3px);
}
.achievement-card h3 {
	margin: 0;
	margin-bottom: 0.4rem;
	color: var(--accent-color);
	font-size: 1.2rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	text-rendering: optimizeLegibility;
	text-align: center;
	width: 100%;
}
.achievement-card p {
	margin: 0;
	margin-bottom: 0.15rem;
	color: var(--text-color);
	font-size: 0.95rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	opacity: 0.92;
	line-height: 1.2;
	text-align: center;
	width: 100%;
}
.achievement-card p:nth-of-type(1) {
	font-size: 0.85rem;
	opacity: 0.75;
	margin-bottom: 0.3rem;
}
.achievement-card p.date {
	font-size: 0.85rem;
	opacity: 0.75;
	margin: 0;
	margin-top: -0.35rem;
	margin-bottom: 0.25rem;
}
.education-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(345px, 470px));
	gap: 1.8rem 6.5rem;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 2rem;
	overflow-y: auto;
	overflow-x: hidden;
	height: 100%;
	max-height: calc(100vh - 56px);
}

.education-cards::-webkit-scrollbar {
	width: 6px;
}

.education-cards::-webkit-scrollbar-track {
	background: transparent;
}

.education-cards::-webkit-scrollbar-thumb {
	background: rgba(186, 155, 124, 0.3);
	border-radius: 3px;
}

.education-cards::-webkit-scrollbar-thumb:hover {
	background: rgba(186, 155, 124, 0.5);
}
.edu-card {
	background: var(--card-bg);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	padding: 2rem 1.8rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	gap: 1.2rem;
	border: 1px solid rgba(186,155,124,0.1);
	transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
}
.edu-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
	opacity: 0.6;
}
.edu-card:hover {
	background: linear-gradient(135deg, rgba(35,35,35,0.8) 0%, rgba(30,30,30,0.8) 100%);
	border: 1px solid rgba(186,155,124,0.25);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(186,155,124,0.1);
}
.school-logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 12px;
	margin-bottom: 0.5rem;
	opacity: 0.95;
	transition: transform 0.3s ease, filter 0.3s ease;
	filter: brightness(1);
}
.edu-card:hover .school-logo {
	transform: scale(1.1);
	filter: brightness(1.15);
}
.edu-info {
	width: 100%;
	text-align: center;
}
.edu-info h2 {
	margin: 0;
	color: var(--accent-color);
	font-size: 1.5rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	margin-bottom: 0.5rem;
	letter-spacing: 0.02em;
	text-rendering: optimizeLegibility;
}
.edu-info p {
	margin: 0.2rem 0;
	color: var(--text-color);
	font-size: 1.05rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	margin-bottom: 0.3rem;
	opacity: 0.92;
	line-height: 1.5;
}
.edu-info p.school {
	font-size: 1.08rem;
	color: #e0e0e0;
	font-family: var(--font-main);
	font-weight: 400;
	margin-bottom: 0.2rem;
	opacity: 0.8;
}
.edu-info p.honors {
	margin: 0.5rem 0 0 0;
	color: var(--accent-color);
	font-size: 1.05rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 600;
	opacity: 0.9;
	font-style: italic;
}
.edu-info .strand {
	font-size: 1.02rem;
	color: #d0d0d0;
	font-weight: 500;
	margin-bottom: 0.5rem;
	opacity: 0.88;
}
nav {
	background: transparent;
	width: 100vw;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	border-bottom: 1px solid rgba(40,40,40,0.7);
	backdrop-filter: blur(6px);
}
nav ul {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	list-style: none;
	margin: 0;
	padding: 0 2rem;
	height: 56px;
	background: none;
}
nav ul li {
	position: relative;
	padding: 0.7rem 2.2rem 0.7rem 2.2rem;
	cursor: pointer;
	color: var(--text-color);
	font-size: 1.05rem;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	margin-bottom: 0.2rem;
	opacity: 0.92;
}
.edu-info p.year {
	font-size: 0.98rem;
	color: #b0e3ff;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	font-weight: 500;
	margin-bottom: 0.2rem;
	opacity: 0.85;
}
.edu-info p.school {
	font-size: 0.98rem;
	color: #e0e0e0;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	font-weight: 400;
	margin-bottom: 0.2rem;
	opacity: 0.8;
	outline: none;
	transition: color 0.18s, text-shadow 0.18s;
	margin: 0 0.2rem;
}
nav ul li.active {
	color: var(--accent-color);
	font-weight: 600;
	background: none !important;
	border-radius: 0;
}
nav ul li::after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0%;
	height: 2.5px;
	background: var(--accent-color);
	border-radius: 2px;
	transform: translateX(-50%);
	transition: width 0.4s ease;
}

nav ul li.active::after {
	width: 60%;
}
nav ul li:hover:not(.active) {
	color: var(--accent-color);
}
main {
	margin-top: 56px;
	height: calc(100vh - 56px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.about-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 5rem;
	width: 100%;
	max-width: 1400px;
	margin: auto;
	padding: 3rem 2.5rem;
}
.about-image {
	flex: 0 0 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.profile-img {
	width: 380px;
	height: 380px;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.4);
	border: 1px solid rgba(186,155,124,0.15);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.profile-img:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.5);
	transform: translateY(-4px) scale(1.02);
}
.about-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2.8rem;
	min-width: 320px;
}
.about-info h1 {
	margin: 0;
	font-size: 4.2rem;
	background: linear-gradient(135deg, #d4b89c 0%, #ba9b7c 50%, #a08264 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 0;
	text-rendering: optimizeLegibility;
	text-shadow: 0 2px 20px rgba(186, 155, 124, 0.3);
	filter: drop-shadow(0 2px 8px rgba(186, 155, 124, 0.2));
}
.about-info p.subheader {
	margin: 0 !important;
	margin-top: -2.3rem !important;
	font-size: 1.3rem;
	color: var(--accent-color);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 500;
	opacity: 0.85;
	letter-spacing: 0.05em;
	padding: 0 !important;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	line-height: 1.4;
}
.about-info p {
	margin: 0;
	font-size: 1.35rem;
	color: #d0d0d0;
	line-height: 1.85;
	letter-spacing: 0.015em;
	background: rgba(25,25,25,0.6);
	border: 1px solid rgba(186,155,124,0.1);
	border-radius: 16px;
	padding: 2.2rem 2.5rem;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
}
.about-links {
	display: flex;
	gap: 1.2rem;
	margin-top: 0.5rem;
}
.icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(30,30,30,0.7);
	color: var(--accent-color);
	font-size: 2.2rem;
	text-decoration: none;
	box-shadow: 0 1px 8px rgba(0,0,0,0.4);
	border: 1px solid rgba(186,155,124,0.15);
	transition: box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border 0.25s ease, transform 0.25s ease;
}
.icon-btn:hover {
	color: #fff;
	background: rgba(186,155,124,0.15);
	box-shadow: 0 2px 12px rgba(186,155,124,0.2);
	border: 1px solid rgba(186,155,124,0.3);
	transform: translateY(-4px);
}
/* Root variables for colors and backgrounds */
:root {
	--bg-color: #15191a;
	--text-color: #f5f5f5;
	--accent-color: #ba9b7c;
	--nav-bg: #222;
	--nav-active: #ba9b7c;
	--card-bg: #1f2326;
	--link-color: #ba9b7c;
	--btn-bg: #ba9b7c;
	--btn-text: #15191a;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	background: linear-gradient(135deg, #15191a 0%, #1f2326 40%, #2a2f33 70%, #0d0f10 100%),
				radial-gradient(ellipse 80% 60% at 60% 20%, rgba(186,155,124,0.08) 0%, rgba(25,30,35,0.3) 100%);
	color: var(--text-color);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	overflow: hidden; /* Prevent scrolling */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Remove duplicate nav styles below */

.section {
	display: none;
	min-height: calc(100vh - 56px);
	max-height: calc(100vh - 56px);
	width: 100vw;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	overflow: hidden;
}
.section.active {
	display: flex;
	opacity: 1;
}

/* ===== NAVIGATION BUTTONS ===== */
.nav-btn {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	padding: 0.7rem 1.5rem;
	border-radius: 8px;
	background: rgba(186, 155, 124, 0.15);
	border: 2px solid rgba(186, 155, 124, 0.3);
	color: var(--accent-color);
	font-size: 1rem;
	font-weight: 600;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9;
	transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	white-space: nowrap;
}

.nav-btn:hover:not(.disabled) {
	background: rgba(186, 155, 124, 0.25);
	border: 2px solid rgba(186, 155, 124, 0.5);
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(186, 155, 124, 0.2);
}

.nav-btn:active:not(.disabled) {
	transform: scale(0.95);
}

.nav-btn.disabled {
	background: rgba(68, 68, 68, 0.3) !important;
	border: 2px solid rgba(100, 100, 100, 0.4) !important;
	color: rgba(136, 136, 136, 0.6) !important;
	cursor: not-allowed !important;
	opacity: 0.5;
}

.prev-btn {
	right: 9rem;
}

.next-btn {
	right: 2rem;
}

@media (max-width: 768px) {
	.nav-btn {
		padding: 0.6rem 1.2rem;
		bottom: 1.5rem;
		font-size: 0.95rem;
	}

	.prev-btn {
		left: 1.5rem;
	}

	.next-btn {
		right: 1.5rem;
	}
}

@media (max-width: 480px) {
	.nav-btn {
		padding: 0.5rem 1rem;
		bottom: 1rem;
		font-size: 0.85rem;
	}

	.prev-btn {
		left: 1rem;
	}

	.next-btn {
		right: 1rem;
	}
}

#achievements.section.active {
	align-items: center;
	padding-top: 0.5rem;
}

/* ===== ACHIEVEMENTS LAYOUT ===== */
.achievements-layout {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.25rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    max-height: calc(100vh - 56px);
	position: relative;
	top: -2.5rem;
}

.achievement-column {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}
/* Give more space to side columns */
.curricular-column,
.extracurricular-column {
    flex: 1 1 400px; /* Increased from auto to 400px minimum */
    max-width: 450px; /* Increased from 320px */
}

/* Make middle column stay narrow */
.achievement-photo-center {
    flex: 0 0 280px; /* Fixed width, won't grow */
    max-width: 280px;
}

/* Adjust the margins to use the extra space */
.curricular-column {
    margin-left: 0.25rem;
}

.extracurricular-column {
    margin-right: 0.25rem;
}	

.achievement-column .category-title {
    width: 100%;
    text-align: center;
    margin: 0 0 0.4rem 0;
    font-size: 1.4rem;
}

.achievement-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 380px;
}

.achievement-photo-center {
    flex: 0 1 auto;
    width: 100%;
    max-width: 432px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.5);
    border: 2px solid rgba(186, 155, 124, 0.15);
    border-radius: 12px;
    min-height: 305px;
    /* Remove the absolute positioning to stay in flexbox flow */
    margin: auto; /* This will help center it within its flex container */
}

.achievement-placeholder {
    position: absolute;
    color: var(--accent-color);
    font-size: 1.1rem;
    font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    opacity: 0.3;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.achievement-photo-center:has(.achievement-display-photo.active) .achievement-placeholder {
    opacity: 0;
}

.achievement-display-photo {
    width: 100%;
    height: auto;
    max-width: 432px; /* Increased by 20% from 360px */
    max-height: 504px; /* Increased by 20% from 420px */
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(186, 155, 124, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, opacity 0.4s ease;
    opacity: 0;
}

.achievement-display-photo.active {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(186, 155, 124, 0.2);
}

.sub-achievement {
	margin: -0.5rem;
}

.achievement-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    border: 1px solid rgba(186,155,124,0.1);
    transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
    flex: 0 1 auto;
}

.achievement-card:hover {
    background: linear-gradient(135deg, rgba(35,35,35,0.8) 0%, rgba(30,30,30,0.8) 100%);
    border: 1px solid rgba(186,155,124,0.2);
    transform: translateY(-3px);
}

.achievement-card.active {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(35, 35, 35, 0.9) 100%);
    border: 2px solid rgba(186, 155, 124, 0.4);
    box-shadow: 0 6px 24px rgba(186, 155, 124, 0.2);
}

/* Responsive for achievements */
@media (max-width: 1200px) {
    .achievements-layout {
        flex-direction: column;
        gap: 2rem;
        position: relative;
    }

    .curricular-column,
    .extracurricular-column {
        margin-left: 0;
        margin-right: 0;
    }

    .achievement-photo-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        min-width: 100%;
        max-width: 100%;
        order: -1; /* Put image at top in mobile view */
    }

    .achievement-display-photo {
        max-width: 300px;
        max-height: 350px;
    }

    .achievement-cards-vertical {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .achievement-column .category-title {
        font-size: 1.3rem;
    }

    .achievement-cards-vertical {
        gap: 1rem;
    }

    .achievement-card {
        padding: 1rem 1.2rem;
    }

    .achievement-card h3 {
        font-size: 1rem;
    }

    .achievement-card p {
        font-size: 0.85rem;
    }

    .achievement-display-photo {
        max-width: 250px;
        max-height: 300px;
    }
}

/* ===== FAMILY SECTION ===== */
.family-container {
	display: flex;
	gap: 2rem;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem 1rem;
	position: relative;
	top: -32px;
	min-height: calc(100vh - 56px - 6rem);
	overflow-y: auto;
	overflow-x: hidden;
}

.family-card {
	background: var(--card-bg);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	padding: 2rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.2rem;
	border: 1px solid rgba(186,155,124,0.1);
	transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
	width: 352px;
	flex-shrink: 0;
}

.family-card:hover {
	background: linear-gradient(135deg, rgba(35,35,35,0.8) 0%, rgba(30,30,30,0.8) 100%);
	border: 1px solid rgba(186,155,124,0.2);
	transform: translateY(-4px);
}

.family-photo {
	width: 237px;
	height: 237px;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid rgba(186,155,124,0.15);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	transition: transform 0.3s ease, filter 0.3s ease;
}

.family-card:hover .family-photo {
	transform: scale(1.08);
	filter: brightness(1.1);
}

.family-card h3 {
	margin: 0;
	color: var(--accent-color);
	font-size: 1.4rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.5rem;
}

.family-card p.family-name {
	margin: 0;
	color: var(--text-color);
	font-size: 0.9rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	opacity: 0.7;
	line-height: 1.3;
	font-style: italic;
	margin-top: -0.5rem;
	margin-bottom: 0.3rem;
}

.family-card p.family-name#first-sibling {
	margin-bottom: 0.1rem;
}

.family-card.siblings-card {
	order: 2;
}

.family-card:nth-child(1) {
	order: 1;
}

.family-card:nth-child(2) {
	order: 3;
}

.family-card p {
	margin: 0;
	color: var(--text-color);
	font-size: 1rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	opacity: 0.85;
	line-height: 1.6;
}

/* ===== BATCHMATES SECTION ===== */
.batchmates-container {
	display: flex;
	gap: 0.9rem;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem 1rem;
	overflow: hidden;
	height: 100%;
	max-height: calc(100vh - 56px);
	position: relative;
	top: -20px;
}

.batchmates-photo {
	flex: 0 0 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 600px;
	min-width: 600px;
	flex-direction: column;
	gap: 0.5rem;
}

#block {
	font-size: 1.2rem;
	color: var(--accent-color);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	margin: 0;
	padding: 0.6rem 1rem;
	letter-spacing: 0.02em;
	opacity: 0.95;
	text-rendering: optimizeLegibility;
	text-align: center;
	width: 570px;
	border: 1px solid rgba(186, 155, 124, 0.2);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	background: rgba(25, 25, 25, 0.4);
}

.group-photo {
	width: 600px;
	height: auto;
	border-radius: 16px;
	border: 2px solid rgba(186,155,124,0.2);
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
	object-fit: cover;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.group-photo:hover {
	transform: scale(1.05);
	filter: brightness(1.1);
}

.batchmates-list {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 100%;
}

.batchmates-list h2 {
	margin: 0;
	color: var(--accent-color);
	font-size: 2rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
}

.names-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.2rem;
	background: rgba(25, 25, 25, 0.3);
	border: 1px solid rgba(186,155,124,0.15);
	border-radius: 12px;
	padding: 0.6rem 1rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.name-item {
	padding: 0.2rem 0.5rem;
	background: var(--card-bg);
	border: 1px solid rgba(186,155,124,0.08);
	border-radius: 8px;
	color: #e0e0e0;
	font-size: clamp(0.7rem, 1.2vw, 0.82rem);
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	text-align: center;
	transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.name-item:hover {
	background: rgba(50,50,50,0.9);
	border: 1px solid rgba(186,155,124,0.2);
	color: var(--accent-color);
}

.batchmates-description {
	background: rgba(25, 25, 25, 0.5);
	border: 1px solid rgba(186, 155, 124, 0.2);
	border-radius: 12px;
	padding: 0.8rem 1.2rem;
	width: 565px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.batchmates-description p {
	margin: 0;
	color: var(--text-color);
	font-size: 1rem;
	font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	opacity: 0.9;
	line-height: 1.6;
}

/* Responsive adjustments for Family and Batchmates */
@media (max-width: 850px) {
	.family-container {
		flex-direction: column;
		gap: 2rem;
	}

	.batchmates-container {
		flex-direction: column;
		gap: 2rem;
	}

	.batchmates-photo {
		min-width: 100%;
	}

	.group-photo {
		max-width: 100%;
	}

	.names-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.family-card {
		min-width: 260px;
		max-width: 100%;
		padding: 1.5rem 1.2rem;
	}

	.family-photo {
		width: 160px;
		height: 160px;
	}

	.family-card h3 {
		font-size: 1.1rem;
	}

	.family-card p {
		font-size: 0.9rem;
	}

	.batchmates-list h2 {
		font-size: 1.5rem;
	}

	.names-grid {
		grid-template-columns: 1fr;
		padding: 1rem;
		gap: 0.6rem;
	}

	.name-item {
		font-size: 0.85rem;
		padding: 0.6rem 0.8rem;
	}
}
