
/* ==========================================================
   NZOTA CARGO & TRADERS
   BASE.CSS - LIGHT CORPORATE THEME (NAVY / GOLD / WHITE)
   ========================================================== */

/* Poppins is loaded via the vendored <link> in templates/base/base.html
   (static/vendor/fonts/poppins/poppins.css) - no CDN import needed here. */

:root{

    /* Core brand palette */
    --navy:#0B2447;
    --navy-2:#123268;
    --navy-dark:#081A33;
    --navy-soft:#EEF2F8;

    --gold:#EFA613;
    --gold-dark:#CE8B08;
    --gold-soft:#FBF0DC;

    /* Backwards-compatible tokens (referenced across page CSS files) */
    --bg:#FFFFFF;
    --bg-2:#F6F8FB;
    --card:#FFFFFF;
    --card-2:#F1F4F9;

    --primary:var(--gold);
    --primary-hover:var(--gold-dark);

    --blue:var(--navy);

    --white:#ffffff;
    --text:#16233F;
    --text-body:#4B5768;
    --muted:#748099;

    --border:#E3E8F0;
    --border-strong:#CBD4E3;

    --radius:14px;
    --radius-lg:22px;

    --shadow:0 16px 34px rgba(15,35,70,.09);
    --shadow-sm:0 6px 18px rgba(15,35,70,.07);

    --transition:.25s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text-body);
    overflow-x:hidden;
    line-height:1.7;
}

main{
    position:relative;
    z-index:2;
}

.site-feedback{
    top:5.5rem;
    right:1rem;
    z-index:1080;
    width:min(24rem,calc(100vw - 2rem));
}

.container{
    max-width:1280px;
    padding-left:1rem;
    padding-right:1rem;
}

section{
    position:relative;
    padding:96px 0;
}

h1,h2,h3,h4,h5,h6{
    color:var(--navy);
    font-weight:700;
    line-height:1.2;
}

h1{
    font-size:clamp(2.6rem,5.4vw,4.4rem);
}

h2{
    font-size:clamp(1.9rem,3.6vw,2.7rem);
}

p{
    color:var(--text-body);
    margin-bottom:1rem;
}

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

img{
    max-width:100%;
    display:block;
}

.btn{
    border:none;
    border-radius:999px;
    padding:14px 32px;
    font-weight:600;
    transition:var(--transition);
}

.btn-primary{
    background:var(--gold);
    color:var(--navy);
    box-shadow:0 10px 22px rgba(239,166,19,.28);
}

.btn-primary:hover{
    background:var(--gold-dark);
    color:var(--navy);
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(239,166,19,.35);
}

.btn-light{
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.35);
}

.btn-light:hover{
    background:rgba(255,255,255,.16);
    transform:translateY(-2px);
}

/* Bootstrap's default outline-light (white-on-transparent) only reads on
   dark backgrounds; the public site is light by default, so this variant
   is restyled as a neutral navy outline wherever it appears on white or
   soft-gray sections (shop filters, pagination-adjacent controls). */
.btn-outline-light{
    background:transparent;
    border:1px solid var(--border-strong);
    color:var(--navy);
}

.btn-outline-light:hover{
    background:var(--navy-soft);
    border-color:var(--navy);
    color:var(--navy);
}

.btn-success{
    background:var(--gold);
    border-color:var(--gold);
    color:var(--navy);
}

.btn-success:hover{
    background:var(--gold-dark);
    border-color:var(--gold-dark);
    color:var(--navy);
}

.card,
.glass-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
}

.eyebrow{
    display:inline-block;
    color:var(--gold-dark);
    font-size:.82rem;
    font-weight:700;
    letter-spacing:2.5px;
    text-transform:uppercase;
    margin-bottom:.9rem;
}

.breadcrumb-nav{
    padding-top:24px;
}

.breadcrumb-nav .breadcrumb{
    margin-bottom:0;
    font-size:.85rem;
}

.breadcrumb-nav .breadcrumb-item,
.breadcrumb-nav .breadcrumb-item a{
    color:var(--muted);
}

