/* Colour Definitions */
:root {
	--gray: #1e1e22;
	--darkGray: #19191b;
	--darkGrayHover: #29292c;
	--whiteHover: rgb(219, 219, 219);
	--iconHover: rgb(73, 73, 73);
	--linkBlue: rgb(35, 110, 250)
  }

html {
	scroll-behavior: smooth;
}

/* Global Element Definitions */
body {
	height:100vh;
	margin: 0;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	color: white;
    background-image:  repeating-radial-gradient(circle at 0 0, transparent 0, #222121 450px), repeating-linear-gradient(#1d1d1e, #1c1c1c);
	background-color: #1f1f1f;
	background-repeat: no-repeat;
    background-attachment: fixed;
}

a{
	text-decoration: none;
	color: white;
}

.txtLink{
	color: white;
	font-size: 1.2em;
	text-decoration: none;

	border-bottom: transparent solid 2px;
    transition:border-bottom .2s ease-in-out;
}

	.txtLink:hover{
		color: var(--whiteHover);
		border-bottom: white solid 2px;
	}

button{
	color: white;
	background-color: var(--darkGray);
	border-color: white;
	border-radius: 5px;
	font-size: 1em;
	font-weight: 600;
	padding:8px;
}

button:hover {
	background-color: var(--darkGrayHover);
	cursor: pointer;
}

ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.hidden{
	display: none !important;
}

/* Navbar */
nav{
	position: top;
	top: 0;
	height: 80px;
	padding: 0px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--darkGray);
}

.navLogo a img{
	height: 80px;
	padding: 5px;
	margin-right: 15px;
}

.socialLinks {
	display: flex;
	flex-direction: row;
}

.socialLinks div{
	opacity: 1;
	margin: 0 5px;
	border-radius: 50%;
}

	.socialLinks div:hover{
		border-radius: 50%;
		background-color: var(--iconHover);
	}

.socialLinks div a img {
	height: 35px;
}

/* Navbar Mobile Design */

.mobileNav{
	display: none;
}

.mobileIcon{
	width: 50px;
	margin-right: 15px;
	cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white; /* Change to white */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

@keyframes slideUpMenu {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0%);
    }
}

#content{
	transform: translateY(0%);
    transition: transform 1.5s ease;
}

.mobileMenu{
	display: none;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 100vh;
	background-color: var(--darkGray);
	transform: translateY(-100%);
    transition: transform 0.65s ease;
}

.mobileItem{
	padding: 20px 0;
	font-size: 2em;
	font-weight: 500;
	border-radius: 0;
	border-style: solid;
	border-color: white;
	border-width: 0 0 1px 0;
}

.mobileSocials {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.mobileSocials div{
	opacity: 1;
	margin: 0 5px;
	border-radius: 50%;
	padding: 10px;
}

.mobileSocials div a img {
	height: 65px;
}

/* Chat Bot Styling */

.chatBotIcon{
	height: 85px;
	position: fixed;
	bottom: 10px;
	right: 15px;
	border: 2px solid black;
	border-radius: 50%;
	background-color: white;
	z-index: 99;
  }
  
  .chatBotIcon:hover{
	cursor: pointer;
  }
  
  .chatBotContainer{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 22%;
	height: 65%;
	position: fixed;
	bottom: 15px;
	right: 10px;
	z-index: 99;
	background-color: white;
	border-radius: 5px;
  }

  .chatBotHead{
	display: flex;
	height: 8%;
	margin: 5px 0;
  }

  .chatBotHead img{
	height: 100%;
  }

  .chatBotHeadTxt{
	display: flex;
	flex-direction: column;
	color: black;
  }

  .chatBotHeadTxt h3{
	margin: 0;
  }

  .chatBotHeadTxt p{
	font-size: .9em;
	margin: 0;
  }
  
  .chatMsgs{
	height: 85%;
	padding: 15px 5px;
	border-top: 1px solid black;
	overflow-y: auto;
  }
  
  .chatMsg{
	display: flex;
	align-items: center;
	margin: 10px 0;
  }
  
  .chatMsg img{
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center center;
  }
  
  .chatMsg div{
  }
  
  .chatMsg div h3{
	margin: 0;
  }
  
  .chatMsg div p{
	margin: 0;
  }
  
  .chatInputDiv{
	display: flex;
	flex-direction: row;
	align-items: center;
	color: black;
  }
  
  .chatInput{
	width: 100%;
	font-size: 1.2em;
	padding: 3px 2px;
	border: solid 1px black;
	border-bottom-left-radius: 5px;
  }
  
  .chatInputBtn{
	font-size: 1.5em;
	padding: 3px;
	border: solid 1px black;
  }

/* Home Page */

.homeContent{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin-top: 150px;
}

.homeDiv{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 350px;
	padding: 40px 25px;
	background-color: var(--darkGray);
	border-radius: 15px;
	font-size: 1em;
	text-align: center;
}

.homeDiv img{
	width: 200px;
}

.homeDiv p{
	font-size: 1.1em;
}

/* Main Projects Display Page */
.projectsTitleDiv {
	background-color: var(--darkGray);
	text-align: center;
	margin-top: 75px;
}

.projectsTitleDiv h1{
	font-size: 2.5em;
	margin: 0;
}

.projectsTitleDiv p{
	font-size: 1.1em;
	margin: 0;
}

.projectsGrid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 50px;
	grid-row-gap: 35px;
	padding: 15px;
	background-color: var(--darkGray);
}

