/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/

.contact-page {
    background:
        radial-gradient(circle at top right, rgba(80, 197, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #f8fbfd 0%, #f7fafc 100%);
}

.contact-page-shell {
    max-width: 1500px;
}


/*--------------------------------------------------------------
# Shared Helpers
--------------------------------------------------------------*/

.contact-page,
.contact-page * {
    box-sizing: border-box;
}

.contact-page-badge,
.contact-mini-badge,
.contact-side-badge,
.contact-mini-chip,
.contact-page-header h3,
.contact-page-header p,
.contact-page-user strong,
.contact-page-user span,
.contact-mini-card h4,
.contact-mini-card p,
.contact-side-card h3,
.contact-side-text,
.contact-feature-item span,
.contact-info-box h4,
.contact-info-box p,
.contact-form-head h3,
.contact-form-head p,
.contact-note,
.contact-btn,
.contact-form .form-label,
.contact-input,
.contact-textarea {
    font-family: "Poppins", "Roboto", sans-serif;
}


/*--------------------------------------------------------------
# Header Intro
--------------------------------------------------------------*/

.contact-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.contact-page-header-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-page-badge,
.contact-mini-badge,
.contact-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(80, 197, 255, 0.12);
    border: 1px solid rgba(80, 197, 255, 0.18);
    color: #1b5878;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-page-badge {
    margin-bottom: 16px;
}

.contact-mini-badge {
    min-height: 32px;
    padding: 6px 12px;
    margin-bottom: 14px;
    font-size: 0.72rem;
}

.contact-side-badge {
    margin-bottom: 16px;
}

.contact-page-header h3 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--heading-color, #0f172a);
}

.contact-page-header p {
    margin: 0;
    max-width: 880px;
    color: var(--default-color, #334155);
    font-size: 0.96rem;
    line-height: 1.78;
}

.contact-page-header-side {
    flex: 0 0 auto;
}

.contact-page-user {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.08));
    box-shadow: var(--shadow-sm, 0 12px 30px rgba(15, 23, 42, 0.06));
}

.contact-page-user-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color, #50c5ff);
    font-size: 1.12rem;
}

.contact-page-user strong {
    display: block;
    margin-bottom: 4px;
    color: var(--heading-color, #0f172a);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.3;
}

.contact-page-user span {
    display: block;
    color: var(--default-color, #475569);
    font-size: 0.88rem;
    line-height: 1.45;
}


/*--------------------------------------------------------------
# Shared Cards
--------------------------------------------------------------*/

.contact-side-card,
.contact-form-card,
.contact-mini-card {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.08));
    border-radius: 24px;
    box-shadow: var(--shadow-sm, 0 12px 30px rgba(15, 23, 42, 0.06));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-side-card:hover,
.contact-form-card:hover,
.contact-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10);
    border-color: rgba(80, 197, 255, 0.22);
}

.contact-side-card,
.contact-form-card {
    padding: 28px;
}


/*--------------------------------------------------------------
# Top Support Cards
--------------------------------------------------------------*/

.contact-mini-card {
    padding: 22px;
}

.contact-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-mini-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color, #50c5ff);
    font-size: 1.15rem;
}

.contact-mini-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--heading-color, #0f172a);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-mini-card h4 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color, #0f172a);
}

.contact-mini-card p {
    margin: 0;
    color: var(--default-color, #334155);
    font-size: 0.94rem;
    line-height: 1.72;
}


/*--------------------------------------------------------------
# Left Side Card
--------------------------------------------------------------*/

.contact-side-card h3,
.contact-form-head h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color, #0f172a);
}

.contact-side-text,
.contact-form-head p {
    margin: 0;
    color: var(--default-color, #334155);
    font-size: 0.95rem;
    line-height: 1.75;
}

.contact-feature-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.contact-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-feature-item i {
    color: var(--accent-color, #50c5ff);
    margin-top: 2px;
    font-size: 1rem;
    flex: 0 0 auto;
}

.contact-feature-item span {
    color: var(--heading-color, #0f172a);
    font-size: 0.94rem;
    line-height: 1.65;
}


/*--------------------------------------------------------------
# Info Boxes
--------------------------------------------------------------*/

.contact-info-grid {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.08));
    border-radius: 16px;
    background: #f8fbfd;
    transition: all 0.25s ease;
}

.contact-info-box:hover {
    background: #ffffff;
    border-color: rgba(80, 197, 255, 0.20);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color, #50c5ff);
    font-size: 0.95rem;
}

.contact-info-box h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color, #0f172a);
}

.contact-info-box p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--default-color, #334155);
    line-height: 1.6;
}

