/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #0E2A4F;
  background-color: #D9D9D9;
}

/* Layout */
.site-header {
   display: flex;
  align-items: center;
  justify-content: space-between; /* keeps logo left, nav right */
  padding: 1rem 2rem;
  background: #1A4C8C;
  color: #ffffff;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
}
.logo-image {
  width: 300px;      /* adjust to your preferred size */
  height: auto;     /* keeps correct proportions */
  border-radius: 8px; /* optional – matches your placeholder style */
}
.company-text h1 {
  flex: 1;               /* makes the title take the middle space */
  text-align: center;    /* centres the title */
  font-size: 1.25rem;
}

.company-text p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 500;
  margin-left: 0;
}

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

.main-nav a.active {
  border-bottom: 2px solid #ffffff;
}

.content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Sections */
.intro {
  margin-bottom: 2rem;
}

.intro h2 {
  margin-bottom: 0.75rem;
}

.principles h3,
.iso-audits h3,
.services-table-section h3,
.callout h3,
.contact-details h3,
.enquiry-form-section h3 {
  margin-bottom: 0.75rem;
}

/* Principles grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.principle-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* ISO audits */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.audit-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Services table */
.services-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.services-table th,
.services-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e1e7ef;
  vertical-align: top;
}

.services-table th {
  background: #0b4f6c;
  color: #ffffff;
  text-align: left;
}

.services-table tr:last-child td {
  border-bottom: none;
}

/* Callout */
.callout {
  margin-top: 2rem;
  padding: 1rem;
  background: #e3f2fd;
  border-left: 4px solid #0b4f6c;
  border-radius: 4px;
}

/* Contact page */
.contact-details {
  margin-bottom: 2rem;
}

.social-list {
  list-style: none;
  margin-top: 0.5rem;
}

.social-list li {
  margin-bottom: 0.25rem;
}

/* Enquiry form */
.enquiry-form {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #cbd2e1;
  font: inherit;
}

.form-row button {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  background: #0b4f6c;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.form-row button:hover {
  background: #1377a5;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  background: #0b4f6c;
  color: #ffffff;
}
