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

body {
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
	background: #f5f9fc;
	color: #1e2f3e;
	line-height: 1.6;
	padding: 1.5rem;
}

.profile-img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #d4e4f0;
	box-shadow: 0 8px 20px rgba(0,30,40,0.15);
	margin: 1rem auto 1.5rem;
	display: block;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	background: white;
	border-radius: 2rem;
	box-shadow: 0 10px 30px rgba(0,20,30,0.1);
	padding: 2rem 2rem 1.5rem;
}

/* navigation */
nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 2rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #dde7f0;
	position: relative;
}

nav a {
	text-decoration: none;
	font-weight: 600;
	color: #1a4b6d;
	font-size: 1.1rem;
	padding: 0.25rem 0.5rem;
	transition: 0.1s;
	border-bottom: 2px solid transparent;
}

nav a:hover {
	border-bottom-color: #1a4b6d;
}

.lang-switch {
	margin-left: auto;
}

.lang-switch select {
	padding: 0.3rem 0.8rem;
	border-radius: 30px;
	border: 1px solid #b8d1e8;
	background: white;
	font-weight: 500;
	color: #1a4b6d;
	cursor: pointer;
}

/* profile image placeholder */
.profile-img-placeholder {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.img-box {
	width: 150px;
	height: 150px;
	background: #e4eef7;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 3px dashed #7fa9c7;
	color: #1e567b;
	font-size: 1rem;
	text-align: center;
}

.camera-icon {
	font-size: 2.5rem;
	margin-bottom: 0.3rem;
}

/* headings */
h1 {
	font-size: 2.8rem;
	font-weight: 700;
	color: #0b2c40;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 0.5rem;
}

.subhead {
	font-size: 1.3rem;
	color: #2e5f80;
	background: #e4eef7;
	display: inline-block;
	padding: 0.3rem 1.5rem;
	border-radius: 40px;
	margin: 0.5rem 0 1rem;
}

.intro {
	font-size: 1.1rem;
	color: #2a4b66;
	max-width: 700px;
	margin: 1rem 0 1.5rem;
}

.gh-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #e2ebf3;
	padding: 0.5rem 1.2rem;
	border-radius: 40px;
	font-weight: 500;
	color: #0a3146;
	text-decoration: none;
	border: 1px solid #b6d0e2;
	margin-bottom: 2rem;
}

.gh-link:hover {
	background: #cde0f0;
}

.quick-info {
	background: #f1f7fd;
	border-radius: 1.5rem;
	padding: 1.5rem;
	margin: 2rem 0;
}

.quick-info h2 {
	color: #0f3b55;
	margin-bottom: 0.8rem;
	font-size: 1.5rem;
}

.quick-info ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
}

.quick-info li {
	background: white;
	padding: 0.4rem 1.2rem;
	border-radius: 40px;
}

/* cards */
.card {
	background: #f4faff;
	border-radius: 1.5rem;
	padding: 1.3rem 1.8rem;
	margin-bottom: 1.2rem;
}

.card .date {
	font-size: 0.9rem;
	color: #4f738f;
	font-weight: 600;
	text-transform: uppercase;
}

.card h3 {
	font-size: 1.3rem;
	color: #103a52;
	margin: 0.2rem 0;
}

.card .place {
	font-weight: 600;
	color: #28638b;
	margin: 0.2rem 0 0.4rem;
}

.ref-item {
	background: #e8f0f8;
	border-radius: 1rem;
	padding: 1rem 1.5rem;
}

/* skills */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.skill-cat {
	background: #f2f8ff;
	border-radius: 1.8rem;
	padding: 1.5rem;
}

.skill-cat h2 {
	color: #155077;
	font-size: 1.4rem;
	border-bottom: 3px solid #9fc5e4;
	padding-bottom: 0.4rem;
	margin-bottom: 1rem;
}

.skill-items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.skill-tag {
	background: white;
	border: 1px solid #b8d1e8;
	padding: 0.3rem 1rem;
	border-radius: 40px;
	font-size: 0.95rem;
	font-weight: 500;
}

