/* =========================================================
   CV BAROKAH ARTHA PRIMA
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.contact-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 35, .94),
            rgba(5, 20, 35, .72),
            rgba(5, 20, 35, .35)
        ),
        url('../images/contact.png') center / cover no-repeat;
}

.contact-hero-content {
    max-width: 700px;
    padding: 75px 0;
}

.contact-eyebrow {
    display: block;

    margin-bottom: 15px;

    color: #d1ae5a;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;
}

.contact-hero h1 {
    margin: 0 0 20px;

    color: #fff;

    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.12;
    font-weight: 600;

    letter-spacing: -1.5px;
}

.contact-hero p {
    max-width: 620px;

    margin: 0;

    color: rgba(255,255,255,.84);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   MAIN CONTACT
========================================================= */

.contact-section {
    padding: 90px 0;
    background: #fff;
}

.contact-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 85px;

    align-items: start;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-section-label {
    display: block;

    margin-bottom: 13px;

    color: #345572;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.8px;
}

.contact-info h2,
.contact-form-header h2,
.contact-location-box h2 {
    margin: 0;

    color: #0b1f33;

    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: -1px;
}

.contact-info-intro {
    max-width: 520px;

    margin: 20px 0 38px;

    color: #68747e;

    font-size: 14px;
    line-height: 1.9;
}

.contact-detail {
    display: flex;

    gap: 17px;

    margin-bottom: 26px;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f5f7;

    color: #0b1f33;

    border-radius: 50%;

    font-size: 14px;
}

.contact-detail-content {
    padding-top: 2px;
}

.contact-detail-content span {
    display: block;

    margin-bottom: 6px;

    color: #89949c;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.contact-detail-content p,
.contact-detail-content a {
    margin: 0;

    color: #34434e;

    font-size: 13px;
    line-height: 1.75;

    text-decoration: none;
}

.contact-detail-content a:hover {
    color: #b18d3f;
}

.contact-whatsapp {
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 10px;

    padding: 0 23px;

    background: #0b1f33;

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: .25s ease;
}

.contact-whatsapp:hover {
    background: #25d366;

    transform: translateY(-2px);
}


/* =========================================================
   FORM
========================================================= */

.contact-form-wrapper {
    padding: 42px;

    background: #f5f7f8;

    border: 1px solid #e1e6ea;
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-header h2 {
    font-size: clamp(25px, 3vw, 35px);
}

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 19px;
}

.contact-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.contact-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.contact-field label {
    color: #354652;

    font-size: 11px;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    background: #fff;

    border: 1px solid #dce2e6;

    border-radius: 0;

    outline: none;

    color: #263743;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;

    transition: border-color .2s ease;
}

.contact-field input {
    height: 46px;
}

.contact-field textarea {
    min-height: 140px;

    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #9baab5;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #a5afb6;
}

.contact-submit {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 5px;

    padding: 0 24px;

    border: 0;

    background: #0b1f33;

    color: #fff;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}

.contact-submit:hover {
    background: #c9a24a;

    transform: translateY(-2px);
}


/* =========================================================
   LOCATION
========================================================= */

.contact-location {
    padding: 0 0 90px;

    background: #fff;
}

.contact-location-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 42px 48px;

    background: #f5f7f8;

    border: 1px solid #e1e6ea;
}

.contact-location-box h2 {
    font-size: clamp(25px, 3vw, 35px);
}

.contact-location-box p {
    max-width: 650px;

    margin: 14px 0 0;

    color: #68747e;

    font-size: 13px;
    line-height: 1.8;
}

.contact-map-button {
    min-height: 45px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    flex-shrink: 0;

    padding: 0 20px;

    background: #0b1f33;

    color: #fff;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: .25s ease;
}

.contact-map-button:hover {
    background: #c9a24a;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-info-intro {
        max-width: 700px;
    }

    .contact-location-box {
        padding: 38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-container {
        width: 90%;
    }

    .contact-hero {
        min-height: 420px;
    }

    .contact-hero-content {
        padding: 65px 0;
    }

    .contact-hero h1 {
        font-size: 32px;

        letter-spacing: -.5px;
    }

    .contact-hero p {
        font-size: 13px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 45px;
    }

    .contact-form-wrapper {
        padding: 28px 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 19px;
    }

    .contact-detail-content p,
    .contact-detail-content a {
        font-size: 12px;
    }

    .contact-location {
        padding-bottom: 60px;
    }

    .contact-location-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px 24px;
    }

    .contact-map-button {
        width: 100%;
    }

    .contact-whatsapp {
        width: 100%;
    }

}


/* =========================================================
   FORM MESSAGE
========================================================= */

.contact-form-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 25px;
    padding: 16px 18px;

    border: 1px solid #e1e6ea;

    font-size: 13px;
    line-height: 1.6;
}

.contact-form-message i {
    margin-top: 3px;
    font-size: 18px;
}

.contact-form-message strong {
    display: block;

    margin-bottom: 3px;

    color: #0b1f33;
}

.contact-form-message span {
    display: block;

    color: #69757e;
}

.contact-form-success {
    background: #f5faf7;
    border-color: #cfe5d7;
}

.contact-form-success i {
    color: #21864a;
}

.contact-form-error {
    background: #fff7f7;
    border-color: #ead0d0;
}

.contact-form-error i {
    color: #b33a3a;
}