.breadcrumb-nav .breadcrumb-item a:hover{
    color:var(--gold-dark);
}

.breadcrumb-nav .breadcrumb-item.active{
    color:var(--text);
}

.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before{
    color:var(--muted);
}

.text-gradient{
    color:var(--gold-dark);
}

.text-gold{color:var(--gold-dark)!important;}
.text-navy{color:var(--navy)!important;}

/* Public-site overrides for Bootstrap's stock icon-accent utilities so
   large decorative icons stay on-brand instead of Bootstrap's default
   blue/cyan/yellow palette. Small inline checkmarks keep semantic green. */
.text-info,
.text-warning,
.text-primary{
    color:var(--gold-dark)!important;
}

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:var(--bg-2);
}

::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:10px;
}

::selection{
    background:var(--gold);
    color:var(--navy);
}

/* Shared product presentation. Page-specific galleries and listing grids
   build on these dimensions instead of competing global selectors. */
.product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.product-card:hover{
    box-shadow:var(--shadow);
    transform:translateY(-4px);
}

.product-card .card-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:1.25rem;
}

.product-card h3{
    margin:.3rem 0 .55rem;
    color:var(--navy);
    font-size:1.08rem;
    line-height:1.35;
}

.product-card p{
    display:-webkit-box;
    min-height:3.35em;
    margin-bottom:1rem;
    overflow:hidden;
    color:var(--muted);
    font-size:.9rem;
    -webkit-box-orient:vertical;

}

.product-image{
    width:100%;
    height:260px;
    object-fit:contain;
    padding:.85rem;
    background:var(--bg-2);
}

.product-image-placeholder{
    padding:2.5rem;
    object-fit:contain;
}

.product-card .price-line{
    margin-top:auto;
    margin-bottom:1rem;
    color:var(--gold-dark);
    font-size:1.15rem;
    font-weight:700;
}

.product-card .product-card-actions form{margin:0;}

/* Shared section helpers reused by every public page */
.soft-section{
    background:var(--bg-2);
}

.tag{
    display:inline-block;
    background:var(--gold-soft);
    color:var(--gold-dark);
    padding:6px 14px;
    border-radius:50px;
    font-size:.75rem;
    font-weight:600;
    margin-bottom:14px;
}

.service-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    padding:34px;
    height:100%;
    transition:var(--transition);
    box-shadow:var(--shadow-sm);
}

.service-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:var(--gold);
}

.service-card span:first-child{
    display:inline-flex;
    width:46px;
    height:46px;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    background:var(--gold-soft);
    color:var(--gold-dark);
    font-weight:700;
    margin-bottom:16px;
}

.service-card i{
    color:var(--gold-dark)!important;
}

.service-card h3{
    margin:6px 0 12px;
}

.stat-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:32px;
    text-align:center;
    height:100%;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.stat-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.stat-card h3{
    color:var(--navy);
    margin-bottom:8px;
}

.stat-card i{
    color:var(--gold-dark);
}

/* Navy "contact card" used for CTA panels across every public page */
.contact-card{
    background:var(--navy);
    border-radius:var(--radius-lg);
    padding:56px;
    box-shadow:var(--shadow);
}

.contact-card h2,
.contact-card h3,
.contact-card h4{
    color:#fff;
}

.contact-card p{
    color:#C7D2E6;
}

.contact-card .eyebrow{
    color:var(--gold);
}

.contact-card hr{
    border-color:rgba(255,255,255,.14);
}

