:root {
  --primary: #4f8cff;
  --secondary: #f2f6ff;
  --text: #333;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}




.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.chat-section {
  background: var(--bg);
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
}

.chat-header {
  background: var(--primary);
  color: white;
  padding: 15px;
  text-align: center;
}

.chat-box {
  height: 350px;
  padding: 15px;
  overflow-y: auto;
}

.message {
  margin-bottom: 12px;
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 10px;
}

.user {
  background: var(--primary);
  color: white;
  margin-left: auto;
}

.bot {
  background: #f1f1f1;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 14px;
  border: none;
}

.chat-input button {
  padding: 0 25px;
  background: var(--primary);
  border: none;
  color: white;
}
