:root {
  --primary-color: #6c63ff;
  --secondary-color: #2a2a2a;
  --light-color: #f8f9fa;
  --accent-color: #ff6584;
  --text-color: #333333;
  --muted-color: #6c757d;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #080c18;
  color: var(--light-color);
}

.header-area {
  background: linear-gradient(135deg, var(--primary-color) 0%, #8075ff 100%);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  color: white;
}

.header-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #080c18;
  border-radius: 100% 100% 0 0;
}

.animated-shape {
  position: absolute;
  opacity: 0.15;
  z-index: 0;
}

.circle-shape {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: white;
}

.project-title {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 2rem;
  z-index: 1;
  position: relative;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.lead {
  font-size: 18px;
}

.skill-category {
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.skill-category h3 {
  color: var(--light-bg);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
}

.skill-item {
  display: flex;
  width: calc(100% / 3 - 6px);
  align-items: center;
  margin-bottom: 10px;
  padding: 1rem;
  background: #55537727;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.skill-item:hover,
.live-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.1);
  color: white;
}

.skill-icon,
.live-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

img .skill-icon {
  margin-right: 0;
}

.skill-item:hover {
  color: white;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.1);
}

.live-demo {
  display: flex;
  justify-content: center;
  padding: 1rem;
  align-items: center;
  background: #55537727;
  color: var(--light-color);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.live-demo:hover {
  color: white;
}

.live-icon {
  display: inline-block;
  transition: transform 0.5s ease-in-out;
}

.live-icon:hover {
  transform: rotate(120deg);
  color: white;
}

.project-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.03);
}

.highlight-box {
  background: rgba(108, 99, 255, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 30px;
}

.highlight-box h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.next-prev-projects {
  padding: 40px 0;
  margin-top: 60px;
}

.project-nav {
  display: flex;
  justify-content: space-between;
}

.nav-item {
  flex: 0 0 48%;
  /* background: white; */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.nav-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.1);
  color: var(--primary-color);
}

.nav-item.prev {
  text-align: left;
}

.nav-item.next {
  text-align: right;
  flex-direction: row-reverse;
}

.nav-item i {
  font-size: 1.5rem;
  margin: 0 15px;
}

.nav-item .project-info {
  flex: 1;
}

.nav-item .label {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.nav-item .title {
  font-weight: 600;
}

.back-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
}

.back-button:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-area {
    padding: 80px 0 60px;
  }

  .project-nav {
    flex-direction: column;
    gap: 20px;
  }

  .nav-item {
    flex: 0 0 100%;
  }

  /* .skill-category { */
  /* margin-bottom: 2rem; */
  /* } */

  .skill-category h4 {
    text-align: center;
  }

  .skills-grid {
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
  }

  .skill-item {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  .skill-icon {
    font-size: 32px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .skills-grid {
    justify-content: center;
    font-size: 14px;
    gap: 1rem;
  }
}
