/* ==========================================================================
   SeoHaat Modern Pro - Master Stylesheet (2026 Edition)
   Designed specifically for SeoHaat (AtoZ SEO Tools)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --sh-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sh-primary: #4f46e5;
    --sh-primary-hover: #4338ca;
    --sh-primary-soft: #eef2ff;
    --sh-gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --sh-gradient-hero: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e1b4b 80%, #312e81 100%);
    --sh-gradient-card-hover: linear-gradient(180deg, rgba(79, 70, 229, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
    --sh-gradient-pro-tip: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    --sh-accent: #10b981;
    --sh-accent-cyan: #06b6d4;
    --sh-bg: #f8fafc;
    --sh-card-bg: #ffffff;
    --sh-border: #e2e8f0;
    --sh-border-hover: #c7d2fe;
    --sh-title: #0f172a;
    --sh-body: #334155;
    --sh-muted: #64748b;
    --sh-radius-sm: 8px;
    --sh-radius-md: 14px;
    --sh-radius-lg: 18px;
    --sh-radius-full: 9999px;
    --sh-shadow-card: 0 2px 5px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
    --sh-shadow-hover: 0 18px 30px -4px rgba(79, 70, 229, 0.14), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
    --sh-shadow-hero-search: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
    --sh-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   FontAwesome Icon Preservation (Prevent font-family override)
   -------------------------------------------------------------------------- */
.fa,
.fas,
.far,
.fal,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    display: inline-block !important;
}

.fab {
    font-family: "Font Awesome 6 Brands", "FontAwesome" !important;
    display: inline-block !important;
}

/* --------------------------------------------------------------------------
   Global Typography & Layout Resets
   -------------------------------------------------------------------------- */
body {
    font-family: var(--sh-font) !important;
    background-color: var(--sh-bg) !important;
    color: var(--sh-body) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--sh-font) !important;
    color: var(--sh-title) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
}

a {
    color: var(--sh-primary);
    text-decoration: none !important;
    transition: var(--sh-transition);
}

