/* =========================================================
   MSRP - INDUSTRIES PAGE
   Premium Corporate Research Design
========================================================= */

/* =========================================================
   ROOT
========================================================= */

:root {
    --navy: #173b5b;
    --navy-dark: #102f4b;
    --blue: #28658d;
    --blue-light: #5d88a5;

    --text: #263f52;
    --text-light: #687986;
    --muted: #87949d;

    --line: rgba(40, 101, 141, 0.11);

    --soft-blue: #f4f8fb;
    --very-light-blue: #f8fbfd;

    --white: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.industries-hero {
    position: relative;
    overflow: hidden;

    padding: 125px 0 90px;
    min-height: 570px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(93, 136, 165, 0.09),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #f7fafc 0%,
            #ffffff 48%,
            #f1f7fb 100%
        );
}


/* =========================================================
   HERO DECORATIVE CIRCLE
========================================================= */

.industries-hero-shape {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -250px;
    top: -230px;

    border-radius: 50%;

    border: 1px solid rgba(40, 101, 141, 0.10);

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(235, 244, 249, 0.40) 48%,
            rgba(220, 235, 244, 0.08) 72%,
            transparent 73%
        );

    box-shadow:
        0 0 0 55px rgba(40, 101, 141, 0.025),
        0 0 0 110px rgba(40, 101, 141, 0.018),
        0 0 0 165px rgba(40, 101, 141, 0.012);

    animation: heroCircleMove 9s ease-in-out infinite;
}


/* Inner circle */

.industries-hero-shape::before {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    right: 115px;
    top: 115px;

    border-radius: 50%;

    border: 1px solid rgba(40, 101, 141, 0.09);

    background: rgba(255, 255, 255, 0.42);
}


/* Small accent */

.industries-hero-shape::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    right: 245px;
    bottom: 115px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 9px rgba(40, 101, 141, 0.07);

    animation: accentPulse 3s ease-in-out infinite;
}


@keyframes heroCircleMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10px, 12px) rotate(2deg);
    }
}


@keyframes accentPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
    }
}


/* =========================================================
   HERO INNER
========================================================= */

.industries-hero-inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(260px, 0.65fr);

    gap: 80px;

    align-items: end;
}


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

.industries-hero-content {
    max-width: 850px;
}


.industries-hero-content .small-label {
    display: inline-block;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.7px;

    color: #286aa0;

    margin-bottom: 15px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.industries-hero-content h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 4.8vw, 62px);

    line-height: 1.04;

    font-weight: 600;
    font-style: normal;

    letter-spacing: -1.8px;

    color: #263f52;

    margin: 0 0 25px;
}


.industries-hero-content h1 span {
    display: inline;

    color: #263f52;

    font-style: normal;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.industries-hero-content p {
    max-width: 700px;

    font-size: 16px;
    line-height: 1.85;

    color: #687b89;

    margin: 0;
}


/* =========================================================
   HERO SIDE
========================================================= */

.industries-hero-side {
    position: relative;
    z-index: 3;

    padding-left: 35px;
    padding-bottom: 10px;

    max-width: 330px;
}


.hero-side-number {
    font-family: "Playfair Display", serif;

    font-size: 48px;
    line-height: 1;

    color: rgba(40, 101, 141, 0.17);

    margin-bottom: 18px;
}


.hero-side-line {
    width: 55px;
    height: 2px;

    background: #28658d;

    margin-bottom: 20px;
}


.industries-hero-side p {
    font-size: 13px;
    line-height: 1.85;

    color: #70818d;

    max-width: 300px;

    margin: 0;
}


/* =========================================================
   INTRO
========================================================= */

.industries-intro {
    padding: 100px 0 85px;

    background: #ffffff;
}


.industries-intro-grid {
    display: grid;

    grid-template-columns:
        0.3fr
        1fr;

    gap: 80px;
}


.intro-label {
    font-size: 15px;
    font-weight: 700;

    letter-spacing: 2.5px;

    color: #28658d;

    padding-top: 9px;
}


.intro-main {
    max-width: 850px;
}


/* =========================================================
   INTRO HEADING
========================================================= */

.intro-main h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 5vw, 62px);

    line-height: 1.1;

    font-weight: 600;
    font-style: normal;

    letter-spacing: -0.7px;

    color: #263f52;

    margin: 0 0 25px;
}


