/* ============================================================
   Labour Shield – Shared Stylesheet
   Color palette drawn from logo:
     Blue:  #00aae8  (electric cyan-blue glow)
     Dark:  #1e2433  (charcoal – matches logo background)
     Grey:  #6b7280  (mid grey)
     Light: #f1f4f8  (off-white page background)
     White: #ffffff
   ============================================================ */

/* ── Google Fonts + Reset ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue:       #00aae8;
    --blue-dark:  #0088c0;
    --blue-deep:  #005f8a;
    --dark:       #1e2433;
    --dark-foot:  #131720;
    --grey:       #6b7280;
    --grey-mid:   #9ca3af;
    --grey-light: #f1f4f8;
    --white:      #ffffff;
    --shadow:     0 4px 24px rgba(0, 170, 232, 0.10);
    --shadow-lg:  0 12px 40px rgba(0, 170, 232, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    background: var(--dark);
    padding: .75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,.35);
    border-bottom: 2px solid var(--blue);
}

/* Logo image inside navbar */
.navbar-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* Text fallback (hidden when logo loads) */
.navbar-brand-text {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white) !important;
    letter-spacing: -.3px;
}
.navbar-brand-text span { color: var(--blue); }

.nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 500;
    font-size: .88rem;
    padding: .5rem .85rem !important;
    transition: color .2s;
    letter-spacing: .1px;
}
.nav-link:hover,
.nav-link.active { color: var(--blue) !important; }

.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    border-radius: 6px;
    font-weight: 700 !important;
    padding: .45rem 1.1rem !important;
    margin-left: .5rem;
    transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }


/* ── Section labels / headings ───────────────────────────── */
.section-label {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: .55rem;
}
.section-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}
.section-sub {
    color: var(--grey);
    font-size: .97rem;
    max-width: 560px;
    margin: .75rem auto 0;
    line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-blue {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: .82rem 2rem;
    border-radius: 7px;
    font-weight: 700;
    font-size: .97rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, transform .15s;
    cursor: pointer;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); color: var(--white); }

.btn-outline-blue {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: .78rem 1.8rem;
    border-radius: 7px;
    font-weight: 600;
    font-size: .97rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, color .2s;
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ── Cards ───────────────────────────────────────────────── */
.ls-card {
    background: var(--white);
    border: 1.5px solid #dde3ec;
    border-radius: 14px;
    padding: 1.9rem 1.7rem;
    height: 100%;
    transition: border-color .22s, box-shadow .22s, transform .22s;
}
.ls-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Icon badge */
.ls-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--dark), #2a3550);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.ls-card h4, .ls-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
}
.ls-card p {
    color: var(--grey);
    font-size: .9rem;
    line-height: 1.68;
}

/* Tag pill */
.ls-tag {
    display: inline-block;
    background: rgba(0,170,232,.1);
    color: var(--blue-dark);
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .7rem;
    border-radius: 50px;
    margin-top: .9rem;
    letter-spacing: .3px;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,170,232,.18);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark); margin-bottom: .35rem; }

/* ── Tables ──────────────────────────────────────────────── */
.table thead th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: .85rem;
    border: none;
}
.table-striped tbody tr:nth-of-type(odd) { background: var(--grey-light); }
.table td { vertical-align: middle; font-size: .9rem; }

