/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #004080;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  font-size: 22px;
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin: 0 12px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #004080, #0073e6);
  color: white;
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.hero .btn {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  background: #00cc66;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.hero .btn:hover {
  background: #00994d;
}

/* Sections */
.section {
  padding: 50px 20px;
}
.section.alt {
  background: #eaf4ff;
}
.section h2 {
  margin-bottom: 20px;
  color: #004080;
}

/* Section Images */
.section-img {
  display: block;
  max-width: 400px; /* restrict image size */
  height: auto;
  margin: 0 auto 20px auto; /* center image */
  border-radius: 8px;
  object-fit: cover;
}

/* Graph (Chart.js) */
canvas {
  max-width: 800px;
  margin: 20px auto;
  display: block;
}

/* GST Table */
.gst-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.gst-table th,
.gst-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}
.gst-table th {
  background: #0073e6;
  color: white;
}

/* Calculator */
.calculator {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  margin: auto;
}
.calculator input {
  padding: 8px;
  margin: 10px 0;
  width: 80%;
}
.calculator button {
  padding: 10px 15px;
  background: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.calculator button:hover {
  background: #005bb5;
}

/* News */
#news-container div {
  margin-bottom: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#news-container h3 {
  margin-bottom: 6px;
  color: #004080;
}

/* Contact */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
form input,
form textarea {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form button {
  padding: 12px;
  background: #00cc66;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #00994d;
}

/* Footer */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

/* Chatbot */
#chatbot {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 280px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}
#chat-header {
  background: #004080;
  color: white;
  padding: 10px;
  font-weight: bold;
}
#chat-body {
  height: 180px;
  overflow-y: auto;
  padding: 10px;
}
#chat-input {
  width: 100%;
  padding: 8px;
  border: none;
  border-top: 1px solid #ccc;
}
