/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #dbe6f6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

/* Box Layout */
.box {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar */
nav {
  background: #4a90e2;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
nav h1 {
  font-size: 1.5rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #d0e8ff;
}
nav .logo {
  height: 40px;
  width: auto;
}

/* Main Content */
.container {
  padding: 30px 20px;
  text-align: center;
}
h1 {
  color: #4a90e2;
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Justify paragraph text */
.container p,
.extra-content p,
.faq-section p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
button {
  background: #4a90e2;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  min-width: 120px;
}
button:hover {
  background: #357ab8;
}

/* Footer */
footer {
  background: #4a90e2;
  color: #f1f1f1;
  text-align: center;
  padding: 20px 20px;
  font-size: 0.8rem;
  margin-top: 40px;
}
footer a {
  color: #d0e8ff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Extra Content */
.extra-content {
  margin-top: 30px;
  color: #666;
  font-size: 1rem;
}
.extra-content h2 {
  color: #4a90e2;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
  margin-top: 30px;
  color: #666;
  text-align: left;
  padding: 0 20px;
}
.faq-section h2 {
  color: #4a90e2;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}
.faq-section ul {
  list-style: none;
  padding-left: 0;
}
.faq-section ul li {
  margin-bottom: 15px;
}
.faq-section ul li strong {
  font-weight: bold;
  color: #4a90e2;
}

/* Legal Pages */
.legal-pages {
  font-size: 1rem;
  margin-top: 13px;
}
.legal-pages a {
  color: #f3f6f4;
  text-decoration: none;
  margin: 0 10px;
}
.legal-pages a:hover {
  text-decoration: underline;
}

/* Off-white text for footer */
.footer-text {
  color: #eeeeee; /* Slightly off-white */
  font-size: 0.7rem;
  margin-top: 10px;
}
.more-tools {
  margin-top: 40px;
  text-align: center;
  color: #333;
}
.more-tools h2 {
  color: #4a90e2;
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

.tool-card {
  background: #f9faff;
  border: 2px solid #4a90e2;
  border-radius: 12px;
  padding: 20px;
  color: #4a90e2;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tool-card:hover {
  box-shadow: 0 16px 40px rgba(74, 144, 226, 0.3);
  border-color: #2c68c6;
}

.tool-card .icon {
  font-size: 3.5rem;
  background: #d0e8ff;
  color: #357ab8;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(53, 122, 184, 0.2);
}

.tool-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.tool-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
