/* Reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset End */

/* Font */
@import url('http://fonts.cdnfonts.com/css/sofia-pro');


*,*::after, *::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Sofia Pro', sans-serif;
    scroll-padding-top: 50px;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1;
    font-weight: 400;
}

.container {
    padding-inline: 5rem;
    width: 100%;
}

.m_in_auto {
    margin-inline: auto;
}

.d-block {
    display: block !important;
}

header {
    display: flex;
    justify-content: space-between;
    padding-block: 2rem;
    align-items: center;
    position: sticky;
    z-index: 888;
    top: 0;
    transition: all 300ms ease-in-out;
}

.header_logo {
    transition: all 300ms ease-in-out;
}

.nav_items_list {
    display: flex;
    gap: 3.5rem;
}

.list_items {
    position: relative;
    font-size: 1.25rem;
    line-height: 2.5rem;
    text-decoration: none;
    transition: all 300ms ease-in-out;
    color: #fff;
}

.list_items:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #20C997;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.list_items:hover {
    color: #20C997;
}

.list_items:hover:after {
    transform: scaleX(0.8);
    transform-origin: bottom left;
}

/* Redudanct Style */

.link_active:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #20C997;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}


.link_active {
    color: #20C997;
}

.link_active:after {
    transform: scaleX(0.8);
    transform-origin: bottom left;
}



section {
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding-block: 2rem;
}

#hero_section {
    min-height: calc(100vh - 5.5rem);
}

#brand_section {
    min-height: max-content;
    background-color: #20C997;
    color: #fff;
    padding-bottom: 3rem;
}

.cards_section {
    padding-bottom: 2.5rem;
    background-color: #fff;
    color: #000;
    text-align: left;
    justify-items: left;
    align-content: start;

}

#approach_section {
    background-color: #fff;
    color: #000;
    text-align: center;
    justify-items: center;
}

#blog_section {
    background-color: #fff;
    color: #000;
    text-align: start;
}

#contact_section {
    background-color: #fff;
    color: #000;
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    align-items: top;
    padding-block: 0;
    /* min-height: 100vh; */
}

.heading_one {
    font-size: 4.75rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
}

.heading_two {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.heading_three {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.heading_four {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.paragraph_one {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 70%;
    margin-inline: auto;
    margin-bottom: 2.25rem;
}

.paragraph_two {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 80%;
    /* margin-inline: auto; */
    margin-bottom: 2.25rem;
}

.paragraph_three {
    font-size: 1rem;
    line-height: 1.5;
    margin-block: .75rem;
    color: #000;
    font-weight: 600;
}

.typed_container {
    font-size: 8.5rem;
    margin-bottom: 3.5rem;
    font-weight: 600;
    color: #20C997;
    transition: color 150ms ease-in;
}

.typed-cursor {
    font-weight: 100 !important;
}

.cta {
    display: flex;
    white-space: nowrap;
    text-decoration: none;
    width: max-content;
    padding: 1.25rem 3.75rem;
    border-radius: 2rem;
    cursor: pointer;
}

.cta_green {
    color: #fff;
    background-color: #20C997;
}

.brand_img {
    margin: 2rem auto;
}

.cards_container {
    padding-bottom: 5rem;
}

.card {
    background-color: #fff;
    box-shadow: -5px 6px 9px -7px rgba(0, 0, 0, 0.4);
    transition: all 300ms ease-in-out;
    border-radius: .75rem;
    max-height: min-content !important;
}

.card:hover .card_img {
    transform: scale(1.1);
}

.card:hover {
    background-color: #000;
    color: #fff;
}

.card_img_container {
    min-width: 100%;
    overflow: hidden;
}

.card_img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    transition: all 300ms ease-in-out;
}

.card_description_container {
    padding: 2.5rem 1rem .75rem 1rem;
}

.card_heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card_text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 2;
    opacity: 0.7;
}

.card_text_list {
    opacity: 0.7;
    padding-left: 1rem;
    margin-top: .5rem;
    line-height: 1.2;
}

.card_text_list>li::before {
    content: '\00BB';
    margin-right: 0.5rem;
}

.approach_illustration_container {
    margin-block: 2rem;
}

.approach_illustration {
    width: 85vw;
}

#approach_section .paragraph_two {
    text-decoration: underline;
    text-decoration-color: #20C997;
}

/* .approach_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    justify-content: space-around;
} */

