.about {
  width: 100%;
  display: flex;

  padding: 41px max(calc((100% - var(--view-port)) / 2), 5%);

  flex-direction: column;

  position: relative;

  .row {
    display: flex;
  }

  .column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .spacing-100px {
    width: 100%;
    height: 100px;
  }
}

.about-texts-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
  gap: 30px;
}

.about-subtitle {
  color: var(--blue-700);
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 43.2px */
  letter-spacing: 0.72px;

  margin-bottom: 32px;
}

.about-text {
  color: var(--blue-600);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
}

.about-youtube-video-wrapper {
  width: 100%;

  display: flex;

  justify-content: flex-end;
}

.about-youtube-video-container {
  width: 351px;
  display: flex;
  flex-direction: column;
  margin-top: -300px;
  align-self: flex-end;
  border-radius: 24px;
  background: var(--blue-100);

  .texts {
    color: var(--blue-600);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    padding: 40px;
  }
}

.about-youtube-video {
  width: 100%;
  height: 516px;

  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  .bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
  }

  .play {
    width: 95px;
    height: 70px;
    position: relative;
    z-index: 1;
  }
}

.about-certifications {
  width: 100%;
  /* max-width: 400px; */

  display: grid;

  grid-template-columns: 1fr 1fr;

  justify-items: end;
  align-content: end;

  gap: 30px;
  img {
    max-width: 160px;
    max-height: 160px;
  }
}

.time-line {
  width: 100%;
  padding: 20px;

  margin-top: 177px;

  width: 100%;

  display: flex;
}

.time-line-card {
  display: flex;
  width: 212.604px;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;

  .time {
    color: var(--blue-700);
    font-family: Poppins;
    font-size: 32.159px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
  }

  .image-wrapper {
    width: 212.604px;
    height: 204.564px;

    padding: 14px;

    border-radius: 21.439px;
    background: #817ea5;

    display: flex;
    align-items: center;
    justify-content: center;

    .logo {
      width: 131.314px;
    }

    .image {
      width: 100%;
      height: 100%;
    }
  }

  .text {
    color: var(--blue-600);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
  }
}

.time-line-footer,
.time-line-footer-1 {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  margin-top: 64px;

  img {
    width: 24px;
    height: 24px;
  }

  .scroll-bar,
  .scroll-bar-1 {
    width: 100%;
    height: 1px;
    background: #d6d6d6;
  }

  .scroll-bar-drag,
  .scroll-bar-drag-1 {
    height: 2px;
  }
}

.time-line-footer .swiper-scrollbar-drag,
.time-line-footer-1 .swiper-scrollbar-drag {
  height: 2px;
  background: #33a3ff !important;
}

.justify-s-b {
  justify-content: space-between;
}

.meet-our-structure-card {
  width: 100%;
  display: flex;

  flex-direction: column;

  gap: 24px;

  .row {
    display: flex;
    align-items: center;

    gap: 24px;
  }

  .store-number {
    color: #fff;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;

    display: flex;
    padding: 10px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 600px;
    background: #817ea5;
  }

  .title-store-about {
    color: var(--blue-700);
    font-family: Poppins;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 33.6px */
    letter-spacing: 0.56px;
  }

  .description {
    color: var(--blue-600);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;

    width: 80%;
  }
}

.location-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 110px;

  gap: 24px;

  img {
    width: 19px;
    height: 19px;
  }

  span,
  a {
    color: var(--blue-700);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    text-decoration: none;
    color: #1b183f;
  }
}

.address-text {
  color: var(--blue-700);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.images-preview {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;

  gap: 12px;

  img {
    width: 100%;
  }
}

.tour-text {
  color: #001871;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 140%;
}

.view-image {
  width: 100%;
}

.margin-10px {
  width: 10px;
  height: 10px;
}

.cards-separator {
  width: 100%;
  height: 1px;
  background: #efeef6;

  margin: 84px 0;
}

.about-blue-section {
  width: 100%;
  padding: 41px max(calc((100% - var(--view-port)) / 2), 5%);
  background-color: #001871;
}

.about-blue-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 90px max(calc((100% - var(--view-port)) / 2), 5%);
  background-color: var(--blue-500);
  margin-top: 130px;

  .column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    position: relative;
    z-index: 1;
  }

  .row-img-and-texts {
    width: 100%;
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 130px;

    align-items: center;

    position: relative;
    z-index: 1;
  }

  .subtitle {
    color: #33a3ff;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
  }

  .white-text {
    color: #fff;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.48px;
  }

  .mapa-image {
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .bg-dark-blue {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 330px;

    z-index: 0;

    bottom: 0;
  }
}

