/* GENERAL */
:root{
	--background-color:#090909;
	--text-color: #ffffff;
	--darker-text-color: #c92c36;
	--thales-brand-blue: #00bbdd;
	--statics-brand-red: #ff4655;
	--statics-brand-red-soft: rgba(255, 70, 85, 0.16);
}

* {
	margin: 0;
	padding: 0;
}

/* Use Inter as a modern, clean font with fallback to Open Sans and system fonts */

body {
	font-family: "Lato", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.4;
	background: var(--background-color);
	color: var(--text-color);
	user-select: none;
}

h1 {
	font-size: 3rem;
	font-weight: 800;
}


#EthicalName {
	font-size: 5rem;
	text-align: center;
	padding: 2rem;
}

#EthicalTitle {
	font-size: 5rem;
	text-align: center;
	padding-top: 2rem;
}

#HeadingsTop {
	font-size: 3rem;
	/* color: #00ff88; */
	text-align: start;
	padding-top: 5rem;
}

#ListEthical {
	/* color: #00ff88; */
	font-size: 1.2rem;
	text-align: justify;

}

#Headings {
	font-size: 2rem;
	color: var(--text-color);
	text-align: start;
	/* padding-top: 1rem; */
}

#By {
	font-size: 2rem;
	color: var(--text-color);
	text-align: center;
}

#DescriptionContainers {
	display: inline-block;
	justify-content: center;
	align-items: center;
	padding-left: 20vw;
	padding-right: 20vw;
	padding-top: 2vh;
	font-size: 2rem;
}

/* do a media query for description containers that adjusts padding and size for mobile less than 700px width */
@media screen and (max-width: 1200px) {
	#DescriptionContainers {
		padding: 2vh 5vw;
	}

	#Description {
		font-size: 0.9rem;
		word-wrap: break-word;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.Description2 {
		font-size: 0.8rem;
		text-align: start;
		word-wrap: break-word;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	#Headings {
		font-size: 1.5rem;
	}
}

#PortraitPicturesContainer {
	display: flex;
	justify-content: flex-start;
	align-items: start;
	max-width: 50%
}

#Description {
	font-size: 1.2rem;
	text-align: start;
}

.Description2 {
	font-size: 1rem;
	text-align: start;
}

.citation {
	font-size: 0.8em;
	/* Adjust the font size to make it smaller */
	color: gray;
	/* Optional: change the color if you want it to be less prominent */
}

.logo{
	margin: 1rem;
}


#PortraitPicturesContainer #Description {
	font-size: 1.2rem;
	flex: 1;
	margin-top: 2rem;
	margin-right: 1rem;
	text-align: left;
}

#EthicalPictures {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 40px;
	margin-right: 1rem;
}

#EthicalPictures2 {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 40px;
	margin-right: 1rem;
}

#PortraitPicturesContainer2 #EthicalPictures {
	display: block;
	max-width: 50%;
	max-height: 50%;
	width: auto;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 40px;
	margin-right: 1rem;
}

#PortraitPicturesContainer #EthicalPictures {
	display: block;
	max-width: 50%;
	max-height: 50%;
	width: auto;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 40px;
	margin-right: 1rem;
}

#custom-cursor {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease-out, width 0.2s ease-in-out, height 0.2s ease-in-out, opacity 0.3s ease-in-out; /* Added transitions for new effects */
  opacity: 1; /* Ensure it's visible by default */
}

#custom-cursor.hovered {
  width: 30px; /* Larger size on hover */
  height: 30px;
}

#timeline_section {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}


#thales {
    background: #00bbdd;
    background-clip: text;
    color: transparent;
	text-shadow: 0 0 10px rgba(0, 187, 221, 0.5); /* Add a subtle glow */
    transition: all 0.3s ease; /* Add a smooth transition */
}

.thales-collapsible-section {
	width: min(1100px, 94vw);
	margin: 1.5rem auto;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.thales-toggle-btn {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.9rem;
	text-align: left;
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(107, 215, 239, 0.28);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	color: var(--text-color);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.thales-toggle-text {
	display: flex;
	align-items: center;
	min-width: 0;
}

.thales-toggle-title {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.88);
}

.thales-toggle-btn:hover,
.thales-toggle-btn:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(107, 215, 239, 0.5);
	background: rgba(107, 215, 239, 0.06);
	outline: none;
}

.thales-toggle-icon {
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	border: 1px solid rgba(107, 215, 239, 0.28);
	position: relative;
	flex-shrink: 0;
	transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.thales-toggle-icon::before,
.thales-toggle-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: rgba(107, 215, 239, 0.9);
	transform: translate(-50%, -50%);
	border-radius: 99px;
	transition: transform 0.3s ease;
}

.thales-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.thales-collapsible-content {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transform: translateY(-8px);
	transition: max-height 0.5s ease, opacity 0.35s ease, transform 0.35s ease;
	will-change: max-height, opacity, transform;
}

.thales-collapsible-content .testimonials-bento-grid {
	padding-top: 1rem;
}

.thales-collapsible-section.open .thales-collapsible-content {
	opacity: 1;
	transform: translateY(0);
	margin-top: 0.65rem;
}

.thales-collapsible-section.open .thales-toggle-icon {
	border-color: rgba(107, 215, 239, 0.55);
	background-color: rgba(107, 215, 239, 0.06);
	transform: rotate(180deg);
}

.thales-collapsible-section.open .thales-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

@media screen and (max-width: 768px) {
	.thales-toggle-btn {
		padding: 0.7rem 0.9rem;
	}

	.thales-toggle-title {
		font-size: 0.9rem;
	}
}


.bg {
	background: var(--background-color);
    background-size: 400% 400%; /* Creates a larger background than the element */
    animation: gradientShift 5s ease infinite; /* Animates the background position */
    bottom: 0;
    left: 0;
    opacity: .9;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.fade-out-text {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-out-text.fade-out {
	opacity: 0;
	transform: translateY(-20px) scale(0.8);
}

#dob-container {
	position: absolute;
	height: 10vh;
	gap: 1rem;
	margin-top: 2rem;
}

.timeline {
	margin-top: 50px;
	list-style-type: none;
	position: relative;
}

.timeline .event {
	border-radius: 25px;
	padding: 25px;
	position: relative;
	margin: 80px;
	box-shadow: 0 2px 5px var(--text-color);
	opacity: 1;
	transition: transform 0.3s, box-shadow 0.3s, border-radius 0.3s;
}

/* hide the mouse cursor */
/* body {
	cursor: none;
} */

@keyframes appear {
	from {
		opacity: 0;
		scale: 0.5;
	}

	to {
		opacity: 1;
		scale: 1;
	}
}

.timeline_text {
	font-size: 1.5rem;
	padding-top: 50px;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--text-color);
	transform: translateX(-50%);
}

