/* =========================================================
   WAIPA WORK SCHEME LTD
   One-page website stylesheet
   ========================================================= */

/* ---------- ROOT / COLOURS ---------- */

:root {
    --wws-dark: #00552f;
    --wws-dark-2: #003d22;
    --wws-green: #42b819;
    --wws-green-light: #73d63d;
    --wws-white: #ffffff;
    --wws-offwhite: #f7faf7;
    --wws-text: #193126;
    --wws-muted: #68756e;
    --wws-border: #dce7df;

    --wws-radius: 18px;
    --wws-shadow: 0 12px 35px rgba(0, 60, 35, 0.12);
}


/* ---------- GLOBAL ---------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--wws-text);
    background: var(--wws-white);
    line-height: 1.65;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.15;
}

.section-padding {
    padding: 90px 0;
}

.min-vh-75 {
    min-height: 75vh;
}


/* ---------- NAVBAR ---------- */

.wws-navbar {
    background: var(--wws-dark);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.16);
}

.wws-navbar .container {
    min-height: 76px;
}

.wws-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-right: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--wws-white);
}

.brand-text small {
    margin-top: 5px;
    color: var(--wws-green-light);
    font-size: 0.57rem;
    letter-spacing: 0.13em;
}

.wws-navbar .nav-link {
    color: var(--wws-white);
    font-weight: 700;
    margin-left: 18px;
    transition: 0.2s ease;
}

.wws-navbar .nav-link:hover,
.wws-navbar .nav-link:focus {
    color: var(--wws-green-light);
}

.wws-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.wws-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}


/* ---------- TYPOGRAPHY ---------- */

.eyebrow {
    margin-bottom: 12px;
    color: var(--wws-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--wws-green-light);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.section-heading h2,
.about-section h2,
.service-area h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--wws-dark);
}

.section-heading > p:last-child {
    color: var(--wws-muted);
}


/* ---------- HERO ---------- */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    background:
        linear-gradient(120deg, var(--wws-dark-2) 0%, var(--wws-dark) 58%, #08723e 100%);
    color: var(--wws-white);
}

.hero-section h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    letter-spacing: -0.04em;
}

.hero-section h1 span {
    display: block;
    color: var(--wws-green-light);
}

.hero-lead {
    max-width: 650px;
    margin: 25px 0 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-wws-primary {
    padding: 13px 25px;
    background: var(--wws-green);
    border: 2px solid var(--wws-green);
    color: var(--wws-white);
    font-weight: 800;
    border-radius: 50px;
}

.btn-wws-primary:hover {
    background: var(--wws-green-light);
    border-color: var(--wws-green-light);
    color: var(--wws-dark-2);
}

.btn-wws-outline {
    padding: 13px 25px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--wws-white);
    font-weight: 800;
    border-radius: 50px;
}

.btn-wws-outline:hover {
    background: var(--wws-white);
    color: var(--wws-dark);
}

.hero-card {
    position: relative;
    z-index: 2;
    padding: 38px;
    background: var(--wws-white);
    color: var(--wws-text);
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.hero-card-logo img {
    width: 190px;
    height: 125px;
    object-fit: contain;
    margin-bottom: 5px;
}

.hero-card h2 {
    color: var(--wws-dark);
}

.hero-card p {
    color: var(--wws-muted);
}

.hero-phone {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;
    background: var(--wws-dark);
    color: var(--wws-white);
    border-radius: 50px;
    font-weight: 800;
}

.hero-phone:hover {
    background: var(--wws-green);
    color: var(--wws-white);
}


/* ---------- DECORATIVE GRASS / CURVE ---------- */

.hero-curve {
    position: absolute;
    width: 70%;
    height: 120px;
    right: -15%;
    bottom: -45px;
    background: var(--wws-green);
    border-radius: 50%;
    opacity: 0.9;
}

.grass-border {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -65px;
    height: 120px;
    background: var(--wws-white);
    border-radius: 50% 50% 0 0;
}


/* ---------- SERVICES ---------- */

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

.service-card {
    height: 100%;
    padding: 32px 28px;
    background: var(--wws-white);
    border: 1px solid var(--wws-border);
    border-radius: var(--wws-radius);
    box-shadow: var(--wws-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 60, 35, 0.17);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    background: var(--wws-dark);
    color: var(--wws-white);
    border-radius: 50%;
    font-size: 1.6rem;
}

.service-card h3 {
    color: var(--wws-dark);
    font-size: 1.35rem;
}

.service-card p {
    margin: 0;
    color: var(--wws-muted);
}


/* ---------- FEATURE BAND ---------- */

.feature-band {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background: var(--wws-dark);
    color: var(--wws-white);
}

.feature-band h2 {
    max-width: 750px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.feature-band p:not(.eyebrow) {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.8);
}


/* ---------- ABOUT ---------- */

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

.about-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 370px;
    overflow: hidden;
    background: var(--wws-dark);
    border-radius: 30px;
}