.approach_name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-block: 2rem;
}

.approach_list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.approach_list_item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.approach_list_text {
    text-align: left;
}

.approach_item {
    padding: 2rem 4rem 4rem 4rem;
    border-radius: 20px;
}

.approach_item:hover {
    background-color: #20C997;
    color: #fff;
    box-shadow: -5px 6px 9px -7px rgba(0, 0, 0, 0.4);
}

#blog_section .paragraph_two {
    display: block;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #20C997;
}

#blog_section .heading_two {
    /* font-size: 3.5rem; */
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.blog_item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    max-height: 500px;
}

.info_container {
    grid-column: 1 / 3;
    grid-row: 1 / 6;
    z-index: 2;
}

.blog_image {
    display: block;
    /* position: relative; */
    padding: 0rem 0rem 0rem 3rem;
    grid-column: 2 / 6;
    grid-row: 1/6;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.info_container::after {
    content: url(../images/blog_dots.png);
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: -20rem;
    z-index: -99;
}

.blog_info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* background-color: #fff; */
    padding: 1rem;
    z-index: 9;
    /* max-height: max-content; */
}

.blog_articles {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.blog_container {
    width: 900px;
}



/* .blog_image_container {
    min-width: 100%;
    background-image: url('../images/cards/analytics.jpg');
    background-size: 80%;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-content: center;
    justify-content: flex-start;
} */


.tag_icon {
    color: #20C997;
    transform: scaleX(-1);
    margin-right: 0.5rem;
}

.blog_category {
    display: block;
    /* padding: 1em 1.5em; */
    color: #4c4c4c;
    font-size: 1rem;
}

.blog_title {
    font-size: 3rem;
    font-weight: 600;
    background-color: #fff;
    /* margin-top: 2rem; */
    padding: 1rem 1rem 1rem 0rem;
}

.author_name {
    font-size: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.blog_description {
    font-size: 1rem;
    line-height: 1.5;
    width: 50%;
    /* display: none; */
}

.prev_blog, .next_blog {
    position: absolute;
    bottom: 0px;
    z-index: 999;
    max-width: 50px;
}

.next_blog {
    content: url(../images/blog_next.svg);
    cursor: pointer;
    right: 0;
}

.prev_blog {
    content: url(../images/blog_prev.svg);
    cursor: pointer;
    right: 60px;
}

.form, .form_container, .other_contact_container {
    display: flex;
    flex-direction: column;
}

#contact_section .heading_four {
    margin-bottom: 0;
}

.form_container {
    padding: 1rem 5rem 1rem 5rem;
    background-color: #20C997;
}

.form_centre {
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
    flex-wrap: wrap;

}

.contact_content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: max-content;
    gap: 3rem;
    margin-top: 1.5rem;
    display: none;
}

.address_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

.address_container .paragraph_two {
    margin-bottom: 1rem;
}

.email_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.other_contact_container {
    padding: 1rem 5rem 1rem 5rem;
    background-color: #FEDB00;
}

.contact_btns a {
    text-decoration: none;
    /* color: #000; */
}

.contact_btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#contact_form_btn {
    margin-bottom: 1rem;
    /* margin-left: 0;
    margin-right: auto; */
}

.other_contact_container #contact_form_btn {
    margin-bottom: 3rem;
}

.other_contact_container .paragraph_two {
    margin-bottom: 0.5rem;
}

#contact_section .heading_two {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

#contact .form .cta_yellow {
    margin-inline: 0;
    max-width: max-content;
}

.input_box, .message_box {
    font-family: 'sofia-pro', sans-serif;
    padding: 0 2rem 0.5rem 0rem;
    margin-right: 2rem;
    border: none;
    margin-bottom: 2.5rem;
    background-color: transparent;
    transition: all 300ms ease-in-out;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.input_box::placeholder, .message_box::placeholder, label {
    font-family: 'sofia-pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.input_box:focus, .message_box:focus {
    outline: none;
    color: white
}

.input_box {
    border-bottom: 1px solid #000;
}

.message_box {
    margin-top: 1.5rem;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 1rem;
}

.input_box:focus {
    border-bottom: 4px solid #fff;
}

.message_box:focus {
    border: 4px solid #fff;
}


/* Message Boxes */
.error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.sent-message {
    display: none;
    color: #fff;
    text-align: left;
    padding: 10px 0px;
    font-weight: 600;
}

.loading {
    display: none;
    /* background: #fff; */
    font-weight: 600;
    color: #fff;
    padding: 15px 0px;
}

.loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #FEDB00;
    border-top-color: #20C997;
    animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Message Boxes */

.footer_top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-block: 5rem;
    justify-content: space-between;
    position: relative;
}

