header {
  text-align: center;
  background-image: url('hand.png'); /* Specify the image path */
    background-size: cover;                        /* Scales image to cover the entire header */
    background-position: center;                   /* Centers the image within the header */
    background-repeat: no-repeat;                  /* Prevents the image from repeating */
    height: 400px;                                 /* Set a specific height for the header */
    color: black;                                  /* Ensure text is readable */
    padding-top: 100px; 
}

/* General body */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff0f5;
  color: #333;
}


/* Sticky Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFC0CB;
  padding: 10px 0;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  display: block;
  border-radius: 5px;
  transition: background 0.3s;
}

.nav-links li a:hover {
  background-color: #E75480;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #666;
}

/* Portfolio Grid */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.project {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  width: 100%;
  height: auto;
}

.project h2 {
  margin: 10px 0 5px 0;
}

.project p {
  padding: 0 10px 15px 10px;
  color: #666;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #FFB6C1;
  color: #c814c4;
  text-align: center;
  padding: 20px 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}





/* Portfolio Section – stacked layout */
.portfolio {
  display: flex;
  flex-direction: column; /* stack items vertically */
  gap: 25px; /* spacing between projects */
  padding: 20px;
}

/* Project cards */
.project {
  position: relative;
  background: linear-gradient(145deg, #fff, #ffe4e1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(199,21,133,0.2);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(199,21,133,0.3);
  animation: float 0.6s ease-in-out;
}

.project::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,105,180,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.project:hover::after {
  opacity: 1;
}

.project img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ffb6c1;
  border-radius: 15px 15px 0 0;
}

.project h2 {
  margin: 15px 0 5px 0;
  color: #c71585;
}

.project p {
  padding: 0 10px 15px 10px;
  color: #666;
  font-size: 0.95rem;
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(-8px) scale(1.02); }
  50% { transform: translateY(-12px) scale(1.03); }
}