/* CLEANED & OPTIMIZED CSS (Night mode removed, normal header) */

/* === Base Reset === */

*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',sans-serif;line-height:1.7;color:#1f2937;background:#f9fafb;}
.container{max-width:1200px;margin:0 auto;padding:0 20px;}

/* === Universal Vertical Spacing === */
section, .tools-section, .trust-section, .content-section{
  margin-top:40px !important;
  margin-bottom:40px !important;
}

/* === Universal Buttons === */
button, .btn, .tool-link, .btn-primary{
  background:#2563eb !important;
  color:#fff !important;
  border-radius:8px !important;
  padding:12px 18px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  display:inline-block !important;
  border:none !important;
}
button:hover, .btn:hover, .tool-link:hover, .btn-primary:hover{
  background:#1d4ed8 !important;
}

/* === Table Styling (NEW) === */
table{width:100%;border-collapse:collapse;margin:25px 0 !important;background:#fff;border-radius:10px;overflow:hidden;}
th,td{padding:14px 18px;border-bottom:1px solid #e5e7eb;font-size:15px;} 
th{background:#2563eb;color:#fff;text-align:left;font-weight:600;} 
tr:last-child td{border-bottom:none;}

/* === BENEFITS GRID FIX 4 PER ROW === */
.benefits-content{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr)) !important;
  gap:25px !important;
  margin-top:25px !important;
}
.benefit-point{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  padding:20px !important;
  border-radius:10px !important;
  display:flex !important;
  gap:12px !important;
  align-items:flex-start !important;
}
.benefit-point i{
  font-size:20px !important;
  color:#2563eb !important;
  margin-top:4px;
}
.benefit-point h3{
  font-size:17px !important;
  margin-bottom:6px !important;
  color:#1e3a8a !important;
}

/* === FEATURES GRID FIX 4 PER ROW === */
.features-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr)) !important;
  gap:25px !important;
  margin-top:25px !important;
}
.feature-item{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  padding:20px !important;
  border-radius:10px !important;
  text-align:left !important;
}
.feature-item h3{
  font-size:17px !important;
  margin-bottom:8px !important;
}
.feature-icon i{
  font-size:22px !important;
  color:#2563eb !important;
}

/* === HOW IT WORKS GRID FIX 4 PER ROW === */
.steps-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr)) !important;
  gap:25px !important;
  margin-top:25px !important;
}
.step-item{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  padding:20px !important;
  border-radius:10px !important;
  text-align:center !important;
}
.step-number{
  font-size:22px !important;
  background:#2563eb !important;
  color:#fff !important;
  padding:6px 12px !important;
  border-radius:6px !important;
  display:inline-block !important;
  margin-bottom:10px !important;
}

/* === Content Box Styling (UPDATED) === */ (UPDATED FOR INDEX.HTML) === */
.content-section, .faq-section, .benefits-section, .requirements-section{
  background:#fff !important;
  padding:35px 30px !important;
  border-radius:12px !important;
  border:1px solid #e5e7eb !important;
  margin:45px auto !important;
  max-width:1200px;
}

/* Headings styled blue box */
.content-section h2, .faq-section h2, .benefits-section h2, .requirements-section h2{
  background:#2563eb;
  color:#fff !important;
  padding:12px 18px;
  border-radius:8px;
  display:inline-block;
  margin-bottom:20px !important;
}

/* Fix FAQ spacing */
.faq-grid{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.faq-item{
  background:#fff;
  border:1px solid #e5e7eb;
  padding:20px;
  border-radius:10px;
}
.faq-question{
  font-size:18px;
  font-weight:700;
  margin-bottom:10px;
}
.faq-answer p{margin:0 !important;}

/* Requirements section cards fix */
.requirements-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px !important;
  margin-top:20px !important;
}
.requirement-card{
  background:#fff;
  padding:20px;
  border-radius:10px;
  border:1px solid #e5e7eb;
}
.requirement-card h3{
  font-size:18px;
  margin-bottom:10px;
}