a:hover,
a:focus {
    color: var(--sh-primary-hover);
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Modern Glassmorphic Sticky Navbar & Brand Logo
   -------------------------------------------------------------------------- */
.navbar-default {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: none !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    min-height: 68px !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

/* Clear legacy floats and establish pixel-perfect vertical alignment */
@media (min-width: 768px) {
    .navbar-default>.container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 68px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-default>.container::before,
    .navbar-default>.container::after {
        display: none !important;
    }

    .navbar-header {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .navbar-collapse.collapse {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        float: none !important;
        padding: 0 !important;
        height: auto !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .navbar-nav>li {
        float: none !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Brand & Logo Master Styling */
.navbar>.container .navbar-brand,
.navbar>.container-fluid .navbar-brand,
.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: transform var(--sh-transition) !important;
}

.navbar-brand:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.navbar-brand img,
.themeLogoImg,
.atoz_seo_tools_logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    image-rendering: -webkit-optimize-contrast;
}

.themeLogoText {
    font-size: 22px;
    font-weight: 800;
    color: var(--sh-title);
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.themeLogoText i {
    color: var(--sh-primary);
}

/* Nav Menu Items */
.navbar-default .navbar-nav>li>a {
    color: var(--sh-text) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: var(--sh-radius-sm) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: var(--sh-primary) !important;
    background-color: var(--sh-primary-soft) !important;
    text-decoration: none !important;
}

.navbar-default .navbar-nav>li.active>a,
.navbar-default .navbar-nav>li.active>a:hover,
.navbar-default .navbar-nav>li.active>a:focus {
    color: var(--sh-primary) !important;
    background-color: var(--sh-primary-soft) !important;
    font-weight: 700 !important;
}

/* Auth Buttons: Log In (Modern Outline Pill) */
.navbar-nav li a.signin,
.navbar-nav a[href*="account/login"] {
    background: #ffffff !important;
    border: 1.5px solid var(--sh-border) !important;
    color: var(--sh-title) !important;
    border-radius: var(--sh-radius-full) !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    margin-left: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-nav li a.signin:hover,
.navbar-nav a[href*="account/login"]:hover {
    border-color: var(--sh-primary) !important;
    color: var(--sh-primary) !important;
    background: var(--sh-primary-soft) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12) !important;
}

/* Auth Buttons: Sign Up (Radiant SaaS CTA) */
.navbar-nav li a.signup,
.navbar-nav a[href*="account/register"] {
    background: var(--sh-gradient-primary) !important;
    color: #ffffff !important;
    border: 1.5px solid transparent !important;
    border-radius: var(--sh-radius-full) !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    margin-left: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.32) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-nav li a.signup:hover,
.navbar-nav a[href*="account/register"]:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45) !important;
    filter: brightness(1.06);
}

/* Logged-In User Profile / Logout Styling */
.navbar-nav li a[href*="my-profile"] {
    background: var(--sh-primary-soft) !important;
    color: var(--sh-primary) !important;
    font-weight: 600 !important;
    border-radius: var(--sh-radius-full) !important;
    padding: 8px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.navbar-nav li a[href*="logout"] {
    color: var(--sh-muted) !important;
    font-size: 13.5px !important;
}

.navbar-nav li a[href*="logout"]:hover {
    color: #EF4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
}

/* Modern Language Selector Dropdown */
.navbar-nav>li.dropdown>a.dropdown-toggle {
    background: rgba(241, 245, 249, 0.75) !important;
    border: 1px solid var(--sh-border) !important;
    border-radius: var(--sh-radius-full) !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--sh-title) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 6px !important;
    transition: all 0.2s ease !important;
}

.navbar-nav>li.dropdown>a.dropdown-toggle:hover,
.navbar-nav>li.dropdown.open>a.dropdown-toggle {
    background: #ffffff !important;
    border-color: var(--sh-primary) !important;
    color: var(--sh-primary) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12) !important;
}

.navbar-nav>li.dropdown>a.dropdown-toggle i.fa-globe {
    color: var(--sh-primary);
    font-size: 14px;
}

.navbar-nav>li.dropdown .dropdown-menu {
    border: 1px solid var(--sh-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.14) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    min-width: 170px !important;
    background: #ffffff !important;
    animation: shDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes shDropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav>li.dropdown .dropdown-menu>li>a {
    padding: 9px 14px !important;
    border-radius: var(--sh-radius-sm) !important;
    color: var(--sh-text) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
}

.navbar-nav>li.dropdown .dropdown-menu>li>a:hover {
    background: var(--sh-primary-soft) !important;
    color: var(--sh-primary) !important;
    padding-left: 18px !important;
}

/* Mobile & Tablet Navbar Responsiveness */
@media (max-width: 767px) {
    .navbar-default {
        padding: 10px 0 !important;
    }

    .navbar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }

    .navbar-brand {
        padding: 0 !important;
    }

    .navbar-brand img,
    .themeLogoImg {
        height: 34px !important;
        max-height: 34px !important;
    }

    .navbar-toggle {
        margin: 0 !important;
        border: 1.5px solid var(--sh-border) !important;
        background: #ffffff !important;
        border-radius: 10px !important;
        padding: 8px 10px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }

    .navbar-toggle:hover,
    .navbar-toggle:focus {
        background: var(--sh-bg-card-hover) !important;
        border-color: var(--sh-primary) !important;
    }

    .navbar-toggle .icon-bar {
        background-color: var(--sh-title) !important;
        height: 2px !important;
        border-radius: 2px !important;
        width: 22px !important;
        margin: 4px 0 !important;
        transition: all 0.2s ease !important;
    }

    .navbar-collapse {
        border: none !important;
        box-shadow: none !important;
        padding: 0 15px !important;
        max-height: none !important;
    }

    .navbar-collapse.in,
    .navbar-collapse.collapsing {
        background: #ffffff !important;
        border-radius: 16px !important;
        border: 1px solid var(--sh-border) !important;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
        margin: 12px 15px 16px 15px !important;
        padding: 14px 16px !important;
    }

    .navbar-nav {
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .navbar-nav>li>a {
        padding: 10px 14px !important;
        width: 100% !important;
        border-radius: 10px !important;
    }

    .navbar-nav li a.signin,
    .navbar-nav li a.signup {
        width: 100% !important;
        justify-content: center !important;
        margin: 4px 0 !important;
    }

    .navbar-nav>li.dropdown>a.dropdown-toggle {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: space-between !important;
    }
}

/* --------------------------------------------------------------------------
   Modern High-Impact SaaS Hero Section
   -------------------------------------------------------------------------- */
.masthead {
    background: var(--sh-gradient-hero) !important;
    color: #ffffff !important;
    height: auto !important;
    min-height: 480px;
    padding: 70px 0 85px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 45px !important;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.masthead::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(124, 58, 237, 0.15) 50%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.hero-content-wrap {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: var(--sh-radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 22px;
}

.hero-pill-badge i {
    color: #38bdf8;
}

.seobannerh1 {
    font-size: 44px !important;
    font-weight: 800 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.seobannerp {
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #94a3b8 !important;
    margin-bottom: 34px !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-container {
    max-width: 680px;
    margin: 0 auto 28px;
    position: relative;
}

.hero-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: var(--sh-radius-lg);
    box-shadow: var(--sh-shadow-hero-search);
    padding: 6px 8px 6px 18px;
    border: 2px solid transparent;
    transition: var(--sh-transition);
}

.hero-search-wrapper:focus-within {
    border-color: #818cf8;
    box-shadow: 0 20px 45px -8px rgba(79, 70, 229, 0.4);
}

.hero-search-icon {
    color: var(--sh-primary);
    font-size: 20px;
    margin-right: 14px;
    display: flex;
    align-items: center;
}

.hero-search-input {
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--sh-title) !important;
    height: 48px !important;
    padding: 0 !important;
    background: transparent !important;
    outline: none !important;
}

.hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-search-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--sh-radius-sm);
    border: 1px solid #e2e8f0;
}

.hero-trending-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 13.5px;
}

.hero-trending-tags span {
    font-weight: 600;
    color: #cbd5e1;
}

.hero-trending-tags a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0 !important;
    padding: 4px 12px;
    border-radius: var(--sh-radius-full);
    font-size: 12.5px;
    font-weight: 500;
    transition: var(--sh-transition);
}

.hero-trending-tags a:hover {
    background: var(--sh-primary);
    color: #ffffff !important;
    border-color: var(--sh-primary);
    transform: translateY(-1px);
}

/* Sub-masthead for Inner Tool Pages */
.submasthead {
    background: var(--sh-gradient-hero) !important;
    color: #ffffff !important;
    height: auto !important;
    padding: 38px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub_seobannerh1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 4px 0 0 !important;
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Modern Category Filter Bar
   -------------------------------------------------------------------------- */
.category-filter-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    background: var(--sh-card-bg);
    border: 1.5px solid var(--sh-border);
    border-radius: var(--sh-radius-lg);
    box-shadow: var(--sh-shadow-card);
    margin-bottom: 35px;
}

.cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--sh-radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sh-body);
    background: #f8fafc;
    border: 1px solid var(--sh-border);
    cursor: pointer;
    transition: var(--sh-transition);
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
    background: var(--sh-primary);
    color: #ffffff !important;
    border-color: var(--sh-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Category Section Headings
   -------------------------------------------------------------------------- */
.category-section {
    margin-bottom: 45px;
}

.category_heading {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--sh-title) !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category_heading i {
    color: var(--sh-primary);
    font-size: 20px;
}

.category_heading span {
    color: var(--sh-primary);
    font-weight: 600;
}

.category_des {
    font-size: 14px !important;
    color: var(--sh-muted) !important;
    margin-bottom: 22px !important;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CSS Grid Modern Tool Cards (100% Fixed Alignment & No Float Snags!)
   -------------------------------------------------------------------------- */
#seoTools {
    width: 100% !important;
    float: none !important;
    padding: 0 15px !important;
}

.modern-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

@media (max-width: 1199px) {
    .modern-tools-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .modern-tools-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .modern-tools-grid {
        grid-template-columns: 1fr !important;
    }
}

.modern-tool-card {
    background: var(--sh-card-bg);
    border: 1.5px solid var(--sh-border);
    border-radius: var(--sh-radius-md);
    padding: 22px 16px;
    box-shadow: var(--sh-shadow-card);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    height: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 0 !important;
}

.modern-tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--sh-border-hover);
    box-shadow: var(--sh-shadow-hover);
}

