/* ====================================
   CSS Custom Properties (Variables)
   ==================================== */
:root {
	/* Color Palette */
	--primary-color: #121d1f;
	--secondary-color: #7bc3d1;
	--accent-color: #629ca7;
	--text-color: #656c6d;
	--text-dark: #121d1f;
	--background-light: #f6f6f6;
	--background-skills: #7bc3d1;
	--background-ps: #ffe6e6;
	--white: #fff;
	--link-color: #333;
	--error-color: #E87E04;

	/* Typography */
	--font-primary: 'Open Sans', sans-serif;
	--font-secondary: 'Lato', sans-serif;
	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-medium: 600;
	--font-weight-bold: 700;
	--font-weight-black: 900;

	/* Spacing */
	--spacing-xs: 10px;
	--spacing-sm: 20px;
	--spacing-md: 30px;
	--spacing-lg: 40px;
	--spacing-xl: 100px;
	--spacing-xxl: 120px;

	/* Border Radius */
	--border-radius-sm: 2px;
	--border-radius-md: 10px;
	--border-radius-circle: 50%;

	/* Transitions */
	--transition-fast: 0.3s ease-in-out;
	--transition-medium: 0.5s;

	/* Shadows */
	--shadow-light: 0 0 5px rgba(154, 167, 40, 0.7);
	--shadow-medium: 0 0 15px rgba(154, 167, 40, 0.7);
	--shadow-strong: 0 0 15px rgba(154, 167, 40, 1.7);
}

/* ====================================
   Base Styles & Reset
   ==================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
html {
	font-family: var(--font-primary);
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: var(--text-color);
	width: 100% !important;
	margin: 0;
	padding: 0;
	background: var(--background-light);
}

/* ====================================
   Typography
   ==================================== */
h1 {
	font-weight: var(--font-weight-bold);
}

h1 strong {
	font-weight: var(--font-weight-black);
}

h2 {
	line-height: 20px;
	margin: 0 0 var(--spacing-md) 0;
	color: var(--text-dark);
	font-weight: var(--font-weight-normal);
	font-size: 34px;
}

h3,
h4 {
	color: var(--text-dark);
	font-size: 20px;
	font-weight: var(--font-weight-medium);
}

h5 {
	text-transform: uppercase;
	font-weight: var(--font-weight-bold);
	line-height: 20px;
}

p.intro {
	font-size: 16px;
	margin: 12px 0 0;
	line-height: 24px;
	font-family: var(--font-primary);
}

/* ====================================
   Links & Interactive Elements
   ==================================== */
a {
	color: var(--link-color);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus {
	text-decoration: none;
	color: var(--secondary-color);
}

/* ====================================
   Lists & Layout Utilities
   ==================================== */
ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Screen reader only content */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sr-only-focusable:focus {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

/* Clearfix utility */
.clearfix::after {
	content: " ";
	display: table;
	clear: both;
}

hr {
	height: 4px;
	width: 70px;
	text-align: center;
	position: relative;
	background: var(--text-dark);
	margin: 0 auto var(--spacing-md) auto;
	border: 0;
}

/* ====================================
   Navigation
   ==================================== */
#nav {
	z-index: 9999;
}

#nav.affix {
	position: fixed;
	top: 0;
	width: 100%;
}

.navbar-custom {
	margin-bottom: 0;
	background-color: var(--primary-color);
	border-radius: 0;
	padding: var(--spacing-xs) 0;
	transition: background-color var(--transition-fast);
}

.navbar-custom .navbar-brand {
	font-weight: var(--font-weight-medium);
}

.navbar-custom .navbar-brand:focus {
	outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
	padding: 4px 6px;
	font-size: 16px;
	color: var(--white);
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
	outline: 0;
}

.navbar-custom a {
	color: #f4f5f6;
}

.navbar-custom .nav li a {
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: background var(--transition-fast);
}

.navbar-custom .nav li a:hover {
	outline: 0;
	color: var(--secondary-color);
	background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
	outline: 0;
	background-color: transparent;
	color: var(--secondary-color);
}

.navbar-custom .nav li.active {
	outline: 0;
}

