@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root {
    --blue-bg-color: rgb(54, 117, 199);
    --dark-bg-color: rgb(5, 30, 56);
    --purple-bg-color: rgb(83, 29, 158);
    --color-white: #fff;
    --new-blue-color: #5A9ECA;
    --accent-color: #FFDE59;
    --gray-color: #f3f4f6;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Archivo Black", serif;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: none;
}

#main-banner {
    background-image: url(../img/rchi-banner.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

#play-video-ico {
    width: 60px;
    position: absolute;
    top: 45%;
    left: 40%;
    animation-name: playVideoBtn;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

    #play-video-ico:hover {
        cursor: pointer;
    }

.logo {
    max-width: 200px;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: var(--new-blue-color);
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

img {
    max-width: 100%;
}

.testimonials h2 {
    margin-top: 0px;
    margin-bottom: 0.5em;
    font-size: 60px;
    text-align: center;
}

.testimonials .grid {
    grid-template-columns: 1fr 1fr;
    gap: 5em;
}

    .testimonials .grid div {
        display: flex;
        gap: 1em;
    }

    .testimonials .grid img {
        border-radius: 10px;
        height: 80px;
    }

.promo {
    background-color: var(--new-blue-color);
    padding-block: 80px;
}

    .promo .grid {
        grid-template-columns: repeat(3, 1fr);
    }

        .promo .grid > div {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

    .promo h3 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 80px;
    }

    .promo p {
        font-size: 20px;
    }

details {
    background-color: var(--new-blue-color);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

summary {
    padding: .5em 1.3rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    transition: height 1s ease;
}

    summary::-webkit-details-marker {
        display: none;
    }

    summary:after {
        content: "\002B";
    }

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}

    details[open] summary:after {
        content: "\00D7";
    }

details[open] div {
    padding: .5em 1em;
}

.faq h3 {
    font-size: 0.75em;
}

.faq details div {
    border-bottom: 1px solid #aaaaaa;
    font-size: 0.75em;
    padding-bottom: 20px;
}

.faq details:last-child div {
    border-bottom: none;
    font-size: 0.75em;
}

footer {
    color: var(--dark-bg-color);
}

    footer .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    footer input {
        margin-block: 10px;
        width: 100%;
        background: rgb(241, 241, 241);
        border: none;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    footer h4 {
        margin-top: 0;
    }

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 30px;
    color: rgb(255, 255, 255);
    gap: 10px;
    color: var(--dark-bg-color);
}

.video-frame {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 47.25%;
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
section.brands {
    background-color: var(--new-blue-color);
}

section.features {
    background-color: var(--gray-color);
}

.brands img {
    filter: grayscale(1);
}

.navbar-toggler {
    border: 0;
}

.header-main .nav-link:focus, .nav-link:hover {
    color: #333;
    font-weight: 400
}

@keyframes playVideoBtn {
    0% {
        transform: scale(0.8)
    }

    50% {
        transform: scale(1)
    }

    100% {
        transform: scale(0.8)
    }
}

@media (max-width: 1000px) {
    #navbarNavDropdown {
        background: var(--color-white)
    }
}

@media (max-width: 700px) {
    .testimonials h2 {
        font-size: clamp(2rem, 10vw, 5rem);
    }

    .testimonials .grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .promo .grid {
        grid-template-columns: 1fr;
        gap: 3em;
    }
}