/* ==========================================================================
   Portfolio vCard Theme - Main Styles
   ========================================================================== */

:root {
	--color-primary: #78cc6d;
	--color-primary-light: #a8d8a0;
	--color-primary-dark: #78cc6d;
	--color-bg-gradient: linear-gradient(135deg, #78cc6d 0%, #b8e6b0 50%, #d4f0d0 100%);
	--color-text: #646464;
	--color-text-light: #646464;
	--color-text-muted: #646464;
	--color-white: #ffffff;
	--color-card-bg: #ffffff;
	--color-sidebar-bg: #ffffff;
	--color-border: #e8e8e8;
	--color-shadow: rgba(0, 0, 0, 0.08);
	--color-hover: #78cc6d;
	--sidebar-width: 72px;
	--profile-width: 300px;
	--font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--radius: 16px;
	--radius-sm: 8px;
	--transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg-gradient);
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color var(--transition);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul {
	list-style: none;
}

/* ==========================================================================
   App Layout
   ========================================================================== */

.portfolio-app {
	display: flex;
	min-height: 100vh;
	padding: 30px 30px 30px 0;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background: var(--color-sidebar-bg);
	box-shadow: 2px 0 20px var(--color-shadow);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0;
}

.sidebar-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-bottom: 20px;
}

.sidebar-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-text);
	margin: 5px 0;
	transition: var(--transition);
}

.sidebar-nav {
	flex: 1;
	display: flex;
	align-items: center;
}

.sidebar-nav ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 8px;
	color: var(--color-text-muted);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: color var(--transition);
	border-radius: var(--radius-sm);
}

.sidebar-nav a svg {
	width: 22px;
	height: 22px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
	color: var(--color-hover);
}

.sidebar-nav a:hover svg,
.sidebar-nav a.active svg {
	stroke: var(--color-hover);
}

/* ==========================================================================
   Main Wrapper
   ========================================================================== */

.main-wrapper {
	display: flex;
	margin-left: var(--sidebar-width);
	width: calc(100% - var(--sidebar-width));
	max-width: 1100px;
	margin-right: auto;
	margin-left: calc(var(--sidebar-width) + 30px);
	gap: 0;
	min-height: calc(100vh - 60px);
}

/* ==========================================================================
   Profile Card
   ========================================================================== */

.profile-card {
	width: var(--profile-width);
	flex-shrink: 0;
	background: var(--color-card-bg);
	border-radius: var(--radius);
	box-shadow: 0 8px 40px var(--color-shadow);
	overflow: hidden;
	position: sticky;
	top: 30px;
	align-self: flex-start;
	z-index: 10;
}

.profile-photo {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, #e8f5e6, #c8e6c0);
}

.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary-light);
}

.profile-photo-placeholder svg {
	width: 80px;
	height: 80px;
}

.profile-info {
	position: relative;
	padding: 50px 25px 20px;
	text-align: center;
	background: var(--color-white);
}

.profile-chevron {
	position: absolute;
	top: -20px;
	left: 0;
	right: 0;
	height: 30px;
	background: var(--color-white);
	clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.profile-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 4px;
	line-height: 1.3;
}

.profile-title {
	font-size: 13px;
	color: var(--color-primary);
	font-weight: 400;
	margin-bottom: 15px;
}

.profile-social {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.profile-social a {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text-muted);
	border-radius: 50%;
	transition: all var(--transition);
}

.profile-social a:hover {
	color: var(--color-hover);
	background: rgba(120, 204, 109, 0.1);
}

.profile-social a svg {
	width: 16px;
	height: 16px;
}

.profile-actions {
	display: flex;
	border-top: 1px solid var(--color-border);
}

.mobile-section-nav {
	display: none;
	flex-wrap: nowrap;
	gap: 0;
	padding: 0;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-card-bg);
}

.mobile-section-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	flex: 1 1 0;
	min-width: 0;
	padding: 12px 6px 11px;
	border-right: 1px solid var(--color-border);
	border-radius: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: var(--color-text);
	background: #fff;
	transition: all var(--transition);
	text-align: center;
}

.mobile-section-link:last-child {
	border-right: none;
}

.mobile-section-icon svg {
	width: 20px;
	height: 20px;
}

.mobile-section-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mobile-section-link:hover,
.mobile-section-link.active {
	border-color: var(--color-hover);
	color: var(--color-hover);
	box-shadow: inset 0 -2px 0 var(--color-hover);
}

.btn-action {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16px 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--color-text-muted);
	transition: all var(--transition);
	border-right: 1px solid var(--color-border);
}

.btn-action:last-child {
	border-right: none;
}

.btn-action:hover {
	color: var(--color-hover);
	background: rgba(120, 204, 109, 0.05);
}

