*, *::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: 18px;
	padding-bottom:1000px;
}

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

header {
	position: fixed;
	display:flex;
	justify-content:space-between;
	top: 0;
    left: 15px;
    right: 10px;
    width: 100%;
	max-width:1440px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	background-color: #fff; /* Ensure the header is not transparent */
    z-index: 1000; /* Make sure it stays on top of other elements */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */

	.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 {
						color: var(--blue-800);
						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;
				}
			}
		}
	}
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Example box shadow */
    padding: 10px;
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block; /* Show the dropdown menu only when hovering over the parent */
}

.dropdown-menu li {
    list-style: none;
    display: block;
}

.dropdown-menu li a {
    color: var(--base);
    text-decoration: none;
}

.dropdown-menu li a:hover {
    color: var(--blue-800);
}


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

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

.button {
	margin-right: 100px;
	display:inline-block;
	padding:10px 20px;
	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:56px;
	line-height:1;
	margin-bottom:10px;
	small {
		display:block;
		font-weight:100;
	}
	@media (max-width:1024px){
		font-size:48px;
	}
}
.subheader {
	font-size: 36px; /* Adjust size as needed */
	font-weight: 300; /* Adjust weight as needed */
	margin-bottom: 20px; /* Adjust margin as needed */
}

.hero {
	display:flex;
	@media (max-width:1024px){
		flex-direction:column;
	}
	.hero-blue {
		flex:2.5;
		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:10%;
		padding:0px 30px;
		display:flex;
		justify-content:center;
		align-items: center;
		
		img {
			margin-top:60px;
			max-width:420px;
			margin-bottom:10px;
		}
	}
	.circle-image {
	    width: 100%; /* Ensure the image fills the container */
	    height: auto; /* Maintain aspect ratio */
	    max-width: 100%; /* Ensure image doesn't exceed container width */
	    border-radius: 50%; /* Make image circular */
	}
}

