/*
 * quickbiz-seo.css  — v3
 * All new sections + visual fixes for index.php
 * Add ONE line to header.php inside <head>, after responsive.css:
 *   <link rel="stylesheet" href="css/quickbiz-seo.css"/>
 *
 * Fixes in this version:
 *   1. Tally trust bar
 *   2. Hero subtext
 *   3. Section label (title-design) — legible, prominent
 *   4. Key benefits card overflow — text stays inside boxes
 *   5. Pain point section
 *   6. Internal links
 *   7. Pricing — equal card heights, featured card badge
 *   8. Blog read-more always visible
 *   9. Industries section — larger pills, attractive layout, 5 items
 *  10. FAQ CTA sidebar box
 *  11. Spacing between dark industries section and CTA section
 *  12. Nav — Book a Demo button styling, compact labels
 *  13. WhatsApp button
 */

/* ============================================================
   1. TALLY TRUST BAR
   ============================================================ */
.tally-bar {
    background: #fdf0f4;
    border-top: 1px solid #f5cdd9;
    border-bottom: 1px solid #f5cdd9;
    padding: 11px 0;
}
.tally-trust-line {
    margin: 0;
    font-size: 13.5px;
    color: #444;
    letter-spacing: 0.01em;
    line-height: 1.5;
}
.tally-trust-line strong {
    color: #cd0048;
    font-weight: 700;
}

/* ============================================================
   2. HERO SUBTEXT
   ============================================================ */
.hero-subtext {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-top: 14px;
    margin-bottom: 26px;
    max-width: 520px;
}

/* ============================================================
   3. SECTION LABELS (title-design spans)
   The "Key Benefits", "Clearing the Confusion" etc. labels
   were barely visible. Make them prominent, brand-coloured,
   uppercase, well-spaced — a real section badge.
   ============================================================ */
.title-design {
    display: inline-block;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    background: #cd0048 !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
}
/* Industries section uses dark bg — keep white text on brand pill */
.industries-sec .title-design {
    background: #cd0048 !important;
    color: #fff !important;
}

/* ============================================================
   4. KEY BENEFITS BOXES — fix content overflow
   The original .key-benefit has no min-height or overflow
   control. We fix the card to contain its content properly.
   ============================================================ */
.key-benefit {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.key-benefit .services-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 8px;
}
.key-benefit .services-detail p {
    flex: 1;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.key-benefit .services-detail h5 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}
.key-benefit .services-detail img {
    max-width: 48px;
    height: auto;
    margin-bottom: 12px;
    flex-shrink: 0;
}
/* Row spacing between two rows of benefit cards */
.key-sec-2 {
    margin-top: 24px;
}

/* ============================================================
   5. PAIN POINT SECTION
   ============================================================ */
.pain-point-sec {
    background: #f8f9fb;
    padding-top: 60px;
    padding-bottom: 60px;
}
.pain-point-sec .key-benefit {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    border-left: 4px solid #cd0048;
    padding: 24px 20px 20px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease;
    height: auto;
}
.pain-point-sec .key-benefit:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pain-point-sec .key-benefit h5 {
    font-size: 15.5px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.pain-point-sec .key-benefit p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
    flex: unset;
}

/* ============================================================
   6. INTERNAL LINK ARROWS
   ============================================================ */
a.internal-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #cd0048;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease;
}
a.internal-link:hover {
    color: #a0003a;
    text-decoration: underline;
}

/* ============================================================
   7. PRICING SECTION — equal card heights, featured badge
   ============================================================ */

