/* CSS Variables */
:root {
  /* --bg-primary: #0a0a0a; */
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #ffc107;
  --accent-secondary: #ffc107;
  --accent-gradient: linear-gradient(135deg, #ffc107 0%, #ffc107 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ffc107 0%, #ffc107 100%);
  --border-accent: rgba(0, 212, 255, 0.15);
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.4);
  --border-radius: 16px;
  --border-radius-pill: 50px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-spring: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.my-projects {
  transform: translateY(4rem);
}

.my-projects_boxs {
  margin: 0 3rem;
}

.box1 {
  display: flex;
  align-items: center;
  width: 93%;
  height: 5rem;
  border-radius: 1rem;
  margin: 1rem 0;
  cursor: grab;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.list-num {
  width: 5rem;
  text-align: center;
  border-right: 1px solid #ffe38d;
  padding: 0 1.4rem;
}

.list-num span {
  font-size: 1.4rem;
  color: #fff0c4;
}

.list-name {
  width: 6rem;
}

.list-about_txt {
  width: 60%;
  margin: 0 1rem;
}

.list-about {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #ffc107;
  margin: 0 2rem;
}

.list-btn button {
  width: 6rem;
  height: 2.4rem;
  background-color: #ffc107;
  border: none;
  border-radius: 1rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  transition: 0.5s;
  font-size: 1rem;
}

.list-btn button:hover {
  gap: 0.8rem;
  transition: 0.5s;
  background-color: #ffe38d;
  color: #ffc107;
}

.list-btn a {
  text-decoration: none;
}

@media screen and (max-width: 700px) {
  .box1 span {
    font-size: 0.6rem;
  }

  .list-btn button {
    width: 4rem;
    height: 2rem;
  }

  .list-btn i {
    font-size: 0.6rem;
  }

  .list-about_txt {
    margin: 0 0.6rem;
  }
}

@media screen and (max-width: 575px) {
  .box1 span {
    font-size: 0.5rem;
  }

  .list-btn button {
    width: 3rem;
    height: 1.8rem;
  }

  .list-btn i {
    font-size: 0.5rem;
  }

  .list-name {
    width: 3.8rem;
  }

  .list-about_txt {
    margin: 0 0.4rem;
  }
}

/* Projects Section */
.projects {
  background: var(--bg-primary);
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  bottom: 20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(100px);
  animation: float 10s ease-in-out infinite reverse;
}

.projects-content {
  max-width: 1300px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffc1075f;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
  background-color: #111111;
}

.project-link:hover {
  transform: scale(1.1);
  background: var(--accent-primary);
  color: var(--bg-primary);
  background-color: #111111;
  text-decoration: none;
}

.project-info {
  padding: 2rem;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  /* position: absolute; */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  bottom: 2rem;
}

.project-tech span {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

/* Responsive Updates */
@media (max-width: 1200px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .skill-category {
    padding: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }

  .project-info {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
