/*
Theme Name: Linsight
Author: Eamon Miller
Version: 1.0
*/
:root {
    --font-text: "Red Hat Text", sans-serif;
    --font-head: "Red Hat Display";

    --header-height: 64px;

    --primary-color: #0361a0;
    /* Blue */
    --secondary-color: #023d64;
    /* Dark Blue */
    --custom-background-color: #fffaf5;
    /* Floral White */
    --background-alt-color: #c2e6fe90;
    /* Light Blue */
    --foreground-color: #1f1300;
    /* Licorice Black */
    --accent-color: #822e81;
    /* Purple */
    --error-color: #dc3545;
    /* Keeping existing Error color */
    --success-color: #28a745;
    /* Keeping existing Success color */
    --warning-color: #e28413;
    /* Orange */

    --border-radius: 2px;
}

/** Removing body margin & hiding overflow **/

* {
    vertical-align: baseline;
    font-family: var(--font-text);
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0 !important;
    font-family: var(--font-text);
    max-width: 100%;
    /* overflow-x: hidden; */
    color: var(--foreground-color);
    background-color: var(--background-color);
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--custom-background-color);
}

p {
    line-height: 150%;
}

/* Headings  */
.heading-l,
.heading-l > * {
    font-size: 4rem;
    font-family: var(--font-head);
    font-weight: bold;
}

.heading-m {
    font-size: 2.4rem;
    font-family: var(--font-head);
    font-weight: bold;
}

.heading-s {
    font-size: 1.2rem;
    font-family: var(--font-head);
    font-weight: bold;
}

.sub-heading,
.footer-title {
    font-size: 1rem;
    font-family: var(--font-text);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: block;
}

.l-height1 {
    line-height: 1;
}

/* spacing  */

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

section.alt-bg {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.spacing-0 {
    margin: 0;
    padding: 0;
}

.spacing-l {
    margin-bottom: 2rem;
}

.spacing-m {
    margin-bottom: 1rem;
}

.spacing-s {
    margin-bottom: 0.5rem;
}

.-spacing-t {
    margin-top: -2rem !important;
}

/** Minimum height for content area **/
.emm-content {
    padding-top: var(--header-height);
}

/** Grid Size & Margin **/
.website-grid {
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

/* common flex container  */
.flex {
    display: flex;
    flex-direction: column;
}

/** Removing Link Underline, adding for hover **/
a {
    text-decoration: none;
    color: var(--primary-color);
}

/** Buttons **/
.button {
    background-color: var(--primary-color);
    color: var(--custom-background-color);
    font-size: 1rem;
    padding: 0.6em 1.8em;
    border: none;
    position: relative;
    transition: 0.2s ease-in;
    display: block;
    width: fit-content;
    border-radius: 2px;

    /* Ensures the pseudo-element does not show outside the button */
}

.button::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 100%;
    /* Start from below the button */
    transform: translateX(-40px) translateY(40px);
    /* Center horizontally, no vertical offset */
    width: 40px;
    /* Width of the arrow */
    height: 40px;
    /* Height of the arrow */
    background: url(/wp-content/uploads/2024/05/Linsight-Single-Arrow-Black.svg);
    /* Color of the arrow */
    z-index: -1;
    transition: transform 0.3s ease-in-out;
}

.button:hover::before {
    transform: translateX(-20px) translateY(20px);
    /* Move the arrow over and to the top-right */
}

.button:hover {
    cursor: pointer;
    transform: none;
    /* background-color: var(--secondary-color); */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

main a {
    transition: all 0.3s ease;
}

main a:hover {
    cursor: pointer;
    transform: translateY(4px);
}

:focus {
    outline: none;
}

/** Address font style **/
address {
    font-style: normal;
}

.text-center {
    text-align: center;
}

/** --------------------- 404 error page --------------------- **/

.error-404 {
    min-height: 60vh;
    display: flex;
    width: 100%;
    align-items: center;
    padding-bottom: 80px;
    text-align: center;
}

.error-404-number {
    line-height: 100%;
    font-size: 160px;
    font-weight: 600;
    margin: 0;
}

/** --------------------- Footer --------------------- **/
.site-footer {
    padding-top: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 2rem;
    width: 100%;
    display: none;
    margin-bottom: 4rem;
}

.footer-logo a {
    display: block;
    height: 100%;
    width: 100%;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: 0%;
}

.site-footer li {
    list-style: none;
    margin-bottom: 1rem;
}

.footer-title {
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    white-space: nowrap;
}

.site-footer ul {
    padding-left: 0;
}

.site-footer a {
    color: var(--foreground-color);
    font-weight: 300;
}

.site-footer a:hover {
    color: var(--primary-color);
}

.footer-contact a {
    margin-bottom: 1rem;
    display: block;
}

span.footer-copyright {
    line-height: 1.6;
}

.footer-socials .footer-title {
    margin-bottom: 1rem;
}

.site-footer .mail-list {
    position: relative;
    margin-bottom: 2rem;
}

.mail-list .gform_wrapper.gravity-theme .gfield_label_before_complex {
    display: none;
}

.mail-list .gfield--type-email {
    border: solid 1px var(--foreground-color);
    padding: 0.5rem;
    font-size: 1rem;
}

#input_2_1 {
    padding: 0;
}

.mail-list .gform_wrapper.gravity-theme .gform_footer {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

.mail-list .gform_wrapper.gravity-theme .gform_footer .button {
    padding: 0.5rem 1rem;
    border: solid 1px var(--primary-color);
}

.mail-list .gform_wrapper.gravity-theme .gform_footer .button:hover {
    transform: none;
    border: solid 1px var(--secondary-color);
}

.mail-list .gform_wrapper.gravity-theme .gform_validation_errors,
#validation_message_2_1 {
    display: none;
}

.sub-footer {
    text-align: center;
    color: var(--foreground-color);
    padding: 2rem 0;
    margin-top: 6rem;
    font-size: 0.8rem;
    background: var(--background-color);
}

.bt {
    border-top: solid 1px var(--foreground-color);
}

.socials ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
}

