/* =========================================================
   INDUSTRIES HERO
========================================================= */

.industries-page-hero {
    background-image: url("../img/industries-hero.jpg");
    background-size: cover;
    background-position: center right;
}


.industries-hero-btn {
    font-size: 18px;
    padding: 13px 25px;
    border-radius: 10px;
    transition: all .3s ease;
}

.industries-hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(13,110,253,.25);
}


/* =========================================================
   INTRO
========================================================= */

.industries-intro {
    background: #fff;
}

.industry-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    color: var(--bs-primary);
}

.industry-eyebrow span {
    width: 38px;
    height: 3px;

    border-radius: 10px;

    background: currentColor;
}

.industry-main-title {
    max-width: 800px;

    font-size: clamp(38px, 4.5vw, 60px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;

    margin-top: 12px;
}

.industry-main-title span {
    color: var(--bs-primary);
}

.industry-intro-text {
    font-size: 19px;

    line-height: 1.7;

    color: #69727c;
}


/* =========================================================
   INDUSTRY BLOCK
========================================================= */

.industry-block {
    overflow: hidden;

    border-radius: 30px;

    background: #fff;

    border: 1px solid #e9edf2;

    box-shadow: 0 15px 50px rgba(0,0,0,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.industry-block:hover {
    transform: translateY(-8px);

    box-shadow: 0 30px 70px rgba(0,0,0,.12);
}


/* =========================================================
   IMAGE
========================================================= */

.industry-image {
    position: relative;

    height: 100%;

    min-height: 510px;

    overflow: hidden;

    background: #0d1b2a;
}

.industry-image img {
    width: 100%;
    height: 100%;

    min-height: 510px;

    object-fit: cover;

    display: block;

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1);
}

.industry-block:hover .industry-image img {
    transform: scale(1.09);
}

.industry-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 20%,
            rgba(0,0,0,.72) 100%
        );
}

.industry-image-number {
    position: absolute;

    top: 25px;
    left: 30px;

    font-size: 75px;

    line-height: 1;

    font-weight: 900;

    color: rgba(255,255,255,.25);
}

.industry-image-caption {
    position: absolute;

    left: 30px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.industry-image-caption i {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(255,255,255,.16);

    backdrop-filter: blur(10px);

    font-size: 19px;
}


/* =========================================================
   CONTENT
========================================================= */

.industry-content {
    position: relative;

    height: 100%;

    padding: 55px;

    overflow: hidden;
}

.industry-content-number {
    position: absolute;

    right: 15px;
    top: -25px;

    font-size: 180px;

    line-height: 1;

    font-weight: 900;

    color: #f2f4f7;

    pointer-events: none;
}

.industry-icon {
    position: relative;

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--bs-primary-bg-subtle);

    color: var(--bs-primary);

    font-size: 28px;

    margin-bottom: 25px;

    transition:
        transform .4s ease,
        background .4s ease;
}

.industry-block:hover .industry-icon {
    transform: rotate(-8deg) scale(1.08);

    background: var(--bs-primary);

    color: #fff;
}

.industry-label {
    position: relative;

    display: block;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--bs-primary);

    margin-bottom: 14px;
}

.industry-content h3 {
    position: relative;

    max-width: 650px;

    font-size: clamp(30px, 3vw, 42px);

    line-height: 1.15;

    font-weight: 700;

    margin-bottom: 30px;
}

.industry-content h3 span {
    color: var(--bs-primary);
}


/* =========================================================
   SERVICE ITEMS
========================================================= */

.industry-services {
    position: relative;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px 25px;
}

.industry-services span {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 17px;

    line-height: 1.45;

    color: #4e5761;

    padding: 7px 0;

    transition:
        transform .3s ease,
        color .3s ease;
}

.industry-services span:hover {
    color: var(--bs-primary);

    transform: translateX(5px);
}

.industry-services i {
    width: 21px;
    height: 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-top: 1px;

    border-radius: 50%;

    background: var(--bs-primary-bg-subtle);

    color: var(--bs-primary);

    font-size: 10px;
}


