

*, *::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;
}

  
/* Add this at the top of your CSS file */

: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;
	--background: #ffffff;
	--text-color: #000000;
  }
  
  body {
	background-color: var(--background);
	color: var(--text-color);
  }
  
  [data-theme='dark'] {
	--background: #121212;
	--text-color: #ffffff;
	--base-800: #ffffff;
	--base-100: #1f1f1f;
	--base: #bbb;
	--yellow: #ffd700;
	--yellow-100: #333;
	--blue: #1e90ff;
  }
  
  /* Other existing styles */
  
  

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

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

header {
	padding-top:10px;
	padding-bottom:10px;
	padding-left: 20px; /* Add padding for centering */
    padding-right: 20px; /* Add padding for centering */
	display:flex;
	justify-content:space-between;
	margin:auto;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	position: fixed; /* Added to fix the header at the top */
    top: 0; /* Position it at the top of the viewport */
    width: 100%; /* Ensure it spans the full width of the viewport */
    background-color: #fff; /* Ensure it has a background color to cover content behind it */
    z-index: 1000; /* Ensure it stays above other content */
    height: 60px; /* Set a specific height for the header */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */

	.logo-holder {
		display:flex;
		padding:0px;
		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:50px;
			width:50px;
			margin-right:20px;
			border-radius:50%;
			margin-left:20px;
		}
		.logo-text {
			flex:1;
		}

		.h2 span {
			color: #ffc107;
			border-bottom: 2px solid #1c7d32;
			padding-bottom: 6px;
		  }
	}

	nav {
		display:flex;
		align-items:center;
		ul {
			display:flex;
			list-style-type: none;
			gap:5px;
			li {
				display:inline-block;
				a {
					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;
				z-index: 1100;
			}
		}
	}

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

	@media (max-width: 768px) {
		flex-direction:column;
		align-items:center;
		nav {
			background-color: var(--base-100);
			margin-top:10px;
			width:100%;
			ul {
				display:none;
				flex-direction:column;
				text-align:center;
				width:100%;
				a {
					background-color: #fff;
					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;
				}
			}
		}
		
	}
	

	@media screen and (max-width: 500px) {
		.hero-yellow {
			flex:1;
			background-color: var(--yellow);
			border-radius:30px;
			padding:10px 0px;
			display:flex;
			justify-content:center;
			align-items:flex-end;
			img {
				margin-top:-75px;
				max-width:420px;
				margin-bottom:-10px;
			}
		}
	}
}


@media screen and (min-width: 501px)  and (max-width: 3900px) {
	
	.hero-yellow {
		flex:1;

		padding:30px 0px;
		display:flex;
		justify-content:center;
		align-items:flex-end;
		  width: 70%;
  
  cursor: pointer;
		img {
			max-width:474px;
			margin-bottom:-24px;
		}
	}
}


.home .image {
	flex: 1 1 40rem;

  }
  .home .image img {
	width: 70%;
	margin-left: 6rem;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	cursor: pointer;
  }
  .home .image img:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }

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

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

h2 {
	font-size:45px;
	line-height:1;
	margin-bottom:10px;
	text-align:center;
	color: var(--base-800);
	padding:0px;
	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);
}

.work-experience {
	.jobs {
		padding-top: 20px;
		display:flex;
		gap:20px;
		@media(max-width:1024px){
			flex-direction:column;
		}
		article {
			background-color: var(--yellow-100);
			padding:20px;
			border-radius:30px;
			flex:1;
			h3 {
				margin-top:10px;
				margin-bottom:10px;
			}
			div {
				font-weight:600;
				margin-bottom:5px;
				color: var(--base-800);
			}
			p {
				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);
					}
				}

			}
		}
	}
}

.certifications-container .certifications-jobs {
    display: flex;
    gap: 20px;
    justify-content: center; /* Centers the articles horizontally */
    align-items: center;     /* Centers content vertically */
    flex-wrap: wrap;         /* Ensures responsiveness */
    text-align: center;      /* Centers text like 'Issued: Mar 2023' */
}

.certifications-container .certifications-jobs article {
    background-color: var(--yellow-100);
    padding: 20px;
    border-radius: 30px;
    flex: 0 1 300px;         /* Controls the size and alignment */
}

.certifications-container .certifications-jobs img {
    display: block;          /* Ensures the image behaves like a block element */
    margin: 0 auto;          /* Centers the image horizontally */
    height: 180px;            /* Adjust image height for better visibility */
}

.academic-projects {
	.projects {
		padding-top: 20px;
		display:flex;
		gap:20px;
		@media(max-width:1024px){
			flex-direction:column;
		}
		article {
			background-color: var(--blue-100);
			padding:20px;
			border-radius:30px;
			flex:1;
			h3 {
				margin-top:10px;
				margin-bottom:10px;
			}
			div {
				font-weight:600;
				margin-bottom:5px;
				color: var(--base-800);
			}
			p {
				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);
					}
				}

			}
		}
	}
     .viewall {
		display: flex;
		color: #fff;
		justify-content: center;
		padding: 1rem 1rem;
	  }
	  .viewall .btn {
		position: relative;
		line-height: 0;
		padding: 1rem 1rem;
		border-radius: 0.5em;
		transition: 0.5s;
		color: rgb(15, 15, 15);
		font-weight: 700;
		border: 2px solid #000000;
		box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
		text-align: center;
	  }
	  .viewall .btn span {
		font-weight: 600;
		font-size: 1.7rem;
		font-family: "Nunito", sans-serif;
	  }
	  .viewall .btn i {
		margin-left: 0.3rem;
		font-size: 1.5rem;
		transition: 0.3s;
	  }
	  .viewall .btn:hover {
		background-color: rgba(121, 235, 166, 0.5);
		color: #000;
	  }
	  .viewall .btn:hover i {
		transform: translateX(5px);
	  }

}


