/* ==========================================
   FEATURED SOLUTIONS
========================================== */

.featured-solutions-section {
    position: relative;
    padding: 100px 0 90px;
    background: #f5f5f5;
    overflow: hidden;
}


/* ==========================================
   HEADING
========================================== */

.featured-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 42px;
}

.featured-kicker {
    display: block;
    color: #ff1717;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.featured-heading h2 {
    margin: 0;
    color: #151d22;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(48px, 5vw, 64px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.featured-heading p {
    margin: 20px auto 0;
    color: #7b8790;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================
   CAROUSEL
========================================== */

.featured-carousel {
    position: relative;
    width: 100%;
    padding: 0 70px;
}


/* Viewport */

.featured-viewport {
    width: 100%;
    overflow: hidden;
}


/* Track */

.featured-track {
    display: flex;
    gap: 24px;
    transition: transform .65s cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
}


/* ==========================================
   CARD
========================================== */

.featured-card {
    position: relative;
    flex: 0 0 calc((100% - 72px) / 4);
    min-height: 382px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}


/* Active card */

.featured-card.active {
    transform: translateY(-12px);
    border-color: #ffffff;
    box-shadow: 0 25px 55px rgba(0, 0, 0, .12);
}


/* Red line below active card */

.featured-card.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 125px;
    height: 3px;
    background: #ff1717;
    transform: translateX(-50%);
}


/* ==========================================
   ICON
========================================== */

.featured-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    background: #ff1010;
    color: #ffffff;
    font-size: 27px;
}

.featured-card h3 {
    min-height: 62px;
    margin: 0 0 18px;
    color: #182229;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    line-height: 1.18;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-card p {
    min-height: 92px;
    margin: 0 0 20px;
    color: #78838d;
    font-size: 15.5px;
    line-height: 1.8;
}

.featured-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #172027;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.featured-card a i {
    font-size: 17px;
    transition: transform .3s ease;
}

.featured-card a:hover {
    color: #ff1717;
}

.featured-card a:hover i {
    transform: translate(3px, -3px);
}


/* ==========================================
   ARROWS
========================================== */

.featured-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    width: 62px;
    height: 62px;

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

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #162027;

    font-size: 24px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transform: translateY(-50%);

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.featured-arrow:hover {
    background: #ff1717;
    color: #ffffff;
}

.featured-prev {
    left: 0;
}

.featured-next {
    right: 0;
}


/* ==========================================
   DOTS
========================================== */

.featured-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 45px;
}

.featured-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d4d9dc;
    cursor: pointer;
    transition: all .3s ease;
}

.featured-dot.active {
    width: 12px;
    height: 12px;
    background: #ff1717;
    transform: scale(1.1);
}


/* ==========================================
   HOVER EFFECT
========================================== */

.featured-card:not(.active):hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    .featured-card {
        flex: 0 0 calc((100% - 48px) / 3);
    }

    .featured-carousel {
        padding: 0 55px;
    }

}


/* ==========================================
   TABLET SMALL
========================================== */

@media (max-width: 991px) {

    .featured-solutions-section {
        padding: 80px 0;
    }

    .featured-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .featured-card h3 {
        font-size: 23px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .featured-solutions-section {
        padding: 70px 0;
    }

    .featured-heading {
        padding: 0 20px;
        margin-bottom: 35px;
    }

    .featured-kicker {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .featured-heading h2 {
        font-size: 43px;
    }

    .featured-heading p {
        font-size: 14px;
    }

    .featured-carousel {
        padding: 0 45px;
    }

    .featured-card {
        flex: 0 0 100%;
        min-height: 365px;
        padding: 30px;
    }

    .featured-card.active {
        transform: none;
    }

    .featured-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .featured-prev {
        left: 5px;
    }

    .featured-next {
        right: 5px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .featured-heading h2 {
        font-size: 38px;
    }

    .featured-card {
        padding: 28px 24px;
    }

}