﻿
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #016799;
    --ink-dark: #014f75;
    --ink-deeper: #013a57;
    --yellow: #fdb913;
    --yellow-gradient: linear-gradient(315deg,#f7f706 0,#fdb913 74%);
    --yellow-dark: #e0a610;
    --yellow-light: #fff8e6;
    --paper: #ffffff;
    --paper-soft: #f0f7fb;
    --paper-dark: #e0f0f8;
    --label: #BCBEC0;
    --packaging: #817B70;
    --apparel: #5E6C66;
    --business: #B1C2B4;
    --large: #CDA695;
    --seasonal: #EBE4D3;
    --accent: #fdb913;
    --accent-light: #fff8e6;
    --backBl: #f4f7ff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink-deeper);
    overflow-x: hidden;
}

/* ── HERO ── */
.hero {
    display: flex;
    position: relative;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

    .hero-eyebrow::before {
        content: '';
        display: block;
        width: 2.5rem;
        height: 2px;
        background: var(--yellow);
    }

.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink-deeper);
    margin-bottom: 1.8rem;
}

    .hero-title em {
        font-style: italic;
        color: var(--ink);
    }

.hero-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(1,55,80,0.6);
    margin-bottom: 3rem !important;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero{
    width: fit-content;
}

@media screen and (max-width: 1040px) and (min-width: 768px){
    .btn-hero {
        width: 100%;
    }
}

@media screen and (max-width: 525px) {
    .btn-hero {
        width: 100%;
    }
}

.btn-primary {
    background: var(--yellow);
    color: var(--paper);
    padding: 1rem 2.2rem;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary:hover {
        background: var(--yellow-gradient);
        box-shadow: none;
        transform: translateY(-2px);
    }

.btn-ghost {
    background: transparent;
    color: var(--yellow);
    padding: 1rem 2.2rem;
    border: 1.5px solid var(--yellow);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-ghost:hover {
        border-color: var(--yellow);
        color: var(--paper);
        background: var(--yellow-gradient);
        transform: translateY(-2px);
    }

.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-catalog-mockup {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .hero-catalog-mockup img {
        width: 100%;
    }

/* ── STATS BAR ── */
.stats-bar {
    color: #016799;
    display: flex;
    justify-content: space-around;
    padding: 2.5rem 0rem;
}

.stat {
    text-align: center;
    width: calc(100% / 4 - 50px);
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-divider {
    width: 1px;
    background: #e9e9e9;
}

.stat-cdivider{
    display: block;
}

@media screen and (max-width: 767px){
    .stat {
        width: calc(100% / 2 - 50px);
    }

    .stat-cdivider {
        display: none;
    }
}

/* ── SECTION HEADERS ── */
.section-intro {
    text-align: center;
    padding: 6rem 0rem 4rem;
}

.section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--ink-deeper);
}

    .section-title em {
        font-style: italic;
        color: var(--ink);
    }

.section-sub {
    font-size: 1rem;
    color: rgba(1,55,80,0.5);
    max-width: 50ch;
    margin: 0 auto;
}

/* ── CATEGORY GRID ── */
.categories-grid {
    padding: 0 0rem 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cat-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 260px;
    border-radius: 2px;
    transition: box-shadow 0.35s, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 0 2px 16px rgba(1,55,80,0.07);
}

    .cat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(1,55,80,0.15);
    }

/* Left colour panel */
.cat-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.8rem;
    overflow: hidden;
}

.cat-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.cat-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    opacity: 0.6;
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

    .cat-btn:hover {
        background: rgba(0,0,0,0.38);
    }

/* dark text cards */
.cat-dark .cat-name,
.cat-dark .cat-tagline {
    color: #1C1A17;
}

/* light text cards */
.cat-light .cat-name,
.cat-light .cat-tagline,
.cat-light .cat-btn {
    color: #ffffff;
}

/* individual card colors */
.panel-label {
    background: var(--label);
}

.panel-pack {
    background: var(--packaging);
}

.panel-apparel {
    background: var(--apparel);
}

.panel-biz {
    background: var(--business);
}

.panel-large {
    background: var(--large);
}

.panel-seasonal {
    background: var(--seasonal);
}

/* Right product list panel */
.cat-products {
    background: #ffffff;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(1,103,153,0.08);
    border-left: none;
}

.cat-products-label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .cat-products-label::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        background: var(--yellow);
        border-radius: 50%;
    }

.cat-products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex: 1;
    align-content: flex-start;
}

.cat-product-tag {
    background: var(--paper-soft);
    color: var(--ink-deeper);
    padding: 0.32rem 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(1,103,153,0.12);
    border-radius: 2px;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    cursor: default;
}

/* accent bar at top of card matching category colour */
.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
}

.card-label::before {
    background: var(--label);
}

.card-pack::before {
    background: var(--packaging);
}

.card-apparel::before {
    background: var(--apparel);
}

.card-biz::before {
    background: var(--business);
}

.card-large::before {
    background: var(--large);
}

.card-seasonal::before {
    background: var(--seasonal);
}

/* ── DOWNLOAD MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(1,55,80,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

    .modal-overlay.active {
        display: flex;
    }

.modalCtlg {
    background: #ffffff;
    max-width: 520px;
    width: 90%;
    padding: 3rem;
    position: relative;
    animation: modal-in 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--ink);
    opacity: 0.35;
    transition: opacity 0.2s;
}

    .modal-close:hover {
        opacity: 1;
    }

.modal-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modal-title {
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    line-height: 1.15;
    color: var(--ink-deeper);
}

.modal-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(1,55,80,0.55);
    margin-bottom: 2rem !important;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid rgba(1,103,153,0.2);
    background: transparent;
    font-size: 0.9rem;
    color: var(--ink-deeper);
    outline: none;
    transition: border-color 0.2s;
}

    .modal-input:focus {
        border-color: var(--yellow);
        box-shadow: 0 0 0 3px rgba(253,185,19,0.15);
    }

    .modal-input::placeholder {
        opacity: 0.4;
    }

.modal-form .modal-submit {
    background: var(--yellow);
    color: var(--ink-deeper);
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.2s;
}

    .modal-form .modal-submit:hover {
        background: var(--yellow-gradient);
    }

.modal-note {
    font-size: 0.72rem;
    opacity: 0.35;
    text-align: center;
    letter-spacing: 0.05em;
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        min-height: 320px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        padding: 0 0rem 4rem;
    }

    .cat-card {
        grid-template-columns: 180px 1fr;
    }

    .full-catalogue {
        margin: 0 0rem 2rem;
        grid-template-columns: 1fr;
    }

    .how-inner {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 580px) {
    .cat-card {
        grid-template-columns: 1fr;
    }

    .cat-panel {
        min-height: 180px;
    }

    .categories-grid {
        padding: 0 0rem 3rem;
    }
}

.booklet .b-arrow-prev div {
    background: url(../images/v3/ecatalog/left.png) no-repeat left center;
    background-size: 100%;
    position: absolute;
}

.booklet .b-arrow-next div {
    background: url(../images/v3/ecatalog/right.png) no-repeat left center;
    background-size: 100%;
    position: absolute;
}

.booklet .b-arrow div {
    display: none;
    text-indent: -9999px;
    height: 100%;
    width: 50px;
    position: absolute;
    left: 0;
    top: 0%;
}

.modalFlip {
    background: #ffffff;
    width: 100%;
    padding: 3rem;
    position: relative;
    animation: modal-in 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}