/* #region ROOT VALUES*/
:root {
	--font-primary: "Inter", sans-serif;
	--font-secondary: "Urbanist", sans-serif;

	--font-h1: 2.027rem;
	--font-h2: 1.802rem;
	--font-h3: 1.602rem;
	--font-h4: 1.424rem;
	--font-h5: 1.266rem;
	--font-h6: 1.125rem;
	--font-reg: 1rem;
	--font-s: 0.889rem;

	--background-primary: #161618;
	--accent-primary: #899eff;
	--accent-secondary: #7227e3;
	--text-primary: #eaeaea;
	--text-secondary: #b0b0b0;
	--text-reverse: #161618;
}
html {
	font-size: 16px;
	background-color: var(--background-primary);
	scroll-behavior: smooth;
	overflow-x: hidden;
	background-image: radial-gradient(
		rgba(255, 255, 255, 0.05) 1px,
		transparent 1px
	);
	background-size: 20px 20px; /* size of the grid */
}
body {
	margin: 0;
	overflow-x: hidden;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: none;
}
main {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 20px;
}
mark {
	background-color: #ffffb5;
}
@media (min-width: 1024px) {
	:root {
		--font-h1: 3.815rem;
		--font-h2: 3.052rem;
		--font-h3: 2.441rem;
		--font-h4: 1.963rem;
		--font-h5: 1.563rem;
		--font-h6: 1.25rem;
		--font-reg: 1rem;
		--font-s: 0.8rem;
	}
	html {
		font-size: 18px;
	}
	main {
		padding: 0 144px;
		margin: 80px auto;
		align-items: center;
		max-width: 1024px;
	}
}
/* Prevent right-click, selection, and dragging for all images */
img {
	user-select: none; /* ✅ Prevents selection */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;

	pointer-events: auto; /* ✅ Ensures images remain clickable */
	-webkit-touch-callout: none; /* ✅ Disables long-press save on iOS */

	-webkit-user-drag: none; /* ✅ Stops dragging in Safari */
}

/* TYPOGRRAPHY SYSTEM */
h1 {
	font-family: var(--font-secondary);
	font-weight: 700;
	font-size: var(--font-h1);
	line-height: 1.2;
	margin: 0;
	color: var(--text-primary);
}
h2 {
	font-family: var(--font-secondary);
	font-weight: 700;
	font-size: var(--font-h2);
	line-height: 1.2;
	margin: 0;
	color: var(--text-primary);
}
h3 {
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: var(--font-h3);
	line-height: 1.2;
	margin: 0;
	color: var(--text-primary);
}
h4 {
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: var(--font-h4);
	line-height: 1.3;
	margin: 0;
	color: var(--text-primary);
}
h5 {
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: var(--font-h5);
	line-height: 1.3;
	margin: 0;
	color: var(--text-secondary);
}
h6 {
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: var(--font-h6);
	line-height: 1.2;
	margin: 0;
	color: var(--text-secondary);
}
p {
	font-family: var(--font-primary);
	font-weight: 400;
	margin: 0;
	color: var(--text-primary);
}
.p-reg {
	font-size: var(--font-reg);
	line-height: 1.5;
}
.p-sm {
	font-size: var(--font-s);
	line-height: 1.2;
}
strong {
	font-weight: 600;
	color: var(--text-secondary);
}
/* #endregion ROOT VALUES*/

/* #region RESUABLE MISC COMPONENTS */
.arrow-icon {
	width: 1.5rem;
	height: 1.5rem;
	stroke: currentColor;
	transition: transform 0.2s ease-in-out;
}
.divider {
	width: 100%;
	height: 1px;
	background-color: #5a5a5a;
	margin: 0 auto;
}
.quote-container {
	display: flex;
	align-items: stretch;
	gap: 16px;
}
.quote-container p {
	color: var(--text-secondary);
}
.quote-divider {
	width: 2px;
	background-color: var(--text-secondary);
	border-radius: 2px;
	margin: 4px 0;
}
.outline-button {
	background: none;
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-size: var(--font-reg);
	line-height: 1.5;
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.3s ease-in-out;
	white-space: nowrap;
	position: relative;
	text-decoration: none;
	z-index: 1;
}
/* Gradient border effect */
.outline-button::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px; /* thickness of border */
	background: radial-gradient(
		circle at top left,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: -1;
}
.outline-button:hover {
	filter: brightness(1.5);
}
/* #endregion RESUABLE MISC COMPONENTS*/

