body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Top & bottom bars */
header, footer {
  height: 50px;
  width: 100%;
  background-color: rgb(100, 0, 0);
}

/* Branding */
.branding {
  padding: 10px 20px;
  text-align: left;
  color: rgb(100, 0, 0);
  line-height: 1.1;
}

.brand-line1 {
  display: flex;
  align-items: baseline;
}

.ems { font-size: 48px; }

.lifeline {
  font-family: "Times New Roman", serif;
  font-size: 52px;
  font-style: italic;
  margin-left: 2px;
}

.tagline {
  font-size: 23px;
  margin-top: 2px;
}

/* Layout */
main {
  padding: 20px;
  text-align: center;
}

.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 5px;
}

.section-text {
  font-size: 18px;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.5;
  padding: 0 10px;
}

/* Width variants */
.section-text.medium {
  max-width: 900px;
}

.section-text.narrow {
  max-width: 700px;
}

/* Alignment */
.section-text.left {
  text-align: left;
}

/* About section: narrower for readability (~650px) and centered */
.section-text.left-offset {
  max-width: 650px;       /* consistent column width */
  margin: 0 auto;          /* center horizontally */
  text-align: left;        /* left-aligned text */
  line-height: 1.6;        /* readable line height */
}

.section-text p {
  margin-bottom: 15px;
}

.neat-line {
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 2px;
  background-color: #888;
  margin: 10px auto 15px auto;
  border: none;
}

/* Images */
.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.image-item {
  text-align: center;
  width: 300px;    /* fixed width for all images */
  height: 200px;   /* fixed height for all images */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption {
  font-size: 16px;
  margin-top: 5px;
}

/* Links */
a {
  color: #0a3d62;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/* Footer text */
.footer-text {
  display: flex;             /* flexbox ensures centering */
  justify-content: center;   /* center horizontally */
  align-items: center;       /* vertical alignment if needed */
  width: 100%;               /* full width */
  padding: 10px 0;
  font-size: 14px;           /* match index */
  box-sizing: border-box;
}

/* PayPal-style Button (for /checkout) */
.paypal-button {
  display: inline-block;
  background-color: #f5f0e6; /* light beige */
  color: #003087;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid #c2b9a3;
  cursor: pointer;
  margin-top: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.paypal-button:hover {
  background-color: #e9e2d2;
}

/* PayPal logo styling */
.paypal-logo {
  font-weight: bold;
  margin-left: 5px;
}

.pp-dark {
  color: #003087; /* dark PayPal blue */
}

.pp-light {
  color: #009cde; /* light PayPal blue */
}