:root {
  --color-3: #0072ce;
  --color-4: #7e4bcc;
  --color-6: #4a2c79;
  --color: white;
  --color-7: #0072ce1a;
  --color-8: #00cbce;
  --color-2: #333;
  --color-5: #004074;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

body {
  color: #333;
  font-family: Open Sans, sans-serif;
  font-size: 16px;
  line-height: 1.75em;
}

h2 {
  background-image: linear-gradient(145deg, var(--color-3), var(--color-4));
  color: var(--color-3);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Fira Sans, sans-serif;
  font-size: 2.5em;
  font-weight: 600;
  line-height: 1.2em;
}

h3 {
  color: var(--color-4);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.2em;
}

h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.2em;
}

p {
  margin-bottom: 20px;
}

ul {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 20px;
  line-height: 1.5em;
}

li {
  margin-bottom: 10px;
}

.hero {
  background-image: linear-gradient(99deg, var(--color-4), #3b60cd 21%, #1e69cd 41%, #0072ceb0 62%, #0072ce00 102%), url('../images/eye-exam.jpg');
  background-position: 0 0, 0%;
  background-size: auto, cover;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  height: 75vh;
  margin-top: 80px;
  padding: 5%;
  display: flex;
}

.hero-content-div {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--color);
  flex-flow: column;
  align-items: flex-start;
  width: 50%;
  padding: 30px;
  display: flex;
}

.hero-lg-line {
  margin-bottom: 30px;
  font-family: Fira Sans, sans-serif;
  font-size: 3em;
  font-weight: 600;
  line-height: 1.2em;
}

.button {
  background-color: var(--color);
  color: var(--color-3);
  align-items: center;
  padding: 15px 20px 15px 30px;
  font-family: Fira Sans, sans-serif;
  font-weight: 500;
  line-height: 1em;
  text-decoration: none;
  display: flex;
}

.button.purple {
  background-color: var(--color-4);
  color: var(--color);
}

.button.purple:hover {
  background-color: var(--color-6);
}

.btn-icon {
  width: 25px;
  margin-left: 10px;
}

.navbar {
  background-color: var(--color);
  position: fixed;
  inset: 0% 0% auto;
  box-shadow: 0 2px 9px #0003;
}

.image {
  height: 85px;
}

.nav-menu {
  align-items: center;
  height: 85px;
  padding-right: 15px;
  display: flex;
}

.nav-link-jm {
  color: var(--color-3);
  align-items: center;
  padding: 10px;
  font-family: Fira Sans, sans-serif;
  font-weight: 500;
  line-height: 1em;
  text-decoration: none;
  display: flex;
}

.nav-link-jm:hover {
  color: var(--color-4);
}

.nav-link-jm.phone {
  background-color: var(--color-3);
  color: var(--color);
}

.nav-link-jm.phone:hover {
  background-color: var(--color-4);
}

.nav-icon {
  width: 25px;
}

.nav-txt {
  margin-left: 10px;
}

.section {
  padding-top: 5%;
  padding-bottom: 5%;
}