.projectsDiv{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	background-color: var(--gray);
	border-radius: 15px;
	font-size: 1em;
	text-align: center;
}

	.projectsDiv:hover{
		background-color: var(--darkGrayHover);
		cursor: pointer;
	}

.projectsImgDiv {
	padding: 5px 5px 5px 5px;
	height: 150px;
}

.projectsImgDiv img{
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background-size: cover;
}

 /* Individual Project */

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

.projectTitleDiv{
	text-align: center;
	margin-top: 20px;
	padding: 10px 150px;
	background-color: var(--darkGray);
	border-radius: 8px;
	font-size: 2em;
}

	.clickable{
		color: rgb(91, 91, 252);
		font-style: italic;
	}

		.clickable:hover{
			text-decoration: underline;
		}

 .slides{
	width: 100%;
	height: auto;
	margin-top: 20px;
}

.slides img{
	height: 100%;
	border: 8px solid var(--darkGray);
	border-radius: 15px;
	background-size: cover;
	object-fit: contain;
}

 .projectDescription {
	text-align: center;
	margin-top: 20px;
	padding: 10px;
    width: 90%;
    height: 200px;
    background-color: var(--darkGray);
    border-radius: 15px;
	font-size: 1.2em;
}

.projectDescription a{
	color: var(--linkBlue);
	font-size: 1em;
	cursor: pointer;
}

	.projectDescription a:hover{
		text-decoration: underline;
	}

 /* Project Image Slideshow */

 * {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.slides {display: none}
img {vertical-align: middle;border-radius:15px;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  margin-top: 10px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: #414144;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #29292c;
}

/* Image Gallery Caption text */
.imgCaption {
  color: #f2f2f2;
  background-color: black;
  font-size: 15px;
  padding: 0px 2px;
  position: absolute;
  bottom: 8px;
  width: 25%;
  text-align: center;
  margin-left: 72%;
  border-radius: 4px;
}

/* Image Gallery Page Number*/
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Gallery Bullet Points */
.dots {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #9d9da4;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #414144;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}

/* Main Services Display Page */
.servicesTitleDiv {
	background-color: var(--darkGray);
	text-align: center;
	margin-top: 75px;
}

.servicesTitleDiv h1{
	font-size: 2.5em;
	margin: 0;
	padding: 20px;
}

.servicesTitleDiv p{
	font-size: 1.1em;
	margin: 0;
	padding: 5px;
}

.servicesGrid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 50px;
	grid-row-gap: 35px;
	padding: 35px;
	background-color: var(--darkGray);
}

.servicesDiv{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	background-color: var(--gray);
	border-radius: 15px;
	font-size: 1em;
	text-align: center;
}

	.servicesDiv:hover{
		background-color: var(--darkGrayHover);
	}

.servicesImgDiv {
	padding: 25px 5px 10px 5px;
	height: 150px;
}

.servicesImgDiv img{
	height: 100%;
	border-radius: 5px;
	background-size: cover;
}

 /* Individual Service */

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

.serviceTitle{
	text-align: center;
	font-size: 2.5em;
	padding: 20px 80px;
	border-radius: 15px;
	background-color: var(--darkGray);
}
 
 .serviceDescription{
	text-align: center;
	margin-top: 20px;
	padding: 10px;
    min-height: 200px;
	width: 70%;
    background-color: var(--darkGray);
    border-radius: 15px;
	font-size: 1.2em;
 }

.serviceRow{
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	width: 100%;
	margin-top: 30px;
}

.serviceProjectsMenu{
	height: 195px;
	overflow-y: scroll;
	border-radius: 15px;
	background-color: var(--darkGray);
	font-size: 1.5em;
	text-align: center;
}

.serviceProjectsMenu::-webkit-scrollbar {
	width: 12px;
  }

/* Track */
.serviceProjectsMenu::-webkit-scrollbar-track {
	box-shadow: inset 0 0 2px grey;
	border-radius: 10px;
  }
   
  /* Handle */
  .serviceProjectsMenu::-webkit-scrollbar-thumb {
	background: var(--darkGrayHover); 
	border-radius: 10px;
  }

.serviceProjectsMenu li{
	padding: 10px 80px;
}

	.serviceProjectsMenu li:first-child{	
		border-top-left-radius: 15px;
		border-top-right-radius: 15px;
	}

	.serviceProjectsLastItem{
		border-bottom-left-radius: 15px;
		border-bottom-right-radius: 15px;
	}

	.serviceProjectsMenu li:hover{
		background-color: var(--darkGrayHover);
	}
	
.serviceEnquireBtn{
	font-size: 1.5em;
	padding: 15px 50px;
}

.serviceDescription a{
	color: var(--linkBlue);
	font-size: 1em;
	cursor: pointer;
}

	.serviceDescription a:hover{
		text-decoration: underline;
	}

.enquiryForm{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #222223;
	padding: 20px;
	border-radius: 15px;
}

.enquiryTitle{
	text-align: center;
	margin: 0 0 15px 0;
}

.enquiryInput{
	width: 80%;
	font-size: 1.1em;
	margin: 5px 0;
	border-radius: 5px;
	padding: 5px;
}

.enquiryMessage{
	font-size: 1.2em;
	margin: 5px 0 15px 0;
}

.enquirySubmit{
	width: 50%;
	margin: 10px 0 20px 0;
}

.enquirySubtext{
	text-align: center;
	margin: 3px 0;
}

.enquirySubtext a{
	color: rgb(35, 110, 250);
	text-decoration: underline;
}

/* About Me */

.aboutBGDiv{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--darkGray);
	margin-top: 75px;
}

