.text-fidelity-contact1 {
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    color: #fff;
}

.fidelity-col-contact1 {
    background-image: url(../images/Hero.svg);
    height: calc(70vh - 120px);
    background-size: cover;
    border-radius: 30px;
    position: relative;
    background-position: center;
}

.main-container-sections {
    max-width: 95%;
    width: 95%;
}


.fidelity-col-contact1 h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(241, 250, 255, 1);
    font-weight: 600;
}

.fidelity-col-contact1 p {
    font-family: Roboto-reg;
    font-size: 1rem;
    font-weight: 400;
    width: 85%;
    color: rgb(241, 250, 255);
    margin: auto;
}

section.section-1-fidelity-contact1,
section.section-1-fidelity-co2 {
    background-color: #F1FAFF;
}

.section-1-fidelity-co .container {
    background-color: #003163;
    padding: 60px 45px;
    border-radius: 25px;
}

.section-1-fidelity-co h2 {
    font-size: 4rem;
    line-height: 4.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 600;
}

section.section-1-fidelity-co h3 {
    font-family: 'Roboto-reg';
    font-size: 1.4rem;
    color: #fff;
}

section.section-1-fidelity-co p {
    font-family: 'Roboto-reg';
    font-size: 1rem;
    color: #fff;
}


section.section-1-fidelity-co2 h2 {
    font-size: 4rem;
    line-height: 5.5rem;
    color: #003163;
    text-align: left;
    font-weight: 600;
}


.form-container {
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-family: "Roboto-reg";
}

.form-label {
    color: #003163;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: "Roboto-reg";
}

.section-1-fidelity-contact input.form-control,
section.section-1-fidelity-co2 textarea.form-control {
    border: 1px solid #003163;
}

.form-control {
    background-color: transparent;
    border: 1px solid #003163;
    color: #003163;
}

/* section.section-1-fidelity-co2  input::placeholder {
    color: #B8BCCA;
  
  } */
section.section-1-fidelity-co2 {
    padding: 50px 0;

}

section.section-1-fidelity-co2 h3 {
    font-family: "Roboto-reg";
    color: #003163;
    font-size: 1.2rem;
    line-height: 1.6rem;
    ;
}

section.section-1-fidelity-co2 a {
    text-decoration: unset;
    color: #003163;
}

section.section-1-fidelity-co2 textarea.form-control::placeholder {
    color: #B8BCCA;

}

section.section-1-fidelity-co2 input.form-control::placeholder {
    color: #B8BCCA;

}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.fid-c {
    align-content: center;
    padding-left: 6%;
}

.form-control:focus {
    /* background-color: transparent; */
    /* border-color: #fff; */
    /* box-shadow: none; */
    border: 1px solid #003163;
    color: #003163;
}

.btn-submit {
    width: 100%;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: unset;
    padding: 15px 40px;
    position: relative;
    color: rgba(241, 250, 255, 1);
    background: #003163;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: background 0.6s ease;
    font-family: "Roboto-reg";
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-submit:focus {
    outline: 0;
}


.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    transform: skewX(30deg);
    z-index: 2;
    transition: left 0.9s ease;
}

.btn-submit:hover::before {
    left: 130%;
}

.btn-submit:hover {
    background: #003163;
    color: rgba(241, 250, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}


.error {
    color: #ffaaaa;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}



section.section-1-fidelity-co2 input.form-control {
    height: 45px;
}

section.section-1-fidelity-co2 h2 span {
    font-size: 7rem;
}

@media (min-width:768px) and (max-width:1024px) {
    section.section-1-fidelity-co2 h2 span {
        font-size: 6rem;
    }

    section.section-1-fidelity-co2 h3 {
        font-size: 1rem;
    }

    .section-1-fidelity-co h2,
    .fidelity-col-contact1 h1 {
        font-size: 2.8rem;
        line-height: 3.8rem;
    }

    section.section-1-fidelity-co2 h2 {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .fidelity-col-contact1 p {
        font-size: 0.9rem;
    }

    .fidelity-col-contact1 {
        background-position: 90%;
    }
}

@media (max-width:767px) {
    section.section-1-fidelity-co2 h2 span {
        font-size: 5rem;
    }

    .text-fidelity-contact1 {
        width: 90%;
    }

    .col-12.fidelity-col-contact1 {
        height: calc(-120px + 70vh);
        background-size: cover;
        position: relative;
        border-radius: 30px;
        background-position: 88%;

    }

    .row.fidelity-1-co2 .fid-c2 {
        order: 2;
    }

    .fid-c {
        padding-left: 2%;
    }

    .fid-c br {
        display: none;
    }

    .fid-c h3 {
        margin-bottom: 20px;
    }

    .form-container {

        padding: 0px;
    }

    .fidelity-col-contact1 h1,
    .section-1-fidelity-co h2 {
        font-size: 3rem;
        line-height: 3.8rem;
    }

    .section-1-fidelity-co .container {
        padding: 60px 20px;
    }

    section.section-1-fidelity-co2 h3 {
        font-size: 1rem;
    }
}

section.section-1-fidelity-co p a {
    text-decoration: underline;
    cursor: pointer;
    color: #fff;
}

@media (min-width: 1600px) {
    section.section-1-fidelity-co2 h2 {
        font-size: 5.2rem;
        line-height: 6rem;
    }

    .fidelity-col-contact1 h1 {
        font-size: 5rem;
        line-height: 6rem;
        font-weight: 600;
    }

    .fidelity-col-contact1 p {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

    .section-1-fidelity-co h2 {
        font-size: 5rem;
        line-height: 6rem;
        font-weight: 600;
    }

    .section-1-fidelity-co2 .main-container-sections {
        max-width: 80%;
        width: 80%;
    }
}

.section-1-fidelity-contact input.form-control,
section.section-1-fidelity-co2 textarea.form-control {
    border: 1px solid #003163;
    color: #003163;
}

/* styles by me */
.pointer-events {
    pointer-events: none;
}

.display-none {
    display: none
}

.visbility-animation {
    visibility: visible;
    animation-duration: 0.2s;
    animation-name: fadeInUp;
}

.visbility-animation-5s {
    visibility: visible;
    animation-duration: 0.5s;
    animation-name: fadeInUp;
}

.visbility-animation-4s {
    visibility: visible;
    animation-duration: 0.4s;
    animation-name: fadeInUp;
}