.intro-main h2 span {
    color: #263f52;

    font-style: normal;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.intro-main p {
    max-width: 760px;

    font-size: 15px;
    line-height: 1.85;

    color: #6c7c87;

    margin: 0 0 17px;
}


/* =========================================================
   INDUSTRIES LIST
========================================================= */

.industries-list {
    padding: 0 0 100px;

    background: #ffffff;
}


/* =========================================================
   INDUSTRY ROW
========================================================= */

.industry-row {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(300px, 0.75fr);

    gap: 90px;

    align-items: center;

    min-height: 510px;

    padding: 75px 0;

    border-top:
        1px solid var(--line);
}


/* =========================================================
   REVERSE ROW
========================================================= */

.industry-row.reverse {
    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(0, 1.05fr);
}


.industry-row.reverse .industry-info {
    order: 2;
}


.industry-row.reverse .industry-image {
    order: 1;
}


/* =========================================================
   INDUSTRY INFO
========================================================= */

.industry-info {
    max-width: 700px;

    opacity: 0;

    transform: translateX(-35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.industry-row.reverse .industry-info {
    transform: translateX(35px);
}


.industry-row.visible .industry-info {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   INDUSTRY META
========================================================= */

.industry-meta {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 18px;
}


.industry-meta span {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #28658d;
}


.industry-meta small {
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #8a969f;
}


/* =========================================================
   INDUSTRY TITLE
========================================================= */

.industry-info h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 46px);

    line-height: 1.08;

    font-weight: 600;
    font-style: normal;

    letter-spacing: -0.5px;

    color: #263f52;

    margin: 0 0 21px;

    transition: transform 0.4s ease;
}


.industry-info h2 span {
    color: #263f52;

    font-style: normal;
}


.industry-row:hover .industry-info h2 {
    transform: translateX(5px);
}


/* =========================================================
   INDUSTRY PARAGRAPHS
========================================================= */

.industry-info p {
    max-width: 650px;

    font-size: 15px;
    line-height: 1.8;

    color: #6c7c87;

    margin: 0 0 14px;

    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 0.8s ease 0.12s,
        transform 0.8s ease 0.12s;
}


.industry-row.visible .industry-info p {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   INDUSTRY TAGS
========================================================= */

.industry-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;

    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 0.8s ease 0.2s,
        transform 0.8s ease 0.2s;
}


.industry-row.visible .industry-tags {
    opacity: 1;

    transform: translateY(0);
}


.industry-tags span {
    display: inline-flex;

    align-items: center;

    padding: 8px 13px;

    border:
        1px solid rgba(40, 101, 141, 0.13);

    border-radius: 30px;

    background: #fbfdff;

    color: #60727e;

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

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.industry-tags span:hover {
    transform: translateY(-3px);

    background: #f2f8fc;

    border-color:
        rgba(40, 101, 141, 0.25);

    box-shadow:
        0 10px 25px rgba(30, 70, 95, 0.08);
}


/* =========================================================
   INDUSTRY IMAGE WRAPPER
========================================================= */

.industry-image {
    position: relative;

    width: 100%;
    max-width: 410px;

    justify-self: end;

    opacity: 0;

    transform:
        translateX(40px)
        scale(0.96);

    transition:
        opacity 0.9s ease 0.12s,
        transform 0.9s cubic-bezier(.2, .7, .2, 1);
}


.industry-row.reverse .industry-image {
    justify-self: start;

    transform:
        translateX(-40px)
        scale(0.96);
}


.industry-row.visible .industry-image {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);
}


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

.industry-image:hover {
    z-index: 5;
}


.industry-image:hover img {
    transform:
        scale(1.045)
        translateY(-7px);

    box-shadow:
        0 32px 70px rgba(25, 60, 80, 0.18);
}


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

.industry-image::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    left: -28px;
    top: -28px;

    border-radius: 50%;

    border:
        1px solid rgba(40, 101, 141, 0.10);

    z-index: 0;

    transition:
        transform 0.6s ease;
}


.industry-image::after {
    content: "";

    position: absolute;

    width: 70px;
    height: 70px;

    right: -18px;
    bottom: -18px;

    border:
        1px solid rgba(66, 107, 135, 0.18);

    border-radius: 50%;

    z-index: 0;

    transition:
        transform 0.6s ease;
}


.industry-image:hover::before {
    transform: translate(-7px, -7px);
}


.industry-image:hover::after {
    transform: translate(7px, 7px);
}


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

.industry-image img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;
    height: 300px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow:
        0 22px 50px rgba(25, 60, 80, 0.13);

    animation:
        industryFloat
        7s
        ease-in-out
        infinite;

    transition:
        transform 0.65s cubic-bezier(.2, .7, .2, 1),
        box-shadow 0.5s ease;
}


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

