/* Cleaned CSS - Only used styles */

/* ========================================
   GLOBAL CSS RESET & FULL-BLEED BACKGROUND
   ======================================== */

/* Global reset and full-bleed background */
html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: #0b0b0b !important; /* site dark background */
	overflow-x: hidden; /* safety against tiny overflows */
	font-family: "Fira Code", monospace;
}

/* Make all main containers transparent so root background shows through */
main,
section,
.wrapper,
.u-section-1,
.u-section-3,
.u-section-8,
#aboutMe,
#ai-ml-applications,
#selected-projects,
#video-demo {
	background-color: transparent !important;
}

* {
	box-sizing: border-box;
}

/* Ensure all media are responsive */
img,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Avoid using 100vw on inner sections; prefer 100% */
.section,
.wrapper,
main {
	inline-size: 100%;
}

/* Content container stays centered but does not control page background */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding-inline: 20px;
}

/* Full-bleed pattern for sections that need full-width backgrounds */
.full-bleed {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw; /* allowed only on this outer wrapper */
	background: inherit;
}

/* Media queries for responsive design */
@media (min-width: 991px) {
	.display-in-mobile {
		display: none;
	}
}

@media (max-width: 991px) {
	.display-in-desktop {
		display: none;
	}
}

/* Social media links */
.social-media-links {
	margin-top: 5%;
	width: 430px;
	min-height: fit-content;
	flex-direction: column;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
}

.social-link-text {
	font-size: 0.675rem;
	line-height: 1.25rem;
	font-weight: 550;
	text-align: center;
	font-family: inherit;
	color: #eee !important;
}

.transition-all {
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 0.15s;
}

.social-item {
	display: inline-flex !important;
	flex-direction: column;
	margin-left: 10%;
	justify-content: center;
	align-items: center;
	position: relative;
}

.social-item a {
	background-color: #0b0b0b; /* Changed from white to dark background */
	border-radius: 50rem;
	align-items: center !important;
	text-align: center !important;
	width: 3.5rem;
	height: 3.5rem;
}

.social-item a:hover {
	background-color: rgba(255, 46, 99);
	color: rgba(225, 225, 225, 0.9);
	transform: scaleX(1.1) scaleY(1.1);
}

.social-item i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.4);
	display: block;
	color: #ff2e63;
	z-index: 1;
}

.social-item i:hover {
	color: #eee !important;
}

/* Section styling */
.section-title {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: center;
	color: #ff2e63;
	letter-spacing: 1px;
	margin: 47px 0 0;
}

.section-title h2 {
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 20px 0 0;
	position: relative;
	padding: 0;
	margin-top: 0;
	margin-bottom: 0.5rem;
	line-height: 1.2;
	font-weight: 500;
}

.section-title h3 {
	text-transform: uppercase;
	letter-spacing: 4px;
	margin: 42px 0 0;
}

.description {
	font-family: "Courier New", Courier, monospace;
	color: white !important;
	font-size: 18px;
	opacity: 1;
}

.description p {
	color: #c0c0c0 !important;
	font-size: 20px;
	line-height: 1.6;
}

.description p strong {
	color: #ff2e63;
	font-weight: 900;
}

/* Menu button */
a.menu-btn {
	text-decoration: none;
	color: #252a34;
}

a.menu-btn:hover {
	color: #ff2e63;
}
/* Project styling */
.project {
	display: inline-block;
}

.project-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 20px;
	transition: transform 0.3s ease;
}

/* Images Row - for side-by-side images */
.images-row {
	display: flex;
	gap: 20px;
	margin: 20px 0;
	width: 100%;
	flex-wrap: wrap;
}

.images-row .project-img {
	flex: 1;
	min-width: 250px;
	max-width: calc(100% - 10px);
}

.images-row .project-img:hover {
	transform: scale(1.3);
}

