.education-head {
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
    margin-top: 80px;
    border-radius: 20px;
    gap: 30px;

    & .info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;

        & .item {
            padding: 15px 20px;
            border-radius: 8px;
            user-select: none;
            background-color: #F7F8FF44;
        }
    }

    & .desc {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;

        & .name {
            font-size: 60px;
        }
    }

    & form {
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: center;
        gap: 20px;

        & .form-row {
            & .form-input {
                font-size: 20px;
                min-width: 270px;
                border-radius: 8px;
                padding: 15px 20px;
            }
        }

        & .form-wrapper {
            display: flex;
            align-items: end;
            justify-content: center;
            gap: 20px;
            width: 100%;
        }
    }

    & .form-checkbox {
        display: flex;
        align-items: center;
        gap: 10px;

        & input[type="checkbox"] {
            width: 26px;
            height: 26px;
        }

        & .text {
            max-width: 80%;

            & a {
                font-weight: 600;
                border-bottom: 1px solid var(--midnight);
            }
        }
    }

    & .bg-icon {
        position: absolute;
        right: 80px;
        bottom: 0;
        user-select: none;
        z-index: 0;
    }
}

@media screen and (max-width: 1200px) {
    .education-head {
        padding: 60px;
        margin-top: 60px;
        gap: 30px;

        & .info {
            gap: 15px;

            & .item {
                padding: 15px;
            }
        }

        & .desc {
            gap: 15px;

            & .name {
                font-size: 40px;
            }
        }

        & form {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;

            & .form-row {
                & .form-input {
                    font-size: 18px;
                    min-width: 100%;
                    padding: 15px;
                }
            }
        }

        & .form-checkbox {
            & input[type="checkbox"] {
                width: 26px;
                height: 26px;
            }

            & .text {
                max-width: 90%;
            }
        }

        & .bg-icon {
            position: absolute;
            right: 80px;
            bottom: 0;
            user-select: none;
            z-index: 0;
        }
    }
}

@media screen and (max-width: 600px) {
    .education-head {
        padding: 40px 20px;
        margin-top: 40px;
        gap: 20px;
        overflow-y: hidden;
        z-index: 0;

        & .info {
            flex-direction: column;
            gap: 15px;

            & .item {
                width: 100%;
                text-align: center;
            }
        }

        & .desc {
            & .name {
                font-size: 30px;
            }
        }

        & form {
            display: flex;
            align-items: end;

            & .form-row {
                width: 100%;

                & .form-input {
                    font-size: 20px;
                    padding: 15px 20px;
                }
            }

            & .form-wrapper {
                flex-direction: column;

                & .btn_wrapper {
                    width: 100%;
                }
            }
        }

        & .form-checkbox {
            & input[type="checkbox"] {
                width: 26px;
                height: 26px;
            }

            & .text {
                font-size: 14px;
                max-width: 100%;
            }
        }

        & .bg-icon {
            right: 20px;
            bottom: -20px;
            z-index: -1;
        }
    }
}

/* fix input */
.education-head .form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.education-head .form-row {
    flex: 1 1 200px;
}

.education-head .btn_wrapper {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .education-head .form-row,
    .education-head .btn_wrapper {
        flex: 1 1 100%;
    }

    .education-head .btn_wrapper button {
        width: 100%;
    }
}