.aboutContentDiv{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 60%;
	text-align: center;
}

.aboutJourney{
	width: 70%;
}

.aboutSubtitle{
	margin-top: 30px;
}

.aboutBtnsDiv{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.aboutBtnsDiv button{
	margin: 0 15px
}

/* About Work Experience Section */
.aboutWorkExpDiv{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 100px;
	grid-row-gap: 45px;
	margin-bottom: 50px;
}

.aboutWorkExpItem{
	display: flex;
	flex-direction: column;
}

.aboutWorkExpItem h5{
	font-size: 0.9em;
	margin: 5px;
}

.aboutWorkExpItem a{
	font-size: 1em;
	cursor: pointer;
}

	.aboutWorkExpItem a:hover{
		text-decoration: underline;
	}

.aboutWorkExpItem p{
	margin: 5px;
}

.aboutWorkExpItem:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
}

/* About Skills Section */
.aboutSkillsDiv{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 100px;
	grid-row-gap: 45px;
	margin-bottom: 50px;
}

.aboutSkillsItem{
	display: flex;
	flex-direction: column;
}

.aboutSkillsItem h5{
	font-size: 0.9em;
	margin: 5px;
}

.aboutSkillsItem p{
	margin: 5px;
}

/* About Education Section */
.aboutEducationDiv{
	display: flex;
	flex-direction: column;
	margin-bottom: 50px;
}

.aboutEducationItem{
	display: flex;
	flex-direction: column;
	margin: 15px 0;
}

.aboutEducationItem h5{
	margin: 5px;
}

.aboutEducationItem p{
	margin: 5px;
}