/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* === CONTAINER === */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* === HEADER === */
header {
  background-color: #0085B5;
  padding: 1rem 0;
  color: #fff;
}

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

.logo {
  height: 60px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* === HERO SECTION === */
.hero {
  padding: 4rem 2rem 2rem;
  background-color: #f4f7f8;
  text-align: center;
  position: relative;
}

.hero-content {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.hero-content a {
  font-weight: 600;
  text-decoration: underline;
  color: #0077aa;
}

/* === OPTIONAL CTA BANNER === */
.cta-banner {
  background-color: #04b0eb;      /* Titan blue – original colour */
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}

.cta-banner a {
  color: #fff;
  text-decoration: underline;
}

.cta-banner a:hover {
  opacity: 0.85;
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin: 0 auto 1.5rem;
  max-width: 600px;
}

.cta-banner .button {
  background-color: #004861;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-banner .button:hover {
  background-color: #003648;
}

/* green variant – used at page bottom */
.cta-banner--green {
  background-color: #87c542;
}

.cta-banner--green a {
  color: #fff;
  text-decoration: underline;
}

.cta-banner--green a:hover {
  opacity: 0.85;
}


/* === BUTTON === */
.button {
  background-color: #005F80;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #004861;
}

/* === ABOUT & SERVICES SECTION === */
.about-services {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.about-services h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.about-services .intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #f5f7fa;
  border-radius: 8px;
  padding: 2rem;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  box-shadow: 0 0 0 1px #e0e0e0;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  height: 48px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #0085B5;
}

.card p {
  color: #444;
  font-size: 0.95rem;
}

/* === FOOTER === */
footer {
  background-color: #A7A9AC;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
}
/* === GREEN CTA STRIP === */
.cta-strip {
  background-color: #8CC63F;
  text-align: center;
  padding: 2rem 0;
}

.cta-strip .button {
  background-color: #005F80;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.cta-strip .button:hover {
  background-color: #004861;
}

/* === BLOG PREVIEW SECTION === */
.blog-preview {
  background-color: #f9fbfc;
  padding: 4rem 2rem;
  text-align: center;
}

.blog-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.blog-preview .intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
}

.blog-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  max-width: 320px;
  flex: 1;
  text-align: left;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0085B5;
}

.blog-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.read-more {
  color: #005F80;
  font-weight: 600;
}
/* === BLOG INDEX PAGE === */
.blog-list {
  background-color: #fff;
  padding: 4rem 2rem;
}

.blog-list .blog-card {
  background: #f5f7fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 1px #e0e0e0;
}

.blog-list .blog-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.blog-list .blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0085B5;
}

.blog-list .blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-list .blog-card h3 a:hover {
  text-decoration: underline;
}

.blog-list .blog-card p {
  font-size: 0.95rem;
  color: #444;
}
/* === BLOG POST TEMPLATE === */
.blog-post {
  background-color: #ffffff;
  padding: 4rem 2rem;
  line-height: 1.8;
}

.blog-post .container {
  max-width: 800px;
}

.blog-post .featured-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Ensure all images within blog posts scale with the content width */
.blog-post img {
  max-width: 100%;
  height: auto;
}

.blog-post h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #0085B5;
}

.blog-post ul {
  margin: 1rem 0 2rem 1.5rem;
}

.blog-post li {
  margin-bottom: 0.75rem;
}

.blog-post .button {
  margin-top: 2rem;
  display: inline-block;
}

/* Post date styling */
.blog-post .post-dates {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Comparison table styling */
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.comparison th,
.comparison td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

.comparison thead {
  background-color: #f0f0f0;
  font-weight: 600;
}
/* === NAVIGATION WRAPPER === */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
}

.nav-wrapper .logo {
  height: 60px;
  width: auto;
}

/* === NAVIGATION MENU === */
.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: #fff; /* white for improved contrast */
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .nav ul {
    flex-direction: row;
    justify-content: center;
  }
}
.services-list {
  list-style: none;
  padding-left: 0;
}

