/*
Theme Name: Portfolio BI Main Theme
Theme URI:
Author: Lacewing
Author URI: https://www.lacewing.agency/
Description: Parent theme.
Version: 1.0
*/

/* Typography */

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&family=Geist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --font-sans: "Geist", sans-serif;
    --font-mono: "Geist Mono", monospace;

    --type-h1-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
    --type-h1-line: clamp(3rem, 2.4rem + 2.4vw, 4.5rem);
    --type-h1-track: -0.015em;

    --type-h2-size: clamp(2rem, 1.625rem + 1.5vw, 3rem);
    --type-h2-line: clamp(2.25rem, 2rem + 1vw, 3.25rem);
    --type-h2-track: -0.02em;

    --type-h3-size: clamp(1.375rem, 1.28125rem + 0.375vw, 1.6875rem);
    --type-h3-line: clamp(1.625rem, 1.53125rem + 0.375vw, 1.9375rem);
    --type-h3-track: -0.02em;

    --type-copy-size: clamp(1rem, 0.9625rem + 0.15vw, 1.125rem);
    --type-copy-line: 1.6;
}

body,
body :where(p, li, a, span, small, strong, em, blockquote, figcaption, label, input, textarea, select, button, th, td) {
    font-family: var(--font-sans);
    font-weight: 300;
    font-style: normal;
}

body :where(code, pre, kbd, samp, .font-mono) {
    font-family: var(--font-mono);
    font-style: normal;
}

.mono-100 { font-family: var(--font-mono); font-weight: 100; font-style: normal; }
.mono-200 { font-family: var(--font-mono); font-weight: 200; font-style: normal; }
.mono-300 { font-family: var(--font-mono); font-weight: 300; font-style: normal; }
.mono-400 { font-family: var(--font-mono); font-weight: 400; font-style: normal; }
.mono-500 { font-family: var(--font-mono); font-weight: 500; font-style: normal; }
.mono-600 { font-family: var(--font-mono); font-weight: 600; font-style: normal; }
.mono-700 { font-family: var(--font-mono); font-weight: 700; font-style: normal; }
.mono-800 { font-family: var(--font-mono); font-weight: 800; font-style: normal; }
.mono-900 { font-family: var(--font-mono); font-weight: 900; font-style: normal; }

p,
ul,
ol,
li,
blockquote {
    font-size: var(--type-copy-size);
    line-height: var(--type-copy-line);
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

li + li {
    margin-top: 0.35em;
}

h1,
h2,
h3,
.h1-size,
.h2-size,
.h3-size {
    font-family: var(--font-sans);
    font-weight: 300;
    font-style: normal;
    margin: 0 0 20px;
}

.h1-size p {font-size: var(--type-h1-size); line-height: var(--type-h1-line);}
.h2-size p {font-size: var(--type-h2-size); line-height: var(--type-h2-line);}
.h3-size p {font-size: var(--type-h3-size); line-height: var(--type-h3-line);}


h1 {
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-line);
    letter-spacing: var(--type-h1-track);
    text-align: center;
}

h2 {
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-line);
    letter-spacing: var(--type-h2-track);
}

h3 {
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-line);
    letter-spacing: var(--type-h3-track);
}

h5 {
    font-family: Geist Mono;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 25px;
    letter-spacing: 8%;
    text-transform: uppercase;

}

.h1-size {
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-line);
    letter-spacing: var(--type-h1-track);
}

.h2-size {
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-line);
    letter-spacing: var(--type-h2-track);
}

.h3-size {
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-line);
    letter-spacing: var(--type-h3-track);
}

header {
    position: absolute;
    width: 100%;
    z-index: 9999;
    padding: 30px 0 0 0;
}

/* Rows */

.site-band {padding: 20px 0;}
.site-band.top {padding: 20px 0 0 0;}
.site-band.bottom {padding: 0 0 20px 0;}

@media (min-width: 992px) {
    .site-band {padding: 50px 0;}
    .site-band.top {padding: 50px 0 0 0;}
    .site-band.bottom {padding: 0 0 50px 0;}
}

