/* ==========================================================================
   MICROCIL - Forklift Fleet Management System page (builds on home.css)
   ========================================================================== */

/* ---------- green sub-banner (same gradient as the hero banners) ---------- */
.fl-banner {
    background: linear-gradient(135deg, #012b27 0%, #014a44 60%, #016a62 100%);
    padding-top: 130px;
    padding-bottom: clamp(40px, 4.5vw, 64px);
}

.fl-banner .fl-banner-title {
    color: #ffffff;
}

.fl-banner .fl-banner-sub {
    color: #55d8e3;
}

.fl-banner .hm-text,
.fl-banner .hm-ink-text {
    color: rgba(255, 255, 255, 0.85);
}

.fl-banner .hm-eyebrow {
    color: #ffffff;
}

.fl-banner .fl-btn-primary {
    background: #ffffff;
    color: var(--hm-primary) !important;
    border-color: #ffffff;
}

.fl-banner .fl-btn-primary:hover {
    color: #ffffff !important;
}

/* banner buttons match the solution pages (.sl-btn): white, dark text, orange arrow,
   teal sweep on hover with the arrow turning white and nudging right */
.fl-banner .fl-btn-primary,
.fl-banner .fl-btn-outline {
    background: #ffffff;
    color: #111111 !important;
    border: 0;
    padding: 11px 22px;
    box-shadow: 0 6px 16px rgba(15, 42, 40, 0.12);
}

.fl-banner .fl-btn i {
    color: #ff7043;
    transition: transform 0.3s ease, color 0.35s ease;
}

.fl-banner .fl-btn-primary::before,
.fl-banner .fl-btn-outline::before {
    background: #008080;
}

.fl-banner .fl-btn-primary:hover,
.fl-banner .fl-btn-outline:hover {
    color: #ffffff !important;
}

.fl-banner .fl-btn:hover i {
    color: #ffffff;
}

.fl-banner-inner {
    max-width: 760px;
}

.fl-banner-title {
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--hm-ink);
    margin: 0 0 8px;
}

.fl-banner-sub {
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--hm-primary);
    margin: 0 0 18px;
}

.fl-banner-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.fl-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 24px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease, border-color 0.35s ease;
}

.fl-btn i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

/* fill-sweep hover, matching the site's other CTAs */
.fl-btn::before {
    content: "";
    position: absolute;
    inset: -1px; /* 1px overscan so no white edge shows at fractional zoom */
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fl-btn:hover::before {
    transform: scaleX(1);
}

.fl-btn:hover i {
    transform: translateX(4px);
}

.fl-btn-primary {
    background: var(--hm-primary);
    color: #ffffff !important;
    border: 1.5px solid var(--hm-primary);
}

.fl-btn-primary::before {
    background: #012b27;
}

.fl-btn-outline {
    background: #ffffff;
    color: var(--hm-primary) !important;
    border: 1.5px solid var(--hm-primary);
}

.fl-btn-outline::before {
    background: var(--hm-primary);
}

.fl-btn-outline:hover {
    color: #ffffff !important;
}

/* ---------- feature rows ---------- */
.fl-feature + .fl-feature {
    margin-top: clamp(20px, 2vw, 28px);
}

.fl-feature-title {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--hm-primary);
    margin: 0 0 12px;
}

.fl-value {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hm-ink);
    margin: 4px 0 0;
}

.fl-value span {
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 700;
    color: var(--hm-primary);
}

/* Unframed artwork follows the alternating, centered layout in the slides. */
.fl-feature-media {
    width: 100%;
}

.fl-feature-media img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    .fl-feature-media {
        max-width: 540px;
        margin-inline: auto;
    }

    .fl-feature-media img {
        height: clamp(220px, 60vw, 320px);
    }

    .fl-banner {
        padding-top: 100px;
    }
}
