@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&display=swap');




:root {
  --navy: #021A5B;
  --light-grey: #eaeaea;
  --text: #333;
  --text-light: #ccc;
  --accent: #0A2D82; /* optional slightly lighter navy */
}




h1, h2, h3 {
  font-family: 'Lora', serif;
  letter-spacing: -0.01rem;
}




body {
  font-family: 'Instrument Sans', sans-serif;
  background-color: var(--light-grey);
  color: var(--text);
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

header {
  background-color: var(--navy);
  color: #fff;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 300; 
  letter-spacing: 0.01rem;
  font-family: 'Lora', serif;;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: var(--text-light);
  margin-right: 1rem;
  text-decoration: none;
}

nav a.active,
nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero {
  background-color: var(--navy);
  color: white;
  padding: 3rem 1rem;
  text-align: left; /* changed from center to left */
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 4.5rem;                    /* more elegant size */
  font-weight: 300;                   /* lighter = less blocky */
  line-height: 1.2;                   /* good vertical breathing room */
  letter-spacing: -0.015rem;          /* slight tightening */
  font-family: 'Lora', serif;;
  margin: 0;
  color: white;
}

.hero h3 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #ddd;
  margin-top: 1rem;
}

.page-header {
  background-color: var(--light-grey); /* matches rest of the site */
  padding: 2rem 0;
  text-align: center;
}

.page-header h2 {
  font-family: 'Lora', serif;;
  font-size: 2rem;
  font-weight: 400; 
  line-height: 1.2;
  letter-spacing: -0.02rem;
  margin: 0;
}

.main-content h1 {
  font-family: 'Lora', serif;;
  font-size: 2rem; /* Adjust as needed */
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.main-content {
  padding: 2rem 0;
  line-height: 1.6;
}

.main-content h3 {
  font-family: 'Lora', serif;;
  color: var(--navy);
  margin-top: 2rem;
}

.feature-box {
  background-color: var(--navy);
  color: white;
  padding: 2rem;
  text-align: center;
  font-size: 1.3rem;
  font-family: 'Lora', serif;;
  /* Remove margin to eliminate white gap */
  margin: 0;
}


footer {
  background-color: var(--light-grey);
  color: var(--text);
  text-align: center;
  padding: 2rem 0;
  margin-top: 0;
}



.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}


.footer-content p {
  margin: 0;
  line-height: 1;
}


form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1rem;
  font-weight: bold;
}

input, textarea {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--text-light);
  border-radius: 4px;
}

button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--navy);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background-color: var(--text);
}

.hidden {
  display: none;
}

.expertise-section {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #999;
  padding-bottom: 1rem;
}

.expertise-section h3 {
  min-width: 200px;
  font-family: 'Lora', serif;;
  font-size: 1.8rem; /* or 1.5rem if you want slightly smaller */
}




.illustration {
  display: block;
  width: 33%;          /* make each image 1/3 of container width */
  max-width: 250px;    /* optional: don’t let them get too big on large screens */
  margin: 1.5rem auto; /* auto left/right = centred */
}


.logo-area img {
  height: 80px;
}



.site-title {
  color: inherit;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: underline;
}



.footer-logo {
  height: 50px;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}






/* =========================
   Services page layout
   ========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-family: 'Lora', serif;
}

.service-card p {
  margin: 0;
  line-height: 1.6;
}

/* Service illustrations */

.service-img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

/* =========================
   Responsive behaviour
   ========================= */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================
   Side-by-side homepage sections
   ========================= */

.split-section {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 2.5rem 0;
}

/* Flip layout for alternating rows */
.split-section.reverse {
  flex-direction: row-reverse;
}

.split-media {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}

.split-text {
  flex: 1;
}

/* Image sizing for these sections */
.split-image {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Keep headings consistent and tidy */
.split-text h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* =========================
   Mobile: stack image above text
   ========================= */

@media (max-width: 900px) {
  .split-section,
  .split-section.reverse {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }

  .split-media {
    flex: none;
    width: 100%;
  }

  .split-image {
    max-width: 260px;
  }

  .split-section {
    margin: 2rem 0;
  }
}