.footer_logo {
    min-width: 18rem;
    margin-bottom: 3.125rem;
}

.footer_tagline {
    font-size: 2.875rem;
    font-weight: 600;
    margin-right: 2rem;
}

.footer_column {
    display: flex;
    flex-direction: column;
}

.footer_heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.site_links {
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 1.25rem;
    color: #fff;
}

#site_links {
    margin-inline: auto;
}

.contact_info {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

#address {
    display: flex;
    flex-direction: row;
    flex-grow: 0;
    gap: 1rem;
}

.contact_address {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact_address a {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
}

.social_heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin-block: 1rem;
}

.social_links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social_icon {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 2rem;
    text-align: center;
    line-height: 0;
    background-color: #141414;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.social_icon:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1);
}

.footer_bottom {
    background-color: #141414;
    padding-block: 2rem;
}

.footer_b_items {
    display: flex;
    justify-content: space-evenly;
}

.policy_link:hover {
    opacity: 1;
}

.policy_link, .policy_link:visited {
    opacity: 0.7;
    cursor: pointer;
    text-decoration: none;
    color: #fff
}

.copyright {
    opacity: 0.7;
}

.u_line {
    position: relative;
    width: max-content;
}

.u_line:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #20C997;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.u_line:hover {
    color: #20C997;
}

.u_line:hover:after {
    transform: scaleX(0.8);
    transform-origin: bottom left;
}

/* swiper */

.swiper {
    width: 100%;
}

.swiper-wrapper {
    padding-bottom: 5rem;
    height: 90% !important;
}

.swiper-button-next, .swiper-button-prev {
    /* opacity: 0.3; */
    top: 210px !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-next {
    right: 24px !important;
}

.swiper-button-prev::after {
    content: url('../images/button_prev.svg') !important;
}

.swiper-button-next::after {
    content: url('../images/button_next.svg') !important;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: 24px !important;
}


.swiper-pagination-bullet {
    /* background-color: #EBEBEB !important; */
}

.swiper-pagination-bullet-active {
    background-color: #000 !important;
    transform: scale(1.3) !important;
}


#menu_open_btn, #menu_close_btn, .mobile_nav {
    display: none;
}

.mob_button {
    font-size: 1.5rem;
}

.scrolled {
    background-color: rgba(0, 0, 0);
    padding-block: 0.3rem;
}

.scrolled img {
    transform: scale(0.6);
    /* max-width: 100px; */
}

.scrolled .list_items {
    font-size: 1rem;
}

.scrolled .header_cta {
    font-size: .75rem;
    padding: 0.1rem 1.25rem;
    line-height: 1;
}



