body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  background: #020617;
  position: sticky;
  top: 0;
}

header h1 {
  color: #38bdf8;
}

nav button {
  background: none;
  border: none;
  color: #e2e8f0;
  margin-left: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

nav button:hover {
  color: #38bdf8;
}

section {
  padding: 80px 50px;
}

.hero {
  text-align: center;
}

.hero h2 {
  font-size: 42px;
}

.hero span {
  color: #38bdf8;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card a {
  color: #38bdf8;
  text-decoration: none;
}

.intro {
  margin: 20px 0;
}

footer {
  text-align: center;
  padding: 40px;
  background: #020617;
}

.links a {
  margin: 0 10px;
  color: #38bdf8;
}

.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #020617;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.chat-header {
  background: #38bdf8;
  padding: 10px;
  color: black;
  font-weight: bold;
}

.chat-body {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
}

.chat-input {
  display: flex;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
}

.chat-input button {
  background: #38bdf8;
  border: none;
  padding: 10px;
  cursor: pointer;
}