@font-face {
    font-family: "Arial";
}

body {
    font-family: Arial;
    margin: 94px 0 0 0;
    background: white;
}
.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #7AC8F0;
    box-shadow: 0px 3px 3px rgb(0 0 0 / 16%);
    background-image: url(../images/header-bk.png);
    background-size: cover;
    background-position: center;
}
.header-container {
    padding: 0 30px 5px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-container .back-btn {
    background: #ED2939;
    border-radius: 22px;
    text-decoration: unset;
    font-size: 24px;
    line-height: 27px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 2px 2px 0.5px rgb(0 0 0 / 45%);
    padding: 16px 50px;
}
.tier1-block {
    padding: 42px 20px 60px 20px;
}
.tier1-content {
    max-width: 1220px;
    margin: auto;
}
.tier1-block img {
    width: 100%;
    max-width: 450px;
    margin: auto;
    display: block;
}
.tier1-block h2 {
    font-size: 26px;
    line-height: 30px;
    letter-spacing: 0.16em;
    color: #00273E;
    text-align: center;
    font-weight: 400;
    margin: 5px 0 30px 0;
}
.tier1-block p {
    font-size: 16px;
    line-height: 25px;
    color: #00273E;
    margin: 0;
    position: relative;
}
.tier1-block p img {
    position: absolute;
    width: 80px;
    top: 0;
    left: -80px;
}
/*Scholarschip winners*/
.tier-winners-block {
    border: #7AC8F0 3px solid;
    max-width: 1200px;
    margin: auto;
    border-radius: 58px;
    margin-bottom: 3rem;
    background-color: #7AC8F0;
}
.tier-winners-block > h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    color: #00273E;
    width: 100%;
    margin: auto;
    padding: 0.5rem;
    margin: 0;
}
.tier-winner-content {
    background-color: white;
    border-radius: 0 0 58px 58px;
    padding: 1.5rem;
    border-top: white 2px solid;
}
.winner-name {
    text-transform: uppercase;
    color: #7AC8F0;
    font-weight: 600;
    font-size: 1.5rem;
}
.winner-name h3 {
    margin: 0;
}
.tier-winner-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.tier-winner-section::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: #7AC8F0;
    left: 50%;
    top: 0;
}
.winner-school {
    width: fit-content;
    margin: 0.5rem auto 0;
}
.winner-school-logo {
    width: 200px;
    object-fit: contain;
}
.runnerup-school-logo {
    width: 300px;
    object-fit: contain;
}
.tier-winner-paragraph {
    text-align: center;
    color: #00273E;
    font-size: 1.1rem;
    line-height: 1.5rem;
}
.tier2-block {
    background-image: url(../images/tier2-bk-desktop.png);
    background-size: cover;
    padding: 0 20px 145px 20px;
    background-position: center 60%;
}
.tier2-content {
    max-width: 1200px;
    margin: auto;
    background: #FFFFFF;
    opacity: 0.95;
    border: 3px solid #7AC8F0;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 58px;
    padding: 60px 10px 15px 10px;
    position: relative;
}
.tier2-block h1 {
    background: #7AC8F0;
    border-radius: 23px;
    font-size: 24px;
    line-height: 27px;
    color: #00273E;
    margin: 0;
    padding: 15px 82px;
    position: absolute;
    left: calc(50% - 225px);
    top: -28px;
}
.tier2-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    column-gap: 40px;
    margin-left: 35px;
}
.tier2-item {
    position: relative;
}
.tier2-items .star-image {
    position: absolute;
    margin: 0 !important;
    left: calc(50% - 120px);
    width: 80px;
    top: -10px;
}
.tier2-item:nth-child(2) img {
    margin-bottom: 1px;
}
.tier2-item:nth-child(3) img {
    margin-bottom: 2px;
}
.tier2-item:nth-child(3) {
    max-width: 286px;
}
.tier2-items h2 {
    font-size: 16px;
    line-height: 18px;
    color: #00273E;
    margin: 11px 0 8px 0;
}
.tier2-items p {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #00273E;
    max-width: 346px;
    margin: auto;
}
.tier3-block {
    padding: 0 20px 50px 20px;
}
.tier3-content {
    padding: 72px 0px 40px 0px;
    max-width: 1260px;
    margin: -53px auto auto auto;
    background: #F3F3F2;
    border: 3px solid #7AC8F0;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 58px;
    position: relative;
}
.tier3-content h1 {
    background: #7AC8F0;
    border-radius: 17px;
    font-size: 24px;
    line-height: 27px;
    color: #00273E;
    margin: 0;
    padding: 15px 100px;
    position: absolute;
    left: calc(50% - 350px);
    top: -28px;
}
.tier3-content form {
    margin: 0;
}
.form-field-items {
    padding: 0 58px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.form-field {
    margin-bottom: 45px;
}
.form-field:nth-child(odd) {
    max-width: 480px;
    padding-right: 20px;
}
.form-field label {
    font-size: 18px;
    line-height: 21px;
    color: #000000;
    display: block;
    margin-bottom: 9px;
}
.form-field input {
    background: #FFFFFF;
    border: 2px solid #E4E4E4;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 13px;
    outline: none;
    width: 100%;
    height: 58px;
    padding: 0 20px;
    font-size: 21px;
    font-family: 'Arial';
}
.form-field-drop-items {
    display: flex;
    align-items: center;
}
.form-field-drop-items select {
    background: #FFFFFF;
    border: 2px solid #E4E4E4;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 13px;
    height: 58px;
    padding: 0 25px;
    font-size: 21px;
    line-height: 24px;
    color: #000000;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-image: url(../images/arrow.png);
    background-position: calc(100% - 10px) center;
}
.form-field-drop-items select.city {
    width: calc(100% - 120px);
    margin-right: 5px;
}
.form-field-drop-items select.state {
    width: 120px;
    padding: 0 15px;
}
.form-field-info {
    font-size: 23px;
    line-height: 26px;
    letter-spacing: 0.16em;
    color: #00273E;
    text-align: center;
    padding: 15px;
    background: #7AC8F0;
}
.form-field-info strong {
    font-family: Arial;
    font-weight: bold;
}
.tier3-content p {
    font-size: 16px;
    line-height: 18px;
    color: #000000;
    margin: 9px 0 34px 0;
    text-align: center;
    font-style: italic;
    padding: 0 10px;
}
.tier3-content textarea {
    margin: 0 75px;
    background: #FFFFFF;
    border: 2px solid #E4E4E4;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 43px;
    width: calc(100% - 150px);
    padding: 20px 20px;
    font-size: 21px;
    font-family: 'Arial';
    height: 490px;
    resize: none;
    outline: none;
}
.tier3-content input[type="submit"] {
    background: #7AC8F0;
    border-radius: 23px;
    font-size: 35px;
    line-height: 40px;
    color: #00273E;
    padding: 20px 45px;
    cursor: pointer;
    border: none;
    display: block;
    margin: 45px auto 0 auto;
    font-family: 'Arial';
    font-weight: bold;
    -webkit-appearance: none;
}
#counter {
    margin: 10px 150px;
    color: red;
    text-align: right;
}
.tier3-info {
    max-width: 1180px;
    margin: 50px auto 0 auto;
    padding: 30px;
    border-top: 5px solid #7AC8F0;
    border-bottom: 5px solid #7AC8F0;
    text-align: center;
}
.tier3-info h2 {
    font-size: 24px;
    line-height: 27px;
    color: #00273E;
    margin: 0 0 20px 0;
    font-family: 'Arial';
    font-weight: bold;
}
.tier3-info p {
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #000000;
    margin: auto;
    max-width: 1050px;
}
.footer {
    background: #F3F3F2;
    padding: 20px;
}
.footer p {
    font-size: 16px;
    line-height: 18px;
    color: #00273E;
    text-align: center;
    margin: 0;
}
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
}
.popup .modal {
    background: #FFFFFF;
    border: 2px solid #E4E4E4;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 16%);
    border-radius: 43px;
    padding: 20px 45px;
    width: 100%;
    max-width: 460px;
    text-align: center;
}
.popup .modal.second {
    display: none;
    padding: 20px 40px;
    max-width: 480px;
}
.popup .modal p {
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #000000;
    margin-top: 0px;
    margin-bottom: 25px;
}
.popup .modal .buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    max-width: 420px;
    margin: auto;
}
.popup .modal .button {
    border-radius: 30px;
    font-size: 35px;
    line-height: 40px;
    color: #00273E;
    padding: 10px;
    font-family: 'Arial';
    font-weight: bold;
    cursor: pointer;
}
.popup .modal .button.yes {
    background: #7AC8F0;
}
.popup .modal .button.no {
    background: #ED2939;
}
.popup .modal.second p {
    margin-bottom: 10px;
}
.popup .modal.second p strong {
    font-family: 'Arial';
    font-weight: bold;
}
.popup .modal.second a {
    font-size: 25px;
    line-height: 29px;
    color: #00273E;
    font-family: 'Arial';
    font-weight: bold;
    text-decoration: unset;
    background: #7AC8F0;
    border-radius: 30px;
    padding: 15px 30px;
    display: inline-block;
}
body.modal {
    overflow: hidden;
}
body.modal .popup {
    display: flex;
}
#form_submit {
    display: none;
}