.btn-action svg {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area {
	flex: 1;
	background: var(--color-card-bg);
	border-radius: var(--radius);
	box-shadow: 0 8px 40px var(--color-shadow);
	margin-left: -20px;
	padding: 35px 40px;
	overflow-y: auto;
	max-height: calc(100vh - 60px);
	position: relative;
	z-index: 5;
}

.content-area::-webkit-scrollbar {
	width: 6px;
}

.content-area::-webkit-scrollbar-track {
	background: transparent;
}

.content-area::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
	display: none;
}

.content-section.active {
	display: block;
}

.content-section.section-leaving {
	display: block;
	animation: sectionLeave 0.28s ease forwards;
}

.content-section.section-entering {
	animation: sectionEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sectionLeave {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(-16px); }
}

@keyframes sectionEnter {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.animate-item {
	opacity: 0;
	transform: translateY(18px);
}

.animate-item.is-visible {
	animation: itemFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes itemFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Page Loader */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: var(--color-bg-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loader-inner {
	text-align: center;
}

.loader-spinner {
	width: 48px;
	height: 48px;
	border: 3px solid rgba(255, 255, 255, 0.4);
	border-top-color: var(--color-hover);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto 16px;
}

.loader-text {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	animation: pulse 1.2s ease infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes pulse {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}

body.is-loading .portfolio-app {
	opacity: 0;
}

body.is-loaded .portfolio-app {
	animation: appReveal 0.6s ease forwards;
}

@keyframes appReveal {
	from { opacity: 0; transform: scale(0.98); }
	to { opacity: 1; transform: scale(1); }
}

/* Skill Groups - Screenshot Layout */
.skill-groups-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid var(--color-border);
}

.skill-group-col {
	padding-right: 20px;
}

.skill-group-col + .skill-group-col {
	border-left: 1px solid var(--color-border);
	padding-left: 30px;
	padding-right: 0;
}

.skill-group-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}

.skill-group-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(120, 204, 109, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	flex-shrink: 0;
}

.skill-group-icon svg {
	width: 20px;
	height: 20px;
}

.skill-group-icon img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.skill-group-header h4 {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--color-text);
}

.skill-bar-item {
	margin-bottom: 18px;
}

.skill-bar-name,
.skill-dot-name {
	display: block;
	font-size: 13px;
	color: var(--color-text);
	margin-bottom: 8px;
}

.skill-dots-list .skill-dot-item {
	margin-bottom: 16px;
}

.skill-dots {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.skill-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e0e0e0;
	transition: background var(--transition);
}

.skill-dot.filled {
	background: var(--color-primary);
}

.skill-list-group {
	margin-top: 10px;
	margin-bottom: 20px;
}

.key-skills-list {
	margin-top: 10px;
}

.key-skills-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.6;
}

.key-skills-list li:last-child {
	border-bottom: none;
}

.key-skills-list li svg {
	width: 16px;
	height: 16px;
	color: var(--color-primary);
	flex-shrink: 0;
	margin-top: 3px;
}

.key-skills-list strong {
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.page-loader {
		display: none;
	}

	body.is-loading .portfolio-app {
		opacity: 1;
	}
}

.section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--color-border);
}

.section-icon {
	width: 40px;
	height: 40px;
	background: rgba(120, 204, 109, 0.15);
	color: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}

.section-header h2 {
	font-size: 22px;
	font-weight: 600;
	color: var(--color-text);
}

.subsection-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 20px;
	padding-left: 0;
}

.subsection-title::before {
	display: none;
}

.subsection-title .title-accent {
	color: var(--color-primary);
}

/* ==========================================================================
   Quote Section
   ========================================================================== */

.quote-section,
.highlighting-section,
.services-section {
	margin-bottom: 40px;
}

.quote-box {
	position: relative;
	padding: 10px 30px 20px;
	margin-bottom: 25px;
}

.quote-mark {
	font-size: 48px;
	line-height: 1;
	color: var(--color-text);
	opacity: 0.25;
	font-family: Georgia, serif;
	position: absolute;
}

.quote-mark-open {
	top: 0;
	left: 0;
}

.quote-mark-close {
	bottom: 0;
	right: 0;
}

.quote-text {
	font-size: 15px;
	font-style: italic;
	color: var(--color-text);
	line-height: 1.9;
	padding: 10px 20px;
	position: relative;
	z-index: 1;
}

.quote-author {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.quote-author-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}

.quote-author-avatar {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f0f0f0;
}

.quote-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.quote-author-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	opacity: 0.4;
}

.quote-author-placeholder svg {
	width: 24px;
	height: 24px;
}

.quote-author-info strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 2px;
}

.quote-author-info span {
	font-size: 13px;
	color: var(--color-text);
}

