/*==================================================
    EDUCATION CONTACT
==================================================*/

.education-contact {
    position: relative;

    padding: 110px 0;

    overflow: hidden;
}


.education-contact-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}



/*==================================================
    HEADER
==================================================*/

.education-contact-header {
    max-width: 700px;

    margin: 0 auto 60px;

    text-align: center;
}


.education-contact-header
.education-section-badge {
    display: inline-flex;

    padding: 8px 18px;

    border: 1px solid rgba(190, 157, 91, .35);

    border-radius: 50px;

    color: #b28d4c;

    font-size: 13px;
    font-weight: 700;
}


.education-contact-header h2 {
    margin: 18px 0 14px;

    color: #303229;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    line-height: 1.3;
}


.education-contact-header h2 span {
    color: #b28d4c;
}


.education-contact-header p {
    margin: 0;

    color: #777970;

    font-size: 16px;

    line-height: 1.9;
}



/*==================================================
    GRID
==================================================*/

.education-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap: 70px;

    align-items: start;
}



/*==================================================
    CONTACT INFO
==================================================*/

.education-contact-info {
    padding-top: 10px;
}


.education-contact-intro > span {
    color: #a27e43;

    font-size: 13px;

    font-weight: 800;
}


.education-contact-intro h3 {
    margin: 12px 0;

    color: #303229;

    font-size: 28px;

    font-weight: 800;
}


.education-contact-intro p {
    max-width: 470px;

    margin: 0;

    color: #777970;

    font-size: 15px;

    line-height: 1.9;
}



/*==================================================
    CONTACT ITEMS
==================================================*/

.education-contact-items {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-top: 35px;
}


.education-contact-item {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 16px 18px;

    border: 1px solid rgba(45, 47, 39, .08);

    border-radius: 18px;

    background: rgba(255, 255, 255, .7);

    color: inherit;

    text-decoration: none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.education-contact-item:hover {
    transform: translateX(-5px);

    border-color:
        rgba(178, 141, 76, .3);

    box-shadow:
        0 12px 30px rgba(40, 42, 35, .08);
}


.education-contact-item-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(178, 141, 76, .12);

    color: #a27e43;

    font-size: 18px;
}


.education-contact-item div:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.education-contact-item span {
    color: #888980;

    font-size: 11px;

    font-weight: 700;
}


.education-contact-item strong {
    color: #303229;

    font-size: 14px;

    font-weight: 800;
}



/*==================================================
    NOTE
==================================================*/

.education-contact-note {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

    padding: 16px 18px;

    border-radius: 18px;

    background:
        rgba(178, 141, 76, .08);

    color: #777970;

    font-size: 13px;

    line-height: 1.7;
}


.education-contact-note i {
    color: #b28d4c;

    font-size: 18px;
}



/*==================================================
    FORM WRAPPER
==================================================*/

.education-contact-form-wrapper {
    padding: 32px;

    border: 1px solid rgba(45, 47, 39, .08);

    border-radius: 28px;

    background: rgba(255, 255, 255, .82);

    box-shadow:
        0 20px 55px rgba(40, 42, 35, .08);
}



/*==================================================
    FORM
==================================================*/

.education-contact-form {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.education-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.education-form-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.education-form-field label {
    color: #4d4f46;

    font-size: 13px;

    font-weight: 800;
}


.education-form-field input,
.education-form-field select,
.education-form-field textarea {
    width: 100%;

    border: 1px solid rgba(45, 47, 39, .11);

    border-radius: 14px;

    background: #fafaf7;

    color: #303229;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.education-form-field input,
.education-form-field select {
    height: 50px;

    padding: 0 15px;
}


.education-form-field textarea {
    padding: 14px 15px;

    resize: vertical;

    min-height: 145px;
}


.education-form-field input::placeholder,
.education-form-field textarea::placeholder {
    color: #aaa99f;
}


.education-form-field input:focus,
.education-form-field select:focus,
.education-form-field textarea:focus {
    border-color: #b28d4c;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(178, 141, 76, .09);
}



/*==================================================
    SUBMIT
==================================================*/

.education-contact-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 25px;

    border: 0;

    border-radius: 15px;

    background: #303229;

    color: #fff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.education-contact-submit:hover {
    transform: translateY(-2px);

    background: #a27e43;

    box-shadow:
        0 12px 28px rgba(162, 126, 67, .2);
}



/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 900px) {

    .education-contact-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .education-contact-info {
        max-width: 700px;

        margin: 0 auto;

        width: 100%;
    }


    .education-contact-form-wrapper {
        max-width: 700px;

        margin: 0 auto;

        width: 100%;
    }

}


@media (max-width: 600px) {

    .education-contact {
        padding: 80px 0;
    }


    .education-contact-container {
        width: min(100% - 28px, 520px);
    }


    .education-contact-header {
        margin-bottom: 40px;
    }


    .education-contact-header p {
        font-size: 14px;
    }


    .education-form-row {
        grid-template-columns: 1fr;
    }


    .education-contact-form-wrapper {
        padding: 22px;

        border-radius: 22px;
    }


    .education-contact-intro h3 {
        font-size: 24px;
    }

}
