/*=========================
    EXPERTISE SECTION
==========================*/

.expertise-section {
    padding: 120px  ;
    background: #F8F9FC;
    overflow: hidden;
}

.expertise-section .container {
    max-width: 1440px;
    
    /* padding: 0 60px; */
}

/*=========================
    HEADER
==========================*/

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* gap: 60px; */
    margin-bottom: 70px;
    width: 100%;
    
}

.expertise-content {
    max-width: 720px;
    flex: 1;
}

.section-small-title {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6A7382;
}

.section-title {
    font-size: 56px;
    line-height: 1.08;
    font-weight: 600;
    color: #071A35;
    margin-bottom: 24px;
}

.section-title span {
    color: #FF8A2A;
}

.section-description {
    max-width: 560px;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: #122560;
}
.section-small-title{
    
    align-items:center;
    gap:12px;
}

.dots{
    display:flex;
    gap:6px;
    margin-bottom: 33px;
}

.dots span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#F68B1F;
}

/*=========================
    BUTTON
==========================*/

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
       padding: 2px 15px;
    border-radius: 60px;
    background: #FF8A2A;
    color: #fff;
    text-decoration: none;
    transition: .35s;
    white-space: nowrap;
margin-bottom: 0;
   
    align-self: flex-start;
    margin-top:0;
    margin-left:auto;
    transform:translateX(200px);
   
}

.view-all-btn:hover {
    transform: translateY(-3px);
}

.btn-arrow {
    width: 42px;
    height: 42px;
    /* border-radius: 50%; */
    /* background: rgba(255,255,255,.18); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow svg {
    width: 18px;
    height: 18px;
}

.btn-arrow path {
    stroke: #fff;
}

/*=========================
    SLIDER
==========================*/

.slider-container {
    overflow: hidden;
    /* width: 100vw; */
    /* margin-left:calc(-50vw + 50%);
     padding-left:calc((100vw - 1320px) / 2); */
      width: calc(100vw - 120px);    /* space so the last card fully reveals */
    box-sizing: border-box;
}

.track {
    display: flex;
    gap: 18px;
    transition: transform .45s ease;
    will-change: transform;
    width:max-content;                 /* let it size to all cards */
   
}


/*=========================
    CARD
==========================*/

.card {
    position: relative;
    flex: 0 0 280px;
    height: 280px;
   
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #142742;
}
.card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:#1E4B93;
    z-index:20;
}

.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s;
}

.card:hover .bg {
    transform: scale(1.08);
}

.legibility {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.08),
        rgba(0,0,0,.45)
    );
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(40,78,145,.28);
    transition:.4s ease;
    z-index:2;
}

.card:hover .overlay{
    background:rgba(25,65,135,.55);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 30px;
}
.card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#1B4A8F;
    z-index:20;
}

.icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    /* background: rgba(255,255,255,.15); */
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.icon svg{
    width:34px;
    height:34px;
    stroke:#fff;
    transition:.35s;
}

.card:hover .icon svg{
    stroke:#FF8A2A;
}

.title {
    margin-top: auto;
    margin-bottom: 43px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
}

.go {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FF8A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.go svg {
    width: 22px;
    height: 22px;
}

.go path {
    stroke: #fff;
}

.card:hover .go {
    transform: rotate(45deg);
}

/*=========================
    NAVIGATION
==========================*/

/* Navigation */
.slider-navigation {
    display: flex;
    gap: 14px;
    margin-top: 50px;
}

.slider-btn {
    width: 54px;
    height: 54px;
    border: 1.5px solid #F68B1F;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
    padding: 0;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    overflow: visible;
}

.slider-btn svg path {
    fill: none !important;
    stroke: #F68B1F !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-btn:hover {
    background: #F68B1F;
}

.slider-btn:hover svg path {
    stroke: #fff !important;
}
/*=========================
    RESPONSIVE
==========================*/

@media (max-width:1200px) {

    .expertise-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 46px;
    }

    .card {
        flex: 0 0 250px;
        height: 420px;
    }

}

@media (max-width:992px) {

    .expertise-section {
        padding: 90px 0;
    }

    .expertise-section .container {
        /* padding: 0 30px; */
    }

    .section-title {
        font-size: 38px;
    }

    .card {
        flex: 0 0 230px;
        height: 390px;
    }

    .title {
        font-size: 24px;
    }

}

/* =========================================================
   EXPERTISE SECTION - MOBILE
========================================================= */
@media (max-width: 768px) {

    /* =========================
       SLIDER VIEWPORT
    ========================= */

    .expertise-section .slider-container {
        width: 100%;
        overflow: hidden !important;
        position: relative;
    }


    /* =========================
       TRACK
    ========================= */

    .expertise-section .track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 10px;

        width: auto !important;

        padding-left: 20px;
        padding-right: 20px;

        overflow: visible !important;

        transition:
            transform 0.45s
            cubic-bezier(.22, .61, .36, 1);

        will-change: transform;
    }


    /* =========================
       CARD
    ========================= */

    .expertise-section .card {
        position: relative;

        flex: 0 0 62vw !important;

        width: 62vw !important;
        min-width: 62vw !important;
        max-width: 62vw !important;

        height: 220px !important;

        display: block !important;

        overflow: hidden;

        opacity: 1 !important;
        visibility: visible !important;

        background: #142742;
    }


    /* =========================
       BACKGROUND IMAGE
    ========================= */

    .expertise-section .card .bg {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        display: block !important;

        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none;
    }


    /* =========================
       CARD CONTENT
    ========================= */

    .expertise-section .card-content {
        position: relative;

        z-index: 5;

        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;

        padding: 18px 15px 12px;
    }


    .expertise-section .icon {
        width: 34px;
        height: 34px;
    }


    .expertise-section .icon img {
        width: 25px;
        height: 25px;

        object-fit: contain;
    }


    .expertise-section .title {
        margin-top: auto;
        margin-bottom: 22px;

        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;

        color: #fff;
    }


    .expertise-section .go {
        width: 25px;
        height: 25px;

        flex: 0 0 25px;
    }


    /* =========================
       NAVIGATION
    ========================= */

    .expertise-section .slider-navigation {
        display: flex;

        justify-content: flex-end;
        align-items: center;

        gap: 10px;

        width: 100%;

        margin-top: 20px;

        padding: 0 20px;
    }


    .expertise-section .slider-btn {
        width: 37px;
        height: 37px;

        flex: 0 0 37px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .expertise-section {
        padding-top: 38px;
    }


    .expertise-header {
        padding-left: 18px;
        padding-right: 18px;
    }


    .expertise-section .section-title {
        font-size: 25px;
    }


    .expertise-section .section-description {
        max-width: 290px;
        font-weight: 400;
        font-size: 12px;
        font-family: sans-serif;
        line-height: 1.55;
    }


    .expertise-section .track {
        padding-left: 18px;
        padding-right: 18px;
    }


    .expertise-section .card {
        flex-basis: 64vw;

        width: 64vw;
        min-width: 64vw;
        max-width: 64vw;

        height: 220px;
    }


    .expertise-section .slider-navigation {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width:480px) {

    .section-title {
        font-size: 28px;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
    }

    .card {
        flex: 0 0 100%;
        height: 360px;
    }

}