@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700);

/* =============================================================================
   RESET
   ============================================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr,
th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body        { line-height: 1; }
ol, ul      { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table       { border-collapse: collapse; border-spacing: 0; }
body        { -webkit-text-size-adjust: none; }


/* =============================================================================
   ICON BURST — Scroll-Driven Reveal
   -----------------------------------------------------------------------------
   Icons reveal one-by-one as the user scrolls into the section and
   disappear again when scrolling back up.
   - CSS transitions (not keyframes) so they play both forwards and backwards
   - No external libraries — fully CSP safe
   - Honors prefers-reduced-motion
   ============================================================================= */

/* Visually hidden heading (a11y) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Overlay filling .phone-burst-wrapper */
.icon-burst {
  --size: 85px;
  position: absolute;
  inset: 0;
  padding: 0;
  pointer-events: none;
}

/* Invisible 200x200 anchor — top/left sets origin over the phone screen.
   Width/height must stay 200px so translate(-50%,-50%) offsets correctly. */
.burst {
  position: absolute;
  top: 33%;
  left: 19%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
}

/* Base dot — hidden, collapsed at center origin */
.dot {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: calc(var(--size) / -2);
  margin-left: calc(var(--size) / -2);
  width: var(--size);
  height: var(--size);
  background: transparent;
  display: grid;
  place-items: center;
  --x: 0px;
  --y: 0px;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.4);
  transition: opacity 600ms cubic-bezier(.2, .8, .2, 1),
              transform 600ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Visible — flies out to its --x / --y position */
.dot.is-visible {
  opacity: 1;
  transform: translate3d(var(--x), var(--y), 0) scale(1);
  transition: opacity 600ms cubic-bezier(.2, .8, .2, 1),
              transform 600ms cubic-bezier(.2, .8, .2, 1);
}

/* Exiting — snaps back faster than it appeared */
.dot.is-hidden {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.4);
  transition: opacity 300ms ease, transform 300ms ease;
}

/* Icon fills the full --size */
.icon-burst .dot .icon img,
.icon-burst .dot .icon svg {
  width: var(--size) !important;
  height: var(--size) !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
}

/* Reduced motion: skip animation, show all dots at final position */
@media (prefers-reduced-motion: reduce) {
  .dot,
  .dot.is-hidden {
    opacity: 1;
    transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(1);
    transition: none;
  }
}

/* Older-browser fallback — show dots statically if JS adds this class */
.no-intersectionobserver .dot {
  opacity: 1;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(1);
}


/* =============================================================================
   BASE STYLES
   ============================================================================= */
mark { background-color: transparent; color: inherit; }
input::-moz-focus-inner { border: 0; padding: 0; }
input, select, textarea { -moz-appearance: none; -webkit-appearance: none; appearance: none; }

html { box-sizing: border-box; scroll-behavior: smooth; }
section, footer { scroll-margin-top: 3em; }
*, *:before, *:after { box-sizing: inherit; }

body { background: #365c4c; }
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
  animation: none !important;
  transition: none !important;
}
body, input, select, textarea {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px; font-weight: 400; line-height: 26px;
}

a {
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: dotted 1px; color: inherit; text-decoration: none;
}
a:hover { border-bottom-color: transparent; }

strong, b { font-weight: 700; }
em, i      { font-style: italic; }
p          { margin: 0 0 26px 0; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; text-decoration: none; }

h2 { font-size: 50px; line-height: 60px; font-weight: 400; }
h3 { font-size: 20px; line-height: 26px; font-weight: 700; margin: 0 0 5px 0; }
h3.feature-titles { font-size: 22px; line-height: 20px; font-weight: 700; margin: 0 0 0 10px; }
h4 { font-size: 26px; line-height: 36px; font-weight: 700; text-transform: uppercase; }
h5 { font-size: 0.8em; line-height: 1.5em; }
h6 { font-size: 0.7em; line-height: 1.5em; }

