:root {
  --navy: #102a43;
  --blue: #eaf2f8;
  --accent: #d66d43;
  --ink: #243b53;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px Arial,
    sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
header,
footer,
section {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
a {
  color: var(--navy);
}
.brand {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}
.hero {
  max-width: none;
  background: var(--blue);
  padding: 90px max(24px, calc((100% - 1060px) / 2));
}
.hero h1 {
  font-size: 50px;
  line-height: 1.1;
  max-width: 800px;
}
.hero > p {
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 1px;
}
.button {
  display: inline-block;
  margin: 15px 8px 0 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.secondary {
  background: var(--navy);
}
section {
  padding-top: 55px;
  padding-bottom: 55px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid article {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.form-page {
  max-width: 760px;
}
.form-page form {
  padding: 28px;
  background: #f7fafc;
  border-radius: 8px;
}
.form-page input,
.form-page select,
.form-page textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bcccdc;
  border-radius: 5px;
}
.message {
  max-width: 1120px;
  margin: 14px auto;
  padding: 15px;
  background: #d9f2e6;
  border-left: 4px solid #15803d;
}
footer {
  border-top: 1px solid #d9e2ec;
  color: #627d98;
}
@media (max-width: 700px) {
  header {
    display: block;
  }
  nav {
    margin-top: 12px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   FOUNDER SECTION
========================= */

/* ============================================================
   MEET THE FOUNDER
============================================================ */

.founder-section {
    text-align: center;
}


/* ------------------------------------------------------------
   FOUNDER CARD
------------------------------------------------------------ */

.founder-card {
    max-width: 1060px;
    margin: 30px auto;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 35px;
    text-align: left;
    border-radius: 14px;
    box-sizing: border-box;
}


/* ------------------------------------------------------------
   FOUNDER IMAGE
------------------------------------------------------------ */

.founder-image {
    flex: 0 0 220px;
    text-align: center;
}

.founder-image img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}


/* ------------------------------------------------------------
   FOUNDER INFORMATION
------------------------------------------------------------ */

.founder-info {
    flex: 1;
}

.founder-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 28px;
}

.founder-role {
    font-weight: bold;
    margin-bottom: 8px;
}

.founder-info p {
    line-height: 1.7;
}


/* ------------------------------------------------------------
   FOUNDER TITLE
------------------------------------------------------------ */

.founder-title {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}


/* ============================================================
   RESPONSIVE FOUNDER SECTION
============================================================ */

@media (max-width: 700px) {

    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .founder-image {
        flex: none;
    }

    .founder-image img {
        width: 180px;
        height: 180px;
    }

}


/* ============================================================
   GRID
============================================================ */

.grid {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   BUTTONS
============================================================ */

.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
    transition: 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.button:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}