.light-bg {background-color: rgba(242, 242, 247, 1);}
.blue-bg, .purple-bg {background-color: rgba(3, 0, 89, 1); color: #fff;}
.lpurple-bg {background-color: #4E40A3; color: #fff;}


.content ul,
.content ol,
.site-band ul,
.site-band ol,
.role ul,
.role ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

a {color: var(--ige-blue);}
a:hover {color: var(--ige-highlight);}

@media (min-width: 992px) {}

/* Block links */

.bl,
.ol {
    padding: 20px 30px;
    border-radius: 35px;
    font-size: var(--type-copy-size);
    text-decoration: none;
    display: inline-block;

}

.ol:after,
.bl:after {
    content: "→";
    padding-left: 20px;
    transition: padding ease 0.5s;
}

.bl:after {
    color: rgba(142, 191, 0, 1);
}

.ol:hover:after,
.bl:hover:after {
    content: "→";
    padding-left: 40px;
    transition: padding ease 0.5s;
}

.ol.green {
    color: #fff;
    border: 1px solid rgba(142, 191, 0, 1);
    background: transparent;
    transition: background ease 0.5s, border ease 0.5s;
}

.ol.green:hover {
    color: #fff;
    border: 1px solid transparent;
    background: #4e40a3;
    transition: background ease 0.5s, border ease 0.5s;
}

.bl.white {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(3, 0, 89, 1);
    transition: background ease 0.5s;
}

.bl.white:hover {
    background-color: #4e40a3;
    color: #fff;
    transition: background ease 0.5s;
}

.bl.purple {
    background-color: rgba(78, 64, 163, 1);
    color: #fff;
    transition: background ease 0.5s;
}

.bl.purple:hover {
    background-color: #fff;
    color: #4e40a3;
    transition: background ease 0.5s;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(3, 0, 89, 1);
    border-radius: 4px;
    color: rgba(3, 0, 89, 1);
    background-color: transparent;
    text-decoration: none;
    font-weight: 400;
    line-height: 1;
    transition: background-color ease 0.3s, color ease 0.3s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background-color: rgba(3, 0, 89, 1);
    color: #fff;
}

.blog-pagination .page-numbers.dots {
    width: auto;
    min-width: 48px;
    padding: 0 12px;
}

.full {
    display: block;
    width: 100%;
    text-align: center;
}

#mega-sub-menu-2047,
#mega-sub-menu-2048 {margin: 50px 0 0 0 !important;}

#mega-sub-menu-2048 {
    overflow: visible !important;
}

.mega-indicator {
    color: rgba(142, 191, 0, 1) !important;
}

#mega-sub-menu-2047::before,
#mega-sub-menu-2048::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: -12px !important;
    left: 30% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    border-bottom: 12px solid #fff !important;
    z-index: 999999 !important;
    pointer-events: none;
}

#mega-menu-item-2048:hover > a::after {
    display: block;
}

.count {
    font-family: Geist Mono;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 25px;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: rgba(142, 191, 0, 1);
    margin-bottom: 30px;
}

.row-subtitle {
    font-family: var(--font-mono);
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 25px;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: rgba(3, 0, 89, 1);
}

.page-header .row-subtitle,
.footer-cta .row-subtitle,
.testimonial-band .row-subtitle,
.blue-bg .row-subtitle {
    color: #fff;
}

.row-subtitle:before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    background: rgba(142, 191, 0, 1);
    border-radius: 50%;
    margin: 0 15px -2px 0;
}

.hww-card {
    min-height: calc(100% - 30px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.hww-card span {
    display: block;
    font-family: var(--font-mono);
    color: rgba(142, 191, 0, 1);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 15%;
}

.white-block {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    color: #000;
    text-align: left;
}

.row-white-block__content {
    text-align: left !important;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background-size: cover;
    background-position: center center;
}

.white-block .image-wrapper {
    min-height: 320px;
}

.text-wrapper {
    padding: 30px 0 0 0;
}

@media (min-width: 992px) {
    .text-wrapper {
        padding: 50px;
    }
}

@media (max-width: 991px) {
    .white-block .image-wrapper {
        min-height: 280px;
        margin-bottom: 30px;
    }
}

/* accordian */

.hww-accordian {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style-type: none;
}
.hww-accordian > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 0 15px 20px;
    position: relative;
}

.hww-accordian > li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.hww-accordian .a-trigger {
    margin: 0px;
}
.hww-accordian .a-symbol {
    color: rgba(142, 191, 0, 1);
    position: absolute;
    left: 0;
}
.hww-accordian .a-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: #fff;
}
.hww-accordian .a-content p:last-child {margin: 0px;}


.gr-block-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 30px;
}

.gr-block-wrapper--4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 30px;
}

@media (min-width: 992px) {
    .gr-block-wrapper--4 {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 30px 30px;
    }
}

