/* vars */
:root {
    --blue-100: #CFD7DD;
    --blue-200: #B7C4CD;
    --blue-300: #96A9B6;
    --blue-500: #637E92;
    --blue-2-500: #0088F0;
    --blue-600: #5A7385;
    --blue-700: #465968;
    --blue-800: #364550;
    --blue-900: #2A353D;
    --cinnabar: #E95B3C;

    --white: white;
}
/* END vars */

/* styles from index-page component */
.carousel-item img {
    max-width: 503px;
    max-height: 503px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
}

.carousel-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
}

.carousel-item img {
  max-width: 400px;
  height: auto;
}

.carousel-item h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

.carousel-item .description {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;

  button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;

    &.active {
      background: linear-gradient(102.86deg, #259efceb, #67b9f8);;
    }
  }
}

.carousel-slide {
  flex: 0 0 100%;
}

#images {
    position: relative;
}

#join {
    margin-top: 68px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 20px;
}

.carousel-arrow-left {
    left: -40px;
}

.carousel-arrow-right {
    right: -40px;
}

.carousel-arrow:hover {
    background: rgba(255,255,255,1);
}
/* END styles from index-page component */

/* styles from index-page module styles.scss */
.white {
    color: #fff !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

#why {
    max-width: 1302px;
    min-height: calc(100vh - 200px);

    >div:first-child {
        margin-right: auto;
        padding-top: 61px;
    }
}

.section-scroll-anchor {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100vh - 100px);
    z-index: 10;
}

.dashed-round-icon {
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3e%3ccircle cx='50' cy='50' r='40' fill='none' stroke='%23465968' stroke-width='2' stroke-dasharray='8,8' /%3e%3c/svg%3e");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
        color: var(--blue-800);
    }
}

p-carousel {
    max-width: 1279px;

    ::ng-deep.p-carousel .p-carousel-indicators .p-carousel-indicator button {
        background-color: #e9ecef;
        width: 12px;
        height: 12px;
        transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
        border-radius: 50%;
    }

    ::ng-deep.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
        background-color: #67b9f8;
        width: 12px;
        height: 12px;
        transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
        border-radius: 50%;
    }
}

#main-block {
    padding: 0 92px;
    background: linear-gradient(rgba(121, 126, 130, 0.16), #FCFDFE 27%);
}

h1 {
    font-size: 60px;
    color: var(--blue-800);
}

h2 {
    font-size: 32px;
    color: var(--blue-800);
    margin-top: 68px;
    &.accordion-header {
        margin-top: unset;
    }
}

h3 {
    font-size: 18px;
    max-width: 400px;
}

.section-block {
    margin-bottom: 68px;
    padding: unset;

    >div {
        max-width: 1279px;

        .description,
        .description-small {
            color: var(--blue-500);
            font-size: 16px;
            margin: 30px 0;
        }

        .description-small {
            font-size: 14px;
        }
    }
}

#images {
    a {
        color: #637E92;
    }

    .carousel-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    img {
        width: 100%;
        border-radius: 8px;
    }

    .text-center {
        padding: 20px;
    }

    .learn-more {
        margin-top: 15px;
    }

    img {
        margin-right: 108px;
    }
}

.signin,
.learn-more {
    background: linear-gradient(102.86deg, rgba(37, 158, 252, .92), #67b9f8);
    color: var(--white);
    border-radius: 100px;
    width: fit-content;
    padding: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    border: 0;

    i {
        margin-left: 12px;
        margin-top: 4px;
    }
}

.learn-more {
    background: var(--blue-800);
    color: var(--white) !important;
}

#features {
    h2 {
        max-width: 766px;
    }

    .drive-links {
        margin: 67px 0;
        width: 550px;
        border-bottom: 1px solid #EFF2F4;

        a {
            font-size: 14px;
            color: var(--fiord);
            margin: auto;
            height: 30px;
        }

        a.active {
            border-bottom: 1px solid #0088F0;
        }
    }
}

