:root {
    scroll-padding-top: 100px;
}

html {
    scroll-behavior: smooth;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .timer-accordion-container { max-width: 590px !important;}
    .use-case-container .use-case-grid1 { left:45% !important;}
}

@media screen and (max-width: 1024px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

/* Anchor Tabs  */
.anchor-container {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--bg-white);

    .anchor-tabs-main {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-block: 16px;
        gap: 3.5rem;

        button.anchor-tab {
            width: fit-content;
            height: 100%;
            background: none;
            outline: none;
            border: 0;
            color: var(--text-grey5);
            cursor: pointer;
            transition: color 300ms ease, font-weight 200ms ease-in;

            &.active {
                color: var(--text-black-primary);
                font-weight: 600;
                transition: color 300ms ease, font-weight 200ms ease-in;
            }

            &.sub-heading-secondary {
                font-family: "Sora", sans-serif;
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .anchor-container {
        width: 100%;
        height: auto;
        z-index: 5;
        position: sticky;
        top: 20px;
        background: none;

        .anchorDropdown {
            .anchor-dropdown {
                position: relative;
                width: 100%;
            }

            .anchor-cta {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 20px;
                border: 1px solid transparent;
                border-radius: 8px;
                cursor: pointer;
                background: linear-gradient(177deg, #fff 100%, #fff 100%) padding-box,
                    var(--blue-red-gradient) border-box;
                transition: all 0.5s ease;

                .anchor-title {
                    transition: all 0.5s ease;
                }
            }

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

            .titles-container {
                position: absolute;
                top: calc(100% + (-1px));
                left: 0;
                width: 100%;
                max-height: 0;
                transition: max-height 0.3s ease;
                overflow: hidden;
                background-color: #fff;
                /* border: 1px solid #d8e5f4; */
                border-top: 0;
                border-radius: 8px;
                border-top-left-radius: 0;
                border-top-right-radius: 0;
                z-index: 10;
            }

            .dropdown-title {
                padding: 12px 20px;
                cursor: pointer;
                transition: background-color 0.3s ease;
                color: var(--text-black-primary);
            }

            .dropdown-title.active {
                color: var(--text-black-primary);
                opacity: 0.4;
            }

            .dropdown-open .titles-container {
                max-height: 500px;
                transition: max-height 0.3s ease;
            }

            .displayNone {
                border: 0;
            }

            .dropdown-open .anchor-cta {
                border-bottom: 0;
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }

            .dropdown-open .cta-arrow {
                transform: rotate(180deg);
            }
        }
    }
}

/* Hero Section - Section 1  */
.hero-container {
    margin-top: 70px;
    margin-bottom: 60px;
    padding-top: 0;
    flex-direction: column;

    .content {
        width: 100%;
        max-width: 540px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        text-align: center;
        margin-inline: auto !important;

        .hero-cta-container {
            width: 100%;
            height: auto;
            display: flex;
            gap: 60px;
            justify-content: center;
            align-items: center;

            .cta-secondary-container {
                .cta-secondary__text {
                    color: var(--text-black-primary);
                }
            }

        }
    }

    .hero-image {
        width: 100%;
        height: auto;
        margin-top: 32px;

        img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
    }

    @media screen and (max-width: 1025px) {
        & {
            margin-top: 40px;
            margin-bottom: 56px;
            gap: 40px;

            .content {
                width: auto;
                gap: 24px;
                align-items: start;
                margin-inline: 24px;

                h1 {
                    text-align: start;
                }

                .hero-cta-container {
                    gap: 24px;
                    justify-content: start;
                    align-items: start;
                }
            }

            /* .hero-image {
                margin-top: 40px;
            } */
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            .content {
                max-width: 100%;
                justify-content: center;
                align-items: center;

                h1 {
                    text-align: center;
                }

                .hero-cta-container {
                    justify-content: center;
                    align-items: center;
                }
            }

            .hero-image {
                &.mobile {
                    display: none;
                }

                &.desktop {
                    display: block;
                }
            }
        }
    }

}

.demo-form-container {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99;

    .demo-form {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto;
        max-width: 625px;
        width: 100%;
        height: 100%;
        min-height: 450px;
        max-height: 570px;
        background: var(--section-gradient);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        border-radius: 16px;
        padding: 40px;

        .form-header {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;

            h4 {
                font-size: 18px;
                font-weight: 400;
                line-height: 26px;
            }

            .close_popup {
                width: 28px;
                height: 28px;
                cursor: pointer;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }

        iframe {
            /* min-height: 450px; */
            height: 100%;
            /* max-height: 500px; */
        }
    }

    &.active {
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    @media screen and (max-width: 1024px) {
        & {
            .demo-form {
                width: 95%;
                padding: 40px 20px;

                .form-header {

                    .close_popup {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }
}

.ebook-form-container {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99;

    .demo-form {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto;
        max-width: 625px;
        width: 100%;
        height: 100%;
        min-height: 450px;
        max-height: 570px;
        background: var(--section-gradient);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        border-radius: 16px;
        padding: 40px;

        .form-header {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;

            h4 {
                font-size: 18px;
                font-weight: 400;
                line-height: 26px;
            }

            .close_popup {
                width: 28px;
                height: 28px;
                cursor: pointer;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }

        iframe {
            /* min-height: 450px; */
            height: 100%;
            /* max-height: 500px; */
        }
    }

    &.active {
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    @media screen and (max-width: 1024px) {
        & {
            .demo-form {
                width: 95%;
                padding: 40px 20px;

                .form-header {

                    .close_popup {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }
}

/* About Section - Section 2  */
.about-container {
    position: relative;
    /* max-width: 1266px; */
    width: 100%;
    /* height: 100%; */
    min-height: 490px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 60px;
    margin-bottom: var(--spacer-120);

    .left-container {
        max-width: 57.66%;
        width: 100%;
        height: auto;
        border: var(--border-light-blue);
        border-radius: 20px;
        background-color: var(--bg-white);
        padding: 50px;
        flex: 1;

        .left-content {
            max-width: 585px;
            width: 100%;
            height: auto;
            display: flex;
            justify-content: center;
            align-items: start;
            flex-direction: column;

            .para-primary {
                margin-top: 8px;
            }
        }
    }

    .right-container {
        max-width: 40.44%;
        width: 100%;
        height: auto;
        background-color: var(--bg-white);
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        gap: 32px;
        border: var(--border-light-blue);
        border-radius: 20px;
        padding: 50px;
        flex: 1;

        .cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            row-gap: 30px;
            column-gap: 48px;

            .card {
                max-width: 180px;
                width: 100%;
                height: auto;
                display: flex;
                justify-content: start;
                align-items: start;
                flex-direction: column;
                gap: 12px;

                img {
                    width: 54px;
                    height: 54px;
                    object-fit: cover;
                }
            }
        }
    }

    .gradient-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: linear-gradient(180deg, #fff 0%, #f4f9ff 54.5%, #fff 100%);
        filter: blur(40px);
    }

    @media screen and (max-width: 1025px) {
        & {
            max-width: 100%;
            flex-direction: column;
            width: auto;
            gap: 20px;
            margin-block: var(--spacer-60);

            .left-container {
                max-width: 100%;
                min-height: 100%;
                padding: 30px 20px;

                .left-content {
                    max-width: 100%;

                    h1 {
                        font-size: 24px;
                        font-weight: 400;
                        line-height: normal;
                    }

                    .para-primary {
                        margin-top: 20px;
                    }
                }
            }

            .right-container {
                max-width: 100%;
                min-height: 100%;
                padding: 30px 20px;

                h4 {
                    font-size: 24px;
                    font-weight: 400;
                    line-height: normal;
                }
            }
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            min-height: 100%;
            flex-direction: row;
            margin-left: 20px;
            margin-right: 20px;

            .right-container {
                .cards {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    row-gap: 30px;
                    column-gap: 48px;
                }
            }
        }
    }
}

/* Key Features - Section 3  */
.key-container {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacer-120);
    gap: 40px;

    .left-container {
        max-width: 475px;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 54px;

        .content {
            h1 {
                font-weight: 300;
            }

            .para-primary {
                margin-top: 16px;
                font-weight: 400;
            }
        }

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

    .timer-accordion-container {
        width: 100%;
        max-width: 620px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;

        .accordion-main {
            width: 100%;
            height: auto;
            transition: all 200ms ease;

            .accordion {
                width: 100%;
                height: auto;
                padding-block: var(--spacer-32);
                display: flex;
                justify-content: start;
                align-items: center;
                flex-direction: column;
                cursor: pointer;

                .heading {
                    width: 100%;
                    height: auto;
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 80px;

                    .index {
                        color: var(--text-arcon-red);
                        font-size: 18px;
                        font-weight: 300;
                        line-height: normal;
                    }
                }

                .content {
                    width: 100%;
                    height: 100%;
                    max-height: 0;
                    opacity: 0;
                    display: flex;
                    gap: 80px;
                    margin-top: 0;
                    justify-content: center;
                    align-items: start;
                    transition: max-height 200ms ease, margin-top 400ms ease,
                        opacity 400ms ease;

                    .spacer {
                        min-width: 28px;
                        height: auto;
                    }

                    .para-secondary {
                        color: var(--text-black-primary);
                        opacity: 0.7;
                    }

                    &.active {
                        max-height: 1000px;
                        margin-top: 12px;
                        opacity: 1;
                        transition: max-height 200ms ease, margin-top 400ms ease,
                            opacity 400ms ease;
                    }
                }
            }

            .border-bottom {
                position: relative;
                width: 100%;
                height: 2px;
                background: #0000002f;
                transition: all 0.2s ease;
                opacity: 1;

                b {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    z-index: 2;
                    height: 2px;
                    background: rgba(17, 17, 17, 1);
                }

                &.active {
                    background: #0000002f;
                    width: 100%;
                    height: 2px;
                    transition: all 0.2s ease;

                    b {
                        animation-name: timerBar;
                        animation-duration: 8s;
                        animation-timing-function: ease-in;
                        animation-iteration-count: 1;
                        animation-direction: alternate;
                        animation-fill-mode: forwards;
                    }
                }
            }
        }
    }

    @media screen and (max-width: 1024px) {
        & {
            flex-direction: column;
            gap: 40px;
            margin-bottom: var(--spacer-60);
            align-items: center;

            .left-container {
                gap: 24px;

                .content {
                    width: 100%;    
                    text-align: center;
                }
            }

            .timer-accordion-container {
                .accordion-main {
                    .accordion {
                        padding-block: 24px;

                        .heading {
                            gap: 16px;
                        }

                        .content {
                            gap: 16px;
                        }
                    }
                }
            }
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        .timer-accordion-container {
            max-width: 100%;
        }
    }
}

@keyframes timerBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Use Cases - Section 4  */
.black-bg {
    width: 100%;
    min-height: 805px;
    height: 100%;
    padding-block: var(--spacer-120);
    overflow: hidden;

    .use-case-container {
        position: relative;
        width: 100%;
        min-height: 585px;
        height: auto;

        .use-case-grid1 {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            overflow: auto;
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            grid-gap: 24px;
        }

        .use-case-grid2 {
            position: absolute;
            left: 50%;
            transform: translateX(-55%);
            bottom: 0;
            overflow: auto;
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            grid-gap: 24px;
        }

        .gridCard {
            position: relative;
            min-width: 280px;
            height: 280px;
            padding-block: 42px;
            padding-inline: 32px;
            border-radius: 20px;
            opacity: 0.4;
            background: #202020;
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 2;
            border: 0;
            mask: none;
            transition: background 200ms ease, mask 200ms ease;

            .para-secondary {
                text-overflow: ellipsis;
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 6;
                color: var(--text-grey2);
            }

            &:not(.exclude) {
                background: var(--bg-black-secondary);
                cursor: pointer;
                opacity: 1;
                overflow: hidden;
            }

            &:hover:not(.exclude) {
                background: #222222;


                &::before {
                    position: absolute;
                    content: "";
                    z-index: 2;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    padding: 1px;
                    border-radius: 22px;
                    background: linear-gradient(53deg,
                            #8fc3ff 21.4%,
                            #a984ff 43.99%,
                            #e6323a 78.36%);
                    mask: linear-gradient(#222222 0 0) content-box,
                        linear-gradient(#222222 0 0) padding-box;
                    mask-composite: exclude;
                    transition: background 200ms ease, mask 200ms ease;
                }
            }
        }

        .use-case-content-container {
            width: 100%;
            height: auto;
            padding-top: 170px;

            .content {
                position: relative;
                max-width: 475px;
                width: 100%;
                height: auto;
                z-index: 2;

                .eyebrow {
                    color: var(--text-grey1);
                }
            }
        }

        .black-grid-gradient {
            position: absolute;
            top: 0;
            left: 0;
            max-width: 711px;
            width: 100%;
            max-height: 585px;
            height: 100%;
            background: linear-gradient(270deg,
                    rgba(26, 26, 26, 0) 0%,
                    rgba(26, 26, 26, 0.98) 73.13%,
                    #1a1a1a 100%);
            z-index: 1;
        }
    }

    @media screen and (max-width: 1024px) {
        & {
            min-height: 100%;
            padding-block: var(--spacer-60);

            .use-case-mob {
                width: auto;
                height: auto;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: self-start;
                gap: 40px;
                text-align: start;

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

                .use-case-swiper {
                    &.swiper {
                        width: 100%;
                        height: 100%;

                        .swiper-slide {
                            width: 100%;
                            height: auto;
                            background: var(--bg-black-secondary);
                            border-radius: 20px;
                            padding: 16px;
                            display: flex;
                            flex-direction: column;
                            justify-content: start;
                            align-items: start;
                            gap: 10px;

                            .para-primary {
                                color: var(--text-white);
                            }

                            .para-secondary {
                                color: var(--text-grey2);
                            }
                        }
                    }
                }
            }
        }
    }
}

/* Comparison - Section 5  */
.comparison-black-bg {
    width: 100%;
    height: 100%;
    background: var(--bg-black-primary);
    color: var(--text-white);
    overflow: hidden;
    padding-bottom: var(--spacer-120);

    .comparison-container {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        gap: var(--spacer-60);

        .top-container {
            margin-top: 40px;
            max-width: 790px;
            width: 100%;
            height: auto;
            display: flex;
            justify-content: start;
            align-items: center;
            flex-direction: column;
            gap: 16px;
            color: var(--text-white);
            text-align:center;

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

        .bottom-container {
            max-width: 1052px;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: start;
            gap: 24px;
            color: var(--text-white);

            .index-container {
                max-width: 180px;
                width: 100%;
                height: auto;
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: start;
                gap: 20px;
                /* margin-top: 120px; */

                .index {
                    min-height: 60px;
                    height: 100%;
                    text-align: start;

                    .para-secondary {
                        /* margin-top: 20px; */
                    }
                }
            }

            .arcon-suite {
                position: relative;
                width: 100%;
                height: 100%;
                border: 0;
                mask: none;
                display: flex;
                justify-content: start;
                align-items: center;
                flex-direction: column;
                gap: 25px;
                padding-inline: 55px;
                padding-top: 25px;
                padding-bottom: 50px;

                &:after {
                    position: absolute;
                    content: "";
                    z-index: 2;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    padding: 1.5px;
                    border-radius: 20px;
                    background: linear-gradient(53deg,
                            #8fc3ff 21.4%,
                            #a984ff 43.99%,
                            #e6323a 78.36%);
                    mask: linear-gradient(#222222 0 0) content-box,
                        linear-gradient(#222222 0 0) padding-box;
                    mask-composite: exclude;
                }

                .top {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    /* justify-content: center; */
                    width: auto;
                    height: 70px;

                    img {
                        max-width: 150px;
                        width: 100%;
                        max-height: 50px;
                        height: auto;
                    }

                    p {
                        color: var(--text-grey1);
                        text-align: center;
                        font-size: 16px;
                        font-weight: 500;
                        line-height: normal;
                    }
                }

                .bottom {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: start;
                    align-items: center;
                    gap: 20px;
                }
            }

            .other-suite {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: start;
                align-items: center;
                flex-direction: column;
                gap: 25px;
                padding-inline: 55px;
                padding-top: 25px;
                padding-bottom: 50px;
                border: 1.5px solid var(--bg-grey4);
                border-radius: 20px;

                .top {
                    position: relative;
                    display: flex;
                    justify-content: center;
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                    height: 70px;

                    h4 {
                        font-style: normal;
                        font-weight: 500;
                        /* line-height: normal; */
                        color: var(--text-white);
                    }

                    p {
                        color: var(--text-grey1);
                        text-align: center;
                        font-size: 16px;
                        font-weight: 500;
                        line-height: normal;
                        /* margin-top: 4px; */
                    }
                }

                .bottom {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: start;
                    align-items: center;
                    gap: 20px;
                }
            }

            .item {
                width: 100%;
                height: 70px;
                display: flex;
                justify-content: start;
                align-items: center;
                gap: 24px;

                img {
                    width: 18px;
                    height: 18px;
                    object-fit: cover;
                }

                .para-secondary {
                    color: #ffffff;
                }
            }

            @media screen and (max-width: 1024px) {
                .arcon-suite {
                    .top {
                        height: auto;
                    }
                }

                .other-suite {
                    .top {
                        height: auto;
                    }
                }
            }
        }

        @media screen and (max-width: 1024px) {
            & {
                width: auto;

                .bottom-container {
                    flex-direction: column;

                    .index-container {
                        display: none;
                    }

                    .arcon-suite {
                        padding-block: 30px;
                        padding-inline: 20px;
                    }

                    .other-suite {
                        padding-block: 30px;
                        padding-inline: 20px;
                    }

                    .item {
                        height: auto;
                    }
                }
            }
        }
    }
}

/* Compilance - Section 6 */
.compilance-container {
    margin-top: var(--spacer-120);
    margin-bottom: 60px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .content {
        width: 100%;
        max-width: 530px;
        height: auto;
        margin-bottom: 75px;

        h1 {
            font-size: 36px;
            font-weight: 400;
            line-height: 50px;
        }
    }

    .graphic {
        max-width: 544px;
        width: 100%;
        height: auto;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    @media screen and (max-width: 1025px) {
        & {
            width: auto;
            flex-direction: column;
            margin-top: var(--spacer-60);
        }
    }

    @media screen and (min-width: 780px) and (max-width: 1024px) {
        & {
            flex-direction: row;
        }
    }

}

/* Knowledge - Section 7  */
.knowledge {
    margin-block: var(--spacer-80);
    display: flex;
    flex-direction: column;
    gap: 60px;

    /* Section Title */
    .sectionTitle {
        width: fit-content;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }

    /* Grid Layout */
    .knowledge-grid-container {
        .knowledge-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            padding: 1rem;
        }
    }

    /* Card Styles */
    .card {
        width: fit-content;
        height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        border: var(--border-light-blue);
        background: var(--bg-white);
        overflow: hidden;

        .card-img {
            max-width: 100%;
            max-height: 330px;
            margin-inline: auto;
            margin-top: 0;
            margin-bottom: 0;
            border-radius: 0;
            overflow: hidden;
            transition: all 0.4s ease;

            img {
                width: 100%;
                height: auto;
                scale: 1;
                transition: all 0.4s ease;
            }
        }

        .card-content {
            width: 100%;
            height: auto;
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;

            p {
                color: var(--text-black-primary);
            }

            .cta {
                position: relative;
                display: inline-block;
                text-decoration: none;
                color: var(--text-black-primary);
                font-size: 0.875rem;
                font-weight: normal;

                &::after {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 35%;
                    height: 0.5px;
                    background-color: var(--bg-arcon-red);
                    opacity: 0;
                    transition: opacity 300ms, transform 300ms;
                }

                &:hover::after,
                &:focus::after {
                    opacity: 1;
                }
            }
        }

        &:hover {
            background: var(--section-gradient);

            .card-img {
                margin-inline: auto;
                max-width: 250px;
                margin-top: 10px;
                margin-bottom: 3px;
                border-radius: 10px;

                img {
                    scale: 1.3;
                }
            }

            .cta {
                color: var(--text-arcon-red);
                transition: all 0.4s ease;
            }

            .cta::after {
                opacity: 1;
            }
        }
    }
}

/* Media Queries - Desktop First */
@media (max-width: 1024px) {
    .knowledge {
        gap: 32px;
        margin-block: var(--spacer-60);

        .sectionTitle {
            margin: 0;
            text-align: start;
        }

        .knowledge-grid-container {
            .knowledge-grid {
                padding: 0;
                grid-template-columns: 1fr;
            }

            .card {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                border: none;

                .card-img {
                    max-width: 145px;
                    max-height: 100px;
                    border-radius: 0.5rem;
                    overflow: hidden;
                }

                .card-content {
                    gap: 8px;
                    padding-block: 8.5px;

                    .cta {
                        text-decoration: underline;
                        text-underline-offset: 2px;

                        &::after {
                            content: none;
                            position: relative;
                        }

                        &:hover::after,
                        &:focus::after {
                            opacity: 1;
                        }
                    }
                }
            }

            &:hover {
                background-color: transparent;
            }
        }

        .dropdown {
            .custom-dropdown {
                position: relative;
                width: 100%;
            }

            .dropdown-cta {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 20px;
                border: 1px solid #d8e5f4;
                border-radius: 8px;
                cursor: pointer;
                background: var(--section-gradient);
            }

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

            .options-container {
                position: absolute;
                top: calc(100% + (-1px));
                left: 0;
                width: 100%;
                max-height: 0;
                transition: max-height 0.3s ease;
                overflow: hidden;
                background-color: #fff;
                /* border: 1px solid #d8e5f4; */
                border-top: 0;
                border-radius: 8px;
                border-top-left-radius: 0;
                border-top-right-radius: 0;
                z-index: 10;
            }

            .dropdown-option {
                padding: 12px 20px;
                cursor: pointer;
                transition: background-color 0.3s ease;
                color: var(--text-black-primary);
            }

            .dropdown-option.active {
                color: var(--text-black-primary);
                opacity: 0.4;
            }

            .dropdown-open .options-container {
                max-height: 500px;
                transition: max-height 0.3s ease;
            }

            .displayNone {
                border: 0;
            }

            .dropdown-open .dropdown-cta {
                border-bottom: 0;
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }

            .dropdown-open .cta-arrow {
                transform: rotate(180deg);
            }
        }
    }
}

@media (max-width: 640px) {
    & {
        &.knowledge-grid-container {
            .knowledge-grid {
                grid-template-columns: 1fr;
            }
        }
    }
}

@media (max-width: 400px){
   .hero-container  .content {
       margin-inline: 12px;
   }
   }  
}