.services-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.services-list .icon {
  width: 32px;
  height: 32px;
  stroke: #00A651;
  flex-shrink: 0;
  margin-top: 4px;
}
/* Accessible focus ring */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #004aad;     /* matches Titan blue */
  outline-offset: 2px;
}
/* Accessible skip link: hidden off-screen until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: #004aad;     /* Titan blue */
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 1000;
}
/* ---- Skip link ---- */
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus,
.skip-link:focus-visible{
  left:0;top:0;width:auto;height:auto;
  background:#004aad;color:#fff;
  padding:8px 12px;border-radius:4px;z-index:1000;
}

/* ---- Accessible focus ring for all links/buttons ---- */
a:focus-visible, button:focus-visible{
  outline:3px solid #004aad;
  outline-offset:2px;
}
/* --- 404 page --------------------------- */
.notfound {
  text-align: center;
  padding: 6rem 1rem 8rem;   /* space above + below */
}

.notfound h1 {
  font-size: 2.25rem;        /* 36 px */
  margin-bottom: 1rem;
}

.notfound p {
  font-size: 1.125rem;       /* 18 px */
}

.notfound a {
  color: #004aad;
  text-decoration: underline;
}

/* optional subtle bg so the block looks intentional */
body.notfound-page {
  background-color: #f5f7fa;   /* same pale grey you use elsewhere */
}

/* === HOME PAGE HERO === */
.home-hero {
  background-color: #00B6EF;
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.home-hero .button {
  margin-top: 1.5rem;
}

/* === HOME SERVICES LIST === */
.home-services {
  background-color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.home-services ul {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.home-services li {
  margin-bottom: 1rem;
}


/* === New Homepage Design === */
.hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-props {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.value-prop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.value-prop::before {
  content: "\2713";
  background: #27ae60;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cta-buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #f39c12;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e67e22;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: white;
  color: #2c5aa0;
}

.trust-indicator {
  margin-top: 2rem;
  font-size: 1rem;
  opacity: 0.8;
}

.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid #2c5aa0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: #555;
}

.service-features li::before {
  content: "\2022";
  color: #f39c12;
  font-weight: bold;
  margin-right: 0.5rem;
}

.problems {
  padding: 80px 0;
  background: white;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.problem-solution {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.problem-icon {
  background: #e74c3c;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.solution-icon {
  background: #27ae60;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.problem-content h4 {
  color: #e74c3c;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.solution-content h4 {
  color: #27ae60;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.social-proof {
  padding: 80px 0;
  background: #2c5aa0;
  color: white;
  text-align: center;
}

.metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
}

.metric-number {
  font-size: 3rem;
  font-weight: bold;
  color: #f39c12;
  display: block;
}

.metric-label {
  font-size: 1rem;
  opacity: 0.9;
}

.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .value-props {
    flex-direction: column;
    gap: 1rem;
  }

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

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

  .metrics {
    gap: 2rem;
  }
}

/* ======== Fallback Mobile Navigation ======== */
@media (max-width: 768px) {
  .burger {
    display: none;
  }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
  }
}
/* ========== fixed header spacing adjustments ========== */
:root {
  --header-height: 40px;
}

html {
  scroll-padding-top: var(--header-height);
}

.hero {
  padding-block-start: calc(var(--header-height) + 1rem);
}

header.hero {
  padding: 2rem 0 1rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e5e5e5;
  }
}
/* --- Icon sizing fix --- */
.card img{
  width:64px;            /* or 70px if you prefer */
  height:64px;
  object-fit:contain;    /* keeps aspect ratio if future icons aren’t square */
}

/* Blog post image tweaks */
.blog-post img,
.blog-post figure img {
  max-width: 100%; /* never exceed container */
  height: auto;    /* preserve aspect */
  display: block;  /* kill extra whitespace */
}

.featured-image {
  width: 100%;     /* full-bleed hero */
  object-fit: cover;/* optional crop, keeps ratio */
}