/* ── Status badges ───────────────────────────────────────── */
.badge-status { display: inline-block; padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; letter-spacing: .2px; text-transform: capitalize; }
.badge-status.badge-pending,
.badge-pending     { background: #fef3c7; color: #92400e; padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-status.badge-new,
.badge-new         { background: #dbeafe; color: #1e40af; padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-status.badge-in-progress { background: #ede9fe; color: #5b21b6; }
.badge-status.badge-active,
.badge-active      { background: #d1fae5; color: #065f46; padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-status.badge-completed   { background: #d1fae5; color: #065f46; }
.badge-status.badge-confirmed   { background: #d1fae5; color: #065f46; }
.badge-status.badge-closed,
.badge-closed      { background: #fee2e2; color: #991b1b; padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-status.badge-cancelled   { background: #fee2e2; color: #991b1b; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3550 100%);
    color: var(--white);
    padding: 78px 0;
    text-align: center;
    border-top: 3px solid var(--blue);
}
.cta-section h2 { font-weight: 800; font-size: 1.95rem; margin-bottom: .75rem; }
.cta-section p  { opacity: .78; font-size: .98rem; margin-bottom: 1.8rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--dark-foot);
    color: rgba(255,255,255,.65);
    padding: 52px 0 22px;
    border-top: 3px solid var(--blue);
}
.footer-logo { height: 44px; width: auto; object-fit: contain; margin-bottom: .8rem; }
.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: .5rem;
}
.footer-brand-text span { color: var(--blue); }
.footer p { font-size: .87rem; line-height: 1.65; max-width: 280px; }
.footer h6 { color: var(--white); font-weight: 700; margin-bottom: .9rem; font-size: .88rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .42rem; }
.footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .87rem;
    transition: color .2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1.1rem; }
.footer-bottom { font-size: .78rem; color: rgba(255,255,255,.35); text-align: center; }

/* ── Utility ─────────────────────────────────────────────── */
.bg-light-grey { background: var(--grey-light); }
.text-blue     { color: var(--blue) !important; }
.text-dark-ls  { color: var(--dark) !important; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes kenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    50%  { transform: scale(1.08) translate(-1.5%, -1%); }
    100% { transform: scale(1)    translate(0, 0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.anim-fade-up    { opacity: 0; animation: fadeInUp    .75s ease forwards; }
.anim-fade-down  { opacity: 0; animation: fadeInDown  .6s  ease forwards; }
.anim-fade-left  { opacity: 0; animation: fadeInLeft  .75s ease forwards; }
.anim-fade-right { opacity: 0; animation: fadeInRight .75s ease forwards; }
.anim-delay-1  { animation-delay: .15s; }
.anim-delay-2  { animation-delay: .30s; }
.anim-delay-3  { animation-delay: .45s; }
.anim-delay-4  { animation-delay: .60s; }
.anim-delay-5  { animation-delay: .75s; }

/* ── Hero (index) ────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 120px 0 100px;
    border-bottom: 3px solid var(--blue);
    min-height: 620px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    animation: kenBurns 22s ease-in-out infinite;
    z-index: 0;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(18, 22, 38, 0.92) 0%,
        rgba(30, 36, 51, 0.80) 55%,
        rgba(18, 22, 38, 0.65) 100%
    );
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-badge {
    display: inline-block;
    background: rgba(0,170,232,.18);
    border: 1px solid rgba(0,170,232,.45);
    color: var(--blue);
    padding: .38rem 1.1rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--white);
}
.hero h1 span { color: var(--blue); }
.hero p {
    font-size: 1.08rem;
    font-weight: 300;
    opacity: .85;
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* Floating image card (hero right column) */
.hero-img-wrap {
    position: relative;
    display: inline-block;
}
.hero-img {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    object-fit: cover;
    height: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    display: block;
    animation: floatY 6s ease-in-out infinite;
}
.hero-stat-pill {
    position: absolute;
    bottom: -18px;
    left: -22px;
    background: var(--white);
    border-radius: 14px;
    padding: .85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    animation: floatY 6s ease-in-out infinite;
    animation-delay: .5s;
}
.hero-stat-pill .hsp-icon {
    width: 42px; height: 42px;
    background: rgba(0,170,232,.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hero-stat-pill .hsp-num  { font-size: 1.3rem; font-weight: 800; color: var(--dark); line-height: 1; }
.hero-stat-pill .hsp-label { font-size: .7rem; color: var(--grey); font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }

.hero-trust-row {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    opacity: .78;
}
.hero-trust-item i { color: var(--blue); }

/* ── Page Hero (inner pages) — UPDATED ───────────────────── */
.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 76px 0 60px;
    text-align: center;
    border-bottom: 3px solid var(--blue);
    min-height: 280px;
    display: flex;
    align-items: center;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    animation: kenBurns 20s ease-in-out infinite;
    z-index: 0;
    will-change: transform;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,22,38,.88) 0%, rgba(30,36,51,.78) 100%);
    z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; width: 100%; }
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: .6rem;
}
.page-hero h1 span { color: var(--blue); }
.page-hero p {
    font-size: 1rem;
    opacity: .80;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── WhatsApp Float Button ───────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(37,211,102,.50);
    z-index: 9999;
    transition: transform .2s, box-shadow .2s;
    animation: floatY 3.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(37,211,102,.65);
    color: #fff;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,.35);
    animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Breadcrumb overrides for new hero structure */
.page-hero .breadcrumb-item a          { color: rgba(255,255,255,.55); text-decoration: none; font-size: .83rem; }
.page-hero .breadcrumb-item.active     { color: var(--blue); font-size: .83rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
