body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f9fc;
  color: #2c3e50;
}

/* TOP BAR */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #ffffff;
  border-bottom: 1px solid #e0e4ec;
}

.logo-main {
  font-weight: 700;
  font-size: 20px;
  display: block;
}

.logo-tagline {
  font-size: 13px;
  color: #777;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
}

.nav-links a:hover {
  color: #4a90e2;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-actions input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccd3e0;
  min-width: 220px;
}

.btn-primary,
.btn-outline {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #4a90e2;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #4a90e2;
  border: 1px solid #4a90e2;
}

/* HERO */
.hero {
  display: flex;
  gap: 24px;
  padding: 30px 40px 10px;
  align-items: flex-start;
}

.hero-left {
  flex: 3;
}

.hero-right {
  flex: 2;
}

/* HERO TEXT */
.hero h1 {
  margin-top: 0;
  margin-bottom: 8px;
}

.hero-text {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 14px;
  color: #555;
}

/* BOOKS */
.books-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.book {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.book-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.book-sub {
  font-size: 11px;
}

/* Colors for each volume */
.volume1 { background: #4a90e2; }
.volume2 { background: #7b3fe4; }
.volume3 { background: #27ae60; }
.volume4 { background: #e67e22; }
.volume5 { background: #c0392b; }
.volume6 { background: #16a085; }
.volume7 { background: #8e44ad; }
.volume8 { background: #2c3e50; }

.book:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ASK PANEL */
.ask-panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ask-panel h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.ask-panel p {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
}

.mic-button {
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  background: #4a90e2;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.departments {
  margin-top: 18px;
}

.departments h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.departments ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.departments li {
  margin-bottom: 4px;
}

/* FEATURES */
.features {
  padding: 20px 40px 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 16px;
}

.feature {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature h4 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 14px;
}

.feature p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.plans-button-wrap {
  grid-column: span 3;
  text-align: right;
  margin-top: 10px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: #777;
}
.hero-image-section {
  padding: 20px 40px 0;
  text-align: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.quick-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-btn {
  display: block;
  padding: 10px 14px;
  background: #4a90e2;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: background 0.2s ease;
}

.quick-btn:hover {
  background: #3578c4;
}
/* WRAPPER to position the extra capsules */
.extra-capsules-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 20px;
  padding-right: 20px;
}

/* EXTRA CAPSULES (Bookstore, Classroom, Game Room, Teachers) */
.extra-capsules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 180px; /* same width as volume capsules */
}

.book.extra {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

