/* =======================================================
   GLOBAL RESET / BASE
   ======================================================= */
html,
body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      font-family: Arial, Helvetica, sans-serif;
      background-color: lightgray;
      color: #222222;
}

.pcent {
      font-style: italic;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 15px;
      color: gray;
}

/* =======================================================
   WRAPPER
   ======================================================= */
.wrapper {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 18px;
}

/* =======================================================
   HEADER / HERO
   ======================================================= */
header {
      background-color: #0c4b33;
      color: #ffffff;
      padding: 24px 0;
      width: 100%;
      box-sizing: border-box;
}

.hero {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
}

.hero-text {
      flex: 1 1 360px;
      padding: 12px 12px 12px 0;
}

.hero-text h1 {
      font-size: 32px;
      margin: 0 0 12px 0;
      line-height: 1.2;
}

.hero-text h2 {
      font-size: 20px;
      margin: 0 0 18px 0;
      font-weight: normal;
}

.hero-buttons a {
      display: inline-block;
      margin-right: 12px;
      margin-bottom: 8px;
      padding: 10px 18px;
      border-radius: 4px;
      text-decoration: none;
      font-size: 15px;
}

/* Buttons reused throughout site */
.btn-primary {
      background-color: #ffffff;
      color: #0c4b33;
      font-weight: bold;
      border: 1px solid #ffffff;
      cursor: pointer;
}

.btn-outline {
      background-color: transparent;
      color: #ffffff;
      border: 1px solid #ffffff;
      cursor: pointer;
}

.btn-primary:hover,
.btn-outline:hover {
      opacity: 0.9;
}

/* HERO IMAGE */
.hero-image {
      flex: 1 1 320px;
      text-align: center;
      padding: 12px;
}

.hero-image img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* =======================================================
   MAIN SECTIONS
   ======================================================= */
main {
      padding: 24px 0 40px 0;
}

section {
      margin-bottom: 30px;
      background-color: #ffffff;
      border-radius: 6px;
      padding: 18px 18px 22px 18px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

section h3 {
      margin: 0 0 10px 0;
      font-size: 22px;
      color: #0c4b33;
}

/* =======================================================
   WHY-IT-MATTERS – WIDE TEXT + VERTICAL-CENTERED IMAGE
   ======================================================= */
#why-it-matters .two-column {
      align-items: stretch;   /* ensure equal height columns */
}

#why-it-matters .col:first-child {
      flex: 1.6 1 0;          /* wider text column */
}

#why-it-matters .col:last-child {
      flex: 0.8 1 0;          /* narrower image column */
      display: flex;
      flex-direction: column;
      justify-content: center; /* vertical centering */
      align-items: center;
      text-align: center;
}

#why-it-matters .photo-row img {
      max-width: 90%;
      height: auto;
}

/* Generic photo layout */
.photo-row {
      display: block;
      margin-top: 0;
      text-align: center;
}

.photo-caption {
      font-size: 13px;
      color: #555555;
      margin-top: 4px;
      text-align: center;
}

/* Callout box */
.callout {
      background-color: #ecfef4;
      border-left: 5px solid #0c4b33;
      padding: 12px 14px;
      margin-top: 10px;
      border-radius: 4px;
}

/* =======================================================
   TWO-COLUMN LAYOUT (GENERAL)
   ======================================================= */
.two-column {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
}

.col {
      flex: 1 1 260px;
}

/* =======================================================
   COMPARE SECTION (POSTERS + VIEW TEST BUTTONS)
   ======================================================= */
.btn-test {
      background-color: #cfcfcf;
      width: 120px;
      color: black;
      font-size: 16px;
      padding: 3px;
      font-weight: bold;
      border: 1px solid black;
      border-radius: 4px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
}

.btn-test:hover {
      background-color: #ffffff;
}

.video-grid {
      align-items: flex-start;
}

.video-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      text-align: center;
}

/* Poster image shown on index.cfm */
.bounce-poster {
      display: block;
      width: 90%;
      max-width: 500px;
      margin: 0 auto 8px auto;
      border-radius: 4px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.video-caption {
      text-align: center;
      font-size: 14px;
      color: #333333;
      margin-top: 4px;
      margin-bottom: 6px;
      font-weight: bold;
}

/* Ensure the buttons under the posters look nice */
.video-wrapper form {
      margin: 0;
}

/* =======================================================
   CONTACT + FOOTER
   ======================================================= */
#contact {
      text-align: center;
      margin-bottom:5px;
}

#contact p {
      margin: 6px 0;
      margin-bottom:5px;
}

.footer-copy {
      text-align: center;
      margin-bottom: 40px;
}

.footer-text {
      margin: 6px 0;
      font-size: 16px;
      color: #333333;
}

.footer-line {
      width: 400px;
      margin: 0 auto;
      border-bottom: 1px solid #999999;
}

/* =======================================================
   MOBILE (IPHONE / SMALL SCREENS)
   ======================================================= */

@media (max-width: 700px) {

      body {
            font-size: 15px;
      }

      /* MAIN CONTENT WRAPPER (white sections)
         - Slightly narrower than full width
         - So gray shows on both sides
      */
      .wrapper {
            width: 94%;
            max-width: 94%;
            margin: 0 auto;
            padding: 0;              /* let sections handle inner padding */
      }

      /* ============================================
         HEADER / HERO AREA (green band)
         Only the header uses a full-width wrapper
         with its own padding.
      ============================================ */
      header {
            background-color: #0c4b33;
            color: #fff;
            padding-top: 14px;
            padding-bottom: 4px;     /* tighten green height */
            margin: 0;
      }

      /* This wrapper is ONLY inside header.
         It does NOT affect the white sections. */
      header .wrapper {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding-left: 16px;
            padding-right: 10px;     
            box-sizing: border-box;
      }

      .hero {
            flex-direction: column;
            gap: 4px;
            margin: 0;
      }

      .hero-text {
	      padding: 4px 0 0 0;
	      text-align: left;
	      margin: 0 10px 0 0;   
	      box-sizing: border-box;
	}

      .hero-text h1 {
            font-size: 26px;
            text-align: left;
            margin-bottom: 6px;
      }

      .hero-text h2 {
            font-size: 18px;
            text-align: left;
            margin-bottom: 8px;
      }

      /* Reduce last paragraph space to shrink green area */
      .hero-text p:last-of-type {
            margin-bottom: 2px;
      }

      .hero-image {
            padding: 0;
            margin: 4px 0 0 0;
      }

      .hero-image img {
            max-width: 80%;
            display: block;
            margin: 0 auto;
      }

      /* FIRST WHITE SECTION RIGHT UNDER GREEN */
      #why-it-matters {
            margin-top: 8px;   /* small gap between green and first white card */
      }

      /* White “card” sections keep their padding
         so text doesn’t touch the edges
      */
      section {
            padding: 16px 18px 20px 18px;
            box-sizing: border-box;
      }

      /* Stack two-column sections vertically */
      .two-column {
            flex-direction: column;
      }

      /* Posters on index (the two images above View Test buttons) */
      .bounce-poster {
            width: 100%;
            height: auto;
            border-radius: 6px;
            display: block;
            margin: 0 auto;
      }

      .video-wrapper form {
            text-align: center;
      }

      .footer-line {
      width: 95%;
      margin: 0 auto;
      border-bottom: 1px solid #999999;
}
}

