@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --blue: #0D386D;
    --soft-blue: #496096;
    --lion: #BF9663;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

/* Header */
header {
    padding: 1rem;
    box-shadow: 1px 1px 15px 1px #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
}

header img {
    height: 55px;
}

header h2 {
    font-size: 24px;
    color: #C9B55B;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0;
}

header > .d-flex {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Intro Menu */
.intro-menu {
    padding: 30px 20px;
    padding-bottom: 55px;
}

h1 {
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    padding-bottom: 5rem;
    padding-top: 3rem;
    font-size: 50px;
}

.intro-menu p {
    font-size: 36px;
    font-weight: 500;
    color: #646971;
    margin-bottom: 1.5rem;
}

.intro-menu .img-container {
    margin-top: 8rem;
    width: 140%;
    height: 600px;
    margin-left: -20%;
    box-shadow: 2px 10px 15px 3px #0000004d;
}

.intro-menu .img-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Form */
form {
    position: relative;
    background-color: #ffffff;
    border: 3px solid #C9B55B;
    border-radius: 10px;
    padding: 25px;
}

form .form__label {
    width: 100px;
    padding: 10px 8px 10px 15px;
    background: #3498db;
    position: absolute;
    left: -100px;
    top: 75px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    font-weight: bold;
    color: #ffffff;
    line-height: 18px;
}

form .form__label small {
    font-size: 14px;
    color: #ffffff;
}

form h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2rem;
}

form .w-100 {
    margin-bottom: 1.25rem;
}

form button {
    background: var(--lion);
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    min-height: 4.6875rem;
    width: 100%;
    border-radius: 10px;
    outline: none;
    border: 0;
    margin-bottom: 1rem;
}

form button:hover {
    background: #b1844c;
}

.intro-menu form .disclaimer {
    font-size: 12px;
    text-align: center;
    line-height: 1.3em;
    font-weight: 300;
}

.error-phone, .error-email {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: var(--bs-form-invalid-color);
}

.invalid .error-phone, .invalid .error-email {
    display: block;
}

/* Section Insurance Companies */
.insurance-companies {
    padding: 150px 150px;
    background-color: #192e4e;
    margin-top: -11%;
}

.insurance-companies h2 {
    font-size: 46px;
    font-weight: 700;
    color: var(--lion);
}

.insurance-companies p {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Crash Compensation */
.crash-compensation {
    background-color: #ffffff;
    min-height: 700px;
    padding: 150px 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.crash-compensation .row {
    width: 100%;
}

.crash-compensation h2 {
    color: #192e4e;
    margin-bottom: 3rem;
    font-size: 32px;
    font-weight: 800;
    text-align: right;
}

.crash-compensation p {
    color: #646971;
    font-weight: 600;
    font-size: 18px;
    text-align: right;
    padding-bottom: 1rem;
}

.crash-compensation .img-container {
    padding: 0;
    min-height: 300px;
    position: relative;
}

.crash-compensation .img-container img {
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 7px 7px 10px 1px #0000004d;
    height: 700px;
    object-fit: cover;
    height: 150%;
    width: 100%;
}

.crash-compensation .button {
    margin: 4rem auto 0;
    width: 60%;
    padding: 3px 30px;
    background: var(--lion);
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 800;
    border-radius: 10px;
    outline: none;
    border: 0;
    box-shadow: 0px 6px 18px -5px rgb(87, 87, 87);
    text-align: center;
    text-decoration: none;
}

.crash-compensation .button:hover {
    background: #b1844c;
}

/* Footer */
footer {
    background-color: #192e4e;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

footer .container {
    padding: 120px 0;
}

footer ul li {
    list-style: none;
    padding-right: 1rem;
}

footer ul li a {
    text-decoration: none;
    color: var(--lion);
}

/* Thank You page */
#thank-you {
    padding: 10px 0 100px 0;
}

#thank-you div {
    width: 60%;
    max-width: 780px;
    padding: 2rem;
}

#thank-you div h1 {
    font-size: 36px;
    padding-bottom: 1rem;
}

#thank-you div p {
    color: #6b7280;
    font-size: 20px;
}

#thank-you div a {
    display: block;
    background-color: var(--lion);
    color: #ffffff;
    margin-top: 2rem;
    padding: 12px 20px;
    border-radius: 0.375rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

#thank-you div a i {
    padding-right: 0.5rem;
}

#thank-you div a:hover {
    background: #b1844c;
}

@media screen and (max-width: 1600px) {
    .intro-menu .img-container {
        width: 120%;
    }
}

@media screen and (max-width: 1400px) {
    h1 {
        font-size: 40px;
    }

    .intro-menu p {
        font-size: 30px;
    }

    .intro-menu .img-container{
        width: 125%;
    }

    .insurance-companies, .crash-compensation {
        padding: 150px 50px;
    }

    .crash-compensation .button {
        font-size: 22px;
    }

    footer .container {
        padding: 90px 0;
    }

} 

@media screen and (max-width: 1330px) {
    #form .form__label {
        display: none;
    }

    .crash-compensation .button {
        width: 80%;
    }
}

@media screen and (max-width: 992px) {
    header .container {
        padding: 0;
    }

    header h2 {
        font-size: 14px;
    }

    h1 {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .intro-menu {
        height: auto;
    }

    .intro-menu p {
        font-size: 18px;
    }

    .intro-menu .container .row {
        flex-direction: column-reverse;
    }

    .intro-menu .img-container {
        margin-top: 4rem;
        width: 120%;
        margin-left: -20%;
    }

    #form h2 {
        font-size: 18px;
    }

    form p.disclaimer {
        font-size: 12px;
    }

    .insurance-companies {
        min-height: 700px;
        margin-top: -15%;
    }

    .insurance-companies h2 {
        margin-bottom: 2rem;
    }

    .crash-compensation h2, .crash-compensation p {
        text-align: left;
    }

    .crash-compensation .img-container img {
        height: 100%;
    }

    .crash-compensation .button {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 26px;
    }

    .intro-menu .container {
        max-width: 700px;
    }

    .intro-menu .img-container {
        display: none;
    }

    .insurance-companies {
        min-height: 500px;
    }

    .insurance-companies p {
        font-size: 18px;
    }

    #thank-you div {
        width: 80%;
    }
}


@media screen and (max-width: 576px) {
    header img {
        height: 40px;
    }

    header h2 {
        font-size: 12px;
    }

    .intro-menu {
        padding: 0;
    }

    .intro-menu p {
        font-size: 16px;
    }

    form {
        padding: 10px;
        padding-top: 20px;
    }

    form button {
        min-height: 4rem;
    }

    .insurance-companies {
        padding: 50px 1rem;
        min-height: 600px;
        margin-top: -10%;
    }

    .insurance-companies h2 {
        font-size: 30px;
    }

    .insurance-companies__info p {
        font-size: 16px;
    }

    .crash-compensation {
        padding: 4rem 1rem;
    }

    .crash-compensation h2 {
        font-size: 25px;
    }

    .crash-compensation .row {
        width: 100%;
    }
    
    .crash-compensation p {
        font-size: 16px;
    }

    .crash-compensation .button {
        width: 100%;
        font-size: 14px;
        font-weight: 600;
    }

    footer {
        font-size: 12px;
    }

    footer .container {
        padding: 2rem 1rem;
    }

    #thank-you div {
        width: 95%;
    }
}
