:root {
	--text-color: #fff;
	--h1-text-color: #BB8A52;
	--website-background-color: #eee2d2;
	--background-color: #6D9773;
	--box-color: #0C3B2E;
	--top-menu: #0C3B2E;
	--button-color: #BB8A52;
	--button-hover-color: #FFBA00;
}

body {
  /* background-image:/ url("../images/backgorund.png"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--website-background-color) ;
  color: var(--text-color);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  scroll-behavior: smooth; /* Smooth scroll on click */
  overflow-x: hidden;
  margin: 0;
}

h1 {
  font-size: 250%;
  color: var(--h1-text-color);
}

h2 {
  font-size: 150%;
  margin: 1rem 0 0.3rem;
}

h3 {
  font-size: 120%;
  font-weight: normal;
  margin: 0 0 1rem;
}

h3 span {
  font-style: italic;
}

ul {
	padding-left: 1.2rem;
	margin: 0;
	font-size: 120%;
	line-height: 1.6;
}
ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

p {
	font-size: 120%;
	line-height: 1.6;
}

b {
	color: var(--h1-text-color);
}

.section-title {
  /*font-size: 1.8rem;*/
  color: var(--h1-text-color);
  border-bottom: 2px solid var(--h1-text-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;  /* Centers it horizontally */
	width: 100%;  /* Ensures it doesn’t shrink too much */
}

.fixed-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--top-menu); /* Ensure it stays visible on scroll */
	z-index: 1000; /* Make sure it's above other content */
	padding: 10px 20px; /* Optional styling for spacing */
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.fixed-menu a {
	display: block;
	color: white;
	text-decoration: none;
	padding-inline: 10px;
	font-weight: bold;
	transition: color 0.3s ease;
}

.fixed-menu a:hover {
	color: var(--button-hover-color); /* Blue on hover */
}

.introduction-box {
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0%;
}

.introduction {
	display: flex;
	justify-content: center;
	position: relative;
	align-items: top;
	font-size: 120%;
	margin: 0%;  /* Centers it horizontally */
	width: 98vw;
	height: 70vh;
	margin-top: 50px;
}

.introduction-text {
	display: flex;
	color: var(--background-color);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0%;
	width: 600px;
	min-width: 300px;
	/*font-size: 150%;*/
}

.introduction-image{
	margin-inline: 5%;
}

.introduction-image img {
	flex: 0; /* Prevents excessive growth */
	width: auto; /* Set desired width for the image */
	height: 100%; /* Maintain aspect ratio */
	object-fit: contain;
	border-bottom-left-radius: 999px;
	border-bottom-right-radius: 999px;
}

.introduction-buttons {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 20px;
	width: 600px;
}

.hero-stats {
	width: 100%;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-content: start;
	animation: fadeUp .6s ease both;
}

.hero-stats .tagline {
	color: var(--background-color);
	font-size: clamp(1.05rem, 1.4vw + .6rem, 1.4rem);
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 .25rem 0;
}
  .hero-stats .tagline span { color: var(--h1-text-color); }

.stats-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	gap: .8rem;
}

.stat {
	background: var(--background-color);
	border-radius: 20px;
	padding: 1rem 1.1rem;
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
	display: grid;
	gap: .25rem;
	transition: transform .18s ease, box-shadow .18s ease;
}

.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }


.stat .num {
	font-size: clamp(1.4rem, 2.2vw + .6rem, 2rem);
	font-weight: 800;
	letter-spacing: .5px;
}

.stat .label {
	font-size: .95rem;
}


.skills-box{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.skills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	color: var(--text-color);
	gap: 10px;
	width: 100vw;
	margin-block: 10px;
 }

.skills-Technical {
	flex: 1;
	justify-content: center;
	text-align: center;
	/* margin: 10px; */
	padding-top: 20px;
	padding-inline: 10px;
	margin-inline: 5px;
	min-width: 100px;
	max-width: 100px;
	/* border: 2px solid white;  2px thick, solid style, white color */
	background-color: var(--background-color);
	border-radius: 15px;
	font-size: 90%;
	margin-block: 2%;
}