.modern-tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sh-radius-md);
    background: var(--sh-gradient-card-hover);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.modern-tool-card:hover::before {
    opacity: 1;
}

.modern-tool-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--sh-title) !important;
    text-decoration: none !important;
    position: relative;
    z-index: 2;
}

.modern-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--sh-transition);
}

.modern-tool-card:hover .modern-icon-box {
    background: var(--sh-primary-soft);
    transform: scale(1.08);
}

.seotoolimg {
    max-height: 34px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.modern-tool-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--sh-title) !important;
    padding: 0 !important;
    line-height: 1.38 !important;
    text-align: center;
    transition: color 0.18s ease;
}

.modern-tool-card:hover .modern-tool-title {
    color: var(--sh-primary) !important;
}

/* --------------------------------------------------------------------------
   Individual Tool Pages (.main-index & Tool Container)
   -------------------------------------------------------------------------- */
.main-index {
    background: var(--sh-card-bg);
    border: 1.5px solid var(--sh-border);
    border-radius: var(--sh-radius-lg);
    box-shadow: var(--sh-shadow-card);
    padding: 34px 30px !important;
    margin-bottom: 40px;
}

#title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--sh-title) !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px;
    border-bottom: 1.5px solid var(--sh-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

#title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 24px;
    background: var(--sh-gradient-primary);
    border-radius: var(--sh-radius-full);
}