.gr-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
    padding: 42px 34px 36px;
    border-radius: 22px;
    background: #f3f4f8;
    color: #111;
}

.gr-block-wrapper--4 .gr-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
    padding: 42px 34px 36px;
    border-radius: 22px;
    background: #fff;
    color: #111;
}

@media (min-width: 992px) {
    .gr-block-wrapper--4 .gr-block:nth-child(odd) {
        background: #0d0570;
        color: #fff;
    }
}

.gr-block-wrapper .gr-block:nth-child(4n + 1),
.gr-block-wrapper .gr-block:nth-child(4n + 4) {
    background: #0d0570;
    color: #fff;
}

.gr-block span {
    display: block;
    margin-bottom: 48px;
    font-family: var(--font-mono);
    font-weight: 100;
    line-height: 1;
    color: #98c800;
}

.gr-block h4 {
    margin: 0 0 18px;
}

.gr-block p {
    margin: 0;
    max-width: 16ch;
    color: inherit;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .gr-block-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gr-block {
        min-height: 260px;
        padding: 28px 24px;
    }

    .gr-block span {
        margin-bottom: 32px;
    }
}

/* Testimonial Row  */

.testimonial-band {
    color: #fff;
    padding: 5% 0;
    text-align: center;
}

.testimonial-author-block {
    text-align: left;
    max-width: 300px;
    margin: auto;
    display: flex;
    gap: 20px;
    align-items: center;
}

.testimonial-author-block .testimonial-author-details p {
    margin: 0px;
}

.testimonial-author-block .testimonial-author-details p.testimonial-author-role {
    font-size: 14px;
}

.testimonial-author-block .logo-wrapper {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: red;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-text {
    padding: 50px 0 30px 0;
}

.testimonial-text p {
    font-weight: 300;
    font-style: Regular;
    font-size: clamp(1.7rem, 1.3rem + 1vw, 2.5rem);
    line-height: clamp(2.2rem, 1.8rem + 1vw, 3rem);
    leading-trim: NONE;
    letter-spacing: -2%;
    text-align: center;
}

.testimonial-slider-arrow {
    border: none;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(3, 0, 89, 1);
}

/* Blog */

.single-post-card {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    height: calc(100% - 30px);
    padding: 0 0 50px 0;
    margin: 0 0 30px 0;
}
.single-post-card .post-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.single-post-card .featured-image {
    background-size: cover;
    background-position: center center;
    position: absolute;
    width: 100%;
    height: 100%;
    scale: 1;
    transition: scale ease 0.5s;
}
.single-post-card:hover .featured-image {
    scale: 1.2;
    transition: scale ease 0.5s;
}
.single-post-card .post-details {
    padding: 30px;
}
.single-post-card date {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f2f2f2;
    border-radius: 35px;
    font-size: 12px;

}
.single-post-card .post-title {
    display: block;
    margin: 20px 0 20px 0;
    font-family: Geist;
    font-weight: 400;
    font-style: Regular;
    font-size: 27px;
    leading-trim: NONE;
    line-height: 31px;
    letter-spacing: -2%;
    text-decoration: none;
}
.single-post-card .post-link {
    position: absolute;
    bottom: 30px;
    left: 30px;
    text-decoration: none;
}

.single-post-card .post-link:after {
    content: "→";
    padding-left: 10px;
    transition: padding ease 0.5s;
    color: rgba(142, 191, 0, 1);
}

.single-post-card .post-link:hover:after {
    content: "→";
    padding-left: 20px;
    transition: padding ease 0.5s;
    color: rgba(142, 191, 0, 1);
}

/* Footer */

footer {
    background-color: rgba(3, 0, 89, 1);
    padding: 50px 0 0 0;
}

footer .footer-cta {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 22px 1px rgba(0,0,0,0.2); 
    box-shadow: 0px 0px 22px 1px rgba(0,0,0,0.2);
    margin-bottom: 50px;
}

footer .footer-cta .footer-cta-content {
    width: 100%;
    padding: 5%;
}

@media (min-width: 992px) {
    footer .footer-cta {
        color: #fff;
        background-color: red;
        border-radius: 20px;
        overflow: hidden;
        background-size: cover;
        -webkit-box-shadow: 0px 0px 22px 1px rgba(0,0,0,0.46); 
        box-shadow: 0px 0px 22px 1px rgba(0,0,0,0.46);
        margin-bottom: 50px;
    }

    footer .footer-cta .footer-cta-content {
        width: 60%;
        padding: 5%;
    }
}

.footer-links {
    color: #fff;
    padding: 50px 0;
}


.socials {
    margin: 30px 0;
    padding: 0px;
    list-style-type: none;
    display: flex;
    gap: 10px;
}

.socials .social-item {
    margin: 0px;
}

.socials .social-item a {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #fff;
    transition: background ease 0.5s;
}

.socials .social-item a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(142, 191, 0, 1);
    transition: background ease 0.5s;
}

