.agm-website-contact-form.s_website_form {
    display: flex;
    height: 100%;
    overflow-x: hidden;
}

.e-form-user{
    flex: 1;
    background-color: #FAF5FA;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
}

.e-form-container{
    flex: 1.3;
    background-color: white;
    padding: 20px 40px;
    overflow-x: hidden;
}

.e-form-f-line {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 15px;
    margin-bottom: 20px;
}

.e-form-f-line p {
    font-family: 'Kaushan Script', cursive;
    font-size: 48px;
    margin: 0;
    color: black;
}

.e-form-text-bg {
    font-size: 48px;
    position: relative;
    display: inline-block;
    background: url('/agm_website_contact_form/static/src/images/yellow_design.png') no-repeat center center;
    background-size: contain;
    padding: 30px 50px;
    background-position: center;
    color: black;
}


.e-form-t-line{
    font-family: Public Sans, sans-serif;
    font-size: 13px;
    color: #1C1D26;
}

.e-frm-bold-text{
    font-weight: bold;
}

.e-form-btn-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;     /* keep content to the right */
    text-align: right;
    gap: 5px;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    width: 70%;
    height: auto;
}

.e-frm-arrow-image{
    width: 40%;
    height: auto;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.e-frm-arrow-image img{
    width: 12px;
    height: auto;
    margin-right: 100px;
    margin-bottom: 10px;
    position: relative;
    left: 70px;
    align-items: center;
}

.e-form-grey-text{
    font-family: Public Sans, sans-serif;
    font-size: 16px;
    color: #1C1D26;
    margin-bottom: 30px;
    line-height: 0.1px;
    margin-right: 80px;
    position: relative;
    left: 60px;
    align-items: center;
}

/* Button Style */

.e-form-cst-btn{
    font-family: 'Caveat Brush', cursive;
    background-color: #E8635E;
    color: #fff;
    height: 42px;
    width: 155px; /* Fixed width */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    border-radius: 5px; /* Optional: for rounded corners */
    font-size: 18px; /* Adjust font size as needed */
    box-sizing: border-box; /* Ensures padding/borders don’t affect dimensions */
    overflow: hidden; /* Prevents content overflow */
    position: relative;
    width: 155px !important; /* Ensures the button width doesn't change */
    min-width: 155px; /* Prevents it from shrinking */
    flex-shrink: 0;
}



/* Button Image Style */
.e-form-cst-btn img{
    width: 25px;
    height: auto;
}


/* User Container Styles */
.e-form-user-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: auto;
    height: auto;
    background-color: #FAF5FA;
    padding: 90px;
}

.e-form-profile{
    display: flex;
    flex-direction: row;
    justify-content: left;
    text-align: center;
    gap: 10px;
}

.e-form-profile img{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.e-form-prof-names{
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
    line-height: 1px;
}

.e-form-role{
    font-size: 16px;
    font-weight: 500;
    color: #696969;
}

.e-form-profile p{
    font-size: 20px;
    color: #252733;
    margin-left: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.e-form-para{
    font-size: 18px;
    color: #AFB2C5;
    text-align: justify;
    font-style: italic;
    margin-top: 10px;
}

/* new input style */

    .agm-try-it-form-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .agm-try-it-input-container {
          position: relative;
          width: 100%;
        }

    .agm-try-it-input-field {
      width: 100%;
      font-family: "Roboto", sans-serif;
      padding: 10px 7px;
      border: none;
      border-bottom: 2px solid #ccc;
      outline: none;
      font-size: 16px;
      transition: border-color 0.3s ease;
      background-color: transparent;
    }

    .agm-try-it-input-field:focus {
      border-color: #4CAF50;
    }

    .agm-try-it-input-label {
      position: absolute;
      font-family: "Roboto", sans-serif;
      left: 6px;
      top: 16px;
      color: #aaa;
      background-color: white;
      font-size: 16px;
      transition: all 0.3s ease;
      pointer-events: none;
      font-weight: 500;
    }

    .agm-try-it-input-field:focus + .agm-try-it-input-label,
    .agm-try-it-input-field:not(:placeholder-shown) + .agm-try-it-input-label {
      top: -8px;
      font-family: "Roboto", sans-serif;
      font-size: 12px;
      color: #aaa;
    }

    .agm-try-it-form-row {
      display: flex;
      gap: 20px;
    }

    .agm-try-it-form-row .agm-try-it-input-container {
      flex: 1;
    }

    .agm-try-it-form-row .s_website_form_field {
      flex: 1;
    }


    .agm-try-it-textarea-field {
      width: 100%;
      font-family: "Roboto", sans-serif;
      padding: 10px 7px;
      border: none;
      border-bottom: 2px solid #ccc;
      outline: none;
      font-size: 16px;
      transition: border-color 0.3s ease;
      background-color: transparent;
      resize: none;
    }


    .agm-try-it-textarea-field:focus {
      border-color: #4CAF50;
    }

    .agm-try-it-textarea-field:focus + .agm-try-it-input-label,
    .agm-try-it-textarea-field:not(:placeholder-shown) + .agm-try-it-input-label {
      top: -8px;
      font-family: "Roboto", sans-serif;
      font-size: 12px;
      color: #aaa;
    }

    .agm-try-it-textarea-field {
      height: 60px;
      padding-top: 12px;
      font-family: "Roboto", sans-serif;
    }

    .is-invalid {
    border: 1px solid red; /* Change the border color to red */
}

    .form-control:focus {
        border-color: #aaa; /* or any color you prefer */
        box-shadow: none; /* Removes the default focus shadow */
        outline: none; /* Removes the outline */
    }

    .invalid-feedback:focus {
        border-color: none; /* or any color you prefer */
        box-shadow: none; /* Removes the default focus shadow */
        outline: none; /* Removes the outline */
    }

