/* =========================================
   COMPANY SHOWCASE
========================================= */

.company-showcase {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background: #f5f2ec;
    isolation: isolate;
}


/* =========================================
   BACKGROUND SHAPES
========================================= */

.showcase-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    filter: blur(0);
}

.showcase-shape-left {
    width: 520px;
    height: 520px;
    left: -260px;
    bottom: -300px;
    background: #4d8df7;
    border-radius: 50%;
}

.showcase-shape-right {
    width: 620px;
    height: 420px;
    right: -180px;
    top: -220px;
    background: #3fe98b;
    border-radius: 48% 52% 55% 45%;
    transform: rotate(-8deg);
}


/* =========================================
   HEADER
========================================= */

.showcase-header {
    max-width: 720px;
    margin: 0 auto 55px;
    padding: 0 20px;
}

.showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #555;

    margin-bottom: 18px;
}

.showcase-eyebrow span {
    width: 28px;
    height: 2px;
    display: inline-block;
    background: #111;
}

.showcase-header h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    font-weight: 400;
    color: #161616;
}

.showcase-header h2 strong {
    font-weight: 750;
}

.showcase-header p {
    max-width: 600px;
    margin: 22px auto 0;

    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   SWIPER
========================================= */

.companySwiper {
    width: 100%;
    overflow: visible;
    padding: 35px 0 75px;
}

.companySwiper .swiper-wrapper {
    align-items: center;
}

.companySwiper .swiper-slide {
    width: 370px;
    height: auto;

    transition:
        transform .6s cubic-bezier(.22,.61,.36,1),
        opacity .5s ease;
}


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

.company-card {
    position: relative;
    overflow: hidden;

    background: #fff;
    border-radius: 24px;

    box-shadow:
        0 18px 55px rgba(0,0,0,.09);

    transition:
        transform .55s cubic-bezier(.22,.61,.36,1),
        box-shadow .55s ease;
}


/* =========================================
   IMAGE
========================================= */

.company-image {
    position: relative;
    height: 290px;
    overflow: hidden;

    background: #e8e8e8;
}

.company-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1);
}


/* image zoom */

.company-card:hover .company-image img {
    transform: scale(1.07);
}


/* =========================================
   CONTENT
========================================= */

.company-content {
    position: relative;
    padding: 27px 30px 32px;
    min-height: 245px;
}

.company-number {
    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #999;
}

.company-content h3 {
    margin: 0 0 12px;

    font-size: 25px;
    line-height: 1.15;

    color: #171717;
    letter-spacing: -.7px;
}

.company-content p {
    margin: 0;

    color: #707070;

    font-size: 14px;
    line-height: 1.7;

    max-width: 300px;
}


/* =========================================
   LINK
========================================= */

.company-link {
    position: absolute;

    left: 30px;
    bottom: 25px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #222;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: gap .3s ease;
}

.company-link span {
    font-size: 17px;
    transition: transform .3s ease;
}

.company-link:hover {
    color: #111;
    gap: 13px;
}

.company-link:hover span {
    transform: translateX(3px);
}


/* =========================================
   BOSCH
========================================= */

.bosch-overlay {
    position: absolute;

    left: 18px;
    top: 18px;

    padding: 9px 13px;

    border-radius: 10px;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
}

.bosch-overlay span {
    font-size: 16px;
    font-weight: 800;
    color: #e20015;
    letter-spacing: .5px;
}

.bosch-overlay small {
    margin-top: 2px;
    font-size: 9px;
    color: #333;
    font-weight: 600;
}

.bosch-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bosch-title h3 {
    margin-bottom: 0;
}

.bosch-mini-logo {
    width: 32px;
    height: 32px;

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

    border: 2px solid #222;
    border-radius: 50%;

    font-size: 15px;
    font-weight: 800;
}


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

.companySwiper .swiper-slide-active {
    z-index: 5;
}

.companySwiper .swiper-slide-active .company-card {
    transform: scale(1.04);
    box-shadow:
        0 28px 70px rgba(0,0,0,.15);
}


/* =========================================
   SIDE CARDS
========================================= */

.companySwiper .swiper-slide-prev .company-card {
    transform: rotate(-5deg) scale(.92);
}

.companySwiper .swiper-slide-next .company-card {
    transform: rotate(5deg) scale(.92);
}


/* =========================================
   CONTROLS
========================================= */

.company-controls {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 18px;

    z-index: 20;
}

.company-prev,
.company-next {
    width: 46px;
    height: 46px;

    border: 1px solid rgba(0,0,0,.12);
    border-radius: 50%;

    background: rgba(255,255,255,.85);

    color: #222;

    font-size: 18px;

    cursor: pointer;

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

.company-prev:hover,
.company-next:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.company-pagination {
    width: auto !important;
}

.company-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    opacity: .3;

    margin: 0 4px !important;

    transition:
        width .3s ease,
        opacity .3s ease;
}

.company-pagination .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    opacity: 1;
}


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

@media (max-width: 991px) {

    .company-showcase {
        padding: 85px 0 75px;
    }

    .company-header {
        margin-bottom: 35px;
    }

    .companySwiper {
        padding-top: 25px;
    }

    .companySwiper .swiper-slide {
        width: 340px;
    }

    .company-image {
        height: 260px;
    }

    .company-content {
        min-height: 230px;
    }

}


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

@media (max-width: 767px) {

    .company-showcase {
        padding: 70px 0 70px;
    }

    .showcase-header {
        margin-bottom: 25px;
    }

    .showcase-header h2 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .showcase-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .companySwiper {
        padding-top: 20px;
        padding-bottom: 65px;
    }

    .companySwiper .swiper-slide {
        width: 82vw;
        max-width: 360px;
    }

    .companySwiper .swiper-slide-active .company-card {
        transform: scale(1);
    }

    .companySwiper .swiper-slide-prev .company-card {
        transform: rotate(-3deg) scale(.94);
    }

    .companySwiper .swiper-slide-next .company-card {
        transform: rotate(3deg) scale(.94);
    }

    .company-image {
        height: 235px;
    }

    .company-content {
        padding: 23px 24px 30px;
        min-height: 225px;
    }

    .company-content h3 {
        font-size: 22px;
    }

    .company-content p {
        font-size: 13px;
    }

    .company-link {
        left: 24px;
        bottom: 22px;
    }

    .showcase-shape-left {
        width: 330px;
        height: 330px;
        left: -220px;
        bottom: -180px;
    }

    .showcase-shape-right {
        width: 380px;
        height: 300px;
        right: -200px;
        top: -180px;
    }

}