:root{
  --bg:#ffffff;
  --text:#333333;
  --muted:#6b7280;
  --brand:#0f766e;
  --brand-2:#0ea5a4;
  --border:#e5e7eb;
}
*{box-sizing:border-box}
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}
/* Header border */
header{border-bottom:1px solid var(--border)}
.brand{display:flex;flex-direction:column;align-items:flex-start}
.brand h1{margin:0;font-size:1.5rem}
.brand p{margin:0;color:var(--muted)}
nav{margin-top:.5rem;display:flex;flex-wrap:wrap;gap:.5rem}
nav a{color:var(--text);text-decoration:none;padding:.35rem .5rem;border-radius:.5rem}
nav a:hover{background:#f3f4f6}
.hero{padding:2rem 0}
.hero h2{font-size:2rem;margin:.2rem 0}
.hero p {
  color: var(--text);
  max-width: 65ch;
}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.card{border:1px solid var(--border);border-radius:1rem;padding:1rem}
.card h3{margin-top:0}
.card-header h3 {
  margin: 0;
}
.card-body {
  position: relative;
  padding-right: 6rem;  /* prevents text from sliding under the icon */
  padding-left: 0.5rem;
}

.card-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
}
.section{padding:1.25rem 0}

.section-icon {
  float: left;
  width: 6rem;  /* this is icon size */
  height: 6rem;
  margin: 0.25rem 1.25rem 0.5rem 0;
  display: block;
}

.cta{background:#f0fdfa;border:1px solid var(--border);border-radius:1rem;padding:1rem}
/* Footer border */
footer{border-top:1px solid var(--border);margin-top:2rem}
footer p{color:var(--muted);font-size:.9rem}
.btn{display:inline-block;background:var(--brand);color:#fff;text-decoration:none;padding:.5rem .8rem;border-radius:.5rem}
.btn:hover{background:var(--brand-2)}

.btn-wrap {
  margin-top: 2rem;
}

form{display:grid;gap:.75rem;max-width:560px}
label{font-weight:600}
input, textarea{
  width:100%;
  padding:.5rem;
  border:1px solid var(--border);
  border-radius:.5rem;
  font:inherit;
}
textarea{min-height:120px}
small.help{color:var(--muted)}

@media (max-width: 1024px) {
  .margin-figure {
    float: none !important;
    width: 100% !important;
    margin: 1rem 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

.narrow-text {
  max-width: 65ch;
}

html {
  background-color: #e0e0e0; /* slightly darker gray to see page edges */
}

/* Container holding text + photo */
.about-container {
  display: flex;
  flex-wrap: wrap;         /* Allows stacking on small screens */
  align-items: flex-start;     /* Vertically centers text and photo */
  margin: 0;       /* Center on page */
  padding: 0;         /* Padding from page edges */
  gap: 30px;               /* Space between text and photo */
}

/* Text block */
.about-text {
  flex: 1 1 300px;
}
.about-text p {
  max-width: 75ch;
}
/* Photo container (keeps image on right) */
.about-photo-container {
  flex: 0 0 250px;         /* Fixed width for image */
  text-align: center;      /* Centers image vertically if needed */
}

/* Photo itself */
.about-photo {
  width: 100%;             /* Fills container */
  max-width: 250px;        /* Keeps image consistent size */
  border-radius: 50%;      /* Rounded/circular */
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
}

h1 {
  color: #0F766E;
}

/* Consistent h2 position across all pages */
main h2 {
  margin-top: 0;
  padding-top: 0;
}

.section > h2 {
  margin-bottom: 0;
}

/* This is about the CTA buttons */
.cta-button {
  background-color: #0F766E; /* green */
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
  background-color: #0ea5a4;
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.indesign-logo {
  height: 2.5rem;
  width: auto;
}

.margin-figure {
  float: right;
  clear: right;
  width: 320px;
  margin: 0.75rem 0 1.5rem 1rem;  /* changed 0 to 0.75rem at the top */
}
.margin-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.margin-figure figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}