/* === TRUST STATS BOX FIX === */
.trust-section{
  max-width:1200px;
  margin:40px auto !important;
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  border-radius:12px !important;
  padding:35px 20px !important;
}
.trust-stats{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
  text-align:center !important;
  gap:20px !important;
}
.trust-item{
  background:#f8fafc !important;
  padding:20px !important;
  border-radius:10px !important;
  border:1px solid #e2e8f0 !important;
}
.trust-item i{
  font-size:24px !important;
  color:#2563eb !important;
  margin-bottom:8px;
}
.trust-item h3{
  font-size:20px !important;
  margin-bottom:5px !important;
  font-weight:700 !important;
  color:#1e3a8a !important;
}
.trust-item p{
  font-size:14px !important;
  color:#475569 !important;
}

/* === SECTION HEADINGS BOX === */
section h2{
  background:#2563eb !important;
  color:#fff !important;
  padding:12px 18px !important;
  border-radius:8px !important;
  display:inline-block !important;
  margin-bottom:20px !important;
}

/* === CTA SECTION FIX === */ === */
.cta-section{
  background:#fff;
  margin:60px auto !important;
  padding:50px 20px !important;
  text-align:center !important;
  border-radius:12px;
  border:1px solid #e5e7eb;
  max-width:900px;
}
.cta-content{text-align:center !important;}
.cta-content h2{
  font-size:26px;
  font-weight:700;
  margin-bottom:12px;
  color:#1e3a8a;
}
.cta-content p{
  font-size:16px;
  color:#475569;
  margin-bottom:25px;
}
.btn-large{
  padding:14px 28px !important;
  font-size:17px !important;
  border-radius:10px !important;
}

/* Add PNG Ad style (centered box) */
.png-ad-box{
  margin:50px auto;
  max-width:900px;
  text-align:center;
  padding:25px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
}
.png-ad-box img{
  max-width:100%;
  height:auto;
} */
.cta-section{
  margin-top:50px !important;
} (NEW) === */
.content-section, .faq-section, .benefits-section, .requirements-section{
  background:#fff !important;
  padding:35px 30px !important;
  border-radius:12px !important;
  border:1px solid #e5e7eb !important;
  margin-bottom:45px !important;
}
.content-section h2, .faq-section h2, .benefits-section h2, .requirements-section h2{
  background:#2563eb;
  color:#fff !important;
  padding:12px 18px;
  border-radius:8px;
  display:inline-block;
  margin-bottom:20px !important;
}

