:root {
  --primary: #005b96;
  --secondary: #003f6b;
  --text: #333;
  --background: #f9f9f9;
}

body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--primary);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 80px;
  max-width: 200px;
}

/* ===============================
   HOMEPAGE AUTHORITY SECTIONS
================================*/

/* Generic section styling */
.section {
  padding: 22px 20px;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.7;
  background: #fff;
}
@media (min-width: 1024px) {
  .section {
    padding: 18px 20px;
  }
}


.section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

/* Lists inside sections */
.section ul {
  margin: 15px 0 20px 20px;
  padding-left: 20px;
}

.section ul li {
  margin-bottom: 8px;
  list-style-type: disc;
}

/* Problem Summary section */
.problem-summary {
  background: #f0f0f0; /* light grey to distinguish the section */
  border-left: 5px solid #000; /* subtle authority-style indicator */
}

/* Our Approach section */
.our-approach {
  background: #fafafa; /* lighter neutral */
  border-left: 5px solid #444;
}

/* What We Supply section */
.what-we-supply {
  background: #fff;
  border-left: 5px solid #999;
}

/* ===============================
   WHO WE WORK WITH
================================*/

.who-we-work-with {
  background: #fafafa;           /* soft neutral contrast */
  border-left: 5px solid #005b96; /* brand-colour authority line */
}

.who-we-work-with ul {
  margin-left: 25px;
}

.who-we-work-with p {
  max-width: 900px;
}

/* ===============================
   ETHOS / HOW WE WORK
================================*/

.our-ethos {
  background: #f5faff;              /* very light blue for a softer feel */
  border-left: 5px solid #003f6b;   /* strong, calm brand blue */
}

.our-ethos ul {
  margin-left: 25px;
}

.our-ethos p {
  max-width: 900px;
}


/* Ensure consistent top margin on first h2 in sections */
section h2:first-of-type {
  margin-top: 20px;
}

/* ===============================
   HERO AREA
================================*/

.hero {
  padding: 4rem 1rem;
  text-align: center;
  background: #fff;
}

/* Desktop / default hero heading */
.hero h1 {
  font-size: 2rem;      /* slightly smaller than “big banner” */
  line-height: 1.25;
  margin-bottom: 12px;  /* tighter spacing under heading */
}

/* Desktop / default hero text */
.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 6px;      /* small gap between the two lines */
  margin-bottom: 6px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary button */
.btn-primary {
  display: inline-block;
  background: var(--primary); /* brand blue */
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;          /* closer to text */
  font-weight: bold;
  border: none;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--secondary); /* darker blue on hover */
}

/* ===============================
   NAVIGATION
================================*/

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ===============================
   TEXT UTILITIES
================================*/

.indent {
  text-indent: 2em;
}

.block-indent {
  margin-left: 2em;
}

/* ===============================
   SOCIAL LINKS
================================*/

.social-links {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 10px 0;
}

.social-links li {
  display: inline-flex;
  align-items: center;
}

.social-links a {
  text-decoration: none;
  color: #003366; /* Your brand colour */
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: #0059b3; /* Hover color */
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* ===============================
   TESTIMONIALS
================================*/

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two-column layout */
  gap: 20px; /* space between cards */
  margin: 30px auto;
  max-width: 1200px;
}

.testimonial {
  background: #f9f9f9;
  border-left: 4px solid #004080;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial p {
  margin: 0 0 8px;
  font-style: italic;
  line-height: 1.4;
}

.testimonial .author {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  font-style: normal;
  color: #333;
  text-align: right;
  font-size: 0.9em;
}

/* Testimonials on mobile */
@media (max-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}

/* ===============================
   ABOUT SECTION
================================*/

.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 30px 40px;
}

.about-content p {
  margin-bottom: 0px;
  line-height: 1.6;
}

.about-section h2 {
  margin-bottom: 0px; /* tighten space to body text */
}

/* Call-to-action block */
.about-cta {
  margin-top: 0px;
  padding: 15px 15px;
  border: 2px solid #004080; /* Dark blue border all around */
  background-color: #f5faff; /* very light blue background */
  border-left: 4px solid #005b96; /* accent stripe in theme colour */
  text-align: center;
  max-width: 700px;            /* Prevents it being too wide */
  margin: 15px auto;           /* Centres horizontally, adds top/bottom spacing */
  border-radius: 6px;
}

/* ===============================
   MAIN CONTENT CONTAINER
================================*/

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* ===============================
   CONTACT FORM
================================*/

form {
  max-width: 500px;   /* narrower form for desktop */
  margin: 0;          /* align left instead of centred */
}

form label {
  display: block;
  margin-bottom: 4px; /* space between label and field */
  font-weight: bold;
  color: var(--text);
  font-size: 0.95rem;
}

form input,
form textarea {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;   /* tighter gap between fields */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

form textarea {
  resize: vertical;
  min-height: 70px;     /* slightly smaller default height */
}

form button {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 4px;
}

form button:hover {
  background: var(--secondary);
}

/* Mobile adjustment for forms */
@media (max-width: 768px) {
  form {
    max-width: 100%;   /* full width on smaller screens */
    margin: 0 auto;
    padding: 0 10px;   /* add breathing space on edges */
  }
}

/* ===============================
   PRIVACY POLICY BLOCK
================================*/

.privacy-policy {
  margin-top: 30px;
  margin-left: 40px;         /* from your original */
  padding: 20px;
  background: #f4f7fb;
  border-left: 4px solid var(--primary);
  max-width: 800px;
  line-height: 1.7;
}

/* ===============================
   HEADINGS
================================*/

h2, h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: var(--primary);
}

/* ===============================
   FOOTER
================================*/

footer {
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--primary);
  font-size: 0.9rem;
  color: white;
}

/* ===============================
   NAV ON MOBILE
================================*/

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===============================
   MOBILE HERO OPTIMISATION
================================*/

@media (max-width: 768px) {

  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 6px;
    margin-bottom: 6px;
    max-width: 100%;
  }

  .hero .btn-primary {
    margin-top: 12px;
    padding: 10px 20px;
    font-size: 1rem;
  }
}
