html {
    scroll-behavior: smooth;
  }


.page-header {
    position: relative; 
    padding: 80px 0; 
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
    }
    
    .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    }

.feature-item {
    display: flex;
    align-items: center;

    padding: 60px 0;
}


.feature-item--1 {
    --color: var(--accent-orange-400);
    --border-before: var(--primary-blue-500);
    --border-after: var(--accent-orange-400);
}

.feature-item--2 {
    --color: var(--accent-orange-400);
    --border-before: var(--accent-orange-400);
    --border-after: var(--primary-blue-500);
}

.feature-item--3 {
    --color: var(--primary-blue-500);
    --border-before: var(--primary-blue-500);
    --border-after: var(--primary-blue-500);
}
.feature-item--4 {
    --color: var(--primary-blue-700);
    --border-before: var(--primary-blue-700);
    --border-after: var(--primary-blue-500);
}
.feature-item--5 {
    --color: var(--primary-blue-900);
    --border-before: var(--primary-blue-500);
    --border-after: var(--primary-blue-900);
}


.feature-item--reverse {
    flex-direction: row-reverse;
}

.feature-item .feature-item__content-wrapper {
    justify-items: end;
}

.feature-item ul {
    justify-items: self-end;
    max-width: 655px;
}


.feature-item p {
   max-width: 655px;
   text-align: right;
}

.feature-item .feature-item__header {
    align-items: end;
}

.feature-item--reverse .feature-item__image {
    display: flex;
    justify-content: left;
}

.feature-item--reverse .feature-item__content-wrapper{
    justify-items: self-start;
}



.feature-item--reverse ul {
    justify-items: self-start;
}
.feature-item--reverse p{
    text-align: left;
}

.feature-item--reverse .feature-item__header {
    align-items: start;
}



.feature-item__image {
    display: flex;
    justify-content: right;

    flex-shrink: 0;
}

.feature-item__image img {
    max-height: 577px;
    width: auto;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item__content {
    width: 100%;
    position: relative;
    padding: 57px 0 57px 0px;
   
}

.feature-item__content-wrapper{
    width: 100%;
    position: relative;
    padding: 65px 77px 65px 38px;
    background-color: #F7FAFC;
}

.feature-item--reverse .feature-item__content {
    padding: 57px 35px 57px 0;
}

.feature-item--reverse .feature-item__content-wrapper {
    padding: 65px 38px 65px 77px;
}

.feature-item--2 .feature-item__content-wrapper,
.feature-item--4 .feature-item__content-wrapper{
    text-align: right;
    display: grid;
    justify-items: end;
    align-items: start;
}

.feature-item__content-wrapper::before {
    content: '';
    position: absolute;

    left: 50px;
    width: 4px;
    height: 60%;
    background-color: var(--border-before);
}

.feature-item__content-wrapper::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 58px;
    width: 4px;
    height: 60%;
    background-color: var(--border-after);
    border-radius: 5px;
}

.feature-item--reverse .feature-item__content-wrapper::before {
    left: auto;
    right: 50px;
}

.feature-item--reverse .feature-item__content-wrapper::after {
    left: auto;
    right: 58px;
}

/* .feature-item--1 .feature-item__content::before { background-color: var(--primary-blue-700); }
    .feature-item--1 .feature-item__content::after { background-color: var(--primary-blue-500); } */

.feature-item__header {
    display: flex;

    gap: 16px;
    margin-bottom: 16px;
    flex-direction: column;
}

.feature-item__header .meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color);
    flex-shrink: 0;
}

.feature-item__header h3 {
    font-size: 22px;
    font-weight: var(--font-weight-regular);
    margin: 0;
    color: var(--color);
}

.feature-item__header h3 strong {

    font-weight: var(--font-weight-bold);

}

.feature-item--2 .feature-item__header{
    align-items: flex-end;
    text-align: right;
}


.feature-item__content>p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--neutral-gray-700);
    margin-bottom: 24px;
}

.feature-item--2 .feature-item__content>p{
    text-align: right;
}

.feature-item__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.feature-item__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: var(--font-weight-regular);
    text-align: end;
    justify-content: flex-start;
}

.feature-item--reverse .feature-item__list li {

    text-align: left;
}

.feature-item--2 .feature-item__list,
.feature-item--4 .feature-item__list{
    align-items: end;
    justify-items: end;
}

.feature-item--2 .feature-item__list li,
.feature-item--4 .feature-item__list li{
    justify-content: flex-end;
    text-align: right;
    width: 100%;
}

.feature-item__list li .icon {
    background-color: var(--color);
}


@media (max-width: 768px) {
    .feature-item{
        flex-direction: column-reverse;
        padding:30px 0;
    }

    .feature-item__header {
        align-items: center!important;
        justify-self: center;
    }

    .feature-item p {
        text-align: center;
    }

    .feature-item .feature-item__content-wrapper::before {

        bottom: 10px;
        right: 100px;
        left: auto;
    }

    .feature-item__content-wrapper::before {
        width: 60%;
        height: 4px;
    }


    .feature-item .feature-item__content-wrapper::after {

        right: auto;
        bottom: 0;
        left: 100px;
    }

    .feature-item__content-wrapper::after {
        width: 60%;
        height: 4px;
        top:auto;
    }

    .feature-item__content-wrapper {
        padding: 0px 20px 50px 20px;
    }

    .feature-item ul{
        justify-items:normal;
    }

   .feature-item__list li {
    margin-right: auto;
        flex-direction: row-reverse;
    }


    .feature-item--reverse .feature-item__list li {
        flex-direction: row;
    }

    .feature-item--reverse .feature-item__content-wrapper {
        padding: 65px 35px 65px 35px;
    }

    .feature-item__content-wrapper {
        padding: 65px 35px 65px 38px;
    }
}