.socials li {
    margin-right: 1rem;
}

.socials ul li:last-child {
    margin-right: 0;
}

.socials a {
    display: flex;
    border: solid 1px var(--foreground-color);
    width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--border-radius) * 100);
}

.socials i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.socials a:hover i {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.site-footer > .website-grid {
    display: flex;
    flex-direction: column;
}

.footer-col {
    margin-bottom: 2rem;
}

/** --------------------- HEADER --------------------- **/

.mobile-menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 99;
    position: relative;
}

.icon-bar {
    width: 100%;
    height: 2px;
    background-color: var(--foreground-color);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-trigger.active .icon-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-trigger.active .icon-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active .icon-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--custom-background-color);
    transition: right 0.3s ease-in-out;
    z-index: 9;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 4rem 1rem;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 10px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px;
    color: var(--foreground-color);
}

.mobile-menu .button {
    padding: 0;
    background: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .socials {
    margin-left: auto;
    display: none;
}

.header .socials a {
    border: none;
    width: auto;
    height: auto;
    color: var(--foreground-color);
}

.desktop-menu {
    display: none;
}

.branding {
    height: 60px;
}

.branding a {
    height: 100%;
    max-width: 80px;
    display: block;
}

.branding img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.5s ease;
    max-width: 100vw;;
}

