/* =========================================================
   INDUSTRIES WE SERVE
========================================================= */

.industries-section {

    position: relative;

    padding: 50px 0;

    background: var(--light);

    overflow: hidden;

}


/* =========================================================
   BACKGROUND
========================================================= */

.industries-bg {

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

}


.industry-grid-pattern {

    position: absolute;

    width: 500px;

    height: 500px;

    right: -150px;

    top: 80px;

    opacity: .5;

    background-image:

        linear-gradient(
            rgba(1, 87, 146, .07) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(1, 87, 146, .07) 1px,
            transparent 1px
        );

    background-size: 25px 25px;

    transform: rotate(8deg);

}


.industry-circle {

    position: absolute;

    border: 1px solid rgba(1, 87, 146, .09);

    border-radius: 50%;

}


.circle-left {

    width: 400px;

    height: 400px;

    left: -250px;

    bottom: -100px;

}


.circle-right {

    width: 300px;

    height: 300px;

    right: -130px;

    top: -100px;

}


.bg-ruler {

    position: absolute;

    left: 4%;

    top: 20%;

    color: var(--primary);

    opacity: .05;

    font-size: 130px;

    transform: rotate(-20deg);

}


.bg-gear {

    position: absolute;

    right: 3%;

    bottom: 12%;

    color: var(--primary);

    opacity: .05;

    font-size: 130px;

    animation:
        industryGearRotate 20s linear infinite;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.industries-heading {

    position: relative;

    z-index: 2;

    max-width: 780px;

    margin: 0 auto;

}


.industries-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom: 15px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.industries-label span {

    width: 42px;

    height: 3px;

    background: var(--primary);

    border-radius: 5px;

}


.industries-title {

    margin: 0;

    color: var(--black);

    font-size:
        clamp(34px, 4vw, 50px);

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1px;

}


.industries-title span {

    display: block;

    color: var(--primary);

}


.industries-description {

    max-width: 650px;

    margin: 18px auto 0;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   INDUSTRY CARD
========================================================= */

.industry-card {

    position: relative;

    height: 100%;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.04);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;

}


.industry-card:hover {

    transform:
        translateY(-10px);

    border-color: rgba(1,87,146,.20);

    box-shadow:
    0 20px 45px
    rgba(1,87,146,.13);

}


/* =========================================================
   IMAGE
========================================================= */

.industry-image {

    position: relative;

    height: 220px;

    overflow: hidden;

}


.industry-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .7s ease;

}


.industry-card:hover
.industry-image img {

    transform:
        scale(1.09);

}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.industry-overlay {

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        to top,
        rgba(1,68,111,.85),
        rgba(1,87,146,.15),
        transparent
    );

    opacity: .9;

    transition:
        opacity .4s ease;

}


.industry-card:hover
.industry-overlay {

    opacity: 1;

}


/* =========================================================
   NUMBER
========================================================= */

.industry-number {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.35);

    background:
    rgba(1,68,111,.55);

    backdrop-filter:
        blur(8px);

    color: var(--white);

    border-radius: 50%;

    font-size: 11px;

    font-weight: 800;

}


/* =========================================================
   INDUSTRY ICON
========================================================= */

.industry-icon {

    position: absolute;

    left: 20px;

    bottom: 20px;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.12);

    backdrop-filter:
        blur(8px);

    border-radius: 10px;

    color: var(--white);

    font-size: 22px;

    transition:
        all .4s ease;

}


.industry-card:hover
.industry-icon {

    background:
        var(--white);

    color:
        var(--primary);

    transform:
        translateY(-5px)
        rotate(-4deg);

}


/* =========================================================
   CONTENT
========================================================= */

.industry-content {

    padding: 22px;

}


.industry-content h4 {

    margin:
        0 0 8px;

    color:
        var(--black);

    font-size: 17px;

    font-weight: 750;

}


.industry-content p {

    min-height: 55px;

    margin:
        0 0 18px;

    color:
        var(--text);

    font-size: 11.5px;

    line-height: 1.7;

}


/* =========================================================
   LINK
========================================================= */

.industry-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--primary);

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    transition:
        var(--transition);

}


.industry-link i {

    transition:
        transform .3s ease;

}


.industry-link:hover {

    color:
        var(--primary-dark);

}


.industry-link:hover i {

    transform:
        translateX(5px);

}


/* =========================================================
   BOTTOM CTA
========================================================= */

.industry-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 50px;

    padding:
        20px 25px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

}


.industry-bottom-icon {

    flex-shrink: 0;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--primary-light);

    color:
        var(--primary);

    border-radius:
        50%;

    font-size: 23px;

}


.industry-bottom-text {

    flex: 1;

}


.industry-bottom-text h5 {

    margin:
        0 0 4px;

    color:
        var(--black);

    font-size: 14px;

    font-weight: 700;

}


.industry-bottom-text p {

    margin: 0;

    color:
        var(--text);

    font-size: 11px;

}


/* =========================================================
   CTA BUTTON
========================================================= */

.industry-cta {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        12px 20px;

    background:
        var(--primary);

    color:
        var(--white);

    border-radius:
        6px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        var(--transition);

}


.industry-cta:hover {

    background:
        var(--primary-dark);

    color:
        var(--white);

    transform:
        translateY(-3px);

    box-shadow:
    0 8px 20px
    rgba(1,87,146,.20);

}


.industry-cta i {

    transition:
        transform .3s ease;

}


.industry-cta:hover i {

    transform:
        translateX(4px);

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes industryGearRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .industries-section {

        padding:
            80px 0;

    }


    .industry-bottom {

        margin-top:
            40px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .industries-section {

        padding:
            65px 0;

    }


    .industries-title {

        font-size:
            34px;

    }


    .industries-description {

        font-size:
            13px;

    }


    .industry-image {

        height:
            210px;

    }


    .industry-content {

        padding:
            20px;

    }


    .industry-content p {

        min-height:
            auto;

    }


    .industry-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            20px;

    }


    .industry-cta {

        width: 100%;

        justify-content:
            center;

    }

}