.highlighting-text {
	font-size: 14px;
	color: var(--color-text);
	line-height: 1.9;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

.about-text p {
	color: var(--color-text-light);
	font-size: 14px;
	line-height: 1.8;
}

.details-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.detail-label {
	background: var(--color-label-bg);
	color: var(--color-label-text);
	font-size: 11px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 4px;
	min-width: 90px;
	text-align: center;
}

.detail-value {
	font-size: 14px;
	color: var(--color-text);
	font-weight: 500;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.service-card {
	display: flex;
	gap: 15px;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.service-card:hover {
	border-color: var(--color-hover);
	box-shadow: 0 4px 15px rgba(120, 204, 109, 0.15);
}

.service-card:hover h4 {
	color: var(--color-hover);
}

.service-icon {
	width: 48px;
	height: 48px;
	background: rgba(120, 204, 109, 0.1);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-primary);
}

.service-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.service-card h4 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.service-card p {
	font-size: 12px;
	color: var(--color-text-light);
	line-height: 1.6;
}

/* ==========================================================================
   Resume Section
   ========================================================================== */

.resume-block {
	margin-bottom: 35px;
}

.skills-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.skill-item {
	margin-bottom: 5px;
}

.skill-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.skill-name {
	font-size: 13px;
	font-weight: 500;
}

.skill-percent {
	font-size: 12px;
	color: var(--color-text-muted);
}

.skill-bar {
	height: 6px;
	background: #f0f0f0;
	border-radius: 3px;
	overflow: hidden;
}

.skill-fill {
	height: 100%;
	background: var(--color-primary);
	border-radius: 3px;
	transition: width 1s ease;
}

.timeline {
	position: relative;
	padding-left: 20px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--color-border);
}

.timeline-item {
	position: relative;
	padding: 0 0 25px 25px;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -24px;
	top: 6px;
	width: 10px;
	height: 10px;
	background: var(--color-primary);
	border-radius: 50%;
	border: 2px solid var(--color-white);
	box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-year {
	font-size: 12px;
	color: var(--color-text);
	font-weight: 600;
	margin-bottom: 4px;
	display: block;
}

.timeline-content h4 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 2px;
}

.timeline-content p {
	font-size: 13px;
	color: var(--color-text-light);
}

/* ==========================================================================
   Works Section v2 (Screenshot Layout)
   ========================================================================== */

.works-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--color-border);
}

.works-section-header {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.works-filters {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.works-filter-btn {
	background: none;
	border: none;
	font-family: var(--font-family);
	font-size: 13px;
	font-weight: 500;
	color: var(--color-text);
	cursor: pointer;
	padding: 4px 0;
	transition: color var(--transition);
}

.works-filter-btn:hover,
.works-filter-btn.active {
	color: var(--color-hover);
}

.works-grid-v2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
}

.work-item-v2 {
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	padding: 20px;
	transition: opacity var(--transition);
}

.work-item-v2.is-hidden {
	display: none;
}

.work-item-image {
	border-radius: var(--radius-sm);
	overflow: hidden;
	margin-bottom: 16px;
	aspect-ratio: 16/10;
	background: #f5f5f5;
}

.work-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-item-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	opacity: 0.3;
}

.work-item-placeholder svg {
	width: 40px;
	height: 40px;
}

.work-item-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.work-category {
	display: block;
	font-size: 12px;
	color: var(--color-text);
	opacity: 0.7;
	margin-bottom: 4px;
}

.work-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.3;
}

.work-arrow-btn {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-card-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text);
	transition: all var(--transition);
}

.work-arrow-btn:hover {
	border-color: var(--color-hover);
	color: var(--color-hover);
}

.work-arrow-btn svg {
	width: 18px;
	height: 18px;
}

.section-intro {
	font-size: 14px;
	color: var(--color-text);
	margin-bottom: 25px;
	line-height: 1.8;
}

/* ==========================================================================
   Works Section (legacy)
   ========================================================================== */

.works-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.work-card {
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--color-border);
	transition: all var(--transition);
}

.work-card:hover {
	box-shadow: 0 8px 25px var(--color-shadow);
	transform: translateY(-2px);
}

.work-card:hover .work-info h4 {
	color: var(--color-hover);
}

.work-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/2;
}

.work-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
	transform: scale(1.05);
}

.work-overlay {
	position: absolute;
	inset: 0;
	background: rgba(120, 204, 109, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--transition);
}

.work-card:hover .work-overlay {
	opacity: 1;
}

.work-link {
	width: 48px;
	height: 48px;
	background: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}

.work-link svg {
	width: 20px;
	height: 20px;
}

.work-info {
	padding: 15px;
}