#timeline_section {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.timeline .event:nth-child(odd) {
	margin-right: 52%;
	margin-left: 5%;
	text-align: left;
}



#last_updated{
	font-size: 0.9rem;
	font-style: oblique;
	margin-top: 1rem;
	color: #555;
}

.top-title1 {
	font-size: 3rem;
	text-align: center;
	font-weight: 800;
	letter-spacing: 1px;
	text-shadow: none; /* Remove shadowing */
	color: #fff;
	transition: letter-spacing 0.5s, text-shadow 0.5s, color 0.5s, background 0.5s;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	margin-bottom: 1vh;
}

.top-title1.glow-on-hover:hover {
	letter-spacing: 4px;
	background: radial-gradient(circle at 60% 40%, #e5ff00 0%, #ff3c3c 60%, #ff6a00 100%);
	background-size: 200% 200%;
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

#showcase .top-title1 {
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
	letter-spacing: 1px;
}


.timeline .event h3:nth-child(odd) {
	text-align: left;
	font-size: 1.2rem;
}

/* make the timeline event that 'bloo' in the class name a diff bg colour*/
.bloo{
	background: linear-gradient(90deg, rgba(12, 12, 12, 0.89), rgba(0, 183, 255, 0.19));
}


.timeline .event:nth-child(even) {
	margin-left: 52%;
	margin-right: 5%;
	text-align: right;
}

@media screen and (max-width: 900px) {

	/* make them take full width from the middle  */
	.timeline .event:nth-child(odd) {
		margin-right: 52%;
		text-align: left;
	}

	.timeline .event:nth-child(even) {
		margin-left: 52%;
		text-align: right;
	}

	.timeline .event h3 {
		font-size: 1rem;
	}
}


@keyframes slide {
	0% {
		transform: translateX(-25%);
	}

	100% {
		transform: translateX(25%);
	}
}

html {
	scroll-behavior: smooth;
	height: 100%;
}

.section-rail {
	position: fixed;
	left: 1rem;
	top: 50%;
	transform: translate3d(-0.8rem, -50%, 0);
	z-index: 1200;
	display: flex;
	flex-direction: column;
	gap: 0.32rem;
	padding: 0.25rem 0;
	border-radius: 1rem;
	background: transparent;
	border: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
	width: 2.2rem;
	pointer-events: auto;
	user-select: none;
	overflow: visible;
	opacity: 0;
	transition: opacity 0.32s ease, transform 0.32s ease;
	pointer-events: none;
}

.section-rail.is-visible {
	opacity: 0.5;
	transform: translate3d(0, -50%, 0);
	pointer-events: auto;
}

.section-rail:hover,
.section-rail:focus-within {
	opacity: 1;
}

.section-rail__track {
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: 0.58rem;
	width: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.section-rail__item {
	position: relative;
	display: flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.48);
	text-decoration: none;
	padding: 0.32rem 0.25rem 0.32rem 0.15rem;
	min-height: 2rem;
	min-width: 2.2rem;
	border-radius: 0.6rem;
	overflow: visible;
	cursor: pointer;
	transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.section-rail__item:hover,
.section-rail__item:focus-visible {
	color: rgba(255, 255, 255, 0.9);
	transform: translateX(2px);
	outline: none;
}

.section-rail__item.hover-underline-animation::after {
	bottom: 0.26rem;
	height: 1px;
	opacity: 0.75;
}

.section-rail__dot {
	position: absolute;
	left: 0.3rem;
	top: 50%;
	width: 0.52rem;
	height: 0.52rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transform: translateY(-50%) scale(0.82);
	box-shadow: 0 0 0 rgba(0, 187, 221, 0);
	transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.section-rail__label {
	position: absolute;
	left: 1.45rem;
	top: 50%;
	transform: translate3d(8px, -50%, 0);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.9);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.section-rail__item.is-active {
	color: #ffffff;
}

.section-rail__item.is-active .section-rail__dot {
	background: #00bbdd;
	border-color: rgba(255, 255, 255, 0.38);
	transform: translateY(-50%) scale(1.25);
	box-shadow: 0 0 0 8px rgba(0, 187, 221, 0.09), 0 0 18px rgba(0, 187, 221, 0.55);
}

.section-rail__item.is-active .section-rail__label,
.section-rail__item:hover .section-rail__label,
.section-rail__item:focus-visible .section-rail__label {
	opacity: 1;
	transform: translate3d(0, -50%, 0);
}

.section-rail__item.is-past .section-rail__dot {
	background: rgba(0, 187, 221, 0.7);
	border-color: rgba(0, 187, 221, 0.35);
}

.section-rail__item.is-past {
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1100px) {
	.section-rail {
		left: 0.7rem;
		width: 2.2rem;
	}

	.section-rail__label {
		font-size: 0.68rem;
	}
}

@media (max-width: 900px) {
	body {
		padding-bottom: 5.75rem;
	}

	.section-rail {
		left: 50%;
		top: auto;
		bottom: 0.9rem;
		transform: translate3d(-50%, 0.75rem, 0);
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: min(94vw, 36rem);
		padding: 0.65rem 0.7rem 0.7rem;
		gap: 0.25rem;
		border-radius: 20px;
		opacity: 0;
		pointer-events: none;
	}

	.section-rail.is-visible {
		opacity: 0.5;
		transform: translate3d(-50%, 0, 0);
		pointer-events: auto;
	}

	.section-rail__track {
		top: 0.38rem;
		bottom: auto;
		left: 0.7rem;
		right: 0.7rem;
		width: auto;
		height: 2px;
	}

	.section-rail__track::before {
		width: var(--rail-progress, 0%);
		height: 100%;
	}

	.section-rail__item {
		flex: 1 1 0;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		gap: 0.22rem;
		padding: 0.8rem 0.3rem 0.7rem;
		min-height: 3.15rem;
		border-radius: 16px;
	}

	.section-rail__item.hover-underline-animation::after {
		bottom: 0.28rem;
	}

	.section-rail__icon {
		position: static;
		transform: none;
		font-size: 1rem;
	}

	.section-rail__dot {
		position: static;
		transform: scale(0.88);
		margin: 0;
	}

	.section-rail__item.is-active .section-rail__icon,
	.section-rail__item.is-past .section-rail__icon {
		transform: none;
	}

	.section-rail__label {
		position: static;
		transform: none;
		font-size: 0.62rem;
		letter-spacing: 0.08em;
		text-align: center;
		width: max-content;
	}

	.section-rail__item:hover,
	.section-rail__item:focus-visible {
		transform: translateY(-1px);
	}
}

/* if its from networks.html then apply this style */
/* .networks {
	margin: 20px;
	font-family: 'Open Sans', sans-serif;
	line-height: 1.4;
	background: var(--background-color);
	color: var(--text-color);
}

/* TRANSITION */
a,
.btn {
	transition: all 300ms ease;
}

/* DESKTOP NAV */
/* #desktop-nav{
	position: sticky;
	top: 0px;
}
*/
#desktop-nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/* background-color: #1a2123;
	*/
	z-index: 1000;
	transition: top 0.3s;
	display: flex;
	justify-content: space-around;
	align-items: center;

}

#desktop-nav.sticky {
	top: -17vh;
	/* Adjust this value based on your nav height */
}

nav,
.nav-links {
	display: flex;
	
}

nav {
	justify-content: space-around;
	align-items: center;
	height: 17vh;
}

.nav-links {
	gap: 2rem;
	list-style: none;
	font-size: 1.5rem;
}

a {
	color: var(--text-color);
	text-decoration: none;
	text-decoration-color: var(--text-color);
	transition: all 300ms ease;
}


#clickable {
	text-decoration: underline;
}