/* #region DYNAMIC Header/TOC */
.project-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateY(0);
	transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
	z-index: 100;
	background-color: transparent; /* initially transparent */
	pointer-events: none;
}

/* Hide when scrolling down */
.project-header.hide {
	transform: translateY(-100%);
}

/* Show when scrolling up */
.project-header.show {
	transform: translateY(0);
}

/* Background color added only when scrolled past section-1 */
.project-header.scrolled-bg {
	background-color: rgba(22, 22, 24, 0.9); /* adjust color as desired */
}
.project-header .nav-links,
.project-header .nav-links a {
	pointer-events: auto; /* ✅ Allows interaction with nav items */
}
.header-layout {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 16px 20px 0px;
}
.header-layout a {
	text-decoration: none;
	pointer-events: auto;
}
.header-content {
	display: flex;
	gap: 8px;
	align-items: center;
}
.header-content button,
.header-content button * {
	pointer-events: auto;
}
.back-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	background: rgba(0, 0, 0, 0.8);
	border: none;
	padding: 8px 16px;
	border-radius: 25px;
	cursor: pointer;
	transition: background 0.3s;
}
.back-btn svg {
	width: 16px;
	height: 16px;
}
.toc-btn,
.toc-btn * {
	pointer-events: auto;
}
.toc-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #5a5a5a;
	border: none;
	gap: 8px;
	background: rgba(0, 0, 0, 0.8);
	padding: 8px 12px 8px 16px;
	border-radius: 25px;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.3s;
}
.back-btn:hover,
.toc-btn:hover {
	background: rgba(0, 0, 0, 0.6);
}
.toc-menu {
	position: absolute;
	top: 70px;
	right: 20px;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(12px);
	border-radius: 10px;
	padding: 10px 0;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
	display: none;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.toc-menu.active {
	display: block;
	pointer-events: auto;
}
.toc-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.toc-menu a {
	font-family: var(--font-primary);
	font-size: var(--font-s);
	line-height: 1.2;
	color: var(--text-secondary);
	text-decoration: none;
	padding: 8px 20px;
	display: block;
	transition: background 0.2s;
}
.toc-menu a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
}
.floating-toc {
	display: none;
	pointer-events: none;
}
@media (min-width: 1600px) {
	.header-content {
		display: none; /* ✅ Hides TOC inside header */
	}

	/* ✅ Floating TOC (Desktop Only) */
	.floating-toc {
		display: block;
		position: fixed;
		top: 25%;
		right: calc((100vw - 1440px) / 2 - 100px);
		transform: translateY(-25%);
		border-radius: 10px;
		padding: 10px 0;
		margin-right: 5px;
		width: 200px;
		pointer-events: auto;
		z-index: 9999;
	}
	.toc-header {
		font-family: var(--font-primary);
		font-size: var(--font-s);
		line-height: 1.2;
		color: var(--text-secondary);
		padding-bottom: 8px;
	}
	.floating-toc ul {
		display: flex;
		flex-direction: column;
		gap: 24px;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.floating-toc a {
		font-family: var(--font-primary);
		font-size: var(--font-s);
		line-height: 1.2;
		color: #5a5a5a; /* ✅ Default text color */
		text-decoration: none;
		display: block;
		transition: color 0.2s ease-in-out; /* ✅ Smooth color transition */
	}

	/* ✅ Change Text Color on Hover */
	.floating-toc a:hover {
		color: var(--accent-primary); /* ✅ Changes to accent color on hover */
	}
	.floating-toc a.active {
		color: var(--accent-primary);
		font-weight: 600 !important;
	}
}
/* #endregion DYNAMIC Header/TOC */

/* #region SCROLL MARGIN TOP FOR SECTIONS */
#section-2,
#section-3,
#section-4,
#section-5,
#section-6,
#section-7,
#section-8,
#section-9,
#section-10,
#section-11,
#section-12 {
	scroll-margin-top: 40px;
}
/* #endregion SCROLL MARGIN TOP FOR SECTIONS */

