/* =============================================
   BOIKARABELO JWA PABALELO – GLOBAL STYLES
   Designed by BrandscapersAfrica.com | 2026
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
    --yellow: #f5c400;
    --yellow-dark: #d4a800;
    --yellow-light: #ffe566;
    --black: #111111;
    --dark: #1a1a1a;
    --dark2: #222222;
    --dark3: #2d2d2d;
    --mid: #444444;
    --white: #ffffff;
    --offwhite: #f7f7f7;
    --gray: #eeeeee;
    --text-dim: #999999;
    --text-light: #cccccc;
    --font-h: 'Oswald', sans-serif;
    --font-b: 'Inter', sans-serif;
    --nav-h: 72px;
    --tr: 0.3s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-b);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul {
    list-style: none;
}

/* ── Container ── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-b);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--tr);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%);
}

.btn::after {
    content: '»';
    position: absolute;
    right: 14px;
    font-size: 18px;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    transform: translateX(-6px);
}

.btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark3);
}

.btn-outline-yellow {
    background: transparent;
    color: var(--yellow);
    border: 2px solid var(--yellow);
    clip-path: none;
}

.btn-outline-yellow:hover {
    background: var(--yellow);
    color: var(--black);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: background .4s, box-shadow .4s;
}

.navbar.scrolled,
.navbar.solid {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .12);
}

.navbar .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 70px;
    width: auto;
}

/* navbar logo always shows in original colours */
.navbar.scrolled .navbar-logo img,
.navbar.solid .navbar-logo img {
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--tr);
}

.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a {
    color: var(--black);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width var(--tr);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-phone {
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(0, 0, 0, .25);
    padding: 8px 18px;
    transition: var(--tr);
}

.navbar.scrolled .nav-phone,
.navbar.solid .nav-phone {
    color: var(--black);
    border-color: rgba(0, 0, 0, .25);
}

.nav-phone:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--tr);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span,
.navbar.solid .hamburger span {
    background: var(--black);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--black);
    border-top: 3px solid var(--yellow);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
    animation: slideDown .3s ease;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--dark3);
    transition: color var(--tr);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--yellow);
}

.mobile-nav .btn {
    margin-top: 12px;
    justify-content: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── Section helpers ── */
.section {
    padding: 100px 0;
}

.section-white {
    background: var(--white);
}

.section-off {
    background: var(--offwhite);
}

.section-black {
    background: var(--black);
}

.section-dark {
    background: var(--dark);
}

.lbl {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

.h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
}

.h2 em {
    font-style: normal;
    color: var(--yellow);
}

.body-text {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.75;
}

.accent-bar {
    display: block;
    width: 56px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 24px;
}

/* ── Diagonal skew divider ── */
.skew-bottom::after {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
    margin-top: -1px;
}

/* ── Feature Icon Card ── (template style: parallelogram behind icon) */
.feat-col {
    text-align: center;
    padding: 30px 20px;
}

.feat-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
}

.feat-icon-bg {
    position: absolute;
    inset: 0;
    background: var(--yellow);
    transform: skewX(-14deg);
    opacity: .18;
    transition: opacity var(--tr);
}

.feat-col:hover .feat-icon-bg {
    opacity: .35;
}

.feat-icon-wrap i {
    position: relative;
    z-index: 1;
    font-size: 2.4rem;
    color: var(--yellow);
}

.feat-col h3 {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feat-col p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── About 2-image stack (template style) ── */
.about-images {
    position: relative;
    height: 520px;
}

.about-img-1,
.about-img-2 {
    position: absolute;
    object-fit: cover;
    border-radius: 2px;
}

.about-img-1 {
    width: 72%;
    height: 72%;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-img-2 {
    width: 66%;
    height: 58%;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 6px solid var(--white);
}

/* big diagonal yellow shape over images */
.about-diag {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 80px;
    height: 92%;
    background: var(--yellow);
    transform: skewX(-14deg);
    z-index: 1;
    opacity: .85;
}

/* ── Service Card ── */
.svc-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
    transition: transform var(--tr), box-shadow var(--tr);
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.svc-card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.svc-card:hover .svc-card-img {
    transform: scale(1.05);
}

.svc-card-body {
    padding: 24px;
}

.svc-card-body h3 {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.svc-card-body p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
}

.svc-card-tag {
    display: inline-block;
    margin-top: 14px;
    background: var(--yellow);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

/* ── Stats bar ── */
.stats-bar {
    background: var(--yellow);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}

.stat-lbl {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    opacity: .65;
    margin-top: 6px;
}

/* ── CTA band ── */
.cta-band {
    background: var(--black);
    padding: 70px 0;
}

.cta-band .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
}

.cta-band h2 em {
    font-style: normal;
    color: var(--yellow);
}

.cta-band p {
    color: var(--text-light);
    margin-top: 6px;
    font-size: 15px;
}

/* ── Footer ── */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
}

.footer-logo img {
    height: 52px;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 260px;
}

.footer-h {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 18px;
}

.f-links li {
    margin-bottom: 10px;
}

.f-links a {
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--tr);
}

.f-links a::before {
    content: '›';
    color: var(--yellow);
    font-size: 18px;
    line-height: 1;
}

.f-links a:hover {
    color: var(--yellow);
}

.f-contact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.f-contact-icon {
    width: 38px;
    height: 38px;
    background: var(--yellow);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.f-contact-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.f-contact-text a {
    color: var(--text-dim);
    transition: color var(--tr);
}

.f-contact-text a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid var(--dark3);
    margin-top: 60px;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--yellow);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ── Page Hero ── */
.page-hero {
    background: var(--black);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .22;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.308) 50%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* diagonal block top-right */
.page-hero-diag {
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background: var(--yellow);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    opacity: .12;
    pointer-events: none;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.05;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--yellow);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
}

.breadcrumb a {
    color: var(--yellow);
}

/* ── Scroll Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s, transform .7s;
}

[data-animate].in {
    opacity: 1;
    transform: none;
}

[data-animate="left"] {
    transform: translateX(-40px);
}

[data-animate="right"] {
    transform: translateX(40px);
}

[data-animate="left"].in,
[data-animate="right"].in {
    transform: none;
}

[data-delay="1"] {
    transition-delay: .1s;
}

[data-delay="2"] {
    transition-delay: .2s;
}

[data-delay="3"] {
    transition-delay: .3s;
}

[data-delay="4"] {
    transition-delay: .4s;
}

[data-delay="5"] {
    transition-delay: .5s;
}

/* ── Grids ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media(max-width:1024px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    :root {
        --nav-h: 64px;
    }

    .section {
        padding: 70px 0;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-images {
        height: 340px;
    }

    .cta-band .inner {
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width:480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .about-images {
        height: 280px;
    }

    .page-hero {
        padding: 130px 0 60px;
    }
}