/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================
   BODY
========================================== */

body {
    min-height: 100vh;

    background: #eef5ff;
    color: #1f2937;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* ==========================================
   CONTACT PAGE
========================================== */

.contact-page {
    width: min(1180px, 94%);
    margin: 32px auto 60px;
}


/* ==========================================
   BREADCRUMB
========================================== */

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    margin-bottom: 20px;
    padding: 13px 17px;

    border: 1px solid #dbe5ef;
    border-radius: 10px;

    background: #ffffff;
    color: #64748b;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 4px 14px
        rgba(15, 23, 42, 0.06);
}

.contact-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #123d73;
    text-decoration: none;
    font-weight: 700;
}

.contact-breadcrumb a:hover {
    color: #b77908;
}

.contact-breadcrumb-separator {
    color: #d4af37;

    font-size: 20px;
    line-height: 1;
}


/* ==========================================
   INTRODUCTION
========================================== */

.contact-introduction {
    position: relative;

    margin-bottom: 28px;
    padding: 42px 28px;

    overflow: hidden;

    border: 1px solid #dbe5ef;
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fbff
        );

    text-align: center;

    box-shadow:
        0 10px 28px
        rgba(15, 23, 42, 0.08);
}

.contact-introduction::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #07152d,
            #d4af37,
            #07152d
        );
}

.contact-label {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 13px;

    border-radius: 999px;

    background: #07152d;
    color: #f0ca62;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.contact-introduction h1 {
    margin-bottom: 13px;

    color: #07152d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 5vw, 52px);
}

.contact-introduction p {
    width: min(730px, 100%);
    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.75;
}


/* ==========================================
   CONTACT LAYOUT
========================================== */

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(0, 1.35fr);

    gap: 25px;
    align-items: start;
}


/* ==========================================
   INFORMATION PANEL
========================================== */

.contact-information-panel,
.contact-form-card {
    padding: 28px;

    border: 1px solid #dbe5ef;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 26px
        rgba(15, 23, 42, 0.07);
}

.contact-information-panel h2,
.contact-form-card h2 {
    margin-bottom: 10px;

    color: #07152d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
}

.contact-information-introduction,
.contact-form-card > p {
    margin-bottom: 23px;

    color: #64748b;

    line-height: 1.65;
}


/* ==========================================
   INFORMATION CARDS
========================================== */

.contact-information-card {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 13px;
    padding: 15px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #f8fbff;
}

.contact-information-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #10254a,
            #020b1b
        );

    color: #f0ca62;

    font-size: 20px;
}

.contact-information-card h3 {
    margin-bottom: 4px;

    color: #123d73;

    font-size: 15px;
}

.contact-information-card p,
.contact-information-card a {
    color: #475569;

    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.contact-information-card a:hover {
    color: #b77908;
}


/* ==========================================
   SUPPORT NOTE
========================================== */

.contact-support-note {
    margin-top: 22px;
    padding: 18px;

    border: 1px solid #f1d58a;
    border-radius: 10px;

    background: #fffbeb;
}

.contact-support-note strong {
    display: block;

    margin-bottom: 7px;

    color: #92400e;
}

.contact-support-note p {
    margin-bottom: 13px;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.55;
}

.contact-support-note a {
    display: inline-block;

    padding: 8px 13px;

    border-radius: 6px;

    background: #07152d;
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.contact-support-note a:hover {
    background: #d4af37;
    color: #07152d;
}


/* ==========================================
   FORM GRID
========================================== */

.contact-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0 18px;
}

.full-width-field {
    grid-column: 1 / -1;
}


/* ==========================================
   FORM GROUPS
========================================== */

.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;
    font-weight: 700;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #cbd5e1;
    border-radius: 7px;

    background: #ffffff;
    color: #1f2937;

    font: inherit;
    outline: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #d4af37;

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.15);
}

.contact-form-group textarea {
    resize: vertical;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-submit-button {
    padding: 12px 23px;

    border: 1px solid #d4af37;
    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            #10254a,
            #020b1b
        );

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-submit-button:hover {
    background: #d4af37;
    color: #07152d;

    transform: translateY(-1px);
}

.contact-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}


/* ==========================================
   FORM MESSAGE
========================================== */

.contact-form-message {
    min-height: 21px;
    margin-top: 15px;

    font-weight: 700;
}

.contact-form-message.success {
    color: #15803d;
}

.contact-form-message.error {
    color: #b91c1c;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .contact-page {
        width: 96%;
        margin-top: 20px;
    }

    .contact-breadcrumb {
        gap: 7px;

        padding: 11px 12px;

        font-size: 12px;
    }

    .contact-breadcrumb-separator {
        font-size: 17px;
    }

    .contact-introduction {
        padding: 32px 18px;
    }

    .contact-introduction p {
        font-size: 14px;
    }

    .contact-information-panel,
    .contact-form-card {
        padding: 21px 16px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .full-width-field {
        grid-column: 1;
    }

    .contact-submit-button {
        width: 100%;
    }
}