body {
  padding: 0;
  margin: 0;
  font-family: poppins;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0px 14px 18px 2px rgb(127, 127, 127);
  height: 4rem;
  position: fixed;
  width: 100%;
}

.nav-container h3 {
  color: white;
}

.navbar-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 0.6rem;
}

.navbar-links li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  position: relative;
}

.navbar-links li a::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 0%;
  left: 0;
  bottom: 0;
  background-color: #16fa01;
  transition: all ease 500ms;
  border-radius: 14px;
}

.navbar-links li:hover a {
  color: #16fa01;
}

.navbar-links li a:hover::after {
  width: 100%;
}

.main-container {
  padding: 20px 40px;
  height: fit-content;
  display: flex;
  justify-content: space-around;
}

.main-container img {
  height: 500px;
  width: 400px;
  margin-top: 8rem;
  border-radius: 14px;
}
.main-info {
  margin-top: 12rem;
}

.main-info h1 {
  font-size: 4.5rem;
  margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-info p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 13px;
  flex-wrap: nowrap;
}

.main-info p span {
  color: blue;
  margin-bottom: -0.8rem;

}

.main-info h3 {
  color: rgb(80, 86, 203);
}

.main-container a {
  text-decoration: none;
  color: white;
  background-color: rgb(64, 64, 236);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
}

.about {
  margin: 1rem 4.3rem;
  margin-top: 3rem;
  padding: 3rem;
  background-color: #f3f5ff;
  border-left: 8px solid red;
  border-radius: 14px;
}

.about h2 {
  color: blue;
}
.about p {
  font-size: 20px;
}

.projects {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin: 2rem 4.3rem;
}

.project {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: start;
  padding: 2rem;
  gap: 4rem;
  border-left: 8px solid blue;
  border-radius: 14px;
  background-color: #f3f5ff;
  margin-top: 1.5rem;
}

.project img {
  height: 200px;
  width: 300px;
  border-radius: 14px;
}

.project p {
  font-size: 20px;
}

.project img:hover {
  transform: scale(1.03);
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 15px 4px rgb(150, 150, 150);
}

.project a {
  margin-right: 1rem;
  text-decoration: none;
  color: white;
  background-color: rgb(64, 64, 236);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 12px;
}

#scroll-button {
  position: fixed;
  top: 85%;
  left: 94%;
  border-radius: 50%;
  font-size: 20px;
  border: none;
  background: none;
  justify-content: center;
  align-items: center;
}

#scroll-button svg {
  position: absolute;
  top: -12px;
  left: -6px;
}

#scroll-button circle {
  fill: none;
  stroke: blue;
  stroke-width: 4;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.1s linear;
}




.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f3f5ff;
  margin: 2rem 3rem;
  border-radius: 8px;
  padding-top: 1rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact form label {
  margin-left: 3rem;
}
lable {
  margin-right: 21.8rem;
  color: blue;
}

input {
  width: 400px;
  padding: 0.6rem;
  border-radius: 6px;
  border: 2px solid rgb(150, 207, 225);
}
textarea {
  height: 100px;
  width: 400px;
  border-radius: 6px;
  border: 2px solid rgb(150, 207, 225);
  padding: 1rem;
}

form button {
  margin: 1rem;
}


.skills {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 4rem 0;
  margin-top: 2rem;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.skills-container h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  font-weight: 500;
}

.skills-table-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem;
  margin-bottom: 3rem;
}

.skill-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #667eea;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.skill-card-header i {
  font-size: 1.8rem;
}

.skill-card-header h3 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
}

.skills-rows {
  padding: 0;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.skill-row:last-child {
  border-bottom: none;
}

.skill-row:hover {
  background-color: #f8f9ff;
  padding-left: 2rem;
  transform: translateX(5px);
}

.skill-label {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  flex: 1;
}

.skill-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgb(4, 192, 255);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: 1rem;
}

.tech-stack-summary {
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-bottom: 8px solid #764ba2;
}

.tech-stack-summary h3 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
  font-weight: 700;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1.5rem;
}

.tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /* background-color: blue; */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.tech-badge:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.tech-badge i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: white;
}

.tech-badge p {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #f3f5ff;
  margin-top: 2rem;
  height: fit-content;
}

.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

@media (max-width: 576px) {
  .nav-container {
    padding: 10px 20px;
  }

  .nav-container h3 {
    font-size: 1rem;
    color: white;
  }
  .navbar-links {
    font-size: 1rem;
  }

  .main-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .main-container img {
    margin-left: 0;
    margin-top: 7rem;
  }

  .main-info {
    margin-top: 2rem;
    text-align: center;
  }
  .main-info h1 {
    font-size: 2.5rem;
    line-height: 2rem;
  }

  .main-info p {
    font-size: 1rem;
    line-height: 1.2rem;
    flex: start;
  }

  .about {
    margin: 1rem;
    margin-top: 20rem;
    padding: 1rem;
  }

  .about,
  .projects,
  .project {
    margin: 1rem 0.8rem;
    padding: 1rem;
  }

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

  .contact {
    margin: 0 0.8rem;
  }

  #scroll-button {
    position: fixed;
    top: 90%;
    left: 80%;
    border-radius: 50%;
    font-size: 20px;
    border: none;
    background: none;
    justify-content: center;
    align-items: center;
  }

  #scroll-button svg {
    position: absolute;
    top: -12px;
    left: -6px;
  }

  .skills-grid {
    grid-template-columns: 1fr !important;
  }

  .tech-icons {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  input,
  textarea {
    width: 100% !important;
  }
}