.skills-Technical:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }

.projects-container,
.best-projects-container {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	justify-content: center;
	align-items: center;
	max-width: 2000px;
}

.projects-container button,
.best-projects-container button {
	position: absolute;
	bottom: 30px;
}

.projects {
	position: relative;
	background-color: var(--background-color);
	height: 650px;
	width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 25px;
	overflow: hidden;
	border: 10px solid var(--background-color);
	box-shadow: 0 20px 30px rgba(0,0,0,0.5);
	h2 {
		font-size: 200%;
		color: var(--button-hover-color);
	}
}

.projects-image {
	height: 400px;
	width: 100%;
	overflow: hidden;
	display: block;
	border-radius: 25px;
}

.projects img {
	height: auto;
	width: 100%;
	min-height: 100%;
	margin: auto;
}

.projects-text {
	padding-inline: 5%;
	padding-bottom: 1%;
	height: 400px;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: top;
}

.projects-text * {
	margin: 7px 0; /* Reduce top & bottom margins */
	padding: 0;
}
.about-me-box{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100vw;
	background-color: var(--background-color);
}

.about-me{
	color: var(--text-color);
	max-width: 1500px;
	margin: 4%;
	h1 {
		color: var(--button-hover-color);
	}
}

.work-box{
	margin-top: 50px;
}

.work-box,
.achivments-box{
	display: flex;
	width: 100vw;
	justify-content: left;
	max-width: 2000px;
}

.education-box{
	display: flex;
	width: 100vw;
	justify-content: right;
	max-width: 2000px;
}

.work,
.education,
.achivments{
	color: var(--text-color);
	h1 {
		color: var(--cards-h1-color);
	}
	background-color: var(--box-color);
	padding: 2%;
	margin: 2%;
	width: 1000px;
	border-radius: 25px;
	box-shadow: 0 20px 30px rgba(0,0,0,.50);
}

.contacts{
	background: var(--top-menu);
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 200px;
	width: 100vw;
	margin-top: 100px;
}

.contacts-socials{
	color: white;
	width: 75%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0%;
}

/* Style for the veil */
#veil {
	position: fixed; /* Fixed position to cover the entire page */
	top: 0;           /* Top of the page */
	left: 0;          /* Left of the page */
	width: 100vw;     /* Full width of the viewport */
	height: 100vh;    /* Full height of the viewport */
	background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent white background */
	z-index: 9998;    /* Ensure it's above other content */
}

.lock-scroll {
	overflow: hidden; /* Disable scrolling */
}

@media (max-width: 1250px) {
	.stats-grid{
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 1100px) {
	.introduction-buttons{
		display: none;
	}

	.introduction-image{
		height: 80%;
	}

	.work,
	.education{
		width: 100vw;
	}

	.fixed-menu {
		justify-content: center;
		font-size: 1.2rem;
		gap: 0.7rem;
	}

	h1 {
	  font-size: 200%;
	  color: var(--h1-text-color);
	}

	p {
	  font-size: 110%;
	}
}

@media (max-width: 900px) {
	.introduction-image{
		display: none;
	}

	.introduction-box {
		height: 80vh;
	}

	.fixed-menu {
		font-size: 0.80rem;
		gap: 0.1rem;
	}

	h1 {
	  font-size: 190%;
	  color: var(--h1-text-color);
	}

	p {
	  font-size: 100%;
	}
}

/* Mobile */
@media (pointer: coarse)  {
	h1 {
	  font-size: 210%;
	}

	h2 {
	  font-size: 210%;
	}

	p {
	  font-size: 150%;
	}

	.introduction-box{
		height: 70vh;
	}

	.introduction-text{
		font-size: 300%;
	}

	.introduction-image{
		display: none;
	}

	.fixed-menu {
		font-size: 0.80rem;
		gap: 0.1rem;
	}

	.projects {
		width: 40vw;
		height: 500px;
		p {
		 display: none;
		}
		ul {
		 display: none;
		}
	}
}