.navbar-custom .nav li.active a {
	background-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom .nav li.active a:hover {
	color: var(--white);
}

/* ====================================
   Buttons
   ==================================== */
.btn-default {
	color: var(--white);
	background-color: transparent;
	border-color: var(--white);
	padding: var(--spacing-xs) var(--spacing-sm);
	margin: 0;
	font-size: 16px;
	border-radius: 0;
	transition: all var(--transition-fast);
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active {
	color: var(--white);
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary {
	color: var(--white);
	background-color: var(--primary-color);
	padding: var(--spacing-xs) var(--spacing-sm);
	border-color: var(--primary-color);
	border-radius: 0;
	transition: all var(--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
	color: var(--white);
	background-color: var(--text-dark);
	border-color: var(--text-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary i.fa {
	margin-right: var(--spacing-xs);
}

/* ====================================
   Home/Intro Section
   ==================================== */
.intro {
	display: table;
	width: 100%;
	height: auto;
	padding: var(--spacing-xl) 0;
	text-align: center;
	color: var(--white);
	background: url(../img/intro-bg.jpg) no-repeat center top;
	background-color: var(--secondary-color);
	background-size: cover;
}

.section-title.center {
	color: var(--text-dark);
	padding: 0 0 var(--spacing-sm) 0;
}

/* ====================================
   About Section
   ==================================== */
#about {
	padding: var(--spacing-lg) 0;
	background: var(--background-light);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Legacy styles - kept for backwards compatibility but overridden above */
#about .container-old {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#about .about-text-old {
	color: var(--text-dark);
	margin-left: var(--spacing-xs);
}

#about img-old {
	border-radius: var(--border-radius-circle);
	width: 150px;
	height: 150px;
	display: inline-block;
	object-fit: cover;
	transition: transform var(--transition-fast);
}

#about img-old:hover {
	transform: scale(1.05);
}

#about p-old {
	margin-top: var(--spacing-xs);
	margin-bottom: var(--spacing-sm);
	line-height: 1.6;
}



/* Skills Section */
#skills {
	padding: 100px 0;
	background: #7bc3d1;
}

#skills h2 {
	color: #fff;
}

#skills hr {
	background: rgba(255, 255, 255, 0.3);
}

#skills .skill {
	margin-bottom: 40px;
	text-align: center;
	padding: 0px;
}

#skills .skill h4 {
	font-weight: 600;
	color: #fff;
}

.chart {
	position: relative;
	display: inline-block;
	width: 152px;
	height: 152px;
	margin-bottom: 26px;
	text-align: center;
}

.chart canvas {
	position: absolute;
	top: 0;
	left: 0;
}

.percent {
	display: inline-block;
	font-size: 21px;
	color: #121d1f;
	line-height: 152px;
	z-index: 2;
}

.percent:after {
	content: '%';
	margin-left: 0.1em;
	font-size: .8em;
}

/* ps */

#ps {
	padding: 100px 0;
	background: #ffe6e6;
}


#userid {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 100%;
}

#userid td,
#userid th {
	border: 1px solid #ddd;
	padding: 8px;
}

#userid tr:nth-child(even) {
	background-color: #f2f2f2;
}

#userid tr:hover {
	background-color: #ddd;
}

#userid th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: center;
	background-color: #1a1a1a;
	color: white;
}



/* Resume Section */
#resume {
	padding: 100px 0;
	background: #f6f6f6;
}

.timeline {
	position: relative;
	padding: 0;
	list-style: none;
}

.timeline:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40px;
	width: 2px;
	margin-left: -1.5px;
	background-color: #eee;
}

.timeline>li {
	position: relative;
	margin-bottom: 50px;
	min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
	content: " ";
	display: table;
}

.timeline>li:after {
	clear: both;
}

.timeline>li .timeline-panel {
	float: right;
	position: relative;
	width: 100%;
	padding: 0 20px 0 100px;
	text-align: left;
}

.timeline>li .timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
}

.timeline>li .timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
}

.timeline>li .timeline-image {
	z-index: 100;
	position: absolute;
	left: 0;
	width: 70px;
	height: 70px;
	margin-left: 0;
	border: 1px solid #eee;
	border-radius: 100%;
	text-align: center;
	background: #fff;
}

.timeline>li .timeline-image h4 {
	margin-top: 20px;
	font-size: 14px;
	text-transform: uppercase;
}

.timeline>li.timeline-inverted>.timeline-panel {
	float: right;
	padding: 0 20px 0 100px;
	text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
}

.timeline>li:last-child {
	margin-bottom: 40px;
}

