/* =========================================================
   SARA EDUCATION
   CONTACT PAGE
   Đồng bộ với style.css / index.php / about.php
========================================================= */


/* =========================================================
   HERO
========================================================= */

.contact-page-hero {
    padding: 75px 0 80px;
    background: var(--light);
}

.contact-hero-content {
    max-width: 780px;
}

.contact-page-hero h1 {
    margin-top: 18px;
    color: var(--black);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.contact-page-hero h1 span {
    display: block;
    color: var(--primary);
}

.contact-page-hero p {
    max-width: 650px;
    margin-top: 22px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   MAIN CONTACT
========================================================= */

.contact-main {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    max-width: 540px;
}

.contact-info h2 {
    margin-top: 16px;
    color: var(--black);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.contact-info h2 span {
    display: block;
    color: var(--primary);
}

.contact-description {
    margin-top: 20px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    max-width: 500px;
}


/* =========================================================
   CONTACT LIST
========================================================= */

.contact-list {
    margin-top: 35px;
    border-top: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px 0;

    border-bottom: 1px solid var(--border);

    color: var(--black);
    text-decoration: none;

    transition: color .25s ease;
}

.contact-item:hover {
    color: var(--primary);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 16px;
}

.contact-item > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.contact-item strong {
    color: var(--black);
    font-size: 15px;
    font-weight: 700;
}

.contact-item:hover strong {
    color: var(--primary);
}


/* =========================================================
   FORM
========================================================= */

.contact-form-wrapper {
    padding: 40px;
    background: var(--light);
}

.contact-form-header {
    max-width: 550px;
}

.contact-form-header h3 {
    margin-top: 14px;
    color: var(--black);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.contact-form-header h3 span {
    color: var(--primary);
}

.contact-form-header p {
    margin-top: 12px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FORM INPUT
========================================================= */

.contact-form {
    margin-top: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: var(--black);

    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    display: block;

    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);
    border-radius: 0;

    background: var(--white);
    color: var(--black);

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.form-group input {
    height: 48px;
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(227, 6, 32, .08);
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    border: none;
    cursor: pointer;
}


/* =========================================================
   QUICK CONTACT
========================================================= */

.contact-quick {
    background: var(--light);
}

.contact-quick-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact-quick-content {
    max-width: 500px;
}

.contact-quick-content h2 {
    margin-top: 14px;
    color: var(--black);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

.contact-quick-content h2 span {
    color: var(--primary);
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.contact-call,
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 18px;

    border: 1px solid var(--border);

    background: var(--white);

    color: var(--black);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.contact-call:hover,
.contact-email:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}


/* =========================================================
   CTA
========================================================= */

.contact-page-cta {
    padding: 65px 0;
    background: var(--primary);
}

.contact-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact-page-cta .section-label {
    color: rgba(255, 255, 255, .75);
}

.contact-page-cta h2 {
    margin-top: 13px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
}

.contact-page-cta h2 span {
    display: block;
}

.contact-page-cta-action {
    flex-shrink: 0;
}

.contact-page-cta-action .btn {
    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .contact-page-hero {
        padding: 60px 0 65px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        max-width: 700px;
    }

    .contact-form-wrapper {
        max-width: 700px;
    }

    .contact-quick-inner {
        display: block;
    }

    .contact-quick-actions {
        justify-content: flex-start;
        margin-top: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-page-hero {
        padding: 50px 0 55px;
    }

    .contact-page-hero h1 {
        font-size: 37px;
        letter-spacing: -.5px;
    }

    .contact-page-hero p {
        font-size: 14px;
    }


    .contact-grid {
        gap: 35px;
    }


    .contact-info h2 {
        font-size: 31px;
    }


    .contact-form-wrapper {
        padding: 28px 22px;
    }

    .contact-form-header h3 {
        font-size: 26px;
    }


    .contact-quick-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-call,
    .contact-email {
        justify-content: center;
    }


    .contact-page-cta {
        padding: 55px 0;
    }

    .contact-page-cta-inner {
        display: block;
    }

    .contact-page-cta-action {
        margin-top: 25px;
    }

    .contact-page-cta-action .btn {
        width: 100%;
        justify-content: center;
    }

}