.work-info h4 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.work-info p {
	font-size: 12px;
	color: var(--color-text-light);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.blog-card {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: all var(--transition);
}

.blog-card:hover {
	box-shadow: 0 4px 15px var(--color-shadow);
}

.blog-info h4 a {
	color: var(--color-text);
	transition: color var(--transition);
}

.blog-image {
	aspect-ratio: 16/9;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
	transform: scale(1.05);
}

.blog-info {
	padding: 15px;
}

.blog-date {
	font-size: 11px;
	color: var(--color-text);
	font-weight: 500;
}

.blog-info h4 {
	font-size: 14px;
	font-weight: 600;
	margin: 6px 0;
}

.blog-info h4 a:hover {
	color: var(--color-hover);
}

.blog-info p {
	font-size: 12px;
	color: var(--color-text-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 30px;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: 15px;
	transition: all var(--transition);
}

.contact-card:hover {
	border-color: var(--color-hover);
}

.contact-card:hover h4 {
	color: var(--color-hover);
}

.contact-card-icon {
	width: 44px;
	height: 44px;
	background: rgba(120, 204, 109, 0.1);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	flex-shrink: 0;
}

.contact-card-icon svg {
	width: 20px;
	height: 20px;
}

.contact-card-icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block;
}

.contact-card h4 {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}

.contact-card p {
	font-size: 13px;
	color: var(--color-text-light);
}

.contact-form .form-group {
	margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-family);
	font-size: 14px;
	color: var(--color-text);
	transition: border-color var(--transition);
	background: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-hover);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.btn-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-family);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--transition);
}

.btn-submit:hover {
	background: var(--color-hover);
	opacity: 0.9;
	transform: translateY(-1px);
}

a:hover {
	color: var(--color-hover);
}

.btn-submit svg {
	width: 16px;
	height: 16px;
}

.form-message {
	margin-top: 12px;
	font-size: 13px;
	padding: 10px;
	border-radius: var(--radius-sm);
	display: none;
}

.form-message.success {
	display: block;
	background: rgba(120, 204, 109, 0.1);
	color: var(--color-primary-dark);
}

.form-message.error {
	display: block;
	background: rgba(255, 0, 0, 0.05);
	color: #d32f2f;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--color-text-muted);
}

.empty-state svg {
	width: 48px;
	height: 48px;
	margin: 0 auto 15px;
	opacity: 0.4;
}

.empty-state p {
	font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.main-wrapper {
		max-width: 100%;
		margin-left: calc(var(--sidebar-width) + 15px);
		margin-right: 15px;
	}

	.works-grid-v2 {
		grid-template-columns: 1fr;
	}

	.skill-groups-grid {
		grid-template-columns: 1fr;
	}

	.skill-group-col + .skill-group-col {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid var(--color-border);
		padding-top: 25px;
		margin-top: 10px;
	}

	.about-grid,
	.services-grid,
	.skills-grid,
	.works-grid,
	.blog-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.works-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.works-filters {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}

	.works-filter-btn {
		white-space: nowrap;
	}
}

@media (max-width: 900px) {
	:root {
		--profile-width: 280px;
	}
}

@media (max-width: 768px) {
	.portfolio-app {
		padding: 0;
		flex-direction: column;
	}

	.sidebar {
		position: relative;
		transform: none;
		transition: none;
		width: 100%;
		height: auto;
		padding: 0;
		box-shadow: none;
		background: var(--color-card-bg);
		border-bottom: 1px solid var(--color-border);
		flex: 0 0 auto;
		display: block;
		align-items: stretch;
	}

	.sidebar.open {
		transform: none;
	}

	.sidebar-toggle {
		display: none;
	}

	.sidebar-nav ul {
		flex: none;
		display: flex;
		flex-direction: row;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.sidebar-nav li {
		flex: 1 1 0;
		min-width: 0;
	}

	.sidebar-nav a {
		flex-direction: column;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 10px;
		padding: 12px 6px;
		gap: 6px;
		border-right: 1px solid var(--color-border);
		border-radius: 0;
		min-width: 0;
		text-align: center;
		width: 100%;
	}

	.sidebar-nav li:last-child a {
		border-right: none;
	}

	.main-wrapper {
		flex-direction: column;
		margin: 0;
		padding: 15px;
		width: 100%;
		min-height: auto;
	}

	.profile-card {
		width: 100%;
		position: relative;
		top: 0;
		margin-bottom: 15px;
	}

	.content-area {
		margin-left: 0;
		max-height: none;
		padding: 25px 18px;
		overflow-y: visible;
	}

	.profile-photo {
		height: 220px;
	}

	.section-header h2 {
		font-size: 20px;
	}

	.quote-box {
		padding: 10px 15px 20px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.profile-actions {
		flex-direction: row;
	}

	.btn-action {
		font-size: 9px;
		padding: 14px 8px;
	}

	.detail-label {
		min-width: 80px;
		font-size: 10px;
	}

	.work-item-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact-grid {
		gap: 20px;
	}

	.content-area {
		padding: 20px 14px;
		border-radius: 12px;
	}

	.profile-card {
		border-radius: 12px;
	}
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 999;
}

.sidebar-overlay.active {
	display: block;
}