.lang-box {
	margin-top: 2rem;
	background: #e3eff9;
	border-radius: 1.8rem;
	padding: 1.5rem;
}

.lang-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px dashed #9fb9d2;
}

.lang-item:last-child {
	border: none;
}

/* projects */
.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	gap: 1.8rem;
	margin: 2rem 0;
}

.project-card {
	background: #f0f7fe;
	border-radius: 1.8rem;
	padding: 1.5rem;
	border: 1px solid #d6e5f2;
}

.project-card h3 {
	font-size: 1.5rem;
	color: #104268;
	margin-bottom: 0.5rem;
}

.tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.8rem 0;
}

.tech span {
	background: #c9dfef;
	padding: 0.2rem 0.9rem;
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #082433;
}

.github-cta {
	background: #e5f0f9;
	border-radius: 1.5rem;
	padding: 1.5rem;
	text-align: center;
}

.github-cta a {
	display: inline-block;
	margin-top: 0.5rem;
	background: #1f4d70;
	color: white;
	padding: 0.4rem 1.5rem;
	border-radius: 40px;
	text-decoration: none;
}

/* hobbies */
.hobby-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	margin: 2rem 0;
}

.hobby-card {
	background: #eaf3fb;
	width: 200px;
	text-align: center;
	padding: 2rem 1rem;
	border-radius: 3rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: #124160;
	border: 2px solid #bbd5ee;
}

.hobby-card small {
	display: block;
	font-size: 0.9rem;
	font-weight: 400;
	color: #2e6188;
	margin-top: 0.5rem;
}

.quote {
	background: #ddeeff;
	border-radius: 2rem;
	padding: 1.8rem;
	text-align: center;
	font-size: 1.2rem;
	margin: 2rem 0;
}

/* small projects page */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: center;
	margin: 2rem 0;
}

.filter-btn {
	background: #eef4f9;
	border: 2px solid #cbdbe8;
	padding: 0.5rem 1.5rem;
	border-radius: 40px;
	font-weight: 600;
	color: #1f4d70;
	cursor: pointer;
	transition: 0.1s;
}

.filter-btn.active {
	background: #1f4d70;
	color: white;
	border-color: #1f4d70;
}

.small-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.small-project-card {
	background: #f8fbfe;
	border-radius: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #d6e5f2;
	display: flex;
	flex-direction: column;
}

.small-project-card h3 {
	font-size: 1.3rem;
	color: #104268;
	margin-bottom: 0.5rem;
}

.small-project-card p {
	color: #244d6b;
	font-size: 0.95rem;
	flex-grow: 1;
	margin-bottom: 1rem;
}

.download-btn {
	align-self: flex-start;
	background: #1f4d70;
	color: white;
	padding: 0.4rem 1.2rem;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 500;
	margin-top: 0.8rem;
	border: none;
	cursor: pointer;
}

.download-btn:hover {
	background: #0d3150;
}

/* projects page CTA */
.small-projects-cta {
	background: #e5f0f9;
	border-radius: 2rem;
	padding: 1.8rem;
	text-align: center;
	margin: 2rem 0;
}

.small-projects-cta .button {
	display: inline-block;
	background: #1f4d70;
	color: white;
	padding: 0.7rem 2rem;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 1rem;
}

.project-links {
	margin-top: 1rem;
}

.project-links a {
	display: inline-block;
	background: #e2ebf3;
	color: #0d2e44;
	padding: 0.3rem 1.2rem;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 500;
	border: 1px solid #b6cde0;
}

/* footer */
.footer {
	margin-top: 3rem;
	text-align: center;
	font-size: 0.95rem;
	color: #3f627f;
	border-top: 2px solid #dde7f0;
	padding-top: 1.5rem;
}

.footer a {
	color: #1f4d70;
	text-decoration: none;
	font-weight: 600;
}

.footer a:hover {
	text-decoration: underline;
}

/* responsive */
@media (max-width: 600px) {
	h1 { font-size: 2.2rem; }
	nav { gap: 0.8rem; }
	.lang-switch { margin-left: 0; width: 100%; text-align: center; }
	.quick-info ul { flex-direction: column; }
}