* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	min-height: 100vh;
	background-image: url(t.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	overflow-x: hidden;
	word-wrap: break-word;
  overflow-wrap: break-word
}
nav {
	position: fixed;
	background-color: black;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
	font-family: bahnschrift;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
nav ul {
	width: 100%;
	list-style: none;
	display: flex;
	justify-content: flex-end;
	align-items: center;

}
nav li {
	height: 60px;

}
nav a {
	height: 100%;
	padding: 0 30px;
	text-decoration: none;
	display: flex;
	align-items: center;
	color: white;
	font-size: 18px;
}
nav li:hover {
	background-color: rgb(242, 206, 0);
	text-shadow: 0 0 10px black;
}
nav li:active {
	background-color: darkgoldenrod;
}
nav li:first-child {
	margin-right: auto;
}
.sidebar {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 170px;
	z-index: 999;
	background-color: black;
	backdrop-filter: blur(100px);
	box-shadow: -10px 0 10px rgba(0, 0, 0, 0.5);
	display: none;
	flex-direction: column;
	justify-content: flex-start;
}
.sidebar li {
	width: 100%;
}
.sidebar a {
	width: 100%;
}
.eq {
	display: none;
}
@media(max-width: 800px) {
	.hom{
		display: none;
	}
	.eq {
		display: block;
	}
	#maindiv {
		flex-direction: column;
		gap: 60px;
	}
	#education{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	#Services{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}
@media(max-width: 300px) {
	.sidebar{
		width: 100%;
	}
}
#maindiv {
	font-family: century gothic;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-content: space-around;
	margin-top: 150px;
	color: white;
}
@keyframes slideInFadeOut {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  25% {
    transform: translateX(0);
    opacity: 1;
  }
  75% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translatey(10%);
    opacity: 0;
  }
}

#role {
  display: inline-block;
	width: 8ch;
	text-align: center;
  animation: slideInFadeOut 2s ease-in-out infinite;
  white-space: nowrap;
  position: relative;
  color: rgb(230, 0, 0);
  font-weight: bold;
  text-shadow: 0px 0px  2px black;
  font-size: 30px;
}

h2 {
  display: inline;
} 

#mypic {
	border-radius: 50%;
	object-fit: cover;
	transition: 0.4s ease;
	outline: solid;
	outline-color: white;
	outline-width: 10px;
	width: 100%;
}
#mypic:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 5.0);
	outline: solid;
	height: 265px;
	width: 265px;
	outline-color: papayawhip;
	outline-width: 14px;
}
#twobtns {
	display: flex;
	list-style: none;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	gap: 30px;
}
#twobtns li a{
	text-decoration: none;
	color: black;
	background-color:  rgb(242, 206, 0);
	padding: 10px;
	border-radius: 8px;
	font-weight: bold;
	font-family: bahnschrift;
}
#twobtns li a:hover {
	background-color: rgb(230, 0, 0);
	font-weight: bold;
	text-shadow: 0 0 8px white;
	color: white;
	box-shadow: none;
}
.social-icons {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  margin-top: 17px;
}

.social-icons a {
  font-size: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Normal colors */
.facebook {
  color: #1877F2;
}
.instagram {
  color: #E4405F;
}
.whatsapp {
  color: #25D366;
}
.snapchat {
  color: #FFFC00;
}

/* Hover effects */
.social-icons a:hover {
  transform: scale(1.2); /* Grows 20% bigger */
}

.facebook:hover {
  color: #0e52b0;
}
.instagram:hover {
  color: #c13584;
}
.whatsapp:hover {
  color: #128C7E;
}
.snapchat:hover {
  color: #ffdd00;
}
#education {
	margin-top: 200px;
	padding: 90px;
	color: white;
	font-family: century gothic;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	background-color: rgba(0, 0, 0, 0.8);

}
#education ul {
	margin-top: 30px;
	padding-left: 15px;
	list-style-position: inside;
	text-shadow: 2px 2px 0 black;
}
#Services {
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	padding: 100px;
	width: 100%;
	height: auto;
	flex-wrap: wrap;
}
.srvdivs {
	height: 210px;
	width: 320px;
	background-color: white;
	color: black;
	box-shadow: 5px 5px 0 black;
	text-align: center;
	border-radius: 20px;
	padding: 20px;
	margin: 15px;
	font-size: 17px;
	font-weight: bold;
	font-family: bahnschrift;
	transition: 0.3s ease;
}
.srvdivs h3 {
	font-family: bahnschrift;
	font-size: 23px;
	color: rgb(230,0,0);
}
.srvdivs:hover {
	 scale: 1.1;
}

}
.contact-form {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: rgb(230,0,0);
  font-family: century gothic;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  background-color: #2b2b2b;
  color: white;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #ff5555;
  background-color: #333;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background-color: rgb(200, 0, 0);
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: bahnschrift;
}

.submit-btn:hover {
  background-color: #ff1a1a;
}
.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
    width: 100%;
  }
}
.lbls {
	color: white;
	font-family: bahnschrift;
}
.lblsname {
	margin-top: 20px;
	color: white;
	font-family: bahnschrift;
}
@media (max-width: 768px) {
   #maindiv {
    flex-direction: column;
    padding: 0 10px; /* Prevents horizontal overflow */
    gap: 30px;
  }

  #Services {
    flex-direction: column;
    padding: 20px;
  }

  .srvdivs {
    width: 90%; /* Instead of fixed 320px */
  }

  #education {
    padding: 20px;
  }

  .contact-form {
    max-width: 90%;
  }
  #image-wrapper {
  	margin-top: 40px;
  }
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}