.timeline .timeline-heading h4 {
	margin-top: 0;
	text-transform: uppercase;
	font-size: 16px;
}

.timeline .timeline-heading h2 {
	margin-top: 30px;
}

.timeline .timeline-heading h4.subheading {
	text-transform: none;
	color: #629ca7;
	font-size: 20px;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
	margin-bottom: 0;
}

/* ====================================
   Contact Section
   ==================================== */
#contact {
	padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
	color: var(--text-dark);
}

#contact h2 {
	color: var(--white);
}

#contact hr {
	background: rgba(255, 255, 255, 0.3);
}

#contact h3 {
	padding-top: var(--spacing-sm);
	font-size: 20px;
	font-weight: var(--font-weight-normal);
	color: var(--white);
}

#contact form {
	padding: var(--spacing-md) 0;
}

#contact i.fa {
	color: var(--text-dark);
	margin-bottom: var(--spacing-xs);
}

#contact .text-danger {
	color: var(--error-color);
	text-align: left;
}

#resume-button {
	padding-top: 5px;
}

#contact .social ul li {
	display: inline-block;
	margin: 0 var(--spacing-sm);
}

#contact .social i.fa {
	font-size: 30px;
	padding: 4px 5px;
	color: var(--text-dark);
	transition: all var(--transition-medium);
}

#contact .social i.fa:hover {
	color: var(--text-dark);
	transform: scale(1.2);
}

#contact .social a:focus {
	outline: none;
}

#zinglab-float:focus {
	outline: none;
}

label {
	font-size: 12px;
	font-weight: var(--font-weight-normal);
	font-family: var(--font-primary);
	float: left;
}

#contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #2c3e50;
	background-color: rgba(255, 255, 255, 0.8);
	background-image: none;
	border: 0;
	border-radius: var(--border-radius-sm);
	box-shadow: none;
	transition: none;
}

#contact .form-control:focus {
	border-color: inherit;
	outline: 0;
	box-shadow: transparent;
}

.form-control::-webkit-input-placeholder {
	color: #2c3e50;
}

.form-control:-moz-placeholder {
	color: #2c3e50;
}

.form-control::-moz-placeholder {
	color: #2c3e50;
}

.form-control:-ms-input-placeholder {
	color: #2c3e50;
}

#contact .btn {
	background-color: transparent;
	border: 1px solid var(--white);
	border-radius: 0;
	padding: var(--spacing-xs) var(--spacing-sm);
	color: var(--white);
	margin-top: 15px;
	transition: all var(--transition-fast);
}

#contact .btn:hover,
#contact .btn:focus {
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.btn:active,
.btn.active {
	background-image: none;
	outline: 0;
	box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: none;
	outline-offset: none;
}

/* ====================================
   Footer Section
   ==================================== */
#footer {
	background: var(--primary-color);
	color: #7d8384;
	padding: var(--spacing-md) 0 25px 0;
}

#footer p {
	font-size: 13px;
	margin: 0;
}

#footer a {
	color: #a0a5a5;
	transition: color var(--transition-fast);
}

#footer a:hover {
	color: var(--secondary-color);
}

/* Media Queries */
@media(min-width:768px) {
	.intro {
		height: 100%;
		padding: 0;
		text-align: left;
		color: #fff;
	}

	.intro H1 {
		font-size: 60px;
		font-weight: 500;
		letter-spacing: -2px;
	}

	.intro .name {
		font-weight: 600;
	}

	.intro .intro-text {
		max-width: 75%;
	}

	.intro .intro-text p {
		font-family: 'Lato', sans-serif;
		font-size: 20px;
		margin-bottom: 40px;
		margin-top: 20px;
	}

	section {
		padding: 120px 0;
	}

	header .intro-text {
		padding-top: 300px;
		padding-bottom: 200px;
	}

	.timeline:before {
		left: 50%;
	}

	.timeline>li {
		margin-bottom: 100px;
		min-height: 100px;
	}

	.timeline>li .timeline-panel {
		float: left;
		width: 41%;
		padding: 0 20px 20px 30px;
		text-align: right;
	}

	.timeline>li .timeline-image {
		left: 50%;
		width: 100px;
		height: 100px;
		margin-left: -50px;
	}

	.timeline>li .timeline-image h4 {
		margin-top: 16px;
		line-height: 18px;
		font-weight: 400;
	}

	.timeline>li.timeline-inverted>.timeline-panel {
		float: right;
		padding: 0 30px 20px 20px;
		text-align: left;
	}
}