.contact-info-box a {
    color: var(--default-color, #334155);
    text-decoration: none;
    transition: 0.25s ease;
}

.contact-info-box a:hover {
    color: var(--accent-color, #50c5ff);
}


/*--------------------------------------------------------------
# Socials
--------------------------------------------------------------*/

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fbfd;
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.08));
    color: var(--heading-color, #0f172a);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.contact-socials a:hover {
    background: rgba(80, 197, 255, 0.10);
    border-color: rgba(80, 197, 255, 0.20);
    color: var(--accent-color, #50c5ff);
    transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Form Card
--------------------------------------------------------------*/

.contact-form-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-form-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color, #50c5ff);
    font-size: 1.15rem;
}

.contact-form .form-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--heading-color, #0f172a);
    margin-bottom: 8px;
    line-height: 1.4;
}

.contact-input-wrap,
.contact-textarea-wrap {
    border: 1px solid var(--border-color, rgba(15, 23, 42, 0.08));
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-input-wrap {
    min-height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-input-wrap i {
    width: 46px;
    flex: 0 0 46px;
    text-align: center;
    color: #98a2b3;
    font-size: 0.95rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--heading-color, #0f172a);
    font-size: 0.95rem;
}

.contact-input {
    min-height: 52px;
    padding: 0 14px 0 0;
}

.contact-textarea {
    min-height: 180px;
    resize: vertical;
    padding: 14px 16px;
    line-height: 1.75;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #98a2b3;
}

.contact-input-wrap:focus-within,
.contact-textarea-wrap:focus-within {
    border-color: rgba(80, 197, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(80, 197, 255, 0.10);
}

.is-invalid-wrap {
    border-color: rgba(220, 53, 69, 0.45);
}

.contact-input.is-invalid,
.contact-textarea.is-invalid {
    box-shadow: none;
}


/*--------------------------------------------------------------
# Actions
--------------------------------------------------------------*/

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.contact-btn-primary {
    background: var(--accent-color, #50c5ff);
    border-color: var(--accent-color, #50c5ff);
    color: var(--contrast-color, #ffffff);
    box-shadow: 0 10px 24px rgba(80, 197, 255, 0.18);
}

.contact-btn-primary:hover {
    background: #27b1f2;
    border-color: #27b1f2;
    color: var(--contrast-color, #ffffff);
    transform: translateY(-1px);
}

.contact-btn-light {
    background: #ffffff;
    border-color: var(--border-color, rgba(15, 23, 42, 0.08));
    color: var(--heading-color, #0f172a);
}

.contact-btn-light:hover {
    background: #f8fbfd;
    border-color: rgba(80, 197, 255, 0.20);
    color: var(--heading-color, #0f172a);
    transform: translateY(-1px);
}


/*--------------------------------------------------------------
# Note
--------------------------------------------------------------*/

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(80, 197, 255, 0.08);
    border: 1px solid rgba(80, 197, 255, 0.12);
    color: var(--heading-color, #0f172a);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-note i {
    color: var(--accent-color, #50c5ff);
    margin-top: 2px;
    flex: 0 0 auto;
}


/*--------------------------------------------------------------
# Submit State
--------------------------------------------------------------*/

.contact-btn {
    position: relative;
}

.contact-btn:disabled,
.contact-btn.is-loading {
    opacity: 0.82;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.contact-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    flex: 0 0 16px;
    animation: contact-spin 0.7s linear infinite;
}

.contact-btn.is-loading .contact-btn-spinner {
    display: inline-block;
}

.contact-btn.is-loading .contact-btn-icon {
    display: none;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 1199.98px) {
    .contact-page-header h3 {
        font-size: clamp(1.45rem, 3vw, 1.85rem);
    }
}

@media (max-width: 991.98px) {
    .contact-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-page-header-side,
    .contact-page-user {
        width: 100%;
    }

    .contact-side-card,
    .contact-form-card,
    .contact-mini-card {
        border-radius: 20px;
    }

    .contact-side-card,
    .contact-form-card {
        padding: 24px;
    }
}

@media (max-width: 767.98px) {
    .contact-form-head {
        flex-direction: column;
        gap: 12px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-side-card,
    .contact-form-card,
    .contact-mini-card {
        padding: 18px;
        border-radius: 18px;
    }

    .contact-page-header h3 {
        font-size: 1.45rem;
    }

    .contact-side-card h3,
    .contact-form-head h3,
    .contact-mini-card h4 {
        font-size: 1.08rem;
    }

    .contact-side-text,
    .contact-form-head p,
    .contact-mini-card p,
    .contact-note {
        font-size: 0.92rem;
    }
}

@media (max-width: 575.98px) {
    .contact-page-badge,
    .contact-mini-badge,
    .contact-side-badge,
    .contact-mini-chip {
        min-height: 32px;
        padding: 6px 11px;
        font-size: 0.7rem;
    }

    .contact-info-box {
        padding: 12px;
        border-radius: 14px;
    }

    .contact-input,
    .contact-textarea,
    .contact-btn,
    .contact-page-header p,
    .contact-side-text,
    .contact-form-head p,
    .contact-mini-card p,
    .contact-note {
        font-size: 0.9rem;
    }
}