.content {
    background: #000;
    display: flex;
    flex-direction: column;
}

:root {
    --line-height: 40px;
}

.text-scroller {
    height: var(--line-height);
    line-height: var(--line-height);
    overflow: hidden;
    background: #fff;
}

.text-scroller h5 {
    margin: 0;
    height: var(--line-height);
    font-size: 1.2rem;
    color: #333;
    animation: scrollText 9s infinite ease-in-out;
}

@keyframes scrollText {
    0%, 28% { transform: translateY(0); }

    33%, 61% { transform: translateY(calc(-1 * var(--line-height))); }

    66%, 95% { transform: translateY(calc(-2 * var(--line-height))); }

    100% { transform: translateY(0); }
}

.top-card {
    display: flex;
    flex-direction: row;
    background: white;
    padding: 5vw;
    margin-bottom: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.top-card img {
    max-width: 100%;
}

.top-card-text {
    width: 40%;
}

.top-card-image {
    width: 60%;
}

.top-card h1 {
    font-size: max(4.5vw, 35px);
    margin: 0;
    z-index: 2;
    position: relative;
}

.top-card h5 {
    color: #E30613;
    font-style: italic;
    font-weight: 300;
    font-size: max(2vw, 14px);
}

.about-us {
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3vw 13vw;
    align-items: center;
    flex-wrap: wrap;
}
.text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 35%;
}

.about-us img {
    max-width: 100%;
}

.about-us h4, .our-pillars h4 {
    font-size: 33px;
    color: rgb(78, 78, 77);
    margin-bottom: 0;
    position: relative;
}

.about-us h6 {
    margin-bottom: 0;
    line-height: 1.7em;
    font-style: italic;
}

.about-us p {
    line-height: 1.86em;
    font-size: 14px;
    font-family: museo-500, 'sans', sans-serif;
}

.about-us h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 25%;
    height: 3px;
    background: red;
}

.about-us h6 {
    color: #E30613;
    position: relative;
}

.about-us h6::after {
    display: none;
}

.about-us-image {
    width: 60%;
}


.our-pillars {
    padding: 3vw 10vw;
    display: flex;
    flex-direction: column;
}

.pillars {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: white;
    width: 20vw;
    max-width: 30%;
}
.pillar img {
    max-width: 100%;
}
.pillar p {
    text-wrap: wrap;
    color: white;
}
.pillar a {
    background: #818180;
    border-radius: 100px;
    width: 29px;
    height: 29px;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pillar a:hover {
    color: #E30613;
}

.our-pillars h4 {
    color: white;
    margin: 2em 0;
}

.our-pillars h6 {
    margin: 1em 0 0;
}
.our-pillars h6::after {
    display: none;
}

@media (max-width: 960px) {
    .top-card-text, .top-card-image, .about-us .text, .about-us-image {
        width: 100%;
    }
    .top-card {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .pillar {
        min-width: 40%;
    }
}
@media (max-width: 400px) {
    .pillar {
        min-width: 100%;
    }
}

.trusted-by {
    background: rgb(78,78,77);
}

.trusted-title {
    padding: 0 13vw;
}

.trusted-by h4 {
    color: white;
    position: relative;
    font-size: 34px;
}
.trusted-by h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 15%;
    height: 3px;
    background: red;
}

.image-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: rgb(78,78,77);
    padding: 20px 0;
}

.image-scroll-track {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: scrollRightToLeft 90s linear infinite;
}

.image-gallery {
    background: white;
    padding: 2vw 6vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 5px;
}

.image-gallery img {
    height: 250px;
}

.image-scroll-track img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.image-scroll-container:hover .image-scroll-track {
    animation-play-state: paused;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.index-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: white;
    background: black;
    padding: 1vw 3vw;
    gap: 10px;
}
.if-image {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding-left: 2vw;
}
.if-image img {
    max-height: 70px;
}
.if-info {
    display: flex;
    padding: 0 15vw;
    border-bottom: 3px solid #E30613;
    flex-direction: column;
    gap: 10px;
}
.if-contact-gallery {
    display: flex;
    flex-direction: row;
    gap: 80px;
    color: white;
    flex-wrap: wrap;
}
.if-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.if-contact h5 {
    color: white;
    font-size: 18px;
    margin: 0 0 5px;
}
.if-contact p {
    margin: 0;
    font-family: museo-500, 'sans', sans-serif;
    color: white;
    font-weight: bold;
}
.if-contact a {
    margin: 0;
    color: white;
    text-decoration: underline;
    font-family: museo-500, 'sans', sans-serif;
}
.if-contact a:hover {
    color: #E30613;
}
.if-base {
    margin: 1vw 0;
}
.if-base p {
    color: white;
    font-family: museo-500, 'sans', sans-serif;
}
.if-breadcrumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: bold;
    gap: 20px;
    text-decoration: underline;
    color: white;
    padding: 1vw 15vw;
}
.if-breadcrumbs a {
    color: white;
}
.if-breadcrumbs a:hover {
    color: #E30613;
}
