/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

header, footer {
  text-align: center;
  padding: 20px;
  background: #111;
  border-bottom: 2px solid red;
}

h1, h2 {
  color: red;
}

a {
  color: #00aaff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Profile Section */
.profile {
  display: flex;
  align-items: center;
  padding: 40px;
}

.profile-pic-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-right: 40px;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border: 5px solid transparent;
  border-radius: 50%;
  animation: spin 6s linear infinite;
}

.circle.red {
  border-top: 5px solid red;
  animation-duration: 8s;
}

.circle.blue {
  border-bottom: 5px solid blue;
  animation-duration: 12s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Objective */
.objective {
  max-width: 600px;
}

.social-links img {
  width: 40px;
  margin: 10px;
}

/* Projects */
.projects {
  text-align: center;
  padding: 40px;
}

.project-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.project-card {
  background: #111;
  border: 1px solid red;
  padding: 20px;
  border-radius: 10px;
  transition: background 0.3s;
  color: white;
}

.project-card:hover {
  background: red;
}

/* Education */
.education, .education-details {
  text-align: center;
  padding: 40px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  border: 2px solid red;
  border-radius: 5px;
  color: white;
  background: transparent;
  transition: background 0.3s;
}

.btn:hover {
  background: red;
}

/* Contact */
.contact {
  text-align: center;
  padding: 40px;
}
.skills-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .skill {
      background: #ffdd57;
      color: #1e3c72;
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: 600;
      user-select: none;
      box-shadow: 0 4px 8px #ffdd57aa;
      transition: background 0.3s ease;
    }
    .skill:hover {
      background: #f7c93d;
      box-shadow: 0 6px 12px #f7c93dcc;
    }
    /* Projects */
    .projects-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .project {
      background: rgba(255 255 255 / 0.15);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(255, 221, 87, 0.2);
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    .project:hover {
      transform: translateY(-5px);
      background: rgba(255 255 255 / 0.3);
      box-shadow: 0 8px 20px rgba(255, 221, 87, 0.4);
    }
    .project h3 {
      margin-bottom: 8px;
      font-weight: 700;
    }
    .project p {
      color: #fff;
      font-weight: 400;
      font-size: 1rem;
    }
animated-title {
      font-size: 1.8rem;
      font-weight: 600;
      text-align: left;
      margin-bottom: 50px;
      height: 40px;
      overflow: hidden;
      position: relative;
      color: red;
    }
    .animated-title span {
      position: absolute;
      width: 100%;
      animation: slideFade 8s infinite;
      opacity: 0;
    }
    .animated-title span:nth-child(1) {
      animation-delay: 0s;
      color: red;
    }
    .animated-title span:nth-child(2) {
      animation-delay: 4s;
    }

    @keyframes slideFade {
      0%, 20% {opacity: 0; transform: translateY(100%);}
      30%, 70% {opacity: 1; transform: translateY(0);}
      80%, 100% {opacity: 0; transform: translateY(-100%);}
    }
