﻿
/* ==========================================================
   LOGISTICS ERP LANDING (LG)
   Dark SaaS Command Theme
   ========================================================== */
.lg {
    --lg-bg: #080E1A;
    --lg-bg-alt: #0B1422;
    --lg-card: #0D1B2E;
    --lg-card-hover: #112237;
    --lg-border: #1A2E44;
    --lg-cyan: #0EA5E9;
    --lg-cyan-dark: #0284C7;
    --lg-text: #E8F4FF;
    --lg-text-soft: #7A9CBB;
    font-family: 'Montserrat',sans-serif;
    background: var(--lg-bg);
    color: var(--lg-text);
}

/* ---------- RESET ---------- */
.lg * {
    box-sizing: border-box;
}

.lg-section {
    padding: 100px 0;
}

.lg-container {
    max-width: 1150px;
    margin: auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ---------- HEADINGS ---------- */
.lg-gradient-heading {
    font-size: clamp(28px,4vw,44px);
    font-weight: 800;
    margin-bottom: 22px;
    background: linear-gradient(135deg,#E8F4FF 30%,#0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lg-subheadline {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--lg-text-soft);
    font-size: 18px;
    line-height: 1.7;
}

.lg-subtitle {
    color: var(--lg-text-soft);
    font-size: 16px;
    max-width: 850px;
    margin: 0 auto 35px;
    margin-top: 10px;
}

/* ---------- BUTTONS ---------- */
.lg-btn-primary {
    display: inline-block;
    margin: 10px 8px;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background: var(--lg-cyan);
    color: #fff;
    transition: .25s;
}

    .lg-btn-primary:hover {
        background: var(--lg-cyan-dark);
        transform: translateY(-2px);
    }

.lg-btn-outline {
    display: inline-block;
    margin: 10px 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--lg-cyan);
    color: var(--lg-cyan);
    transition: .25s;
}

    .lg-btn-outline:hover {
        background: var(--lg-cyan);
        color: #fff;
    }

/* ---------- ICON LIST ---------- */
/*.lg-icon-list{
    list-style:none;
    max-width:650px;
    margin:40px auto 0;
    padding:0;
}

.lg-icon-list li{
    position:relative;
    padding:16px 20px 16px 55px;
    margin:14px 0;
    border-radius:10px;

    background:var(--lg-card);
    border:1px solid var(--lg-border);
    color:var(--lg-text-soft);

    transition:.25s;
}

.lg-icon-list li:hover{
    border-color:var(--lg-cyan);
}

.lg-icon-list li::before{
    content:"✓";
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border-radius:50%;
    background:linear-gradient(135deg,#0EA5E9,#0284C7);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}*/


/* ============================================================
   LOGISTICS ERP — ICON LIST (LG)
   Same design style as Fleet Owners
============================================================ */

/*.lg .lg-icon-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 15px;
    margin-top: 40px;
}

  
    .lg .lg-icon-list li {
        background: var(--lg-bg-alt);
        border: 1px solid var(--lg-border);
        padding: 18px 20px;
        border-radius: 12px;
        display: flex;
        align-items: flex-start; 
        gap: 14px;
        color: var(--lg-text-soft);
        transition: .3s ease;
    }

       
        .lg .lg-icon-list li:hover {
            border-color: var(--lg-cyan);
            transform: translateY(-3px);
        }

     
        .lg .lg-icon-list li i {
            color: var(--lg-cyan);
            font-size: 18px;
            margin-top: 3px; 
        }*/

/* ===================== LG ICON LIST ===================== */
.lg .lg-icon-list {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 40px !important;
}

    /* list item */
    .lg .lg-icon-list li {
        background: var(--lg-bg-alt) !important;
        border: 1px solid var(--lg-border) !important;
        padding: 18px 20px 18px 60px !important; /* left padding for checkmark */
        border-radius: 12px !important;
        display: flex !important;
        align-items: flex-start !important; /* text starts at top */
        gap: 14px !important;
        color: var(--lg-text-soft) !important;
        transition: 0.3s ease !important;
        position: relative !important; /* for ::before positioning */
    }

        /* remove old <i> icons if present */
        .lg .lg-icon-list li i {
            display: none !important;
        }

        /* hover effect */
        .lg .lg-icon-list li:hover {
            border-color: var(--lg-cyan) !important;
            transform: translateY(-3px) !important;
        }

        /* custom checkmark circle aligned to top */
        .lg .lg-icon-list li::before {
            content: "✓" !important;
            position: absolute !important;
            left: 18px !important;
            top: 18px !important; /* aligned with top padding */
            width: 28px !important;
            height: 28px !important;
            border-radius: 50% !important;
            background: linear-gradient(135deg, #0EA5E9, #0284C7) !important;
            color: #fff !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-weight: bold !important;
            font-size: 16px !important;
            transform: none !important; /* remove any rotation */
        }

        /* text inside li wraps naturally */
        .lg .lg-icon-list li p,
        .lg .lg-icon-list li span {
            margin: 0 !important;
            text-align: left !important;
        }


/* ---------- GRID ---------- */
.lg-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

/* ---------- CARDS ---------- */
.lg-card {
    background: var(--lg-card);
    border: 1px solid var(--lg-border);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    transition: .3s;
}

    .lg-card:hover {
        background: var(--lg-card-hover);
        transform: translateY(-6px);
        border-color: var(--fl-cyan);
    }

    .lg-card i {
        font-size: 28px;
        margin-bottom: 14px;
        color: var(--lg-cyan);
    }

    .lg-card h3 {
        margin-bottom: 10px;
    }

    .lg-card p {
        color: var(--lg-text-soft);
    }

/* ---------- SCROLL REVEAL ---------- */
.lg-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

    .lg-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* ================= FAQ ACCORDION ================= */

.LogisticsERP .faq-wrapper {
    max-width: 750px;
    margin: 40px auto;
    text-align: left;
}

.LogisticsERP .faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    transition: .3s;
}

.LogisticsERP .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 22px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .LogisticsERP .faq-question:hover {
        background: #f7f9ff;
    }

.LogisticsERP .faq-icon {
    font-size: 22px;
    transition: .3s;
}

.LogisticsERP .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    transition: max-height .4s ease, padding .3s ease;
    color: #555;
    line-height: 1.7;
}

