.card,.features {
    overflow: hidden
}

.card, .h3,.text-content h2 {
    font-size: 20px;
    font-weight: 600
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'work sans',serif
}

.features {
    background: url(../img/feature_pattern.png) #ebf7ebe0!important;
    padding: 2.8rem 0;
    position: relative
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px,rgba(0,0,0,.1) 1px,transparent 0);
    background-size: 40px 40px;
    opacity: .5
}

.features-content {
    position: relative;
    z-index: 1
}

.grid-container {
    display: grid;
    grid-template-columns: 100%;
    align-items: center
}

.text-content {
    padding-right: 1rem
}

.text-content p {
    color: #111;
    line-height: 1.4
}

.card, .h3, .card-icon {
    vertical-align: middle;
    color: #fff
}

.text-content h2 {
    margin-bottom: 1rem;
    background: linear-gradient(45deg,#212529,#212529);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.3rem
}

.card {
    background-color: #7636d4;
    padding: 1rem .8rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transition: .4s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: .75rem
}

.card-icon {
    display: inline-flex;
    align-items: center;
    margin-right: .75rem
}

.card:hover .card-icon {
    transform: scale(1.1)
}

.card, .h3 {
    display: inline-block;
    margin: 0
}

.card p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5
}

.card .arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #fff;
    transition: transform .3s
}

.card:hover .arrow {
    transform: translateX(5px)
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,rgba(255,255,255,.1),rgba(255,255,255,.2));
    opacity: 0;
    transition: opacity .3s
}

.card:hover .card-overlay {
    opacity: 1
}

.animate-text {
    opacity: 0;
    animation: .8s forwards fadeInUp;
    color: #fff
}

.animate-text-delay {
    opacity: 0;
    animation: .8s .2s forwards fadeInUp
}

.custom-list li,.feature-content {
    font-size: 1rem;
    color: #fff
}

.custom-list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem 1rem;
    margin-top: 1rem
}

.custom-list li {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
    gap: .5rem;
    line-height: 1.4;
    align-items: flex-start
}

.custom-list svg {
    width: 1rem;
    height: 1rem;
    color: #fff;
    flex-shrink: 0
}

.custom-list span {
    line-height: 1.2;
    text-align: left
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 767px) {
    .grid-container {
        grid-template-columns:1fr;
        text-align: center;
        gap: 2rem
    }

    .text-content {
        padding-right: 0;
        text-align: center
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .features {
        padding: 1.2rem .1rem;
        margin-top: 0
    }

    .card-header {
        justify-content: center
    }

    .custom-list {
        grid-template-columns: 1fr;
        padding-left: 90px
    }
}

@media (min-width: 768px) and (max-width:1024px) {
    .grid-container {
        grid-template-columns:1fr;
        gap: 2rem
    }

    .cards-container {
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem
    }

    .text-content {
        padding-right: 0;
        text-align: center
    }
}
