/* Basic page reset and typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

.page-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #2c3e50;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

.page-header p {
    font-size: 1.1rem;
    color: #bdc3c7;
}

/* Main content and grid layout */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tool button styling */
.tool-button {
    display: block;
    padding: 25px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.tool-button .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #3498db;
}

.tool-button .tool-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.tool-button .tool-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.sticky-nav {
  position: sticky;
  top: 0;
  display: flex; /* Use flexbox for easy centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  background-color: #2c3e50; /* Match the dark color of the previous nav bar */
  padding: 0.75rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.sticky-nav a {
  color: #ecf0f1; /* Light icon color */
  font-size: 2rem; /* Increase icon size for better visibility */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.sticky-nav a:hover {
  color: #3498db; /* Change color on hover */
}