.header.sticky {
    background-color: var(--custom-background-color);
    top: -100%;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.header.sticky.visible {
    top: 0;
}

/* blog */

.blog-entries {
    display: flex;
    flex-wrap: wrap;
}

.blog-card {
    min-width: 300px;
    overflow: hidden;
    margin-right: 3%;
    flex: 1 0 23%;
    border-radius: var(--border-radius);
}

.blog-card p {
    color: var(--foreground-color);
}

.blog-card:nth-child(4) {
    margin-right: 0;
}

.blog-card-image {
    height: 140px;
    width: 100%;
    border-radius: var(--border-radius);
}

.blog-card-content {
    padding: 1rem;
}


.page-number-box{
    width: 100%;
    display:flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;

}

.page-numbers{
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    padding: 0.4rem;
} 

.page-numbers.current, .page-numbers:hover{
    background-color: var(--secondary-color);
}

.post-navigation {
    margin: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.post-card {
    background-color: var(--background-alt-color);
    padding: 2rem;
    color: var(--foreground-color);
    width: 300px;
    transition: ease 0.3s all;
    display: inline-block;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-info span {
    margin-bottom: 0.5rem;
    display: block;
}
.nav-links {
    width: 100%;
    display: flex;
}

.prev-post {
    display: block;
}

.next-post {
    display: block;
    margin-left: auto;
}

/** --------------------- RESPONSIVE --------------------- **/

@media screen and (min-width: 768px) {
    html {
        font-size: 18px;
    }

    .header {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background-color: var(--custom-background-color);
    }

    .mobile-menu-trigger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .flex {
        flex-direction: row;
    }

    .reverse {
        flex-direction: row-reverse;
    }

    .between {
        justify-content: space-between;
    }

    .desktop-menu {
        display: flex;
        align-items: center;
    }

    .desktop-menu ul {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .desktop-menu ul li {
        margin-right: 2rem;
    }

    .desktop-menu ul li a {
        color: var(--foreground-color);
        text-decoration: none;
    }

    .header .socials {
        display: block;
        width: fit-content;
        padding-bottom: 1rem;
    }

    .header-inner > div:nth-child(1) {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    .header-inner > div:nth-child(2) {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .branding {
        height: 48px;
    }

    .branding a {
        max-width: 100px;
    }

    /* desktop-footer */

    .footer-title,
    .sub-heading {
        font-size: 0.7rem;
    }

    .footer-title {
        margin-bottom: 2rem;
    }

    .footer-logo {
        width: fit-content;
        display: block;
    }

    .footer-logo a {
        width: fit-content;
    }

    .site-footer > .website-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        padding-right: 4rem;
        margin-bottom: 0;
        max-width: 400px;
        width: fit-content;
    }

    .footer-col:last-child {
        padding-right: 0;
    }
}

/* accesibility styling */
a:focus {
    outline: auto 5px Highlight;
    /* for non-webkit browsers */
    outline: auto 5px -webkit-focus-ring-color;
    /* for webkit browsers */
}

.skip-link {
    background: #dc1c27;
    color: #fff;
    font-weight: 700;
    left: 50%;
    padding: 4px;
    position: absolute;
    transform: translateY(-100%);
    z-index: 99;
}

.skip-link:focus {
    transform: translateY(0%);
}

#input_2_1 {
    background: none !important;
}

/* additional styles */

/* recent brief */
.blog-recent {
    align-items: flex-start;
    gap: 10%;
}

.blog-recent .image-container {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    max-height: 400px;
    max-width: 400px;
}

.blog-recent .col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevents overflow */
}

.blog-recent .col:first-child {
    max-width: 600px;
}

.blog-recent .image-container img {
    width: 100%;
    /* Ensures the image covers the width */
    height: auto;
    /* Keeps the image's aspect ratio intact */
    object-fit: contain;
    /* Ensures the image covers the area, may clip the image */
}

/* coaching */

.card {
    flex: 0 0 32%;
    color: var(--foreground-color);
    overflow: hidden;
    box-shadow: rgba(9, 30, 66, 0.056) 0px 1px 1px,
        rgba(9, 30, 66, 0.052) 0px 0px 1px 1px;
    border-radius: var(--border-radius);
}

.card:hover {
    transform: none;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
        rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.card .text-container {
    padding: 0.5rem 1rem 1rem;
}

.card .image-container {
    height: 220px;
    overflow: hidden;
}

.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
}

.absolute {
    position: absolute;
}

.image-container {
    position: relative;
}

/* hero  */
.hero {
    background: var(--primary-color);
    color: var(--custom-background-color);
    padding-top: var(--header-height);
}

.hero .bg-dec {
    position: absolute;
    opacity: 0.05;
    transform: scaleX(100%);
    top: -80px;
    left: -180px;
    width: 60vw;
}

.hero .image-container img.absolute {
    top: 84%;
    right: 80%;
    width: 160px;
    height: 160px;
    z-index: 1;
}

.hero .flex {
    gap: 100px;
}

.hero .image-container {
    min-width: 290px;
    height: 420px;
    /* border: solid 10px var(--foreground-color); */
}

.hero .image-container img {
    object-fit: cover;
    height: 100%;
}

.hero .text-col {
    padding-top: 9rem;
}

.hero .heading-l {
    line-height: 1.1;
}

.hero .heading-l span {
    display: inline-block;
}

.right {
    text-align: right;
}

.image-container img {
    max-width: 100%;
}

.image-container img.svg {
    width: 100%;
}

/* connecting  */

section.connecting {
    border-bottom: solid 2px var(--foreground-color);
}

.connecting .flex {
    gap: 1rem;
}

.connecting .image-container {
    flex: 0 0 50%;
    padding-left: 4rem;
    margin-top: 12px;
}

/* solution */

section.solutions {
    background-color: var(--background-alt-color);
}

.solutions .image-container {
    width: 400px;
}

.solutions .image-container img {
    position: absolute;
    left: -120px;
    top: -50px;
    width: 540px;
    height: 540px;
    max-width: 500px;
}

.solutions > .flex {
    gap: 4rem;
}

.solutions .col.flex {
    gap: 4rem;
    align-items: center;
}

.solutions .col.flex p {
    margin-bottom: 1rem;
}

.solution-list {
    list-style: none;
    padding-top: 1.5rem;
}

.solution-list li {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.solution-list li:last-child {
    margin-bottom: 0;
}

.solution-list img {
    height: 40px;
    width: 40px;
    margin-right: 1rem;
}

/* blog post page single  */

.blog-single {
    margin-top: var(--header-height);
    padding-top: 0;
    display: flex;
}

.post-area {
    background: var(--custom-background-color);
}

.post-image {
    height: 240px;
    width: 100%;
    overflow: hidden;
}

.post-image img {
    object-fit: cover;
    width: 100%;
}

.post-content-container {
    display: flex;
    justify-content: space-between;
}

.post-content {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.share {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 0;
    top: var(--header-height);
    background: var(--custom-background-color);
    padding: 1rem;
}

.share a i {
    font-size: 1.4rem;
    padding: 1rem;
    display: block;
}

.briefs {
    background: var(--primary-color);
    color: var(--custom-background-color);
}

.briefs .image-container {
    flex: 0 0 40%;
    padding-top: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23023d64' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 8rem;
}

.blog-archive .posts .flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2%;
}

.blog-archive .posts .flex .card{
   
}


/* gtenburg linsight block  */

.wp-block-columns {
    position: relative;
}

.linsight {
    padding: 1rem;
    background: var(--background-alt-color);
    height: fit-content;
    position: sticky;
    top: 0;
}

.post-content .wp-block-column > * {
    margin-bottom: 1rem;
}

/* animations css  */

.animate {
    opacity: 0;
    transition-property: opacity, transform;
    will-change: opacity, transform;
}

.fade-in-left {
    transform: translateX(-50px);
    transition-duration: 1.2s;
    /* Different time for animation */
}

.fade-in-right {
    transform: translateX(50px);
    transition-duration: 1s;
    /* Different time for animation */
}

.fade-up {
    transform: translateY(50px);
    transition-duration: 1.2s;
    /* Different time for animation */
}

.fade-in {
    transition-duration: 0.5s;
    /* Different time for animation */
}

.delay1 {
    transition-delay: 0.15s;
}

.delay2 {
    transition-delay: 0.3s;
}

.delay3 {
    transition-delay: 0.5s;
}

.visible {
    opacity: 1;
    transform: none;
    /* Resets any transformation */
}

/* carousel testimonials */
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 60s linear infinite;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 30%;
    /* Each item takes up 50% of the width */
    width: 30%;
    /* This should exactly match the flex-basis */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-120%);
        /* Scroll exactly through the width of the original set of items */
    }
}

.testimonial {
    padding: 1rem;
    width: fit-content;
    max-width: 80%;
    background: white;
    box-shadow: rgba(9, 30, 66, 0.056) 0px 1px 1px,
        rgba(9, 30, 66, 0.052) 0px 0px 1px 1px;
    border-radius: var(--border-radius);
}

.testimonials {
    background-color: var(--background-alt-color);
}

.testimonials .website-grid {
    position: relative;
}

.testimonials .absolute {
    top: -210px;
    right: -140px;
    width: 500px;
    height: 500px;
}

.testimonial h3 {
    margin-bottom: 1rem;
    line-height: 1;
}

/* contact page  */

.page-title {
    background: var(--primary-color);
    color: white;
    padding-top: 6rem;
}

.contact-form .gfield {
    border-bottom: solid var(--foreground-color) 1px !important;
    margin-bottom: 2rem !important;
}

.form-input input,
.form-input textarea {
    border: none;
    background: none;
    padding: 1rem 0rem !important;
    font-family: var(--font-text);
    font-size: 1rem;
}

.form-input input::placeholder,
.form-input textarea::placeholder {
    font-size: 1rem;
    font-family: var(--font-text);
}

.contact-form {
    flex: 0 0 75%;
    padding: 3rem 4rem 3rem 3rem;
    margin-left: -3rem;
    margin-top: -10rem;
    background: var(--custom-background-color);
    box-shadow: #091e421d 0px 4px 8px -2px,
        rgba(9, 30, 66, 0.022) 0px 0px 0px 1px;
    border-radius: 2px;
}

.bus-details {
    flex: 0 0 15%;
}

.contact-form .gform-body legend,
.contact-form .gform-body label {
    font-size: 1.2rem !important;
    font-family: var(--font-head) !important;
    font-weight: bold !important;
    margin-bottom: 0;
}

.contact-form .gform_wrapper.gravity-theme .gfield_required {
    color: var(--background-alt-color);
}

.gform_required_legend {
    display: none !important;
}

.spacerxl {
    padding-top: 4rem;
}

.bus-details a {
    color: var(--foreground-color);
}

.contact-page .page-title .website-grid {
    position: relative;
}

.contact-page .page-title .heading-l {
    padding-bottom: 4rem;
    z-index: 2;
    position: relative;
}

.contact-page .page-title .website-grid img.absolute {
    transform: scale(-100%, -100%);
    margin: -60px 0px 4rem -100px;
    max-width: 450px;
    position: absolute;
    right: 0;
}

.contact-page .page-title > .absolute {
    top: 0;
    opacity: 0.1;
    width: 900px;
}

.contact-page .page-title > .absolute {
    z-index: 0;
}

.contact-page .page-title .website-grid img.absolute {
    z-index: 1;
}

.contact-form {
    z-index: 2;
}

/* about page  */

#what-why {
    background-color: var(--background-alt-color);
    position: relative;
    z-index: 1;
}