/* === Footer FIXED FOR index.html structure === */
.footer {
  background:#0f172a !important;
  color:#cbd5e1 !important;
  padding:40px 20px !important;   /* FIXED */
  margin-top:20px !important;     /* FIXED */
  border-top:4px solid #1e3a8a !important;
}
.footer-content{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px !important;
  padding-bottom:40px !important;
  border-bottom:1px solid #334155 !important;
}
.footer-section h3,.footer-section h4{
  font-size:20px !important;
  font-weight:700 !important;
  color:#fff !important;
  margin-bottom:16px !important;
}
.footer-section p{
  font-size:15px !important;
  color:#cbd5e1 !important;
  line-height:1.7 !important;
  margin-bottom:10px !important;
}
.footer-links li{margin-bottom:10px !important;}
.footer-links li a{
  color:#94a3b8 !important;
  font-size:15px !important;
  text-decoration:none !important;
}
.footer-links li a:hover{color:#fff !important;}
.social-links a{
  color:#94a3b8 !important;
  font-size:18px !important;
  margin-right:12px;
}
.social-links a:hover{color:#fff !important;}
.footer-disclaimer{
  margin-top:25px;
  font-size:14px;
  color:#94a3b8 !important;
  line-height:1.6;
}
.footer-bottom{
  text-align:center !important;
  margin-top:25px !important;
  padding-top:20px !important;
  font-size:14px !important;
  color:#94a3b8 !important;
}
@media(max-width:650px){
  .footer-content{ text-align:center !important; }
  .footer-section h3,.footer-section h4{ text-align:center !important; }
} (FIXED & FULLY RESPONSIVE) === */
.site-footer{
  background:#0f172a !important;
  color:#cbd5e1 !important;
  padding:40px 20px !important;
  margin-top:20px !important;
  border-top:4px solid #1e3a8a !important;
}

/* Footer container better spacing */
.footer-container{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px !important;
  padding-bottom:40px !important;
  border-bottom:1px solid #334155 !important;
}

/* Footer columns */
.footer-col h3,.footer-col h4{
  color:#ffffff !important;
  font-size:20px !important;
  margin-bottom:18px !important;
  font-weight:700 !important;
}

.footer-col p{
  color:#cbd5e1 !important;
  line-height:1.7 !important;
  font-size:15px !important;
  margin-bottom:10px;
}

.footer-col ul li{
  margin-bottom:10px !important;
}
.footer-col ul li a{
  color:#94a3b8 !important;
  font-size:15px !important;
  text-decoration:none !important;
  transition:color .2s;
}
.footer-col ul li a:hover{
  color:#ffffff !important;
}

/* Contact email clickable style */
.footer-col a{
  color:#93c5fd !important;
  word-break:break-all;
}

/* Footer bottom bar */
.footer-bottom{
  text-align:center !important;
  padding-top:25px !important;
  padding-bottom:5px !important;
  font-size:14px !important;
  color:#94a3b8 !important;
}
.footer-bottom span{
  color:#cbd5e1 !important;
}

/* Mobile footer alignment */
@media(max-width:600px){
  .footer-container{
    text-align:center !important;
  }
  .footer-col h3,.footer-col h4{
    text-align:center !important;
  }
} */ Universal Fix === */
.site-footer{
  background:#0f172a !important;
  padding:60px 20px 30px !important;
  margin-top:50px !important;
}
.footer-container{
  gap:40px !important;
}
.footer-bottom{
  padding-top:25px !important;
}
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',sans-serif;line-height:1.6;color:#1f2937;background:#f9fafb;}
.container{max-width:1200px;margin:0 auto;padding:0 20px;}

/* === Header (Normal, Not Fixed) === */
.site-header{background:#fff;border-bottom:1px solid #eee;position:relative;z-index:10;}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;}
.logo a{font-size:20px;font-weight:700;color:#1e3a8a;text-decoration:none;}
.main-nav{display:flex;gap:16px;}
.menu-toggle{display:none;font-size:24px;background:none;border:none;cursor:pointer;}
@media(max-width:768px){
  .menu-toggle{display:block;}
  .main-nav{position:absolute;top:60px;left:0;width:100%;background:#fff;flex-direction:column;display:none;padding:12px 0;border-top:1px solid #eee;}
  .main-nav.show{display:flex;}
}

/* === Hero Section === */
.hero{background:linear-gradient(135deg,#1e3a8a,#3b82f6);padding:60px 20px;color:#fff;text-align:center;}
.hero h1{font-size:2.4rem;margin-bottom:12px;}
.hero-subtitle{font-size:1.1rem;margin-bottom:20px;}
.hero-features{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:22px;}
.hero-features span{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);padding:8px 20px;border-radius:40px;font-weight:600;display:flex;align-items:center;gap:8px;}
.hero-features i{color:#4ade80;}

/* === Tools Grid === */
/* FIX: Huge empty white space above tools section */
.tools-section{padding:40px 20px !important;margin-top:0 !important;}

/* FIX: Center trust stats + remove top white gap */
.trust-section{padding:40px 0 !important;margin-top:-20px !important;}
.trust-stats{text-align:center !important;justify-content:center !important;}

/* FIX: Prevent tools card row from going too wide */
.tools-grid{max-width:1200px;margin:0 auto;justify-items:center;}
.tools-section{padding:50px 20px;}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px;margin-top:30px;}
.tool-card{background:#fff;border:1px solid #e5e7eb;padding:26px;border-radius:12px;box-shadow:0 2px 5px rgba(0,0,0,.05);transition:.25s;}
.tool-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px rgba(0,0,0,.1);border-color:#2563eb;}
.tool-card h3{font-size:20px;margin-bottom:8px;color:#1f2937;}
.tool-card p{font-size:14px;color:#6b7280;margin-bottom:18px;}
.tool-link{display:block;background:#2563eb;color:#fff;padding:12px 18px;border-radius:6px;text-align:center;font-weight:600;text-decoration:none;}
.tool-link:hover{background:#1d4ed8;}

/* === Tool Page Layout (UPDATED CLEAN DESIGN) === */
.tool-container{
  display:flex;
  gap:30px;
  align-items:flex-start;
  width:100%;
  max-width:1200px;
  margin:0 auto;
}
.tool-main{
  flex:1;
  background:#fff;
  padding:25px;
  border-radius:12px;
  border:1px solid #e5e7eb;
}
.tool-sidebar{
  width:320px;
  background:#fff;
  padding:20px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

/* Buttons FIX */
button,.btn,.tool-link{
  background:#2563eb !important;
  color:#fff !important;
  padding:12px 20px !important;
  border-radius:8px !important;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:none !important;
  cursor:pointer;
}
button:hover,.btn:hover,.tool-link:hover{
  background:#1e40af !important;
}

/* Related Tools Section */
.related-tools{
  margin:40px auto;
  padding:25px;
  background:#fff;
  border-radius:12px;
  border:1px solid #e5e7eb;
  max-width:1200px;
}
.related-tools h3{
  background:#2563eb;
  color:#fff;
  display:inline-block;
  padding:10px 18px;
  border-radius:8px;
  margin-bottom:20px;
}
.related-tool-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.related-tool-links a{
  background:#f8fafc;
  padding:10px 15px;
  border-radius:6px;
  border:1px solid #e2e8f0;
  color:#2563eb !important;
  font-weight:600;
  text-decoration:none;
}
.related-tool-links a:hover{
  background:#2563eb;
  color:#fff !important;
} === */
.tool-container{display:flex;gap:30px;align-items:flex-start;width:100%;}
.tool-main{flex:1;text-align:center;}
.tool-sidebar{width:320px;background:#fff;padding:20px;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 2px 6px rgba(0,0,0,.05);}

.upload-area,#uploadArea{width:100%;max-width:350px;min-width:280px;min-height:220px;padding:20px;margin:0 auto;border:2px dashed #1e3a8a;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.preview-container{width:100%;max-width:350px;margin:20px auto;}
.preview-area{min-height:300px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:10px;}
.preview-area img{max-width:100%;max-height:450px;width:auto;height:auto;object-fit:contain;}

/* === Typography Helpers === */
.section-subtitle{font-size:1.1rem;color:#4b5563;margin-bottom:24px;text-align:center;}

/* === Footer === */
.site-footer{background:#0f172a;color:#cbd5e1;padding:50px 20px 20px;}
.footer-container{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;padding-bottom:30px;border-bottom:1px solid #334155;}
.footer-col h3,.footer-col h4{color:#fff;margin-bottom:16px;}
.footer-col p,.footer-col ul li a{color:#94a3b8;font-size:14px;text-decoration:none;}
.footer-bottom{text-align:center;padding-top:18px;font-size:14px;color:#94a3b8;}

/* === Mobile Tool Layout === */
@media(max-width:768px){
  .tool-container{flex-direction:column;align-items:center;}
  .tool-sidebar{width:100%;max-width:400px;}
  .upload-area,#uploadArea,.preview-container{max-width:320px;}
}
/* ========== TOOL PAGE FIXES ========== */

/* Container max width */
.tool-page .container {
    max-width: 1250px;
}

/* Tool container spacing */
.tool-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

/* Upload area spacing */
.tool-main {
    flex: 1;
    padding-right: 10px;
}

/* Upload box */
.upload-area {
    padding: 40px 30px;
    border: 2px dashed #2563eb;
    border-radius: 14px;
    text-align: center;
    background: #f8fafc;
    margin-bottom: 30px;
}

/* Preview area */
.preview-container {
    margin-top: 35px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

/* Sidebar */
.tool-sidebar {
    width: 360px;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 25px;
    border-radius: 12px;
}

/* Sidebar spacing fix */
.tool-sidebar h3 {
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Preset buttons grid */
.preset-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Buttons */
.btn-preset {
    background: #2563eb;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    border: none;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

/* Info box */
.info-box {
    background: #eef6ff;
    border-left: 4px solid #2563eb;
    padding: 14px;
    margin-top: 20px;
    border-radius: 8px;
}

/* Controls spacing */
.control-group {
    margin-bottom: 18px;
}

/* Range slider spacing */
.slider-container {
    margin: 20px 0;
}

/* Action buttons */
.action-buttons button {
    width: 100%;
    margin-bottom: 12px;
}

/* Content sections */
.content-section {
    margin-top: 60px;
}

/* Related Tools improved design */
.related-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-tool-link {
    padding: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-weight: 600;
    transition: 0.2s;
}

.related-tool-link:hover {
    background: #e7efff;
    border-color: #2563eb;
}

/* Mobile responsive fix */
@media (max-width: 900px) {
    .tool-container {
        flex-direction: column;
    }
    
    .tool-sidebar {
        width: 100%;
    }
}
/* ==========================================
   FIX: CONTENT GAP TOO SMALL
   Apply stronger spacing between items
========================================== */

/* Increase space between H2 sections */
.content-section h2 {
    margin-top: 60px !important;
    margin-bottom: 20px;
}

/* Increase space between paragraphs */
.content-section p {
    margin-bottom: 22px !important;
    line-height: 1.7;
}

/* Increase spacing under UL and OL */
.content-section ul,
.content-section ol {
    margin-bottom: 28px !important;
}

/* Increase spacing between FAQ items */
.faq-item {
    margin-bottom: 25px !important;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* Content section overall padding */
.content-section {
    margin-top: 70px !important;
    padding-top: 20px;
}

/* Title Spacing Fix */
.tool-page h1 {
    margin-bottom: 25px !important;
}

/* Subtitle spacing */
.section-subtitle {
    margin-bottom: 35px !important;
}

/* Tool container spacing */
.tool-container {
    gap: 50px !important;
    margin-bottom: 60px !important;
}

/* Sidebar internal spacing */
.tool-sidebar {
    padding: 30px !important;
}

.tool-sidebar h3 {
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

/* Upload area spacing */
.upload-area {
    margin-bottom: 40px !important;
}

/* Preview spacing */
.preview-container {
    margin-top: 40px !important;
}

/* Improve spacing for control groups */
.control-group {
    margin-bottom: 22px !important;
}

/* Range slider spacing fix */
.slider-container {
    margin: 25px 0 !important;
}
/* Final global spacing fix */
.content-section, .tool-container, .tools-section, .faq-section {
  margin-top:60px !important;
  margin-bottom:60px !important;
}

.content-section p, .content-section ul, .content-section ol {
  margin-bottom:22px !important;
}

.tool-sidebar, .tool-main {
  padding:30px !important;
}

/* === Applied fully into styles.css === */
/* Final global spacing fix */
.content-section, .tool-container, .tools-section, .faq-section {
  margin-top:60px !important;
  margin-bottom:60px !important;
}

.content-section p, .content-section ul, .content-section ol {
  margin-bottom:22px !important;
}

.tool-sidebar, .tool-main {
  padding:30px !important;
}



/* === Added final spacing improvements === */
.content-section h2 { margin-top: 60px !important; margin-bottom: 20px; }
.content-section p { margin-bottom: 22px !important; line-height: 1.7; }
.content-section ul, .content-section ol { margin-bottom: 28px !important; }
.faq-item { margin-bottom: 25px !important; padding-bottom: 20px; border-bottom: 1px solid #e5e7eb; }
.content-section { margin-top: 70px !important; padding-top: 20px; }
.tool-page h1 { margin-bottom: 25px !important; }
.section-subtitle { margin-bottom: 35px !important; }
.tool-container { gap: 50px !important; margin-bottom: 60px !important; }
.tool-sidebar { padding: 30px !important; }
.tool-sidebar h3 { margin-top: 35px !important; margin-bottom: 15px !important; }
.upload-area { margin-bottom: 40px !important; }
.preview-container { margin-top: 40px !important; }
.control-group { margin-bottom: 22px !important; }
.slider-container { margin: 25px 0 !important; }
/* FIX: Related Tools Upar Ka Extra Gap Remove */
.content-section + .related-tools {
    margin-top: 20px !important;
}

.related-tools {
    margin-top: 20px !important;
    padding-top: 20px !important;
}
/* FINAL FIX: Remove big top gap before Related Tools */
.content-section + .content-section {
    margin-top: 50px !important;
}

.content-section + .related-tools {
    margin-top: 10px !important;
}

.related-tools {
    margin-top: 10px !important;
    padding-top: 15px !important;
}
/* ===== FOOTER GAP FIX ===== */

/* Footer ke upar ka gap remove */
.footer,
.site-footer {
    margin-top: 20px !important;      /* 60px → 20px */
    padding-top: 40px !important;     /* Clean spacing */
}

/* Last section ka bottom space kam */
section:last-of-type {
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
}

/* Footer content ka spacing optimize */
.footer-content,
.footer-container {
    padding-top: 10px !important;
}

/* Global section margin override when footer is next */
section + footer,
section + .footer,
section + .site-footer {
    margin-top: 10px !important;
}

/* Body ka extra bottom whitespace hatao */
body {
    padding-bottom: 0 !important;
}
/* ============================================
   GLOBAL FOOTER FIX – Applies to ALL Pages
   ============================================ */

/* Footer ka upar wala extra whitespace remove */
footer,
.footer,
.site-footer {
    margin-top: 20px !important;   /* Default 60px → 20px */
    padding-top: 40px !important;
}

/* Body ke end me koi extra padding/gap na rahe */
body {
    padding-bottom: 0 !important;
}

/* Last section ke neeche ka gap reduce */
section:last-of-type,
.content-section:last-of-type,
.tool-section:last-of-type,
.tools-section:last-of-type {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
}

/* Footer ke turant upar section ho to extra gap hatado */
section + footer,
section + .footer,
section + .site-footer {
    margin-top: 10px !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
    footer,
    .footer,
    .site-footer {
        margin-top: 15px !important;
    }
}
/* SAME DESIGN AS RELATED TOOLS */
.related-tools {
    background:#ffffff;
    border:1px solid #e5e7eb;
    padding:25px;
    border-radius:14px;
    max-width:1200px;
    margin:40px auto;
}

.related-tools h3 {
    display:inline-block;
    background:#2563eb;
    color:#fff;
    padding:12px 22px;
    border-radius:10px;
    font-size:22px;
    margin-bottom:25px;
}

.related-tool-links {
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:10px;
}

.related-tool-links a {
    flex:1;
    min-width:260px;
    background:#f1f5f9;
    border:1px solid #e2e8f0;
    padding:18px 20px;
    border-radius:12px;
    text-decoration:none;
    color:#1e293b;
    font-weight:600;
    display:flex;
    gap:12px;
    align-items:center;
    transition:0.2s;
}

.related-tool-links a:hover {
    background:#e7efff;
    border-color:#2563eb;
}
/* HEADER BASE */
.header {
    width: 100%;
    background: #ffffff;   /* WHITE HEADER */
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb; /* light grey border */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    color: #000000;   /* BLACK TEXT */
    font-weight: 700;
}

.logo i {
    color: #2563eb;   /* Blue Icon */
    font-size: 1.6rem;
}

/* NAV MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #000000;  /* BLACK TEXT */
    font-size: 1rem;
    font-weight: 500;
}

.nav-menu li a.active {
    color: #2563eb;  /* Blue Active */
}

/* MOBILE MENU TOGGLE (HIDE ON DESKTOP) */
.mobile-menu-toggle {
    display: none;        /* HIDE on desktop */
    background: transparent;
    border: none;
    color: #000000;
    font-size: 26px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: #ffffff;
        width: 100%;
        padding: 15px 0;
        text-align: center;
        border-top: 1px solid #ddd;
    }

    .mobile-menu-toggle {
        display: block;   /* SHOW only on mobile */
    }
}
.related-tools-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.related-title {
    background: #1e3a8a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

.related-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    padding: 0;
}

.related-tool-link {
    background: #f3f6fb;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    color: #1f2937;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-tools-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers the title and tools */
    margin-top: 30px;
}

.related-tools-title {
    background: #1e3a8a;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.related-tools {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;  /* centers the tools */
    width: 100%;
}

.related-tool-link {
    background: #f3f6fb;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    color: #1f2937;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-tools-wrapper{width:100%;display:flex;flex-direction:column;align-items:center;margin:40px auto !important;padding:0 !important}.related-tools-title{background:#2563eb;color:#fff;padding:12px 22px;border-radius:10px;font-size:22px;margin-bottom:25px;display:inline-block;text-align:center}.related-tools{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;width:100%;max-width:1200px;padding:0 !important;margin:0 auto !important}.related-tool-link{background:#f1f5f9;border:1px solid #e2e8f0;padding:16px 20px;border-radius:12px;min-width:240px;text-decoration:none;color:#1e293b;font-weight:600;display:flex;align-items:center;gap:12px;transition:.2s}.related-tool-link:hover{background:#e8efff;border-color:#2563eb}.content-section + .related-tools-wrapper{margin-top:20px !important}.related-tools-wrapper + footer, .related-tools-wrapper + .footer, .related-tools-wrapper + .site-footer{margin-top:20px !important}@media(max-width:600px){.related-tool-link{min-width:100%}}

