/* Define color variables */
:root {
  /* ───────────────
     CORE BRAND
  ─────────────── */
  --color-brand-primary: #008C84;      /* Accessible accent (AA) */
  --color-brand-primary-hover: #00D9C8; /* Darker for hover/active */
  --color-brand-focus: #00D9C8;        /* Focus ring / glow */
  --color-brand-light: #66F2E6;        /* Background tint / highlight */
  --color-brand-gradient: linear-gradient(135deg, #00D9C8 0%, #008C84 100%);

  /* ───────────────
     TEXT & NEUTRALS
  ─────────────── */
  --color-text-primary: #111111;  /* Default body text */
  --color-text-secondary: #555555; /* Muted text */
  --color-text-on-dark: #FFFFFF;  /* Text on dark backgrounds */

  --color-bg-primary: #FFFFFF;    /* Page background */
  --color-bg-alt: #F8F9FA;        /* Section background */
  --color-border: #E2E6E9;        /* Dividers / strokes */

  /* ───────────────
     INTERACTIVE STATES
  ─────────────── */
  --color-button-primary-bg: var(--color-text-primary);
  --color-button-primary-bg-hover: var(--color-brand-primary-hover);
  --color-button-primary-text: #66F2E6;

  --color-link: var(--color-brand-primary);
  --color-link-hover: var(--color-brand-primary-hover);
  --color-focus-outline: var(--color-brand-focus);

}

/* === TYPOGRAPHY SYSTEM === */

/* Google Fonts import (place at top of your main CSS file or in <head>) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
  /* Font families */
  --font-sans: 'Poppins', sans-serif;

  /* Font sizes (Desktop) */
  --fs-display: 64px;
  --fs-h1: 48px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-body: 20px;
  --fs-medium: 16px;
  --fs-small: 14px;
  --fs-quote: 20px;
  --fs-cta: 16px;
  --fs-overline: 14px;

  /* Font sizes (Mobile) */
  --fs-display-mobile: 40px;
  --fs-h1-mobile: 32px;
  --fs-h2-mobile: 24px;
  --fs-h3-mobile: 20px;
  --fs-lead-mobile: 18px;
  --fs-body-mobile: 15px;
  --fs-small-mobile: 13px;
  --fs-quote-mobile: 18px;
  --fs-cta-mobile: 15px;
  --fs-overline-mobile: 11px;

  /* Line heights */
  --lh-tight: 110%;
  --lh-regular: 130%;
  --lh-loose: 160%;

  /* Letter spacing */
  --ls-tight: -1%;
  --ls-slight: -0.5%;
  --ls-wide: 1%;
  --ls-extra-wide: 5%;
}

/* === HEADINGS === */

.display {
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: 700;
}

h1, .h1 {
  font-family: var(--font-sans);
  font-size: var(--fs-h1);
  line-height: 120%;
  letter-spacing: var(--ls-slight);
  font-weight: 500;
}

h2, .h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  line-height: 130%;
  font-weight: 500;
}

h3, .h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  line-height: 140%;
  font-weight: 500;
}

.hero {
  padding: 3rem 0;
  text-align: left;
}

  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

.case-tag {
  text-transform: uppercase;
  font-size: var(--fs-medium);
  font-weight: 500;
  color: var(--color-brand-primary);
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3rem;
  margin: 0.5rem 0;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
}

.hero-img img{
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

#homepage .hero{
  padding-bottom: 0;
}

/* === BODY & SUPPORTING === */

.lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  font-weight: 400;
}

body, .body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
}

.small {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  line-height: 150%;
  font-weight: 400;
}

.quote {
  font-size: var(--fs-quote);
  line-height: 140%;
  font-style: italic;
  font-weight: 400;
  padding-left: 10px;
  border-left: 2px solid #00d9c8;
}

.quote span{
  font-size: var(--fs-small);
  font-weight: 600;
  font-style: normal;
}

.txt-highlight{
  color: var(--color-brand-primary);
}

.txt-secondary{
  color: var(--color-text-secondary);
}

/* === UI ELEMENTS === */

.cta-primary {
  font-size: var(--fs-cta);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  line-height: 140%;
  background: var(--color-text-primary);
  color: var(--color-brand-light);
  padding: 1rem 1.5rem;
  border-radius: 30px;
  transition: 0.2s ease;
  margin: 40px 0;
  display: block;
  width: fit-content;
}

.cta-primary:hover {
  background: var(--color-link-hover);
  color: var(--color-text-primary);
}

.cta-secondary {
  font-size: var(--fs-cta);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  line-height: 140%;
  background: var(--color-brand-light);
  color: var(--color-text-primary);
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  transition: 0.2s ease;
  border: solid 2px var(--color-brand-light);
}