@media(min-width:992px) {
	#here-me h1 {
		margin: 10px 0 0px;
	}

	.timeline>li {
		min-height: 150px;
	}

	.timeline>li .timeline-panel {
		padding: 0 20px 20px;
	}

	.timeline>li .timeline-image {
		width: 150px;
		height: 150px;
		margin-left: -75px;
	}

	.timeline>li .timeline-image h4 {
		margin-top: 30px;
		font-size: 18px;
		line-height: 26px;
	}

	.timeline>li.timeline-inverted>.timeline-panel {
		padding: 0 20px 20px;
	}
}

@media(min-width:1200px) {
	.timeline>li {
		min-height: 170px;
	}

	.timeline>li .timeline-panel {
		padding: 10px 20px 20px 100px;
	}

	.timeline>li .timeline-image {
		width: 150px;
		height: 150px;
		margin-left: -75px;
	}

	.timeline>li .timeline-image h4 {
		margin-top: 40px;
		font-weight: 400;
	}

	.timeline>li.timeline-inverted>.timeline-panel {
		padding: 10px 100px 20px 20px;
	}
}

/* ====================================
   Top Controls & Social Navigation
   ==================================== */
#top-right-controls {
	position: fixed;
	top: var(--spacing-sm);
	right: var(--spacing-sm);
	z-index: 9999;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--spacing-sm);
}

/* Visibility classes */
.mobile-only {
	display: none;
}

.desktop-only {
	display: block;
}

/* Desktop social positioning */
#desktop-social-resume {
	position: fixed;
	top: var(--spacing-sm);
	right: calc(var(--spacing-sm) + 60px); /* Position left of ZingLab button */
	z-index: 9999;
}

#top-social-resume {
	display: flex;
	flex-direction: row;
	align-items: center;
}

/* Mobile bottom social bar */
#mobile-bottom-social {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
	padding: var(--spacing-sm);
	z-index: 9999;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-top ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 8px;
}

.social-top ul li {
	display: inline-block;
	margin: 0;
	position: relative;
}

.social-top i.fa {
	font-size: 20px;
	padding: 6px;
	color: #000;
	transition: all var(--transition-fast);
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--border-radius-circle);
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-top a:hover .fa,
.social-top a:focus .fa {
	color: #000;
	transform: scale(1.1);
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-top a:active .fa {
	transform: scale(0.95);
}

.social-top a:focus,
.social-top a:focus-visible {
	outline: none;
}

/* Remove browser default focus outlines on buttons and links */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Tooltip styles */
.social-top a {
	position: relative;
	text-decoration: none;
	display: inline-block;
}

.social-top a::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 10000;
}

.social-top a:hover::after {
	opacity: 1;
}

/* Touch device adjustments - apply globally */
@media (hover: none) and (pointer: coarse) {
	.social-top a:hover .fa {
		transform: none !important;
		background: rgba(255, 255, 255, 0.9) !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	}

	#mobile-bottom-social .social-top a:hover .fa {
		transform: none !important;
		background: rgba(0, 0, 0, 0.05) !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	}

	.social-top a:hover::after,
	#mobile-bottom-social .social-top a:hover::after,
	#zinglab-float:hover::after {
		opacity: 0 !important;
	}

	#zinglab-float:hover {
		transform: none !important;
		box-shadow: var(--shadow-medium) !important;
	}
}

#zinglab-float {
	padding: 2px;
	background-color: #142217;
	color: var(--white);
	font-weight: var(--font-weight-bold);
	border-radius: 50px;
	text-decoration: none;
	box-shadow: var(--shadow-medium);
	animation: pulse 2s infinite;
	font-family: var(--font-primary);
	font-size: 14px;
	transition: all var(--transition-fast);
	display: block;
	position: relative;
}

#zinglab-float:hover,
#zinglab-float:focus {
	transform: scale(1.1);
	color: var(--white);
	box-shadow: var(--shadow-strong);
}

#zinglab-float:active {
	transform: scale(0.95);
}

#zinglab-float:focus,
#zinglab-float:focus-visible {
	outline: none;
}

/* ZingLab tooltip */
#zinglab-float::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 10000;
}