#clickable:hover {
	color: var(--text-color);
	/* Change the color to match your design */
}

.hover-underline-animation {
	display: inline-block;
	position: relative;
	color: var(--text-color);
}

.hover-underline-animation::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: var(--text-color);
	transform-origin: bottom right;
	transition: transform .25s ease-out;
}

.hover-underline-animation:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}


/* override the color for hover-underline-animation if its #thales and the colour needs to be blue */
#thales.hover-underline-animation::after {
	background-color: #00bbdd;
}

/* HAMBURGER MENU */
#hamburger-nav {
	display: none;
}


#profile_detail .app-details-container {
	display: flex;
	flex-direction: row; /* Arrange side-by-side on larger screens */
	align-items: flex-start; /* Align items to the top */
	max-width: 1200px; /* Adjust as needed */
	margin: 2rem auto;
	padding: 2rem;
	gap: 2rem; /* Space between card and screenshots */
}

#profile_detail .app-info-card {
	flex: 1 0 300px; /* Minimum width of the card */
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #111111; /* Light background for the card */
	text-align: left;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


#profile_detail .app-info-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#profile_detail .app-info-card h1 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

#profile_detail .app-info-card h2.highlight {
	color: #797979; /* Highlight color for the download count */
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

#profile_detail .app-info-card p {
	line-height: 1.6;
	color: #555;
	margin-bottom: 1rem;
}

#profile_detail .project-links {
	list-style: none;
	padding: 0;
	margin-bottom: 1.5rem;
}

#profile_detail .project-links li {
	margin-bottom: 0.5rem;
}

#profile_detail .project-links a {
	color: #8a8a8a;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s ease-in-out;
}

#profile_detail .project-links a:hover {
	color: #ffffff;
}

#profile_detail .app-screenshots.grid-layout {
	flex: 2 1 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	padding: 1rem;
	border-radius: 8px;
}

#profile_detail .app-screenshots.grid-layout img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
}

#profile_detail .app-screenshots.grid-layout img:hover {
	transform: scale(1.03);
}

#profile_detail .tech-stack,
#profile_detail .key-features {

	color: #777;
	margin-bottom: 0.8rem;
}

#profile_detail .tech-stack strong,
#profile_detail .key-features strong
{
	font-weight: bold;
	color: var(--text-color);
}

.key-features ul {
	margin-top: 0.5rem;
	list-style: none; /* Remove bullet points */
	padding-left: 0; /* Remove default left padding */
	margin-bottom: 0.8rem; /* Keep some bottom margin */
}

.key-features li {
	margin-bottom: 0.3rem; /* Add a little spacing between list items */
}

/* Responsive adjustments */
@media (max-width: 1000px) {
	#profile_detail .app-details-container {
		flex-direction: column; /* Stack on smaller screens */
	}

	#profile_detail .app-info-card {
		width: auto;
		margin-bottom: 1.5rem;
	}

	#profile_detail .app-screenshots.grid-layout {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjust grid for smaller screens */
	}

	#profile_detail .app-info-card h1{
		font-size: 1.4rem;
	}

	#profile_detail .app-info-card h2.highlight{
		font-size: 1.1rem;
	}


}


#about_me {
	padding: 3rem 1.5rem;
	text-align: center;
}

#about_me h1 {
	font-size: 2.5rem;
	margin-bottom: 1.2rem;
	color: var(--text-color);
}

.about-me-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem;
	border-radius: 1rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	background: #0c0c0c;
	gap: 2rem;
}

.about-me-container img {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	border: 3px solid #232323;
}

.about-me-text {
	text-align: left;
	flex: 1;
}

.about-me-text h2 {
	font-size: 1.5rem;
	margin-bottom: 0.7rem;
	color: var(--text-color);
	font-weight: 700;
}

.about-me-text p {
	line-height: 1.7;
	color: #aaa;
	font-size: 1.05rem;
	margin-bottom: 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
	.about-me-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.5rem 0.5rem;
		gap: 1.2rem;
	}

	.about-me-container img {
		margin-right: 0;
		margin-bottom: 1rem;
		width: 110px;
		height: 110px;
	}

	.about-me-text {
		text-align: center;
	}
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
	.about-me-container {
		flex-direction: column; /* Stack image and text */
		align-items: center;
		text-align: center;
	}

	.about-me-container img {
		margin-right: 0;
		margin-bottom: 20px;
		width: 120px;
		height: 120px;
	}

	.about-me-text {
		text-align: center;
		flex-grow: 1;
	}
}

.project-tech-icons {
	display: flex;
	gap: 1rem; /* Adjust the spacing between icons */
	margin-top: 1rem; /* Add some space above the icons */
	font-size: 1.5rem; /* Adjust the size of the icons */
	color: #aaa; /* Adjust the color of the icons */
}

.project-tech-icons i:hover {
	color: #fff; /* Change color on hover */
}

.hamburger-menu {
	position: relative;
}

.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 24px;
	width: 30px;
	margin: 2vh;
}

.hamburger-icon span {
	width: 100%;
	height: 2px;
	background-color: var(--text-color);
	transition: all 0.6s ease-in-out;
}

.menu-links {
	margin-top: 10px;
	border-radius: 20px;
	position: absolute;
	top: 100%;
	box-shadow: 0 0 3px var(--text-color);
	right: 0;
	width: fit-content;
	max-height: 0;
	overflow: hidden;
	transition: all .6s ease-in-out;
	z-index: 1000;
}

