/* --------------------------------------------------------------------------
   1. Global Reset & Box-Sizing
   -------------------------------------------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: #1e1e1e;
  color: #f5f5f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. Navbar
   -------------------------------------------------------------------------- */
.navbar {
  background: linear-gradient(90deg, #032788, #0f6604);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ff99;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0; /* Reset default list margins */
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00ff99;
}

/* --------------------------------------------------------------------------
   3. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: url('Image/hero-image.jpg') no-repeat center center / cover;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   4. Search Bar
   -------------------------------------------------------------------------- */
.search-bar {
  margin: 2rem auto;
  text-align: center;
}

.search-bar input {
  width: 80%;
  max-width: 500px;
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid #0f6604;
  border-radius: 4px;
  outline: none; /* Remove default outline on focus */
}

/* --------------------------------------------------------------------------
   5. Tool Section
   -------------------------------------------------------------------------- */
.tool-section {
  padding: 2rem;
  background-color: #fff; /* Use a contrasting color */
  color: #000;           /* Ensure readability on white */
}

.tool-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #032788;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background-color: #fff;
  border: 2px solid #0f6604;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #032788;
}

.tool-card p {
  margin-bottom: 1.5rem;
  color: #555;
}

.tool-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0f6604;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.tool-card a:hover {
  background-color: #032788;
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */
.footer-container {
  background: linear-gradient(90deg, #032788, #0f6604);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  /* Customize as needed */
}

.footer-right {
  /* Customize as needed */
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-nav li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.footer-nav li a:hover {
  color: #00ff99;
}