@keyframes industryFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


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

.image-index {
    position: absolute;

    z-index: 3;

    top: -17px;
    right: -17px;

    width: 48px;
    height: 48px;

    display: flex;

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

    border-radius: 50%;

    background: #ffffff;

    border:
        1px solid rgba(40, 101, 141, 0.15);

    box-shadow:
        0 10px 25px rgba(25, 60, 80, 0.12);

    color: #28658d;

    font-size: 10px;
    font-weight: 700;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.industry-image:hover .image-index {
    transform:
        rotate(10deg)
        scale(1.08);

    box-shadow:
        0 15px 32px rgba(25, 60, 80, 0.16);
}


/* =========================================================
   CLOSING SECTION
========================================================= */

.industry-closing {
    position: relative;

    overflow: hidden;

    padding: 100px 0 115px;

    background:
        radial-gradient(
            circle at 85% 80%,
            rgba(93, 136, 165, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f4f8fb 0%,
            #f9fbfc 100%
        );
}


.industry-closing::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -180px;
    bottom: -180px;

    border-radius: 50%;

    border:
        1px solid rgba(40, 101, 141, 0.08);

    box-shadow:
        0 0 0 55px rgba(40, 101, 141, 0.025);
}


/* =========================================================
   CLOSING LINE
========================================================= */

.closing-line {
    width: 100%;
    height: 1px;

    background:
        rgba(40, 101, 141, 0.12);

    margin-bottom: 70px;
}


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

.closing-content {
    position: relative;

    z-index: 2;

    max-width: 780px;
}


/* =========================================================
   CLOSING HEADING
========================================================= */

.closing-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 58px);

    line-height: 1.08;

    font-weight: 600;
    font-style: normal;

    letter-spacing: -0.8px;

    color: #263f52;

    margin: 15px 0 20px;
}


.closing-content h2 span {
    color: #263f52;

    font-style: normal;
}


/* =========================================================
   CLOSING TEXT
========================================================= */

.closing-content p {
    max-width: 590px;

    font-size: 16px;

    line-height: 1.8;

    color: #6d7d88;

    margin: 0 0 30px;
}


/* =========================================================
   CTA
========================================================= */

.industry-cta {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 14px 21px;

    background: #173f68;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.industry-cta span {
    transition:
        transform 0.3s ease;
}


.industry-cta:hover {
    transform: translateY(-3px);

    background: #123554;

    box-shadow:
        0 15px 30px rgba(25, 60, 80, 0.16);
}