/* Tool Form Controls */
.form-control {
    border: 1.5px solid var(--sh-border) !important;
    border-radius: var(--sh-radius-sm) !important;
    padding: 11px 16px !important;
    font-size: 15px !important;
    color: var(--sh-title) !important;
    box-shadow: none !important;
    transition: var(--sh-transition) !important;
    background-color: #ffffff !important;
}

.form-control:focus {
    border-color: var(--sh-primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
    outline: none !important;
}

textarea.form-control {
    border-radius: var(--sh-radius-md) !important;
    line-height: 1.6 !important;
}

/* Tool Buttons */
.btn {
    border-radius: var(--sh-radius-sm) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 11px 24px !important;
    transition: var(--sh-transition) !important;
    border: none !important;
}

.btn-primary {
    background: var(--sh-gradient-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.45) !important;
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.btn-success:hover,
.btn-success:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.45) !important;
    color: #ffffff !important;
}

.well {
    background: #ffffff !important;
    border: 1.5px solid var(--sh-border) !important;
    border-radius: var(--sh-radius-lg) !important;
    box-shadow: var(--sh-shadow-card) !important;
    padding: 30px !important;
    margin-top: 25px;
}

/* Related Tools Box */
.modern-related-tools-box {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1.5px solid var(--sh-border);
}

.modern-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--sh-title);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-section-title i {
    color: var(--sh-primary);
}

.related-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --------------------------------------------------------------------------
   Modern Sidebar for Tool Pages (#rightCol)
   -------------------------------------------------------------------------- */
#rightCol {
    padding-left: 20px;
}

@media (max-width: 992px) {
    #rightCol {
        padding-left: 15px;
        margin-top: 35px;
    }
}

.modern-sidebar-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modern-sidebar-widget {
    background: var(--sh-card-bg);
    border: 1.5px solid var(--sh-border);
    border-radius: var(--sh-radius-lg);
    box-shadow: var(--sh-shadow-card);
    padding: 24px;
    overflow: hidden;
    position: relative;
}

.sidebar-widget-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--sh-title) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--sh-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget-title i {
    color: var(--sh-primary);
}

/* Sidebar Search */
.sidebar-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-icon {
    position: absolute;
    left: 14px;
    color: var(--sh-primary);
    font-size: 15px;
    pointer-events: none;
}

#sidebarsearch {
    padding-left: 42px !important;
    height: 44px !important;
}

/* Popular Tools List */
.popular-tools-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popular-tool-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--sh-radius-sm);
    color: var(--sh-title) !important;
    font-weight: 600;
    font-size: 14px;
    transition: var(--sh-transition);
    background: #f8fafc;
    border: 1px solid transparent;
}

.popular-tool-item a i.fa-bolt {
    color: #f59e0b;
    font-size: 13px;
}