/* #region Section 1 BANNER*/
.project-hero img {
	height: 100%;
	max-height: 60vh;
	width: auto;
	object-fit: contain;
	z-index: 1;
}

.desktop-hero-banner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: flex-end;
	text-align: center;
	width: 100%;
	height: 100%;
}
.desktop-hero-banner img {
	max-height: none;
	align-self: center;
	width: 100%;
	max-width: 1024px;
}
/* #endregion Section 1 */

/* #region Section 2 PROEJCT OVERVIEW*/
.project-overview {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.overview-image {
	width: 100%;
	margin-bottom: 20px;
}

.project-summary {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.project-details {
	display: flex;
	width: 100%;
	text-align: center;
}
.detail-item {
	flex: 1;
}
.project-status,
.my-role {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.my-team a {
	font-family: var(--font-primary);
	font-weight: 400;
	margin: 0;
	color: #5a5a5a;
	font-size: var(--font-s);
	line-height: 1.2;
	transform: color 0.3s ease;
}
.show-team {
	display: inline-block;
	margin-top: 0.5rem;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
}
.show-team:hover {
	text-decoration: underline;
	filter: brightness(120%);
	color: var(--accent-primary);
}
/* Team details (Hidden by default) */
.team-details {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
	display: block;
}
.team-details.open {
	max-height: 500px;
	opacity: 1;
}

@media (min-width: 767px) {
	.project-overview {
		display: flex;
		flex-direction: row; /* ✅ Aligns items in a row */
		gap: 20px;
		align-items: flex-start; /* ✅ Aligns items at the top */
	}
	.project-summary {
		gap: 12px;
	}
	.project-details {
		display: flex;
		flex-direction: column;
		gap: 20px;
		width: fit-content; /* ✅ Shrinks to fit content */
		max-width: max-content; /* ✅ Ensures it only expands as needed */
		white-space: nowrap; /* ✅ Prevents text from wrapping */
	}
	.detail-item {
		display: inline-block;
		text-align: left;
		width: max-content; /* ✅ Ensures each detail item takes only the necessary space */
	}
	.project-status p {
		display: inline-block;
		width: max-content; /* ✅ Ensures the text does not wrap */
	}
}
/* #endregion Section 2 */

/* #region Section 3 PROJECT CHALLENGE*/
#section-3 {
	width: 100%;
}
.project-challenge {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.project-challenge-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.detail-card-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	gap: 8px;
}

.detail-card {
	flex: 1; /* Makes all cards equal width */
	max-width: 100%; /* Ensures responsiveness */
	padding: 12px;
	border-radius: 12px; /* Rounded corners */
	background: rgba(0, 0, 0, 0.3); /* Glass effect */
	backdrop-filter: blur(10px); /* Glass blur effect */
	-webkit-backdrop-filter: blur(10px); /* Safari support */
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1); /* Soft shadow */
	text-align: center;
	color: white; /* Adjust for contrast */
	height: auto; /* Allows the height to grow naturally */
	display: flex;
	gap: 8px;
	flex-direction: column;
}
@media (min-width: 767px) {
	.detail-card-container {
		flex-direction: row;
		gap: 20px;
	}
}
/* #endregion Section 3 */

/* #region Section 4 EXPLORATION*/
/* Exploration Tabs */
.design-process {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.tab-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.process-tabs {
	position: relative;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--text-secondary);
	width: 100%;
	max-width: 400px;
}
.tab-button {
	flex: 0 1 auto; /* ensures tabs fit content */
	padding: 4px 4px 8px; /* add horizontal padding for comfortable spacing */
	cursor: pointer;
	font-family: var(--font-primary);
	font-weight: 400;
	line-height: 1.5;
	color: var(--text-secondary);
	transition: color 0.3s ease, font-weight 0.3s ease;
	position: relative;
}

.tab-button.active {
	color: var(--accent-primary);
	font-weight: 600;
}
.tab-underline {
	position: absolute;
	bottom: -1px; /* Aligns exactly at bottom border */
	left: 0;
	height: 2px;
	width: 0;
	background-color: var(--accent-primary);
	transition: all 0.3s ease;
}
.exploration-showcase {
	display: none;
	width: 100%; /* Ensures the container takes full width */
}
.exploration-showcase-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* Show the active tab's content */
.exploration-showcase.active {
	display: flex;
}

.exploration-showcase-mockup img {
	width: 100%;
	height: auto;
	mask: linear-gradient(0deg, transparent, white 25%, white 75%, transparent);
	-webkit-mask: linear-gradient(
		0deg,
		transparent,
		white 25%,
		white 75%,
		transparent
	);
}
.exploration-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.exploration-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
}
/* Hide Summary Points */
.toggle-details {
	background: none;
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-size: var(--font-reg);
	line-height: 1.5;
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.3s ease-in-out;
	white-space: nowrap;
	position: relative;
	z-index: 1;
}
/* Gradient border effect */
.toggle-details::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px; /* thickness of border */
	background: radial-gradient(
		circle at top left,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: -1;
}
.toggle-details:hover {
	filter: brightness(1.5);
}
.detail-card-container {
	overflow: hidden;
	opacity: 1;
	max-height: 500px; /* Adjust as needed to fit content */
	transition: max-height 0.6s ease-in-out, opacity 0.4s ease-in-out;
}