.cta-row{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* Shared "How Our Service Works" 7-step timeline
   (templates/components/how_it_works.html) - included on both the
   homepage and the Services page, so it lives here rather than in a
   single page stylesheet. */
.journey-timeline{
    position:relative;
    display:grid;
    gap:16px;
    max-width:920px;
    margin:0 auto;
    padding:0;
    list-style:none;
}

.journey-timeline::before{
    content:"";
    position:absolute;
    top:26px;
    bottom:26px;
    left:27px;
    width:2px;
    background:linear-gradient(var(--gold),rgba(239,166,19,.15));
}

.journey-step{
    position:relative;
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    gap:20px;
    align-items:start;
}

.journey-step-number{
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    width:56px;
    height:56px;
    border:4px solid var(--bg-2);
    border-radius:50%;
    background:var(--navy);
    color:var(--gold);
    font-size:.82rem;
    font-weight:800;
}

.journey-step-card{
    min-height:56px;
    padding:22px 26px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:var(--card);
    box-shadow:var(--shadow-sm);
}

.journey-step-kicker{
    margin:0 0 6px;
    color:var(--gold-dark);
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.14em;
}

.journey-step-card h3{
    margin:0 0 8px;
    font-size:1.2rem;
}

.journey-step-card p:last-child{
    margin:0;
    color:var(--text-body);
}

@media(max-width:576px){
    .journey-timeline::before{
        left:22px;
    }

    .journey-step{
        grid-template-columns:46px minmax(0,1fr);
        gap:12px;
    }

    .journey-step-number{
        width:46px;
        height:46px;
        border-width:3px;
        font-size:.72rem;
    }

    .journey-step-card{
        padding:18px 16px;
    }
}

@media(max-width:768px){
    section{padding:64px 0;}
    .container{padding-left:1rem;padding-right:1rem;}
    .product-image{height:220px;}
    .contact-card{padding:32px 24px;}
}

@media(max-width:992px){

    section{
        padding:76px 0;
    }

    h1{
        font-size:2.7rem;
    }

    h2{
        font-size:2rem;
    }

}

/* The scroll control is intentionally compact and stays inside the viewport. */
#scrollTopBtn{
    position:fixed;
    right:1.25rem;
    bottom:1.25rem;
    z-index:1000;
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid var(--border);
    border-radius:50%;
    background:var(--gold);
    color:var(--navy);
    box-shadow:0 12px 26px rgba(15,35,70,.22);
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:opacity .25s ease,visibility .25s ease,transform .25s ease;
}

#scrollTopBtn.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#scrollTopBtn:hover{
    background:var(--gold-dark);
    transform:translateY(-3px);
}

@media(max-width:576px){
    #scrollTopBtn{
        right:.8rem;
        bottom:.8rem;
        width:42px;
        height:42px;
    }
}

/* ==========================================================
   PUBLIC SITE VISUAL REFRESH
   Blue is the action colour; gold remains a restrained accent.
   These shared rules keep the public pages visually consistent without
   changing any Django views, URLs, or ERP templates.
   ========================================================== */

:root{
    --navy:#071D3B;
    --navy-2:#0B66C3;
    --navy-dark:#041329;
    --navy-soft:#F1F6FC;
    --blue:#0B66C3;
    --blue-strong:#1168D4;
    --gold:#E3A51A;
    --gold-dark:#B98008;
    --gold-soft:#FFF7E3;
    --text:#102344;
    --text-body:#5B6B80;
    --muted:#74849A;
    --border:#DDE7F1;
    --border-strong:#C5D3E2;
    --primary:var(--blue);
    --primary-hover:#084F96;
    --shadow:0 18px 44px rgba(7,29,59,.11);
    --shadow-sm:0 8px 22px rgba(7,29,59,.07);
}

.btn-primary{
    background:var(--blue);
    color:#fff;
    box-shadow:0 10px 24px rgba(11,102,195,.22);
}

.btn-primary:hover{
    background:#084F96;
    color:#fff;
    box-shadow:0 14px 30px rgba(11,102,195,.28);
}

.btn-success{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff;
}

.btn-success:hover{
    background:#084F96;
    border-color:#084F96;
    color:#fff;
}

.btn-light{
    background:#fff;
    border:1px solid var(--border-strong);
    color:var(--navy);
}

.btn-light:hover{
    background:var(--navy-soft);
    border-color:var(--blue);
    color:var(--navy);
}

.eyebrow{color:var(--blue);}
.text-gold{color:var(--blue-strong)!important;}
.text-gradient{color:var(--blue-strong);}

