* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins; 
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section {
    position: relative;
    margin: 0;
    width: 100%;
    height: 300px;
    background-image: url(../images/download-brochure/headerbackground.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.logo {
    position: absolute;
    top: 46px;
    left: 60px;
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img{
    width: 100%;
}
.container {
    width: 1400px;
    /* height: 500px; */
    margin: -100px auto 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-bottom: 7rem;
}
.container-outer{
    z-index: 1;
}
.form-content{
    display: flex!important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1 {
    font-family: Poppins;
    font-weight: 700;
    font-size: 56px;
    line-height: 84px;
    letter-spacing: 0px;
    margin-bottom: 30px;
    text-align: center;
    padding-left: 12rem;
    padding-right: 12rem;
}
.input-row {
    display: flex;
    border: none;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start; /* keep fields top-aligned when a warning appears under one of them */
    justify-content: center;
}
.input-field{
    padding: 10px 15px;
    border-radius: 5px;
    flex: 1;
    background: rgba(249, 249, 249, 1);
    border: 1px solid rgba(230, 230, 230, 1);
    width: 453px;
    height: 58px;
    border-width: 1px;
}
.checkbox-row {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}
.divider {
    width: 75%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 20px;
}
.privacy-checkbox {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.privacy-checkbox a {
    color: rgba(69, 90, 100, 1) !important;
}
.submit-btn {
    padding: 12px 40px;
    background-color: #2560F5 !important;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    border: 1px solid #E6E6E6;
}
.submit-btn a{
    text-decoration: none;
    color: white;
}
.copyRight{
    margin-bottom: 3rem;
    color: rgba(69, 90, 100, 1) !important;
    margin-left: 1rem;
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
}
/* succes */
.successfully-text{
    margin-top: 20px;
    margin-bottom: 3rem;
    color: rgba(69, 90, 100, 1);
}
.successfully-text h2{
    font-family: Poppins;
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0%;
    margin-bottom: 10px;
    text-align: center;
}
.successfully-text p{
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
}
.tick{
    width: 99px;
    height: 91px;
    margin-top: 20px;
}
.tick img{
    width: 100%;
}
@media (max-width: 767px) {
    .container {
        height: auto;
        min-height: 700px;
        margin-top: -80px;
        padding: 20px;
        border-radius: 0;
        margin-left: 12rem;
        margin-right: 12rem;
        width: 379px;
        border-radius: 17px;
    }
    .form-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .input-row {
        flex-direction: column;
        gap: 0px;
    }
    .checkbox-row {
        flex-direction: column;
        gap: 15px;
        align-items: start;
        margin-left: 1.7rem;
    }
    .input-field{
        width: 317px;
        height: 58px;
        font-size: 16px;
    }
    h1 {
        font-family: Poppins;
        font-weight: 700;
        font-size: 30px;
        line-height: 34px;
        letter-spacing: 0px;
        text-align: center;
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .logo {
    position: absolute;
    top: 50px;
    left: 30px;
    width: 77px;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img{
    width: 100%;
    height: 100%;
}
.input-row {
    display: flex;
    width: 280px;
    
    margin-bottom: 30px;
    justify-content: center;
}
.successfully-text h2{
    margin-bottom: 1px;
}
.tick{
    width: 99px;
    height: 91px;
    margin-top: 20px;
    margin-bottom: 21px;
    margin-left: 0rem;
}
.tick img{
    width: 100%;
}
.privacy-checkbox{
    align-items: start;
    padding-left: 1rem;
    padding-right: 1rem;
    display: contents;
}
.submit-btn {
    margin-top: 10px;
    margin-left: 20px;
}

}
@media screen and (min-width: 310px) and (max-width: 374px) {
    .container {
        height: auto;
        min-height: 670px;
        margin-top: -80px;
        padding: 20px;
        border-radius: 0;
        margin-left: 12rem;
        margin-right: 12rem;
        width: 290px;
        border-radius: 17px;
    }
    .input-field{
        width: 250px;
        font-size: 14px;
    }
    .checkbox-row {
        flex-direction: column;
        gap: 15px;
        align-items: start;
        padding-left: 1rem;
    }
    h1 {
        font-size: 24px;
        padding-left: 0;
        padding-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .successfully-text h2{
        font-size: 20px;
    }
        .successfully-text p{
            font-size: 12px;
        }
        .privacy-checkbox{
            align-items: start;
            padding-left: 2rem;
            padding-right: 2rem;
            display: contents;
        }
        .privacy-checkbox .consent{
            padding-bottom: 10px;
        }
        .privacy-checkbox .consent label{
            padding-bottom: 10px;
        }
        .tick{
            margin-left: 0rem;
        }
        .checkbox-item{
            font-size: 16px;
        }
        .wpcf7-list-item-label{
            font-size: 14px;
           }
        .privacy-checkbox label {
            font-size: 14px;
        }
    }
@media screen and (min-width: 375px) and (max-width: 425px) {
    .container {
        height: auto;
        min-height: 700px;
        margin-top: -80px;
        padding: 20px;
        border-radius: 0;
        margin-left: 12rem;
        margin-right: 12rem;
        width: 310px;
        border-radius: 17px;
    }
    .input-field{
        width: 260px;
    }
    .checkbox-row {
        flex-direction: column;
        gap: 15px;
        align-items: start;
        margin-left: 3rem;
    }
h1 {
        font-size: 24px;
        padding-left: 0;
        padding-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .successfully-text h2{
        width: 295;
        height: 24;
        font-family: Poppins;
        font-weight: 500;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0%;
        color: rgba(69, 90, 100, 1);
        margin-bottom: 1px;
    }
    .successfully-text p{
        font-size: 12px;
    }
    .tick{
        margin-left: 0rem;
    }
    .privacy-checkbox{
        align-items: start;
        padding-left: 1rem;
        padding-right: 1rem;
        display: contents;
    }
    .wpcf7-list-item-label{
        font-size: 14px;
       }
    .privacy-checkbox label {
        font-size: 14px;
    }
}

/* @media (min-width: 768px) and (max-width: 1024px) {
    .container {
      width: 85%;
      z-index: 1;
      box-sizing: border-box;
    }
    h1 {
        font-size: 24px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
  } */

  @media (min-width: 768px) and (max-width: 1440px) {
    .container {
      width: 85%;
      z-index: 1;
      box-sizing: border-box;
    }
    h1 {
        font-size: 24px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .input-field{
        width: 300px;
        height: 58px;
        font-size: 16px;
    }
    h1 {
        font-family: Poppins;
        font-weight: 700;
        font-size: 28px;
        line-height: 34px;
        letter-spacing: 0px;
        text-align: center;
    }
}
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    background: conic-gradient(from 180deg at 50% 50%, #2560F5 0deg, #2560F5 63.24deg, rgba(255, 255, 255, 0) 360deg);
    animation: l13 1s infinite linear;
  }
  @keyframes l13{
    100%{transform: rotate(1turn)}
  }

  .loader-content{
    width: fit-content;
    margin-inline: auto;
  }
.copyRight{
        margin-bottom: 3rem;
        color: rgba(69, 90, 100, 1);
        margin-left: 1rem;
        font-family: Poppins;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
    }
    .screen-reader-response{
        display: none;
    }

    @media(max-width: 768px) {
        .checkbox-item{
            display: grid;
        }
    }

    .checkbox-item .wpcf7-list-item-label{
        padding-left: 10px;
    }
    .input-row .wpcf7-not-valid-tip{
        display: grid;
        color: red;
        padding-top: 10px;
    }

    .privacy-checkbox .wpcf7-not-valid-tip{
        color: red;  
        padding-left: 10px;
    }

    .container .wpcf7-validation-errors{
        text-align: center;
        padding-top: 10px;
    }

    .container .wpcf7-mail-sent-ok{
        text-align: center;
        padding-top: 10px;
    }

    /* JS shows the slide via getElementById("successfully-content"),
       so style the ID as well as the class */
    #successfully-content,
    .successfully-content{
       width: 100%;
       text-align: center;
       flex-direction: column;
       align-items: center;
       justify-content: center;
    }

    #successfully-content .successfully-text,
    .successfully-content .successfully-text{
        text-align: center;
    }

    .consent span.wpcf7-not-valid-tip{
        display: inline !important;
    }
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok{
        display: none !important;
       }

       .checkbox-row span.wpcf7-not-valid-tip{
            text-align: center;
       }

    .checkbox-item input{
        border-color: #BABABA;
    }

    .styled-checkbox input[type=checkbox] {
        position: relative;
        cursor: pointer;
      }
      
      .styled-checkbox input[type=checkbox]:before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: -2px;
        left: -2px;
        border: 1px solid #99AFC1;
        border-radius: 6px;
        padding: 1px;
        background-color: #E1E1E2;
      }
      
      .styled-checkbox input[type=checkbox]:checked:before {
        background-color: #0640d3;
      }
      
      .styled-checkbox input[type=checkbox]:checked:after {
        content: "";
        display: block;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: 0px;
        left: 4px;
      }

      .privacy-checkbox .styled-checkbox input[type=checkbox]{
        margin-right: 6px;
      }

      #email-error-message{
        display: block;
        width: 100%;
        max-width: 404px;
        font-size: 14px;
        color: red;
        margin-top: 5px;
      }
      @media(max-width: 768px) {
        #email-error-message{
          max-width: 245px;
        }
      }

      /* Inline per-field validation messages (name, email, brochures) */
      .tp-field-error{
        display: block;
        font-size: 14px;
        color: red;
        margin-top: 5px;
      }

      #form-error-message{
        text-align: center;
      }

      .wpcf7 form .wpcf7-response-output{
        max-width: 767px;
        margin-left: auto;
        margin-right: auto;
      }

      #gitexModal{
        display: none;
      }