:root {
	--primary: #0ea5e9;
	--primary-hover: #0284c7;
	--bg-main: #f8fafc;
	--bg-alt: #ffffff;
	--text-main: #0f172a;
	--text-muted: #64748b;
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

@-webkit-keyframes fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

html {
	height: auto;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 16px;
	color: var(--text-main);
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
	height: auto;
	overflow: auto;
	line-height: 1.6;
	animation: fadein 0.3s linear;
	-webkit-tap-highlight-color: transparent;
	background-color: var(--bg-alt);
}

.messageMeHelper {
	cursor: pointer;
	position: fixed;
	bottom: 25px;
	right: 25px;
	height: 64px;
	width: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
	box-shadow: var(--shadow-md);
}

.header {
	width: 100%;
	height: 100px;
	display: flex;
	position: fixed;
	top: 0;
	box-shadow: var(--shadow-md);
	font-size: 20px;
	font-weight: bold;
	background: white;
	z-index: 100;
}

.headerHalf {
	width: 50%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: end;
}

.headerHalf:first-of-type {
	margin-left: 2.5%;
	justify-content: start;
}

.headerItem {
	padding: 20px;
	margin: 10px;
	cursor: pointer;
}

.headerAvatar {
	width: 64px;
	height: 64px;
	cursor: pointer;
}

.headerAvatar img {
	width: inherit !important;
	height: inherit !important;
}

.headerName {
	cursor: pointer;
	margin-left: 15px;
}

.mobileHeader {
	display: none;
}

#mobileMenu {
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	background: white;
	flex-direction: column;
	z-index: 99;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
}

#mobileMenu.active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.container {
	display: flex;
	flex-direction: column;
	overflow-y: scroll;
	margin-top: 100px;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
	height: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.container::-webkit-scrollbar {
	display: none;
}
  
.socialMedia {
	position: absolute;
	left: 0;
	top: 20%;
	display: flex;
	flex-direction: column;
	background: white;
	z-index: 1;
}

.socialMedia span {
	padding: 15px;
	cursor: pointer;
}

.panel {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.panelArrow {
	margin-bottom: 3%;
	cursor: pointer;
}

.murneyDivider {
	border-radius: 10px;
	border-top: var(--primary) solid 5px;
	width: 40px;
	margin: 20px;
}

#home {
	justify-content: space-between;
	background-image: url("../src/portfoliobg.jpg");
	background-size: cover;
	justify-content: center;
}

.homePanelBody {
	text-align: center;
	padding: 5% 20% 10% 20%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.homePanelHeading {
	font-size: 60px;
	font-weight: bold;
	margin-bottom: 15px;
	margin-top: 0px;
}

.homePanelSubHeading {
	font-size: 26px;
}

.homePanelBtn {
	background: var(--primary);
	padding: 15px 30px;
	border-radius: 8px;
	font-size: 1.2rem;
	margin-top: 2rem;
	font-weight: 700;
	box-shadow: var(--shadow);
	cursor: pointer;
	border: none;
	color: white;
	transition: all 0.2s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.homePanelBtn:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

#about {
	background: var(--bg-main);
}

#contact {
	background: var(--bg-main);
}

.panelHeader {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 5% 5% 3% 5%;
}

.panelTitle {
	font-weight: bold;
	font-size: 2.5rem;
	margin: 0px;
	letter-spacing: 1px;
}

.panelSubtitle {
	font-size: 1.1rem;
	text-align: center;
	padding: 0% 10%;
	color: var(--text-muted);
}

.aboutBody {
	display: flex;
	justify-content: space-evenly;
	margin: 0% 10% 3%;
}

.aboutBodyHeader {
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	margin: 0px;
}

.aboutSummary {
	padding: 20px;
	width: 50%;
}

.aboutSkills {
	padding: 20px;
	width: 50%;
}

.aboutBodyContent {
	font-size: 18px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
}

.aboutSkillItem {
	font-size: 1rem;
	margin: 8px;
	border-radius: 8px;
	padding: 12px 24px;
	cursor: pointer;
	font-weight: 600;
	background: var(--primary);
	color: white;
	box-shadow: var(--shadow);
	transition: all 0.2s ease;
}

.aboutSkillItem:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.projectPanel {
	height: fit-content !important;
}

.projectRow {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 3%;
	margin-bottom: 3%;
}

.projectImg {
	width: 45%;
	padding: 2%;
	border-radius: 10px;
	cursor: pointer;
}

.projectImg img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.projectDesc {
	width: 45%;
	padding: 10px;
}

#contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 150px;
}

