/* Industries */
/* =========================================================
   ROOT / COLOR SYSTEM
========================================================= */

.eccrm-industry-section {

    --eccrm-teal: #04a49c;
    --eccrm-gray: #5b5c5c;

    position: relative;

    width: 100%;

    padding: 50px 20px;

    overflow: hidden;

    background: transparent;

    box-sizing: border-box;
}


/* =========================================================
   RESET INSIDE SECTION
========================================================= */

.eccrm-industry-section *,
.eccrm-industry-section *::before,
.eccrm-industry-section *::after {

    box-sizing: border-box;
}


.eccrm-industry-section button,
.eccrm-industry-section a {

    font-family: inherit;

}


/* =========================================================
   CONTAINER
========================================================= */

.eccrm-industry-container {

    width: min(1240px, 100%);

    margin: 0 auto;

    position: relative;

    z-index: 5;
}


/* =========================================================
   HEADER
========================================================= */

.eccrm-industry-header {

    max-width: 760px;

    margin-bottom: 34px;
}


.eccrm-industry-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    border: 1px solid rgba(4, 164, 156, .30);

    border-radius: 100px;

    color: var(--eccrm-teal);

    background: rgba(4, 164, 156, .06);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.eccrm-badge-dot {

    width: 7px;

    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--eccrm-teal);

    box-shadow:
        0 0 0 4px rgba(4, 164, 156, .08);
}


.eccrm-industry-header h2 {

    margin: 14px 0 8px;

    color: var(--eccrm-gray);

    font-size: 35px;

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.8px;
}


.eccrm-industry-header h2 span {

    color: var(--eccrm-teal);
}


