body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}

header {
  text-align: center;
  padding: 2rem;
  background: #4CAF50;
  color: white;
}

/* --- Header Title --- */
.site-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
  color: white;
}

.tagline {
  text-align: center;
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.search-bar {
  text-align: center;
  margin-top: 2rem;
}

.gcse-searchbox-only {
  display: inline-block;
  width: 100%;
  max-width: 600px;
}

.search-bar input {
  padding: 0.7rem;
  width: 60%;
  max-width: 400px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search-bar button {
  padding: 0.7rem 1rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 2rem;
  background: white;
}

.tool {
  text-align: center;
  padding: 1rem;
  background: #e7f5ec;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.2s;
}

.tool:hover {
  background: #d4f0dc;
}

.updates {
  padding: 2rem;
}

.updates h2 {
  margin-bottom: 1rem;
}

.updates ul {
  list-style: none;
  padding: 0;
}

.updates li {
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  font-size: 0.9rem;
}

/* --- Footer --- */
.main-footer {
  background: #f9f9f9;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #555;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #444;
  text-decoration: none;
}

.footer-links .cookie {
  color: #777;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.social-icons a {
  background: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-icons img {
  width: 18px;
  height: 18px;
  filter: invert(1); /* white icons */
}

.social-icons a:hover {
  background: #444;
}

.feedback-btn {
  background: white;
  border: 1px solid #444;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
}

.feedback-btn:hover {
  background: #f1f1f1;
}

footer p {
  margin-top: 10px;
  font-size: 13px;
  color: #999;
}