.menu-links a {
	display: block;
	padding: 10px;
	text-align: center;
	font-size: 1.5rem;
	color: var(--text-color);
	text-decoration: none;
	transition: all 0.6s ease-in-out;
}

.menu-links li {
	list-style: none;
}

.menu-links.open {
	max-height: 300px;
}

.hamburger-icon.open span:first-child {
	transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
	opacity: 0;
}

.hamburger-icon.open span:last-child {
	transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
	transform: none;
}

.hamburger-icon span:first-child {
	opacity: 1;
}

.hamburger-icon span:first-child {
	transform: none;
}


/* PROFILE SECTION */
.glow {
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
}

.glow:hover {
	text-shadow: 0 0 50px #f5f1f2;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
}

#showcase {
	padding-top: 5vh;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	height: fit-content;
	opacity: 0;
	animation: fade-in 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
	
}

#profile{
	min-height: 100svh;
	padding-top: 17vh;
	padding-bottom: 4rem;
	position: relative;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: center;
}

@media screen and (max-width: 1200px) {
	#profile{
		min-height: 100svh;
		padding-top: 14vh;
		padding-bottom: 3rem;
	}
	
}

section {
	width: auto;
	margin: auto;
	padding: 5vw;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	height: auto;
	opacity: 0;
	animation: fade-in 1s ease forwards;
	/* Add fade-in animation */
	box-sizing: border-box;
}

section #about_me {
	margin-top: 5vh;
}

.section__pic-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 300px;
	width: 300px;
	margin: auto 0;
	position: relative;
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(-200px);
		/* Add a slight upward movement */
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section__pic-container img {
	max-width: 100%;
	/* Ensure the image does not exceed its container */
	max-height: 100%;
	/* Ensure the image does not exceed its container */
}


.section__text p {
	font-weight: 300;
}

#about_me_detailed
{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

}


.btn {
	transition: all 300ms ease;
	border-radius: 9rem;

}
.btn:hover {
	text-decoration: none;
	transform: scale(1.05);
}

.dissertation-button {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2.5rem auto 3.5rem;
	padding: 0 1rem;
	text-align: center;
}

.dissertation-button {
	width: fit-content;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.8rem;
	border: 2px solid #ff4d4d;
	border-radius: 999px;
	background: linear-gradient(135deg, #e11d1d 0%, #ff3b3b 100%);
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(255, 77, 77, 0.45), 0 0 42px rgba(255, 59, 59, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.dissertation-button:hover {
	transform: translateY(-2px) scale(1.03);
	filter: brightness(1.08);
	box-shadow: 0 0 24px rgba(255, 77, 77, 0.6), 0 0 60px rgba(255, 59, 59, 0.35);
}

.dissertation-button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.9);
	outline-offset: 4px;
}

/* Scroll Down Arrow */
.scroll-down-container {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-down-container:hover {
    opacity: 1;
}

.scroll-down-container p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 300;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(-45deg);
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(8px) rotate(-45deg); }
    60% { transform: translateY(4px) rotate(-45deg); }
}

/* ABOUT SECTION */
#about {
	position: relative;
}

.about-containers {
	gap: 2rem;
	margin-bottom: 2rem;
	margin-top: 2rem;
}

.about-details-container {
	justify-content: center;
	flex-direction: column;
}

.about-containers,
.about-details-container {
	display: flex;
}

.about-pic {
	border-radius: 2rem;
}


.section-container {
	gap: 4rem;
}

.section__pic-container {
	height: 400px;
	width: 400px;
	margin: auto 0;
}

.section__text {
	align-self: center;
	text-align: center;
}

.section__text p {
	font-weight: 500;
}

.section__text__p1 {
	text-align: center;
}

.section__text__p2 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.bento-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	grid-gap: 8ch;
}

.grid-item {
	border-radius: 10px;
	text-align: start;
	transition: transform 0.3s ease-in-out, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
	margin: 0 auto;
	box-shadow: 0 0 4px var(--background-color);
	display: flex;
	flex-direction: row;
	/* Default flex direction */
	flex-wrap: wrap;
	/* animation: fade-in-scale 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%; */
}

.bento-grid .grid-item:hover {
	transform: scale(1.01);
}

@keyframes fade-in-scale {
    0% {
        opacity: 0;
        transform: scale(0.9) rotate(-3deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.feature {
	display: flex;
	flex-direction: column;
	padding: 20px;
	flex: 1;
}

.feature h2 {
	font-size: 1.3rem;
	font-weight: 900;
	margin: 0 0 10px 0;
}

.feature p {
	font-size: 0.9rem;
	font-weight: 400;
	margin: 0 0 20px 0;
}

.learn-more {
	/* place at bottom left */
	align-self: flex-start;
	background-color: transparent;
	color: var(--text-color);
	border: 2px solid var(--text-color);
	padding: 10px 25px;
	border-radius: 50px;
	margin-top: auto;
	transition: background-color 0.2s ease;
}

/* button inside grid-item */
.grid-item:hover .learn-more {
	background-color: var(--text-color);
	color: var(--background-color);
}

/* .grid-item:hover {
    background-color: #ffffff;
	color: #222;
} */

.image {
	flex: 1;
	/* Takes half of the grid item */
	padding: 10px;
}

.image img {
	max-width: 100%;
	height: auto;
}




.video-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	border-radius: 35px;
}

/* Ensure video dimensions are defined (replace with actual values) */
.video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	/* Example width */
	height: 200px;
	/* Example height */
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.video-container:hover .video-iframe {
	opacity: 1;
}


.top-title.sticky {
	word-spacing: 3rem;
}

.title {
	font-size: 3rem;
	text-align: center;
	top: 10vh;
}

.projectTitle {
	font-size: 6rem;
	text-align: center;
	margin-bottom: 6rem;
	position: sticky;
	top: 5vh;
	transition: top .5s, transform .5s;
}

.ethicalHackingTitle {
	font-size: 6rem;
	text-align: center;
	transition: top .5s, transform .5s;
}


.project_desc {
	font-size: 1rem;
	text-align: center;
	padding: 2rem;
}


#socials-container {
	display: flex;
	justify-content: center;
	align-self: auto;
	margin-top: 1rem;
	gap: 1rem;
}

/* ICONS */
.icon {
	height: 2.2rem;
}

/* BUTTONS */

.btn {
	font-weight: 600;
	transition: all 300ms ease;
	width: 8rem;
}

/* ABOUT SECTION */
#about {
	position: relative;
}

.about-containers {
	gap: 2rem;
	margin-bottom: 2rem;
	margin-top: 2rem;
}

.about-details-container {
	justify-content: center;
	flex-direction: column;
}

.about-containers,
.about-details-container {
	display: flex;
}

.about-pic {
	border-radius: 2rem;
}

