:root {
  --primary: #0077ff;
  --secondary: #111827;
  --background: #f9fafb;
  --accent: #14b8a6;
  --text: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--secondary);
  color: #fff;
  padding-bottom: 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
}

.hero h2 {
  font-size: 2.8rem;
  color: var(--primary);
}

.hero p {
  margin: 1rem auto;
  max-width: 600px;
  font-size: 1.1rem;
}

.btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #005fcc;
}

main section {
  padding: 4rem 2rem;
}

section h2 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
}

.cards li {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1 1 200px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.portfolio-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-items .item {
  flex: 1 1 300px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.portfolio-items .item:hover {
  transform: translateY(-5px);
}

.portfolio-items .item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.portfolio-items .item h3 {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.portfolio-items .item p {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.portfolio-items .item a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #005fcc;
}

footer {
  text-align: center;
  padding: 2rem;
  background: var(--secondary);
  color: #fff;
  margin-top: 4rem;
}
