/* =========================================================
   CODEJOURNEY CONTACT PAGE
========================================================= */

* {
    box-sizing: border-box;
}

.contact-page {
    width: 100%;
    min-height: 100vh;

    padding: 70px 20px 100px;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}

.contact-container {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.contact-header {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}

.contact-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.contact-header h1 {
    margin: 0 0 18px;

    color: #0f172a;

    font-size: clamp(40px, 6vw, 64px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2.5px;
}

.contact-header p {
    margin: 0;

    color: #64748b;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   GRID
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

.contact-info-card {
    padding: 25px 26px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.07);
}

.info-number {
    display: block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}

.contact-info-card h2 {
    margin: 0 0 9px;

    color: #0f172a;

    font-size: 20px;

    line-height: 1.3;
}

.contact-info-card p {
    margin: 0;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   EMAIL BOX
========================================================= */

.contact-direct {
    padding: 24px 26px;

    background: #0f172a;

    border-radius: 16px;
}

.contact-direct span {
    display: block;

    margin-bottom: 7px;

    color: #94a3b8;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}

.contact-direct a {
    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    word-break: break-word;
}

.contact-direct a:hover {
    text-decoration: underline;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-wrapper {
    padding: 35px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #0f172a;

    font-size: 14px;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    display: block;

    width: 100%;

    padding: 13px 14px;

    background: #ffffff;

    border: 1px solid #dbe3ed;

    border-radius: 10px;

    outline: none;

    color: #0f172a;

    font-family: inherit;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    height: 48px;
}

.form-group textarea {
    min-height: 160px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* =========================================================
   HONEYPOT
========================================================= */

.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    display: block;

    width: 100%;
    height: 50px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-submit:hover {
    background: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.22);
}

.contact-submit:active {
    transform: translateY(0);
}


/* =========================================================
   NOTE
========================================================= */

.form-note {
    margin: 12px 0 0;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   SUCCESS / ERROR
========================================================= */

.form-message {
    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 14px;

    line-height: 1.5;
}

.form-message.success {
    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #047857;
}

.form-message.error {
    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #b91c1c;
}


/* =========================================================
   BOTTOM
========================================================= */

.contact-bottom {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    align-items: center;

    margin-top: 70px;

    padding: 40px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 18px;
}

.contact-bottom h2 {
    margin: 0;

    color: #0f172a;

    font-size: 28px;

    line-height: 1.25;

    letter-spacing: -0.8px;
}

.contact-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .contact-page {
        padding: 50px 16px 75px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        grid-template-columns: 1fr;

        gap: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-page {
        padding: 35px 12px 55px;
    }

    .contact-header {
        margin-bottom: 35px;
    }

    .contact-header h1 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .contact-header p {
        font-size: 16px;

        line-height: 1.7;
    }

    .contact-form-wrapper {
        padding: 22px 18px;

        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-info-card {
        padding: 21px;
    }

    .contact-direct {
        padding: 21px;
    }

    .contact-bottom {
        margin-top: 40px;

        padding: 25px 21px;

        gap: 18px;
    }

    .contact-bottom h2 {
        font-size: 24px;
    }

    .contact-bottom p {
        font-size: 15px;
    }
}