/* =========================================================
   HOMEPAGE BLUE SECTION
========================================================= */

.homepage-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(84.02% 84.02% at 50% 15.98%,
            #0C6AA5 0%,
            #021927 100%);
    padding: 80px 0;
}


/* =========================================================
   EARTH
========================================================= */

.trusted-earth {
    position: absolute;

    width: 700px;
    height: 700px;

    right: 80px;
    top: 20px;

    opacity: 0.95;

    z-index: 0;

    pointer-events: none;
}


/* Keep content above earth */

.homepage-section>*:not(.trusted-earth) {
    position: relative;
    z-index: 1;
}

.homepage-section>.trusted-companies {

    margin-top: 80px
}


/* =========================================================
   TESTIMONIAL SECTION
========================================================= */

.testimonial-section {
    position: relative;

    width: 100%;

    margin: 0 auto;

    padding-top: 100px;
    padding-bottom: 20px;

    display: grid;

    grid-template-columns: 40% 60%;

    box-sizing: border-box;
    margin-bottom: 80px
}


/* =========================================================
   TESTIMONIAL HEADING
========================================================= */

.testimonial-heading {
    padding-right: 70px;
}

.testimonial-heading h2 {
    margin: 0;
    color: #fff;
    line-height: 1.18;
    font-weight: 600;
}


/* =========================================================
   TESTIMONIAL SLIDER
========================================================= */



/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.testimonial-card {

    display: none;


    opacity: 0;

}

.testimonial-card.active {
    display: block;

    opacity: 1;
}


/* =========================================================
   TESTIMONIAL TITLE
========================================================= */

.testimonial-card h3 {
    margin: 0 0 22px;
    color: #fff;
    font-weight: 600;
}


/* =========================================================
   TESTIMONIAL DESCRIPTION
========================================================= */

.testimonial-description {

    margin: 0;

    color: #fff;
    line-height: 1.7;
    font-weight: 400;
    min-height: 100px;
}

.testimonial-description p {
    margin: 0 0 15px;
    font-size: 24px;
    color: #fff;
    line-height: 1.5;
    font-weight: 300;
}


/* =========================================================
   PERSON
========================================================= */

.testimonial-person {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 35px;
}


/* =========================================================
   PERSON IMAGE
========================================================= */

.testimonial-person-image {
    width: 76px;
    height: 76px;

    flex-shrink: 0;

    overflow: hidden;
    background-color: #fff;
    border-radius: 50%;
}

.testimonial-person-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   PERSON INFO
========================================================= */

.testimonial-person-info {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
    padding-left: 20px;

    color: #fff;
}

.testimonial-person-info br {
    display: none;
}

.testimonial-person-info strong {
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.testimonial-person-info span {
    color: rgba(255, 255, 255, 0.75);

    font-size: 18px;
    line-height: 1.4;
}


/* =========================================================
   TESTIMONIAL ARROWS
========================================================= */

.testimonial-arrows {

    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    position: absolute;
    left: 15px;
    bottom: 0;
}


/* =========================================================
   ARROW BUTTON
========================================================= */

.testimonial-arrows button {
    width: auto;
    height: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    margin: 0;

    border: none;

    background: transparent;

    cursor: pointer;
}


/* =========================================================
   ARROW SVG
========================================================= */

.testimonial-arrows button img {
    display: block;

    width: 40px;
    height: 40px;

    object-fit: contain;
}


/* Remove hover background */

.testimonial-arrows button:hover {
    background: transparent;
}


/* =========================================================
   TRUSTED COMPANIES
========================================================= */

.trusted-companies {
    width: 100%;

    margin-top: 0;
    margin-bottom: 0;

    padding-top: 10px;
    padding-bottom: 70px;

    box-sizing: border-box;

    border: none !important;
    outline: none !important;
}


/* =========================================================
   HEADING
========================================================= */

.trusted-companies-heading {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-bottom: 28px;

    color: var(--trusted-heading-color);
}

.trusted-companies-heading span {
    white-space: nowrap;
}


/* =========================================================
   HEADING LINE
========================================================= */

.trusted-companies-line {
    flex: 1;

    height: 1px;

    background: var(--trusted-line-color);
}


/* =========================================================
   COMPANY GRID
========================================================= */

.trusted-companies-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    border: none !important;
    outline: none !important;
}


/* =========================================================
   COMPANY CARD
========================================================= */

.trusted-company {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid var(--trusted-border-color);

    border-radius: 8px;
}


/* =========================================================
   COMPANY LOGO
========================================================= */

.trusted-company img {
    display: block;
    width: auto;
    object-fit: contain;
    border: none;
    outline: none;
    max-height: 190px;
    max-width: 100%;

    /*
     * Makes white SVG logos become the requested
     * grey #515151.
     */
    filter: var(--trusted-logo-filter);
}


/* =========================================================
   DEFAULT WHITE LOGOS
========================================================= */

.trusted-companies {
    --trusted-logo-filter: brightness(0) invert(1);
}


/* =========================================================
   GREY #515151 LOGOS
========================================================= */

.trusted-companies[style*="#515151"] {
    --trusted-logo-filter:
        brightness(0) saturate(100%) invert(31%) sepia(5%) saturate(0%) hue-rotate(180deg) brightness(92%) contrast(88%);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .trusted-companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-heading {
        padding-right: 0;
    }

    .testimonial-section {
        grid-template-columns: 100% 100%;
        display: block;
    }

    .testimonial-slider {
        margin-top: 30px;

    }

    .testimonial-arrows {
        position: unset;
        margin-top: 30px;
    }


}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .trusted-companies {
        padding-top: 10px;
        padding-bottom: 45px;
    }

    .trusted-companies-heading {
        gap: 15px;

        margin-bottom: 20px;

    }

    .trusted-companies-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .trusted-company {
        height: 100px;
    }

    .trusted-company img {
        max-width: 60%;
        max-height: 55px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .trusted-companies {
        padding-top: 5px;
    }



    .trusted-company {
        height: 90px;
    }

}