.about-blue-section-cards {
  display: flex;
  flex-direction: column;

  position: relative;
  z-index: 1;

  margin-top: 128px;

  .white-titie {
    color: #fff;
    font-family: Poppins;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.56px;

    margin-bottom: 46px;
  }

  .cards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 22px;

    padding-bottom: 130px;
  }

  .card {
    border-radius: 16px;
    background: #fff;

    padding: 44px;
    height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0px;

    .dark-text {
      color: var(--blue-600);
      text-align: center;
      font-family: Poppins;
      font-size: 18px;
      font-style: normal;
      font-weight: 500;
      line-height: 140%;
      letter-spacing: 0.36px;
      padding-bottom: 30px;
    }

    .see-more-wrapper {
      display: flex;
      align-items: flex-end;
      flex: 1;
      span,
      a {
        color: #33a3ff;
        text-align: center;
        font-family: Poppins;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
        text-decoration: none;
      }
    }

    .icon-wrapper {
      width: 92px;
      height: 92px;

      opacity: 1;
      visibility: visible;
      border-radius: 50%;
      transition: all 0.6s;

      padding: 10px;

      background-color: rgba(51, 163, 255, 0.5);

      div {
        background-color: var(--blue-500);
        width: 100%;
        height: 100%;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        img {
          width: 26px;
        }
      }
    }
    .toggle {
      height: 122px;
      transition: all 0.5s;
      overflow: hidden;
      padding-bottom: 30px;
    }
    p.dark-text {
      opacity: 0;
      visibility: hidden;
      height: 0px;
      padding-bottom: 0;
      overflow: hidden;
      transition: all 0.5s;
      font-size: 13px;
      font-weight: 300;
    }
    &:hover {
      .toggle {
        height: 0px;
      }
      .icon-wrapper {
        width: 92px;
        height: 92px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0);
        transition: all 0.3s;
      }
      p.dark-text {
        opacity: 1;
        visibility: visible;
        height: 140px;
        padding-bottom: 30px;
      }
    }
  }
}

@media screen and (max-width: 1000px) {
  .about-certifications-wrapper {
    grid-template-columns: 1fr;

    gap: 50px;
  }
  .about-certifications {
    grid-template-columns: 1fr 1fr 1fr 1fr;

    justify-items: stretch;
    align-content: space-between;
  }

  .about-youtube-video-container {
    width: min(100%, 351px);
    margin-top: -120px;
  }

  .about-blue-section {
    .row-img-and-texts {
      grid-template-columns: 1fr 1fr;
      gap: 50px;
    }
  }

  .about-blue-section-cards {
    .cards {
      grid-template-columns: 1fr 1fr;
    }
  }
}

@media screen and (max-width: 750px) {
  .about-texts-wrapper {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .about-certifications {
    grid-template-columns: 1fr;

    justify-items: center;
    align-content: end;
  }

  .about-texts-wrapper-first-list {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-youtube-video-wrapper {
    justify-content: center;
  }

  .about-youtube-video-container {
    width: min(100%, 351px);
    margin-top: -120px;
  }

  .meet-our-structure-card {
    .row {
      flex-direction: column;
      align-items: flex-start;
    }

    .description {
      width: 100%;
    }
  }

  .location-icon-wrapper {
    align-self: center;
  }

  .about-blue-section {
    .row-img-and-texts {
      grid-template-columns: 1fr;
      gap: 50px;
    }
  }

  .about-blue-section-cards {
    .cards {
      grid-template-columns: 1fr;

      padding-bottom: 90px;
    }
  }
}

/* General styling */
.about-youtube-video,
.home-youtube-video {
  position: relative;
  display: inline-block;
}

.about-youtube-video .play,
.home-youtube-video .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* Modal styles */
.about-youtube-video .modal,
.home-youtube-video .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.about-youtube-video .modal-overlay,
.home-youtube-video .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-youtube-video .modal-content,
.home-youtube-video .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 851px;
  width: 100%;
  margin: auto;
  z-index: 2;
  height: 50vh;
}

.about-youtube-video .modal-content iframe,
.home-youtube-video .modal-content iframe {
  width: 100%;
  height: 100%;
}

.about-youtube-video .close-btn,
.home-youtube-video .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  z-index: 3;
}

.company-culture-container {
  width: 100%;
  height: auto;
  margin-top: 111px;
}

.company-culture-container-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.company-culture-container-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 47px;
  border-radius: 24px;
  background: #efeef6;

  gap: 20px;

  .icon {
    width: 100px;
    height: 100px;
    background: #000;
  }

  .company-culture-container-card-title {
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.48px;
    color: #1b183f;
  }

  .company-culture-container-card-text {
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    margin-top: 12px;
    color: #242054;
  }
}

@media (max-width: 750px) {
  .company-culture-container-card-list {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .company-culture-container-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

.values-carousel {
  width: 100%;
  margin-top: 72px;
}

.values-carousel .values-title {
  color: #1b183f;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.56px;
  margin-bottom: 37px;
}

.values-carousel .values-carousel-list {
}

.company-culture-container-card-wrapper {
  width: 100%;
}

.values-carousel .time-line-list-1 .time-line-card {
  width: 100%;
}
.values-carousel .time-line-list-1 .company-culture-container-card {
  flex-direction: column;
  align-items: center;
  min-height: 448px;
  cursor: pointer;
  transition: 0.5s;
  /*max-width: 334px !important;*/
  width: 100%;
  perspective: 1000px;

  .company-culture-container-card-image-wrapper {
    width: auto;
    height: 84px;
  }

  .company-culture-container-card-title {
    text-align: center;
  }

  .company-culture-container-card-text-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform-style: preserve-3d;
  }

  .company-culture-container-card-text {
    height: 2px;
    transition: 0.5s;
    text-align: center;
    opacity: 0;
  }
}

.values-carousel .time-line-list-1 .company-culture-container-card:hover {
  .company-culture-container-card-text {
    height: 200px;
    opacity: 1;
  }

  .company-culture-container-card-image-wrapper {
    display: none;
  }
}