.process-section{
    overflow:hidden;
    background-color:var(--navy);
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
        radial-gradient(circle at 18% 30%,rgba(17,104,212,.2),transparent 32rem),
        radial-gradient(circle at 84% 80%,rgba(227,165,26,.08),transparent 28rem);
    background-size:42px 42px,42px 42px,auto,auto;
}

.process-section h2{color:#fff;}
.process-section .eyebrow{color:#8FC8FF;}
.process-section .lead{color:#C7D8ED;}

.journey-timeline{
    max-width:none;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:0;
}

.journey-timeline::before{
    top:34px;
    right:7%;
    bottom:auto;
    left:7%;
    width:auto;
    height:1px;
    background:linear-gradient(90deg,rgba(143,200,255,.25),rgba(143,200,255,.8),rgba(143,200,255,.25));
}

.journey-step{
    display:flex;
    grid-template-columns:none;
    flex-direction:column;
    gap:14px;
    align-items:center;
    min-width:0;
    text-align:center;
}

.journey-step-marker{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.journey-step-marker > i{
    display:grid;
    place-items:center;
    width:68px;
    height:68px;
    border:5px solid var(--navy);
    border-radius:50%;
    background:#fff;
    color:var(--blue);
    font-size:1.5rem;
    box-shadow:0 0 0 1px rgba(143,200,255,.5),0 12px 26px rgba(0,0,0,.18);
}

.journey-step-number{
    width:auto;
    height:auto;
    margin-top:8px;
    border:0;
    border-radius:0;
    background:none;
    color:#9CCBFA;
    font-size:.72rem;
    letter-spacing:.14em;
}

.journey-step-card{
    min-height:0;
    padding:0 10px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.journey-step-kicker{color:var(--gold);}
.journey-step-card h3{color:#fff;font-size:1rem;}
.journey-step-card p:last-child{color:#C7D8ED;font-size:.84rem;line-height:1.65;}

.industries-section{background:var(--bg-2);}

.industries-layout{
    display:grid;
    grid-template-columns:minmax(230px,.78fr) minmax(0,1.7fr);
    gap:54px;
    align-items:center;
}

.industries-intro h2{max-width:11ch;margin-bottom:18px;}
.industries-intro p:not(.eyebrow){max-width:34ch;}
.industries-intro .text-link{color:var(--blue);font-weight:700;}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.industry-tile{
    display:flex;
    min-height:94px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 10px;
    border:1px solid rgba(221,231,241,.9);
    border-radius:14px;
    background:#fff;
    color:var(--navy);
    text-align:center;
    box-shadow:0 8px 20px rgba(7,29,59,.05);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.industry-tile:hover{
    border-color:#9CCBFA;
    box-shadow:0 14px 26px rgba(7,29,59,.1);
    transform:translateY(-3px);
}

.industry-tile i{color:var(--blue);font-size:1.35rem;}
.industry-tile span{font-size:.8rem;font-weight:700;line-height:1.35;}

@media(max-width:1199px){
    .journey-timeline{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:36px;}
    .journey-timeline::before{display:none;}
    .industry-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:991px){
    .journey-timeline{display:grid;grid-template-columns:1fr;gap:22px;max-width:760px;}
    .journey-step{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start;text-align:left;}
    .journey-step-marker{align-items:center;}
    .journey-step-marker > i{width:58px;height:58px;font-size:1.25rem;}
    .journey-step-number{margin-top:6px;}
    .journey-step-card{padding:7px 0 0;}
    .journey-step-card h3{font-size:1.08rem;}
    .journey-step-card p:last-child{font-size:.88rem;}
    .industries-layout{grid-template-columns:1fr;gap:30px;}
    .industries-intro h2{max-width:none;}
    .industries-intro p:not(.eyebrow){max-width:52ch;}
}

@media(max-width:576px){
    .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .industry-tile{min-height:88px;padding:13px 8px;}
    .industry-tile span{font-size:.74rem;}
}
