﻿/* Teal palette matched to Pembelani Africa vibe */
:root {
    --bg: #071718; /* deep teal-black */
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --primary: #0b2a2c; /* deep teal */
    --secondary: #0f3b3f; /* teal slate */
    --accent: #10E9E3; /* bright teal */
    --accent2: #3C6F79; /* dark teal */

    --border: rgba(15, 23, 42, 0.12);
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
    --radius: 16px;
    --radius-sm: 12px;
    --tab-bg: rgba(255,255,255,0.08);
    --tab-active-bg: var(--accent);
    --tab-active-text: #062123;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
    scroll-margin-top: 92px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,42,44,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 220px;
    text-decoration: none !important;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent);
    color: #062123;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.brand-name {
    font-weight: 900;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.brand-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.70);
    margin-top: 2px;
}

/* Tabs */
.nav-tabs {
    display: inline-flex;
    background: var(--tab-bg);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 6px;
    gap: 6px;
}

.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

    .tab:hover {
        text-decoration: none;
        background: rgba(255,255,255,0.08);
    }

    .tab.active {
        background: var(--tab-active-bg);
        color: var(--tab-active-text);
        text-decoration: none;
    }

.actions {
    display: flex;
    justify-content: flex-end;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    box-shadow: var(--shadow);
    cursor: pointer;
    padding: 10px;
}

    .hamburger span {
        display: block;
        height: 2px;
        margin: 6px 0;
        background: rgba(255,255,255,0.90);
        border-radius: 999px;
    }

/* TYPOGRAPHY */
h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    margin: 14px 0 14px;
    letter-spacing: -0.02em;
    font-weight: 900;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 10px;
}

h3 {
    margin: 0 0 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 900;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

    .btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
    }

    .btn.primary,
    .btn.cta {
        background: var(--accent);
        border-color: rgba(16,233,227,0.35);
        color: #062123;
    }

    .btn.ghost {
        background: transparent;
        color: #ffffff;
        border-color: rgba(255,255,255,0.22);
    }

/* HERO */
.hero {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(11,42,44,0.88), rgba(7,23,24,0.96)), radial-gradient(circle at 20% 20%, rgba(16,233,227,0.14), rgba(0,0,0,0) 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    background: rgba(16,233,227,0.16);
    border: 1px solid rgba(16,233,227,0.28);
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.accent {
    color: var(--accent);
}

.lead {
    font-size: 1.05rem;
    color: rgba(201,205,204,0.95);
    max-width: 70ch;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.mini-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.mini-card {
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: var(--radius-sm);
    padding: 12px;
    background: rgba(255,255,255,0.06);
}

.mini-title {
    font-weight: 900;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.9);
}

.scroll-hint {
    margin-top: 26px;
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 0.8rem;
    opacity: 0.65;
}

.hero-panel {
    display: grid;
    gap: 14px;
}

.panel-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ticks {
    margin: 10px 0 0;
    padding-left: 18px;
}

    .ticks li {
        margin: 8px 0;
        color: rgba(201,205,204,0.95);
    }

        .ticks li::marker {
            color: var(--accent);
        }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feature {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    padding: 14px;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-title {
    font-weight: 900;
}

.feature-text {
    color: rgba(201,205,204,0.95);
    margin-top: 6px;
}

/* LIGHT SECTIONS */
.light {
    background: #ffffff;
}

    .light.alt {
        background: linear-gradient(180deg, rgba(15,23,42,0.03), rgba(15,23,42,0.00));
    }

.sublead {
    color: var(--muted);
    max-width: 72ch;
    margin: 0 0 26px;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .card:hover,
    .feature:hover,
    .panel-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(2, 6, 23, 0.14);
    }

.link {
    color: var(--accent2);
    font-weight: 900;
}

.cta-banner {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(16,233,227,0.14), rgba(60,111,121,0.06));
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

/* ACCREDITATIONS / RESELLER STRIP */
.trust-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(15,23,42,0.10);
    background: linear-gradient(135deg, rgba(16,233,227,0.12), rgba(60,111,121,0.06));
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.trust-text {
    color: var(--muted);
    margin: 6px 0 0;
    max-width: 62ch;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.10);
    font-weight: 900;
    color: #111827;
    box-shadow: 0 10px 22px rgba(2,6,23,0.06);
}

    .badge em {
        font-style: normal;
        opacity: 0.75;
    }

.badge-highlight {
    border-color: rgba(16,233,227,0.38);
    box-shadow: 0 12px 26px rgba(16,233,227,0.18);
}

.trust-note {
    margin-top: 12px;
    color: var(--muted);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
}

.contact-line {
    margin: 10px 0;
    color: var(--muted);
}

.note {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.10);
    background: rgba(15,23,42,0.02);
    color: var(--muted);
}

.form label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 900;
}

.form input, .form select, .form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.14);
    background: #fff;
    font: inherit;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.form-hint {
    color: var(--muted);
    margin: 10px 0 0;
    font-size: 0.95rem;
}

.email-fallback {
    color: var(--text);
    border-color: rgba(15,23,42,0.14);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    background: rgba(11,42,44,0.92);
    color: rgba(255,255,255,0.75);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 12px;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 700ms ease, transform 700ms ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPONSIVE / MOBILE */
@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-tabs {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(11,42,44,0.98);
        box-shadow: var(--shadow);
        border: 1px solid rgba(255,255,255,0.10);
        flex-direction: column;
        gap: 8px;
    }

    .site-header.menu-open .nav-tabs {
        display: flex;
    }

    .tab {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .mini-info {
        grid-template-columns: 1fr;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }
}