/* Media Query - Tab*/
@media screen and (max-width:900px) {
    .header_logo {
        height: 50px;
    }

    #menu_open_btn, #menu_close_btn {
        display: block;
    }

    .nav_items_list {
        display: none;
    }

    .mobile_nav {
        display: none;
        position: fixed;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        align-items: center;
        background-color: #000;
        padding: 2rem 0rem;
        z-index: 887;
        inset: 0;
        transition: all 300ms ease-in;
    }

    .open {
        display: flex;
        animation: open_menu 500ms ease-in-out;
    }

    .close {
        animation: close_menu 300ms ease-in-out;
    }

    @keyframes open_menu {
        0% {
            opacity: 0;
            transform: translateY(-1000px);
        }

        10% {
            display: flex;
            opacity: 1;
        }

        100% {
            transform: translateY(0x);
        }
    }

    @keyframes close_menu {
        0% {
            transform: translateY(0x);
        }

        60% {
            display: flex;
            opacity: 0;
        }

        100% {
            opacity: 0;
            transform: translateY(-1000px);
        }
    }

    #contact_section {
        grid-template-columns: 1fr;
    }

    .approach_illustration {
        width: 100vw;
    }

    .footer_top {
        grid-template-columns: 1fr;
    }

    .footer_logo {
        min-width: 10rem;
    }

    .footer_tagline {
        margin-right: 2rem;
        font-size: 2rem;
    }

    #site_links {
        margin-inline: 0;
    }

    .footer_heading, .social_heading {
        margin-top: 3rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }


    .contact_address {
        /* flex-direction: column; */
        align-items: flex-start;
    }


    .footer_b_items {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .info_container {
        grid-column: 1 / 6;
        grid-row: 3 / 6;
        z-index: 2;
    }

    .blog_item {
        max-height: 500px;
        margin-bottom: 2rem;
    }

    .blog_image {
        display: block;
        /* position: relative; */
        padding: 0rem;
        grid-column: 1 / 6;
        grid-row: 1/3;
        width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .info_container::after {
        display: none;
    }
}

/* Media Query - Mobile*/
@media screen and (max-width:500px) {
    body {
        font-size: 12px;
    }

    .container {
        padding-inline: 1.5rem;
    }

    .scrolled {
        position: sticky;
        z-index: 888;
        top: 0;
        padding-block: 0.5rem;
    }

    .header_logo {
        height: 50px;
    }

    #menu_open_btn, #menu_close_btn {
        display: block;
    }

    .nav_items_list {
        display: none;
    }

    .mobile_nav {
        display: none;
        position: fixed;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        align-items: center;
        background-color: #000;
        padding: 2rem 0rem;
        z-index: 887;
        inset: 0;
        transition: all 300ms ease-in;
    }

    .open {
        display: flex;
        animation: open_menu 500ms ease-in-out;
    }

    .close {
        animation: close_menu 300ms ease-in-out;
    }

    @keyframes open_menu {
        0% {
            opacity: 0;
            transform: translateY(-1000px);
        }

        10% {
            display: flex;
            opacity: 1;
        }

        100% {
            transform: translateY(0x);
        }
    }

    @keyframes close_menu {
        0% {
            transform: translateY(0x);
        }

        60% {
            display: flex;
            opacity: 0;
        }

        100% {
            opacity: 0;
            transform: translateY(-1000px);
        }
    }

    .heading_one {
        font-size: 2rem;
        max-width: 100%;
    }

    .heading_two {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .typed_container {
        font-size: 3.5rem;
        font-weight: 600;
        margin-bottom: 5rem;
    }

    .paragraph_one {
        max-width: 100%;
        font-size: 1.25rem;
    }

    .paragraph_two {
        max-width: 100%;
        font-size: 0.75rem;
    }

    .cards_container {
        padding-bottom: 2rem;
    }

    .card_heading {
        font-size: 1rem;
    }

    .card_text {
        font-size: 0.75rem;
    }

    .form_container, .other_contact_container {
        padding: 1.5rem;
        max-width: 100vw;
    }

    #contact_section {
        grid-template-columns: 1fr;
    }

    #contact_section .heading_two {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 2rem;
    }

    .contact_btns {
        gap: 0rem;
    }

    .input_box::placeholder, .message_box::placeholder, label {
        font-size: 1rem;
        font-weight: 600;
        color: #000;
    }

    #approach_section {
        min-height: max-content;
        padding-block: 2.5rem;
    }

    .info_container {
        grid-column: 1 / 6;
        grid-row: 3 / 6;
        z-index: 2;
    }

    .blog_item {
        max-height: 400px;
    }

    .blog_image {
        display: block;
        /* position: relative; */
        padding: 0rem;
        grid-column: 1 / 6;
        grid-row: 1/3;
        width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .info_container::after {
        display: none;
    }

    #blog_section {
        min-height: max-content;
    }

    .blog_info {
        gap: 0.5rem;
    }

    .blog_title {
        font-size: 1.75rem;
        padding: 0;
        margin-top: 1rem;
    }

    .author_name {
        font-size: 0.75rem;
    }

    .blog_description {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .footer_top {
        grid-template-columns: 1fr;
    }

    .footer_logo {
        min-width: 10rem;
    }

    .footer_tagline {
        margin-right: 2rem;
        font-size: 2rem;
    }

    #site_links {
        margin-inline: 0;
    }

    .footer_heading, .social_heading {
        margin-top: 3rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .contact_info {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.25;
    }

    .contact_address {
        /* flex-direction: column; */
        align-items: flex-start;
    }

    .contact_address a {
        font-size: 0.75rem;
    }

    .footer_b_items {
        flex-wrap: wrap;
        gap: 2rem;
    }
}