html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 7rem;
}

body > section {
  padding: 4rem 0;
}
@media (max-width: 576px) {
  body > section {
    padding: 2rem 0;
  }
}

.header--content {
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (min-width: 576px) {
  .header--content {
    margin-top: 60px;
  }
  .header--content .logo img {
    width: 100%;
    height: 63px;
  }
}
.header--content > .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 576px) {
  .header--content {
    margin-top: 32px;
  }
  .header--content .logo img {
    height: 45px;
  }
}
@media (max-width: 992px) {
  .header--content nav {
    display: none;
  }
}

@keyframes showScrolled {
  from {
    top: -20%;
  }
  to {
    top: 0;
  }
}
.scrolled {
  animation: showScrolled 0.5s ease-in-out forwards;
  margin-top: 0px;
  padding: 1.25rem 0;
  background: var(--shade-white);
  z-index: 5;
}
.scrolled a {
  color: var(--brand-master);
}
.scrolled a:hover {
  color: var(--brand-secondary);
}

.header--content {
  z-index: 5;
}
.header--content nav#header-nav ul {
  display: flex;
  align-items: center;
  color: var(--shade-white);
}
.header--content nav#header-nav ul li + li {
  margin-left: 2rem;
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-master);
  transition: left 0.3s ease-in-out;
  z-index: 15;
}
@media (min-width: 992px) {
  #mobile-menu {
    display: none;
  }
}
#mobile-menu header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#mobile-menu.hidden {
  left: 100%;
}
#mobile-menu > div {
  position: relative;
}
#mobile-menu nav {
  display: block;
  width: 100%;
  height: 100%;
}
#mobile-menu nav ul {
  display: flex;
  flex-direction: column;
}
#mobile-menu nav ul li + li {
  margin-top: 2.5rem;
}
#mobile-menu nav ul li:first-of-type {
  margin-top: 5rem;
}
#mobile-menu nav ul li {
  width: 100%;
  padding-bottom: 2rem;
}
#mobile-menu nav ul li a::after {
  content: "";
  position: absolute;
  background: var(--shade-light1);
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
}
#mobile-menu nav ul li a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  color: var(--shade-light1);
  padding-bottom: 1rem;
}

.hero--section {
  padding: 0;
  height: 514px;
  background-image: url(../images/hero-mobile.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .hero--section {
    background-position: 70% 50% !important;
  }
}
@media (max-width: 768px) {
  .hero--section {
    background-position: 70% 50% !important;
  }
}
@media (min-width: 576px) {
  .hero--section {
    height: 682.33px;
    background-image: url(../images/hero.png);
  }
}

#menu-toggle {
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
}
@media (min-width: 992px) {
  #menu-toggle {
    display: none;
  }
}
@media (max-width: 992px) {
  #menu-toggle {
    display: flex;
  }
}
#menu-toggle.opened #menu-icon {
  background: transparent;
}
#menu-toggle.opened #menu-icon:after, #menu-toggle.opened #menu-icon:before {
  top: 0;
}
#menu-toggle.opened #menu-icon:before {
  transform: rotate(-45deg);
}
#menu-toggle.opened #menu-icon:after {
  transform: rotate(45deg);
}
#menu-toggle #menu-icon {
  background: var(--brand-master);
  display: block;
  height: 3px;
  position: relative;
  width: 20px;
}
#menu-toggle #menu-icon:before, #menu-toggle #menu-icon:after {
  background: var(--brand-master);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}
#menu-toggle #menu-icon:before {
  top: 5px;
}
#menu-toggle #menu-icon:after {
  top: -5px;
}
#menu-toggle #menu-icon.on-mobile:before, #menu-toggle #menu-icon.on-mobile:after {
  background: var(--shade-light1);
}

.hero-text {
  position: relative;
  z-index: 2;
}
.hero-text .download-app a img {
  width: auto;
  height: 45px;
}
@media (max-width: 1200px) {
  .hero-text {
    width: 60%;
  }
}
@media (min-width: 668px) {
  .hero-text {
    width: 75% !important;
  }
}
@media (min-width: 577px) and (max-width: 667px) {
  .hero-text::after {
    background-position-x: -60px !important;
  }
  .hero-text {
    width: 75% !important;
  }
}
@media (max-width: 576px) {
  .hero-text {
    padding-top: 120px;
    width: 100%;
  }
  .hero-text .download-app a img {
    width: auto;
    height: 28px;
  }
}
@media (min-width: 576px) {
  .hero-text {
    padding-top: 13.5rem;
    width: 40%;
    max-width: 496px;
    height: 682.33px;
  }
  .hero-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-repeat: no-repeat;
    background-position: initial;
    background-image: url(../images/hero-filler.svg);
    z-index: -1;
  }
  .hero-text::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    width: 200vw;
    height: 100%;
    background: #f4f8fa;
  }
}

