@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');

/* HERO SECTION */

.solution-hero {
    background-color: var(--black);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.solution-hero-content {
    background-color: var(--black-05);
    padding: var(--margin-padding);
    
}

.solution-hero .tag {
    color: var(--black);
    background-color: var(--highlight);
    width: fit-content;
    margin: 3rem auto 0 auto;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 0.25rem;
}

.solution-hero h1, .solution-hero p {
    max-width: 50rem;
    width: 92%;
}

.solution-hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    margin: 1rem auto;
    color: white;
}

.solution-hero p {
    color: white;
    margin: 0 auto;
    font-weight: 400;
}

.solution-hero a {
    margin: 2rem auto 0 auto;
    display: block;
}

/* SIDEKICKS */

.solution-sidekicks {
    padding: var(--margin-padding);
}

.sidekicks-intro p {
    font-size: var(--fs-main);
    margin: 0 auto;
}

.sidekicks-intro h2, .sidekicks-intro p {
    max-width: 58rem;
    text-align: center;
}

.sidekicks-intro h2 {
    margin: 0 auto 1rem auto;
}

.sidekicks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.sidekicks-grid div {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.sidekicks-grid div h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.sidekicks-grid div p {
    font-size: var(--fs-main);
    color: var(--black-08);
}

.sidekicks-grid div span {
    display: block;
    background-color: var(--light-green);
    color: var(--highlight-darker);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    place-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
}


.bcs-stats-wrapper {
    border-bottom: solid 1px var(--black-01);
    background-color: rgb(236, 239, 239);
}

.bcs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

}

.bcs-stats div {
    font-family: "Story Script", sans-serif;
    font-size: 4.25rem;
    color: var(--highlight-darker);
    display: block;
    text-align: center;
    padding: 2rem 0;
}

.bcs-stats div span {
    font-size: 0.85rem;
    max-width: 15ch;
    margin: -0.5rem auto 0 auto;
    color: var(--black-05);
    display: block;
    font-family: 'Satoshi';
}


.bcs-stats div:nth-child(2) {
    border-left: solid 1px var(--black-01);
    border-right: solid 1px var(--black-01);
}

.bcs-main-wrapper {
    background-color: white;
    padding: 2.5rem 0;
}

.bcs-main {
    max-width: var(--bcs-width);
    margin: 0 auto;
    width: 90%;
}

.bcs-main h2 {
    margin: 3rem 0 1.5rem 0;
}

.bcs-main p {
    color: var(--black-08);
    font-size: var(--fs-main);
    padding-bottom: 1.5rem;
}

.bcs-quote {
    border-left: solid 3px var(--highlight);
    padding: 1rem 0 1rem 2rem;
    color: var(--black);
    font-weight: 500;
}

.bcs-quote p {
    font-size: 1.3rem;
}

.bcs-quote em {
    margin-bottom: -1.5rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--black-05);
}


/* TABS */

.tabs-wrapper {
    background-color: var(--black);
    padding: var(--mp) 0;
    position: relative;
}

.tabs-wrapper .content-min {
    position: relative;
    z-index: 5;
}

.tabs-wrapper .minitag {
    text-align: center;
}

.tabs h2 {
    text-align: center;
    max-width: 42rem;
    margin: 1rem auto 2.5rem auto;
    text-transform: capitalize;
    color: white;
}

.tab-buttons {
    display: flex;
    column-gap: 0.5rem;
    place-content: center;
    flex-wrap: wrap;
}

.tab-buttons .fa-dot {
    color: var(--highlight);
    display: none;
}

.tab-buttons button {
    border: 0;
    padding: 0.5rem 0.75rem 0.25rem 0.75rem;
    font-family: 'Satoshi';
    font-size: 0.85rem;
    text-transform: capitalize;
    font-weight: 450;
    background-color: rgba(255,255,255,0.4);
    border-radius: 0.4rem 0.4rem 0 0;
    cursor: pointer;
}

.tab-content {
  display: none;
  background-color: white;
  padding: 2.5rem;
  grid-template-columns: 2fr 1fr;
  column-gap: 2.5rem;
}

.tab-content video, .tab-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.tab-content .minitag, .case-study-section .minitag {
    background-color: rgba(74,255,210,0.2);
    color: var(--highlight-darker);
    width: fit-content;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-align: left;
}