.socials .screen-reader-text {
    display: none;
}

/* Footer menus */


.footer-menu {
    margin: 30px 0;
    padding: 0px;
    list-style-type: none;
}

.footer-menu li {
    margin: 15px 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0px;
}

.footer-menu a:before {
    content: "";
    padding: 0px;
}
.footer-menu a:hover:before {
    content: "→";
    padding: 0 10px 0 0;
    color: rgba(142, 191, 0, 1);
    transition: all ease 0.5s;
}


.footer-policies {
    padding: 20px 0;
    margin: 0px;
    list-style-type: none;
    display: flex;
    gap: 30px;
}

.footer-policies li {margin: 0px;}

.footer-policies a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.footer-smallprint {
    background-color: rgba(43, 41, 110, 1);
}

/* Megamenu */

.mega-menu {
    width: 100%;
}

.mega-menu__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.mega-menu__column {
    min-width: 0;
}

.mega-menu__heading {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    font-family: Geist Mono;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 25px;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: rgba(3, 0, 89, 1);
}

.mega-menu__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.mega-menu__item-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu__item-icon img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.mega-menu__item-icon-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #d9d9d9;
}

.mega-menu__item-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mega-menu__item-title {
    font-style: Regular;
    font-size: 17px;
    leading-trim: NONE;
    line-height: 26px;
    letter-spacing: 0%;
    color: rgba(17, 27, 41, 1);
}

.mega-menu__item-excerpt {
    color: rgba(140, 140, 140, 1);
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 20px;
    letter-spacing: 0%;
}

.mega-menu__item-title,
.mega-menu__item-excerpt {
    display: block;
}

@media (max-width: 991px) {
    .mega-menu__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .mega-menu__inner {
        grid-template-columns: 1fr;
    }
}

/* Blogs */

.blog-header {
    padding: 200px 0 50px 0;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-sidebar h4 {
    margin: 15px 0;
    text-align: center;
}

.blog-sidebar .date-posted {
    padding: 10px 15px;
    font-size: 13px;
    background-color: #F2F2F7;
    border-radius: 35px;
    margin: auto;
    text-align: center;
}

.blog-sidebar .share-list {
    padding: 0px !important;
    margin: 0px !important;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.blog-sidebar .share-list li {}
.blog-sidebar .share-list li a {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #96C038;
    font-size: 24px;
    text-align: center;
    line-height: 48px;
    color: #030059;
}


.support-blocks-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* could be more columns or less. Each repeater row should be a column */
    gap: 30px;
}

.support-blocks-wrap .support-block {
    border-radius: 20px;
    color: #fff;
    padding: 30px;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.support-blocks-wrap .support-block img {
    max-height: 180px;
}

@media (max-width: 767px) {
    .support-blocks-wrap {
        grid-template-columns: 1fr;
    }
}

.purple-bg {background-color: #030059;}
.green-bg {background-color: #8EBF00}

.location-block {
    padding: 30px;
    border-radius: 20px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    color: #fff;
}

.page-header__layout .page-header__copy-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-2 .mega-toggle-animated-inner, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-2 .mega-toggle-animated-inner::before, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-2 .mega-toggle-animated-inner::after {
    background-color: #000;
}


.what-we-do-row .solutions-slider-track .solution-slide:nth-child(3n + 1) .single-solution-card {
    background-color: #030059;
}

.what-we-do-row .solutions-slider-track .solution-slide:nth-child(3n + 2) .single-solution-card {
    background-color: #8EBF00;
}

.what-we-do-row .solutions-slider-track .solution-slide:nth-child(3n + 3) .single-solution-card {
    background-color: #4E40A3;
}

/**/

@media only screen and (max-width: 992px) {
    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-blocks-left {
        justify-content: flex-start;
        padding-left: 30px;
    }
    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-blocks-right {
        justify-content: flex-end;
        padding-right: 30px;
    }
}
