﻿/* Fade-in and slide-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Button hover scale effect */
.button {
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.button:hover {
    background: var(--brand-dark);
    color: white;
    transform: scale(1.07);
}
/* Ensure problem-list bullets align with text on all screens */
.problem-list {
    padding-left: 1.5em;
    margin-left: 0;
    list-style-position: outside;
}
.problem-list li {
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .problem-list {
        padding-left: 1.5em;
        margin-left: 0;
        list-style-position: outside;
    }
    .problem-list li {
        text-align: left;
        margin-bottom: 10px;
        line-height: 1.5;
    }
}
.hero-about .button {
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
    width: fit-content;
}
.hero-about h2 {
    text-align: center;
}
.hero-about p {
    text-align: center;
}
:root {
    /* Neutrals */
    --ink: #004673;
    --text: #333;
    --muted: #666;
    --line: #e6e6e6;
    --bg: #ffffff;
    --bg-soft: #f7f7f7;
    /* Brand accents */
    --brand-dark: #004673;
    --brand-accent: #39B7D5;
    --brand-orange: #FF6B35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Helps anchor links not sit under the sticky header */
.section {
    scroll-margin-top: 90px;
}

/* Header */
header {
    background: var(--ink);
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--brand-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

    header h1 {
        font-size: 20px;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        flex: 1;
    }
}

.logo {
    height: 50px;
}

.business-name {
    font-weight: 600;
    font-size: 18px;
    color: white;
}

@media (max-width: 768px) {
    .business-name {
        font-size: 18px;
        margin-left: 25px;
    }

    .logo {
        height: 40px;
    }
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
}

    nav a:hover {
        opacity: 0.7;
    }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    align-self: flex-start;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        padding: 16px;
        gap: 10px;
        border-bottom: 3px solid var(--brand-accent);
        z-index: 999;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a:last-child {
        border-bottom: none;
    }
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('images/hero.jpg') center 25% /cover no-repeat;
    color: white;
    padding: 120px 40px;
    text-align: center;
}

    .hero h2 {
        font-size: 48px;
        margin-bottom: 20px;
        font-weight: 700;
        text-align: center;
    }

    .hero p {
        text-align: center;
    }

    .hero p {
        font-size: 20px;
        max-width: 700px;
        margin: 0 auto 30px;
    }

.button {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

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

/* Sections */
.section {
    padding: 100px 40px;
    max-width: 1100px;
    margin: auto;
}

    .section h3 {
        font-size: 34px;
        margin-bottom: 30px;
        font-weight: 700;
    }

    .section p {
        font-size: 18px;
        color: #555;
    }

    /* If your sections are actual <section> elements, prefer:
   section.section:nth-of-type(even) { background: #f9f9f9; }
   If not, keep this but it may not alternate correctly depending on HTML structure.
*/
section.section:nth-of-type(even) {
    background: #f9f9f9;
}    

.section h3 {
  position: relative;
  padding-bottom: 10px;
}

.section h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--brand-accent);
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Services */
.services {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 4px solid var(--brand-accent);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

#testimonials .card {
    border-top-color: var(--brand-orange);
}

/* About */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-photo {
    width: 260px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 6px solid white;
}

.about-section {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 60px;
}

/* Proof bar */

.proof {
    background: var(--brand-accent);
    color: white;
    padding: 24px 40px;
}

.proof-item span {
    display: block;
    opacity: 0.95;
}

.proof-inner {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.proof-item strong {
    display: block;
    font-size: 18px;
}

.proof-item span {
    display: block;
    opacity: 0.8;
}

/* Forms */
label {
    display: block;
    font-weight: 600;
    margin: 14px 0 6px;
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.form-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

    .form-grid > div {
        flex: 1;
        min-width: 240px;
    }

@media (max-width: 768px) {
    label {
        margin: 8px 0 4px;
        font-size: 13px;
    }

    input, textarea {
        padding: 8px 10px;
        font-size: 14px;
    }

    .form-grid {
        gap: 12px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: var(--ink);
    color: white;
    margin-top: 60px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    header {
        padding: 10px 12px;
        gap: 12px;
    }

    nav a {
        margin-left: 0;
        margin-right: 14px;
        display: inline-block;
    }

    .hero {
        padding: 40px 16px;
    }

        .hero h2 {
            font-size: 24px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 14px;
        }

    .section {
        padding: 40px 16px;
    }

    .section h3 {
        font-size: 24px;
    }

    .section p {
        font-size: 13px;
        text-align: left;
    }

    .services {
        gap: 16px;
    }

    .card {
        padding: 20px;
        min-width: 100%;
    }

    .proof {
        padding: 6px 12px;
        text-align: center;
    }

    .proof-inner {
        gap: 20px;
        justify-content: center;
    }

    .proof-item strong {
        font-size: 11px;
    }

    .proof-item span {
        font-size: 9px;
    }

    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-photo {
        width: min(150px, 100%);
        border: 4px solid white;
        margin-top: 20px;
    }

    @media (max-width: 768px) {
        .footer-inner {
            flex-direction: column;
            text-align: center;
        }
    }
}


/* About page hero image */
.hero.hero-about {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.55)), url('images/tonypic2.jpg') center 10% / cover no-repeat;
    padding: 120px 40px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero.hero-about {
        padding: 40px 16px;
    }

    .hero.hero-about h2 {
        font-size: 20px;
    }

    .hero.hero-about p {
        font-size: 13px;
    }

    .about-section h3 {
        font-size: 20px;
    }

    .about-section p {
        font-size: 13px;
        text-align: left;
    }
}

.thanks {
    display: none;
    text-align: center;
}

    .thanks:target {
        display: block;
    }
.mission {
  background: #f2f9fb;
  border-right: 4px solid var(--brand-accent);
  padding: 50px;
  border-radius: 8px;
}
/* ---------- Services page upgrades ---------- */

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-sub {
  font-size: 20px;
  opacity: 0.9;
  margin: 10px 0 18px;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* A quieter secondary button */
.button-ghost {
  background: transparent;
  color: white;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.button-ghost:hover {
  background: white;
  color: var(--brand-dark);
  border-color: white;
}

/* Services hero image */
.hero.hero-services {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('images/lab1.jpg') center 10% /cover no-repeat;
    padding: 120px 40px;
}
@media (max-width: 768px) {
    .hero.hero-services {
        padding: 40px 16px;
    }

    .hero.hero-services h2 {
        font-size: 22px;
    }

    .hero.hero-services p {
        font-size: 13px;
    }

    .section.section-tint p {
        font-size: 13px;
        text-align: left;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-card h4 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
        text-align: left;
    }

    .split-text p {
        font-size: 13px;
        text-align: left;
    }
}
/* If you don’t have services-hero.jpg yet, either add it,
   or remove this rule and it will fall back to your default .hero background. */

.proof-accent {
  border-top: 3px solid var(--brand-accent);
}

/* Split layout */
.split {
  display: flex;
  gap: 40px;
  align-items: center;
}

.split-text {
  flex: 1.2;
}

.split-media {
  flex: 1;
}

.media-card {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  border: 6px solid white;
}

/* Subtle brand tint section */
.section-tint {
  background: #f2f9fb; /* soft teal tint */
  border-radius: 16px;
  padding: 80px 40px;
}

/* Feature cards with gentle brand accents */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.feature-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-top: 3px solid rgba(57,183,213,0.45);
  
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}
.feature-card:hover .icon-badge {
  background: var(--brand-dark);
  color: white;
}

@media (max-width: 768px) {
    .feature-card {
        padding: 14px;
    }

    .icon-badge {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

.feature-card h4 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: white;
  background: var(--brand-orange);
}

/* Callout */
.section.callout {
  background: var(--brand-dark) !important;
  color: white;
  border-radius: 16px;
  padding: 70px 40px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.16);
}

.callout p { color: rgba(255,255,255,0.88); }

.ticklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.ticklist li {
  position: relative;
  padding-left: 34px;
  color: white;
  font-weight: 500;
}

.ticklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-accent);
  font-weight: 800;
  font-size: 18px;
}

.callout-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-note {
  opacity: 0.85;
}

/* Reveal animations (subtle, not flashy) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .split {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-tint {
    padding: 40px 16px;
  }

  .callout {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 12px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .section {
    padding: 30px 12px;
  }

  .section h3 {
    font-size: 20px;
  }

  header {
    padding: 12px 12px;
  }

  .button {
    padding: 10px 16px;
    font-size: 14px;
  }
}
.problems {
    background: #eaf7fb;
    border-radius: 16px;
    padding: 70px 40px;
}

.problem-list {
    list-style: none;
    margin-top: 24px;
    padding: 0;
}

    .problem-list li {
        padding: 14px 0 14px 28px;
        border-bottom: 1px solid var(--line);
        position: relative;
        font-size: 18px;
    }

@media (max-width: 768px) {
    .problems {
        padding: 30px 16px;
    }

    .problem-list li {
        padding: 6px 0 6px 20px;
        font-size: 12px;
    }

    .problem-list li::before {
        top: 10px;
        width: 8px;
        height: 8px;
    }
}

        .problem-list li::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--brand-accent);
            position: absolute;
            left: 0;
            top: 22px;
        }
.split {
    display: flex;
    gap: 40px;
    align-items: center;
}

.split-text,
.split-media {
    flex: 1;
}

.media-card {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    border: 6px solid white;
}

@media (max-width: 768px) {
    .media-card {
        display: none;
    }
}

@media (max-width: 900px) {
    .split {
        flex-direction: column;
    }
}

.home-about {
    background: linear-gradient(135deg, var(--brand-dark), #00649f) !important;
    color: white;
    border-radius: 16px;
}

    .home-about p,
    .home-about h3 {
        color: white;
    }

    .home-about .button {
        background: white;
        color: var(--brand-accent);
    }

    .home-about .button:hover {
        background: var(--brand-dark);
        color: white;
    }
.site-footer {
    background: var(--brand-dark);
    color: white;
    padding: 18px 40px;
    font-size: 14px;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 12px 16px;
        font-size: 11px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
    }

    .footer-right img {
        width: 16px;
        height: 16px;
    }
}

.footer-centre a {
    color: white;
    text-decoration: none;
}

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

.footer-right img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    color: white;
    padding: 8px 12px;
    text-align: center;
    z-index: 9999;
    font-size: 13px;
}

    #cookie-banner a {
        color: var(--brand-accent);
    }

    #cookie-banner button {
        margin-left: 8px;
        padding: 4px 10px;
        background: var(--brand-accent);
        border: none;
        color: white;
        cursor: pointer;
        font-size: 12px;
    }

.policy-page {
    max-width: 900px;
}

    .policy-page h2 {
        font-size: 40px;
        margin-bottom: 40px;
        color: var(--brand-dark);
    }

    .policy-page h3 {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 16px;
        color: var(--brand-dark);
    }

    .policy-page p,
    .policy-page li {
        font-size: 17px;
        color: #444;
        line-height: 1.8;
    }

    .policy-page ul {
        margin: 0 0 20px 22px;
    }

    .policy-page a {
        color: var(--brand-dark);
        text-decoration: none;
    }

        .policy-page a:hover {
            text-decoration: underline;
        }

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid rgba(57, 183, 213, 0.35);
    outline-offset: 3px;
}