.tab-content h3 {
    margin: 0.75rem 0;
}

.tab-content p {
    font-size: var(--fs-smol);
    color: var(--black-08);
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-content.active {
  display: grid;
}

.tab-btn.active .fa-dot {
    display: inline;
    margin-right: 0.25rem;
}

.tab-btn.active {
    font-weight: 520;
    background-color: white;
}

.tabs-extras {
    margin-top: var(--mp);
    color: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(255, 255, 255, 0.035);
    border: solid 1px rgba(255, 255, 255, 0.075);
}

.tabs-extras div {
    padding: 1.5rem;
    border-right: solid 1px rgba(255, 255, 255, 0.075);
    transition: all 0.2s ease;
}

.tabs-extras div:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.tabs-extras div:nth-last-child(1) {
    border-right: 0;
}

.tabs-extras h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tabs-extras p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-smol);
}

/* SIDE BY SIDES */

.sbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    margin-top: var(--mp);
    align-items: center;
    overflow: hidden;
}

.sbs-copy {
    padding: 3rem;
}

.sbs-copy h2 {
    margin-bottom: 1.5rem;
}

.sbs-copy p {
    font-size: var(--fs-main);
    color: var(--black-08);
    font-weight: 425;
    text-align: justify;
}

.sbs-sub {
    color: var(--black-05);
    font-size: 1.8rem;
    margin: 1rem 0;
}

.sbs-bullets {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}

.sbs-bullets h3 {
    font-size: var(--fs-intro);
    margin: 0.75rem 0 0.25rem 0;
}

.sbs-bullets p {
    font-size: var(--fs-smol);
    color: var(--black-05);
    line-height: 1.2;
}

.sbs-bullets i {
    font-size: 2rem;
    color: var(--highlight);
}

.sbs-swap .sbs-copy {
    order: 2;
}

.sbs video {
    width: 100%;
    height: 100%;
    min-height: 40rem;
    object-fit: cover;
}

.browser {
    background-color: var(--highlight);
    padding: 1rem 0 1rem 1rem;
    min-height: 36rem;
}

.b-inside {
    background-color: white;
    border-radius: 0.4rem 0 0 0.4rem;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    place-items: center;
    min-height: 30rem;
}

.b-inside img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 44rem;
    transform: translate(0%, -50%);
}

.browser-controls {
    display: flex;
    padding: 0 1rem 1rem 0;
    align-items: center;
}