.detail-card-container.hidden {
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}
@media (min-width: 767px) {
	.exploration-header {
		justify-content: left;
	}
}
@media (min-width: 1024px) {
	.tab-section {
		gap: 24px;
	}
	.exploration-showcase-content {
		flex-direction: row;
		gap: 20px;
	}
	.exploration-showcase-mockup {
		width: 50%;
	}
	.exploration-details {
		flex: 1;
	}
}
/* #endregion Section 4 */

/* #region Section 5 FINAL DESIGNS*/
#section-5 {
	width: 100%;
}
.final-designs {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	position: relative;
}
.final-designs-heading {
	display: flex;
	width: 100%;
	max-width: 1024px;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
.final-designs-content {
	display: flex;
	position: relative;
	flex-direction: column; /* ✅ Stack Swiper, text, and pagination vertically */
	align-items: center;
	gap: 20px; /* ✅ Adds spacing between Swiper, text, and pagination */
	width: 100%;
}

#toggle-view {
	background: none;
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-size: var(--font-reg);
	line-height: 1.5;
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.3s ease-in-out;
	white-space: nowrap;
	position: relative;
	z-index: 1;
}
/* Gradient border effect */
#toggle-view::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px; /* thickness of border */
	background: radial-gradient(
		circle at top left,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: -1;
}
#toggle-view:hover {
	filter: brightness(1.5);
}
#toggle-view.hidden {
	display: none !important;
	pointer-events: none !important;
}
/* Swiper Container */
.swiper-container {
	width: 100%;
	margin: auto;
	position: relative;
	padding-bottom: 50px; /* Ensures space for pagination */

	mask: linear-gradient(90deg, transparent, white 25%, white 75%, transparent);
	-webkit-mask: linear-gradient(
		90deg,
		transparent,
		white 25%,
		white 75%,
		transparent
	);
}

