/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2d3748;
}

/* Headings styling */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #1a202c;
}

/* Card Grid Layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Card Styling */
.project-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-gradient-bar {
  height: 6px;
  width: 100%;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  transition: color 0.2s;
}

.project-card:hover .card-content h3 {
  color: #3182ce; /* Highlight on hover */
}

.card-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5568;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3182ce;
  margin-top: auto;
  transition: transform 0.2s;
}

.project-card:hover .card-link-text {
  transform: translateX(4px);
}