.contactForm {
	background-color: var(--bg-alt);
	padding: 40px;
	width: 45%;
	border-radius: 12px;
	box-shadow: var(--shadow-md);
}

.murneyInput {
	width: 100%;
	margin-bottom: 25px;
}

.murneyInput input, .murneyInput textarea {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	width: 100%;
	padding: 16px;
	font-size: 1rem;
	font-weight: 500;
	box-sizing: border-box;
	outline: none;
	background: #f8fafc;
	transition: all 0.2s ease;
	font-family: inherit;
}

.murneyInput input:focus, .murneyInput textarea:focus {
	border-color: var(--primary);
	background: white;
	box-shadow: 0 0 0 4px rgb(14 165 233 / 0.1);
}

.bigTextInput {
	height: 200px;
}

.inputTitle {
	display: block;
	margin: 0px 0px 8px 4px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-main);
}

.contactPanelFooter {
	display: flex;
	width: 100%;
	justify-content: flex-end;
}

#contactPanelBtn {
	padding: 16px 40px;
	margin-top: 10px;
	background: var(--primary);
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	border: none;
	color: white;
	box-shadow: var(--shadow);
	transition: all 0.2s ease-in-out;
}

#contactPanelBtn:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.footer {
	color: white;
	background: var(--text-main);
	padding: 80px 50px;
}

.footerBody {
	display: flex;
	justify-content: space-between;
	margin: 0% 15%;
	max-width: 1200px;
}

.footerDetails {
	width: 50%;
}

.footerTitle {
	font-weight: bold;
	font-size: 24px;
}

.footerSubtitle {
	font-size: 16px;
}

.footerSocials span {
	cursor: pointer;
	padding: 5px;
}

.footerEnd {
	margin: 0% 15%;
	margin-top: 75px;
	border-top: gray solid 1px;
}

.footerEndTag {
	padding: 30px;
	font-size: 12px;
	text-align: center;
}

.toast {
	position: fixed;
	display: flex;
	top: 110px;
	right: 20px;
	height: 100px;
	width: 30%;
	z-index: 9;
	background: white;
	align-items: center;
	border-radius: 12px;
	box-shadow: var(--shadow-md);
	transform: translateX(1000px);
	transition: transform 1.5s;
}

.toast[active] {
	transform: translateX(0px);
	transition: transform 1.5s;
}

.successToastHightlight {
	height: 85%;
	width: 5px;
	margin: 15px 0px 15px 10px;
	background: #4BB543;
}

.successToastIcon {
	padding: 15px;
	color: #4BB543;
}

.errorToastHightlight {
	height: 85%;
	width: 5px;
	margin: 15px 0px 15px 10px;
	background: #FF0000;
}

.errorToastIcon {
	padding: 15px;
	color: #FF0000;
}

.questionToastHightlight {
	height: 85%;
	width: 5px;
	margin: 15px 0px 15px 10px;
	background: #FFCC00;
}

.questionToastIcon {
	padding: 15px;
	color: #FFCC00;
}

.toastText {
	font-size: 15px;
	display: flex;
	flex-direction: column;
	width: 75%;
}