/* Make all three cards the same height inside their column */
.iq-pricing {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.priceing-title {
    flex: 1;
}

/* Featured (middle) card lift + badge */
.iq-pricing.iq-pricing-featured {
    border-top: 4px solid #cd0048;
    position: relative;
    box-shadow: 0 6px 28px rgba(205,0,72,0.13);
    transform: translateY(-6px);
}
.iq-pricing.iq-pricing-featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #cd0048;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Pricing note below heading */
.pricing-note {
    font-size: 14px;
    color: #777;
    margin-top: 6px;
    margin-bottom: 28px;
}
.pricing-note a {
    color: #cd0048;
    text-decoration: none;
    font-weight: 600;
}
.pricing-note a:hover { text-decoration: underline; }

/* ============================================================
   8. BLOG SECTION — "Read More" always fully visible
   The owl carousel clips card content when cards are unequal
   heights. Set a consistent min-height on the detail area
   and force the button to sit at the bottom.
   ============================================================ */
.iq-blog-box.home-blog {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.iq-blog-box.home-blog .iq-blog-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 16px;
}
.iq-blog-box.home-blog .iq-blog-detail p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
    overflow: visible;
    /* Clamp to 3 lines max so long excerpts don't push button out */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.iq-blog-box.home-blog .blog-button {
    margin-top: auto;
    padding-top: 8px;
}
.iq-blog-box.home-blog .blog-button a {
    font-size: 13px;
    font-weight: 700;
    color: #cd0048;
    text-decoration: none;
}
.iq-blog-box.home-blog .blog-button a:hover {
    text-decoration: underline;
}

/* ============================================================
   9. INDUSTRIES SECTION — larger, more attractive, 5 items
   Remove Logistics (done in PHP). Now 5 pills per row.
   Dark navy background, bigger pills with icons.
   ============================================================ */
.industries-sec {
    background: #1a1e2e;
    padding-top: 64px;
    padding-bottom: 64px;
}
.industries-sec .key-heading {
    color: #fff;
    margin-bottom: 8px;
}
.industries-sec p {
    color: #aab0c0;
    font-size: 15px;
    margin-bottom: 0;
}
.industry-links {
    margin-top: 36px;
    justify-content: center;
}
a.industry-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    color: #e0e4ef !important;
    font-size: 15px;
    font-weight: 600;
    padding: 20px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    text-align: center;
    margin-bottom: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.01em;
    min-height: 72px;
}
a.industry-pill .pill-icon {
    font-size: 26px;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}
a.industry-pill:hover {
    background: #cd0048;
    border-color: #cd0048;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-3px);
}

/* Stack icon above text inside pill */
a.industry-pill {
    flex-direction: column;
    padding: 22px 12px 18px;
}

/* ============================================================
   10. FAQ CTA SIDEBAR BOX
   ============================================================ */
.faq-cta-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 28px 24px;
    margin-top: 10px;
    text-align: center;
}
.faq-cta-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.faq-cta-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.faq-cta-box .whatsapp-btn {
    display: block;
    width: 100%;
    background-color: #25D366;
    border: none;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.faq-cta-box .whatsapp-btn:hover {
    background-color: #1ebe5d;
    color: #fff !important;
}
.faq-cta-box .contact-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #cd0048;
    color: #cd0048 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 6px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.faq-cta-box .contact-btn:hover {
    background: #cd0048;
    color: #fff !important;
}

/* ============================================================
   11. SPACING: dark industries section → CTA section gap
   ============================================================ */
.industries-sec + section,
.industries-sec + .iq-pb-70 {
    padding-top: 70px !important;
}
/* The CTA section directly after industries */
.industries-sec ~ section.pt-0.iq-pb-70 {
    padding-top: 70px !important;
}

/* ============================================================
   12. NAV — Book a Demo CTA button + compact label spacing
   ============================================================ */
.nav-cta-item {
    margin-left: 6px;

}
.nav-demo-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: #cd0048 !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease;
    border: none;
    line-height: 2.5  !important;
}
.nav-demo-btn:hover,
.nav-demo-btn:focus {
    background: #a0003a !important;
    color: #fff !important;
    text-decoration: none !important;
}
.nav-demo-btn .fab.fa-whatsapp {
    font-size: 16px;
color: #fff !important;
}

/* Tighten nav link font so all items fit one line */
#top-menu .menu-item > a.isubmenu,
#top-menu .menu-item > a {
    font-size: 13.5px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    #top-menu .menu-item > a.isubmenu,
    #top-menu .menu-item > a {
        font-size: 12.5px;
        padding-left: 7px;
        padding-right: 7px;
    }
    .nav-demo-btn {
        font-size: 12.5px !important;
        padding: 8px 13px !important;
    }
}

@media (max-width: 991px) {
    .iq-pricing.iq-pricing-featured {
        transform: translateY(0);
        margin-top: 24px;
    }
    .faq-cta-box {
        margin-top: 32px;
    }
    .tally-trust-line {
        font-size: 12.5px;
    }
    .industries-sec + section,
    .industries-sec ~ section.pt-0.iq-pb-70 {
        padding-top: 50px !important;
    }
}

@media (max-width: 767px) {
    .hero-subtext {
        font-size: 15px;
        max-width: 100%;
    }
    .pain-point-sec {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .industries-sec {
        padding-top: 44px;
        padding-bottom: 44px;
    }
    a.industry-pill {
        font-size: 14px;
        padding: 18px 10px 14px;
        min-height: 60px;
    }
    a.industry-pill .pill-icon {
        font-size: 22px;
    }
    .key-sec-2 {
        margin-top: 0;
    }
}