#what-why .flex {
    flex-wrap: wrap;
    padding-left: 4rem;
}

#what-why .flex .card {
    flex: 0 0 48%;
    margin-bottom: 1rem;
    display: flex;
    border: none;
    border-top: solid 2px var(--primary-color);
    box-shadow: none;
    border-radius: 0;
    padding: 1rem 0;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

#what-why .card .text-container {
    margin: 0;
    padding: 0;
    padding-left: 1rem;
}

#what-why .card .image-container {
    height: 2rem;
    width: 2rem;
    min-width: 2rem;
    margin-top: 4px;
}

#what-why .card .image-container img {
    height: 2rem;
    width: 2rem;
}

.about-page .page-title {
    background: var(--primary-color);
    color: white;
}

.about-page .page-title .website-grid {
    position: relative;
}

.about-page .page-title .image-container {
    overflow: hidden;
    height: 500px;
    width: 400px;
}

.badge {
    background: var(--secondary-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-20%, 20%);
    overflow: hidden;
}

.badge img {
    width: 7rem;
    padding: 0.25rem 0rem 0.25rem 0.5rem;
}

.about-page .page-title .image-col {
    overflow: visible;
    top: 0;
    right: 0;
    margin-bottom: -40rem;
    height: 500px;
    width: 400px;
    z-index: 1;
}