/* Swiper Wrapper */
/* Prevent highlighting text and images inside Swiper */
.swiper-container,
.swiper-slide,
.swiper-slide img {
	user-select: none; /* ✅ Prevents selection */
	-webkit-user-select: none; /* ✅ Safari */
	-moz-user-select: none; /* ✅ Firefox */
	-ms-user-select: none; /* ✅ Internet Explorer */
}

/* Ensure pointer events remain active */
.swiper-slide {
	pointer-events: auto; /* ✅ Allows clicking and navigation */
}
.swiper-wrapper {
	display: flex;
	max-width: 500px;
	align-items: center;
}

/* Swiper Slide */
.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
	pointer-events: auto;
}

/* Ensure Images Respond to JS Updates */
.swiper-slide img {
	width: 100%;
	max-width: 350px;
	border-radius: 8px;
	transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Default Blur & Darken Effect */
.swiper-slide:not(.swiper-slide-active) img {
	filter: blur(5px) brightness(50%);
}

/* Ensure Center Image is Clear */
.swiper-slide-active img {
	filter: blur(0px) brightness(100%);
}

/* Image Container */
.mockup-slide-img {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Image Styling */
.mockup-slide-img img {
	width: 60vw; /* ✅ Image scales with viewport width */
	max-width: 350px; /* ✅ Prevents excessive scaling */
	height: auto; /* ✅ Maintains aspect ratio */
	border-radius: 8px;
	transition: width 0.3s ease-in-out;
	margin: 0 auto; /* ✅ Ensures horizontal centering */
}

/* Title & Description */
.carousel-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: center;
	align-self: center;
	margin-top: 10px;
	padding: 0 20px;
	max-width: 1024px;
}

/* Swiper Pagination */
.swiper-pagination {
	position: absolute; /* ✅ Keeps pagination inside Swiper */
	bottom: 10px; /* ✅ Moves pagination above carousel-content */
	left: 50%;
	transform: translateX(-50%); /* ✅ Centers pagination */
	z-index: 10;
}
/* Default color of pagination dots */
.swiper-pagination-bullet {
	background-color: var(
		--text-secondary
	) !important; /* ✅ Change this to any color */
}

/* Active (selected) pagination dot */
.swiper-pagination-bullet-active {
	background-color: var(
		--accent-primary
	) !important; /* ✅ Highlight active dot */
}
/* Lightbox Modal */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); /* ✅ Dark background overlay */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* Show lightbox when active */
.lightbox.active {
	opacity: 1;
	visibility: visible;
}

/* Lightbox Content */
.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Enlarged Image */
.lightbox-content img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
	cursor: pointer;
}

@media (min-width: 767px) {
	.final-designs-heading {
		justify-content: left;
		gap: 20px;
	}
}
@media (min-width: 1024px) {
	.final-designs-content {
		margin-left: -10vw;
		margin-right: -10vw;
		width: 100vw;
		max-width: 1200px;
	}
	.swiper-container {
		max-width: 1200px;
	}
}
/* #endregion Section 5 */

/* #region Section 6 CONCLUSION*/
.conclusion {
	display: flex;
	flex-direction: column;
	align-self: center;
	margin: 0 auto;
	gap: 16px;
	max-width: 1024px;
}
.conclusion-content h6 {
	padding-bottom: 8px;
}
.conclusion a {
	text-decoration: none;
	display: inline-flex; /* ✅ Ensures <a> only takes up space of its content */
	align-items: center; /* ✅ Aligns text & SVG properly */
	gap: 4px; /* ✅ Space between text and arrow */
	width: fit-content; /* ✅ Shrinks to fit content */
}
.conclusion-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.conclusion-header .button img {
	width: 24px;
	height: auto;
	padding-right: 8px;
}
.see-other-works {
	display: flex;
	align-items: center;
	gap: 4px;
}
.see-other-works svg {
	height: 24px;
	width: 24px;
	fill: #eaeaea; /* ✅ Default color */
	stroke: #eaeaea; /* ✅ Default stroke color */
	transition: fill 0.2s ease-in-out, stroke 0.2s ease-in-out,
		transform 0.2s ease-in-out;
}
.see-other-works p {
	display: flex;
	align-items: center;
	gap: 8px; /* Space between text and arrow */
	color: white;
	transition: color 0.2s ease-in-out, transform 0.2s ease-in-out; /* Ensure consistent timing */
}

