* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
  /* outline: 1px solid red;*/
}
html {
  font-family: "manrope", sans-serif;
  font-size: 62.5%;
  /*background-color: var(--background-color);*/
  background-color: #1c1c27;
}
:root {
  --background-color: #05141f;
  --primary-color: #aaa;
  --secondary-color: #031d31;
  --accent-color: #ddd;
}

/* Navbar styling */
header {
  /*background-color: var(--background-color);*/
  background-color: #191924;
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 2rem 6rem;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-color);
}
.logo {
  font-size: 2.5rem;
  font-weight: 900;
  /* color: #046ea7;*/
  /*color: #673ca8;*/
  color: #ddd;
  padding-left: 4rem;
}
.burgar {
  font-size: 3.3rem;
  font-weight: bold;
  display: none;
  cursor: pointer;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-right: 3.5rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--accent-color);
  font-size: 1.5rem;
  padding: 0 10px;
  font-weight: bold;
}
.nav-links a:hover {
  border-bottom: 2px solid var(--primary-color);
}

/* Navbar styling Stop */

/*hero section begins */
.hero-section {
  height: auto;
  width: 100%;
  max-width: 100%;
  padding-bottom: 2rem;
  background-color: #191924;
  /* clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 95%, 0 100%);*/
  clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 95%, 0 100%);
}
.hero-container {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-evenly;
  padding: 150px 0 76px 0;
  width: 100%;
  max-width: 100%;
}
.hero-content {
  width: 38%;
  color: var(--primary-color);
  margin-top: -50px;
}
.hero-content :nth-child(1) {
  margin-bottom: 10px;
  font-size: 3rem;
}
.hero-content :nth-child(2) {
  color: #673ca8;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 5.5rem;
}
.hero-content :nth-child(3) {
  line-height: 25px;
  font-weight: bold;
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}
.hero-content :nth-child(4) {
  line-height: 25px;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 1px;
  color: var(--primary-color);
}
.hero-icons {
  margin-bottom: 8px;
}

.hero-icons .fa-linkedin-in,
.hero-icons .fa-github,
.hero-icons .fa-envelope {
  font-size: 1.5rem;
  border: 1px solid#673ca8;
  padding: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
a .fa-x-twitter:hover,
a .fa-linkedin-in:hover,
a .fa-github:hover,
a .fa-envelope:hover {
  background-color: #673ca8;
  border: 1px solid #fff;
  transform: scale(1.1);
}
.hero-icons .fa-x-twitter {
  font-size: 1.4rem;
  border: 1px solid #673ca8;
  padding: 8px;
  border-radius: 50%;
}
a .fa-x-twitter,
a .fa-linkedin-in,
a .fa-github,
a .fa-envelope {
  color: #fff;
  transition: all 0.5s ease;
}
.hero-content .hireMe-btn {
  margin-top: 2rem;
}
.hireMe-btn a {
  border: 2px solid #673ca8;
  border-radius: 5px;
  padding: 1rem 3rem;
  background-color: #1c1c27;
  text-decoration: none;
  transition: all 0.5s ease;
}
.hero-content .hireMe-btn a {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 1rem;
}
.hireMe-btn a:hover {
  background-color: #654594;
  transform: scale(1.1);
  border: 2px solid #342f36;
}

.hero-img img {
  max-width: 100%;
  width: 410px;
  height: 440px;
  border-radius: 50%;
  /* border: 2rem solid #0f6cb3;*/
  /*box-shadow: 0 0 10px 10px #673ca8;*/
  border: 5px solid #5f4685;
  filter: grayscale(25%);
  background-color: #9eaad3;
  /* background-color: #a89db9;*/

  /*background-color: #a8b3da;*/
  /*background-color: #13081a;*/
}
.hero-img {
  border-radius: 10%;
}
/* Hero section ends*/

/* About section begins */
#about {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  background-color: #1c1c27;
  /*clip-path: polygon(0 100%, 100% 100%, 100% 0, 70% 2%, 0 0);*/
  /*clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 94%, 0 100%);*/
}

/*.about-img img {
  width: 400px;
  filter: grayscale(94%);
  border-radius: 15px;
}*/
.about-content {
  padding: 1rem;
  width: 64%;
  text-align: center;
}
.about-content h1 {
  font-size: 5rem;
  color: #fff;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 30px;
  letter-spacing: 0.5px;
  font-weight: bold;
}
/*About section ends */