/* =========================================================
   CONNECTION SECTION
========================================================= */

.industry-connection {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(13,110,253,.22),
            transparent 32%
        ),
        #101827;
}

.industry-connection h2 {
    max-width: 700px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.1;

    font-weight: 700;

    color: #fff;

    margin: 15px 0 22px;
}

.industry-connection h2 span {
    color: #69a8ff;
}

.industry-connection p {
    max-width: 700px;

    font-size: 19px;

    line-height: 1.7;

    color: rgba(255,255,255,.68);

    margin-bottom: 0;
}

.industry-connection-visual {
    position: relative;

    width: 360px;
    height: 360px;

    margin: auto;
}

.connection-circle {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 125px;
    height: 125px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(13,110,253,.45),
            rgba(13,110,253,.10)
        );

    border: 1px solid rgba(255,255,255,.15);

    color: #fff;

    font-size: 38px;

    box-shadow:
        0 0 0 25px rgba(13,110,253,.04),
        0 0 70px rgba(13,110,253,.25);

    animation: connectionPulse 3s ease-in-out infinite;
}

.connection-node {
    position: absolute;

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    color: #fff;

    font-size: 22px;

    backdrop-filter: blur(8px);

    animation: nodeFloat 4s ease-in-out infinite;
}

.node-one {
    top: 15px;
    left: 145px;
}

.node-two {
    right: 15px;
    top: 145px;

    animation-delay: .8s;
}

.node-three {
    bottom: 15px;
    left: 145px;

    animation-delay: 1.5s;
}

.node-four {
    left: 15px;
    top: 145px;

    animation-delay: 2.2s;
}

@keyframes connectionPulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }

}

@keyframes nodeFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* =========================================================
   CTA
========================================================= */

.industries-cta {
    background: #fff;
}

.industries-cta-box {
    padding: 60px;

    border-radius: 30px;

    border: 1px solid #e8edf3;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(13,110,253,.13),
            transparent 35%
        ),
        #f6f9fd;
}

.industries-cta-box h2 {
    max-width: 800px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    font-weight: 700;

    margin: 14px 0 15px;
}

.industries-cta-box h2 span {
    color: var(--bs-primary);
}

.industries-cta-box p {
    font-size: 19px;

    color: #69727d;

    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .industries-page-hero {
        background-position: center;
    }

    .industry-content {
        padding: 40px;
    }

    .industry-image,
    .industry-image img {
        min-height: 400px;
    }

    .industry-services {
        grid-template-columns: 1fr;
    }

    .industry-connection-visual {
        margin-top: 20px;
    }

}


@media (max-width: 767.98px) {

    .industry-content {
        padding: 35px 25px;
    }

    .industry-content-number {
        font-size: 130px;
    }

    .industry-image,
    .industry-image img {
        min-height: 330px;
    }

    .industry-image-number {
        font-size: 60px;
    }

    .industry-image-caption {
        left: 20px;
        bottom: 20px;
    }

    .industry-connection-visual {
        width: 300px;
        height: 300px;
    }

    .node-one {
        left: 115px;
    }

    .node-three {
        left: 115px;
    }

    .node-two {
        right: 5px;
    }

    .node-four {
        left: 5px;
    }

    .industries-cta-box {
        padding: 40px 25px;
    }

}


@media (max-width: 575.98px) {

    .industry-main-title {
        font-size: 38px;
    }

    .industry-content h3 {
        font-size: 30px;
    }

    .industry-services span {
        font-size: 16px;
    }

    .industry-connection-visual {
        width: 270px;
        height: 270px;
    }

    .connection-circle {
        width: 100px;
        height: 100px;

        font-size: 30px;
    }

    .connection-node {
        width: 52px;
        height: 52px;

        font-size: 18px;
    }

    .node-one {
        left: 109px;
    }

    .node-three {
        left: 109px;
    }

}