.contact-info-container {
	padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}

.contact-info {
    flex: 1 1 30%; /* This makes each item take up 30% of the container's width, adjusting as needed */
    box-sizing: border-box;
    padding: 20px;
    margin: 10px;
    background-color: #f9f9f9; /* Optional: Add background color for better visibility */
    border-radius: 8px; /* Optional: Add border radius for styling */
    text-align: center;
	background-color: var(--yellow-100);
	border-radius: 30px;
}

.contact i.bx {
	font-size: 24px;
	border-radius: 50%;
	padding: 14px;
	float: justify;
	background: rgba(0, 0, 0, 0.1);
  }

.social-profiles a {
    display: inline-block;
    margin: 10px;
}

@media (max-width: 768px) {
    .contact-info {
        flex: 1 1 100%; /* On smaller screens, each item will take the full width */
    }
}


.copy-btn {
    background-color: #4CAF50; /* Green background */
    border: none; /* Remove borders */
    color: white; /* White text */
    padding: 5px 10px; /* Some padding */
    text-align: center; /* Center the text (if you want) */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Make the button appear inline */
    font-size: 14px; /* Increase font size */
    margin: 4px 2px; /* Some margin */
    cursor: pointer; /* Pointer/hand icon */
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.copied {
    background-color: #2e7d32; /* Darker green after copying */
}


footer {
    background-color: var(--base-100);
    color: var(--base-800);
    padding: 20px;
	justify-content: space-around;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1350px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-about,
.footer-links,
.footer-social {
    flex: 1;
    margin: 10px;
	justify-content: space-around;
	text-align: center;
}

.footer-about p {
    color: var(--base-400);
    margin-bottom: 10px;
    line-height: 1.6;
	justify-content: space-around;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px; /* Adjust padding to fit the icon size */
}

.footer-links ul li::before {
    content: "\f0a9"; /* Font Awesome chevron circle right */
    font-family: "Font Awesome 5 Free"; /* Ensure this matches the Font Awesome version you are using */
    font-weight: 900; /* Required for Font Awesome solid icons */
	text-align: left;
    left: 0;
    color: var(--black);
    font-size: 16px;
    line-height: 1; /* Ensure line-height is normal for proper alignment */
}

.footer-links ul li a {
    color: var(--base-800);
    text-decoration: none;
    display: inline-block; /* Ensure the text aligns properly with the icon */
}

.footer-links ul li a:hover {
    text-decoration: underline;
    color: var(--blue-800);
}


.footer-bottom {
    padding: 0px 0;
    background-color: var(--base-200);
    color: var(--base-400);
    margin-top: 20px;
	text-align: center;
}

.footer-divider1 {
    border: 1px solid #ccc; /* Grey color */
    margin: 20px auto; /* Center the divider */
    width: 75%; /* Set the width to 75% of the container */
}


/* skills section starts */
.skills {
	padding-top: 20px;
	min-height: 60vh;
	background: linear-gradient(to bottom, #ffffff, #ffffff);
	border-radius: 30px;
  }
  .skills h2 {
	color: #070707;
  }
  .skills .heading span {
	color: rgb(255, 230, 0);
  }
  .skills .container {
	background: var(--blue-100);
	color: #fff;
	border-radius: 1rem;
	padding: 2rem;
	width: 80%;
	margin: auto;
	margin-top: 2rem;
  }
  .skills .container .row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	flex-wrap: wrap;
	gap: 1.8rem;
	

  }
  .skills .container .bar {
	margin-bottom: 15px;
	padding: 10px;
	border-radius: 1rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 22, 0.9);
	transition: 0.2s;
  }
  .skills .container .bar:hover {
	box-shadow: 0 8px 10px rgba(152, 154, 216, 0.8) !important;
	background-color: rgba(0, 0, 0, 0.9) !important;
  }
  .skills .container .bar .info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
  }
  .skills .container .bar .info i {
	font-size: 4rem;
  }
  .skills .container .bar .info span {
	font-size: 2rem;
	font-weight: 500;
	font-family: "Poppins";
	margin-left: 0.5rem;
  }

  
  /* skills media queries starts*/
  @media screen and (max-width: 600px) {
    .skills .container {
        padding: 0; /* Remove padding to avoid overflow */
        margin: 0; /* Remove margin for better layout */
    }

    .skills .container .row {
        grid-template-columns: repeat(2, 1fr); /* Two columns per row on mobile */
        margin: 1rem; /* Add margin for spacing */
        padding: 2rem 0.2rem; /* Adjust padding for spacing */
        gap: 1rem; /* Adjust gap between items */
		align-content: center;
		justify-content: center;
    }

    .skills .container .bar {
        padding: 10px; /* Adjust padding to fit within the container */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        background: rgba(0, 0, 22, 0.9);
        transition: 0.2s;
        width: 100%; /* Ensure bar width stretches to fill the parent */
        border-radius: 10px; /* Optional: Add border radius for styling */
        margin-bottom: 1rem; /* Add margin bottom for spacing */
    }

    .skills .container .bar .info {
        margin-top: 0.5rem; /* Adjust top margin for spacing */
        text-align: center; /* Center align text within .info */
    }

    .skills .container .bar .info i {
        font-size: 3rem; /* Decrease font size for better fit */
    }

    .skills .container .bar .info span {
        font-size: 1.5rem; /* Decrease font size for better fit */
        color: #fff; /* Ensure text is readable against dark background */
    }
}

