:root {
  --color-4: #023660;
  --color-3: #05a6de;
  --color: white;
  --color-5: #f0f0f0;
  --color-2: #333;
}

body {
  color: #333;
  font-family: proxima-nova, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75em;
}

h2 {
  color: var(--color-4);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.2em;
}

h3 {
  color: var(--color-4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 30px;
}

h4 {
  color: var(--color-3);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.2em;
}

p {
  margin-bottom: 20px;
}

ul {
  width: 49%;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 40px;
}

li {
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.5em;
}

.hero {
  background-image: linear-gradient(210deg, #0000 1% 21%, #0006), url('../images/senior-man-biking.jpg');
  background-position: 0 0, 0 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  height: 100vh;
  padding-top: 5%;
  padding-bottom: 12%;
  padding-left: 5%;
  display: flex;
}

.hero-content {
  width: 50%;
  max-width: none;
}

.hero-tag {
  color: var(--color);
  margin-bottom: 30px;
  font-size: 3em;
  line-height: 1.3em;
}

.lg-hero-tag {
  font-size: 1.4em;
}

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

.image {
  height: 50px;
}

.brand {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

.nav-menu {
  align-items: center;
  height: 70px;
  display: flex;
}

.navlink {
  color: var(--color-4);
  align-items: center;
  margin-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.navlink:hover {
  color: var(--color-3);
}

.navlink.phone {
  background-color: var(--color-4);
  color: var(--color);
  padding-left: 10px;
  padding-right: 15px;
}

.navlink.phone:hover {
  background-color: #000;
}

.nav-icon {
  width: 25px;
  margin-right: 10px;
}

.hero-btns {
  justify-content: space-between;
  align-items: center;
  display: flex;
  width: 65%;
}

.hero-btn {
  background-color: var(--color);
  color: var(--color-4);
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 49%;
  margin-right: 0;
  padding: 10px 30px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.hero-btn:hover {
  background-color: var(--color-5);
  color: var(--color-3);
}

.self-test-section {
  background-color: var(--color-5);
  justify-content: space-between;
  display: flex;
}

.self-text-title-whole {
  background-color: var(--color-4);
  background-image: none;
  background-position: 0 0;
  background-size: auto;
  width: 35%;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 5%;
  display: flex;
}

.self-test-text {
  background-color: #fff;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 125%;
  padding: 30px 30px 10px;
  display: flex;
}

.self-test-holder {
  align-items: center;
  width: 52%;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-right: 5%;
  display: flex;
}

.image-3 {
  width: 100%;
}

.what-are-section {
  background-image: url('../images/seniors-in-park.jpg');
  background-position: 50% 0;
  background-size: cover;
  align-items: flex-end;
  padding-top: 30%;
  display: flex;
}

.what-is-blue-box {
  background-color: #05a6de00;
  flex-flow: column;
  justify-content: flex-end;
  align-items: center;
  width: 90%;
  margin-bottom: -8%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  position: relative;
}

.what-is-text-div {
  z-index: 1;
  background-color: var(--color);
  text-align: center;
  flex-flow: column;
  align-items: center;
  padding: 40px 40px 20px;
  display: flex;
  position: relative;
  inset: auto 0 0;
}

.bg-blue {
  background-color: var(--color-3);
  height: 75%;
  position: absolute;
  inset: auto 0% 0%;
}

.what-are-symptoms {
  background-color: var(--color-4);
  flex-flow: column;
  align-items: center;
  padding-top: 10%;
  padding-bottom: 5%;
  display: flex;
}

.list-div {
  color: var(--color);
  justify-content: space-between;
  width: 50%;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.what-is-cataract-surgery-section {
  padding-top: 5%;
  padding-bottom: 5%;
}

.what-is-cat-surg-wrap {
  justify-content: space-between;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.what-photo-div {
  object-fit: cover;
  width: 50%;
  margin-bottom: 5%;
  padding-bottom: 30px;
  padding-left: 30px;
  position: relative;
  overflow: hidden;
}

.image-4 {
  z-index: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
}

.what-is-text-column {
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 50%;
  padding-top: 8%;
  display: flex;
}

.what-is-txt {
  z-index: 5;
  background-color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 120%;
  padding: 25px;
  display: flex;
  position: relative;
  box-shadow: 5px 6px 13px #00000014;
}

.bg-what-blue {
  background-color: var(--color-3);
  width: 50%;
  height: 40%;
  position: absolute;
  inset: auto auto 0% 0%;
}

.iol-section {
  background-color: var(--color-4);
  flex-flow: column;
  align-items: center;
  padding-top: 5%;
  padding-bottom: 5%;
  display: flex;
}

.iol-wrapper-div {
  color: var(--color);
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

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

.iol-holder {
  justify-content: space-between;
  margin-bottom: 2%;
  display: flex;
}

.iol-holder.top {
  margin-top: 2%;
}

.iol-holder._2 {
  margin-bottom: 0%;
}

.iol-32 {
  background-color: var(--color);
  color: var(--color-2);
  text-align: left;
  width: 32%;
  padding: 15px;
}

.iol-48 {
  background-color: var(--color);
  color: var(--color-2);
  text-align: left;
  width: 49%;
  padding: 15px;
}

.body-btn {
  background-color: var(--color-4);
  color: var(--color);
  text-align: center;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-right: 0;
  padding: 10px 30px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.body-btn:hover {
  background-color: var(--color-5);
  color: var(--color-3);
}

.why-choose {
  padding-top: 5%;
  padding-bottom: 5%;
}

.why-choose-wrap {
  justify-content: space-between;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.why-photo {
  z-index: 5;
  object-fit: cover;
  width: 50%;
  position: relative;
  overflow: hidden;
}

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

.why-text-div {
  flex-flow: column;
  justify-content: center;
  width: 50%;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
}

.why-txt {
  background-color: #05a6de1a;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 25px;
  display: flex;
}

.meet-section {
  padding-top: 3%;
  padding-bottom: 5%;
  position: relative;
}

.meet-header-wrap {
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.docs-wrap {
  z-index: 2;
  justify-content: space-between;
  width: 90%;
  margin-top: 1%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}

.doc-div {
  background-color: var(--color);
  text-align: center;
  flex-flow: column;
  align-items: center;
  width: 48%;
  padding: 25px;
  display: flex;
}

.doc-photo-div {
  border: 3px solid var(--color-3);
  object-fit: cover;
  border-radius: 100%;
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
}

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

.bg-lt-blue {
  background-color: #05a6de1a;
  height: 45%;
  position: absolute;
  inset: auto 0% 0%;
}

.testimonials {
  background-color: #05a6de1a;
  flex-flow: column;
  justify-content: center;
  align-items: flex-end;
  min-height: 60vh;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-right: 5%;
  display: flex;
  position: relative;
}

.woman-div {
  z-index: 1;
  background-image: url('../images/senior-woman-on-phone.png');
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  flex-flow: column;
  align-items: flex-start;
  width: 40%;
  display: flex;
  position: absolute;
  inset: 0% auto 0% 0%;
}

.square-btm-left {
  background-color: var(--color-4);
  width: 400px;
  height: 400px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.testimonial-text-div {
  width: 55%;
}

.right-arrow, .left-arrow {
  display: none;
}

.slide-nav {
  display: flex;
}

.slider {
  background-color: #ddd0;
  background-image: url('../images/quote-blue.png');
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 100px;
}

.testimonial-div {
  padding-bottom: 75px;
  position: absolute;
  inset: 0%;
}

.schedule {
  justify-content: space-between;
  display: flex;
}

.form-div {
  width: 60%;
  padding: 3%;
}

.button {
  background-color: var(--color-4);
  text-transform: uppercase;
  font-weight: 500;
}

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

.form-block {
  margin-bottom: 0;
}

.field-label {
  line-height: 1.2em;
}

.location-div {
  background-image: url('../images/aerial-back-bay-ma.jpg');
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 40%;
  padding: 3%;
  display: flex;
}

.inner-location-div {
  color: var(--color);
  text-align: center;
  background-color: #023660d1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px;
  display: flex;
}

.image-7 {
  width: 40px;
  margin-bottom: 15px;
}

.h3-white {
  color: var(--color);
}

.copyright {
  background-color: var(--color-4);
  color: var(--color);
  text-align: center;
  padding: 10px;
  line-height: 1em;
}

@media screen and (max-width: 991px) {
  .hero {
    background-image: linear-gradient(#0000 1% 43%, #000000a8), linear-gradient(210deg, #0000 1% 21%, #0006 67%, #000000f7 103%), url('../images/senior-man-biking.jpg');
    background-position: 0 0, 0 0, 100% 0;
    background-repeat: repeat, repeat, no-repeat;
    background-size: auto, auto, cover;
    height: 800px;
    padding-bottom: 5%;
  }

  .hero-content {
    width: 90%;
  }

  .navlink.phone {
    padding-right: 10px;
  }

  .nav-icon {
    margin-right: 0;
  }

  .nav-text {
    display: none;
  }

  .hero-btns {
    width: 90%;
  }

  .self-test-text {
    min-width: 130%;
    padding: 20px 20px 0;
  }

  .what-is-blue-box {
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .what-is-text-div {
    padding: 20px 20px 0;
  }

  .list-div {
    width: 90%;
  }

  .what-is-cat-surg-wrap {
    flex-flow: column;
  }

  .what-photo-div {
    width: 100%;
    padding-bottom: 0;
    padding-left: 0;
  }

  .what-is-text-column {
    width: 100%;
    padding-top: 20px;
  }

  .what-is-txt {
    min-width: 0;
    padding: 0;
  }

  .iol-holder.top {
    flex-flow: column;
    margin-bottom: 0%;
  }

  .iol-holder._2 {
    flex-flow: column;
  }

  .iol-32, .iol-48 {
    width: 100%;
  }

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

  .why-photo {
    width: 100%;
  }

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

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

  .doc-div {
    width: 100%;
  }

  .testimonials {
    min-height: 0;
  }

  .woman-div {
    background-size: contain;
  }

  .square-btm-left {
    width: 300px;
    height: 300px;
  }

  .inner-location-div {
    padding: 20px;
  }

  .body-btn-txt {
    margin-left: 10px;
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    height: 500px;
    padding-right: 5%;
  }

  .hero-content {
    width: 100%;
  }

  .hero-tag {
    margin-bottom: 20px;
    font-size: 2em;
  }

  .image {
    height: 30px;
  }

  .nav-menu {
    height: 55px;
  }

  .hero-btns {
    width: 100%;
  }

  .hero-btns._90 {
    width: 90%;
  }

  .hero-btn {
    padding-left: 20px;
    padding-right: 20px;
    font-size: .9em;
  }

  .self-test-section {
    flex-flow: column;
  }

  .self-text-title-whole {
    width: 100%;
    padding: 2%;
  }

  .self-test-text {
    min-width: 100%;
  }

  .self-test-holder {
    width: 100%;
    padding: 0%;
  }

  .what-are-section {
    padding-top: 50%;
  }

  .what-is-blue-box {
    width: 100%;
    margin-bottom: 0%;
    padding: 0;
  }

  .what-is-text-div {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .what-are-symptoms {
    padding-top: 5%;
  }

  .what-is-text-column {
    padding-top: 0;
  }

  .square-btm-left {
    width: 200px;
    height: 200px;
  }

  .slider {
    min-height: 400px;
  }

  .schedule {
    flex-flow: column;
  }

  .form-div, .location-div {
    width: 100%;
  }
}

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

  h3 {
    font-size: 1em;
  }

  ul {
    width: 100%;
  }

  .hero {
    background-position: 0 0, 0 0, 80% 0;
    height: 600px;
  }

  .image {
    height: 25px;
  }

  .brand {
    padding-left: 0;
  }

  .nav-menu {
    height: 45px;
  }

  .navlink.phone {
    margin-right: 10px;
    padding: 5px;
  }

  .nav-icon {
    width: 20px;
  }

  .hero-btns {
    flex-flow: column;
    align-items: stretch;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-btn.marg {
    margin-bottom: 10px;
  }

  .self-test-section {
    flex-flow: column;
  }

  .self-text-title-whole {
    width: 100%;
    padding-right: 2%;
  }

  .self-test-text {
    min-width: 0;
    padding: 10px;
  }

  .self-test-holder {
    width: 100%;
    padding: 0%;
  }

  .what-are-section {
    padding-top: 100%;
  }

  .list-div {
    flex-flow: column;
  }

  .why-txt {
    padding: 15px;
  }

  .testimonials {
    padding-bottom: 325px;
    padding-right: 0%;
  }

  .woman-div {
    width: 100%;
    height: 300px;
    inset: auto 0% 0%;
  }

  .testimonial-text-div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .slider {
    background-size: 75px;
  }
}