.arrow {
	position: absolute;
	right: -5rem;
	bottom: 2.5rem;
}

.details-container {
	padding: 1.5rem;
	flex: 1;
	border-radius: 2rem;
	text-align: center;
}

/* .section-container {
	gap: 4rem;
	height: 80%;
} */

.section__pic-container {
	height: 400px;
	width: 400px;
	margin: auto 0;
}

/* EXPERIENCE SECTION */
#experience {
	position: relative;
}

.experience-sub-title {
	font-weight: 600;
	font-size: 1.75rem;
	margin-bottom: 2rem;
}

.experience-details-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.article-container {
	display: flex;
	text-align: initial;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 2.5rem;
	justify-content: space-around;
}

article {
	display: flex;
	width: 10rem;
	justify-content: space-around;
	gap: 0.5rem;
}

.projects_desc {
	font-size: 1rem;
}

/* PROJECTS SECTION */
#projects {
	position: relative;
}

.color-container {
	border-color: #000000;
	background: #ffffff17;
}

.project-img {
	border-radius: 1.5rem;
}


.zoom {
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.2s ease-in-out, opacity .3s ease, border-radius 0.3s ease, background-color 0.3s ease;
}

.feature_subtext
{
	font-size: 0.8rem;
	color: var(--darker-text-color);
	letter-spacing: 0.1rem;
	padding-bottom: 1rem;
}

.zoom:hover {
    border-radius: 20px;
    box-shadow: 
        0 0 3px rgba(255, 255, 255, 0.2); /* Subtle inner shadow */
	transform: translateY(-6px);
    transition: all 0.3s ease; /* Smooth transition */
}



.project-title {
	margin: 1rem;
}

/* Add hover animation to buttons */
.btn-container .btn {
	transition: color 0.3s ease, background-color 0.3s ease, transform 1.3s ease;
}

.btn-container .btn:hover {
	transform: scale(1.05);

}

/* CONTACT */
#contact {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: auto;  /* Allow height to adjust based on content */
	min-height: 60vh; /* Ensure a minimum height on larger screens */
	padding: 2rem 1rem; /* Adjust padding for smaller screens */
	text-align: center;
	margin: 0 auto;
  }
  
  #contact .section__text__p1 {
	font-size: 1.2rem;  /* Slightly smaller font size for smaller screens */
	color: var(--darker-text-color);
	font-weight: 600;
  }
  
  #contact .title {
	font-size: 2rem; /* Slightly smaller font size for smaller screens */
	font-weight: 700;
  }
  
  .contact-info-upper-container {
	display: flex;
	justify-content: space-around;
	align-items: flex-start; 
	flex-wrap: wrap;
	border-radius: 1rem; 
	box-shadow: 0 2px 5px var(--background-color);
	margin: 1rem auto;
	padding: 1rem;
	max-width: 90%;
	gap: 2rem; /* Added gap between the contact info items */
  }
  
  .contact-info-container {
	display: flex;
	align-items: center;  /* Center items vertically */
	justify-content: space-around;
	gap: 0.5rem; 
	margin: 0.5rem 0; /* Adjust margin for better spacing */
	flex: 1 0 auto;  /* Allow containers to shrink but not grow */
  }
  
  .contact-info-container img {
	height: 2rem;
	width: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .contact-info-container:hover img {
	transform: scale(1.1);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow on hover */
  }
  
  .contact-info-container p {
	font-size: 1rem;  /* Slightly smaller font size */
	margin: 0;
  }
  
  .contact-info-container a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
  }
  
  @media (max-width: 600px) {
	#contact {
	  padding: 1.5rem 1rem; /* Further adjust padding on very small screens */
	}
  
	.contact-info-upper-container {
	  flex-direction: column; 
	  align-items: center; 
	  gap: 1rem;  /* Increase gap between containers on small screens */
	}
  
	.contact-info-container {
	  flex-direction: row; /* Keep items in a row on small screens */
	  align-items: center;
	  justify-content: flex-start; /* Align items to the left */
	  width: 100%;
	}
  }

/* FOOTER SECTION */
footer {
	height: 26vh;
	margin: 0 1rem;
}

footer p {
	text-align: center;
}

.best-project {
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
	position: relative; /* To position the "best project" text */
  }
  
  .best-project .learn-more {
	background-color: var(--text-color);
	color: var(--background-color);
  }

 .video-carousel {
  position: relative;
  width: 100%; /* Make the carousel full width */
  margin: 30px auto;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.video-slide {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

iframe {
  max-width: 100%;
  width: 720px; /* Ensure the video takes full width of the container */
  height: 860px; /* Maintain aspect ratio */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  border: none;
  padding: 10px 15px;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
  background-color: #ccc;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Responsive adjustments for mobile */
@media (max-width: 800px) {
  iframe {
    width: 400px; /* Full width for smaller screens */
    height: 300px; /* Keep aspect ratio intact */
  }

  .video-carousel {
    border-radius: 10px;
  }

  .carousel-button {
    padding: 8px 12px;
    font-size: 14px;
  }
}


.car-edits-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-color-light);
    color: var(--text-color);
}

.car-edits-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.car-edits-section p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding for smaller screens */
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.grid-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistent grid items */
    object-fit: cover; /* Cover the area without distorting */
    display: block;
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.grid-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.grid-item:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

.overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.overlay p {
    font-size: 0.9em;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-background);
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    /* REDUCED MAX-WIDTH: */
    max-width: 700px; /* Changed from 90% to a fixed pixel value for more control */
    /* You can also use a percentage that's smaller, e.g., 70vw or 80% */
    /* max-height: 90%; */ /* Keep this if you want it to scale vertically, or set a fixed max-height if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    /* Add this for vertical alignment in the center, not just horizontal */
    align-self: center; /* Ensures it's centered vertically if modal container has height */
    justify-content: center; /* Centers content within the modal vertically */
}