.ab1 {
    top: -10rem;
    left: 30rem;
    width: 1200px;
    z-index: 0;
    opacity: 0;
    display: none;
}

.ab2 {
    top: 0rem;
    left: 4rem;
    width: 840px;
    opacity: 0.1;
}

.about-page .page-title .image-container img {
    object-fit: cover;
    object-position: center 0%;
}

.about-page .page-title .image-col::before {
    content: "";
    background: var(--secondary-color);
    width: 400px;
    height: 500px;
    position: absolute;
    right: -20px;
    top: -30px;
    z-index: -1;
}

.mw60 {
    max-width: 500px;
}

.flex-end {
    justify-content: end;
}

.align-center {
    align-items: center;
}

.svg-fix {
    width: 100%;
}

.about-text-2 .linsight-img {
    flex: 0 0 45%;
    padding: 4rem;
    margin: -1rem 0;
    margin-right: 4rem;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c2e6fe' fill-opacity='0.7'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-text-2 {
    position: relative;
}

.about-text-2 .absolute {
    left: -6rem;
    top: -6rem;
    width: 800px;
    z-index: -1;
    opacity: 0.1;
}

.cta-section {
    background: var(--primary-color);
    color: white;
    overflow: hidden;
}

.cta-section .website-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.cta-section .button {
    background: var(--foreground-color);
    z-index: 1;
}