.bc-arrows {
    margin-left: auto;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.browser-controls .logo-wordmark, .browser-controls .logo-glyph {
    fill: var(--black);
}

.browser-controls svg {
    width: 8rem;
    height: auto;
}

.bc-prev, .bc-next {
    width: 2rem;
    height: 2rem;
    background-color: var(--black);
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    place-content: center;
    flex-wrap: wrap;
    cursor: pointer;
    color: white;
}

.bc-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.handheld-scanning img {
    min-height: 40rem;
    object-fit: cover;
}

.virtual-twin img {
    min-height: 40rem;
    object-fit: cover;
    border-radius: 0.4rem 0 0 0.4rem;
}

.a-tools {
    max-width: 50rem;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.a-tools p {
    font-size: var(--fs-main);
    color: var(--black-08);
}

.portla-tools .a-tools h2 {
    font-size: 2.9rem;
    margin-bottom: 1rem;
}

/* MORE STUFF */

.four-steps-wrapper {
    background-color: var(--black);
    margin-top: var(--mp);
    padding-bottom: 5rem;
}

.four-steps-wrapper h2, .four-steps-wrapper .minitag, .fsp {
    text-align: center;
}

.fsp {
    margin: 0 auto;
}

.four-steps-wrapper h2, .four-steps-wrapper h3 {
    color: white;
    text-transform: capitalize;
}

.four-grid em {
    text-transform: uppercase;
}

.quote-section {
    background-color: rgba(74,255,210,0.1);
    padding: 2.5rem;
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    column-gap: 2rem;
    border: solid 2px var(--highlight);
}

.the-actual-quote {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quote-the-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.quote-section-img-wrapper {
    position: relative;
    width: 6rem;
    height: 6rem;
}

.quote-section-img {
    border-radius: 50%;
    border: solid 2px var(--highlight);
    z-index: 1;
    width: 6rem;
    height: 6rem;
}

.quote-section-logo {
    position: absolute;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    right: -1rem;
    bottom: -1rem;
    border-radius: 50%;
    background-color: white;
    border: solid 1px var(--black-05);
    overflow: hidden;
    display: flex;
    place-content: center;
    flex-wrap: wrap;
}

.quote-section-logo img {
    width: 70%;
}

.case-study-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    align-items: center;
}

.case-study-section h2 {
    margin: 0.5rem 0 0 0;
}

.case-study-section p {
    font-size: var(--fs-main);
    margin: 1rem 0;
    color: var(--black-08);
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1150px) { 
    .sbs {
        grid-template-columns: 1fr;
    }

    .sbs-copy {
        order: 2;
        padding: 1.5rem;
    }

    .sbs-pic {
        padding: 1.5rem;
    }

    .sbs video {
        aspect-ratio: 16/9;
        border-radius: 0.5rem;
        min-height: auto;
    }

    .browser {
        padding: 1rem;
        border-radius: 0.5rem;
        border: solid 1px var(--black-01);
        min-height: auto;
    }

    .b-inside {
        height: auto;
        min-height: auto;
        aspect-ratio: 16/9;
        border-radius: 0.4rem;
    }

    .b-inside img {
        width: 100%;
    }

    .browser-controls {
        padding: 0 0 1rem 0;
    }

    .handheld-scanning img, .virtual-twin img {
        border-radius: 0.5rem;
        height: auto;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media only screen and (max-width: 1050px) { 
    .sidekicks-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media only screen and (max-width: 980px) { 

    .tab-content video, .tab-content img {
        height: 100%;
    }

    .case-study-section {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
    }
}

@media only screen and (max-width: 800px) { 
    .bcs-stats {
        grid-template-columns: 1fr;
    }

    .bcs-stats div:nth-child(2) {
        border-left: 0;
        border-right: 0;
        border-top: solid 1px var(--black-01);
        border-bottom: solid 1px var(--black-01);
    }

    .content:has(.bcs-stats) {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) { 
    .sbs-pic {
        padding: 0.5rem 0.5rem 0 0.5rem;
    }

    .browser {
        padding: 0.75rem;
    }

    .browser-controls svg {
        width: 6rem;
    }

    .bc-prev, .bc-next {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }

    .bc-label {
        font-size: 0.8rem;
    }

    .sbs-sub {
        font-size: 1.35rem;
    }

    .sbs-copy {
        padding: 1rem;
    }

    .sidekicks-grid div h3 {
        font-size: 1.25rem;
    }

    .sidekicks-grid div span {
        margin-bottom: 1.5rem;
    }

    .portla-tools .a-tools h2 {
        font-size: 2rem;
    }

    .bcs-hero-content h1 {
        font-size: 2.75rem;
    }

    .bcs-stats div {
        font-size: 3rem;
    }

    .bcs-hero-title {
        font-size: 0.7rem;
    }

    .bcs-main-wrapper {
        padding: 1.5rem 0;
    }

    .bcs-quote p {
        font-size: 1.1rem;
    }

    .tab-content {
        padding: 1rem;
        grid-template-columns: 1fr;
        row-gap: 1.5rem;   
        display: grid;   
        margin-top: 1.5rem;  
    }

    .tab-content img, .tab-content video {
        border-radius: 0.25rem;
        aspect-ratio: 1;
    }

    .tab-buttons {
        display: none;
    }

    .tabs-extras {
        grid-template-columns: 1fr;
    }

    .tabs-extras div {
        border-right: 0;
        border-bottom: solid 1px rgba(255, 255, 255, 0.075);
    }

    .tabs-extras div:nth-last-child(1) {
        border-bottom: 0;
    }

    .tabs-extras h3 {
        font-size: 1.15rem;
    }

    .quote-section {
        display: grid;
        row-gap: 1.5rem;
    }

    .the-actual-quote {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 600px) { 
    .sidekicks-grid {
        grid-template-columns: 1fr;
    }

    .sbs-bullets {
        grid-template-columns: 1fr;
        row-gap: 2rem;
        margin-top: 2.5rem;
    }
}

@media only screen and (max-width: 420px) { 
    .portla-tools .a-tools h2, .portla-tools h2 {
        font-size: 1.7rem;
    }
}