.modal-content video {
    width: 100%;
    /* REDUCED MAX-WIDTH FOR VIDEO: */
    max-width: 660px; /* Make it slightly smaller than modal-content max-width for padding */
    height: auto; /* Ensures aspect ratio is maintained */
    max-height: 70vh; /* Limit video height to 70% of viewport height */
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.close-button {
    color: var(--text-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

#modalTitle {
    margin-top: 0;
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 15px;
}

#modalTikTokLink {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--button-text-color, #fff);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#modalTikTokLink:hover {
    background-color: var(--primary-color-dark);
}
  
.hobbies-section {
    padding: 80px 20px; /* Keep consistent padding, adjust as needed */
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
}

.hobbies-section h2 {
    font-size: clamp(2em, 5vw, 2.8em); /* Use clamp for responsive font size */
    margin-bottom: 20px;
    color: var(--heading-color);
}

.hobbies-section p {
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: clamp(1em, 2vw, 1.1em); /* Use clamp for responsive font size */
    line-height: 1.6;
    color: var(--text-color-light);
}

.hobbies-grid {
    display: grid;
    /* This creates columns that are at least 280px wide. */
    /* On smaller screens, it will create 1 column if space is limited. */
    /* On larger screens, it will create 2, 3, or 4 columns as space allows. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Space between items */
    max-width: 1200px; /* Max width of the grid container */
    margin: 0 auto; /* Center the grid */
    padding: 0 15px; /* Add slight horizontal padding to the grid itself for mobile */
}

.hobby-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center horizontally within the card */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* KEY FOR SCALING: */
    height: 100%; /* Important for grid items to stretch to row height */
    justify-content: space-between; /* Distribute space vertically */
}

.hobby-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hobby-icon {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive icon size */
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Ensure icon itself is responsive if it's an SVG/Image */
    max-width: 100%; /* Prevents large icons breaking layout */
    height: auto;
}

.hobby-item h3 {
    font-size: clamp(1.4em, 3vw, 1.6em); /* Responsive heading size */
    margin-bottom: 15px;
    color: var(--heading-color);
}

.hobby-item p {
    font-size: clamp(0.9em, 2vw, 0.95em); /* Responsive paragraph size */
    line-height: 1.5;
    color: var(--text-color-light);
    flex-grow: 1; /* Allows paragraph to take up remaining space */
    margin-bottom: 20px;
    text-align: center; /* Ensure text is centered within the card */
}

.hobby-item .button-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--button-text-color, #fff);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Pushes button to the bottom of the flex item */
}

/* --- Thales Experience Section Styles --- */
#thales-experience {
	position: relative;
	isolation: isolate;
	overflow: clip;
	min-height: 180vh;
	padding: 0.25rem 0 2rem;
	text-align: center;
	color: var(--text-color);
	background: linear-gradient(180deg, #090909 0%, #090909 100%);
	--thales-parallax-offset: 0px;
}

#thales-experience::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 7, 10, 0.22), rgba(6, 7, 10, 0.62) 42%, rgba(6, 7, 10, 0.78));
	z-index: 0;
	pointer-events: none;
}

.thales-parallax-image {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	background-image: url('./assets/thales/bg.jpg');
	background-size: auto 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #090909;
	transform: translate3d(0, var(--thales-parallax-offset), 0) scale(1.04);
	opacity: 0;
	filter: brightness(0) saturate(0.9);
	transition:
		opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
		filter 3.4s cubic-bezier(0.16, 1, 0.3, 1);
	mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
	will-change: transform, opacity, filter;
	z-index: -2;
}

.thales-parallax-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(9, 9, 9, 0.96) 0%,
		rgba(9, 9, 9, 0.9) 8%,
		rgba(9, 9, 9, 0.72) 18%,
		rgba(9, 9, 9, 0.42) 30%,
		rgba(9, 9, 9, 0.12) 45%,
		transparent 58%,
		transparent 74%,
		rgba(9, 9, 9, 0.18) 86%,
		rgba(9, 9, 9, 0.72) 100%
	);
	pointer-events: none;
	backdrop-filter: none;
}

.thales-parallax-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 20%, rgba(0, 187, 221, 0.13), transparent 34%),
		linear-gradient(180deg, rgba(9, 9, 9, 0.02), rgba(9, 9, 9, 0.18) 28%, rgba(9, 9, 9, 0.42) 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
	z-index: -1;
	pointer-events: none;
}

#thales-experience.thales-visible .thales-parallax-image {
	opacity: 1;
	filter: brightness(1) saturate(1);
}

#thales-experience.thales-visible .thales-content-shell {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition-delay: 0.2s;
}

.thales-content-shell {
	position: relative;
	z-index: 1;
	width: min(1200px, calc(100vw - 4rem));
	margin: -1.5rem auto 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(9, 9, 9, 0.12), rgba(9, 9, 9, 0.28));
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
	opacity: 0;
	transform: translateY(42px) scale(0.985);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.thales-kicker {
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.72);
}

.thales-content-shell .section__title {
	text-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.thales-content-shell .section__title a {
	font-weight: 800;
}

.thales-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
	gap: 1.25rem;
	align-items: stretch;
}

.thales-hero-copy,
.thales-summary-card {
	background: rgba(10, 10, 12, 0.42);
	border: 1px solid rgba(107, 215, 239, 0.12);
	border-radius: 22px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.thales-hero-copy {
	padding: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.thales-summary-card {
	padding: 1.35rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
	position: relative;
	overflow: hidden;
}

.thales-summary-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(0, 187, 221, 0.12), transparent 42%);
	pointer-events: none;
}

.thales-summary-card > * {
	position: relative;
	z-index: 1;
}

.thales-summary-label {
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.thales-summary-card h2 {
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0;
	color: #f4f7f9;
}

.thales-summary-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.thales-summary-card li {
	position: relative;
	padding-left: 1.15rem;
	color: #d7dee2;
	line-height: 1.55;
}

.thales-summary-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--thales-brand-blue);
	box-shadow: 0 0 14px rgba(0, 187, 221, 0.55);
}

.thales-role-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.thales-role-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(107, 215, 239, 0.16);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.85rem;
	letter-spacing: 0.01em;
}

.thales-intro-text {
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: left;
	position: relative;
}

.thales-intro-text::before {
	content: '';
	display: block;
	width: min(220px, 55vw);
	height: 2px;
	margin: 0 0 1rem;
	background: linear-gradient(90deg, transparent, rgba(0, 187, 221, 0.9), transparent);
	border-radius: 999px;
}

.thales-intro-text p {
	font-size: 1.06rem;
	line-height: 1.8;
	color: #eef2f4;
	font-weight: 300;
	text-align: left;
	margin: 0;
}

.thales-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin-top: 0.25rem;
}

.thales-metric-card {
	padding: 1rem 0.9rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(107, 215, 239, 0.12);
	text-align: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.thales-metric-value {
	display: block;
	font-size: 1.85rem;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	text-shadow: 0 0 16px rgba(0, 187, 221, 0.18);
}

.thales-metric-label {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.84rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.thales-content-shell > * {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#thales-experience.thales-visible .thales-content-shell > * {
	opacity: 1;
	transform: translateY(0);
}

#thales-experience.thales-visible .thales-content-shell > *:nth-child(1) {
	transition-delay: 0.24s;
}

#thales-experience.thales-visible .thales-content-shell > *:nth-child(2) {
	transition-delay: 0.4s;
}