/* Hover effect on both text and arrow */
.see-other-works:hover p,
.see-other-works:hover svg {
	transform: translateX(5px);
}
.see-other-works:hover p {
	color: var(--accent-secondary);
}
.see-other-works:hover svg {
	fill: var(--accent-secondary);
	stroke: var(--accent-secondary);
}
/* #endregion Section 6 */

/* #region FOOTER */
footer {
	position: relative;
	overflow: hidden;
	padding: 60px 20px 40px; /* ✅ Added top padding for spacing */
	width: 100%;
	background: linear-gradient(
		to top,
		rgba(30, 30, 30, 1) 0%,
		rgba(30, 30, 30, 0.8) 30%,
		rgba(30, 30, 30, 0.5) 60%,
		rgba(30, 30, 30, 0) 100%
	);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* ✅ Ensures content starts from the top */
	gap: 40px; /* ✅ Adds spacing between sections */
}
footer h4 {
	color: #5a5a5a;
}
.footer-container {
	width: 100%;
	margin: 0 auto;
}

.footer-container a {
	position: relative; /* ✅ Needed for underline animation */
	color: var(--text-primary);
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}
/* ✅ Text Color Change on Hover */
.footer-container a:hover {
	color: var(--accent-primary); /* ✅ Change text color */
}
.footer-container a:hover::after {
	transform: scaleX(1); /* ✅ Expands underline */
}

/* ✅ Underline Animation on Hover */
.footer-container a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px; /* ✅ Positions underline slightly below text */
	width: 100%;
	height: 2px;
	background-color: var(--accent-primary);
	transform: scaleX(0); /* ✅ Starts invisible */
	transform-origin: left;
	transition: transform 0.3s ease-in-out;
}

footer .cr-footer {
	text-align: center;
	padding-top: 24px;
}

.footer-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* ✅ Aligns content properly */
	gap: 40px;
}
/* ✅ Footer Links & Socials */
.footer-content-1 {
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: center;
	align-self: center;
}

