body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #111827;
  color: white;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

header nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

.section {
  padding: 60px 20px;
}

.gray {
  background-color: #f3f4f6;
}

.center-text {
  text-align: center;
}

.section-title {
  font-size: 2em;
  margin-bottom: 20px;
}

.portfolio-grid,
.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.two-columns > div {
  flex: 1 1 300px;
}

.three-columns > div {
  flex: 1 1 250px;
}

.portfolio-item {
  background: #e5e7eb;
  padding: 30px;
  border-radius: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background-color: #111827;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  background-color: #1f2937;
  color: white;
  text-align: center;
  padding: 20px;
}

.unstyled-list {
  list-style: none;
  padding-left: 0;
}

/* Center text and layout */
.center {
  text-align: center;
}

/* Title styling */
.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Subtitle styling */
.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid layout */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Portfolio card */
.portfolio-item {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.portfolio-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

