/*
Theme Name: ToolKhoj
Author: Grapess Solutions
Author Name: Sandeep Sharma
Description: Tool khoj theme
Version: 1.0
Text Domain: toolkhoj
*/
body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
}
.navbar { background: white; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.navbar-brand { font-weight: 700; font-size: 1.3rem; color: #0d6efd !important; }
.hero { background: linear-gradient(135deg, #0dcaf0, #0d6efd); color: white; padding: 25px 0; text-align: center; }
.hero h1 { font-size: 2.8rem; font-weight: 700; }
.hero p { font-size: 1.2rem; margin-top: 10px; }
.tool-card { border: none; border-radius: 15px; transition: all 0.3s ease; }
.tool-card:hover { transform: translateY(-7px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.tool-icon { font-size: 2.5rem; color: #0d6efd; margin-bottom: 15px; }
.footer { background-color: #343a40; color: #ccc; padding: 40px 0; }
.footer a { color: #0dcaf0; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-brand .brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d6efd;
}

.navbar-brand:hover .brand-text {
  color: #0b5ed7;
}
/* =======================
   Navbar Styling
======================= */
.navbar {
  background: #0d6efd;
  /* Bootstrap primary blue */
  padding: 0.8rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
  border-radius: 6px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  /* bold */
  font-size: 1rem;
  color: #0d6efd !important;
  margin: 0 8px;
  transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffc107 !important;
  /* gold/yellow hover */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
  /* make toggler icon white */
}

form.d-flex input[type="search"] {
  border-radius: 30px;
  padding: 10px 15px;
}

form.d-flex button {
  border-radius: 30px;
  padding: 10px 20px;
}

/* CSS Autocomplete  */
#autocomplete-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-top: none;
}

#autocomplete-list .suggestion-item {
  cursor: pointer;
}

#autocomplete-list .suggestion-item:hover {
  background: #f1f1f1;
}

/* Page Wrapper */
.page-wrapper {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  transition: all 0.3s ease-in-out;
}

.page-wrapper:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* Page Title */
.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d6efd;
  /* Bootstrap primary color */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #0d6efd;
  display: inline-block;
  padding-bottom: 6px;
}

/* Page Content */
.page-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-top: 1.5rem;
}

/* Content images */
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Content links */
.page-content a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #0d6efd;
  transition: all 0.2s ease;
}

.page-content a:hover {
  color: #0a58ca;
  border-bottom: 1px solid #0a58ca;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0dcaf0, #0d6efd);
  color: white;
  padding: 120px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  /* Elevation */
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero:hover {
  transform: translateY(-5px);
  /* subtle lift on hover */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

/* Hero Title */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  /* shadow for depth */
  display: inline-block;
  padding: 10px 25px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  /* subtle overlay behind text */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-title:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.3rem;
  margin-top: 20px;
  color: #f0f8ff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional: subtle animated floating overlay for style */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}