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

.services-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding:
        clamp(4.5rem, 8vw, 6.5rem)
        0
        clamp(4.5rem, 7vw, 6rem);

    background:
        linear-gradient(
            180deg,
            #0a3857 0%,
            #082f4a 55%,
            #07263b 100%
        );

    color: #ffffff;
}


/* ==========================================================
   BOTTOM FADE
========================================================== */

.services-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 220px;

    background:
        linear-gradient(
            to bottom,
            rgba(7, 38, 59, 0) 0%,
            rgba(7, 38, 59, 0.55) 45%,
            #07263b 100%
        );

    pointer-events: none;
    z-index: 2;
}


/* ==========================================================
   CODED WEBPAGE INTERFACE BACKGROUND
========================================================== */

.services-hero__interface {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 1.5rem;

    opacity: 0.30;
    pointer-events: none;

    z-index: 1;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 58%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 58%,
            transparent 100%
        );
}


/* Browser Window */

.interface-window {
    width: min(1280px, 94%);

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 12px;

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


/* Browser Top Bar */

.interface-window__topbar {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    padding: 0 1.25rem;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.1);
}

.interface-window__dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.interface-window__dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

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

.interface-window__address {
    width: min(420px, 48%);
    height: 20px;

    position: relative;

    border-radius: 999px;

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

.interface-window__address::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 1rem;

    width: 42%;
    height: 6px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.28);

    transform: translateY(-50%);
}


/* Browser Body */

.interface-window__body {
    display: grid;

    grid-template-columns:
        minmax(150px, 210px)
        minmax(0, 1fr);

    min-height: 570px;
}


/* Sidebar */

.interface-window__sidebar {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    padding: 2rem 1.5rem;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.09);
}

.interface-window__sidebar span {
    width: 78%;
    height: 12px;

    border-radius: 999px;

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

.interface-window__sidebar span:nth-child(3) {
    width: 60%;
}

.interface-window__sidebar span:nth-child(4) {
    width: 72%;
}

.interface-window__sidebar span:nth-child(5) {
    width: 52%;
}

.interface-window__logo {
    width: 66px !important;
    height: 36px !important;

    margin-bottom: 1.5rem;

    border-radius: 6px !important;

    background:
        rgba(244, 180, 0, 0.38) !important;
}


/* Main Dashboard Area */

.interface-window__main {
    padding: 1.5rem 2rem 2rem;
}

.interface-window__nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;

    margin-bottom: 2.5rem;
}