#zinglab-float:hover::after {
	opacity: 1;
}

/* ====================================
   About Section - New Layout
   ==================================== */
#about {
	padding: var(--spacing-xl) 0;
	background: var(--background-light);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#about .container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

#about .row {
	display: flex;
	align-items: center;
	gap: var(--spacing-lg);
}

.profile-image-col {
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
}

.profile-content-col {
	flex: 1;
	text-align: left;
	padding-left: var(--spacing-md);
}

.profile-image {
	border-radius: var(--border-radius-circle);
	width: 200px;
	height: 200px;
	object-fit: cover;
	transition: transform var(--transition-fast);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-image:hover {
	transform: scale(1.05);
}

#about .about-text {
	color: var(--text-dark);
	margin: 0;
}

#about .about-text p {
	margin-bottom: var(--spacing-sm);
	line-height: 1.6;
	font-size: 16px;
}

/* Large desktop styles */
@media (min-width: 1200px) {
	.profile-image {
		width: 220px;
		height: 220px;
	}

	#about .about-text p {
		font-size: 17px;
	}

	#top-right-controls {
		gap: var(--spacing-md);
	}
}

/* ====================================
   Mobile Responsive Styles
   ==================================== */

/* Tablet styles */
@media (max-width: 992px) and (min-width: 769px) {
	#about .container {
		max-width: 900px;
		padding: 0 var(--spacing-sm);
	}

	#about .row {
		gap: var(--spacing-sm);
		flex-wrap: wrap;
	}

	.profile-content-col {
		padding-left: var(--spacing-xs);
	}

	.profile-image {
		width: 160px;
		height: 160px;
	}

	#about .about-text p {
		font-size: 15px;
		line-height: 1.5;
	}

	#top-right-controls {
		top: var(--spacing-sm);
		right: var(--spacing-sm);
	}
}

/* iPad specific styles */
@media (max-width: 1024px) and (min-width: 768px) {
	.mobile-only {
		display: block !important;
	}

	.desktop-only {
		display: none !important;
	}

	#about .container {
		max-width: 95%;
		padding: 0 var(--spacing-sm);
	}

	#about .row {
		gap: var(--spacing-sm);
		align-items: center;
		justify-content: center;
	}

	.profile-image-col {
		flex: 0 0 auto;
	}

	.profile-content-col {
		flex: 1;
		min-width: 0; /* Prevent flex item from overflowing */
		padding-left: var(--spacing-sm);
	}

	.profile-image {
		width: 150px;
		height: 150px;
	}

	#about .about-text p {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: var(--spacing-xs);
	}

	#about {
		padding: var(--spacing-lg) 0 calc(var(--spacing-xl) + 40px) 0;
	}

	/* Keep ZingLab button in top-right */
	#top-right-controls {
		position: fixed;
		top: var(--spacing-sm);
		right: var(--spacing-sm);
		z-index: 9999;
	}

	/* Mobile bottom social bar styles for iPad */
	#mobile-bottom-social .social-top ul {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: var(--spacing-sm);
		list-style: none;
		padding: 0;
		margin: 0;
	}

	#mobile-bottom-social .social-top i.fa {
		font-size: 18px;
		width: 34px;
		height: 34px;
		padding: 7px;
	}
}

