@font-face {
    font-family: Titillium;
    src: url('./fonts/TitilliumWeb-Regular.woff2'),
         url('./fonts/TitilliumWeb-Regular.ttf');
}

@font-face {
    font-family: Titillium;
    src: url('./fonts/TitilliumWeb-Italic.woff2'),
         url('./fonts/TitilliumWeb-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: Titillium;
    src: url('./fonts/TitilliumWeb-SemiBold.woff2'),
         url('./fonts/TitilliumWeb-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: Titillium;
    src: url('./fonts/TitilliumWeb-Bold.woff2'),
         url('./fonts/TitilliumWeb-Bold.ttf');
    font-weight: 700;
}

body {
    font-family: 'Titillium', sans-serif;
}

h1 {
    font-weight: 600;
}

p {
    font-weight: normal;
    font-size: 1rem;
}

.py-section {
    padding-top: clamp(5rem, 5vw, 8rem);
    padding-bottom: clamp(5rem, 5vw, 8rem);
}

.header__logo img {
    width: auto;
    height: 80px;
}

.hero {
    position: relative;
    background-color: rgba(0, 26, 46, 1);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(200px, 20vw, 500px);
    overflow: hidden;
}

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(15deg, rgba(0, 26, 46, 1) 10%, rgba(0, 26, 46,0) 100%);
}

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

.hero .container {
    position: relative;
}


.confirmation {
    position: relative;
}

.confirmation .container {
    position: relative;
}

.confirmation__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.confirmation__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(15deg, rgba(0, 26, 46, 1) 10%, rgba(0, 26, 46,0.75) 100%);
}

.testimonial {
    background-color: #FFF;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.75rem), 3rem calc(100% - 0.75rem), 2.5rem 100%, 2rem calc(100% - 0.75rem), 0 calc(100% - 0.75rem));
    padding: 2rem 2rem 2.75rem 2rem;
    position: relative;
}

.testimonial .bi-quote {
    width: auto;
    height: 3rem;
    position: relative;
    left: -0.5em;
    top: -0.5em;
    margin-bottom: -0.5em;
}

.testimonial blockquote p {
    font-style: italic;
}

.testimonial figcaption {
    font-size: 0.875rem;
}

ul.list-icons {
    list-style-type: none;
    padding-left: 0;
}

li.list-icons-item {
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    display: flex;
    gap: 1rem;
    break-inside: avoid;
}

li.list-icons-item:not(:first-of-type) {
    margin-top: 1rem;
}

.list-icons-item__icon {
    flex-basis: 30px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid red;
}

.grid-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-logos__item {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-logos__item a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-logos__item img {
    position: relative;
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 100%;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.grid-logos__item img:hover {
    transform: scale(1.05);
}

.locations-image {
    position: relative;
    width: 100%;
    height: auto;
}

.locations-image img {
    position: relative;
    width: 100%;
    height: auto;
}

.footer-badge img {
    width: auto;
    height: auto;
    max-width: 50px;
    max-height: 50px;
}

@media (min-width: 576px) {
    body.success .confirmation {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    .grid-logos {
        gap: 3rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
}


@media (min-width: 768px) {
    body.success .confirmation {
        min-height: 75vh;
    }
    .grid-logos {
        gap: 3rem;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .hero__background {
        height: 100%;
    }
    .hero .form-wrapper {
        margin-bottom: -250px;
        min-height: 770px;
        z-index: 2;
    }
    .about .testimonial {
        margin-top: 250px;
    }
    ul.list-icons {
        column-count: 2;
    }
    .grid-logos {
        gap: 4rem;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .locations {
        position: relative;
    }
    .locations-image {
        position: absolute;
        width: 50vw;
        left: 50%;
        top: 0;
        height: 100%;
        overflow: hidden;
    }
    .locations-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}