@media (max-width: 991px) {
    .tier2-block {
        padding-bottom: 100px;
    }
    .tier2-content {
        padding: 60px 20px 15px 20px;
    }
    .tier2-items {
        column-gap: 10px;
        margin-left: 0;
    }
    /* Winner Section*/
    .tier-winners-block {
        width: 90%;
    }
    .tier-winners-block > h2 {
        font-size: 1.3rem;
        padding: 1rem 0;
    }
    .tier-winner-section {
        flex-direction: column;
        gap: 1rem;
    }
    .tier-winner-section::after {
        content: '';
        width: 100%;
        height: 3px;
        background-color: #7AC8F0;
        left: 0;
        top: 50%;
    }
    .tier-winner-information:last-child {
        margin-top: 1rem;
    }
    .winner-name {
        font-size: 1.2rem;
    }
    .tier-winner-paragraph {
        margin-top: 1rem;
    }
    .tier3-content h1 {
        padding: 15px 50px;
        left: calc(50% - 300px);
    }
    .form-field-items {
        padding: 0 30px;
        column-gap: 20px;
    }
    .form-field:nth-child(odd) {
        padding: 0px;
    }
    .form-field {
        margin-bottom: 30px;
    }
    .tier3-content textarea {
        margin: 0 30px;
        width: calc(100% - 60px);
        height: 300px;
    }
    .form-field label {
        font-size: 15px;
        line-height: 1;
        margin-bottom: 5px;
    }
    .tier1-block p img {
        left: unset;
        right: 0;
        width: 70px;
        top: 70px;
    }
    .tier2-items .star-image {
        width: 70px;
        left: calc(50% - 105\px);
        top: -5px;
    }
    .tier2-item:nth-child(3) {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .header {
        background-image: url(../images/header-bk-mobile.png);
    }
    .header-container {
        justify-content: center;
    }
    .header-container .back-btn {
        display: none;
    }
    .tier1-block {
        padding-bottom: 80px;
    }
    .tier1-content {
        max-width: 325px;
    }
    .tier1-block h2 {
        font-size: 20px;
        line-height: 23px;
        letter-spacing: 0.1em;
    }
    .tier2-block {
        background-image: url(../images/tier2-bk-mobile.png);
        padding-bottom: 300px;
    }
    .tier2-block h1 {
        padding: 15px 25px;
        max-width: 220px;
        left: calc(50% - 135px);
        text-align: center;
        top: -42px;
    }
    .tier2-items {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 35px;
    }
    .tier2-content {
        padding-bottom: 30px;
    }
    .tier2-item:nth-child(2) p {
        max-width: 282px;
    }
    .tier2-item:nth-child(3) p {
        max-width: 258px;
    }
    .tier3-content {
        padding-top: 100px;
    }
    .tier3-content h1 {
        padding: 15px 0;
        width: 100%;
        max-width: 270px;
        left: calc(50% - 135px);
        text-align: center;
        top: -55px;
    }
    .form-field-items {
        padding: 0 15px;
        display: block;
    }
    .form-field {
        margin-bottom: 20px;
    }
    .form-field label {
        font-size: 18px;
        line-height: 21px;
        margin-bottom: 7px;
    }
    .form-field-drop-items {
        display: block;
    }
    .form-field-drop-items select {
        width: 100% !important;
        margin: 0px;
    }
    .form-field-drop-items select.city {
        margin-bottom: 20px;
    }
    .form-field-info {
        line-height: 50px;
        padding: 15px 20px;
    }
    .form-field-info strong {
        display: block;
    }
    .tier3-content p {
        max-width: 290px;
        margin: 5px auto 30px auto;
    }
    .tier3-content textarea {
        margin: 0 15px;
        width: calc(100% - 30px);
        height: 500px;
    }
    .tier3-content input[type="submit"] {
        margin: 50px 15px 0 15px;
        padding: 25px 0;
        white-space: normal;
        font-size: 30px;
        line-height: 1;
    }
    .footer p {
        max-width: 270px;
        margin: auto;
    }
    .form-field-drop-items select.state {
        padding: 0 23px;
    }
    .tier1-block p img {
        top: 195px;
    }
}