.toastText div:first-of-type {
	font-size: 18px;
	font-weight: bold;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.headerHalf {
		width: 80%;
	}

	.header {
		height: 70px;
		font-size: 18px;
	}

	.browserHeader {
		display: none !important;
	}

	.headerAvatar {
		width: 50px;
		height: 50px;
	}

	.mobileHeader {
		display: flex;
		width: 20%;
		justify-content: center;
		align-items: center;
	}
	
	.mobileHeader span {
		cursor: pointer;
	}


	.mobileMenuRow {
		border-top: 0.75px solid gray;
		text-align: end;
		padding: 15px 25px;
		font-weight: bold;
		font-size: 18px;
	}

	.container {
		margin-top: 70px;
	}

	.socialMedia {
		display: none;
	}

	.panelArrow {
		display: none;
	}

	.homePanelBody {
		padding: 25% 5%;
	}
	
	.homePanelHeading {
		font-size: 40px;
		margin-bottom: 25px;
		margin-top: 0px;
	}

	.homePanelSubHeading {
		font-size: 18px;
	}

	.homePanelBtn {
		width: 40%;
		font-size: 18px;
		margin-top: 12%;
	}

	.aboutBody {
		flex-direction: column;
	}

	.aboutSummary, .aboutSkills {
		margin-top: 20px;
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}

	.projectRow {
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		margin-top: 5%;
		margin-bottom: 5%;
	}

	.projectImg {
		width: 100%;
		padding: 1%;
		border-radius: 10px;
	}

	.projectDesc {
		width: 90%;
		padding: 20px 5px;
	}

	.projectDesc .aboutBodyHeader {
		text-align: center;
	}

	#contact {
		padding-bottom: 50px;
	}

	.contactForm {
		width: 85%;
		margin: 10px;
	}

	#contactPanelBtn {
		padding: 15px;
		width: 40%;
	}

	.footer {
		padding: 25px;
	}

	.footerBody {
		flex-direction: column-reverse;
		margin: 0;
	}

	.footerDetails {
		width: 100%;
		margin-top: 10%;
	}

	.footerDetails br:first-of-type {
		display: none;
	}
	
	.footerEnd {
		margin-top: 30px;
	}

	.toast {
		top: 80px;
		width: 80%;
		height: 115px;
	}

	.toastText {
		width: 66%;
	}

	.messageMeHelper {
		display: none;
	}

	.aboutSkillItem {
		font-size: 16px;
		margin: 10px;
		border-radius: 10px;
		padding: 15px;
		background: var(--primary);
		font-weight: 400;
		cursor: pointer;
		box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 36px 0px, rgba(0, 0, 0, 0.09) 0px 0px 0px 1px;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	.headerHalf {
		width: 90%;
	}

	.header {
		height: 70px;
		font-size: 18px;
	}

	.browserHeader {
		display: none !important;
	}

	.headerAvatar {
		width: 50px;
		height: 50px;
	}

	.mobileHeader {
		display: flex;
		width: 10%;
		justify-content: center;
		align-items: center;
	}
	
	.mobileHeader span {
		cursor: pointer;
	}


	.mobileMenuRow {
		border-top: 0.75px solid gray;
		text-align: end;
		padding: 15px 25px;
		font-weight: bold;
		font-size: 18px;
	}
	
	.container {
		margin-top: 70px;
	}
	
	.socialMedia {
		display: none;
	}
	
	.panelArrow {
		display: none;
	}
	
	.homePanelBody {
		padding: 25% 5%;
	}
	
	.homePanelHeading {
		font-size: 40px;
		margin-bottom: 25px;
		margin-top: 0px;
	}

	.homePanelSubHeading {
		font-size: 18px;
	}

	.homePanelBtn {
		width: 40%;
		font-size: 18px;
		margin-top: 12%;
	}

	.aboutBody {
		flex-direction: column;
	}

	.aboutSummary, .aboutSkills {
		margin-top: 20px;
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}

	.projectRow {
		flex-direction: column;
		align-items: center;
		margin-top: 5%;
		margin-bottom: 5%;
	}

	.projectImg {
		width: 90%;
		padding: 1%;
		border-radius: 10px;
	}

	.projectDesc {
		width: 90%;
		padding: 20px 5px;
	}

	.projectDesc .aboutBodyHeader {
		text-align: center;
	}

	#contact {
		padding-bottom: 50px;
	}

	.contactForm {
		width: 85%;
		margin: 10px;
	}

	#contactPanelBtn {
		padding: 15px;
		width: 40%;
	}

	.footer {
		padding: 25px;
	}

	.footerBody {
		flex-direction: column-reverse;
		margin: 0;
	}

	.footerDetails {
		width: 100%;
		margin-top: 10%;
	}

	.footerDetails br:first-of-type {
		display: none;
	}

	.footerEnd {
		margin-top: 30px;
	}

	.toast {
		top: 80px;
		width: 80%;
	}

	.aboutSkillItem {
		background: var(--primary);
	}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	.headerHalf {
		width: 90%;
	}

	.header {
		height: 70px;
		font-size: 18px;
	}

	.browserHeader {
		display: none !important;
	}

	.headerAvatar {
		width: 50px;
		height: 50px;
	}

	.mobileHeader {
		display: flex;
		width: 10%;
		justify-content: center;
		align-items: center;
	}
	
	.mobileHeader span {
		cursor: pointer;
	}


	.mobileMenuRow {
		border-top: 0.75px solid gray;
		text-align: end;
		padding: 15px 25px;
		font-weight: bold;
		font-size: 18px;
	}

	.container {
		margin-top: 70px;
	}

	.socialMedia {
		display: none;
	}

	.panelArrow {
		display: none;
	}

	.homePanelBody {
		padding: 25% 5%;
	}
	
	.homePanelHeading {
		font-size: 40px;
		margin-bottom: 25px;
		margin-top: 0px;
	}

	.homePanelSubHeading {
		font-size: 18px;
	}

	.homePanelBtn {
		width: 40%;
		font-size: 18px;
		margin-top: 12%;
	}

	.aboutBody {
		flex-direction: column;
	}

	.aboutSummary, .aboutSkills {
		margin-top: 20px;
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}

	.projectRow {
		flex-direction: column;
		align-items: center;
		margin-top: 5%;
		margin-bottom: 5%;
	}

	.projectImg {
		width: 90%;
		padding: 1%;
		border-radius: 10px;
	}

	.projectDesc {
		width: 90%;
		padding: 20px 5px;
	}

	.projectDesc .aboutBodyHeader {
		text-align: center;
	}

	#contact {
		padding-bottom: 50px;
	}

	.contactForm {
		width: 85%;
		margin: 10px;
	}

	#contactPanelBtn {
		padding: 15px;
		width: 40%;
	}

	.footer {
		padding: 25px;
	}

	.footerBody {
		flex-direction: column-reverse;
		margin: 0;
	}

	.footerDetails {
		width: 100%;
		margin-top: 10%;
	}

	.footerDetails br:first-of-type {
		display: none;
	}

	.footerEnd {
		margin-top: 30px;
	}

	.toast {
		top: 80px;
		width: 80%;
	}

	.aboutSkillItem {
		background: var(--primary);
	}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	.headerHalf {
		width: 50%;
	}

	.header {
		height: 100px;
		font-size: 20px;
	}

	.browserHeader {
		display: flex !important;
	}

	.headerAvatar {
		width: 64px;
		height: 64px;
	}

	.mobileHeader {
		display: none;
		width: 0%;
	}

	#mobileMenu {
		display: none;
	}

	.container {
		margin-top: 100px;
	}

	.socialMedia {
		display: flex;
	}

	.panelArrow {
		display: block;
	}

	.homePanelBody {
		padding: 5% 20% 10% 20%;
	}
	
	.homePanelHeading {
		font-size: 60px;
		margin-bottom: 15px;
		margin-top: 0px;
	}

	.homePanelSubHeading {
		font-size: 26px;
	}

	.homePanelBtn {
		width: 20%;
		font-size: 22px;
		margin-top: 5%;
	}

	.aboutBody {
		flex-direction: row;
	}

	.aboutSummary, .aboutSkills {
		margin-top: 0px;
		width: 50%;
		padding: 20px;
	}

	.projectRow {
		flex-direction: row;
		align-items: center;
		margin-top: 3%;
		margin-bottom: 3%;
	}

	.projectImg {
		width: 45%;
		padding: 2%;
		border-radius: 10px;
	}
	
	.projectImg:hover {
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	}
	
	.projectDesc {
		width: 45%;
		padding: 10px;
		margin-left: 15px;
	}

	.projectDesc .aboutBodyHeader {
		text-align: center;
	}

	#contact {
		padding-bottom: 150px;
	}

	.contactForm {
		width: 40%;
		margin: 0px;
	}

	#contactPanelBtn {
		padding: 20px;
		width: 25%;
	}

	.footer {
		padding: 50px;
	}

	.footerBody {
		flex-direction: row;
		margin: 0% 15%;
	}

	.footerDetails {
		width: 50%;
		margin: 0;
	}

	.footerDetails br:first-of-type {
		display: block;
	}

	.socialMedia span:hover, .messageMeHelper:hover {
		background: var(--primary);
		box-shadow: var(--shadow-md);
	}

	.footerSocials span:hover {
		cursor: pointer;
		color: var(--primary);
	}
	
	.headerName:hover, .headerItem:hover {
		color: var(--primary);
	}

	.homePanelBtn:hover {
		box-shadow: var(--shadow-md);
	}

	#contactPanelBtn:hover {
		box-shadow: var(--shadow-md);
	}

	.aboutSkillItem:hover {
		box-shadow: var(--shadow-md);
		background: var(--primary);
	}

	.toast {
		width: 30%;
	}
	
	.footerEnd {
		margin-top: 75px;
	}
}

.carousel-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 95%;
	max-width: 1400px;
	margin-top: 20px;
}

.carousel-track-container {
	width: 85%;
	overflow: hidden;
	position: relative;
}

.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	width: 100%;
	align-items: center;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.carousel-track .projectRow {
	min-width: 100%;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	flex-shrink: 0;
	box-sizing: border-box;
	scroll-snap-align: start;
}

.carousel-arrow {
	cursor: pointer;
	padding: 10px;
	z-index: 10;
	color: black;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	width: 7.5%;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.carousel-arrow:active {
	color: var(--primary);
}

.carousel-indicators {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.indicator-dot {
	height: 15px;
	width: 15px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	margin: 0 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.indicator-dot.active {
	background-color: var(--primary);
}