:root {
  --primary: #1a73e8;
  --secondary: #555;
  --bg: #f8f9fa;
  --card-bg: rgba(255, 255, 255, 0.75);
  --text: #333;
  --muted: #777;
}

/* Body */
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  margin: 0;
}

/* Navbar */
.modern-navbar {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.modern-navbar .navbar-brand {
  font-weight: 600;
  color: var(--primary);
}

.modern-navbar .nav-link {
  color: var(--secondary) !important;
  transition: color 0.3s, transform 0.3s;
}
.modern-navbar .nav-link:hover {
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* Footer */
.modern-footer {
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px 12px 0 0;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(20px);
  animation: footerFadeUp 0.6s forwards 0.2s;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modern-footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}
.modern-footer a {
  color: var(--secondary);
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s;
}
.modern-footer a:hover {
  color: var(--primary);
}
.modern-footer p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Footer Animation Keyframes */
@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tool Cards */
.tool-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}
.tool-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.tool-card p {
  color: var(--secondary);
  font-size: 0.95rem;
}
.tool-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Card Animation */
@keyframes fadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Buttons */
button {
  transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Inputs and Textareas */
textarea,
input {
  transition: box-shadow 0.2s, border 0.2s;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.5rem;
}
textarea:focus,
input:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(26, 115, 232, 0.5);
  border-color: var(--primary);
}

/* Centered content wrapper for pages */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}
.content-wrapper h1,
.content-wrapper h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
}
/* Logo image style */
.logo {
  width: 60px; /* size of logo */
  height: 60px;
  object-fit: contain; /* keeps aspect ratio */
  border-radius: 8px; /* optional rounded corners */
}
