*, *::before, *::after {
	box-sizing: border-box;
	margin:0;
	padding:0;
}

:root {
	--base: #555;
	--base-100: #f1f1f1;
	--base-400: #555;
	--base-800: #000;
	--yellow: #ffda4b;
	--yellow-100: #fffbe6;
	--yellow-400: #ffda4b;
	--yellow-800: #8b6f00;
	--blue: #0a61ae;
	--blue-100: #e2f8ff;
	--blue-400: #61dafb;
	--blue-800: #0a61ae;
}

body {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 20px;
}

a { 
	text-decoration: none;
	color: var(--blue);
	&:hover {
		text-decoration: underline;
	}
}

header {
	padding-top:10px;
	padding-bottom:10px;
	display:flex;
	justify-content:space-between;
	max-width:1440px;
	margin:auto;
	border-bottom: 1px solid rgba(0,0,0,0.1);

	.logo-holder {
		display:flex;
		padding:10px;
		align-items:center;
		font-weight:600;
		color: var(--base-800);
		
		.logo {
			display:flex;
			align-items:center;
			justify-content:center;
			font-size:32px;
			background-color: var(--base-800);
			color: var(--base-100);
			height:64px;
			width:64px;
			margin-right:20px;
			border-radius:50%;
		}
		.logo-text {
			flex:1;
		}
	}

	nav {
		display:flex;
		align-items:center;
		ul {
			display:flex;
			list-style-type: none;
			gap:5px;
			li {
				display:inline-block;
				a {
					display:inline-block;
					padding:10px 20px;
					color:var(--base);
					&:hover {
						background-color: var(--base-100);
						border-radius:10px;
						text-decoration:none;
					}
				}
			}
		}
		.mobile-toggle {
			display:none;
			color:var(--base-800);
			padding:10px;
			@media (max-width:768px){
				display:inline-block;
				position:absolute;
				top:20px;
				right:20px;
			}
		}
	}

	@media (max-width: 1024px) {
		flex-direction:column;
		align-items:center;
	}

	@media (max-width: 768px) {
		flex-direction:column;
		align-items:center;
		nav {
			margin-top:10px;
			width:100%;
			ul {
				display:none;
				flex-direction:column;
				text-align:center;
				width:100%;
				a {
					width:100%;
				}
				&.active {
					display:flex;
				}
			}
		}
	}
}

section {
	max-width:1440px;
	margin:auto;
	gap:30px;
	margin-top:30px;
	margin-bottom:30px;

	@media (max-width:1440px){
		padding-left:30px;
		padding-right:30px;
	}
}

.button {
	display:inline-block;
	padding:10px 30px;
	background-color: var(--blue);
	color: var(--base-100);
	border-radius:10px;
	transition: ease 0.3s all;
	&:hover {
		text-decoration:none;
		background-color: var(--base-800);
	}
	&.white {
		background-color: white;
		color: var(--base-800);
		&:hover {
			background-color: var(--base-100);
			color: var(--base);
		}
	}
	&.black {
		background-color: black;
		color: white;
		&:hover {
			background-color: var(--base);
			color: var(--base-100);
		}
	}
}

h1 {
	font-size:64px;
	line-height:1;
	margin-bottom:10px;
	small {
		display:block;
		font-weight:100;
	}
	@media (max-width:1024px){
		font-size:48px;
	}
}

.hero {
	display:flex;
	@media (max-width:1024px){
		flex-direction:column;
	}
	.hero-blue {
		flex:1;
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		flex-direction:column;
		justify-content:center;
		span {
			@media (max-width:768px){
				display:none;
			}
		}
		.call-to-action {
			margin-top:20px;
			margin-bottom:10px;
			a {
				margin-right:10px;
				margin-bottom:10px;
			}
		}
		.social-links {
			a {
				&:hover {
					text-decoration:none;
				}
			}
		}
	}
	.hero-yellow {
		flex:1;
		background-color: var(--yellow);
		border-radius:30px;
		padding:0px 30px;
		display:flex;
		justify-content:center;
		align-items:flex-end;
		img {
			margin-top:-60px;
			max-width:420px;
			margin-bottom:-10px;
		}
	}
}

.logos {
	background-color: var(--base-100);
	border-radius: 30px;
	padding: 30px 0;
	overflow: hidden; /* Ensure logos stay within the container */
	@media (max-width: 1440px) {
	  border-radius: 0;
	}
	.marquee {
	  width: 100%;
	  height: 150px;
	  overflow: hidden;
	  position: relative;
	  .track {
		display: flex;
		gap: 50px;
		width: calc(100px * 46 + 10px * 45); /* Calculate width based on the number of items and their width */
		animation: marquee 40s linear infinite;
	  }
	}
  }
  
  @keyframes marquee {
	0% {
	  transform: translateX(0);
	}
	100% {
	  transform: translateX(-50%);
	}
  }

h2 {
	font-size:64px;
	line-height:1;
	margin-bottom:10px;
	text-align:center;
	color: var(--base-800);
	padding:30px;
	small {
		display:block;
		font-weight:100;
		font-size:0.5em;
		color:var(--base);
	}
	@media (max-width:1024px){
		font-size:48px;
	}
}

