﻿/* Brand */
@import url('https://fonts.googleapis.com/css2?family=Codec+Pro:wght@400;600;700&display=swap');

:root {
    --color-primary: #1d7151;
    --color-white: #ffffff;
    --font-heading: 'Codec Pro', sans-serif;
    --font-body: Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    color: #2c2c2c;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

/* Header */
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 24px;
}

header[role="banner"] {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__logo img {
    height: 60px;
    width: auto;
    max-width: 300px
}

/* Nav */
nav[aria-label="Main navigation"] ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

nav[aria-label="Main navigation"] a {
    text-decoration: none;
    color: #2c2c2c;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

    nav[aria-label="Main navigation"] a:hover,
    nav[aria-label="Main navigation"] a:focus {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
    }

    nav[aria-label="Main navigation"] a:focus-visible {
        outline: 2px solid #1a5276;
        outline-offset: 4px;
        border-bottom-color: transparent;
    }

/* Skip link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50px;
    background: #1a5276;
    color: #fff;
    padding: 8px 16px;
    font-weight: 600;
    z-index: 999;
    transition: top 0.2s;
}

    .skip-to-content:focus {
        top: 8px;
    }

.one-column {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Carousel Banner */
.carousel-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-banner__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

    .carousel-banner__slide.active {
        opacity: 1;
    }

.carousel-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.3);
    }
}

/* Dark overlay */
.carousel-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.75) 100% );
    z-index: 1;
}

/* Title */
.carousel-banner__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.carousel-banner__title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
    padding: 0 24px;
}

/* Dot indicators */
.carousel-banner__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.carousel-banner__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

    .carousel-banner__dot.active {
        background: #ffffff;
    }

@media (max-width: 768px) {
    .carousel-banner {
        height: 350px;
    }

    .carousel-banner__title {
        font-size: 2rem;
    }
}

/* Intro Section */
.intro-section {
    background-color: var(--color-white);
    padding: 64px 24px;
}

.intro-section__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-section__heading {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.intro-section__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 32px;
}

.intro-section__button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

    .intro-section__button:hover,
    .intro-section__button:focus {
        background-color: #155a3e;
        outline: none;
    }

    .intro-section__button:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: 3px;
    }

/* Objectives Section */
.objectives-section {
    background-color: var(--color-primary);
    padding: 64px 24px;
}

.objectives-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.objectives-section__heading {
    color: var(--color-white);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.objectives-section__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Objective Cards */
.objectives-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .objectives-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.objectives-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

    .objectives-card__icon svg {
        width: 100%;
        height: 100%;
    }

.objectives-card__title {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.objectives-card__text {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .objectives-section__cards {
        grid-template-columns: 1fr;
    }
}

/* Neighbourhoods Section */
.neighbourhoods-section {
    background-color: var(--color-white);
    padding: 64px 24px;
}

.neighbourhoods-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.neighbourhoods-section__heading {
    color: var(--color-primary);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.neighbourhoods-section__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Neighbourhood Cards */
.neighbourhoods-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .neighbourhoods-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.neighbourhoods-card__top {
    height: 6px;
    background-color: var(--color-primary);
}

.neighbourhoods-card__content {
    padding: 36px 28px;
}

.neighbourhoods-card__title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.neighbourhoods-card__text {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .neighbourhoods-section__cards {
        grid-template-columns: 1fr;
    }
}
/* Footer */
footer[role="contentinfo"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 48px 20px 24px;
    margin-top: 60px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__logo img {
    max-width: 180px;
    height: auto;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
}

footer nav li {
    margin: 0;
}

footer nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.2s ease;
}

    footer nav a:hover,
    footer nav a:focus {
        opacity: 0.8;
        text-decoration: underline;
    }

.footer__copyright {
    font-size: 14px;
    margin: 24px 0 0;
    text-align: center;
    opacity: 0.9;
}

/* Two Column Layout */
.two-column-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.two-column-layout__sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.two-column-layout__sidebar ul {
    list-style: none;
    padding: 0;
}

.two-column-layout__sidebar li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

/* Jobs Landing Page */
.jobs-landing {
    background-color: #fff;
}

.jobs-landing__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

    .jobs-landing__container h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

/* Job Cards */
.jobs-list {
    display: grid;
    gap: 24px;
}

.job-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    transition: box-shadow 0.2s ease;
}

    .job-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.job-card__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

    .job-card__title a {
        color: var(--color-primary);
        text-decoration: none;
    }

        .job-card__title a:hover {
            text-decoration: underline;
        }

.job-card__meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #666;
}

.job-card__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

    .job-card__link:hover {
        text-decoration: underline;
    }

/* Job Detail Page */
.job-detail {
    background-color: #fff;
}

.job-detail__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

    .job-detail__container h1 {
        font-size: 2.5rem;
        margin-bottom: 24px;
    }

.job-detail__meta {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.job-detail__meta-item {
    font-size: 1rem;
    color: #666;
}

    .job-detail__meta-item strong {
        color: #2c2c2c;
    }

.job-detail__description {
    margin-bottom: 40px;
    line-height: 1.8;
}

.job-detail__apply {
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

/* Button */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
}

    .btn--primary:hover {
        background-color: #155a40;
    }

    /* Recruitment Section */
.recruitment-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.recruitment-section__inner {
    max-width: 900px;
    margin: 0 auto;
}

.recruitment-section__heading {
    font-family: 'Codec Pro', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d7151;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.recruitment-section__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
}

.recruitment-section__cta {
    margin-top: 40px;
}

.recruitment-section__button {
    display: inline-block;
    background-color: #1d7151;
    color: #ffffff;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.recruitment-section__button:hover {
    background-color: #155a3f;
}

/* Responsive */
@media (max-width: 768px) {
    .recruitment-section {
        padding: 40px 20px;
    }
    
    .recruitment-section__heading {
        font-size: 2rem;
    }
    
    .recruitment-section__description {
        font-size: 1rem;
    }
}