* {
    font-family: "Delicious Handrawn", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
  }
  
  
  /* Fade-in effect for the website */
  
/* Slide-in animation for the website */
body {
  opacity: 0; /* Initially hidden */
  transform: translateX(50px); /* Slide from the left */
  animation: slideIn 1.5s ease-in forwards; /* Slide-in animation */
  background-image: url(/images/23f88b80-ed18-11e9-8a21-0a636b193f08.gif) !important;
}

/* Keyframes for slide-in */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(50px); /* Start slightly off-screen */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at the original position */
  }
}

/* Keyframes for fade-in */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
  /* Heading */
.project-heading {
  font-size: 3.5rem;
  color: #ffffff;
  margin: 40px 0 32px 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #2c8d91;
}

/* Projects Section */
.projects {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Cards Grid */
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop/laptop */
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 32px;
}

/* Card Style */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(44,141,145,0.15);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(44,141,145,0.22);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 2px solid #2c8d91;
}

.card h3 {
  margin: 1.2rem 0 0.5rem 0;
  font-size: 1.4rem;
  color: #2c8d91;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

.card p {
  margin: 0 1.2rem 1.2rem 1.2rem;
  color: #444;
  font-size: 1rem;
  text-align: center;
}

.card a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

/* Back Button */
.back {
  text-align: center;
  margin-top: 30px;
}
.back a {
  text-decoration: none;
  color: #ffffff;
  font-size: 2rem;
  background: #2c8d91;
  padding: 8px 24px;
  border-radius: 24px;
  transition: background 0.3s;
}
.back a:hover {
  background: #195052;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .project-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    max-width: 98vw;
  }
  .card img {
    height: 120px;
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .project-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card {
    min-height: 180px;
  }
  .card img {
    height: 80px;
  }
  .card h3 {
    font-size: 1rem;
  }
  .card p {
    font-size: 0.85rem;
  }
}