h3 {
	font-size:32px;
	font-weight:600;
	line-height:1;
	margin-bottom:20px;
	color: var(--base-800);
}

.skills {
	.holder-blue {
	  background-color: var(--blue-100);
	  border-radius: 30px;
	  padding: 30px;
	  display: flex;
	  align-items: center;
	  @media (max-width: 1024px) {
		flex-direction: column;
	  }
	  .left-column {
		flex: 1;
		ul {
		  list-style-type: none;
		  gap: 10px;
		  margin-right: 100px;
		  margin-top: 10px;
		  margin-bottom: 10px;
		  li {
			display: inline-block;
			background-color: var(--blue-400);
			padding: 10px 20px;
			border-radius: 15px;
			margin-top: 5px;
			margin-bottom: 5px;
			transition: transform 0.3s ease, background-color 0.3s ease;
			cursor: pointer;
		  }
		  li:hover {
			transform: translateY(-5px);
			background-color: var(--blue-800);
			color: var(--base-100);
		  }
		}
	  }
	  .right-column {
		flex: 1;
		p {
		  margin-bottom: 20px;
		}
	  }
	}
  }

.work-experience {
	.jobs {
		display:flex;
		gap:30px;
		@media(max-width:1024px){
			flex-direction:column;
		}
		article {
			background-color: var(--yellow-100);
			padding:30px;
			border-radius:30px;
			border: #ffe203 1px solid;
			flex:1;
			transition: transform 0.3s ease, box-shadow 0.3s ease;

			h3 {
				margin-top:20px;
				margin-bottom:10px;
			}
			p {
				margin-bottom:10px;
			}
			ul {
				padding-left: 20px;
				list-style-type: none;
				margin: 10px 0;
			  }
			  
			  li {
				position: relative;
				margin-bottom: 10px;
				padding-left: 25px;
				line-height: 1.6;
				color: var(--base-800);
				font-size: 16px;
			  }
			  
			  li::before {
				content: "•";
				position: absolute;
				left: 0;
				top: 0;
				color: var(--blue-400);
				font-size: 20px;
				line-height: 1.6;
				transform: translateY(0);
			  }
		}

		article:hover {
			transform: translateY(-5px);
			box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
		}
	}
}



.footer {
    background-color: var(--base-800);
    color: var(--base-100);
    padding: 30px 0;
    text-align: center;
    margin-top: 30px;


	.container {
		max-width: 1440px;
		margin: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.footer-logo  {
		.logo-holder{
			display: flex;
			align-items: center;
			gap: 10px;
		}

		.logo {
			font-size: 32px;
			background-color: var(--base-100);
			color: var(--base-800);
			height: 64px;
			width: 64px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 50%;
		}

		.logo-text {
			color: var(--base-100);
			font-weight: 600;
		}
		
	}

	.footer-nav ul {
		list-style-type: none;
		display: flex;
		gap: 20px;

		li {
			display: inline-block;

			a {
				color: var(--base-100);
				text-decoration: none;
				padding: 10px 20px;
				transition: background-color 0.3s ease;
			}

			a:hover {
				background-color: var(--base-100);
				color: var(--base-800);
				border-radius: 10px;
			}
		}
	}

	.footer-contact {
		color: var(--base-100);
		font-size: 14px;

		a {
			color: var(--base-100);
			text-decoration: underline;
		}

		a:hover {
			color: var(--yellow-400);
		}
	}

}


.projects {
	margin: 40px 0;

	h2 {
		text-align: center;
		font-size: 32px;
		color: var(--base-800);
		margin-bottom: 20px;
	  }

	  h2 small {
		display: block;
		font-weight: 100;
		font-size: 20px;
		color: var(--base);
	  }
  }

  .project-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center; /* Center the project items */
  }
  
  .project-item {
	background-color: var(--base-100);
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	flex: 1 1 calc(33.333% - 20px); /* Ensure items take up equal space */
	max-width: 400px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;

	img {
		width: 100%;
		height: 200px;
		object-fit: cover;
	  }
  }
  
  .project-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  }
  
  .project-info {
	padding: 20px;

	h3 {
		margin-top: 0;
		font-size: 24px;
		color: var(--base-800);
	  }

	  p {
		color: var(--base);
		font-size: 16px;
		margin: 10px 0;
	  }
  }
  
  .tags {
	margin-top: 10px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
  }
  
  .tag {
	background-color: var(--blue-400);
	color: var(--base-100);
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
  }
  
  .project-link {
	display: inline-block;
	margin-top: 20px;
	color: var(--blue-400);
	text-decoration: none;
	font-weight: bold;
  }
  
  .project-link:hover {
	text-decoration: underline;
  }
  
  @media (max-width: 1024px) {
	.project-item {
	  flex: 1 1 calc(50% - 20px); /* Adjust for medium screens */
	}
  }
  
  @media (max-width: 768px) {
	.project-item {
	  flex: 1 1 100%; /* Full width for small screens */
	}
  }