.footer-cta {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.social-links {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.social-icons img {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* ✅ Slight Scale & Glow Effect on Hover */
.social-icons:hover img {
	transform: scale(1.1); /* ✅ Slightly enlarges the icon */
	filter: drop-shadow(0 0 8px var(--accent-primary)); /* ✅ Adds subtle glow */
}
/* ✅ Right Align "Other Links" */
.footer-content-2 {
	display: flex;
	flex-direction: column;
	align-self: center;
	gap: 12px;
	text-align: center;
}

.footer-content-2 p {
	justify-content: center;
	width: 100%;
	color: var(--text-secondary);
	text-align: center;
}

.more-links {
	display: flex;
	width: 100%;
	flex-direction: row;
	gap: 40px;
}

.more-links a {
	font-family: var(--font-primary);
	font-size: var(--font-s);
	line-height: 1.2;
	font-weight: 400;
	text-decoration: none;
	color: var(--text-primary);
}
@media (min-width: 767px) {
	footer {
		width: 100%;
		padding: 80px 0 40px;
		gap: 80px;
	}
	.footer-container {
		width: 80%;
	}
	.footer-content {
		flex-direction: row;
		align-self: center;
		justify-content: space-between;
	}
	.footer-content-1 {
		text-align: left;
	}
	.social-links {
		justify-content: left;
	}
	.footer-content-2 {
		align-self: right;
		gap: 32px;
	}
	.footer-content-2 p {
		white-space: nowrap; /* ✅ Prevents wrapping */
		text-align: right; /* ✅ Right-aligns the text */
	}
	.more-links {
		flex-direction: column;
		gap: 24px;
		align-items: flex-end;
		text-align: right;
	}
}
/* #endregion FOOTER*/

/* #region Section 7 COMPETITIVE ANALYSIS*/
.competitive-analysis {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.comp-container-row {
	display: flex;
	gap: 16px;
}
.comp-container-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.comp-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.comp-image-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
	gap: 8px;
}

.comp-image-container img {
	width: 100%;
	height: auto;
}
@media (min-width: 767px) {
	.comp-image-container p {
		display: none;
	}
}
/* #endregion Section 7 */

/* #region Section 8 USER INTERVIEW*/
.user-interviews {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.user-interview-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.interview-question {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.interview-question img {
	width: 100%;
}
/* #endregion Section 8 */

/* #region Section 9 HYPOTHESIS*/
.hypothesis {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hypothesis-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hypothesis-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
/* #endregion Section 9 */

/* #region Section 10 USERFLOW */
#section-10 {
	width: 100%;
}
#section-10 h5 {
	padding-bottom: 12px;
}
.userflow-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.userflow {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.userflow img {
	width: 100%;
	height: auto;
}
.user-story {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.user-story img {
	width: 100%;
	height: auto;
}
.userflow-carousel-content {
	padding-bottom: 16px;
}
.userflow-carousel-content h4 {
	padding-bottom: 8px;
}
.userflow-carousel-row {
	display: flex;
	overflow-x: auto;
	scroll-behavior: auto;
	gap: 1rem;
	padding: 0.5rem 0;

	/* Initial mask settings */
	-webkit-mask-image: none;
	mask-image: none;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-overflow-scrolling: touch;
}

.userflow-carousel-row img {
	max-height: 60vh;
	flex-shrink: 0;
	pointer-events: auto;
	scroll-snap-align: start;
}
/* #endregion Section 10 USERFLOW */

/* #region Section 11 MOCKUPS */
#section-11 h6 {
	padding-bottom: 20px;
}
.mockup-content {
	padding-bottom: 16px;
}
.mockup-content h4 {
	padding-bottom: 8px;
}
.mockup-content img {
	width: 100%;
}
.mockup-row {
	display: flex;
	overflow-x: auto;
	scroll-behavior: auto;
	gap: 1rem;

	/* Initial mask settings */
	-webkit-mask-image: none;
	mask-image: none;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-overflow-scrolling: touch;
}
.mockup-row img {
	object-fit: contain;
	max-height: 60vh;
	width: auto;
	flex-shrink: 0;
	pointer-events: auto;
	scroll-snap-align: start;
}
.mockup-row img,
.userflow-carousel-row img {
	user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	pointer-events: auto; /* Keep pointer events so clicks still work */
}
.mockup-row,
.userflow-carousel-row {
	cursor: grab;
}
.mockup-row:active,
.userflow-carousel-row:active {
	cursor: grabbing;
}

@media (min-width: 1024px) {
	.mockup-row {
		mask-image: none;
		-webkit-mask-image: none;
		width: 100%;
	}
	.mockup-row img {
		height: auto; /* ✅ adjust as needed */
		width: 100%;
		object-fit: contain;
		flex-shrink: 1;
		overflow-x: hidden;
	}
}
/* #endregion Section 11 MOCKUPS */

/* #region Section 12 KEY FEATURES */
#section-12 h5 {
	padding-bottom: 20px;
}
.key-features {
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.key-feature-mockup-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.key-feature-mockup-content video {
	height: 60vh;
	width: auto;
}
@media (min-width: 767px) {
	#section-12 {
		padding-bottom: 20px;
	}
	.key-feature-mockup-content {
		flex-direction: row;
		align-items: center;
	}

	.key-feature-mockup-content:nth-child(even) {
		flex-direction: row-reverse;
	}

	.key-feature-mockup-content video {
		flex: 1;
		height: auto;
		width: auto;
		max-height: 90vh;
		object-fit: contain;
	}

	.key-feature-description {
		flex: 1;
	}
}
/* #endregion Section 12 KEY FEATURES */