.about-logo {
    position: relative;
    z-index: 2;
    width: min(75%, 330px);
    height: auto;
}

.about-swoosh {
    position: absolute;
    width: 130%;
    height: 180px;
    bottom: -80px;
    background: var(--wws-green);
    border-radius: 50%;
}

.about-section p {
    color: var(--wws-muted);
}

.tick-list {
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
}

.tick-list li {
    position: relative;
    padding: 8px 0 8px 30px;
    font-weight: 700;
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--wws-green);
    font-weight: 900;
}


/* ---------- COMMUNITY ---------- */

.community-section {
    background:
        linear-gradient(135deg, var(--wws-dark-2), var(--wws-dark));
    color: var(--wws-white);
}

.light-text h2 {
    color: var(--wws-white);
}

.light-text > p:last-child {
    color: rgba(255, 255, 255, 0.76);
}

.community-card {
    height: 100%;
    padding: 32px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--wws-radius);
}

.community-card span {
    display: block;
    margin-bottom: 25px;
    color: var(--wws-green-light);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.community-card h3 {
    color: var(--wws-white);
}

.community-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}


/* ---------- SERVICE AREA ---------- */

.service-area {
    background: var(--wws-offwhite);
}

.service-area .lead {
    max-width: 780px;
    margin: 20px auto 0;
    color: var(--wws-muted);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.area-tags span {
    padding: 9px 17px;
    background: var(--wws-white);
    border: 1px solid var(--wws-border);
    border-radius: 50px;
    color: var(--wws-dark);
    font-weight: 800;
}


/* ---------- CONTACT ---------- */

.contact-section {
    background: var(--wws-dark-2);
    color: var(--wws-white);
}

.contact-section h2 {
    max-width: 650px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.contact-section > .container p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.contact-details a {
    display: flex;
    flex-direction: column;
    width: fit-content;
    color: var(--wws-white);
}

.contact-details a:hover {
    color: var(--wws-green-light);
}

.contact-details strong {
    color: var(--wws-green-light);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card {
    padding: 40px;
    background: var(--wws-white);
    color: var(--wws-text);
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--wws-shadow);
}

.contact-logo {
    width: 180px;
    height: 110px;
    object-fit: contain;
}

.contact-card h3 {
    margin-bottom: 3px;
    color: var(--wws-dark);
}

.contact-card p {
    margin-bottom: 25px;
    color: var(--wws-muted);
}

.contact-button {
    display: inline-block;
    padding: 13px 25px;
    background: var(--wws-green);
    color: var(--wws-white);
    border-radius: 50px;
    font-weight: 800;
}

.contact-button:hover {
    background: var(--wws-dark);
    color: var(--wws-white);
}


/* ---------- FOOTER ---------- */

.footer {
    padding: 25px 0;
    background: #002a18;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer strong {
    color: var(--wws-white);
}

.footer small {
    color: rgba(255, 255, 255, 0.6);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .section-padding {
        padding: 70px 0;
    }

    .brand-text small {
        display: none;
    }

    .wws-navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        min-height: auto;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .hero-card {
        margin-bottom: 50px;
    }
}


@media (max-width: 575.98px) {

    .section-padding {
        padding: 55px 0;
    }

    .wws-navbar .container {
        min-height: 66px;
    }

    .wws-logo {
        width: 45px;
        height: 45px;
        margin-right: 8px;
    }

    .brand-text strong {
        font-size: 0.78rem;
    }

    .hero-section h1 {
        font-size: 2.7rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-card {
        padding: 28px 20px;
    }

    .feature-band {
        padding: 55px 0;
    }

    .contact-card {
        padding: 30px 20px;
    }
}