.LogisticsERP .faq-item.active .faq-answer {
    max-height: 250px;
    padding: 15px 22px 22px;
}

.LogisticsERP .faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* ---------- RESPONSIVE ---------- */
@media(max-width:900px) {

    .lg-grid {
        grid-template-columns: 1fr;
    }

    .lg-section {
        padding: 70px 0;
    }
}



@media (max-width: 768px) {
    .lg-section {
        padding: 30px 0;
    }
    /* ---------------------------
   Headings & Subheadings
---------------------------- */
    .lg-gradient-heading {
        font-size: 1.5rem;
        line-height: 1.3;
        text-align: center;
        word-wrap: break-word;
    }

    .lg-subheadline {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        margin-top: 10px;
        word-wrap: break-word;
    }

    /* ---------------------------
   Buttons
---------------------------- */
    .lg-btn-primary, .lg-btn-outline {
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 0;
        margin: 8px 0;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }

    /* ---------------------------
   Cards & Grids
---------------------------- */
    .lg-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .lg-card {
        text-align: center;
        width: 100%;
    }

    /* ---------------------------
   Icon Lists (Checkmarks)
---------------------------- */
    .lg-icon-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

        .lg-icon-list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.95rem;
            line-height: 1.4;
            margin-bottom: 12px;
            word-wrap: break-word;
        }

            /* Optional checkmark fallback */
            .lg-icon-list li::before {
                content: "✔";
                color: var(--lg-cyan, #0EA5E9);
                flex-shrink: 0;
                font-size: 1rem;
                margin-right: 6px;
                line-height: 1.2;
            }

    /* ---------------------------
   FAQ Section
---------------------------- */
    .faq-wrapper {
        padding: 0;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-question {
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .faq-answer {
        font-size: 0.9rem;
        padding: 8px 15px;
        line-height: 1.4;
    }

    /* ---------------------------
   Responsive Text Wrapping
---------------------------- */
    .lg-link {
        word-wrap: break-word;
    }

    /* ---------------------------
   Final CTA Section
---------------------------- */
    .lg-btn-primary, .lg-btn-outline {
        display: block;
    }

    /* ---------------------------
   Prevent Horizontal Scroll on Mobile
---------------------------- */
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* ---------------------------
   Adjust Grid Cards spacing for mobile
---------------------------- */
    .lg-grid > div {
        width: 100%;
    }

}