.section.testimonial {
  background-image: linear-gradient(131deg, #4a2c79e6, #004074e6), url('../images/niagra-falls-aerial-view.jpg');
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
}

.section.no-top-pad {
  padding-top: 0%;
}

.section.full {
  padding-top: 0%;
  padding-bottom: 0%;
}

.wrap {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.wrap.flex {
  justify-content: space-between;
  margin-top: 0;
  display: flex;
}

.wrap.flex.top-marg {
  margin-top: 50px;
}

.wrap.flex.full {
  width: 100%;
}

.wrap.center {
  text-align: center;
}

.txt-50 {
  flex-flow: column;
  align-items: flex-start;
  width: 50%;
  padding-bottom: 50px;
  display: flex;
}

.txt-50.center {
  background-color: var(--color-7);
  justify-content: center;
  width: 40%;
  padding: 50px 0 50px 50px;
}

.txt-div-top {
  flex-flow: column;
  align-items: flex-start;
  width: 100%;
  padding: 50px 25px 5px 0;
  display: flex;
}

.list-div {
  background-color: var(--color);
  background-image: linear-gradient(to bottom, var(--color-7), var(--color-7));
  justify-content: space-between;
  align-items: flex-start;
  min-width: 110%;
  margin-bottom: 20px;
  padding: 25px 25px 0;
  display: flex;
  position: relative;
}

.list-49 {
  width: 49%;
}

.photo-50 {
  object-fit: cover;
  width: 50%;
  overflow: hidden;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.testimonial-div {
  color: var(--color);
  border: 3px solid #00cbce;
  border-bottom-right-radius: 50px;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 32%;
  padding: 25px;
  display: flex;
}

.name {
  font-family: Fira Sans, sans-serif;
  font-weight: 700;
}

.h2-white {
  background-color: var(--color);
  background-image: none;
}

.text-48 {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 48%;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
}

.h3-less {
  margin-top: -10px;
}

.insurance-holder {
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
}

.logo-holder {
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 24%;
  margin-bottom: 0;
  margin-right: 0;
  font-size: .7em;
  line-height: 1.2em;
  display: flex;
}

.insur-logo {
  height: auto;
  margin-bottom: 0;
}

.photo-48 {
  object-fit: cover;
  width: 48%;
  overflow: hidden;
}

.values-wrap {
  background-image: linear-gradient(167deg, var(--color-4), var(--color-3));
  justify-content: space-between;
  align-items: stretch;
  margin-top: 30px;
  margin-left: 50px;
  margin-right: 50px;
  padding: 80px 50px 50px;
  display: flex;
}

.value-div {
  border: 2px solid var(--color-8);
  color: var(--color);
  text-align: center;
  flex-flow: column;
  align-items: center;
  width: 24%;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 1.5em;
  display: flex;
}

.icon-circle {
  border: 2px solid var(--color-8);
  background-color: var(--color);
  border-radius: 100%;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
}

.image-2 {
  width: 100%;
}

.h4-min {
  min-height: 50px;
}

.white-text {
  z-index: 5;
  background-color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 130%;
  padding: 40px;
  display: flex;
  position: relative;
}

.photo-60 {
  object-fit: cover;
  width: 60%;
  overflow: hidden;
}

.footer {
  background-image: linear-gradient(146deg, var(--color-4), var(--color-3));
  padding-top: 5%;
  padding-bottom: 5%;
}

.grid {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 3fr 1fr 1fr;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.footer-div.addresses {
  flex-flow: column;
  display: flex;
}

.footer-div.form {
  color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.text-field {
  border: 2px solid var(--color-8);
  background-color: #fff0;
}

.text-field:focus, .text-field::placeholder {
  color: var(--color);
}

.address-div {
  color: var(--color);
  flex-flow: column;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.4em;
  display: flex;
}

.address-img {
  object-fit: cover;
  width: 100%;
  max-height: 150px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.form-block {
  width: 100%;
}

@media screen and (max-width: 991px) {
  .hero {
    background-position: 0 0, 65%;
    height: 700px;
  }

  .hero-content-div {
    padding: 0;
  }

  .nav-txt {
    display: none;
  }

  .section.testimonial {
    background-attachment: scroll, scroll;
  }

  .wrap.flex {
    flex-flow: column;
  }

  .txt-50 {
    width: 100%;
    padding-bottom: 20px;
  }

  .txt-50.center {
    width: 100%;
    padding: 30px;
  }

  .txt-div-top {
    padding-top: 0;
    padding-right: 0;
  }

  .list-div {
    width: 100%;
    min-width: 0;
  }

  .photo-50 {
    width: 100%;
  }

  .testimonial-div {
    width: 100%;
    margin-bottom: 20px;
  }

  .text-48 {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .text-48.pad {
    padding-top: 20px;
  }

  .photo-48 {
    width: 100%;
  }

  .values-wrap {
    flex-flow: wrap;
    padding-bottom: 50px;
  }

  .value-div {
    width: 48%;
    margin-bottom: 100px;
  }

  .value-div.btm {
    margin-bottom: 0;
  }

  .white-text {
    min-width: 100%;
  }

  .photo-60 {
    width: 100%;
  }

  .grid {
    flex-flow: column;
    display: flex;
  }

  .address-img {
    max-height: 350px;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 2em;
  }

  .hero {
    height: 420px;
  }

  .hero-content-div {
    width: 60%;
  }

  .hero-lg-line {
    font-size: 2.5em;
  }

  .button {
    padding-left: 20px;
  }

  .values-wrap {
    padding: 80px 30px 30px;
  }

  .value-div {
    width: 100%;
    margin-bottom: 80px;
  }

  .value-div.btm._1 {
    margin-bottom: 80px;
  }

  .white-text {
    padding: 20px;
  }

  .brand {
    padding-left: 0;
  }
}

@media screen and (max-width: 479px) {
  h2 {
    font-size: 1.8em;
  }

  .hero {
    background-image: linear-gradient(180deg, #0000, #00396754 47%, #004074ba 72%, #303377e6 90%, var(--color-6)), url('../images/eye-exam.jpg');
    background-position: 0 0, 75%;
    background-size: auto, cover;
    justify-content: flex-end;
    height: 550px;
    margin-top: 50px;
  }

  .hero-content-div {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    width: 100%;
  }

  .hero-lg-line {
    font-size: 2em;
  }

  .image {
    height: 50px;
  }

  .nav-menu {
    height: 60px;
    padding-right: 10px;
  }

  .wrap.flex.top-marg {
    margin-top: 0;
  }

  .txt-50.center {
    padding: 15px;
  }

  .list-div {
    flex-flow: column;
    padding: 20px 20px 0;
  }

  .list-49 {
    width: 100%;
  }

  .testimonial-div {
    padding: 15px;
  }

  .insurance-holder {
    flex-flow: wrap;
  }

  .logo-holder {
    width: 48%;
    margin-bottom: 10px;
  }

  .values-wrap {
    margin-left: 0;
    margin-right: 0;
    padding: 80px 15px 15px;
  }

  .value-div, .value-div.btm._1 {
    margin-bottom: 60px;
  }

  .white-text {
    padding: 16px;
  }
}


