:root {
    --primary-color: #074686;
    --secondary-color: #B0262A;
    --text-color: #ffffff;
    --tablet-width: 768px;
    --small-desktop-width: 1000px;
    --desktop-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

a,
button {
    cursor: pointer;
    outline: none;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--secondary-color);
}

input::placeholder {
    opacity: 1;
}

/* helpers */

.width-full {
    width: 100%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-no-wrap {
    flex-wrap: nowrap;
}

.flex-col {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.uppercase {
    text-transform: uppercase;
}

.link {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* ui classes */

.button {
    color: var(--text-color);
    background-color: #B0262A;
    font-weight: 900;
    padding: 16px 30px;
    font-size: 16px;
    border: none;
    width: 100%;
    text-transform: uppercase;
    cursor: pointer;

    @media (min-width: 768px) {
        font-size: 25px;
    }
}

.nav-top {
    padding: 2rem;
    color: #ffffff;
    background-color: #074686;
    text-align: center;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 600;

    @media (max-width: 1024px) {
        padding: 1rem;
        font-size: 1rem;
    }
}

.nav-bottom {
    display: flex;
    padding: 40px;
    flex-direction: column;
    column-gap: 40px;
    align-items: center;

    img {
        width: 100%;
        height: auto;
        z-index: 2;
        margin-top: -20px;

        @media (min-width: 739px) {
            width: 340px;
        }
    }

    a {
        margin: 20px;
        padding: 0;
        max-width: 400px;
        font-size: 16px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;

        @media (min-width: 1000px) {
            font-size: 20px;
            margin-top: -10px;
        }
    }

    @media (min-width: 1000px) {
        padding: 0 100px 10px;
        justify-content: space-between;
        flex-direction: row;
    }
}

.hero-section {
    margin-top: -20px;
    background: url('./images/new_hero_universal.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 60px;

    img {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        padding: 0 40px;
        max-width: 700px;
    }
}

.hero-section-image-container {
    height: 100%;
}

.form-container {
    color: var(--text-color);
    background-color: #074686;
    gap: 20px;
    padding: 30px 30px;
    width: 100%;
    position: relative;
    margin-top: 40px;
    flex-shrink: 0;

    @media (min-width: 768px) {
        max-width: 600px;
        border-radius: 30px;
    }

    @media (min-width: 1200px) {
        top: 20px;
    }

    h1 {
        font-size: 30px;
        font-weight: 900;
        text-align: center;
        margin-bottom: 20px;
        margin-top: -20px;

        @media (min-width: 768px) {
            font-size: 60px;
        }
    }

    h3 {
        font-size: 30px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 20px;
    }
}

#contactFormSuccess {
    display: none;

    svg {
        width: 260px;
        fill: #B0262A;
    }
}

.form-container-success {
    height: 763px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.form {
    margin-top: 40px;

    fieldset {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-self: flex-end;
        border: none;
    }
}

.form input {
    border: none;
    padding: 20px;
    color: #000000;
    border-radius: 6px;
    width: 100%;
    font-size: 18px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-terms {
    font-size: 14px;
    color: #ffffff;
    width: 100%;
    text-align: left;
    text-wrap: wrap;
    padding: 20px 0;
    a{
        color: white;
    }
}

.experience-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 10px;
}

.experience-heading {
    color: var(--secondary-color);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;

    @media (min-width: 768px) {
        font-size: 50px;
        line-height: 60px;
    }
}

.experience-heading-left {
    text-align: left;
}

.experience-heading-center {
    text-align: center;
    font-size: 30px;
    color: var(--primary-color);

    @media (min-width: 768px) {
        font-size: 70px;
    }
}

.experience-heading-right {
    text-align: right;
}

.experience-windows-photo {
    width: 90%;
    height: auto;

    @media (min-width: 768px) {
        width: 60%;
    }
}

.experience-section-logos {
    width: 90%;
    height: auto;

    @media (min-width: 768px) {
        width: 600px;
    }
}

.why-section {
    background-color: #074686;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    justify-content: center;
    align-items: center;

    h1 {
        color: #ffffff;
        text-transform: capitalize;
        font-size: 30px;
        margin: 0;

        @media (min-width: 768px) {
            font-size: 60px;
        }
    }

    @media (min-width: 768px) {
        padding: 80px;
    }
}

.why-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.why-box {
    background-color: #ffffff;
    max-width: 360px;
    min-height: 300px;
    padding: 20px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    img {
        height: 80px;
        width: auto;
    }

    h2 {
        color: var(--primary-color);
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
    }
}

.why-button {
    max-width: 500px;
}

.reviews-section {
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: 40px;

    h1 {
        color: var(--primary-color);
        font-size: 36px;
        font-weight: 600;
        margin: 0;
    }

    p {
        font-size: 20px;
        color: #000000;
        margin: 0;
    }

    img {
        margin: 0 auto;
        width: 100%;

        @media (min-width: 768px) {
            width: 80%;
            max-width: 800px;
        }
    }
}

.testimonial-rating {
    display: flex;
    gap: 10px;
    justify-content: center;
    color: var(--secondary-color);

    span {
        font-size: 26px;
    }
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-author-location {
    font-weight: 400;
    color: gray;
}

.swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.swiper-slide-content {
    background-color: #f2f2f2;
    padding: 40px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.swiper {
    width: 100%;
    background-color: white;

    @media (min-width: 768px) {
        width: 700px;
        height: 200px;
    }

}

.swiper-wrapper {
    background-color: #ffffff;
}

.swiper-button-prev {
    color: var(--secondary-color) !important;
}

.swiper-button-next {
    color: var(--secondary-color) !important;
}

/* footer */

.footer-top {
    padding: 30px 0;
    background-color: #1F355F;
    border-top: 8px solid #B14041;
    border-bottom: 8px solid #B14041;

    img {
        width: 80%;
        height: auto;

        @media (min-width: 768px) {
            width: 100%;
            max-width: 640px;
        }
    }
}

.footer a{
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: #074686;
    padding: 40px;
    gap: 1rem;

    @media (min-width: 768px) {
        flex-direction: row;
        padding: 60px 160px;
    }

    img {
        height: 160px;
        width: auto;

        @media (min-width: 768px) {
            height: 200px;
        }
    }

    p {
        font-size: 14px;
        text-align: left;
        color: #ffffff;
        padding: 10px;

        @media (min-width: 768px) {
            padding: 10px 100px;
        }
    }
}

.error-message {
    color: red;
    display: none;
    font-weight: 500;
    margin-top: 1rem;
}

.floating-container {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    padding: 1.5rem;
    border-radius: 24px 24px 0 24px;
    box-shadow: 3px 5px 8px rgba(0,0,0,.15);
    position: fixed;
    right: 2%;
    bottom: 3%;
    text-align: left;
    font-size: .9rem;
    line-height: 1.5rem;
    width: 540px;
    z-index: 9;
  
    @media(max-width:1024px) {
        width: 75%;
        padding: 1.5rem;
    }
  
    @media(max-width:768px) {
        width: 95%;
    }
  
    a{
        color: #0077b6;
    }
  }
  
  .floating-container-buttons{
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }
  
  .floating-button {
    padding: 1rem;
    font-size: 1rem;
    min-width: 140px;
    margin: 0;
    cursor: pointer;
    background-color: #B0262A;
    border: none;
    color: white;
    border-radius: 12px;
  
    @media(max-width:1024px) {
        padding: .75rem;
    }
  }
  
  .floating-fake-button{
    text-decoration: underline;
    cursor: pointer;
    font-size: .95rem;
  }
  
  .declined-content {
    text-align: center;
    color: white;
    margin-top: 30%;
    
    @media (max-width: 1373px) {
        margin-top: 50%;
    }
    
    @media (max-width: 1024px) {
        margin-top: 0;
    }
    
    
  }
  
  .declined-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
  
    @media(max-width:1373px) {
        font-size: 2rem;
    }
  
  }
  
  .declined-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 5px 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
  
    @media(max-width:1373px) {
        font-size: 1.6rem;
    }
      
  }
  
  .reset-span {
    text-decoration: underline;
    cursor: pointer;
  }


  .not-accepted-disclaimer{
    display: none;
    margin-bottom: 2rem;

    h2{
        color: white;
        font-size: 3.5rem;
        text-align: center;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);

        @media (max-width: 1024px) {
            font-size: 2.5rem;
        }
    }

    p{
        color: white;
        font-size: 2.5rem;
        text-align: center;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);

        @media (max-width: 1024px) {
            font-size: 2rem;
        }
    }
  }