.cta-section p {
    max-width: 600px;
}

.cta-section .absolute,
.breif-ideas .absolute {
    opacity: 0.03;
    top: -34rem;
    right: 0rem;
    width: 1500px;
    z-index: 0;
}

.breif-ideas .website-grid {
    background-color: var(--primary-color);
    text-align: center;
    color: var(--custom-background-color);
    max-width: 1060px;
    padding: 1rem;
    position: relative;
}

.breif-ideas .button {
    background: var(--foreground-color);
    z-index: 1;
    margin: auto;
}

@media screen and (max-width: 1050px) {
    .blog-archive .posts .flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2%;
    }

    .blog-archive .flex .card {
        flex: 1 1 45%;
        margin-bottom: 1rem;
        max-width: 49%;
    }

    .about-page .page-title .image-container,
    .about-page .page-title .image-col::before,
    .about-page .page-title .image-container {
        width: 300px;

        height: 50%;
        height: auto;
        max-width: calc(100vw - 600px);
    }

    .about-page .page-title .image-col {
        position: relative;
        width: fit-content;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .header {
        background-color: var(--custom-background-color);
    }

    body {
        overflow-x: hidden;
    }

    section {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    section.alt-bg {
        margin-top: 0;
        margin-bottom: 0;
    }

    .heading-l,
    .heading-l > * {
        font-size: 3.4rem;
    }

    .hero .flex {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .hero .flex .text-col {
        padding-top: 2rem;
        z-index: 1;
    }

    .hero {
        overflow: hidden;
        position: relative;
    }

    .hero .image-container {
        margin: 0 -20px;
        position: absolute;
        opacity: 0.2;
        height: 100%;
        top: 0;
    }

    .hero .bg-dec {
        top: 0%;
        left: -30px;
        width: 130vw;
    }

    .hero .image-container > img:first-of-type {
        width: 100%;
    }

    .hero .right {
        text-align: left;
    }

    .hero .image-container img.absolute {
        display: none;
    }

    section.connecting {
        border: none;
        padding-top: 0;
    }

    .connecting .flex {
        flex-direction: column-reverse;
    }

    .connecting .image-container {
        margin-left: -20px;
        margin-right: -20px;
        padding: 1.5rem 2rem 1rem;
        margin-top: 0px;
        background: var(--background-alt-color);
        margin-bottom: 2rem;
        border-bottom: solid 4px var(--primary-color);
    }

    .connecting .image-container img {
        max-width: 240px;
    }

    section.coaching {
        background: var(--background-alt-color);
    }

    .coaching .card {
        margin-bottom: 2rem;
        background-color: var(--custom-background-color);
    }

    section.solutions {
        overflow: hidden;
        background-color: var(--primary-color);
        color: var(--custom-background-color);
        z-index: 1;
    }

    section.solutions img {
        filter: brightness(0) invert(100%);
    }

    /* .solution-list li{
        font-weight: 600;
    } */

    .solutions .image-container {
        opacity: 0.02;
        z-index: 0;
    }

    .solutions .image-container img {
        left: -15rem;
        top: -4rem;
        height: auto;
        width: 203vw;
        max-width: none;
        filter: brightness(0) invert(100%);
    }

    .solutions .heading-l {
        white-space: normal !important;
    }

    .solutions .col.flex {
        gap: 1rem;
        align-items: flex-start;
    }
    .solutions > .flex {
        gap: 1rem;
    }

    .blog-recent {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .testimonials .absolute {
        z-index: -1;
        width: 50vw;
        max-width: 400px;
        top: -2rem;
        right: 0;
        height: auto;
        opacity: 0.6;
    }

    .testimonial {
        width: 100%;
        max-width: 100%;
    }

    .carousel-item {
        width: 100%;
        flex: 0 0 100%;
        display: none;
        padding-left: 20px;
        padding-right: 20px;
    }

    .carousel-track {
        animation: none;
        flex-direction: column;
    }

    .carousel-item:nth-of-type(1),
    .carousel-item:nth-of-type(2),
    .carousel-item:nth-of-type(3) {
        display: block;
        margin-bottom: 2rem;
    }

    /* about page mobile  */

    .about-page .page-title .image-col.absolute {
        position: relative;
        margin: 0;
        display: none;
    }

    .about-page .page-title .image-col.absolute::before {
        display: none;
    }

    .about-page .page-title .spacing-l {
        margin: 0;
    }

    .badge {
        transform: none;
        border-radius: 0;
    }

    .ab2 {
        top: 2rem;
        left: 4rem;
        width: auto;
        opacity: 0.1;
        position: absolute;
    }

    .page-title {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #what-why .flex {
        padding-left: 0;
    }

    #what-why .flex .card {
        border: none;
        margin-top: 0;
    }

    .text-col.mw60 {
        max-width: 100%;
    }

    .about-text-2.flex {
        flex-direction: column-reverse;
        margin-top: -4rem !important;
    }

    .about-text-2 .linsight-img {
        margin-right: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 2rem 4rem;
    }

    .about-text-2 .linsight-img img {
        max-width: 400px;
    }

    .cta-section .website-grid {
        align-items: flex-start;
        text-align: left;
    }

    /* briefs mobile  */

    .briefs .image-container {
        display: none;
    }

    /* contact mobile  */
    .bus-details {
        display: none;
    }

    /* .contact-page .page-title .website-grid img.absolute {
        display: none;
    } */

    .contact-form {
        margin-left: 0;
        padding: 2rem;
        margin: -8rem -1rem 0;
    }
    .contact-page .page-title > .absolute {
        display: none;
    }

    .mail-list {
        max-width: 320px;
    }
}

@media screen and (max-width: 618px) {
    .blog-archive .flex .card {
        flex: 1 1 100%;
        margin-bottom: 1rem;
        max-width: 100%;
    }
}

@media screen and (max-width: 518px) {
    #what-why .card .image-container img,
    #what-why .card .image-container {
        height: 3rem;
        width: 3rem;
    }

    #what-why .card .image-container {
        margin-bottom: 1rem;
    }
    #what-why .card .text-container {
        margin-left: 0;
        padding-left: 0;
    }

    #what-why .flex .card {
        display: block;
        padding-top: 0;
    }
}

.no-scroll {
    overflow: hidden;
}


.block-editor .wp-block-column {
    border: solid 1px dimgrey !important;
}

.align-bottom{
	align-items:end;
}