/* Mobile responsive for images-row */
@media (max-width: 991px) {
	.images-row {
		flex-direction: column;
	}

	.images-row .project-img {
		max-width: 100%;
		width: 100%;
	}
}

.project-description {
	margin-top: 10px;
}

/* Timeline and resume */
.timeline-list {
	list-style: none;
	padding: 0;
}

.timeline-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 20px;
}

.timeline-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 10px;
	height: 10px;
	background-color: #ff2e63;
	border-radius: 50%;
}

.resume-block {
	margin-bottom: 30px;
}

/* Button styling */
.pink-button {
	background-color: #ff2e63;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.pink-button:hover {
	background-color: #e0254f;
}

/* Info board styling */
.info-board {
	opacity: 1;
	background-color: #0b0b0b; /* Changed from white to dark background */
	border-radius: 10px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	display: flex;
	min-width: 100%;
	margin-top: 3%;
	margin-left: 5%;
	margin-bottom: 20px;
	padding: 1%;
}

.info-board:hover {
	opacity: 1;
	transform: scale(1.05);
}

.skill-title {
	border-radius: 10px 0 0 10px;
	background-color: rgba(255, 46, 99);
	color: #fff;
	padding: 30px;
	width: 40%;
}

.skill-title h6 {
	color: white;
	font-weight: bold;
	margin-bottom: 15px;
	opacity: 1;
	margin: 0;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 16px;
}

.skill-bullet {
	color: #fff;
	font-weight: bold;
	margin-bottom: 10px;
}

.info {
	padding: 3.5% 3% 3% 3.5%;
	position: relative;
	width: 100%;
	background-color: white;
	border-radius: 0 10px 10px 0;
}

.info h6 {
	color: #0b0b0b;
	margin: 5px;
	font-weight: bold;
	font-family: monospace;
}

.info ul {
	list-style-type: disc;
	margin-left: 20px;
	font-size: 14px;
	font-family: "Courier New", Courier, monospace;
}

.info li {
	color: #686161;
	margin-bottom: 5px;
}

/* Projects Grid Layout */
:root {
	--title-lines: 3;
	--title-line-height: 1.2;
	--modal-fg: #1a1a1a;
	--accent-pink: #ff2e63;
}

.projects-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	align-items: start;
	margin: 40px 0;
}

.project-card {
	position: relative;
	box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(5px);
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: grid;
	grid-template-rows:
		auto /* title wrapper */
		auto /* meta */
		1fr; /* description */
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: 25px 25px 60px rgba(0, 0, 0, 0.6);
}

.project-title-wrapper {
	min-block-size: calc(var(--title-lines) * var(--title-line-height) * 1em);
	display: flex;
	align-items: flex-start;
}

.project-title {
	color: #f5f5f5;
	font-size: 1.3rem;
	font-family: "Fira Code", monospace;
	font-weight: 600;
	line-height: var(--title-line-height);
	margin: 0;
	text-align: left;
}

.project-meta {
	margin: 10px 0;
	min-height: 1.5em;
}

.project-subtitle {
	color: #ff2e63;
	font-size: 0.9rem;
	font-family: "Fira Code", monospace;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.project-description {
	margin-top: 15px;
}

.project-description p {
	opacity: 1;
	color: #ccc;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	text-align: left;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
	.modal {
		background-color: rgba(0, 0, 0, 0.8);
	}
}

.modal-content {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.1);
	width: 100%;
	max-width: 800px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	margin: 0 auto;
	outline: none;
}

.modal-content:focus {
	outline: 2px solid var(--accent-pink);
	outline-offset: 2px;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
	.modal-content {
		background: rgba(255, 255, 255, 0.95);
		border: 1px solid rgba(0, 0, 0, 0.2);
	}
}