#thales-experience.thales-visible .thales-content-shell > *:nth-child(3) {
	transition-delay: 0.66s;
}

#thales-experience.thales-visible .thales-content-shell > *:nth-child(4) {
	transition-delay: 0.82s;
}

#thales-experience.thales-visible .thales-content-shell > *:nth-child(5) {
	transition-delay: 1.28s;
}

/* Main content wrapper (Key Contributions, Soft Skills, Technical Skills) */
.experience-content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
    width: 100%;
	justify-items: center;
}

.experience-details,
.soft-skills-details,
.technical-skills-details {
	background: rgba(10, 10, 12, 0.56);
	padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(107, 215, 239, 0.16);
	text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.experience-details:hover,
.soft-skills-details:hover,
.technical-skills-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

/* Shared heading styles for sub-sections */
.experience-details h2,
.soft-skills-details h2,
.technical-skills-details h2,
.thales-testimonials-wrapper h2 {
    font-size: 1.6rem;
    color: var(--text-color);
	margin-bottom: 1.2rem;
    font-weight: 700;
}

.experience-details ul,
.soft-skills-details ul,
.technical-skills-details ul {
    list-style: none;
    padding-left: 0;
}

.experience-details li,
.soft-skills-details li,
.technical-skills-details li {
    margin-bottom: 0.65rem;
    line-height: 1.45;
    color: #d1d1d1;
	text-align: left;
}

.skills-summary-grid {
	display: grid;
	gap: 0.75rem;
}

.skills-summary-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 0.75rem;
	align-items: start;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(107, 215, 239, 0.1);
}

.skills-summary-label {
	font-weight: 700;
	color: var(--thales-brand-blue);
	text-align: left;
	white-space: nowrap;
}

.skills-summary-value {
	color: #e2e2e2;
	text-align: left;
	line-height: 1.5;
}

/* --- Testimonials Section (within #thales-experience) --- */
.thales-testimonials-wrapper {
    width: 100%;
	text-align: center;
	margin-top: 0.35rem;
}

.testimonials-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-rows: minmax(min-content, max-content);
	gap: 1.25rem;
    width: 100%;
    justify-content: center;
	padding: 0;
}

.testimonial-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(12, 14, 18, 0.64), rgba(7, 8, 10, 0.88));
	padding: 1.6rem 1.5rem 1.4rem;
	border-radius: 18px;
	border: 1px solid rgba(107, 215, 239, 0.16);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card.bento-item:hover {
	transform: translateY(-6px);
	border-color: rgba(107, 215, 239, 0.38);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.testimonial-card::before {
	content: "\201C";
	position: absolute;
	top: 0.65rem;
	left: 1rem;
	font-size: 3.5rem;
	line-height: 1;
	color: rgba(107, 215, 239, 0.28);
	pointer-events: none;
}

.thales-content-shell .section__title {
	margin: 0 0 0.9rem;
	text-align: center;
}

.thales-content-shell .experience-details h2,
.thales-content-shell .soft-skills-details h2,
.thales-content-shell .thales-testimonials-wrapper h2 {
	margin-top: 0;
	text-align: center;
}

.testimonial-card p {
    font-style: italic;
	color: #f0f0f0;
	text-align: left;
	line-height: 1.7;
	margin: 0;
	padding-top: 1.1rem;
    flex-grow: 1;
}

.testimonial-card .manager-name {
    font-style: normal;
	font-size: 0.85em;
	color: rgba(107, 215, 239, 0.85);
	text-align: right;
    margin-top: auto;
	padding-top: 1rem;
	letter-spacing: 0.02em;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    #thales-experience {
		min-height: auto;
		padding: 0.25rem 1rem 1.5rem;
    }

	.thales-parallax-image {
		background-size: auto 100%;
		background-position: center center;
		transform: translate3d(0, var(--thales-parallax-offset), 0) scale(1);
	}

	.thales-hero-grid {
		grid-template-columns: 1fr;
	}

	.thales-hero-copy,
	.thales-summary-card {
		padding: 1.1rem;
		border-radius: 18px;
	}

	.thales-summary-card h2 {
		font-size: 1.25rem;
	}

	.thales-metrics-grid {
		grid-template-columns: 1fr;
	}

	.thales-intro-text p {
		font-size: 1rem;
	}

    .thales-content-shell {
		margin-top: -1rem;
		padding: 0 1rem 1rem;
		border-radius: 20px;
    }

    .experience-content-wrapper {
		grid-template-columns: 1fr;
		gap: 1.25rem;
    }

    .experience-details,
    .soft-skills-details,
    .technical-skills-details,
    .testimonial-card {
        padding: 1.5rem;
    }

    .experience-details h2,
    .soft-skills-details h2,
    .technical-skills-details h2,
    .thales-testimonials-wrapper h2 {
        font-size: 1.4rem;
    }

    .testimonials-bento-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 0;
    }

	.skills-summary-row {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.skills-summary-label {
		white-space: normal;
    }

}


/* ===========================================================
   STATICS — flagship project showcase (mirrors the Thales section,
   own identity in VALORANT red)
   =========================================================== */
.statics-section {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
	text-align: center;
	color: var(--text-color);
	background:
		radial-gradient(circle at 50% -10%, rgba(255, 70, 85, 0.12), transparent 42%),
		linear-gradient(180deg, #070708 0%, #0c0c0e 55%, #090909 100%);
}

.statics-glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60% 40% at 18% 12%, rgba(255, 70, 85, 0.16), transparent 60%),
		radial-gradient(50% 45% at 86% 78%, rgba(255, 70, 85, 0.10), transparent 60%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.statics-content-shell {
	position: relative;
	z-index: 1;
	width: min(1200px, calc(100vw - 4rem));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(16, 16, 18, 0.4), rgba(9, 9, 9, 0.55));
	border: 1px solid rgba(255, 70, 85, 0.12);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.statics-kicker {
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--statics-brand-red);
}

.statics-content-shell .section__title {
	margin: 0 0 0.4rem;
	text-align: center;
	text-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.statics-wordmark {
	color: var(--statics-brand-red);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.statics-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
	gap: 1.25rem;
	align-items: stretch;
}

.statics-hero-copy,
.statics-summary-card {
	background: rgba(12, 12, 14, 0.5);
	border: 1px solid rgba(255, 70, 85, 0.14);
	border-radius: 22px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.statics-hero-copy {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.statics-role-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.statics-role-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 70, 85, 0.22);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.84rem;
}

.statics-intro-text {
	text-align: left;
	position: relative;
}

.statics-intro-text::before {
	content: '';
	display: block;
	width: min(220px, 55vw);
	height: 2px;
	margin: 0 0 1rem;
	background: linear-gradient(90deg, transparent, var(--statics-brand-red), transparent);
	border-radius: 999px;
}

.statics-intro-text p {
	font-size: 1.04rem;
	line-height: 1.8;
	color: #eef2f4;
	font-weight: 300;
	text-align: left;
	margin: 0;
}

.statics-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.statics-metric-card {
	padding: 1rem 0.9rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 70, 85, 0.14);
	text-align: center;
}