.step {
    padding: 0 !important;
    max-width: 952px !important;
    min-width: 359px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 68px;

    .absolute-image-top {
        position: absolute;
        left: 37%;
        top: -36px;
        height: 125px;
    }

    .absolute-image-bottom {
        position: absolute;
        left: 33%;
        bottom: -23px;
        width: 210px;
        height: 81px;
    }

    span {
        font-size: 48px;
        margin-right: 10px;
        font-weight: 800;
    }

    >div {
        max-width: 495px;
    }

    .description {
        color: var(--blue-50) !important;
    }
}

.step.last-step {
    max-width: 1224px;
    min-width: 1224px;
    margin-top: 213px;
    align-items: flex-start;

    h3 {
        font-weight: 500;
        font-size: 48px;
        max-width: 553px;
    }
}


#why {
    >div {
        max-width: 590px;
    }
}

#features-section {
    .features {
        max-width: 1309px;
        min-width: 359px;
        display: flex;
        margin-top: 148px;

        >div {
            margin-bottom: 128px;
        }

        p {
            width: 358px;
        }
    }
}

@media (max-width: 768px) {
    #features-section {
        margin-top: 50px;

        .features {
            flex-direction: column;
            width: 100%;

            >div {
                width: 335px;
                text-align: center !important;
            }
        }
    }

    #why>div {
        margin-right: 0;
    }

    #main-block {
        padding: 0 20px;
    }

    #images img {
        margin-right: 0;
    }

    .centered-text {
        text-align: center;

        .signin,
        .learn-more {
            margin: auto;
        }
    }

    .section-block>div {
        padding-right: 0;
    }

    .section-block {
        flex-direction: column;
        margin-bottom: 0;
    }

    .step {
        justify-content: flex-start;
        flex-direction: column;
    }

    #features {
        .drive-links {
            justify-content: flex-start;
            width: auto;

            a {
                font-size: 12px;
                width: 53px;
                margin-right: 8px;
            }
        }
    }

    .step.last-step {
        min-width: 0;
        margin-top: 0;
        width: 100%;
        align-items: normal;

        img {
            margin-bottom: 20px;
        }
    }
}

.blue-500 {
    color: var(--blue-500);
}

.blue-700 {
    color: var(--blue-700);
}

.blue-800 {
    color: var(--blue-800);
}

.cinnabar {
    color: var(--cinnabar);
}

.blue-2-500 {
    color: var(--blue-2-500);
}
/* styles from styles.scss */

/* styles from features component */
#features-section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 1302px;
  margin-top: 94px;
  align-items: flex-start;

  .features-left-column {
    width: 50%;
    padding-right: 1rem;

    .feature {
      max-width: 537px;
      margin-bottom: 200px;
    }
  }

  .feature-visuals {
    width: 50%;
    padding-left: 125px;

    .visual {
      margin-bottom: 200px;
      opacity: 1;
      visibility: visible;
      max-height: none;
      overflow: visible;
      transition: none;
    }
  }
}

.custom-vertical-border {
  background-image: url("data:image/svg+xml,%3csvg width='1' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='0' x2='0' y2='100%25' stroke='%23465968' stroke-width='1' stroke-dasharray='12%2c12' stroke-linecap='square'/%3e%3c/svg%3e");
  background-repeat: repeat-y;
  background-position: right top;
  background-size: 1px 100%;
}

#we-want-you {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3e%3crect width='100%25' height='100%25' rx='12' ry='12' fill='none' stroke='%23465968' stroke-width='1' stroke-dasharray='8%2c8' stroke-linecap='square'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-bottom: 213px;
}
/* END styles from features component */

/* styles from feature component */
.share-options > div {
    width: 536px;
}

.share-options > div:nth-child(odd) {
  margin-right: 120px;
  margin-bottom: 96px;
}

.share-options > div:nth-child(even) { 
  margin-bottom: 96px;
}

ul.text-muted, div.description {
    li {
        list-style-type: disc;
    }
}

div.description {
    ul {
        margin-left: 20px;
    }
}
/* END styles from feature component */