.modal-close {
	color: var(--modal-fg);
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	padding: 20px;
	line-height: 1;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.modal-close:hover {
	color: var(--accent-pink);
	opacity: 1;
}

.modal-header {
	padding: 30px 30px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	display: grid !important;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 15px;
	align-items: start;
	margin: 0;
}

.modal-title {
	color: var(--modal-fg);
	font-size: 2rem;
	font-family: "Fira Code", monospace;
	font-weight: 600;
	margin: 0 20px 0 20px;
	grid-column: 1 !important;
	grid-row: 1 !important;
}

.modal-completion-date {
	color: #721c24;
	font-size: 0.9rem;
	font-family: "Fira Code", monospace;
	grid-column: 2 !important;
	grid-row: 1 !important;
	text-align: left;
	margin: 0 0 0 20px;
}

.modal-subtitle {
	margin: 0 20px 0 20px;
	color: var(--accent-pink);
	font-size: 1.1rem;
	font-family: "Fira Code", monospace;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	grid-column: 1 / -1 !important;
	grid-row: 2 !important;
}

.modal-body {
	padding: 20px;
	/*margin: 0 0 10% 0;*/
}

.modal-description {
	color: var(--modal-fg);
	opacity: 1;
	font-family: "Fira Code", monospace;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 20px 0 20px;
}

.modal-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.image-placeholder {
	background-color: rgba(255, 255, 255, 0.1);
	border: 2px dashed rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	padding: 40px 20px;
	text-align: center;
	color: #ccc;
	font-family: "Fira Code", monospace;
	font-size: 14px;
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Modal structured content */
.modal-section {
	margin-bottom: 20px;
}

.modal-section h4 {
	color: var(--modal-fg);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 10px 0;
	font-family: "Fira Code", monospace;
}

.modal-section p {
	color: var(--modal-fg);
	opacity: 1;
	margin: 0 0 10px 0;
	line-height: 1.6;
}

.modal-section ul {
	color: var(--modal-fg);
	opacity: 1;
	margin: 0 0 10px 20px;
	line-height: 1.8;
}

.modal-section .meta-text {
	font-style: italic;
	opacity: 0.7;
	font-size: 0.9rem;
}

.tech-list {
	font-family: "Fira Code", monospace;
	font-size: 0.9rem;
}

.modal-links-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.link-button {
	padding: 8px 16px;
	background-color: var(--accent-pink);
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-size: 0.9rem;
	transition: background-color 0.3s ease;
}

.link-button:hover:not(.disabled) {
	background-color: #e0254f;
}

.link-button.disabled {
	background-color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

/* Modal Images Grid */
.modal-images-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 10px;
}

/* Image Container - for actual project images */
.modal-images-grid .image-container {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-images-grid .project-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.modal-images-grid .project-image:hover {
	transform: scale(1.05);
}

/* Image Placeholder - for projects without images (fallback, now hidden by JS) */
.modal-images-grid .image-placeholder {
	background-color: rgba(0, 0, 0, 0.05);
	border: 2px dashed rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 0;
	text-align: center;
	color: var(--modal-fg);
	opacity: 0.5;
	font-family: "Fira Code", monospace;
	font-size: 14px;
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.modal-images-grid .image-placeholder span {
	position: relative;
	z-index: 1;
}

/* Resume Download Button */
.resume-download-section {
	margin-top: 30px;
	text-align: center;
}

.resume-download-btn {
	background-color: #ff2e63;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(255, 46, 99, 0.3);
}

.resume-download-btn:hover {
	background-color: #e0254f;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 46, 99, 0.4);
}

.resume-download-btn:active {
	transform: translateY(0);
}

/* Resume Modal Styles */
.resume-modal-content {
	max-width: 500px;
	width: 90%;
}

.resume-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-label {
	color: var(--modal-fg);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 5px;
}

.password-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.form-input {
	width: 100%;
	padding: 12px 45px 12px 15px;
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	font-size: 16px;
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--modal-fg);
	transition: border-color 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--accent-pink);
	box-shadow: 0 0 0 3px rgba(255, 46, 99, 0.1);
}

.password-toggle {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	transition: color 0.3s ease;
}

.password-toggle:hover {
	color: var(--accent-pink);
}

.error-message {
	background-color: #f8d7da;
	color: #721c24;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	border: 1px solid #f5c6cb;
}

.form-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-primary {
	background-color: var(--accent-pink);
	color: white;
}

.btn-primary:hover {
	background-color: #e0254f;
}

.btn-primary:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.btn-secondary {
	background-color: transparent;
	color: var(--modal-fg);
	border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.btn-loading {
	display: none;
}

.btn:disabled .btn-text {
	display: none;
}

.btn:disabled .btn-loading {
	display: inline-flex;
}

/* Legacy box styling for backward compatibility */
.box {
	position: relative;
	width: 26%;
	height: 400px;
	box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	margin: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(5px);
	transform-style: preserve-3d;
	transform: perspective(800px);
	background-color: rgba(255, 255, 255, 0.1);
	padding: 20px;
}

.box:hover {
	transform: scale(1.05);
}

.box h2,
.box h3 {
	color: #f5f5f5;
	padding: 5%;
	font-size: 18px !important;
	font-family: "Fira Code", monospace;
	font-size: 2rem;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 15px;
	min-height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.box p {
	color: #ccc;
	margin: 1%;
	padding: 0%;
	font-family: "Fira Code", monospace;
	font-size: 14px !important;
}

/* Wrapper */
.wrapper {
	width: 100%;
	height: 100%;
	min-height: 100vh;
	background-color: transparent; /* Transparent so root background shows through */
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 10px;
}

/* Section backgrounds */
#aboutMe,
#ai-ml-applications {
	background-color: transparent; /* Transparent so root background shows through */
	width: 100%;
}

/* Video Demo Two-Column Layout */
.video-demo-layout {
	display: flex;
	gap: 60px;
	align-items: flex-start;
	margin: 40px 0;
	width: 100%;
}

.video-demo-left {
	flex: 0 0 35%;
	max-width: 35%;
}

.video-demo-right {
	flex: 1;
	max-width: 65%;
}

.video-caption {
	margin-top: 20px;
	font-size: 14px;
	line-height: 1.6;
}

/* Video container */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	width: 100%;
	border-radius: 15px;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 15px;
}

/* Mobile responsive for video demo */
@media (max-width: 991px) {
	.video-demo-layout {
		flex-direction: column;
		gap: 30px;
	}

	.video-demo-left,
	.video-demo-right {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* AI/ML Projects Grid */
.ai-ml-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0;
}

/* AI Project Box - Matching Selected Projects Style */
.ai-project-box {
	position: relative;
	width: 100%;
	height: 400px;
	box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(5px);
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px;
	transition: transform 0.3s ease;
}

.ai-project-box:hover {
	transform: translateY(-5px);
}

.ai-project-box .project-title {
	color: #f5f5f5;
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.ai-project-box p {
	color: #ccc;
	font-family: "Fira Code", monospace;
	font-size: 14px;
	line-height: 1.6;
}

.ai-project-box .project-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: 20px;
}

.ai-project-box .project-icon {
	font-size: 2rem;
}

/* Photography Page Styles */
.photography-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 40px 0;
}

.photo-item {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease;
}

.photo-item:hover {
	transform: translateY(-5px);
}

.photo-container {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.photo-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

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

.photo-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 20px;
	color: white;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
	transform: translateY(0);
}

.photo-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #fff;
}

.photo-description {
	font-size: 0.9rem;
	color: #ccc;
	margin: 0;
}

/* Introduction section */
.introduction {
	flex: 0 0 50%;
	max-width: 50%;
	min-width: 50%;
	text-align: left;
	display: flex;
}

/* Logo image */
.logo-image {
	max-width: 30px !important;
	max-height: 40px !important;
	height: auto !important;
	position: relative !important;
	z-index: 1 !important;
	display: block !important;
	object-fit: contain !important;
}

/* Avatar Container */
.avatar-container {
	position: relative;
	display: inline-block;
	width: 300px;
	height: 300px;
	max-width: 100%;
}

/* Avatar Video and Fallback */
#avatar,
.avatar-video {
	border-radius: 50%;
	width: 300px;
	height: 300px;
	max-width: 100%;
	object-fit: cover;
	display: block;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(50px);
	-webkit-backdrop-filter: blur(25px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 1;
}

.avatar-fallback {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Avatar Toggle Button - Hidden */
.avatar-toggle {
	display: none !important;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.avatar-video {
		display: none;
	}

	.avatar-fallback {
		display: block;
	}

	.avatar-toggle {
		display: none !important;
	}
}

/* About section */
.about {
	color: white;
	font-family: "Courier New", monospace !important;
	text-align: center;
	font-size: 18px !important;
	margin: 15px 0 15px 0;
}

/* Data layout */
.data-layout-selected {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Basic HTML element styling */
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Roboto", sans-serif;
	background-color: #0b0b0b; /* Dark background */
	color: #fff;
	min-height: 100%;
	overflow-x: hidden;
}

/* Header styling */
header {
	background-color: #ffffff; /* White header as requested */
	padding: 10px 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

/* Header logo container */
.u-image.u-logo {
	position: relative;
	z-index: 1;
	display: inline-block;
}

.u-image.u-logo a {
	display: inline-block;
	text-decoration: none;
}

/* Header content container */
.u-sheet-1 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

/* Header logo positioning */
.u-image-1 {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	display: inline-block;
}

/* Ensure header text is dark on white background */
header .u-text,
header .u-text-1,
header .u-text-2,
header .u-text-3 {
	color: #333 !important;
}

.u-image-1 img {
	max-width: 60px;
	height: auto;
	width: auto;
	display: block;
}

img.logo-image {
	position: relative !important;
	z-index: 1 !important;
	display: block !important;
	max-width: 60px !important;
	height: auto !important;
	width: auto !important;
	object-fit: contain !important;
}

/* Ensure avatar doesn't float */
img#avatar {
	position: relative !important;
	z-index: 1 !important;
	display: block !important;
	max-width: 100% !important;
	height: auto !important;
}

/* Navigation container */
nav {
	position: relative;
	z-index: 1;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 30px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.hamburger {
	width: 25px;
	height: 3px;
	background-color: #333;
	transition: all 0.3s ease;
	display: block;
}

.hamburger:nth-child(2) {
	margin: 4px 0;
}

/* Mobile menu styles */
@media (max-width: 991px) {
	.mobile-menu-toggle {
		display: flex;
	}

	.u-nav-container {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.95);
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		z-index: 1000;
	}

	.u-nav-container.active {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.u-nav {
		flex-direction: column;
		padding: 20px 0;
	}

	.u-nav-item {
		margin: 0;
		text-align: center;
	}

	.u-nav-item a {
		display: block;
		padding: 15px 20px;
		font-size: 16px;
		color: #333;
	}
	.u-nav-item :hover {
		color: #ff2e63;
	}
}

/* Hamburger animation */
.mobile-menu-toggle.active .hamburger:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
}

nav li {
	margin: 0 20px;
}

nav a {
	color: #333 !important; /* Dark text for white header */
	text-decoration: none;
	padding: 10px 20px;
	transition: color 0.3s;
}

nav a:hover {
	color: #ff2e63;
}

/* Section styling */
section {
	padding: 40px 0;
}

/* Form styling */
.u-form {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px;
	border-radius: 10px;
}

.u-input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.9);
}

.u-btn {
	background-color: #ff2e63;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.u-btn:hover {
	background-color: #e0254f;
}

/* Utility classes */
.u-clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.u-text {
	color: #fff;
}

.u-black {
	background-color: #000;
}

.u-section-1 {
	background-image: linear-gradient(
			0deg,
			rgba(0, 0, 0, 0.3),
			rgba(0, 0, 0, 0.3)
		),
		url("../images/HomePageBG.jpg");
	background-position: 50% 50%;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.u-section-3 {
	background-color: transparent; /* Transparent so root background shows through */
}

.u-section-8 {
	background-color: transparent; /* Transparent so root background shows through */
}

/* Layout classes */
.u-sheet {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.u-expanded-width {
	width: 100%;
}

.u-container-style {
	position: relative;
}

.u-container-layout {
	padding: 20px;
}

.u-layout {
	display: flex;
	flex-wrap: wrap;
}

.u-layout-row {
	display: flex;
	width: 100%;
}

.u-layout-col {
	display: flex;
	flex-direction: column;
}

/* Text styling */
.u-text-1 {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 20px;
}

.u-text-2 {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

/* Hero text styling */
#hello {
	font-family: "Times New Roman", Times, serif !important;
	font-size: 7rem !important;
	text-align: left !important;
}

.u-text-3 {
	font-size: 1rem;
	line-height: 1.6;
}

.u-text-6 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 10px;
}

/* Project title */
.project-title a {
	font-size: 24px;
	color: #ff2e63;
	text-decoration: none;
}

.project-title a:hover {
	text-decoration: underline;
}

/* Form specific */
.u-form-group {
	margin-bottom: 20px;
}

.u-form-control-hidden {
	display: none;
}

.u-form-send-message {
	margin-top: 15px;
	padding: 10px;
	border-radius: 5px;
}

.u-form-send-success {
	background-color: #d4edda;
	color: #155724;
}

.u-form-send-error {
	background-color: #f8d7da;
	color: #721c24;
}

/* Footer */
.u-footer {
	background-color: #000;
	padding: 40px 0;
	text-align: center;
}

.u-small-text {
	font-size: 0.875rem;
	color: #ccc;
}

/* Backlink */
.u-backlink {
	background-color: #000;
	padding: 20px 0;
	text-align: center;
}

.u-link {
	color: #ff2e63;
	text-decoration: none;
}

.u-link:hover {
	text-decoration: underline;
}

/* ========================================
   RESPONSIVE WEB DESIGN - MOBILE FIRST
   ======================================== */

/* Mobile First - Base styles (320px+) */
@media (max-width: 575px) {
	/* Header adjustments for mobile */
	header {
		padding: 5px 0;
	}

	.u-sheet-1 {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}

	.u-image-1 img {
		max-width: 40px;
	}

	/* Navigation for mobile */
	nav ul {
		flex-direction: column;
		align-items: center;
		width: 100%;
		margin-top: 10px;
	}

	nav li {
		margin: 2px 0;
	}

	nav a {
		padding: 8px 15px;
		font-size: 14px;
	}

	/* Typography adjustments */
	.u-text-1 {
		font-size: 1.8rem;
		text-align: center;
	}

	.u-text-2 {
		font-size: 1.2rem;
	}

	#hello {
		font-size: 3rem !important;
	}

	.u-text-3 {
		font-size: 0.9rem;
	}

	/* Section adjustments */
	section {
		padding: 30px 0;
	}

	/* Wrapper adjustments */
	.wrapper {
		padding: 5px;
		min-height: auto;
	}

	.video-container {
		margin: 20px auto;
		max-width: 100%;
	}

	.photography-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.photo-container {
		height: 250px;
	}

	/* About section mobile */
	.introduction {
		flex: 1 1 100%;
		max-width: 100%;
		min-width: 100%;
		text-align: center;
	}

	/* Avatar mobile */
	.avatar-container {
		width: 250px;
		height: 250px;
	}

	#avatar,
	.avatar-video {
		width: 250px;
		height: 250px;
	}

	/* Social media links mobile */
	.social-media-links {
		width: 100%;
		justify-content: center;
	}

	.social-item {
		margin: 0 5px;
	}

	.social-item a {
		width: 2.5rem;
		height: 2.5rem;
	}

	/* Info boards mobile */
	.info-board {
		flex-direction: column;
		margin: 5% 0;
		text-align: center;
	}

	.skill-title {
		width: 100%;
		border-radius: 10px 10px 0 0;
	}

	/* Box styling mobile */
	.box {
		width: 90%;
		height: auto;
		margin: 15px auto;
		padding: 15px;
	}

	/* AI/ML projects mobile */
	.ai-ml-projects-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ai-project-box {
		padding: 15px;
	}

	.project-title {
		font-size: 1.1rem;
	}

	/* Projects grid mobile */
	.projects-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 20px 0;
	}

	.project-card {
		padding: 20px;
	}

	.modal {
		padding: 10px;
	}

	.modal-content {
		width: 100%;
		margin: 0;
		border-radius: 15px;
		max-height: 95vh;
	}

	.modal-header {
		padding: 20px 20px 15px;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 10px;
	}

	.modal-title {
		font-size: 1.5rem;
		grid-column: 1;
		grid-row: 1;
	}

	.modal-completion-date {
		grid-column: 1;
		grid-row: 2;
		text-align: left;
	}

	.modal-subtitle {
		grid-column: 1;
		grid-row: 3;
	}

	.modal-body {
		padding: 20px;
	}

	.modal-images {
		grid-template-columns: 1fr;
	}

	/* Resume modal mobile styles */
	.resume-modal-content {
		width: 95%;
		max-width: 400px;
		margin: 10px;
	}

	.resume-form {
		gap: 15px;
	}

	.form-actions {
		flex-direction: column;
		gap: 10px;
	}

	.btn {
		width: 100%;
		justify-content: center;
	}

	/* Contact form mobile */
	.u-layout-row {
		flex-direction: column;
		gap: 20px;
	}

	.u-size-30 {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.u-align-right {
		text-align: center;
	}

	/* Modal mobile */
	.modal-content {
		padding: 20px 15px;
		width: 95%;
		margin: 10px;
	}

	.modal-title {
		font-size: 1.5rem;
	}
}

/* Small tablets and large phones (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
	.u-text-1 {
		font-size: 2.2rem;
	}

	.wrapper {
		padding: 10px;
	}

	.box {
		width: 45%;
		margin: 15px;
	}

	.ai-ml-projects-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.social-media-links {
		width: 80%;
	}
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
	.u-text-1 {
		font-size: 2.5rem;
	}

	.wrapper {
		padding: 15px;
	}

	.box {
		width: 30%;
		margin: 20px;
	}

	.ai-ml-projects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	nav ul {
		flex-direction: row;
		justify-content: center;
	}

	nav li {
		margin: 0 15px;
	}

	#hello {
		font-size: 8rem !important;
	}
}

/* Desktop and large tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
	.u-text-1 {
		font-size: 3rem;
	}

	#hello {
		font-size: 10rem !important;
	}

	.ai-ml-projects-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.box {
		width: 28%;
	}
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
	.u-text-1 {
		font-size: 3.5rem;
	}

	.wrapper {
		max-width: 1400px;
		margin: 0 auto;
		padding: 20px;
	}

	.u-sheet {
		max-width: 1400px;
		padding: 0 60px;
	}

	.ai-ml-projects-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}

	.projects-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}

	.modal-content {
		max-width: 900px;
	}
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
	.wrapper {
		min-height: auto;
		padding: 10px;
	}

	section {
		padding: 20px 0;
	}

	.u-text-1 {
		font-size: 2rem;
	}
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.u-image-1 img,
	img.logo-image {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
}

/* Print styles */
@media print {
	header,
	nav,
	.u-footer,
	.u-backlink {
		display: none;
	}

	body {
		background: white !important;
		color: black !important;
	}

	.wrapper {
		box-shadow: none;
		background: white;
	}
}