/* skills section begins */
#skills {
  height: auto;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #191924, #13081a);
  /*clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 94%, 0 100%);*/
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 40% 5%, 0 0);
}
#skills h2 {
  color: #aaa;
  font-size: 5rem;
  text-align: center;
  padding-top: 70px;
  margin-bottom: 50px;
}
.skill-img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.skill-img .img1 {
  background-color: #171721;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
  border: 1px solid #141222;
  width: 180px;
  height: 180px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.img1 p {
  color: var(--accent-color);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 10px;
}
.skill-img img {
  width: 110px;
  transition: 0.7s all ease;
}
.skill-img img:hover {
  transform: scale(1.1);
}
/* Skills section ends */

/* project section begins */
#projects {
  height: auto;
  width: 100%;
  padding: 40px 0px 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #191924;
  /*clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 96%, 0 100%);*/
}
#projects h2 {
  color: #673ca8;
  font-size: 5rem;
  text-align: center;
  margin-bottom: 40px;
}
#projects h2 span {
  color: var(--accent-color);
}
.project {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  justify-content: center;
  gap: 40px;
}

.image-container {
  /*position: relative;
  overflow: hidden;*/
  /*width: 100%;
  max-width: 600px;
  height: 500px;*/
  width: 350px;
  /*min-width: 300px;*/
  height: 450px;
  /*background-color: #1e1e2b;*/
  background-color: #13131d;
  padding: 2rem 0 0 0;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
  /*clip-path: inset(0); Prevents scaling from affecting edges */
}
.image-container h3 {
  color: #aaa;
  font-size: 2rem;
  padding: 2rem 0 1.4rem 2rem;
  font-weight: 900;
}
.image-container p {
  padding: 0 2rem;
  color: #5d5e64;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
}
.overlay button {
  margin: 3rem 2rem;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #342f36;
  font-weight: bold;
  transition: all 0.5s ease;
}
.overlay button:hover {
  background-color: #342f36;
  border: 1px solid #aaa;
  color: #fff;
}

.image-container img {
  display: block;
  /*width: 100%;
  max-width: 300px;
  height: 220px;*/
  width: 300px;
  /*min-width: 250px;*/

  border: 3px solid #342f36;
  max-height: 200px;
  height: 200px;
  margin: 0 auto;

  /*border: 5px solid #032641;*/
  border-radius: 8px;
  /*box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2), 0 6px 20px rgba(0, 0, 0, 0.8);*/
  transition: transform 0.5s ease;
}

/*.image-container:hover img {
  transform: scale(1.1); 
}*/
/*.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Overlay color with opacity */
/* color: var(--accent-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease; /* Smooth fade-in effect*/
/*}
.image-container:hover .overlay {
  opacity: 1; /* Show overlay on hover
}*/
/*.overlay :first-child {
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}
.overlay :last-child {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 1rem;
  font-weight: bold;
  cursor: pointer;
}*/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow-y: visible;
}
.modal-content {
  background-color: #171721;
  margin: 3% auto;
  padding: 2rem;
  width: 80%;
  max-width: 600px;
  height: auto;
  position: relative;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
}
.close-btn {
  font-size: 3rem;
  background-color: #1c1e27;
  cursor: pointer;
  color: #fff;
  position: absolute;
  top: 10px;
  right: 10px;
  height: 40px;
  width: 40px;
  text-align: center;
  border-radius: 50%;
}
.close-btn:hover {
  color: #854ce6;
}
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-body img {
  width: 100%;
  max-width: 600px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.modal-body p {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px;
  line-height: 1.7;
  color: #aaa;
}
.modal-body p span {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2.5;
}
.modal-body .buttons {
  margin-top: 40px;
}
.buttons a:first-child button {
  padding: 10px 30px;
  border: 1px solid #854ce6;
  background-color: #1c1e27;
  color: white;
  border-radius: 6px;
  font-size: 1.4rem;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.5s ease;
}
.buttons a:first-child button:hover {
  transform: scale(1.1);
}
.buttons a:last-child button {
  padding: 8px 15px;
  border: none;
  background-color: #854ce6;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.5s ease;
}
.buttons a:last-child button:hover {
  transform: scale(1.1);
}
/* Project section ends*/

/* resume section begins */
#resume {
  text-align: center;
  font-size: 3rem;
  color: #fff;
  padding-top: 25px;
  /*background: #27212b;*/
  background: #1e1e2b;
  /*background: #1c1c27;*/
}
#resume-body {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e2b;
  /*background: linear-gradient(160deg, #191924, #13081a);*/
  /*background-color: #27212b;*/
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 97%, 0 100%);
}
.resume-container {
  width: 100%;
  padding: 35px 10% 65px 10%;
}
.resume-container {
  padding-right: calc(10% - 30px);
}
.resume-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2px;
}
.col .title h2 {
  color: var(--primary-color);
  padding: 0px 0px 20px 30px;
  font-size: 2.5rem;
}
.col {
  margin-bottom: 30px;
}
.col .contents {
  padding: 0px 30px;
  border-left: 2px solid #342f36;
}
.col .contents .box {
  position: relative;
  padding: 20px;
  background-color: #171721;
  border: 1px solid #342f36;
  /* background: linear-gradient(160deg, #191924, #13081a);*/
  box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: all 0.4s;
  margin-bottom: 20px;
  border-radius: 7px;
}
.col .contents .box:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  right: calc(100% + 22px);
  top: 0;
  background-color: #171721;
  border: 2px solid #3e2f74;
}
.box h4 {
  padding: 5px 0px 5px 0px;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 900;
}
.box h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: #673ca8;
}
.box h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.box h2 a i,
.box h3 a i {
  color: whitesmoke;
}
.box h2 a:visited {
  color: var(--primary-color);
}
.box p {
  color: var(--accent-color);
  line-height: 25px;
  font-size: 1.6rem;
}
/* Resume section ends*/