sub, sup { font-size: 65%; line-height: 0; position: relative; vertical-align: baseline; font-weight: 400; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

hr { border: none; border-top: 1px solid #009542; margin: 15px 0; height: 0; }

/* Utility colors */
.white                { color: white; }
.primaryblue          { color: #007cbf; }
.unity-dark-green     { color: #009542; }
.unity-tertiary-green { color: #365c4c; }
.center               { text-align: center; }
.align-left           { text-align: left; }
.align-center         { text-align: center; }
.align-right          { text-align: right; }

/* Lists */
ol { list-style: decimal; margin: 0 0 2em 0; padding-left: 1.25em; }
ol li { padding-left: 0.25em; }
ul { list-style: disc; margin: 0 0 2em 0; padding-left: 1em; }
ul li { padding-left: 0.5em; }
ul.alt { list-style: none; padding-left: 0; }
ul.alt li { border-top: solid 1px #fff; padding: 0.5em 0; }
ul.alt li:first-child { border-top: 0; padding-top: 0; }


/* =============================================================================
   FEATURES GRID
   ============================================================================= */
.features {
  display: flex; flex-wrap: wrap; justify-content: center;
  list-style: none; padding: 0; width: 100%;
  column-gap: 10px; row-gap: 10px;
}
.features li {
  padding: 40px; display: flex;
  align-items: center; justify-content: left; text-align: left; width: 48%;
}
.features li.callout { padding: 10px; text-align: left; width: 48%; }
.features-callout    { font-size: 18px; line-height: 25px; }

.features li:nth-child(1) { background: linear-gradient(310deg, rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 12px 0 0 45px; }
.features li:nth-child(2) { background: linear-gradient(50deg,  rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 0 45px 12px 0; }
.features li:nth-child(3) { background: linear-gradient(310deg, rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 12px 0 0 45px; }
.features li:nth-child(4) { background: linear-gradient(50deg,  rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 0 45px 12px 0; }
.features li:nth-child(5) { background: linear-gradient(310deg, rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 12px 0 0 45px; }
.features li:nth-child(6) { background: linear-gradient(50deg,  rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 0 45px 12px 0; }
.features li:nth-child(7) { background: linear-gradient(310deg, rgba(0,149,66,1) 0%, rgba(54,92,76,1) 100%); border-radius: 12px 0 0 45px; }
.features li:nth-child(8) {
  background-image: url("../assets/images/unity-woman-at-computer.jpg");
  background-repeat: no-repeat; background-size: cover; border-radius: 0 45px 12px 0;
}


/* =============================================================================
   PAGE WRAPPER & MENU
   ============================================================================= */
#page-wrapper {
  transition: opacity 0.5s ease; opacity: 1; padding-top: 3em;
}
#page-wrapper:before {
  background: rgba(0,0,0,0); content: ''; display: none;
  height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 10001;
}

#menu {
  transform: translateX(20em);
  transition: transform 0.5s ease;
  -webkit-overflow-scrolling: touch;
  background: #009542; color: #ffffff;
  height: 100%; max-width: 80%; overflow-y: auto;
  padding: 3em 2em; position: fixed; right: 0; top: 0; width: 20em; z-index: 10002;
}
#menu ul { list-style: none; padding: 0; }
#menu ul > li { border-top: solid 1px #8cc740; margin: 0.5em 0 0 0; padding: 0.5em 0 0 0; }
#menu ul > li:first-child { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
#menu ul > li > a {
  border: 0; color: inherit; display: block; font-size: 0.8em;
  letter-spacing: 0.225em; outline: 0; text-decoration: none; text-transform: uppercase;
  border-radius: 4px; padding: 0.4em 0.75em; margin: 0 -0.75em;
  transition: background-color 0.2s ease;
}
#menu ul > li > a:hover  { background-color: rgba(255,255,255,0.15); }
#menu ul > li > a.active { background-color: rgba(255,255,255,0.25); border-left: 3px solid #8cc740; font-weight: 600; }
#menu .close { border: 0; cursor: pointer; display: block; height: 3em; position: absolute; right: 0; top: 0; width: 3em; background: none; }

body.is-menu-visible #page-wrapper       { opacity: 0.35; }
body.is-menu-visible #page-wrapper:before{ display: block; }
body.is-menu-visible #menu               { transform: translateX(0); }


/* =============================================================================
   HEADER
   ============================================================================= */
#header {
  transition: background-color 0.2s ease;
  background: #365c4c; height: 3em; left: 0; line-height: 3em;
  position: fixed; top: 0; width: 100%; z-index: 10003;
}
#header h1 {
  transition: opacity 0.2s ease;
  height: inherit; left: 1.25em; line-height: inherit; position: absolute; top: 5px;
}
#header h1 a  { border: 0; display: block; height: inherit; line-height: inherit; }
#header nav   { height: 3em; line-height: 3em; position: absolute; right: 0; top: 0; }
#header nav > ul { list-style: none; margin: 0; padding: 0; white-space: nowrap; }
#header nav > ul > li { display: inline-block; padding: 0; }
#header nav > ul > li > a {
  border: 0; color: #ffffff; display: block; font-size: 0.8em;
  letter-spacing: 0.225em; padding: 0 1.5em; text-transform: uppercase;
}
#header nav > ul > li > a.menuToggle {
  outline: 0; position: relative;
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0 40px 0 0;
}
#header nav > ul > li:first-child { margin-left: 0; }
#header.alt                       { background: transparent; }
#header.alt h1                    { pointer-events: none; opacity: 0; }
#header.alt nav > ul > li > a     { color: #000000; }

/* Hamburger */
.hamburger-toggle {
  position: fixed; top: 0; right: 0; width: 44px; height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  z-index: 10010; cursor: pointer; border-bottom: none; text-decoration: none;
}
.hamburger-toggle .bar {
  display: block; width: 22px; height: 2px; background-color: #ffffff;
  border-radius: 2px; transform-origin: 50% 50%;
  transition: transform 0.4s ease 0.15s, opacity 0.3s ease 0.15s, background-color 0.2s ease;
}
body.header-is-alt .hamburger-toggle .bar                  { background-color: #000000; }
body.is-menu-visible .hamburger-toggle .bar:nth-child(1)   { transform: translateY(7px) rotate(45deg); }
body.is-menu-visible .hamburger-toggle .bar:nth-child(2)   { opacity: 0; transform: scaleX(0); }
body.is-menu-visible .hamburger-toggle .bar:nth-child(3)   { transform: translateY(-7px) rotate(-45deg); }
body.is-menu-visible .hamburger-toggle .bar                { background-color: #ffffff; }


/* =============================================================================
   BANNER
   ============================================================================= */
#banner {
  display: flex; flex-direction: column; justify-content: center;
  cursor: default; height: 100vh; min-height: 35em;
  overflow: hidden; position: relative; text-align: center; background-color: #ffffff;
}
#banner .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#banner .inner, #banner .more { position: relative; z-index: 1; }
#banner h2 {
  transform: scale(1); transition: transform 0.5s ease, opacity 0.5s ease;
  display: inline-block; font-size: 1.75em; opacity: 1;
  padding: 0.35em 1em; position: relative; z-index: 1;
}
#banner h2:before, #banner h2:after {
  transition: width 0.85s ease 0.25s;
  background: #fff; content: ''; display: block; height: 2px; position: absolute; width: 100%;
}
#banner h2:before { top: 0; left: 0; }
#banner h2:after  { bottom: 0; right: 0; }
#banner p         { letter-spacing: 0.225em; text-transform: uppercase; }
#banner p a       { color: inherit; }
#banner .more {
  transition: transform 0.75s ease 2.5s, opacity 0.75s ease 2.5s;
  transform: translateY(0); border: none; bottom: 0;
  font-size: 0.8em; height: 8.5em; left: 50%; letter-spacing: 0.225em;
  margin-left: -8.5em; opacity: 1; outline: 0; padding-left: 0.225em;
  position: absolute; text-align: center; text-transform: uppercase; width: 16em; z-index: 1;
}
#banner .more::after {
  background-image: url("../assets/icons/arrow-black.svg");
  background-position: center; background-repeat: no-repeat; background-size: contain;
  bottom: 4em; content: ''; display: block; height: 1.5em;
  left: 50%; margin: 0 0 0 -0.75em; position: absolute; width: 1.5em;
}
body.is-preload #banner h2                         { transform: scale(0.95); opacity: 0; }
body.is-preload #banner h2:before,
body.is-preload #banner h2:after                   { width: 0; }
body.is-preload #banner .more                      { transform: translateY(8.5em); opacity: 0; }


/* =============================================================================
   SECTIONS
   ============================================================================= */
.section-one {
  display: flex; align-items: center; justify-content: center; padding: 0 0 0 25px;
}
.section-two {
  display: flex; gap: 50px; justify-content: space-around;
  background-color: white; padding: 50px;
}
.section-three { background-color: #f3f3f4; padding: 50px; }
.text-item     { max-width: 900px; width: 100%; }

.unity-shape-left  { width: 500px; height: 300px; display: block; border-radius: 12px 0 0 45px; background-color: violet; }
.unity-shape-right { width: 500px; height: 300px; border-radius: 0 45px 12px 0; background-color: cornflowerblue; }
.shape-image-001   { background-image: url("../assets/images/unity-asian-family.jpg"); background-size: cover; }
.shape-image-002   { background-image: url("../assets/images/unity-woman-computer.jpg"); background-size: cover; }

.unity-phone-text { width: 400px; margin: 0 auto; }
.unity-phone {
  background-color: #8cc740; height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.phone-burst-wrapper {
  position: relative; margin-left: auto; margin-right: -10%;
  height: 100%; display: flex; align-items: center;
}
.phone-img { height: 100%; width: auto; display: block; object-fit: contain; }


/* =============================================================================
   WRAPPER
   ============================================================================= */
.wrapper        { padding: 6em 0 4em 0; }
.wrapper > .inner { width: 60em; margin: 0 auto; }
.wrapper.alt    { padding: 0; }
.wrapper.style2 { background-color: #365c4c; }
.wrapper.style3 { background-color: #f3f3f4; }


/* =============================================================================
   VIDEO
   ============================================================================= */
.video-responsive-wrapper {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden;
}
.video-responsive-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; z-index: 5;
}


/* =============================================================================
   FOOTER
   ============================================================================= */
#footer { padding: 50px; background-color: #009542 !important; text-align: center; }
#footer .icons         { display: none; font-size: 1.25em; }
#footer .icons a       { color: #ffffff; }
#footer .icons a:hover { color: #fff; }
#footer .copyright     { padding: 0; margin: 0 auto; max-width: 950px; }
#footer .copyright p   { color: white; font-size: 12px; line-height: 16px; margin: 0 0 10px 0; }
#footer .copyright li  {
  border-left: solid 1px rgba(255,255,255,0.5);
  display: inline-block; line-height: 1em; margin-left: 1em; padding-left: 1em;
}
#footer .copyright li:first-child { border-left: 0; margin-left: 0; padding-left: 0; }
#footer .copyright li a       { color: inherit; }
#footer .copyright li a:hover { color: #fff; }

body.landing #page-wrapper {
  width: 100%; background-color: #ffffff; position: relative; overflow: hidden; padding-top: 0;
}
body.landing #page-wrapper::before,
body.landing #page-wrapper::after { content: none; }
body.landing #footer { background-color: #009542; }


/* =============================================================================
   MEDIA QUERIES
   ============================================================================= */

@media screen and (max-width: 810px) {
  .inner img           { height: 50px; }   /* shrinks site logo */
  .unity-phone         { height: 300px; }
  .burst               { transform: translate(-50%, -50%) scale(0.55); }
  .section-two         { flex-direction: column; padding: 50px 25px 0 25px; }
  .lower-part          { padding: 0 25px 50px 25px !important; }
  .unity-shape-left,
  .unity-shape-right   { display: none; }
  #footer              { padding: 50px 25px; }
}

@media screen and (max-width: 755px) {
  .features li {
    padding: 20px;
    background-color: transparent !important;
    width: 100%;
  }
  .features li:first-child { border-top: 0; }
  .features li:nth-child(1),
  .features li:nth-child(2),
  .features li:nth-child(3),
  .features li:nth-child(4),
  .features li:nth-child(5),
  .features li:nth-child(6),
  .features li:nth-child(7) { border-radius: 12px 0 0 45px; }
  .features li.callout      { padding: 50px; }
  .features li:nth-child(8) {
    width: 100%;
    background-position: 50%;
    border-radius: 12px 0 0 45px;
  }
}

@media screen and (max-width: 1280px) {
  .phone-burst-wrapper { margin-right: -20%; }
  .wrapper > .inner    { width: 90%; }
}

@media screen and (max-width: 1200px) {
  .unity-phone { height: 400px; }
  .burst       { transform: translate(-50%, -50%) scale(0.75); }
  header h2    { font-size: 40px; line-height: 50px; margin: 0 0 0.5em 0; }
}

@media screen and (max-width: 980px) {
  .phone-burst-wrapper     { margin-right: -20%; }
  body.landing #footer     { background-color: #365c4c; }
  .section-two             { flex-direction: column; }
  .unity-shape-left,
  .unity-shape-right       { width: 100%; }
  header h2               { font-size: 35px; line-height: 40px; margin: 0 0 0.5em 0; }    
  #header nav > ul > li > a.menuToggle { padding: 0 1.5em; }
  #header nav > ul > li > a.menuToggle span:not(.hamburger) { display: none; }
  #header nav > ul > li > a { padding: 0 0 0 1.5em; }
  #banner  { padding: 10em 3em; height: auto; min-height: 0; }
  #banner h2   { font-size: 1.25em; }
  #banner br   { display: none; }
  #banner .more{ display: none; }
  .wrapper     { padding: 3em 2em 1em 2em; }
  #menu        { padding: 3em 1.5em; }
  #header h1 a { font-size: 0.8em; }
  #footer      { padding: 3em 2em 1em 2em; }
}

@media screen and (max-width: 670px) {
  .phone-burst-wrapper    { margin-right: -13%; }
  .unity-phone            { height: 200px; }
  .burst                  { transform: translate(-50%, -50%) scale(0.40); }
  header h2               { font-size: 30px; line-height: 40px; margin: 0 0 0.5em 0; }
  .features li.callout    { padding: 40px 0 20px 20px; }
  .features li:nth-child(8) { background-position: 20%; }
}

@media screen and (max-width: 480px) {
  .phone-burst-wrapper    { margin-right: -23%; }
  .video-responsive-wrapper { min-height: 250px; }
  #footer .copyright li   { border: 0; display: block; line-height: 1.65em; margin: 0; padding: 0.5em 0; }
}

@media screen and (max-width: 470px) {
  header h2               { font-size: 22px; line-height: 32px; margin: 0 0 0.5em 0; }
  .features li.callout    { padding: 30px 0 20px 20px; }
  .features li.callout p  { font-size: 16px; line-height: 22px; }
  .features li:nth-child(8) { background-position: 20%; }
}

@media screen and (max-width: 400px) {
  .phone-burst-wrapper      { margin-right: -31%; }
  .features li.callout      { padding: 15px 0 10px 20px; }
  .features li:nth-child(8) { background-position: 40%; }
  .features li.callout br   { display: none; }
  .features li.callout div  { width: 70%; }
}