.industry-cta:hover span {
    transform: translateX(5px);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   STAGGERED INDUSTRY ANIMATION
========================================================= */

.industry-row:nth-child(1) {
    transition-delay: 0s;
}

.industry-row:nth-child(2) {
    transition-delay: 0.06s;
}

.industry-row:nth-child(3) {
    transition-delay: 0.12s;
}

.industry-row:nth-child(4) {
    transition-delay: 0.18s;
}

.industry-row:nth-child(5) {
    transition-delay: 0.24s;
}

.industry-row:nth-child(6) {
    transition-delay: 0.30s;
}

.industry-row:nth-child(7) {
    transition-delay: 0.36s;
}

.industry-row:nth-child(8) {
    transition-delay: 0.42s;
}

.industry-row:nth-child(9) {
    transition-delay: 0.48s;
}

.industry-row:nth-child(10) {
    transition-delay: 0.54s;
}

.industry-row:nth-child(11) {
    transition-delay: 0.60s;
}

.industry-row:nth-child(12) {
    transition-delay: 0.66s;
}


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

.site-header.scrolled {
    box-shadow:
        0 8px 25px rgba(20, 50, 70, 0.08);

    transition:
        box-shadow 0.3s ease;
}


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

@media (max-width: 1000px) {

    .industries-hero {
        min-height: auto;

        padding:
            120px
            0
            85px;
    }


    .industries-hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .industries-hero-content {
        max-width: 760px;
    }


    .industries-hero-side {
        padding-left: 0;

        max-width: 400px;
    }


    .industries-hero-shape {
        width: 500px;
        height: 500px;

        right: -280px;
        top: -180px;
    }


    .industries-intro-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .industry-row,
    .industry-row.reverse {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(260px, 0.8fr);

        gap: 45px;
    }


    .industry-info h2 {
        font-size: 38px;
    }


    .industry-info p {
        font-size: 14px;
    }


    .industry-image img {
        height: 280px;
    }
}


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

@media (max-width: 700px) {

    .industries-hero {

        padding:
            115px
            0
            70px;
    }


    .industries-hero-inner {
        gap: 40px;
    }


    .industries-hero-content h1 {

        font-size: 45px;

        line-height: 1.06;

        letter-spacing: -1px;
    }


    .industries-hero-content p {

        font-size: 15px;

        line-height: 1.75;
    }


    .industries-hero-side {
        padding-left: 0;
    }


    .industries-hero-shape {

        width: 380px;
        height: 380px;

        right: -240px;
        top: -130px;
    }


    .industries-hero-shape::before {

        width: 240px;
        height: 240px;

        right: 70px;
        top: 70px;
    }


    .industries-hero-shape::after {

        right: 145px;
        bottom: 70px;
    }


    /* INTRO */

    .industries-intro {

        padding:
            70px
            0;
    }


    .intro-main h2 {
        font-size: 40px;
    }


    .intro-main p {
        font-size: 15px;
    }


    /* INDUSTRIES */

    .industries-list {
        padding-bottom: 55px;
    }


    .industry-row,
    .industry-row.reverse {

        grid-template-columns: 1fr;

        gap: 35px;

        min-height: auto;

        padding:
            60px
            0;
    }


    .industry-row.reverse .industry-info {
        order: 1;
    }


    .industry-row.reverse .industry-image {
        order: 2;
    }


    .industry-info {

        transform:
            translateY(25px);
    }


    .industry-row.reverse .industry-info {

        transform:
            translateY(25px);
    }


    .industry-row.visible .industry-info {

        transform:
            translateY(0);
    }


    .industry-info h2 {

        font-size: 36px;
    }


    .industry-info p {

        font-size: 14px;
    }


    .industry-image,
    .industry-row.reverse .industry-image {

        max-width: 100%;

        justify-self: stretch;
    }


    .industry-image {

        transform:
            translateY(30px)
            scale(0.97);
    }


    .industry-row.reverse .industry-image {

        transform:
            translateY(30px)
            scale(0.97);
    }


    .industry-row.visible .industry-image {

        transform:
            translateY(0)
            scale(1);
    }


    .industry-image img {

        height: 260px;
    }


    .industry-image::before {

        width: 70px;
        height: 70px;

        left: -15px;
        top: -15px;
    }


    .industry-image::after {

        width: 55px;
        height: 55px;

        right: -12px;
        bottom: -12px;
    }


    .image-index {

        width: 43px;
        height: 43px;

        top: -12px;
        right: -12px;
    }


    /* CLOSING */

    .industry-closing {

        padding:
            75px
            0
            85px;
    }


    .closing-line {

        margin-bottom: 55px;
    }


    .closing-content h2 {

        font-size: 42px;
    }


    .closing-content p {

        font-size: 15px;
    }


    .industry-cta {

        padding: 14px 19px;
    }
}


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

@media (max-width: 450px) {

    .industries-hero {

        padding-top: 105px;
    }


    .industries-hero-content h1 {

        font-size: 39px;
    }


    .industries-hero-content p {

        font-size: 14px;
    }


    .intro-main h2 {

        font-size: 34px;
    }


    .industry-info h2 {

        font-size: 33px;
    }


    .industry-tags span {

        font-size: 9px;

        padding:
            7px
            11px;
    }


    .industry-image img {

        height: 230px;

        border-radius: 16px;
    }


    .closing-content h2 {

        font-size: 37px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}