/* Mobile styles */
@media (max-width: 768px) {
	.mobile-only {
		display: block !important;
	}

	.desktop-only {
		display: none !important;
	}

	#top-right-controls {
		/* ZingLab button stays in top-right corner */
		position: fixed;
		top: var(--spacing-sm);
		right: var(--spacing-sm);
		z-index: 9999;
	}

	#mobile-bottom-social .social-top ul {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: var(--spacing-sm);
		list-style: none;
		padding: 0;
		margin: 0;
	}

	#mobile-bottom-social .social-top ul li {
		display: inline-block;
		margin: 0;
		position: relative;
	}

	#mobile-bottom-social .social-top a {
		position: relative;
		text-decoration: none;
		display: inline-block;
	}

	#mobile-bottom-social .social-top a:focus,
	#mobile-bottom-social .social-top a:focus-visible {
		outline: none;
	}

	#mobile-bottom-social .social-top i.fa {
		font-size: 20px;
		padding: 8px;
		color: #000;
		transition: all var(--transition-fast);
		background: rgba(0, 0, 0, 0.05);
		border-radius: var(--border-radius-circle);
		width: 36px;
		height: 36px;
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	/* Only focus states for mobile - no hover */
	#mobile-bottom-social .social-top a:focus .fa {
		color: #000;
		transform: scale(1.05);
		background: rgba(0, 0, 0, 0.1);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	#mobile-bottom-social .social-top a:active .fa {
		transform: scale(0.9);
		background: rgba(0, 0, 0, 0.15);
	}

	/* Mobile tooltip adjustments - hide tooltips on mobile */
	#mobile-bottom-social .social-top a::after {
		display: none; /* Hide tooltips completely on mobile */
	}

	#about {
		padding: var(--spacing-md) 0 calc(var(--spacing-xl) + 40px) 0; /* Add bottom padding for fixed social bar */
	}

	#about .container {
		display: flex;
		flex-direction: column;
	}

	#about .row {
		flex-direction: column;
		text-align: center;
		gap: var(--spacing-md);
	}

	.profile-content-col {
		text-align: center;
		padding-left: 0;
	}

	.profile-image {
		width: 150px;
		height: 150px;
	}

	#about .about-text p {
		font-size: 15px;
	}
}

/* Small mobile styles */
@media (max-width: 480px) {
	#mobile-bottom-social {
		padding: var(--spacing-xs);
	}

	#mobile-bottom-social .social-top ul {
		gap: var(--spacing-xs);
	}

	#mobile-bottom-social .social-top i.fa {
		font-size: 18px;
		width: 32px;
		height: 32px;
		padding: 6px;
	}

	#mobile-bottom-social .social-top a:active .fa {
		transform: scale(0.85);
	}

	#mobile-bottom-social .social-top a::after {
		font-size: 10px;
		padding: 3px 6px;
		top: -32px;
		display: none; /* Hide tooltips on small mobile too */
	}

	#about {
		padding: var(--spacing-md) 0 calc(var(--spacing-xl) + 20px) 0; /* Adjust bottom padding for smaller social bar */
	}

	/* Small mobile tooltip adjustments */
	.social-top a::after,
	#zinglab-float::after {
		font-size: 9px;
		padding: 2px 4px;
		bottom: -28px;
	}

	#zinglab-float img {
		width: 20px;
		height: 20px;
	}

	.profile-image {
		width: 120px;
		height: 120px;
	}

	#about .about-text p {
		font-size: 14px;
		margin-bottom: var(--spacing-sm);
	}

	#about .container {
		padding: 0 var(--spacing-sm);
	}

	#about {
		padding: var(--spacing-xs) 0;
	}
}

/* ====================================
   Floating Consultancy Button - Updated
   ==================================== */
#zinglab-float {
	padding: 2px;
	background-color: #142217;
	color: var(--white);
	font-weight: var(--font-weight-bold);
	border-radius: 50px;
	text-decoration: none;
	box-shadow: var(--shadow-medium);
	animation: pulse 2s infinite;
	font-family: var(--font-primary);
	font-size: 14px;
	transition: transform var(--transition-fast);
	display: block;
}

#zinglab-float:hover {
	transform: scale(1.1);
	color: var(--white);
}

@keyframes pulse {
	0% {
		box-shadow: var(--shadow-light);
	}

	50% {
		box-shadow: var(--shadow-strong);
	}

	100% {
		box-shadow: var(--shadow-light);
	}
}

#zinglab-float img {
	width: 25px;
	height: 25px;
	display: block;
	border-radius: var(--border-radius-circle);
}

/* ====================================
   Performance & Accessibility Enhancements
   ==================================== */

/* Smooth scrolling for modern browsers */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Focus indicators for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--secondary-color);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	:root {
		--primary-color: #000000;
		--secondary-color: #0066cc;
		--text-color: #000000;
	}
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Print styles */
@media print {
	#top-right-controls,
	#zinglab-float,
	.social,
	.social-top {
		display: none;
	}

	body {
		font-size: 12pt;
		line-height: 1.4;
		color: #000;
		background: #fff;
	}

	a {
		color: #000;
		text-decoration: underline;
	}
}

/* Utility classes */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Performance optimization for images */
img {
	max-width: 100%;
	height: auto;
}

/* Modern CSS Grid/Flexbox fallbacks */
@supports (display: grid) {
	.container {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
}