.statics-metric-value {
	display: block;
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	text-shadow: 0 0 16px rgba(255, 70, 85, 0.25);
}

.statics-metric-label {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.82rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.statics-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.15rem;
}

.statics-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.statics-link-btn ion-icon {
	font-size: 1.1rem;
}

.statics-link-btn:hover,
.statics-link-btn:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(255, 70, 85, 0.55);
	background: rgba(255, 70, 85, 0.1);
	outline: none;
}

.statics-link-btn--primary {
	background: var(--statics-brand-red);
	border-color: var(--statics-brand-red);
	color: #ffffff;
}

.statics-link-btn--primary:hover,
.statics-link-btn--primary:focus-visible {
	background: #ff5e6b;
	border-color: #ff5e6b;
}

.statics-download-note {
	margin: 0.1rem 0 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	text-align: left;
}

.statics-summary-card {
	padding: 1.4rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
	position: relative;
	overflow: hidden;
}

.statics-summary-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(255, 70, 85, 0.14), transparent 44%);
	pointer-events: none;
}

.statics-summary-card > * {
	position: relative;
	z-index: 1;
}

.statics-summary-label {
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.statics-summary-card h2 {
	font-size: 1.45rem;
	line-height: 1.2;
	margin: 0;
	color: #f4f7f9;
}

.statics-summary-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.statics-summary-card li {
	position: relative;
	padding-left: 1.15rem;
	color: #d7dee2;
	line-height: 1.55;
}

.statics-summary-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--statics-brand-red);
	box-shadow: 0 0 14px rgba(255, 70, 85, 0.6);
}

/* Feature bento */
.statics-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	text-align: left;
}

.statics-feature-card {
	padding: 1.3rem;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(16, 16, 18, 0.6), rgba(9, 9, 9, 0.7));
	border: 1px solid rgba(255, 70, 85, 0.14);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.statics-feature-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 70, 85, 0.42);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.statics-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 14px;
	background: var(--statics-brand-red-soft);
	border: 1px solid rgba(255, 70, 85, 0.28);
	margin-bottom: 0.85rem;
}

.statics-feature-icon ion-icon {
	font-size: 1.45rem;
	color: var(--statics-brand-red);
}

.statics-feature-card h3 {
	font-size: 1.15rem;
	margin: 0 0 0.45rem;
	color: #ffffff;
}

.statics-feature-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #c8ccd2;
}

/* Screenshot gallery */
.statics-gallery-wrapper {
	width: 100%;
}

.statics-gallery-label {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
	text-align: left;
}

.statics-gallery.grid-layout {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	padding: 0;
}

.statics-gallery.grid-layout img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	border: 1px solid rgba(255, 70, 85, 0.12);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.statics-gallery.grid-layout img:hover {
	transform: scale(1.03);
	border-color: rgba(255, 70, 85, 0.4);
}

/* Scroll-reveal — staggered, like the Thales section */
.statics-content-shell > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#statics-experience.statics-visible .statics-content-shell > * {
	opacity: 1;
	transform: translateY(0);
}

#statics-experience.statics-visible .statics-content-shell > *:nth-child(1) { transition-delay: 0.05s; }
#statics-experience.statics-visible .statics-content-shell > *:nth-child(2) { transition-delay: 0.16s; }
#statics-experience.statics-visible .statics-content-shell > *:nth-child(3) { transition-delay: 0.28s; }
#statics-experience.statics-visible .statics-content-shell > *:nth-child(4) { transition-delay: 0.4s; }
#statics-experience.statics-visible .statics-content-shell > *:nth-child(5) { transition-delay: 0.52s; }

@media (max-width: 768px) {
	.statics-hero-grid {
		grid-template-columns: 1fr;
	}

	.statics-metrics-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.statics-metric-value {
		font-size: 1.3rem;
	}

	.statics-content-shell {
		border-radius: 20px;
		padding: 1.25rem;
	}

	.statics-summary-card h2 {
		font-size: 1.25rem;
	}

	.statics-intro-text p {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.statics-content-shell > * {
		opacity: 1;
		transform: none;
		transition: none;
	}
}


/* --- Projects Section --- */

#projects {
    padding: 5rem 10%; /* Adjust padding as needed */
	flex-direction: column;
    text-align: center;
}

.project-card .project-date {
    font-size: 0.85rem;
    color: #bbb; /* A light grey for subtlety */
    margin-bottom: 0.75rem;
    font-weight: 300;
}

#projects .title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Filter Buttons --- */
.filter-buttons {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #111111;
    color: white;
    cursor: pointer;
	border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #555;
}

.filter-btn.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    font-weight: bold;
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.project-card {
    background-color: #111111; /* A slightly lighter dark shade */
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-card .project-oneliner {
    color: #ccc;
    font-size: 0.95rem;
    flex-grow: 1; /* Pushes tech stack to the bottom */
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; /* Aligns to the bottom */
}

.tech-tag {
    background-color: #242424;
    color: #ddd;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* --- New "View Details" Button Style --- */
.btn-details {
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: #1d1d1d;
    color: white;
    border-radius: 15px;
	border: none;
    cursor: pointer;
    align-self: flex-end; /* Aligns button to the right */
    transition: background-color 0.3s;
}

.btn-details:hover {
    background-color: rgb(24, 24, 24);
}


/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Dimmed background */
    justify-content: center;
    align-items: center;
}

.modal.show-modal {
    display: flex; /* Shown when active */
}

.modal-content {
    background-color: #111111;
    color: #f1f1f1;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    max-height: 90vh; /* Limits height to 90% of viewport height */
    overflow-y: auto; /* Adds scrollbar if content overflows */
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 2rem;
}

.modal-content h3 {
    font-size: 1.2rem;
    color: #ccc;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-top: 20px;
}

.modal-content p {
    line-height: 1.6;
}

.modal-content ul {
    padding-left: 20px;
    line-height: 1.7;
}
.modal-content li {
    margin-bottom: 8px;
}

.modal-tech {
    margin: 10px 0 15px 0;
}

/* For two-column layout of highlights/features */
.modal-details {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column on small screens */
    gap: 20px;
    margin-top: 20px;
}

/* Switch to two columns on larger screens */
@media (min-width: 768px) {
    .modal-details {
        grid-template-columns: 1fr 1fr;
    }
}