.logos {
	background-color: var(--base-100);
	border-radius:30px;
	padding:30px 0px;
	@media (max-width:1440px){
		border-radius:0px;
	}
	.marquee {
		width:100vw;
		max-width:100%;
		height:128px;
		overflow:hidden;
		position:relative;
		.track {
			position:absolute;
			white-space:nowrap;
			will-change:transform;
			animation: marquee 40s linear infinite;
			display:flex;
			gap:10px;
		}
	}
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

h2 {
	font-size:48px;
	line-height:1;
	margin-bottom:10px;
	text-align:center;
	color: var(--base-800);
	padding:30px;
	small {
		display:block;
		font: weight 2px;
		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);
	small{
		font-weight: 300;
	}
}




.about {
	.holder-blue {
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		flex-wrap: wrap; /* Allow flex items to wrap */
		
		.left-column {
			flex: 1;
            max-width: 100%; /* Allow the image to take full width on smaller screens */
			.small-image {
				max-width: 450px; /* Set the desired maximum width */
				height: auto;    /* Maintain aspect ratio */
				@media(max-width:1300px){
					max-width:350px;
					height: auto;
				}
				@media(max-width:900px){
					max-width:280px;
					height: auto;
				}
				@media(max-width:768px){
					max-width:230px;
					height: auto;
				}
				@media(max-width:650px){
					max-width:200px;
					height: auto;
				}
			}
			flex:0.6;
			@media(max-width:1024px){
				flex: 0.7;
			}
			@media(max-width:768px) {
				flex: 0.7;
			}
			ul {
				list-style-type: none;
				gap:10px;
				margin-right:100px;
				margin-bottom:20px;
				li {
					display:inline-block;
					background-color: var(--blue-400);
					padding:10px 20px;
					border-radius:15px;
					margin-bottom:10px;
				}
			}
		}
		.right-column {
			flex:1;
			p {
				margin-bottom:20px;
			}
		}
	}
}

.skills {
	.holder-blue {
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		@media(max-width:1024px){
			flex-direction:column;
		}
		.left-column {
			.small-image {
				max-width: 500px; /* Set the desired maximum width */
				height: auto;    /* Maintain aspect ratio */
				@media(max-width:1024px){
					max-width: 150px;
					height: auto;
				}
				@media(max-width:768px){
					max-width:150px;
					height: auto;
				}
			}
			flex:1;
			ul {
				list-style-type: none;
				gap:10px;
				margin-right:100px;
				margin-bottom:20px;
				li {
					display:inline-block;
					background-color: var(--blue-400);
					padding:10px 20px;
					border-radius:15px;
					margin-bottom:10px;
				}
			}
		}
		.right-column {
			flex:1;
			p {
				margin-bottom:20px;
			}
		}
	}
}

.contact-me {
	.holder-blue {
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		flex-direction:column;
		justify-content:center;
		display:flex;
		.social-links-bottom {
		    display: flex;
		    justify-content: center;
		    align-items: center;
		    list-style-type: none;
		    padding: 0;
		}

		.social-links-bottom li {
		    margin: 0 5px; /* Add margin between the items */
		    &:hover {
				text-decoration:none;
				background-color: var(--blue-800);
			}
		}
		@media(max-width:1024px){
			flex-direction:column;
		}
	}
}


.work-experience {
	.jobs {
		display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc(33.33% - 30px), 1fr)); /* Use auto-fit to adjust columns based on available space */
        gap: 30px;
		@media(max-width:1024px){
			grid-template-columns: repeat(2, 1fr);
			gap: 10px;
		}
		article {
			background-color: var(--yellow-100);
			padding:30px;
			border-radius:30px;
			flex: calc(33.33% - 30px);
			margin-bottom: 30px;
			@media (max-width: 1024px) {
                padding: 20px; 
            }
			h3 {
				margin-top:30px;
				margin-bottom:10px;
			}
			h3 a {
                color: var(--base-800);
                text-decoration: none;
                transition: color 0.3s ease;
            }
            h3 a:hover {
				text-decoration: underline;
                color: var(--blue-800);
            }
			div {
				font-weight:600;
				margin-bottom:5px;
				color: var(--base-800);
			}
			p {
				margin-top: 20px;
				margin-bottom:10px;
			}
			figure {
				width:100%;
				padding-top:56.25%;
				overflow:hidden;
				position:relative;
				border-radius:15px;
				img {
					position:absolute;
					top:0;
					left:0;
					height:100%;
					object-fit:cover;
					transition: ease 3s all;
				}
				figcaption {
					position:absolute;
					bottom:0;
					left:0;
					right:0;
					background-color: rgba(0,0,0,0.5);
					color: var(--base-100);
					text-align:center;
					padding:10px;
					opacity:0;
					visibility:hidden;
					transition: ease 0.3s all;
				}

				&:hover {
					figcaption {
						opacity:1;
						visibility:visible;
					}
					img {
						transform: scale(1.2);
					}
				}

			}
		}
	}
}

.certificates {
	.jobs {
		display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc(25% - 30px), 1fr)); /* Use auto-fit to adjust columns based on available space */
        gap: 30px;
		@media(max-width:1024px){
			grid-template-columns: repeat(2, 1fr);
			gap: 10px;
		}
		article {
			background-color: var(--blue-100);
			padding:30px;
			border-radius:30px;
			flex: calc(33.33% - 30px);
			margin-bottom: 30px;
			@media (max-width: 1024px) {
                padding: 20px; 
            }
			h3 {
				margin-top:30px;
				margin-bottom:10px;
			}
			h3 a {
                color: var(--base-800);
                text-decoration: none;
                transition: color 0.3s ease;
            }
            h3 a:hover {
				text-decoration: underline;
                color: var(--blue-800);
            }
			div {
				font-weight:600;
				margin-bottom:5px;
				color: var(--base-800);
			}
			p {
				margin-top: 20px;
				margin-bottom:10px;
			}
			figure {
				width:100%;
				padding-top:80%;
				overflow:hidden;
				position:relative;
				border-radius:15px;
				img {
					position:absolute;
					top:0;
					left:0;
					height:100%;
					object-fit:cover;
					transition: ease 3s all;
				}
				figcaption {
					position:absolute;
					bottom:0;
					left:0;
					right:0;
					background-color: rgba(0,0,0,0.5);
					color: var(--base-100);
					text-align:center;
					padding:10px;
					opacity:0;
					visibility:hidden;
					transition: ease 0.3s all;
				}

				&:hover {
					figcaption {
						opacity:1;
						visibility:visible;
					}
					img {
						transform: scale(1.2);
					}
				}

			}
		}
	}
}