.quem--somos {
  width: 100%;
  overflow: hidden;
}
.quem--somos::after {
  content: "";
  position: absolute;
  top: -4rem;
  background: var(--shade-light1);
  width: 100vw;
  z-index: -1;
}
.quem--somos header {
  position: relative;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
.quem--somos header::after {
  content: "";
  position: absolute;
  top: -4rem;
  background: var(--shade-light1);
  width: 100vw;
  z-index: -1;
}
@media (min-width: 576px) {
  .quem--somos header::after {
    height: calc(441px + -4rem);
  }
}
@media (min-width: 576px) {
  .quem--somos header::after {
    height: calc(441px + -4rem);
  }
}

.quem--somos-page-header {
  padding-top: 13.5rem;
  padding-bottom: 2rem;
}

.card__list {
  display: grid;
}
@media (min-width: 769px) {
  .card__list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card__list.fluid {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .card__list {
    grid-template-rows: 1fr 1fr 1fr;
  }
  .card__list.fluid {
    grid-template-rows: auto;
  }
}

.card {
  border-radius: 16px;
  background: #fff;
  /* padding: 3.625rem 2.25rem; */
  padding: 2.428rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  transition: transform 0.5s;
}
@media (min-width: 992px) {
  .card {
    margin-right: 2rem;
    max-width: 390px;
  }
}
.card img {
  margin-bottom: 1rem;
  width: 54px;
  height: 54px;
}
.card h1 {
  margin-bottom: 0.3rem;
}

.benefits__row__item {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 769px) {
  .benefits__row__item {
    grid-template-columns: 1fr 1fr;
  }
  .benefits__row__item.one__third {
    grid-template-columns: 1fr 3fr;
  }
  .benefits__row__item + .benefits__row__item {
    padding: 4rem 0;
  }
}
@media (max-width: 768px) {
  .benefits__row__item {
    grid-template-rows: auto;
  }
  .benefits__row__item:first-of-type {
    padding-bottom: 2rem;
  }
  .benefits__row__item + .benefits__row__item {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .row__image {
    grid-row: 1/1;
  }
}
.row__image img {
  border-radius: 1rem;
  width: 100%;
}

.row__content--image {
  position: relative;
  width: max-content;
  padding: 1.25rem;
}
.row__content--image img {
  width: 50px;
  height: 50px;
}
.row__content--image::after {
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: var(--brand-secondary);
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.benefits__banner {
  position: relative;
  height: 100%;
  overflow: hidden;
}
@media (min-width: 576px) {
  .benefits__banner {
    min-height: 581px;
    background: url(../images/benefits-banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    grid-template-columns: 1fr 1fr;
  }
}
.benefits__banner::after {
  content: "";
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #2f7bbc 0%, #0f5da0 100%);
  width: 100vw;
  height: 100%;
  z-index: -1;
}

@media (max-width: 576px) {
  .benefits__banner__content {
    width: 100%;
  }
}

.benefits__banner__content__list {
  display: grid;
}
@media (min-width: 576px) {
  .benefits__banner__content__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .benefits__banner__content__list > div {
    width: 120px;
    flex-direction: column;
    margin-right: 2rem;
  }
}
@media (max-width: 576px) {
  .benefits__banner__content__list {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .benefits__banner__content__list > div {
    margin-top: 2rem;
    width: 100%;
    flex-direction: row;
  }
  .benefits__banner__content__list > div img {
    margin-right: 1rem;
  }
}
.benefits__banner__content__list div {
  display: flex;
}
.benefits__banner__content__list div img {
  width: 60px;
  height: 60px;
}

.quem__somos__content__list {
  display: flex;
  flex-direction: column;
}
@media (min-width: 576px) {
  .quem__somos__content__list {
    grid-template-columns: auto;
  }
  .quem__somos__content__list > div {
    width: auto;
    margin-right: 2rem;
  }
}
.quem__somos__content__list div {
  display: flex;
  flex-direction: row;
  align-content: center;
}
.quem__somos__content__list div > span {
  margin-top: auto;
  margin-bottom: auto;
  height: fit-content;
}
.quem__somos__content__list div + div {
  margin-top: 2rem;
}
.quem__somos__content__list div > img {
  margin-right: 2rem;
}

.media-news header {
  text-align: center;
}

.media-news__col__wrapper {
  display: flex;
  overflow: auto;
}

.media-news__item {
  box-sizing: content-box;
  margin-right: 24px;
  width: 25%;
  min-width: 242px;
}

.media-news__item--image img {
  border-radius: 16px;
  width: 100%;
}

.testemonial-video {
  position: relative;
  display: grid;
}
@media (max-width: 576px) {
  .testemonial-video > div:first-child {
    grid-row: 2;
    margin-top: 1rem;
  }
}

.testemonial__content__wrapper {
  top: 0;
  left: 0;
  height: 326px;
  border-radius: 16px;
  padding: 2.5rem;
  background: var(--brand-master);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  .testemonial__content__wrapper {
    position: absolute;
    width: 33.33%;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .testemonial__content__wrapper {
    position: absolute;
    width: 45%;
    height: 370px;
  }
}

.testemonial__content {
  max-width: 312px;
  position: absolute;
  width: calc(100% - 80px);
  top: 40px;
  left: 40px;
  transition: left 0.5s;
}
.testemonial__content.active {
  left: 40px;
}
.testemonial__content.right {
  left: calc(100% + 80px);
}
.testemonial__content.left {
  left: calc((100% + 80px) * -1);
}

.testemonial__content__rating {
  display: flex;
}

.testemonial__content__content__author {
  display: flex;
}
.testemonial__content__content__author img {
  border-radius: 50%;
  width: 66px;
  height: 66px;
}

.testemonial__content__content__author__details {
  display: flex;
  flex-direction: column;
}
.testemonial__content__content__author__details span {
  margin-bottom: 0.5rem;
}

.testemonial__bullets {
  display: flex;
  justify-content: center;
  margin-top: auto;
}
.testemonial__bullets > div {
  cursor: pointer;
  margin-right: 0.5rem;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
}
.testemonial__bullets > div.inactive {
  opacity: 0.3;
}

@media (min-width: 576px) {
  .testemonial-video .video {
    margin-left: 25%;
  }
  .testemonial-video .video header {
    margin: 10% 0 45px 8rem;
    text-align: left;
  }
}
.testemonial-video .video header {
  text-align: center;
  margin-bottom: 1rem;
}
.testemonial-video .video .video__content {
  position: relative;
}
.testemonial-video .video .video__content::after {
  background: url(../images/play.svg);
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
}
.testemonial-video .video .video__content img {
  border-radius: 16px;
  width: 100%;
}
@media (max-width: 576px) {
  .testemonial-video .video .video__content img {
    max-height: 100%;
    max-width: 100%;
  }
}

.blog-posts {
  background: var(--shade-light1);
}
.blog-posts header {
  text-align: center;
}

.posts-list {
  display: flex;
  flex-direction: row;
  overflow: auto;
}

.posts-list__item {
  box-sizing: content-box;
  margin-right: 24px;
  width: 25%;
  min-width: 242px;
}

.posts-list__item__image {
  position: relative;
}
.posts-list__item__image img {
  border-radius: 16px;
  width: 100%;
}
.posts-list__item__image span > a {
  text-transform: uppercase;
  border-radius: 1rem;
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 10px;
  background: var(--brand-master);
}

.posts-list__item__published-info a {
  color: var(--font-primary);
}

.blog-posts footer {
  text-align: center;
}
.blog-posts footer a {
  position: relative;
  padding-bottom: 7px;
}
.blog-posts footer a::after {
  content: "";
  position: absolute;
  background: var(--brand-secondary);
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
}

.faq header {
  text-align: center;
}

.accordion-list {
  display: flex;
  flex-direction: column;
}

.accordion-list__item summary {
  cursor: pointer;
  padding: 1.5rem 1rem;
  border: 1px var(--shade-light2) solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-list__item[open] summary {
  border-bottom: 0;
}

.accordion-list__item summary::marker {
  display: none;
}

.accordion-list__item summary::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url(../images/icons/accordion-close.svg);
}

.accordion-list__item[open] summary::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url(/images/icons/accordion-open.svg);
}

.accordion-list__item > * {
  padding: 1.5rem 1rem;
  border: 1px var(--shade-light2) solid;
  align-items: center;
  justify-content: space-between;
}

.accordion-list__item p a {
  color: var(--brand-master);
}

ol {
  display: block;
  margin: 1em 0;
  padding-left: 40px;
  list-style: none;
  counter-reset: my-awesome-counter;
}

ol > li + li {
  margin: 16px 0;
}
ol li {
  counter-increment: my-awesome-counter;
}
ol li::before {
  content: counter(my-awesome-counter) ") ";
}


.contact-us {
  padding: 0;
  background: var(--shade-light2-40);
}
@media (min-width: 576px) {
  .contact-us {
    border-radius: 80px 80px 0 0;
  }
}
@media (max-width: 576px) {
  .contact-us {
    border-radius: 16px 16px 0 0;
  }
}

.contact-us--image img {
  width: 100%;
}

.contact-us--content {
  position: relative;
  display: grid;
  padding: 4rem 0;
}
@media (min-width: 576px) {
  .contact-us--content {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .contact-us--content::after {
    top: -4px;
    height: 8px;
  }
}
@media (max-width: 576px) {
  .contact-us--content {
    padding: 2rem 0;
    grid-template-rows: auto 1fr;
  }
  .contact-us--content::after {
    top: -2px;
    height: 4px;
  }
}
.contact-us--content::after {
  z-index: 1;
  background: var(--brand-secondary);
  content: "";
  width: 80%;
  position: absolute;
  border-radius: 80px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 576px) {
  .contact-us--form__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .contact-us--form__wrapper {
    display: flex;
    flex-direction: column;
  }
}
.contact-us--form__wrapper label {
  display: block;
}
.contact-us--form__wrapper input {
  border: 1px solid var(--font-primary-50);
  background: transparent;
  padding: 16px;
  border-radius: 0.5rem;
  color: var(--font-primary);
  width: 90%;
}
.contact-us--form__wrapper div:last-child {
  grid-column: 1/3;
}
.contact-us--form__wrapper input::placeholder {
  color: var(--shade-gray2);
}

.page-footer--subheader {
  background: var(--footer-color);
}
@media (min-width: 576px) {
  .page-footer--subheader {
    padding: 2.5rem 0;
  }
}
@media (max-width: 576px) {
  .page-footer--subheader {
    padding: 1rem 0;
  }
  .page-footer--subheader img {
    width: 100%;
    height: 40px;
  }
}
.page-footer--subheader small {
  font-size: smaller;
  display: block;
  line-height: normal;
}
.page-footer--subheader > .page-footer--subheader__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-footer--subheader__content {
  display: grid;
}
@media (min-width: 576px) {
  .page-footer--subheader__content {
    grid-template-columns: 2fr auto;
  }
}
@media (max-width: 576px) {
  .page-footer--subheader__content {
    grid-template-rows: auto;
  }
}

@media (max-width: 576px) {
  .footer__content__column--item {
    grid-area: 1/1/auto/auto;
  }
}

.footer__content {
  padding: 2rem 0;
  background: var(--brand-master);
}
.footer__content > div {
  display: grid;
}
@media (min-width: 576px) {
  .footer__content > div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer__content > div {
    grid-template-rows: auto;
  }
}

.footer__content__column {
  box-sizing: content-box;
}
@media (min-width: 992px) {
  .footer__content__column {
    margin-right: 121px;
  }
}
@media (max-width: 992px) {
  .footer__content__column {
    margin-right: 24px;
  }
}

.footer__content__column--logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.footer__content__column--complex-item {
  display: flex;
}
.footer__content__column--complex-item small {
  font-size: smaller;
  opacity: 0.6;
  display: block;
}
.footer__content__column--complex-item > div {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.footer__content__column--complex-item.social-links a img {
  width: 100%;
  height: 100%;
}

/* General table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
}

/* Table headers */
th {
  background-color: var(--brand-master);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.05rem;
  padding: 10px;
  border: 1px solid #ddd;
}

/* Table cells */
td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Alternating row colors */
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Highlighting header row */
thead tr {
  background-color: var(--brand-master);
}