/* contact section */
#contact {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: auto;
  padding-bottom: 50px;
}
form {
  display: flex;
  flex-direction: column;
}
form h1 {
  color: var(--accent-color);
  font-size: 4rem;
  margin-bottom: 20px;
}
form h1 span {
  color: #673ca8;
}
label {
  color: var(--primary-color);
  font-size: 1.5rem;
}
input {
  width: 50rem;
  padding: 15px 10px;
  background-color: #171721;
  border: 1px solid #342f36;
  border-radius: 5px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 2rem;
}
input::placeholder {
  font-size: 1.5rem;
}
textarea {
  background-color: #171721;
  border: 1px solid #342f36;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 10px;
  font-size: 2rem;
  color: var(--primary-color);
}
textarea::placeholder {
  font-size: 1.5rem;
}
.btn-submit {
  background-color: #392d3d;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  transition: all 0.5s ease;
  margin-bottom: 10px;
}
.btn-submit:hover {
  background-color: #342f36;
}
.loader {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #13081a;
  padding: 10px;
  font-size: 2rem;
  border-radius: 5px;
  display: none;
  text-align: center;
}
.loader.show {
  display: block;
}
.loader i {
  color: #fff;
  animation: rotateme 0.4s linear infinite;
}
@keyframes rotateme {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.form-message {
  display: none;
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px;
  background-color: #673ca8;
}
.form-message.show {
  display: block;
}
.success-msg {
  color: var(--accent-color);
}
.error-msg {
  color: rgb(136, 19, 19);
}
.contact-info {
  width: 40%;
  font-weight: bold;
}
.contact-info :nth-child(1) {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
}
.contact-info :nth-child(2) {
  font-size: 1.8rem;
  color: #aaa;
  margin-bottom: 10px;
  line-height: 25px;
}
.contact-info :nth-child(3) {
  font-size: 1.8rem;
  color: #aaa;
  margin-bottom: 35px;
  line-height: 25px;
}
.contact-info :nth-child(4) {
  font-size: 1.8rem;
  color: var(--primary-color);
}
.contact-info :nth-child(6) {
  font-size: 1.8rem;
  color: var(--primary-color);
}
.contact-info a {
  text-decoration: none;
}
.contact-info .fa-phone,
.contact-info .fa-envelope {
  font-size: 2rem;
  color: var(--primary-color);
}
.contact-info .fa-linkedin-in,
.contact-info .fa-github,
.contact-info .fa-x-twitter {
  font-size: 1.6rem;
}
/* Contact section ends*/

/* footer begins*/
footer {
  background-color: #171721;
  height: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  line-height: 30px;
}
footer p {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
}
footer p span {
  color: #673ca8;
  font-weight: 900;
}
/* footer ends*/