.eccrm-industry-header p {

    margin: 0;

    max-width: 690px;

    color: var(--eccrm-gray);

    font-size: 16px;

    line-height: 1.65;
    font-weight: 500;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.eccrm-industry-main {

    display: grid;

    grid-template-columns:
        minmax(0, 1.65fr) minmax(330px, .75fr);

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   INDUSTRY GRID
========================================================= */

.eccrm-industry-grid {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;
}


/* =========================================================
   INDUSTRY CARD
========================================================= */

.eccrm-industry-item {

    position: relative;

    min-width: 0;

    min-height: 108px;

    padding: 14px 7px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid rgba(91, 92, 92, .13);

    border-radius: 15px;

    background: rgba(255, 255, 255, .80);

    color: var(--eccrm-gray);

    cursor: pointer;

    text-align: center;

    outline: none;

    transition:
        transform .3s cubic-bezier(.2, .8, .2, 1),
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


/* top highlight */

.eccrm-industry-item::before {

    content: "";

    position: absolute;

    top: 0;

    left: 20px;

    right: 20px;

    height: 2px;

    border-radius: 0 0 10px 10px;

    background: transparent;

    transition:
        background .3s ease,
        left .3s ease,
        right .3s ease;
}


/* hover */

.eccrm-industry-item:hover {

    transform: translateY(-4px);

    border-color:
        rgba(4, 164, 156, .45);

    box-shadow:
        0 14px 30px rgba(4, 164, 156, .10);

    background: rgba(255, 255, 255, .98);
}


/* active */

.eccrm-industry-item.active {

    border-color: var(--eccrm-teal);

    background:
        linear-gradient(145deg,
            rgba(4, 164, 156, .07),
            rgba(255, 255, 255, .98));

    box-shadow:
        0 15px 35px rgba(4, 164, 156, .12);
}


.eccrm-industry-item.active::before {

    /* left: 0;

    right: 0; */

    background: var(--eccrm-teal);
}


/* =========================================================
   ICON
========================================================= */

.eccrm-industry-icon {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: var(--eccrm-teal);

    background:
        rgba(4, 164, 156, .10);

    transition:
        transform .3s ease,
        background .3s ease;
}


.eccrm-industry-item:hover .eccrm-industry-icon {

    transform:
        translateY(-2px) scale(1.06);

    background:
        rgba(4, 164, 156, .15);
}


.eccrm-industry-item.active .eccrm-industry-icon {

    background:
        rgba(4, 164, 156, .15);

    box-shadow:
        0 7px 18px rgba(4, 164, 156, .12);
}


.eccrm-industry-icon svg {

    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   INDUSTRY NAME
========================================================= */

.eccrm-industry-name {

    display: block;

    max-width: 100%;

    color: var(--eccrm-gray);

    font-size: 13px;

    line-height: 1.25;

    font-weight: 700;
}


.eccrm-industry-item.active .eccrm-industry-name {

    color: var(--eccrm-teal);
}


/* =========================================================
   DETAIL CARD
========================================================= */

.eccrm-industry-detail {

    position: relative;

    min-height: 100%;

    overflow: hidden;

    border: 1px solid rgba(4, 164, 156, .20);

    border-radius: 23px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .98),
            rgba(4, 164, 156, .07));

    box-shadow:
        0 20px 45px rgba(4, 164, 156, .09);

    transition:
        box-shadow .3s ease;
}


.eccrm-industry-detail:hover {

    box-shadow:
        0 25px 55px rgba(4, 164, 156, .14);
}


/* =========================================================
   DETAIL DECORATION
========================================================= */

.eccrm-industry-detail::before {

    content: "";

    position: absolute;

    width: 240px;

    height: 240px;

    right: -130px;

    top: -130px;

    border-radius: 50%;

    border: 1px solid rgba(4, 164, 156, .13);

    box-shadow:
        0 0 0 30px rgba(4, 164, 156, .025),
        0 0 0 60px rgba(4, 164, 156, .018);
}


.eccrm-industry-detail::after {

    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    left: -125px;

    bottom: -125px;

    border-radius: 50%;

    border: 1px solid rgba(4, 164, 156, .10);
}


/* =========================================================
   DETAIL CONTENT
========================================================= */

.eccrm-detail-content {

    position: relative;

    z-index: 3;

    height: 100%;

    padding: 28px 27px 25px;

    display: flex;

    flex-direction: column;
}


/* =========================================================
   DETAIL TOP
========================================================= */

.eccrm-detail-top {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 19px;
}


.eccrm-detail-icon {

    width: 49px;

    height: 49px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    color: var(--eccrm-teal);

    background:
        rgba(4, 164, 156, .12);

    box-shadow:
        inset 0 0 0 1px rgba(4, 164, 156, .07);
}


.eccrm-detail-icon svg {

    width: 25px;

    height: 25px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.eccrm-detail-label {

    color: var(--eccrm-teal);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   DETAIL TITLE
========================================================= */

.eccrm-industry-detail h3 {

    margin: 0 0 11px;

    max-width: 340px;

    color: var(--eccrm-gray);

    font-size: clamp(23px, 2vw, 30px);

    line-height: 1.08;

    letter-spacing: -.8px;

    font-weight: 800;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.eccrm-industry-detail>.eccrm-detail-content>p {

    margin: 0 0 18px;

    color: var(--eccrm-gray);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   FEATURES
========================================================= */

.eccrm-detail-features {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-bottom: 21px;
}


.eccrm-detail-features>div {

    display: flex;

    align-items: flex-start;

    gap: 8px;
}


.eccrm-detail-features span {

    width: 17px;

    height: 17px;

    flex: 0 0 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: var(--eccrm-teal);

    font-size: 9px;

    font-weight: 900;

    margin-top: 1px;
}


.eccrm-detail-features p {

    margin: 0;

    color: var(--eccrm-gray);

    font-size: 13px;

    line-height: 1.45;

    font-weight: 600;
}


/* =========================================================
   DETAIL CTA
========================================================= */

.eccrm-detail-button {

    width: fit-content;

    max-width: 100%;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: auto;

    padding: 11px 15px;

    border-radius: 9px;

    color: #ffffff;

    background: var(--eccrm-teal);

    box-shadow:
        0 9px 22px rgba(4, 164, 156, .20);

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.eccrm-detail-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 14px 28px rgba(4, 164, 156, .28);
    color: #fff;
}


.eccrm-detail-button svg {

    width: 15px;

    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition:
        transform .25s ease;
}


.eccrm-detail-button:hover svg {

    transform: translateX(4px);
}


/* =========================================================
   VIEW ALL
========================================================= */

.eccrm-industry-view-all {

    display: flex;

    justify-content: center;

    margin-top: 27px;
}


.eccrm-view-all-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 11px 17px;

    border-radius: 100px;

    color: #ffffff;

    background: var(--eccrm-teal);

    box-shadow:
        0 10px 23px rgba(4, 164, 156, .18);

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.eccrm-view-all-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 28px rgba(4, 164, 156, .25);
    color: #fff;
}


.eccrm-view-all-button svg {

    width: 15px;

    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition:
        transform .25s ease;
}


.eccrm-view-all-button:hover svg {

    transform: translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .eccrm-industry-section {

        padding: 70px 18px;
    }


    .eccrm-industry-main {

        grid-template-columns: 1fr;
    }


    .eccrm-industry-grid {

        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }


    .eccrm-industry-detail {

        min-height: 330px;
    }


    .eccrm-detail-content {

        padding: 27px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {

    .eccrm-industry-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 9px;
    }


    .eccrm-industry-item {

        min-height: 100px;
    }


    .eccrm-industry-header h2 {

        font-size: 38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .eccrm-industry-section {

        padding: 55px 14px;
    }


    .eccrm-industry-header {

        margin-bottom: 24px;
    }


    .eccrm-industry-badge {

        font-size: 10px;

        padding: 6px 11px;
    }


    .eccrm-industry-header h2 {

        margin-top: 13px;

        font-size: 28px;

        line-height: 1.08;

        letter-spacing: -1px;
    }


    .eccrm-industry-header p {

        font-size: 13px;

        line-height: 1.6;
    }


    /* 2-column mobile grid */

    .eccrm-industry-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .eccrm-industry-item {

        min-height: 94px;

        padding: 12px 7px;

        border-radius: 13px;

        gap: 8px;
    }


    .eccrm-industry-icon {

        width: 39px;

        height: 39px;

        border-radius: 11px;
    }


    .eccrm-industry-icon svg {

        width: 20px;

        height: 20px;
    }


    .eccrm-industry-name {

        font-size: 13px;
    }


    /* Detail */

    .eccrm-industry-detail {

        min-height: auto;

        border-radius: 20px;
    }


    .eccrm-detail-content {

        padding: 24px 20px;
    }


    .eccrm-detail-top {

        margin-bottom: 17px;
    }


    .eccrm-detail-icon {

        width: 45px;

        height: 45px;

        border-radius: 12px;
    }


    .eccrm-detail-icon svg {

        width: 23px;

        height: 23px;
    }


    .eccrm-detail-label {

        font-size: 12px;
    }


    .eccrm-industry-detail h3 {

        font-size: 24px;

        max-width: 100%;
    }


    .eccrm-industry-detail>.eccrm-detail-content>p {

        font-size: 13px;
    }


    .eccrm-detail-features {

        gap: 8px;
    }


    .eccrm-detail-features p {

        font-size: 13px;
    }


    .eccrm-detail-button {

        width: 100%;

        padding: 12px 15px;

        font-size: 13px;
    }


    .eccrm-industry-view-all {

        margin-top: 20px;
    }


    .eccrm-view-all-button {

        width: 100%;

        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .eccrm-industry-section {

        padding-left: 11px;

        padding-right: 11px;
    }


    .eccrm-industry-grid {

        gap: 7px;
    }


    .eccrm-industry-item {

        min-height: 88px;

        padding: 10px 5px;
    }


    .eccrm-industry-icon {

        width: 36px;

        height: 36px;
    }


    .eccrm-industry-icon svg {

        width: 18px;

        height: 18px;
    }


    .eccrm-industry-name {

        font-size: 13px;
    }


    .eccrm-industry-header h2 {

        font-size: 27px;
    }

}