.bento {
	.grid-container {
		display:grid;
		grid-gap:30px;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(3, 1fr);
		height:960px;
		@media(max-width:1024px){
			grid-template-rows: repeat(9, 1fr);
		}
		@media(max-width:768px){
			display:flex;
			flex-direction:column;
			gap:30px;
			height:auto;
		}
		.grid-item {
			padding:30px;
			background-color: var(--base-100);
			border-radius:15px;
			position:relative;
			overflow:hidden;
			img {
				position:absolute;
				top:0;
				left:0;
				width: 100%;
				height:100%;
				object-fit:cover;
				transition: ease 3s all;
			}
			&:hover {
				img {
					transform: scale(1.2);
				}
			}
			@media(max-width:768px){
				height:240px;
			}
		}			
	}
}







.chatbot {
	.chatbot-blue {
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		gap:30px;
		display:flex;
		@media (max-width:1024px){
			flex-direction:column;
		}
		p {
			margin-bottom:30px;
		}
		.chat-info {
			flex:3;
			padding-right:30px;
		}
		.chat-box {
			flex:4;
			background:white;
			border-radius:15px;
			padding:30px;
			display:flex;
			flex-direction:column;
			.scroll-area {
				max-height:300px;
				height:300px;
				overflow-y:scroll;
				ul {
					display:flex;
					flex-direction:column;
					justify-content:flex-end;
					gap:15px;
					li {
						display:flex;
						align-items:center;
						gap:15px;

						&:nth-child(even){
							text-align:right;
							justify-content:flex-end;
							flex-direction:row-reverse;
							span {
								background-color: var(--yellow);
							}
						}

						span {
							background-color: var(--blue-400);
							width:64px;
							height:64px;
							border-radius:50%;
							display:inline-flex;
							align-items:center;
							justify-content:center;
							@media(max-width:768px){
								width:48px;
								height:48px;
							}
						}
						div {
							flex:1;
						}
					}
				}
			}

			.chat-message {
				display:flex;
				margin-top:15px;
				gap:15px;
				input {
					border-radius:10px;
					flex:1;
					padding:15px;
					border:1px solid transparent;
					background-color: var(--base-100);
					&:hover {
						outline:none;
						background-color:white;
						border:1px solid var(--base-100);
					}
					&:focus {
						outline:none;
						background-color:white;
						border:1px solid var(--base-100);
					}
				}
				button {
					border:none;
					cursor:pointer;
				}
			}
		}
	}
}

.social-footer {
	.holder-blue {
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		@media(max-width:1024px){
			flex-direction:column;
		}
		.left-column {
			.small-image {
				max-width: 500px; /* Set the desired maximum width */
				height: auto;    /* Maintain aspect ratio */
				@media(max-width:1024px){
					max-width: 150px;
					height: auto;
				}
				@media(max-width:768px){
					max-width:150px;
					height: auto;
				}
			}
			flex:0.80;
			ul {
				list-style-type: none;
				gap:10px;
				margin-right:100px;
				margin-bottom:20px;
				li {
					display:inline-block;
					background-color: var(--blue-400);
					padding:10px 20px;
					border-radius:15px;
					margin-bottom:10px;
				}
			}
		}
		.right-column {
			flex:1;
			p {
				margin-bottom:20px;
			}
		}
	}
}