.interface-window__nav span {
    width: 72px;
    height: 10px;

    border-radius: 999px;

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

.interface-window__nav span:nth-child(2) {
    width: 92px;
}

.interface-window__nav span:nth-child(3) {
    width: 66px;
}

.interface-window__nav span:nth-child(4) {
    width: 84px;
}


/* Interface Intro Lines */

.interface-window__intro {
    margin-bottom: 2rem;
}

.interface-line {
    display: block;

    height: 16px;

    margin-bottom: 0.85rem;

    border-radius: 999px;

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

.interface-line--large {
    width: 76%;
}

.interface-line--medium {
    width: 56%;
}

.interface-line--small {
    width: 34%;
}


/* Interface Statistics */

.interface-window__stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.25rem;

    margin-bottom: 2rem;
}

.interface-stat {
    min-height: 112px;

    padding: 1.25rem;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 8px;

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

.interface-stat::before,
.interface-stat::after {
    content: "";

    display: block;

    border-radius: 999px;

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

.interface-stat::before {
    width: 58%;
    height: 10px;

    margin-bottom: 1.25rem;
}

.interface-stat::after {
    width: 34%;
    height: 24px;

    background:
        rgba(244, 180, 0, 0.26);
}


/* Interface Lower Area */

.interface-window__lower {
    display: grid;

    grid-template-columns:
        1.35fr
        0.65fr;

    gap: 1.5rem;
}

.interface-chart,
.interface-list {
    min-height: 210px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 8px;

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


/* Chart */

.interface-chart {
    display: flex;
    align-items: flex-end;

    gap: 0.8rem;

    padding:
        2rem
        1.5rem
        1.25rem;
}

.interface-chart span {
    flex: 1;

    min-width: 18px;

    border-radius:
        4px
        4px
        0
        0;

    background:
        linear-gradient(
            to top,
            rgba(244, 180, 0, 0.24),
            rgba(255, 255, 255, 0.16)
        );
}


/* List Panel */

.interface-list {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 1.25rem;

    padding: 1.5rem;
}

.interface-list span {
    width: 100%;
    height: 13px;

    border-radius: 999px;

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

.interface-list span:nth-child(2) {
    width: 82%;
}

.interface-list span:nth-child(3) {
    width: 92%;
}

.interface-list span:nth-child(4) {
    width: 68%;
}


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

.services-hero .container {
    position: relative;

    z-index: 3;
}

.services-hero__content {
    width: min(920px, 100%);

    margin: 0 auto;

    text-align: center;
}


/* Eyebrow */

.services-hero__eyebrow {
    margin:
        0
        0
        1rem;

    color:
        var(--color-gold, #f4b400);

    font-size: 0.86rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.18em;
}


/* Hero Title */

.services-hero__title {
    max-width: 900px;

    margin:
        0
        auto
        1.5rem;

    color: #ffffff;

    font-size:
        clamp(3rem, 7vw, 5.7rem);

    font-weight: 700;
    line-height: 0.98;

    letter-spacing: -0.045em;
}

.services-hero__title span {
    display: block;

    color:
        var(--color-gold, #f4b400);
}


/* Hero Description */

.services-hero__description {
    max-width: 730px;

    margin:
        0
        auto
        2rem;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        clamp(1rem, 1.5vw, 1.12rem);

    line-height: 1.85;
}


/* Secondary button Fix */
.button--secondary-second{
    color:var(--color-gold);
    border-color:var(--color-gold);
    
}

/*=========================================
HIGHLIGHTS
=========================================*/

.services-hero__highlights{

    display:flex;
    justify-content:center;
    align-items:left;
    flex-wrap:wrap;

    gap:1rem 2rem;

    margin-top:2.5rem;

}

.services-hero__highlight{

    display:flex;
    align-items:center;

    gap:.7rem;

    color:rgba(255,255,255,.88);

    font-size:.98rem;
    font-weight:500;

}

.services-hero__check{

    width:26px;
    height:26px;

    border-radius:50%;

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

    background:var(--color-gold);

    color:var(--color-navy);

    font-size:.8rem;
    font-weight:700;

    flex-shrink:0;

}

@media (max-width:768px){

    .services-hero__highlights{

        flex-direction:column;
        align-items:flex-start;

        width:max-content;
        max-width:100%;

        margin:2rem auto 0;

    }

}

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

@media (max-width: 992px) {

    .services-hero {
        padding:
            4.5rem
            0
            5rem;
    }

    .interface-window {
        width: 96%;
    }

    .interface-window__body {
        grid-template-columns:
            150px
            minmax(0, 1fr);
    }

    .interface-window__sidebar {
        padding:
            1.5rem
            1rem;
    }

    .interface-window__main {
        padding:
            1.5rem;
    }

    .interface-window__stats {
        gap: 1rem;
    }

    .services-hero__title {
        font-size:
            clamp(3rem, 8vw, 4.8rem);
    }

    /* Secondary button Fix */
.button--secondary-second{
    margin-top: 1em;
    
}
}


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

@media (max-width: 768px) {

    .services-hero {
        padding:
            3.75rem
            0
            4.5rem;
    }

    .services-hero::after {
        height: 160px;
    }

    .services-hero__interface {
        opacity: 0.07;
    }

    .interface-window {
        width: 108%;

        transform:
            translateX(-4%);
    }

    .interface-window__body {
        grid-template-columns: 1fr;

        min-height: 540px;
    }

    .interface-window__sidebar {
        display: none;
    }

    .interface-window__main {
        padding:
            1.25rem;
    }

    .interface-window__nav {
        justify-content: center;

        margin-bottom: 2rem;
    }

    .interface-window__stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .interface-window__stats .interface-stat:last-child {
        display: none;
    }

    .interface-window__lower {
        grid-template-columns: 1fr;
    }

    .interface-list {
        display: none;
    }

    .services-hero__eyebrow {
        font-size: 0.78rem;
    }

    .services-hero__title {
        font-size:
            clamp(2.55rem, 12vw, 4rem);

        line-height: 1.02;
    }

    .services-hero__description {
        font-size: 1rem;
        line-height: 1.75;
    }

    .services-hero__actions {
        flex-direction: column;

        width: 100%;

        margin-bottom: 2.5rem;
    }

    .services-hero__actions .button {
        width: 100%;
    }

    .services-hero__why {
        padding:
            1.5rem
            1.25rem;
    }

    .services-hero__why ul {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .services-hero__why h3 {
        text-align: left;
    }

       /* Secondary button Fix */
        .button--secondary-second{
            margin-top: 1em;
            
        }
}


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

@media (max-width: 480px) {

    .services-hero {
        padding-top: 3.25rem;
    }

    .services-hero__title {
        letter-spacing: -0.035em;
    }

    .services-hero__why {
        border-radius: 8px;
    }

    .interface-window__topbar {
        padding:
            0
            0.85rem;
    }

    .interface-window__address {
        width: 48%;
    }

    .interface-window__nav span:nth-child(4) {
        display: none;
    }

       /* Secondary button Fix */
.button--secondary-second{
    margin-top: 1em;
    
}
}


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

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

    .services-hero__actions .button {
        transition: none;
    }

    .services-hero__actions .button:hover {
        transform: none;
    }
}