.cta-secondary:hover {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.overline {
  font-family: var(--font-sans);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: var(--ls-extra-wide);
  text-transform: uppercase;
  line-height: 130%;
}

a {
  text-decoration: none;
}

/* === RESPONSIVE (MOBILE) === */
@media (max-width: 768px) {
  .display { font-size: var(--fs-display-mobile); }
  h1, .h1 { font-size: var(--fs-h1-mobile); }
  h2, .h2 { font-size: var(--fs-h2-mobile); }
  h3, .h3 { font-size: var(--fs-h3-mobile); }
  .lead { font-size: var(--fs-lead-mobile); }
  body, .body { font-size: var(--fs-body-mobile); }
  .small { font-size: var(--fs-small-mobile); }
  .quote { font-size: var(--fs-quote-mobile); }
  .cta { font-size: var(--fs-cta-mobile); }
  .overline { font-size: var(--fs-overline-mobile); }
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/*.header {
  padding: 1.5rem 0;
  background: var(--color-bg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}*/

.logo {
  font-weight: 400;
  font-size: var(  --fs-h3);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.nav a {
  margin-left: 1.3rem;
  font-weight: 500;
}

.centre{

}

/* --- Background options --- */
.bg-light { background: var(--color-bg-alt); }
.bg-light-gradient { background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%); }




/* --- Section base --- */
.section {
  padding: 4rem 1rem;
}

.full-width {
  width: 100%;
  margin: 0;
}

/* --- Containers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Narrow reading width for text-heavy sections */
.narrow {
  max-width: 700px;
  margin: 0 auto;
}

/* --- Layout options --- */
.container-1col {
  display: block;
  grid-template-columns: 1fr;
}

.container-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.container-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container-2col,
  .container-3col {
    grid-template-columns: 1fr;
  }
}


/* ---------- Content ---------- */


.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  /*padding: 3rem 0;*/
}

.col {
  flex: 1 1 45%;
}

.bullets {
  list-style: none;
  padding: 0;
}

.bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.bullets li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--color-brand-focus);
  font-size: 0.75rem;
  top: 0.2rem;
}

.section {
  padding: 3rem 0;
}

.section img{
  width: 100%;
  height: auto;
}

.section-light {
  background: var(--color-section-bg);
}

.subsection{
  margin: 3em 0 0;
}

/* Two-column layout with 2:1 ratio */
/* 2:1 ratio columns */
.col-wide {
  flex: 2 1 60%;
}

.col-narrow {
  flex: 1 1 30%;
}

.col img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}



/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .two-col {
    flex-direction: column;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .btn {
    padding: 0.5rem 1rem;
  }
}

/* ---------- Navigation ---------- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo{
    padding: 20px 0;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
}

nav ul li {
    position: relative;
    min-width: 45px;
    text-align: center;
    color: var(--color-text-secondary);
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
}

 .active-page{
    font-weight: 500;
    color: var(--color-text-primary);
 }

  .btn-secondary.active-page{
    border-color: var(--secondary-color);
 }

.nav-contact {
    border: 3px solid var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.burger-menu div {
    width: 30px;
    height: 3px;
    background-color: var(--color-brand-primary);
    margin: 3px;
}

/
/* ---------- Logos ---------- */
.logos {
  padding: 2rem 0;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 0;
}

.logo-row img {
  max-height: 60px;
}

/* ---------- Case Studies ---------- */
.case-studies {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-card {
  display: flex;
  flex-wrap: no-wrap;
  background: var( --color-bg-primary);
  border-radius: 16px;
  overflow: hidden;
}

.case-card.reverse {
  flex-direction: row-reverse;
}

.case-illustration {
  flex: 1 1 33%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.case-illustration img {
  max-width: 100%;
  height: auto;
}

.case-content {
  flex: 1 1 67%;
  padding: 2.5rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-brand-primary);
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  color: var(--color-link-hover);
}

html {
  scroll-behavior: smooth;
}

/* Footer */
footer {
    padding: 40px 0 1px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}

.icon-before-text {
    padding-right: 8px;
    vertical-align: middle;
}

.LinkedIn{
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
}

.contact-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
nav img{
        width: 60px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 75px;
        right: 20px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    nav .btn-secondary{
        border: none;
        text-align: left;
        padding: 0;
    }

    .burger-menu {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10px;
        background: white;
        padding: 10px;
    }
   
    ul.active {
        display: flex;
    }
    
    .burger-menu.active + ul {
        display: flex;
    }



  .case-card,
  .case-card.reverse {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .hero .cta-primary{
    margin-bottom: 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

#homepage .col-narrow {
  display: none;
}

  .contact-info{
    display: block;
  }

}

@media (max-width: 480px) {
    h1 { 
        margin-block-start:20px;
        margin-block-end:20px; 
    }

    .btn { height: 45px; line-height: 45px; font-size: 16px; }
    
    
    header{
        margin: 20px 0 0;
    }

    .cta-primary{
      width: auto;
      text-align: center;
    }