/* commons  */

/* Hero - Section 1  */
.support_hero {
    height: auto;
    position: relative;

    .banner-image {
        width: 100%;
        height: auto;

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

    .content {
        position: absolute;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: 540px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

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

        .cta-secondary-container {
            margin-top: 32px;

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

    .cta-secondary {
        margin-top: var(--spacer-32);

        .cta-secondary__text {
            color: var(--text-black-secondary) !important;
        }
    }

    @media screen and (max-width: 1025px) {
        & {
            .banner-image_mobile {
                width: 100%;
                height: auto;

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

            .content {
                width: 80%;
                max-width: 100%;
                top: 45%;
                left: 45%;
            }
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            .banner-image_mobile {
                img {
                    height: 400px;
                }
            }

            .content {
                left: 50%;
            }
        }
    }
}

/* Continuous Security - Section 2  */
.key-container {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: var(--spacer-120);
    gap: 130px;
    margin-top: var(--spacer-60);

    .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;
            }
        }

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

    .right-container {
        width: 100%;
        max-width: 620px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
        height: 100%;
        min-height: 565px;

        .timer-accordion-container {
            width: 100%;
            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;
                        }

                        &.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: 5s;
                            animation-timing-function: ease-in;
                            animation-iteration-count: 1;
                            animation-direction: alternate;
                            animation-fill-mode: forwards;
                        }
                    }
                }
            }
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            align-items: start;

            .left-container {
                max-width: 100%;
                align-items: start;
            }

            .right-container {
                max-width: 100%;

                .timer-accordion-container {
                    .accordion-main {
                        .accordion {
                            .content {
                                justify-content: start;
                            }
                        }
                    }
                }
            }
        }
    }

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

            .left-container {
                max-width: 100%;
                align-items: start;
                gap: 28px;

                .content {
                    width: 100%;
                    text-align: start;

                    p {
                        margin-top: 8px;
                    }
                }
            }

            .right-container {
                min-height: 100%;

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

                            .heading {
                                gap: 16px;
                            }

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

}

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

    100% {
        width: 100%;
    }
}

/* Support Channels - Section 3  */
.support_container {
    height: 100%;
    padding-block: 100px;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: var(--spacer-24);

    .content_box {
        width: 100%;
        height: 100%;
        min-height: 540px;
        border-radius: 12px;
        border: 1px solid #353535;
        padding: 40px;
        color: var(--text-white);
        background: var(--bg-black-secondary);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
        gap: 45px;

        &:nth-child(1) {
            max-width: 625px;
        }

        &:nth-child(2) {
            max-width: 408px;
        }

        .content {

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

    .country_contacts {
        width: 100%;
        height: auto;
        /* margin-top: 45px; */
        display: flex;
        flex-direction: column;
        gap: 40px;

        .contact_container {
            width: 100%;
            height: auto;
            display: flex;
            gap: 60px;

            .country_name {
                min-width: 160px;
                height: 100%;
            }

            .contacts {
                width: 100%;
                height: auto;
                display: flex;
                flex-direction: column;
                gap: 14px;

                .detail {
                    width: auto;
                    height: auto;
                    display: flex;
                    gap: 12px;

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

                    a {
                        text-decoration: none;
                        color: var(--text-white);
                    }
                }
            }
        }
    }

    @media screen and (max-width: 1025px) {
        & {
            flex-direction: column;
            padding-block: 40px;

            .content_box {
                max-width: 100%;
                min-height: 100%;
                padding: var(--spacer-32);
                gap: 40px;

                &:nth-child(1) {
                    max-width: 100%;
                }

                &:nth-child(2) {
                    max-width: 100%;
                }

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

                .country_contacts {
                    gap: var(--spacer-24);

                    .contact_container {
                        flex-direction: column;
                        gap: 12px;
                    }
                }
            }
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            .content_box {
                .country_contacts {
                    flex-direction: row;
                    flex-wrap: wrap;
                    justify-content: space-between;

                    .contact_container {
                        width: fit-content;
                    }
                }
            }
        }
    }
}

/* latest insights - Section 4  */
.latest-insights {
    position: relative;
    height: auto;
    padding: 60px 100px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
    border: var(--border-light-blue);
    border-radius: 20px;
    background: var(--section-gradient);
    margin-block: var(--spacer-120);

    .triangle_graphic {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    .left-content {
        max-width: 390px;
        width: 100%;
        height: auto;

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

    .right-content {
        max-width: 625px;
        width: 100%;
        height: auto;
    }

    .form {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        width: 100%;
        max-width: 625px;
        height: auto;

        .screen-reader-response {
            display: none;
        }

        .form-row {
            width: 100%;
            display: flex;
            gap: 24px;
            justify-content: start;
            align-items: start;
            margin-top: 20px;

            p {
                width: 50%;
            }

        }

        .form-row-inner {
            .country-code {
                width: 62px;
                display: inline-flex;
            }

            p {
                width: 100%;
                display: flex;
                justify-content: start;
                align-items: start;
            }
        }

        input,
        select {
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #D8E5F4;
            background: #FFF;
            width: 100%;
            font-family: "Sora", sans-serif;
            color: var(--text-black-primary);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
        }

        select:focus-visible,
        input:focus-visible {
            outline: 0;
        }

        input::placeholder,
        select::placeholder {
            color: var(--text-grey2);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
        }

        input[type='submit'] {
            border-radius: 8px;
            background: #E6323A;
            padding: 16px 32px;
            border: none;
            color: #fff;
            margin-top: 40px;
            width: fit-content;
            color: var(--text-white);
            font-size: 16px;
            font-weight: 400;
            line-height: 22px;
            letter-spacing: 0;
        }

        select[name="country-code"] {
            width: fit-content;
            padding-right: 0;
            border-right: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            font-family: "Sora", sans-serif;
            color: var(--text-black-primary);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
            padding: 14px;
            padding-right: 0;
        }

        input[type='tel'] {
            width: 185px;
            padding-left: 15px;
            border-left: 0;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

        .wpcf7-not-valid-tip {
            font-size: 14px;
        }

        .wpcf7-response-output {
            margin-top: 20px;
            font-size: 14px;
        }

        &:last-child {
            .form-row {
                p {
                    width: 100%;
                }

            }
        }

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

                .form-row {
                    flex-direction: column;
                }

                input[type='tel'] {
                    width: 100%;
                }

                input[type='submit'] {
                    width: 100%;
                    font-size: 14px;
                    line-height: 20px;
                    margin-top: 32px;
                }
            }
        }
    }

    @media screen and (max-width: 1025px) {
        & {
            flex-direction: column;
            gap: 32px;
            padding: 40px 20px;
            margin-block: var(--spacer-60);
        }
    }

    @media screen and (min-width: 601px) and (max-width: 1024px) {
        & {
            .left-content {
                max-width: 100%;
            }

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