.popular-tool-item a .arrow-icon {
    margin-left: auto;
    font-size: 12px;
    color: var(--sh-muted);
    opacity: 0;
    transition: var(--sh-transition);
}

.popular-tool-item a:hover {
    background: var(--sh-primary-soft);
    border-color: var(--sh-border-hover);
    color: var(--sh-primary) !important;
    padding-left: 18px;
}

.popular-tool-item a:hover .arrow-icon {
    opacity: 1;
    transform: translateX(3px);
}

/* Pro Tip Widget */
.pro-tip-widget {
    background: var(--sh-gradient-pro-tip) !important;
    border-color: #c7d2fe !important;
    text-align: center;
    padding: 28px 22px !important;
}

.pro-tip-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--sh-radius-full);
    background: var(--sh-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.pro-tip-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--sh-title) !important;
    margin-bottom: 8px !important;
}

.pro-tip-text {
    font-size: 13.5px;
    color: var(--sh-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Live Search Results Popup (High Z-Index & Elevation)
   -------------------------------------------------------------------------- */
.search-results {
    background: #ffffff !important;
    border: 1.5px solid var(--sh-border) !important;
    border-radius: var(--sh-radius-md) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
    margin-top: 10px;
    padding: 14px !important;
    max-height: 420px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
}

.search-results .match {
    box-sizing: border-box;
    display: inline-block;
    padding: 6px;
    width: 50%;
}

@media (max-width: 768px) {
    .search-results .match {
        width: 100%;
    }
}

.search-results .match a {
    background: #f8fafc;
    border: 1px solid var(--sh-border) !important;
    border-radius: var(--sh-radius-sm) !important;
    color: var(--sh-title) !important;
    display: flex;
    align-items: center;
    padding: 10px 14px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: var(--sh-transition) !important;
}

.search-results .match a strong {
    color: var(--sh-primary) !important;
    font-weight: 800 !important;
    background: var(--sh-primary-soft);
    padding: 2px 6px;
    border-radius: 4px;
}

.search-results .match a:hover {
    border-color: var(--sh-primary) !important;
    background: var(--sh-primary-soft) !important;
    color: var(--sh-primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12) !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Modern Footer (Multi-Column Dark Slate & High Contrast)
   -------------------------------------------------------------------------- */
.footer,
.modern-footer {
    background: #090d16 !important;
    color: #94a3b8 !important;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.b-widgets {
    background: transparent !important;
    padding: 70px 0 50px 0 !important;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-brand-wrap {
    margin-bottom: 20px;
}

.footer-brand-link img,
.footer-brand-link .themeLogoImg {
    max-height: 44px !important;
    width: auto !important;
    filter: brightness(0) invert(1);
}

.footer-brand-link .themeLogoText {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
}

.footer-about-text p {
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    margin-bottom: 22px !important;
    max-width: 380px;
}

.footer-heading {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--sh-gradient-primary);
    border-radius: 4px;
}

.footer-heading::after,
.footer-title::after {
    display: none !important;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: var(--sh-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.footer-links-list li a:hover {
    color: #ffffff !important;
    padding-left: 6px;
}

.footer-trust-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--sh-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-card-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trust-card-item i {
    font-size: 18px;
    margin-top: 3px;
}

.trust-card-item strong {
    display: block;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-card-item span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.modern-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--sh-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1 !important;
    font-size: 16px;
    transition: var(--sh-transition);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-icon-btn:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon-btn.twitter:hover {
    background: #000000;
    border-color: #333333;
}

.social-icon-btn.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

/* Bottom Bar */
.footer-bottom-bar {
    background: #060910 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom-left {
    color: #64748b !important;
    font-size: 13.5px;
    font-weight: 500;
}

.footer-bottom-left a {
    color: #94a3b8 !important;
    font-weight: 600;
}

.footer-bottom-left a:hover {
    color: #ffffff !important;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

@media (max-width: 768px) {
    .footer-bottom-right {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

.system-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.pulse-green-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.footer-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--sh-transition);
}

.footer-back-to-top:hover {
    background: var(--sh-primary);
    color: #ffffff !important;
    border-color: var(--sh-primary);
    transform: translateY(-2px);
}