html {
    scroll-behavior: smooth;
}
  
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: black;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    padding: 0;
}

.logo {
    height: 60px;
}
  
#radial-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}
  
.background-glow {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;  /* smaller width */
    height: 1000px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}
  
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 1;
    position: relative;
}
  
nav a {
    margin: 0 1rem;
    font-family: 'Satoshi', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Projects Page Styles */
.projects-wrapper {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
  font-family: 'Satoshi', sans-serif;
}

.projects-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-title {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
}

.projects-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 950px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.project-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: rgba(255, 140, 214, 0.3);
}
/* 
.project-image-container {
  position: relative;
} */

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.design-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 10px;
  margin-top: auto; /* Pushes tags to bottom */
}


.tag {
  background: rgba(192, 140, 255, 0.2);
  border: 1px solid rgba(217, 140, 255, 0.3);
  color: #c98cff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.project-content p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #aaa;
  line-height: 1.5;
  flex-grow: 1; /* Makes description take available space */
}

.project-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 140, 214, 0.1);
  border: 1px solid rgba(255, 140, 214, 0.3);
  border-radius: 30px;
  color: #ff8cd6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-bottom: 1rem; /* Space before tags */
  align-self: flex-start; /* Aligns button left */
}

.project-button:hover {
  background: rgba(255, 140, 214, 0.2);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-title {
    font-size: 2.2rem;
  }
}

.star-accent {
  position: absolute;
  background-image: url('images/star2.png'); /* or .png or .webp or even an inline SVG */
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  z-index: 0; /* under main content */
}

.butterfly {
  position: absolute;
  background-image: url('images/butterfly.png'); /* or .png or .webp or even an inline SVG */
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  z-index: 0; /* under main content */
}

/* Example placements */
.top-left {
  top: 10px;
  left: 80px;
}
.top-right {
  top: 150px;
  right: 80px;
  transform: rotate(-34deg); /* ← rotate 45 degrees */
}

.mid-right {
  top: 60%;
  right: 80px;
}
