* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Header */
.header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #4a90e2, #007acc);
  color: #fff;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Projects Section */
.projects h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Grid Layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Project Cards */
.project-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #007acc;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Disabled cards */
.project-card.disabled {
  background: #eee;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

.project-card.disabled h3 {
  color: #999;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #ddd;
  font-size: 0.9rem;
}

.footer a {
  color: #4a90e2;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .projects h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .header p {
    font-size: 1rem;
  }

  .project-card {
    padding: 1rem;
  }
}
