/* Horizontally scroll ho raha tha to maine isko add kar diya. very important 👇 */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== DROPDOWN DARK MODE FIX ===== */

.dark #toolsDropdown {
  background-color: #000000 !important;   /* Pure black */
  border-color: #111111 !important;       /* Dark subtle border */
}

.dark #toolsDropdown a {
  color: #ffffff !important;              /* White text */
}

.dark #toolsDropdown a:hover {
  background-color: #111111 !important;   /* Hover dark grey */
  color: #3b82f6 !important;              /* Blue hover text */
}

/* Mobile Dropdown */

.dark #mobileToolsPanel {
  background-color: #000000 !important;
}

.dark #mobileToolsPanel a {
  color: #ffffff !important;
}

/* Typography with Gradient Animation */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(
    90deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #667eea 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  position: relative;
}

/* Gradient Animation Keyframes */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Heading Glow Effect */
h1::after, h2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Heading Entrance Animation */
h1, h2 {
  animation: fadeInUp 0.8s ease-out, gradientShift 4s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* new code added today 13.03.2026 */

/* ─── Global Letter Spacing ─────────────────── */
/* Justify text */
body {
  letter-spacing: 0.015em;
  text-align: justify;
}

/* Headings & UI elements — left  */
/* h1, h2, h3, h4, h5, h6,
nav, nav a,
button, .badge,
.stitle, .ssub,
.wa-lbl, .f-brand, .f-col h4 {
  text-align: center;
} */

/* Center wali cheezein — override */
/* .hero-inner, .text-center, [class*="text-center"] {
  text-align: center;
} */

/* Tool card titles — left align added 13.03.2026 */
/* .tool-card h3,
.tool-card h2,
.tool-title,
[class*="tool"] h3,
[class*="card"] h3 {
  text-align: left;
} */


/* ══ PERMANENTLY DARK — sab pages ══ */
html { color-scheme: dark; }

/* Toggle button hide — sab pages */
#darkModeToggle,
#qpdf-darkToggle,
#darkModeToggleMobile {
  display: none !important;
}

/* navmenu right align 13.03.2026 */
#qpdf-nav .hidden.lg\:flex {
  margin-left: auto;
}

.qpdf-gs-btn {
  margin-left: 1.25rem;
}

/* ══ AD PLACEHOLDER — hide until AdSense ready ══ */
.border-dashed.border-white\/10 {
  display: none !important;
}

/* ══ SEO Content Section — Card Border ══ */
.seo-content {
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 1.5rem;
  margin: 2rem auto;
  max-width: 56rem;
}
 /* add 13.03.2026 */
/* SEO content inline tool links */
.seo-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  /* border-bottom: 1px solid rgba(96,165,250,0.3); */
  transition: border-color 0.2s, color 0.2s;
}
.seo-link:hover {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}

/*faq font change in footer*/

footer a[href="faq.html"] {
    color: #475569; /* text-slate-600 */
    font-weight: normal;
    font-size: 0.875rem; /* text-sm */
    transition: 0.3s;
}

footer a[href="faq.html"]:hover {
    color: #60a5fa; /* hover:text-blue-400 */
}

/* End of CSS */