: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;
}

section h2:first-of-type {
  margin-top: 20px;  /* consistent top margin for all section headings */
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 4rem 1rem;
  text-align: center;
  background: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.indent {
  text-indent: 2em;
}

.block-indent {
  margin-left: 2em;
}

.privacy-policy {
  margin-left: 40px; /* Adjust value as needed */
}

.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-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.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;
}

@media (max-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}

/* About Us 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;
}

.social-links a:hover {
  color: #0059b3; /* Hover color */
}

/* Container for all page content */
.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 styling */

/* Contact form styles */
form {
  max-width: 500px;   /* narrower form for desktop */
  margin: 0;          /* align left instead of centered */
}

form label {
  display: block;
  margin-bottom: 0;     /* no gap between label and field */
  padding-bottom: 0px;  /* tiny visual breathing space */
  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 */
@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;
  padding: 20px;
  background: #f4f7fb;
  border-left: 4px solid var(--primary);
  max-width: 800px;
  line-height: 1.7;
}

form label {
  display: block;
  margin-bottom: 4px; /* space between label and field */
  font-weight: bold;
}

/* Headings */
h2, h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: var(--primary);
}



footer {
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--primary);
  font-size: 0.9rem;
  color: white;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

